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
[ 6, 26, 22, 75 ]
50
[ "26-22=4", "75*4=300", "300/6=50" ]
Current State: 50:[6, 26, 22, 75], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [6, 75, 4] Generated Node #2: [6, 75, 4] from Operation: 26-22=4 Current State: 50:[6, 75, 4], Operations: ['26-22=4'] Exploring Operation: 75*4=300, Resulting Numbers: [6, 300] Generated Node #3: [6, 300] from Operation: 75*4=300 Current State: 50:[6, 300], Operations: ['26-22=4', '75*4=300'] Exploring Operation: 300/6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[6, 26, 22, 75], Operations: [] Exploring Operation: 75-26=49, Resulting Numbers: [6, 22, 49] Generated Node #0,0: 50:[6, 22, 49] Operation: 75-26=49 Exploring Operation: 75-22=53, Resulting Numbers: [6, 26, 53] Generated Node #0,1: 50:[6, 26, 53] Operation: 75-22=53 Exploring Operation: 26-22=4, Resulting Numbers: [6, 75, 4] Generated Node #0,2: 50:[6, 75, 4] Operation: 26-22=4 Exploring Operation: 75-6=69, Resulting Numbers: [26, 22, 69] Generated Node #0,3: 50:[26, 22, 69] Operation: 75-6=69 Moving to Node #0,0 Current State: 50:[6, 22, 49], Operations: ['75-26=49'] Exploring Operation: 6+22=28, Resulting Numbers: [49, 28] Generated Node #0,0,0: 50:[49, 28] Operation: 6+22=28 Exploring Operation: 49-22=27, Resulting Numbers: [6, 27] Generated Node #0,0,1: 50:[6, 27] Operation: 49-22=27 Exploring Operation: 6+49=55, Resulting Numbers: [22, 55] Generated Node #0,0,2: 50:[22, 55] Operation: 6+49=55 Exploring Operation: 22-6=16, Resulting Numbers: [49, 16] Generated Node #0,0,3: 50:[49, 16] Operation: 22-6=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[6, 27], Operations: ['75-26=49', '49-22=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[49, 28], Operations: ['75-26=49', '6+22=28'] Exploring Operation: 49*28=1372, Resulting Numbers: [1372] 1372,50 unequal: No Solution Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[49, 16], Operations: ['75-26=49', '22-6=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[22, 55], Operations: ['75-26=49', '6+49=55'] Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 22*55=1210, Resulting Numbers: [1210] 1210,50 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: 50:[6, 26, 53], Operations: ['75-22=53'] Exploring Operation: 26-6=20, Resulting Numbers: [53, 20] Generated Node #0,1,0: 50:[53, 20] Operation: 26-6=20 Exploring Operation: 53-26=27, Resulting Numbers: [6, 27] Generated Node #0,1,1: 50:[6, 27] Operation: 53-26=27 Exploring Operation: 6+26=32, Resulting Numbers: [53, 32] Generated Node #0,1,2: 50:[53, 32] Operation: 6+26=32 Exploring Operation: 53-6=47, Resulting Numbers: [26, 47] Generated Node #0,1,3: 50:[26, 47] Operation: 53-6=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[6, 27], Operations: ['75-22=53', '53-26=27'] Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,50 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[26, 47], Operations: ['75-22=53', '53-6=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,50 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[53, 20], Operations: ['75-22=53', '26-6=20'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 53*20=1060, Resulting Numbers: [1060] 1060,50 unequal: No Solution Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[53, 32], Operations: ['75-22=53', '6+26=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,50 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[26, 22, 69], Operations: ['75-6=69'] Exploring Operation: 69-26=43, Resulting Numbers: [22, 43] Generated Node #0,3,0: 50:[22, 43] Operation: 69-26=43 Exploring Operation: 26+22=48, Resulting Numbers: [69, 48] Generated Node #0,3,1: 50:[69, 48] Operation: 26+22=48 Exploring Operation: 69-22=47, Resulting Numbers: [26, 47] Generated Node #0,3,2: 50:[26, 47] Operation: 69-22=47 Exploring Operation: 26-22=4, Resulting Numbers: [69, 4] Generated Node #0,3,3: 50:[69, 4] Operation: 26-22=4 Moving to Node #0,2 Current State: 50:[6, 75, 4], Operations: ['26-22=4'] Exploring Operation: 6+4=10, Resulting Numbers: [75, 10] Generated Node #0,2,0: 50:[75, 10] Operation: 6+4=10 Exploring Operation: 75-4=71, Resulting Numbers: [6, 71] Generated Node #0,2,1: 50:[6, 71] Operation: 75-4=71 Exploring Operation: 75-6=69, Resulting Numbers: [4, 69] Generated Node #0,2,2: 50:[4, 69] Operation: 75-6=69 Exploring Operation: 6-4=2, Resulting Numbers: [75, 2] Generated Node #0,2,3: 50:[75, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[4, 69], Operations: ['26-22=4', '75-6=69'] Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 4*69=276, Resulting Numbers: [276] 276,50 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[6, 71], Operations: ['26-22=4', '75-4=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[75, 10], Operations: ['26-22=4', '6+4=10'] Exploring Operation: 75*10=750, Resulting Numbers: [750] 750,50 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[75, 2], Operations: ['26-22=4', '6-4=2'] Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,50 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,50 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: 50:[26, 47], Operations: ['75-6=69', '69-22=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[22, 43], Operations: ['75-6=69', '69-26=43'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,50 unequal: No Solution Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[69, 4], Operations: ['75-6=69', '26-22=4'] Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,50 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[69, 48], Operations: ['75-6=69', '26+22=48'] Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,50 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 62, 49, 18, 60 ]
40
[ "62-60=2", "18/2=9", "49-9=40" ]
Current State: 40:[62, 49, 18, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [49, 18, 2] Generated Node #2: [49, 18, 2] from Operation: 62-60=2 Current State: 40:[49, 18, 2], Operations: ['62-60=2'] Exploring Operation: 18/2=9, Resulting Numbers: [49, 9] Generated Node #3: [49, 9] from Operation: 18/2=9 Current State: 40:[49, 9], Operations: ['62-60=2', '18/2=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[62, 49, 18, 60], Operations: [] Exploring Operation: 62-18=44, Resulting Numbers: [49, 60, 44] Generated Node #0,0: 40:[49, 60, 44] Operation: 62-18=44 Exploring Operation: 62-49=13, Resulting Numbers: [18, 60, 13] Generated Node #0,1: 40:[18, 60, 13] Operation: 62-49=13 Exploring Operation: 62-60=2, Resulting Numbers: [49, 18, 2] Generated Node #0,2: 40:[49, 18, 2] Operation: 62-60=2 Exploring Operation: 60-49=11, Resulting Numbers: [62, 18, 11] Generated Node #0,3: 40:[62, 18, 11] Operation: 60-49=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[49, 18, 2], Operations: ['62-60=2'] Exploring Operation: 49-2=47, Resulting Numbers: [18, 47] Generated Node #0,2,0: 40:[18, 47] Operation: 49-2=47 Exploring Operation: 18+2=20, Resulting Numbers: [49, 20] Generated Node #0,2,1: 40:[49, 20] Operation: 18+2=20 Exploring Operation: 18/2=9, Resulting Numbers: [49, 9] Generated Node #0,2,2: 40:[49, 9] Operation: 18/2=9 Exploring Operation: 49-18=31, Resulting Numbers: [2, 31] Generated Node #0,2,3: 40:[2, 31] Operation: 49-18=31 Moving to Node #0,2,0 Current State: 40:[18, 47], Operations: ['62-60=2', '49-2=47'] Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,40 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,40 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[2, 31], Operations: ['62-60=2', '49-18=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[49, 20], Operations: ['62-60=2', '18+2=20'] Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,40 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[49, 9], Operations: ['62-60=2', '18/2=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,40 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[62, 49, 18, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [49, 18, 2] Generated Node #0,2: 40:[49, 18, 2] Operation: 62-60=2 Moving to Node #0,2 Current State: 40:[49, 18, 2], Operations: ['62-60=2'] Exploring Operation: 18/2=9, Resulting Numbers: [49, 9] Generated Node #0,2,2: 40:[49, 9] Operation: 18/2=9 Moving to Node #0,2,2 Current State: 40:[49, 9], Operations: ['62-60=2', '18/2=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 92, 80, 55, 20 ]
77
[ "92+20=112", "55*112=6160", "6160/80=77" ]
Current State: 77:[92, 80, 55, 20], Operations: [] Exploring Operation: 92+20=112, Resulting Numbers: [80, 55, 112] Generated Node #2: [80, 55, 112] from Operation: 92+20=112 Current State: 77:[80, 55, 112], Operations: ['92+20=112'] Exploring Operation: 55*112=6160, Resulting Numbers: [80, 6160] Generated Node #3: [80, 6160] from Operation: 55*112=6160 Current State: 77:[80, 6160], Operations: ['92+20=112', '55*112=6160'] Exploring Operation: 6160/80=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[92, 80, 55, 20], Operations: [] Exploring Operation: 55+20=75, Resulting Numbers: [92, 80, 75] Generated Node #0,0: 77:[92, 80, 75] Operation: 55+20=75 Exploring Operation: 92-20=72, Resulting Numbers: [80, 55, 72] Generated Node #0,1: 77:[80, 55, 72] Operation: 92-20=72 Exploring Operation: 92-80=12, Resulting Numbers: [55, 20, 12] Generated Node #0,2: 77:[55, 20, 12] Operation: 92-80=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[92, 80, 75], Operations: ['55+20=75'] Exploring Operation: 92-80=12, Resulting Numbers: [75, 12] Generated Node #0,0,0: 77:[75, 12] Operation: 92-80=12 Exploring Operation: 80-75=5, Resulting Numbers: [92, 5] Generated Node #0,0,1: 77:[92, 5] Operation: 80-75=5 Exploring Operation: 92-75=17, Resulting Numbers: [80, 17] Generated Node #0,0,2: 77:[80, 17] Operation: 92-75=17 Moving to Node #0,0,0 Current State: 77:[75, 12], Operations: ['55+20=75', '92-80=12'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,77 unequal: No Solution Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[80, 17], Operations: ['55+20=75', '92-75=17'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,77 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[92, 5], Operations: ['55+20=75', '80-75=5'] Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,77 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[80, 55, 72], Operations: ['92-20=72'] Exploring Operation: 80-55=25, Resulting Numbers: [72, 25] Generated Node #0,1,0: 77:[72, 25] Operation: 80-55=25 Exploring Operation: 72-55=17, Resulting Numbers: [80, 17] Generated Node #0,1,1: 77:[80, 17] Operation: 72-55=17 Exploring Operation: 80-72=8, Resulting Numbers: [55, 8] Generated Node #0,1,2: 77:[55, 8] Operation: 80-72=8 Moving to Node #0,1,1 Current State: 77:[80, 17], Operations: ['92-20=72', '72-55=17'] Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,77 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[72, 25], Operations: ['92-20=72', '80-55=25'] Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,77 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[55, 8], Operations: ['92-20=72', '80-72=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,77 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[55, 20, 12], Operations: ['92-80=12'] Exploring Operation: 55+20=75, Resulting Numbers: [12, 75] Generated Node #0,2,0: 77:[12, 75] Operation: 55+20=75 Exploring Operation: 55+12=67, Resulting Numbers: [20, 67] Generated Node #0,2,1: 77:[20, 67] Operation: 55+12=67 Exploring Operation: 20-12=8, Resulting Numbers: [55, 8] Generated Node #0,2,2: 77:[55, 8] Operation: 20-12=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[12, 75], Operations: ['92-80=12', '55+20=75'] Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,77 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[20, 67], Operations: ['92-80=12', '55+12=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,77 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[55, 8], Operations: ['92-80=12', '20-12=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,77 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 32, 94, 74, 5 ]
17
[ "94-32=62", "74+5=79", "79-62=17" ]
Current State: 17:[32, 94, 74, 5], Operations: [] Exploring Operation: 94-32=62, Resulting Numbers: [74, 5, 62] Generated Node #2: [74, 5, 62] from Operation: 94-32=62 Current State: 17:[74, 5, 62], Operations: ['94-32=62'] Exploring Operation: 74+5=79, Resulting Numbers: [62, 79] Generated Node #3: [62, 79] from Operation: 74+5=79 Current State: 17:[62, 79], Operations: ['94-32=62', '74+5=79'] Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[32, 94, 74, 5], Operations: [] Exploring Operation: 94-74=20, Resulting Numbers: [32, 5, 20] Generated Node #0,0: 17:[32, 5, 20] Operation: 94-74=20 Exploring Operation: 94-32=62, Resulting Numbers: [74, 5, 62] Generated Node #0,1: 17:[74, 5, 62] Operation: 94-32=62 Moving to Node #0,0 Current State: 17:[32, 5, 20], Operations: ['94-74=20'] Exploring Operation: 32-20=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 17:[5, 12] Operation: 32-20=12 Exploring Operation: 32-5=27, Resulting Numbers: [20, 27] Generated Node #0,0,1: 17:[20, 27] Operation: 32-5=27 Moving to Node #0,1 Current State: 17:[74, 5, 62], Operations: ['94-32=62'] Exploring Operation: 74-5=69, Resulting Numbers: [62, 69] Generated Node #0,1,0: 17:[62, 69] Operation: 74-5=69 Exploring Operation: 74-62=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 17:[5, 12] Operation: 74-62=12 Moving to Node #0,0,1 Current State: 17:[20, 27], Operations: ['94-74=20', '32-5=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[5, 12], Operations: ['94-32=62', '74-62=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[32, 94, 74, 5], Operations: [] Exploring Operation: 94-32=62, Resulting Numbers: [74, 5, 62] Generated Node #0,1: 17:[74, 5, 62] Operation: 94-32=62 Moving to Node #0,1 Current State: 17:[74, 5, 62], Operations: ['94-32=62'] Exploring Operation: 74-62=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 17:[5, 12] Operation: 74-62=12 Moving to Node #0,1,1 Current State: 17:[5, 12], Operations: ['94-32=62', '74-62=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 74, 48, 83, 88 ]
49
[ "74+48=122", "83+88=171", "171-122=49" ]
Current State: 49:[74, 48, 83, 88], Operations: [] Exploring Operation: 74+48=122, Resulting Numbers: [83, 88, 122] Generated Node #2: [83, 88, 122] from Operation: 74+48=122 Current State: 49:[83, 88, 122], Operations: ['74+48=122'] Exploring Operation: 83+88=171, Resulting Numbers: [122, 171] Generated Node #3: [122, 171] from Operation: 83+88=171 Current State: 49:[122, 171], Operations: ['74+48=122', '83+88=171'] Exploring Operation: 171-122=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[74, 48, 83, 88], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [48, 88, 9] Generated Node #0,0: 49:[48, 88, 9] Operation: 83-74=9 Exploring Operation: 88-83=5, Resulting Numbers: [74, 48, 5] Generated Node #0,1: 49:[74, 48, 5] Operation: 88-83=5 Exploring Operation: 88-74=14, Resulting Numbers: [48, 83, 14] Generated Node #0,2: 49:[48, 83, 14] Operation: 88-74=14 Moving to Node #0,1 Current State: 49:[74, 48, 5], Operations: ['88-83=5'] Exploring Operation: 74-48=26, Resulting Numbers: [5, 26] Generated Node #0,1,0: 49:[5, 26] Operation: 74-48=26 Exploring Operation: 48+5=53, Resulting Numbers: [74, 53] Generated Node #0,1,1: 49:[74, 53] Operation: 48+5=53 Exploring Operation: 74-5=69, Resulting Numbers: [48, 69] Generated Node #0,1,2: 49:[48, 69] Operation: 74-5=69 Moving to Node #0,0 Current State: 49:[48, 88, 9], Operations: ['83-74=9'] Exploring Operation: 88-48=40, Resulting Numbers: [9, 40] Generated Node #0,0,0: 49:[9, 40] Operation: 88-48=40 Exploring Operation: 88-9=79, Resulting Numbers: [48, 79] Generated Node #0,0,1: 49:[48, 79] Operation: 88-9=79 Exploring Operation: 48+9=57, Resulting Numbers: [88, 57] Generated Node #0,0,2: 49:[88, 57] Operation: 48+9=57 Moving to Node #0,2 Current State: 49:[48, 83, 14], Operations: ['88-74=14'] Exploring Operation: 83-14=69, Resulting Numbers: [48, 69] Generated Node #0,2,0: 49:[48, 69] Operation: 83-14=69 Exploring Operation: 83-48=35, Resulting Numbers: [14, 35] Generated Node #0,2,1: 49:[14, 35] Operation: 83-48=35 Exploring Operation: 48+14=62, Resulting Numbers: [83, 62] Generated Node #0,2,2: 49:[83, 62] Operation: 48+14=62 Moving to Node #0,0,0 Current State: 49:[9, 40], Operations: ['83-74=9', '88-48=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,49 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[74, 48, 83, 88], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [48, 88, 9] Generated Node #0,0: 49:[48, 88, 9] Operation: 83-74=9 Moving to Node #0,0 Current State: 49:[48, 88, 9], Operations: ['83-74=9'] Exploring Operation: 88-48=40, Resulting Numbers: [9, 40] Generated Node #0,0,0: 49:[9, 40] Operation: 88-48=40 Moving to Node #0,0,0 Current State: 49:[9, 40], Operations: ['83-74=9', '88-48=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 95, 94, 83, 61 ]
45
[ "95+94=189", "83+61=144", "189-144=45" ]
Current State: 45:[95, 94, 83, 61], Operations: [] Exploring Operation: 95+94=189, Resulting Numbers: [83, 61, 189] Generated Node #2: [83, 61, 189] from Operation: 95+94=189 Current State: 45:[83, 61, 189], Operations: ['95+94=189'] Exploring Operation: 83+61=144, Resulting Numbers: [189, 144] Generated Node #3: [189, 144] from Operation: 83+61=144 Current State: 45:[189, 144], Operations: ['95+94=189', '83+61=144'] Exploring Operation: 189-144=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[95, 94, 83, 61], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [83, 61, 1] Generated Node #0,0: 45:[83, 61, 1] Operation: 95-94=1 Exploring Operation: 95-83=12, Resulting Numbers: [94, 61, 12] Generated Node #0,1: 45:[94, 61, 12] Operation: 95-83=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[83, 61, 1], Operations: ['95-94=1'] Exploring Operation: 83-1=82, Resulting Numbers: [61, 82] Generated Node #0,0,0: 45:[61, 82] Operation: 83-1=82 Exploring Operation: 83-61=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 45:[1, 22] Operation: 83-61=22 Moving to Node #0,0,1 Current State: 45:[1, 22], Operations: ['95-94=1', '83-61=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[61, 82], Operations: ['95-94=1', '83-1=82'] Exploring Operation: 61+82=143, Resulting Numbers: [143] 143,45 unequal: No Solution Exploring Operation: 82-61=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[94, 61, 12], Operations: ['95-83=12'] Exploring Operation: 94-61=33, Resulting Numbers: [12, 33] Generated Node #0,1,0: 45:[12, 33] Operation: 94-61=33 Exploring Operation: 94-12=82, Resulting Numbers: [61, 82] Generated Node #0,1,1: 45:[61, 82] Operation: 94-12=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[12, 33], Operations: ['95-83=12', '94-61=33'] Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[95, 94, 83, 61], Operations: [] Exploring Operation: 95-83=12, Resulting Numbers: [94, 61, 12] Generated Node #0,1: 45:[94, 61, 12] Operation: 95-83=12 Moving to Node #0,1 Current State: 45:[94, 61, 12], Operations: ['95-83=12'] Exploring Operation: 94-61=33, Resulting Numbers: [12, 33] Generated Node #0,1,0: 45:[12, 33] Operation: 94-61=33 Moving to Node #0,1,0 Current State: 45:[12, 33], Operations: ['95-83=12', '94-61=33'] Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 99, 97, 11, 1 ]
88
[ "99/11=9", "97*1=97", "97-9=88" ]
Current State: 88:[99, 97, 11, 1], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [97, 1, 9] Generated Node #2: [97, 1, 9] from Operation: 99/11=9 Current State: 88:[97, 1, 9], Operations: ['99/11=9'] Exploring Operation: 97*1=97, Resulting Numbers: [9, 97] Generated Node #3: [9, 97] from Operation: 97*1=97 Current State: 88:[9, 97], Operations: ['99/11=9', '97*1=97'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[99, 97, 11, 1], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [97, 1, 9] Generated Node #0,0: 88:[97, 1, 9] Operation: 99/11=9 Exploring Operation: 99-97=2, Resulting Numbers: [11, 1, 2] Generated Node #0,1: 88:[11, 1, 2] Operation: 99-97=2 Exploring Operation: 97-11=86, Resulting Numbers: [99, 1, 86] Generated Node #0,2: 88:[99, 1, 86] Operation: 97-11=86 Exploring Operation: 99-11=88, Resulting Numbers: [97, 1, 88] Generated Node #0,3: 88:[97, 1, 88] Operation: 99-11=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[11, 1, 2], Operations: ['99-97=2'] Exploring Operation: 11*1=11, Resulting Numbers: [2, 11] Generated Node #0,1,0: 88:[2, 11] Operation: 11*1=11 Exploring Operation: 11/1=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 88:[2, 11] Operation: 11/1=11 Exploring Operation: 1*2=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 88:[11, 2] Operation: 1*2=2 Exploring Operation: 2/1=2, Resulting Numbers: [11, 2] Generated Node #0,1,3: 88:[11, 2] Operation: 2/1=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[2, 11], Operations: ['99-97=2', '11*1=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[2, 11], Operations: ['99-97=2', '11/1=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[11, 2], Operations: ['99-97=2', '1*2=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[11, 2], Operations: ['99-97=2', '2/1=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[97, 1, 88], Operations: ['99-11=88'] Exploring Operation: 97-88=9, Resulting Numbers: [1, 9] Generated Node #0,3,0: 88:[1, 9] Operation: 97-88=9 Exploring Operation: 97*1=97, Resulting Numbers: [88, 97] Generated Node #0,3,1: 88:[88, 97] Operation: 97*1=97 Exploring Operation: 97/1=97, Resulting Numbers: [88, 97] Generated Node #0,3,2: 88:[88, 97] Operation: 97/1=97 Exploring Operation: 97-1=96, Resulting Numbers: [88, 96] Generated Node #0,3,3: 88:[88, 96] Operation: 97-1=96 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[1, 9], Operations: ['99-11=88', '97-88=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[88, 96], Operations: ['99-11=88', '97-1=96'] Exploring Operation: 96-88=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 88*96=8448, Resulting Numbers: [8448] 8448,88 unequal: No Solution Exploring Operation: 88+96=184, Resulting Numbers: [184] 184,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[88, 97], Operations: ['99-11=88', '97*1=97'] Exploring Operation: 88*97=8536, Resulting Numbers: [8536] 8536,88 unequal: No Solution Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 88+97=185, Resulting Numbers: [185] 185,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[88, 97], Operations: ['99-11=88', '97/1=97'] Exploring Operation: 88+97=185, Resulting Numbers: [185] 185,88 unequal: No Solution Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 88*97=8536, Resulting Numbers: [8536] 8536,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[97, 1, 9], Operations: ['99/11=9'] Exploring Operation: 97-9=88, Resulting Numbers: [1, 88] Generated Node #0,0,0: 88:[1, 88] Operation: 97-9=88 Exploring Operation: 97*1=97, Resulting Numbers: [9, 97] Generated Node #0,0,1: 88:[9, 97] Operation: 97*1=97 Exploring Operation: 97-1=96, Resulting Numbers: [9, 96] Generated Node #0,0,2: 88:[9, 96] Operation: 97-1=96 Exploring Operation: 9-1=8, Resulting Numbers: [97, 8] Generated Node #0,0,3: 88:[97, 8] Operation: 9-1=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[1, 88], Operations: ['99/11=9', '97-9=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[99, 97, 11, 1], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [97, 1, 9] Generated Node #0,0: 88:[97, 1, 9] Operation: 99/11=9 Moving to Node #0,0 Current State: 88:[97, 1, 9], Operations: ['99/11=9'] Exploring Operation: 97-9=88, Resulting Numbers: [1, 88] Generated Node #0,0,0: 88:[1, 88] Operation: 97-9=88 Moving to Node #0,0,0 Current State: 88:[1, 88], Operations: ['99/11=9', '97-9=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 4, 10, 5, 83 ]
22
[ "10-5=5", "83+5=88", "88/4=22" ]
Current State: 22:[4, 10, 5, 83], Operations: [] Exploring Operation: 10-5=5, Resulting Numbers: [4, 83, 5] Generated Node #2: [4, 83, 5] from Operation: 10-5=5 Current State: 22:[4, 83, 5], Operations: ['10-5=5'] Exploring Operation: 83+5=88, Resulting Numbers: [4, 88] Generated Node #3: [4, 88] from Operation: 83+5=88 Current State: 22:[4, 88], Operations: ['10-5=5', '83+5=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 10, 5, 83], Operations: [] Exploring Operation: 5-4=1, Resulting Numbers: [10, 83, 1] Generated Node #0,0: 22:[10, 83, 1] Operation: 5-4=1 Exploring Operation: 83-10=73, Resulting Numbers: [4, 5, 73] Generated Node #0,1: 22:[4, 5, 73] Operation: 83-10=73 Exploring Operation: 83-5=78, Resulting Numbers: [4, 10, 78] Generated Node #0,2: 22:[4, 10, 78] Operation: 83-5=78 Exploring Operation: 83-4=79, Resulting Numbers: [10, 5, 79] Generated Node #0,3: 22:[10, 5, 79] Operation: 83-4=79 Moving to Node #0,1 Current State: 22:[4, 5, 73], Operations: ['83-10=73'] Exploring Operation: 73-4=69, Resulting Numbers: [5, 69] Generated Node #0,1,0: 22:[5, 69] Operation: 73-4=69 Exploring Operation: 4+5=9, Resulting Numbers: [73, 9] Generated Node #0,1,1: 22:[73, 9] Operation: 4+5=9 Exploring Operation: 73-5=68, Resulting Numbers: [4, 68] Generated Node #0,1,2: 22:[4, 68] Operation: 73-5=68 Exploring Operation: 5-4=1, Resulting Numbers: [73, 1] Generated Node #0,1,3: 22:[73, 1] Operation: 5-4=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[4, 68], Operations: ['83-10=73', '73-5=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,22 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,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,0 Current State: 22:[5, 69], Operations: ['83-10=73', '73-4=69'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,22 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,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,3 Current State: 22:[73, 1], Operations: ['83-10=73', '5-4=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,22 unequal: No Solution Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,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:[73, 9], Operations: ['83-10=73', '4+5=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,22 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,22 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: 22:[4, 10, 78], Operations: ['83-5=78'] Exploring Operation: 78-4=74, Resulting Numbers: [10, 74] Generated Node #0,2,0: 22:[10, 74] Operation: 78-4=74 Exploring Operation: 10-4=6, Resulting Numbers: [78, 6] Generated Node #0,2,1: 22:[78, 6] Operation: 10-4=6 Exploring Operation: 4+10=14, Resulting Numbers: [78, 14] Generated Node #0,2,2: 22:[78, 14] Operation: 4+10=14 Exploring Operation: 78-10=68, Resulting Numbers: [4, 68] Generated Node #0,2,3: 22:[4, 68] Operation: 78-10=68 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[4, 68], Operations: ['83-5=78', '78-10=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,22 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[10, 74], Operations: ['83-5=78', '78-4=74'] Exploring Operation: 10*74=740, Resulting Numbers: [740] 740,22 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[78, 14], Operations: ['83-5=78', '4+10=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,22 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[78, 6], Operations: ['83-5=78', '10-4=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,22 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,22 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: 22:[10, 5, 79], Operations: ['83-4=79'] Exploring Operation: 79-5=74, Resulting Numbers: [10, 74] Generated Node #0,3,0: 22:[10, 74] Operation: 79-5=74 Exploring Operation: 10/5=2, Resulting Numbers: [79, 2] Generated Node #0,3,1: 22:[79, 2] Operation: 10/5=2 Exploring Operation: 79-10=69, Resulting Numbers: [5, 69] Generated Node #0,3,2: 22:[5, 69] Operation: 79-10=69 Exploring Operation: 10-5=5, Resulting Numbers: [79, 5] Generated Node #0,3,3: 22:[79, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[5, 69], Operations: ['83-4=79', '79-10=69'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,22 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,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,3,0 Current State: 22:[10, 74], Operations: ['83-4=79', '79-5=74'] Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 10*74=740, Resulting Numbers: [740] 740,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,3,1 Current State: 22:[79, 2], Operations: ['83-4=79', '10/5=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,22 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,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,3,3 Current State: 22:[79, 5], Operations: ['83-4=79', '10-5=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,22 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,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:[10, 83, 1], Operations: ['5-4=1'] Exploring Operation: 10+1=11, Resulting Numbers: [83, 11] Generated Node #0,0,0: 22:[83, 11] Operation: 10+1=11 Exploring Operation: 10*1=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 22:[83, 10] Operation: 10*1=10 Exploring Operation: 83-1=82, Resulting Numbers: [10, 82] Generated Node #0,0,2: 22:[10, 82] Operation: 83-1=82 Exploring Operation: 83-10=73, Resulting Numbers: [1, 73] Generated Node #0,0,3: 22:[1, 73] Operation: 83-10=73 Moving to Node #0,0,3 Current State: 22:[1, 73], Operations: ['5-4=1', '83-10=73'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[10, 82], Operations: ['5-4=1', '83-1=82'] Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,22 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[83, 11], Operations: ['5-4=1', '10+1=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,22 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[83, 10], Operations: ['5-4=1', '10*1=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,22 unequal: No Solution Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,22 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 9, 55, 59 ]
24
[ "5*55=275", "275-59=216", "216/9=24" ]
Current State: 24:[5, 9, 55, 59], Operations: [] Exploring Operation: 5*55=275, Resulting Numbers: [9, 59, 275] Generated Node #2: [9, 59, 275] from Operation: 5*55=275 Current State: 24:[9, 59, 275], Operations: ['5*55=275'] Exploring Operation: 275-59=216, Resulting Numbers: [9, 216] Generated Node #3: [9, 216] from Operation: 275-59=216 Current State: 24:[9, 216], Operations: ['5*55=275', '275-59=216'] Exploring Operation: 216/9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[5, 9, 55, 59], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [5, 59, 46] Generated Node #0,0: 24:[5, 59, 46] Operation: 55-9=46 Exploring Operation: 55-5=50, Resulting Numbers: [9, 59, 50] Generated Node #0,1: 24:[9, 59, 50] Operation: 55-5=50 Exploring Operation: 59-9=50, Resulting Numbers: [5, 55, 50] Generated Node #0,2: 24:[5, 55, 50] Operation: 59-9=50 Exploring Operation: 55/5=11, Resulting Numbers: [9, 59, 11] Generated Node #0,3: 24:[9, 59, 11] Operation: 55/5=11 Exploring Operation: 59-55=4, Resulting Numbers: [5, 9, 4] Generated Node #0,4: 24:[5, 9, 4] Operation: 59-55=4 Moving to Node #0,4 Current State: 24:[5, 9, 4], Operations: ['59-55=4'] Exploring Operation: 5+9=14, Resulting Numbers: [4, 14] Generated Node #0,4,0: 24:[4, 14] Operation: 5+9=14 Exploring Operation: 5-4=1, Resulting Numbers: [9, 1] Generated Node #0,4,1: 24:[9, 1] Operation: 5-4=1 Exploring Operation: 9-5=4, Resulting Numbers: [4, 4] Generated Node #0,4,2: 24:[4, 4] Operation: 9-5=4 Exploring Operation: 9+4=13, Resulting Numbers: [5, 13] Generated Node #0,4,3: 24:[5, 13] Operation: 9+4=13 Exploring Operation: 5+4=9, Resulting Numbers: [9, 9] Generated Node #0,4,4: 24:[9, 9] Operation: 5+4=9 Moving to Node #0,3 Current State: 24:[9, 59, 11], Operations: ['55/5=11'] Exploring Operation: 59-11=48, Resulting Numbers: [9, 48] Generated Node #0,3,0: 24:[9, 48] Operation: 59-11=48 Exploring Operation: 11-9=2, Resulting Numbers: [59, 2] Generated Node #0,3,1: 24:[59, 2] Operation: 11-9=2 Exploring Operation: 9+59=68, Resulting Numbers: [11, 68] Generated Node #0,3,2: 24:[11, 68] Operation: 9+59=68 Exploring Operation: 59-9=50, Resulting Numbers: [11, 50] Generated Node #0,3,3: 24:[11, 50] Operation: 59-9=50 Exploring Operation: 9+11=20, Resulting Numbers: [59, 20] Generated Node #0,3,4: 24:[59, 20] Operation: 9+11=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[9, 48], Operations: ['55/5=11', '59-11=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[11, 50], Operations: ['55/5=11', '59-9=50'] Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,24 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[59, 2], Operations: ['55/5=11', '11-9=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,24 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 24:[59, 20], Operations: ['55/5=11', '9+11=20'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,24 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[11, 68], Operations: ['55/5=11', '9+59=68'] Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,24 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 11*68=748, Resulting Numbers: [748] 748,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 24:[5, 59, 46], Operations: ['55-9=46'] Exploring Operation: 5+59=64, Resulting Numbers: [46, 64] Generated Node #0,0,0: 24:[46, 64] Operation: 5+59=64 Exploring Operation: 59-46=13, Resulting Numbers: [5, 13] Generated Node #0,0,1: 24:[5, 13] Operation: 59-46=13 Exploring Operation: 46-5=41, Resulting Numbers: [59, 41] Generated Node #0,0,2: 24:[59, 41] Operation: 46-5=41 Exploring Operation: 5+46=51, Resulting Numbers: [59, 51] Generated Node #0,0,3: 24:[59, 51] Operation: 5+46=51 Exploring Operation: 59-5=54, Resulting Numbers: [46, 54] Generated Node #0,0,4: 24:[46, 54] Operation: 59-5=54 Moving to Node #0,2 Current State: 24:[5, 55, 50], Operations: ['59-9=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5, 5] Generated Node #0,2,0: 24:[5, 5] Operation: 55-50=5 Exploring Operation: 50-5=45, Resulting Numbers: [55, 45] Generated Node #0,2,1: 24:[55, 45] Operation: 50-5=45 Exploring Operation: 50/5=10, Resulting Numbers: [55, 10] Generated Node #0,2,2: 24:[55, 10] Operation: 50/5=10 Exploring Operation: 55/5=11, Resulting Numbers: [50, 11] Generated Node #0,2,3: 24:[50, 11] Operation: 55/5=11 Exploring Operation: 55-5=50, Resulting Numbers: [50, 50] Generated Node #0,2,4: 24:[50, 50] Operation: 55-5=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[5, 5], Operations: ['59-9=50', '55-50=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[50, 11], Operations: ['59-9=50', '55/5=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[55, 10], Operations: ['59-9=50', '50/5=10'] Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[55, 45], Operations: ['59-9=50', '50-5=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,24 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[50, 50], Operations: ['59-9=50', '55-5=50'] Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 24:[9, 59, 50], Operations: ['55-5=50'] Exploring Operation: 59-50=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 24:[9, 9] Operation: 59-50=9 Exploring Operation: 9+59=68, Resulting Numbers: [50, 68] Generated Node #0,1,1: 24:[50, 68] Operation: 9+59=68 Exploring Operation: 9+50=59, Resulting Numbers: [59, 59] Generated Node #0,1,2: 24:[59, 59] Operation: 9+50=59 Exploring Operation: 59-9=50, Resulting Numbers: [50, 50] Generated Node #0,1,3: 24:[50, 50] Operation: 59-9=50 Exploring Operation: 50-9=41, Resulting Numbers: [59, 41] Generated Node #0,1,4: 24:[59, 41] Operation: 50-9=41 Moving to Node #0,4,2 Current State: 24:[4, 4], Operations: ['59-55=4', '9-5=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[9, 1], Operations: ['59-55=4', '5-4=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[5, 13], Operations: ['55-9=46', '59-46=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[4, 14], Operations: ['59-55=4', '5+9=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,4,4 Current State: 24:[9, 9], Operations: ['59-55=4', '5+4=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[9, 9], Operations: ['55-5=50', '59-50=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[5, 13], Operations: ['59-55=4', '9+4=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[59, 41], Operations: ['55-9=46', '46-5=41'] Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,24 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[59, 41], Operations: ['55-5=50', '50-9=41'] Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,24 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[50, 50], Operations: ['55-5=50', '59-9=50'] Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,24 unequal: No Solution Moving to Node #0,0,4 Current State: 24:[46, 54], Operations: ['55-9=46', '59-5=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,24 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[46, 64], Operations: ['55-9=46', '5+59=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,24 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,24 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[59, 51], Operations: ['55-9=46', '5+46=51'] Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,24 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[50, 68], Operations: ['55-5=50', '9+59=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,24 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[59, 59], Operations: ['55-5=50', '9+50=59'] Exploring Operation: 59/59=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 59+59=118, Resulting Numbers: [118] 118,24 unequal: No Solution Exploring Operation: 59*59=3481, Resulting Numbers: [3481] 3481,24 unequal: No Solution Exploring Operation: 59-59=0, Resulting Numbers: [0] 0,24 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 61, 27, 11, 44 ]
52
[ "61+27=88", "88/11=8", "44+8=52" ]
Current State: 52:[61, 27, 11, 44], Operations: [] Exploring Operation: 61+27=88, Resulting Numbers: [11, 44, 88] Generated Node #2: [11, 44, 88] from Operation: 61+27=88 Current State: 52:[11, 44, 88], Operations: ['61+27=88'] Exploring Operation: 88/11=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 88/11=8 Current State: 52:[44, 8], Operations: ['61+27=88', '88/11=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[61, 27, 11, 44], Operations: [] Exploring Operation: 11+44=55, Resulting Numbers: [61, 27, 55] Generated Node #0,0: 52:[61, 27, 55] Operation: 11+44=55 Exploring Operation: 61-11=50, Resulting Numbers: [27, 44, 50] Generated Node #0,1: 52:[27, 44, 50] Operation: 61-11=50 Exploring Operation: 44-27=17, Resulting Numbers: [61, 11, 17] Generated Node #0,2: 52:[61, 11, 17] Operation: 44-27=17 Exploring Operation: 44/11=4, Resulting Numbers: [61, 27, 4] Generated Node #0,3: 52:[61, 27, 4] Operation: 44/11=4 Exploring Operation: 61-44=17, Resulting Numbers: [27, 11, 17] Generated Node #0,4: 52:[27, 11, 17] Operation: 61-44=17 Moving to Node #0,4 Current State: 52:[27, 11, 17], Operations: ['61-44=17'] Exploring Operation: 27-17=10, Resulting Numbers: [11, 10] Generated Node #0,4,0: 52:[11, 10] Operation: 27-17=10 Exploring Operation: 11+17=28, Resulting Numbers: [27, 28] Generated Node #0,4,1: 52:[27, 28] Operation: 11+17=28 Exploring Operation: 27-11=16, Resulting Numbers: [17, 16] Generated Node #0,4,2: 52:[17, 16] Operation: 27-11=16 Exploring Operation: 17-11=6, Resulting Numbers: [27, 6] Generated Node #0,4,3: 52:[27, 6] Operation: 17-11=6 Exploring Operation: 27+17=44, Resulting Numbers: [11, 44] Generated Node #0,4,4: 52:[11, 44] Operation: 27+17=44 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[27, 28], Operations: ['61-44=17', '11+17=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,52 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 52:[27, 6], Operations: ['61-44=17', '17-11=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,52 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 52:[11, 10], Operations: ['61-44=17', '27-17=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,52 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[17, 16], Operations: ['61-44=17', '27-11=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[11, 44], Operations: ['61-44=17', '27+17=44'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 11*44=484, Resulting Numbers: [484] 484,52 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 52:[61, 27, 4], Operations: ['44/11=4'] Exploring Operation: 61-4=57, Resulting Numbers: [27, 57] Generated Node #0,3,0: 52:[27, 57] Operation: 61-4=57 Exploring Operation: 61-27=34, Resulting Numbers: [4, 34] Generated Node #0,3,1: 52:[4, 34] Operation: 61-27=34 Exploring Operation: 61+4=65, Resulting Numbers: [27, 65] Generated Node #0,3,2: 52:[27, 65] Operation: 61+4=65 Exploring Operation: 27-4=23, Resulting Numbers: [61, 23] Generated Node #0,3,3: 52:[61, 23] Operation: 27-4=23 Exploring Operation: 27+4=31, Resulting Numbers: [61, 31] Generated Node #0,3,4: 52:[61, 31] Operation: 27+4=31 Moving to Node #0,1 Current State: 52:[27, 44, 50], Operations: ['61-11=50'] Exploring Operation: 44-27=17, Resulting Numbers: [50, 17] Generated Node #0,1,0: 52:[50, 17] Operation: 44-27=17 Exploring Operation: 50-27=23, Resulting Numbers: [44, 23] Generated Node #0,1,1: 52:[44, 23] Operation: 50-27=23 Exploring Operation: 27+44=71, Resulting Numbers: [50, 71] Generated Node #0,1,2: 52:[50, 71] Operation: 27+44=71 Exploring Operation: 27+50=77, Resulting Numbers: [44, 77] Generated Node #0,1,3: 52:[44, 77] Operation: 27+50=77 Exploring Operation: 50-44=6, Resulting Numbers: [27, 6] Generated Node #0,1,4: 52:[27, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 52:[27, 6], Operations: ['61-11=50', '50-44=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,52 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[50, 17], Operations: ['61-11=50', '44-27=17'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[44, 23], Operations: ['61-11=50', '50-27=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[50, 71], Operations: ['61-11=50', '27+44=71'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,52 unequal: No Solution Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[44, 77], Operations: ['61-11=50', '27+50=77'] Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,52 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,52 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,52 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: 52:[61, 27, 55], Operations: ['11+44=55'] Exploring Operation: 61-27=34, Resulting Numbers: [55, 34] Generated Node #0,0,0: 52:[55, 34] Operation: 61-27=34 Exploring Operation: 61-55=6, Resulting Numbers: [27, 6] Generated Node #0,0,1: 52:[27, 6] Operation: 61-55=6 Exploring Operation: 55-27=28, Resulting Numbers: [61, 28] Generated Node #0,0,2: 52:[61, 28] Operation: 55-27=28 Exploring Operation: 61+27=88, Resulting Numbers: [55, 88] Generated Node #0,0,3: 52:[55, 88] Operation: 61+27=88 Exploring Operation: 27+55=82, Resulting Numbers: [61, 82] Generated Node #0,0,4: 52:[61, 82] Operation: 27+55=82 Moving to Node #0,2 Current State: 52:[61, 11, 17], Operations: ['44-27=17'] Exploring Operation: 11+17=28, Resulting Numbers: [61, 28] Generated Node #0,2,0: 52:[61, 28] Operation: 11+17=28 Exploring Operation: 61-17=44, Resulting Numbers: [11, 44] Generated Node #0,2,1: 52:[11, 44] Operation: 61-17=44 Exploring Operation: 17-11=6, Resulting Numbers: [61, 6] Generated Node #0,2,2: 52:[61, 6] Operation: 17-11=6 Exploring Operation: 61-11=50, Resulting Numbers: [17, 50] Generated Node #0,2,3: 52:[17, 50] Operation: 61-11=50 Exploring Operation: 61+11=72, Resulting Numbers: [17, 72] Generated Node #0,2,4: 52:[17, 72] Operation: 61+11=72 Moving to Node #0,0,1 Current State: 52:[27, 6], Operations: ['11+44=55', '61-55=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[27, 57], Operations: ['44/11=4', '61-4=57'] Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,52 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[17, 50], Operations: ['44-27=17', '61-11=50'] Exploring Operation: 17+50=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 17*50=850, Resulting Numbers: [850] 850,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[4, 34], Operations: ['44/11=4', '61-27=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,52 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[11, 44], Operations: ['44-27=17', '61-17=44'] Exploring Operation: 11*44=484, Resulting Numbers: [484] 484,52 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[55, 34], Operations: ['11+44=55', '61-27=34'] Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,52 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[61, 28], Operations: ['44-27=17', '11+17=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,52 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[61, 6], Operations: ['44-27=17', '17-11=6'] Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,52 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[61, 28], Operations: ['11+44=55', '55-27=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[61, 23], Operations: ['44/11=4', '27-4=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,52 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[61, 31], Operations: ['44/11=4', '27+4=31'] Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,52 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[27, 65], Operations: ['44/11=4', '61+4=65'] Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[17, 72], Operations: ['44-27=17', '61+11=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[61, 82], Operations: ['11+44=55', '27+55=82'] Exploring Operation: 61+82=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 61*82=5002, Resulting Numbers: [5002] 5002,52 unequal: No Solution Exploring Operation: 82-61=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[55, 88], Operations: ['11+44=55', '61+27=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,52 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,52 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 46, 7, 11, 45 ]
18
[ "46-45=1", "7+11=18", "1*18=18" ]
Current State: 18:[46, 7, 11, 45], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [7, 11, 1] Generated Node #2: [7, 11, 1] from Operation: 46-45=1 Current State: 18:[7, 11, 1], Operations: ['46-45=1'] Exploring Operation: 7+11=18, Resulting Numbers: [1, 18] Generated Node #3: [1, 18] from Operation: 7+11=18 Current State: 18:[1, 18], Operations: ['46-45=1', '7+11=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[46, 7, 11, 45], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [7, 11, 1] Generated Node #0,0: 18:[7, 11, 1] Operation: 46-45=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[7, 11, 1], Operations: ['46-45=1'] Exploring Operation: 7+11=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 18:[1, 18] Operation: 7+11=18 Moving to Node #0,0,0 Current State: 18:[1, 18], Operations: ['46-45=1', '7+11=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[46, 7, 11, 45], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [7, 11, 1] Generated Node #0,0: 18:[7, 11, 1] Operation: 46-45=1 Moving to Node #0,0 Current State: 18:[7, 11, 1], Operations: ['46-45=1'] Exploring Operation: 7+11=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 18:[1, 18] Operation: 7+11=18 Moving to Node #0,0,0 Current State: 18:[1, 18], Operations: ['46-45=1', '7+11=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 37, 57, 66, 81 ]
79
[ "37+57=94", "81-66=15", "94-15=79" ]
Current State: 79:[37, 57, 66, 81], Operations: [] Exploring Operation: 37+57=94, Resulting Numbers: [66, 81, 94] Generated Node #2: [66, 81, 94] from Operation: 37+57=94 Current State: 79:[66, 81, 94], Operations: ['37+57=94'] Exploring Operation: 81-66=15, Resulting Numbers: [94, 15] Generated Node #3: [94, 15] from Operation: 81-66=15 Current State: 79:[94, 15], Operations: ['37+57=94', '81-66=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[37, 57, 66, 81], Operations: [] Exploring Operation: 66-37=29, Resulting Numbers: [57, 81, 29] Generated Node #0,0: 79:[57, 81, 29] Operation: 66-37=29 Exploring Operation: 81-37=44, Resulting Numbers: [57, 66, 44] Generated Node #0,1: 79:[57, 66, 44] Operation: 81-37=44 Exploring Operation: 37+66=103, Resulting Numbers: [57, 81, 103] Generated Node #0,2: 79:[57, 81, 103] Operation: 37+66=103 Exploring Operation: 57-37=20, Resulting Numbers: [66, 81, 20] Generated Node #0,3: 79:[66, 81, 20] Operation: 57-37=20 Exploring Operation: 37+57=94, Resulting Numbers: [66, 81, 94] Generated Node #0,4: 79:[66, 81, 94] Operation: 37+57=94 Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[66, 81, 94], Operations: ['37+57=94'] Exploring Operation: 66+81=147, Resulting Numbers: [94, 147] Generated Node #0,4,0: 79:[94, 147] Operation: 66+81=147 Exploring Operation: 94-81=13, Resulting Numbers: [66, 13] Generated Node #0,4,1: 79:[66, 13] Operation: 94-81=13 Exploring Operation: 66+94=160, Resulting Numbers: [81, 160] Generated Node #0,4,2: 79:[81, 160] Operation: 66+94=160 Exploring Operation: 94-66=28, Resulting Numbers: [81, 28] Generated Node #0,4,3: 79:[81, 28] Operation: 94-66=28 Exploring Operation: 81-66=15, Resulting Numbers: [94, 15] Generated Node #0,4,4: 79:[94, 15] Operation: 81-66=15 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 79:[81, 28], Operations: ['37+57=94', '94-66=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,79 unequal: No Solution No 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: 79:[66, 13], Operations: ['37+57=94', '94-81=13'] Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[37, 57, 66, 81], Operations: [] Exploring Operation: 37+57=94, Resulting Numbers: [66, 81, 94] Generated Node #0,4: 79:[66, 81, 94] Operation: 37+57=94 Moving to Node #0,4 Current State: 79:[66, 81, 94], Operations: ['37+57=94'] Exploring Operation: 94-81=13, Resulting Numbers: [66, 13] Generated Node #0,4,1: 79:[66, 13] Operation: 94-81=13 Moving to Node #0,4,1 Current State: 79:[66, 13], Operations: ['37+57=94', '94-81=13'] Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 93, 63, 77, 26 ]
81
[ "93-63=30", "77-26=51", "30+51=81" ]
Current State: 81:[93, 63, 77, 26], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [77, 26, 30] Generated Node #2: [77, 26, 30] from Operation: 93-63=30 Current State: 81:[77, 26, 30], Operations: ['93-63=30'] Exploring Operation: 77-26=51, Resulting Numbers: [30, 51] Generated Node #3: [30, 51] from Operation: 77-26=51 Current State: 81:[30, 51], Operations: ['93-63=30', '77-26=51'] Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[93, 63, 77, 26], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [93, 77, 37] Generated Node #0,0: 81:[93, 77, 37] Operation: 63-26=37 Exploring Operation: 77-63=14, Resulting Numbers: [93, 26, 14] Generated Node #0,1: 81:[93, 26, 14] Operation: 77-63=14 Exploring Operation: 63+26=89, Resulting Numbers: [93, 77, 89] Generated Node #0,2: 81:[93, 77, 89] Operation: 63+26=89 Exploring Operation: 93-77=16, Resulting Numbers: [63, 26, 16] Generated Node #0,3: 81:[63, 26, 16] Operation: 93-77=16 Exploring Operation: 93-63=30, Resulting Numbers: [77, 26, 30] Generated Node #0,4: 81:[77, 26, 30] Operation: 93-63=30 Moving to Node #0,4 Current State: 81:[77, 26, 30], Operations: ['93-63=30'] Exploring Operation: 77+26=103, Resulting Numbers: [30, 103] Generated Node #0,4,0: 81:[30, 103] Operation: 77+26=103 Exploring Operation: 77-30=47, Resulting Numbers: [26, 47] Generated Node #0,4,1: 81:[26, 47] Operation: 77-30=47 Exploring Operation: 77-26=51, Resulting Numbers: [30, 51] Generated Node #0,4,2: 81:[30, 51] Operation: 77-26=51 Exploring Operation: 77+30=107, Resulting Numbers: [26, 107] Generated Node #0,4,3: 81:[26, 107] Operation: 77+30=107 Exploring Operation: 30-26=4, Resulting Numbers: [77, 4] Generated Node #0,4,4: 81:[77, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 81:[77, 4], Operations: ['93-63=30', '30-26=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,81 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[93, 63, 77, 26], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [77, 26, 30] Generated Node #0,4: 81:[77, 26, 30] Operation: 93-63=30 Moving to Node #0,4 Current State: 81:[77, 26, 30], Operations: ['93-63=30'] Exploring Operation: 30-26=4, Resulting Numbers: [77, 4] Generated Node #0,4,4: 81:[77, 4] Operation: 30-26=4 Moving to Node #0,4,4 Current State: 81:[77, 4], Operations: ['93-63=30', '30-26=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 56, 19, 82, 15 ]
68
[ "19-15=4", "56/4=14", "82-14=68" ]
Current State: 68:[56, 19, 82, 15], Operations: [] Exploring Operation: 19-15=4, Resulting Numbers: [56, 82, 4] Generated Node #2: [56, 82, 4] from Operation: 19-15=4 Current State: 68:[56, 82, 4], Operations: ['19-15=4'] Exploring Operation: 56/4=14, Resulting Numbers: [82, 14] Generated Node #3: [82, 14] from Operation: 56/4=14 Current State: 68:[82, 14], Operations: ['19-15=4', '56/4=14'] Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[56, 19, 82, 15], Operations: [] Exploring Operation: 56+15=71, Resulting Numbers: [19, 82, 71] Generated Node #0,0: 68:[19, 82, 71] Operation: 56+15=71 Exploring Operation: 82-56=26, Resulting Numbers: [19, 15, 26] Generated Node #0,1: 68:[19, 15, 26] Operation: 82-56=26 Exploring Operation: 56-19=37, Resulting Numbers: [82, 15, 37] Generated Node #0,2: 68:[82, 15, 37] Operation: 56-19=37 Exploring Operation: 82-15=67, Resulting Numbers: [56, 19, 67] Generated Node #0,3: 68:[56, 19, 67] Operation: 82-15=67 Moving to Node #0,1 Current State: 68:[19, 15, 26], Operations: ['82-56=26'] Exploring Operation: 19+15=34, Resulting Numbers: [26, 34] Generated Node #0,1,0: 68:[26, 34] Operation: 19+15=34 Exploring Operation: 19-15=4, Resulting Numbers: [26, 4] Generated Node #0,1,1: 68:[26, 4] Operation: 19-15=4 Exploring Operation: 26-19=7, Resulting Numbers: [15, 7] Generated Node #0,1,2: 68:[15, 7] Operation: 26-19=7 Exploring Operation: 26-15=11, Resulting Numbers: [19, 11] Generated Node #0,1,3: 68:[19, 11] Operation: 26-15=11 Moving to Node #0,3 Current State: 68:[56, 19, 67], Operations: ['82-15=67'] Exploring Operation: 56+19=75, Resulting Numbers: [67, 75] Generated Node #0,3,0: 68:[67, 75] Operation: 56+19=75 Exploring Operation: 56-19=37, Resulting Numbers: [67, 37] Generated Node #0,3,1: 68:[67, 37] Operation: 56-19=37 Exploring Operation: 67-19=48, Resulting Numbers: [56, 48] Generated Node #0,3,2: 68:[56, 48] Operation: 67-19=48 Exploring Operation: 67-56=11, Resulting Numbers: [19, 11] Generated Node #0,3,3: 68:[19, 11] Operation: 67-56=11 Moving to Node #0,2 Current State: 68:[82, 15, 37], Operations: ['56-19=37'] Exploring Operation: 15+37=52, Resulting Numbers: [82, 52] Generated Node #0,2,0: 68:[82, 52] Operation: 15+37=52 Exploring Operation: 82-37=45, Resulting Numbers: [15, 45] Generated Node #0,2,1: 68:[15, 45] Operation: 82-37=45 Exploring Operation: 37-15=22, Resulting Numbers: [82, 22] Generated Node #0,2,2: 68:[82, 22] Operation: 37-15=22 Exploring Operation: 82-15=67, Resulting Numbers: [37, 67] Generated Node #0,2,3: 68:[37, 67] Operation: 82-15=67 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[37, 67], Operations: ['56-19=37', '82-15=67'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,68 unequal: No Solution Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,68 unequal: No Solution No 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: 68:[15, 45], Operations: ['56-19=37', '82-37=45'] Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,68 unequal: No Solution No 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: 68:[82, 22], Operations: ['56-19=37', '37-15=22'] Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,68 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,68 unequal: No Solution No 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: 68:[82, 52], Operations: ['56-19=37', '15+37=52'] Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,68 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,68 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: 68:[19, 82, 71], Operations: ['56+15=71'] Exploring Operation: 82-71=11, Resulting Numbers: [19, 11] Generated Node #0,0,0: 68:[19, 11] Operation: 82-71=11 Exploring Operation: 71-19=52, Resulting Numbers: [82, 52] Generated Node #0,0,1: 68:[82, 52] Operation: 71-19=52 Exploring Operation: 19+82=101, Resulting Numbers: [71, 101] Generated Node #0,0,2: 68:[71, 101] Operation: 19+82=101 Exploring Operation: 82-19=63, Resulting Numbers: [71, 63] Generated Node #0,0,3: 68:[71, 63] Operation: 82-19=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[19, 11], Operations: ['56+15=71', '82-71=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,68 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,68 unequal: No Solution No 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: 68:[71, 63], Operations: ['56+15=71', '82-19=63'] Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 71+63=134, Resulting Numbers: [134] 134,68 unequal: No Solution Exploring Operation: 71*63=4473, Resulting Numbers: [4473] 4473,68 unequal: No Solution No 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: 68:[82, 52], Operations: ['56+15=71', '71-19=52'] Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,68 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,68 unequal: No Solution No 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: 68:[71, 101], Operations: ['56+15=71', '19+82=101'] Exploring Operation: 71*101=7171, Resulting Numbers: [7171] 7171,68 unequal: No Solution Exploring Operation: 101-71=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 71+101=172, Resulting Numbers: [172] 172,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 68:[67, 37], Operations: ['82-15=67', '56-19=37'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,68 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[15, 7], Operations: ['82-56=26', '26-19=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,68 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[26, 4], Operations: ['82-56=26', '19-15=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[67, 75], Operations: ['82-15=67', '56+19=75'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,68 unequal: No Solution Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[19, 11], Operations: ['82-15=67', '67-56=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,68 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[26, 34], Operations: ['82-56=26', '19+15=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,68 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[19, 11], Operations: ['82-56=26', '26-15=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,68 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[56, 48], Operations: ['82-15=67', '67-19=48'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,68 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,68 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 18, 53, 70, 91 ]
93
[ "53-18=35", "70/35=2", "91+2=93" ]
Current State: 93:[18, 53, 70, 91], Operations: [] Exploring Operation: 53-18=35, Resulting Numbers: [70, 91, 35] Generated Node #2: [70, 91, 35] from Operation: 53-18=35 Current State: 93:[70, 91, 35], Operations: ['53-18=35'] Exploring Operation: 70/35=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 70/35=2 Current State: 93:[91, 2], Operations: ['53-18=35', '70/35=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[18, 53, 70, 91], Operations: [] Exploring Operation: 18+70=88, Resulting Numbers: [53, 91, 88] Generated Node #0,0: 93:[53, 91, 88] Operation: 18+70=88 Exploring Operation: 53-18=35, Resulting Numbers: [70, 91, 35] Generated Node #0,1: 93:[70, 91, 35] Operation: 53-18=35 Exploring Operation: 70-53=17, Resulting Numbers: [18, 91, 17] Generated Node #0,2: 93:[18, 91, 17] Operation: 70-53=17 Moving to Node #0,0 Current State: 93:[53, 91, 88], Operations: ['18+70=88'] Exploring Operation: 88-53=35, Resulting Numbers: [91, 35] Generated Node #0,0,0: 93:[91, 35] Operation: 88-53=35 Exploring Operation: 91-88=3, Resulting Numbers: [53, 3] Generated Node #0,0,1: 93:[53, 3] Operation: 91-88=3 Exploring Operation: 91-53=38, Resulting Numbers: [88, 38] Generated Node #0,0,2: 93:[88, 38] Operation: 91-53=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[91, 35], Operations: ['18+70=88', '88-53=35'] Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,93 unequal: No Solution Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,93 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[88, 38], Operations: ['18+70=88', '91-53=38'] Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,93 unequal: No Solution Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,93 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[53, 3], Operations: ['18+70=88', '91-88=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,93 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 93:[70, 91, 35], Operations: ['53-18=35'] Exploring Operation: 70/35=2, Resulting Numbers: [91, 2] Generated Node #0,1,0: 93:[91, 2] Operation: 70/35=2 Exploring Operation: 91-70=21, Resulting Numbers: [35, 21] Generated Node #0,1,1: 93:[35, 21] Operation: 91-70=21 Exploring Operation: 70-35=35, Resulting Numbers: [91, 35] Generated Node #0,1,2: 93:[91, 35] Operation: 70-35=35 Moving to Node #0,2 Current State: 93:[18, 91, 17], Operations: ['70-53=17'] Exploring Operation: 91+17=108, Resulting Numbers: [18, 108] Generated Node #0,2,0: 93:[18, 108] Operation: 91+17=108 Exploring Operation: 18-17=1, Resulting Numbers: [91, 1] Generated Node #0,2,1: 93:[91, 1] Operation: 18-17=1 Exploring Operation: 18+17=35, Resulting Numbers: [91, 35] Generated Node #0,2,2: 93:[91, 35] Operation: 18+17=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[91, 1], Operations: ['70-53=17', '18-17=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[91, 35], Operations: ['70-53=17', '18+17=35'] Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,93 unequal: No Solution Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[18, 108], Operations: ['70-53=17', '91+17=108'] Exploring Operation: 18+108=126, Resulting Numbers: [126] 126,93 unequal: No Solution Exploring Operation: 108/18=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 108-18=90, Resulting Numbers: [90] 90,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 93:[91, 2], Operations: ['53-18=35', '70/35=2'] Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,93 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[18, 53, 70, 91], Operations: [] Exploring Operation: 53-18=35, Resulting Numbers: [70, 91, 35] Generated Node #0,1: 93:[70, 91, 35] Operation: 53-18=35 Moving to Node #0,1 Current State: 93:[70, 91, 35], Operations: ['53-18=35'] Exploring Operation: 70/35=2, Resulting Numbers: [91, 2] Generated Node #0,1,0: 93:[91, 2] Operation: 70/35=2 Moving to Node #0,1,0 Current State: 93:[91, 2], Operations: ['53-18=35', '70/35=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 60, 2, 14, 79 ]
69
[ "60+14=74", "2*74=148", "148-79=69" ]
Current State: 69:[60, 2, 14, 79], Operations: [] Exploring Operation: 60+14=74, Resulting Numbers: [2, 79, 74] Generated Node #2: [2, 79, 74] from Operation: 60+14=74 Current State: 69:[2, 79, 74], Operations: ['60+14=74'] Exploring Operation: 2*74=148, Resulting Numbers: [79, 148] Generated Node #3: [79, 148] from Operation: 2*74=148 Current State: 69:[79, 148], Operations: ['60+14=74', '2*74=148'] Exploring Operation: 148-79=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[60, 2, 14, 79], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [60, 2, 65] Generated Node #0,0: 69:[60, 2, 65] Operation: 79-14=65 Exploring Operation: 79-60=19, Resulting Numbers: [2, 14, 19] Generated Node #0,1: 69:[2, 14, 19] Operation: 79-60=19 Moving to Node #0,0 Current State: 69:[60, 2, 65], Operations: ['79-14=65'] Exploring Operation: 60+2=62, Resulting Numbers: [65, 62] Generated Node #0,0,0: 69:[65, 62] Operation: 60+2=62 Exploring Operation: 65-60=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 69:[2, 5] Operation: 65-60=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[2, 5], Operations: ['79-14=65', '65-60=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[65, 62], Operations: ['79-14=65', '60+2=62'] Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,69 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 69:[2, 14, 19], Operations: ['79-60=19'] Exploring Operation: 19-14=5, Resulting Numbers: [2, 5] Generated Node #0,1,0: 69:[2, 5] Operation: 19-14=5 Exploring Operation: 14/2=7, Resulting Numbers: [19, 7] Generated Node #0,1,1: 69:[19, 7] Operation: 14/2=7 Moving to Node #0,1,0 Current State: 69:[2, 5], Operations: ['79-60=19', '19-14=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[19, 7], Operations: ['79-60=19', '14/2=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 11, 25, 13, 29 ]
21
[ "13-11=2", "25*2=50", "50-29=21" ]
Current State: 21:[11, 25, 13, 29], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [25, 29, 2] Generated Node #2: [25, 29, 2] from Operation: 13-11=2 Current State: 21:[25, 29, 2], Operations: ['13-11=2'] Exploring Operation: 25*2=50, Resulting Numbers: [29, 50] Generated Node #3: [29, 50] from Operation: 25*2=50 Current State: 21:[29, 50], Operations: ['13-11=2', '25*2=50'] Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[11, 25, 13, 29], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [11, 13, 4] Generated Node #0,0: 21:[11, 13, 4] Operation: 29-25=4 Exploring Operation: 13-11=2, Resulting Numbers: [25, 29, 2] Generated Node #0,1: 21:[25, 29, 2] Operation: 13-11=2 Exploring Operation: 29-13=16, Resulting Numbers: [11, 25, 16] Generated Node #0,2: 21:[11, 25, 16] Operation: 29-13=16 Exploring Operation: 29-11=18, Resulting Numbers: [25, 13, 18] Generated Node #0,3: 21:[25, 13, 18] Operation: 29-11=18 Exploring Operation: 11+13=24, Resulting Numbers: [25, 29, 24] Generated Node #0,4: 21:[25, 29, 24] Operation: 11+13=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[11, 13, 4], Operations: ['29-25=4'] Exploring Operation: 11-4=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 21:[13, 7] Operation: 11-4=7 Exploring Operation: 11+13=24, Resulting Numbers: [4, 24] Generated Node #0,0,1: 21:[4, 24] Operation: 11+13=24 Exploring Operation: 13-4=9, Resulting Numbers: [11, 9] Generated Node #0,0,2: 21:[11, 9] Operation: 13-4=9 Exploring Operation: 13+4=17, Resulting Numbers: [11, 17] Generated Node #0,0,3: 21:[11, 17] Operation: 13+4=17 Exploring Operation: 13-11=2, Resulting Numbers: [4, 2] Generated Node #0,0,4: 21:[4, 2] Operation: 13-11=2 Moving to Node #0,0,4 Current State: 21:[4, 2], Operations: ['29-25=4', '13-11=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[4, 24], Operations: ['29-25=4', '11+13=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,21 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[13, 7], Operations: ['29-25=4', '11-4=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,21 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[11, 9], Operations: ['29-25=4', '13-4=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[11, 17], Operations: ['29-25=4', '13+4=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,21 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[25, 29, 2], Operations: ['13-11=2'] Exploring Operation: 25-2=23, Resulting Numbers: [29, 23] Generated Node #0,1,0: 21:[29, 23] Operation: 25-2=23 Exploring Operation: 29-25=4, Resulting Numbers: [2, 4] Generated Node #0,1,1: 21:[2, 4] Operation: 29-25=4 Exploring Operation: 29-2=27, Resulting Numbers: [25, 27] Generated Node #0,1,2: 21:[25, 27] Operation: 29-2=27 Exploring Operation: 29+2=31, Resulting Numbers: [25, 31] Generated Node #0,1,3: 21:[25, 31] Operation: 29+2=31 Exploring Operation: 25+2=27, Resulting Numbers: [29, 27] Generated Node #0,1,4: 21:[29, 27] Operation: 25+2=27 Moving to Node #0,1,1 Current State: 21:[2, 4], Operations: ['13-11=2', '29-25=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[25, 27], Operations: ['13-11=2', '29-2=27'] Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,21 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[29, 23], Operations: ['13-11=2', '25-2=23'] Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,21 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[25, 31], Operations: ['13-11=2', '29+2=31'] Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,21 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[29, 27], Operations: ['13-11=2', '25+2=27'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 29*27=783, Resulting Numbers: [783] 783,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,2 Current State: 21:[11, 25, 16], Operations: ['29-13=16'] Exploring Operation: 11+16=27, Resulting Numbers: [25, 27] Generated Node #0,2,0: 21:[25, 27] Operation: 11+16=27 Exploring Operation: 11+25=36, Resulting Numbers: [16, 36] Generated Node #0,2,1: 21:[16, 36] Operation: 11+25=36 Exploring Operation: 25-11=14, Resulting Numbers: [16, 14] Generated Node #0,2,2: 21:[16, 14] Operation: 25-11=14 Exploring Operation: 16-11=5, Resulting Numbers: [25, 5] Generated Node #0,2,3: 21:[25, 5] Operation: 16-11=5 Exploring Operation: 25-16=9, Resulting Numbers: [11, 9] Generated Node #0,2,4: 21:[11, 9] Operation: 25-16=9 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[25, 5], Operations: ['29-13=16', '16-11=5'] Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,21 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,21 unequal: No Solution No 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: 21:[11, 9], Operations: ['29-13=16', '25-16=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,21 unequal: No Solution No 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: 21:[25, 27], Operations: ['29-13=16', '11+16=27'] Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,21 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,21 unequal: No Solution No 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: 21:[16, 14], Operations: ['29-13=16', '25-11=14'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,21 unequal: No Solution Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,21 unequal: No Solution No 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: 21:[16, 36], Operations: ['29-13=16', '11+25=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,21 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,21 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: 21:[25, 13, 18], Operations: ['29-11=18'] Exploring Operation: 25-13=12, Resulting Numbers: [18, 12] Generated Node #0,3,0: 21:[18, 12] Operation: 25-13=12 Exploring Operation: 18-13=5, Resulting Numbers: [25, 5] Generated Node #0,3,1: 21:[25, 5] Operation: 18-13=5 Exploring Operation: 13+18=31, Resulting Numbers: [25, 31] Generated Node #0,3,2: 21:[25, 31] Operation: 13+18=31 Exploring Operation: 25+13=38, Resulting Numbers: [18, 38] Generated Node #0,3,3: 21:[18, 38] Operation: 25+13=38 Exploring Operation: 25-18=7, Resulting Numbers: [13, 7] Generated Node #0,3,4: 21:[13, 7] Operation: 25-18=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 21:[25, 5], Operations: ['29-11=18', '18-13=5'] Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,21 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,21 unequal: No Solution No 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: 21:[13, 7], Operations: ['29-11=18', '25-18=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,21 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,21 unequal: No Solution No 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: 21:[18, 12], Operations: ['29-11=18', '25-13=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,21 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,21 unequal: No Solution No 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: 21:[25, 31], Operations: ['29-11=18', '13+18=31'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,21 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,21 unequal: No Solution No 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: 21:[18, 38], Operations: ['29-11=18', '25+13=38'] Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,21 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,21 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: 21:[25, 29, 24], Operations: ['11+13=24'] Exploring Operation: 29-24=5, Resulting Numbers: [25, 5] Generated Node #0,4,0: 21:[25, 5] Operation: 29-24=5 Exploring Operation: 25-24=1, Resulting Numbers: [29, 1] Generated Node #0,4,1: 21:[29, 1] Operation: 25-24=1 Exploring Operation: 25+24=49, Resulting Numbers: [29, 49] Generated Node #0,4,2: 21:[29, 49] Operation: 25+24=49 Exploring Operation: 25+29=54, Resulting Numbers: [24, 54] Generated Node #0,4,3: 21:[24, 54] Operation: 25+29=54 Exploring Operation: 29-25=4, Resulting Numbers: [24, 4] Generated Node #0,4,4: 21:[24, 4] Operation: 29-25=4 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 21:[24, 4], Operations: ['11+13=24', '29-25=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,21 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,21 unequal: No Solution No 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: 21:[25, 5], Operations: ['11+13=24', '29-24=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,21 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,21 unequal: No Solution No 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: 21:[29, 1], Operations: ['11+13=24', '25-24=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,21 unequal: No Solution No 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: 21:[29, 49], Operations: ['11+13=24', '25+24=49'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 29*49=1421, Resulting Numbers: [1421] 1421,21 unequal: No Solution No 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: 21:[24, 54], Operations: ['11+13=24', '25+29=54'] Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,21 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
[ 68, 55, 78, 66 ]
25
[ "68-55=13", "78-66=12", "13+12=25" ]
Current State: 25:[68, 55, 78, 66], Operations: [] Exploring Operation: 68-55=13, Resulting Numbers: [78, 66, 13] Generated Node #2: [78, 66, 13] from Operation: 68-55=13 Current State: 25:[78, 66, 13], Operations: ['68-55=13'] Exploring Operation: 78-66=12, Resulting Numbers: [13, 12] Generated Node #3: [13, 12] from Operation: 78-66=12 Current State: 25:[13, 12], Operations: ['68-55=13', '78-66=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[68, 55, 78, 66], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [55, 66, 10] Generated Node #0,0: 25:[55, 66, 10] Operation: 78-68=10 Exploring Operation: 68-66=2, Resulting Numbers: [55, 78, 2] Generated Node #0,1: 25:[55, 78, 2] Operation: 68-66=2 Exploring Operation: 78-66=12, Resulting Numbers: [68, 55, 12] Generated Node #0,2: 25:[68, 55, 12] Operation: 78-66=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[55, 66, 10], Operations: ['78-68=10'] Exploring Operation: 55-10=45, Resulting Numbers: [66, 45] Generated Node #0,0,0: 25:[66, 45] Operation: 55-10=45 Exploring Operation: 66-10=56, Resulting Numbers: [55, 56] Generated Node #0,0,1: 25:[55, 56] Operation: 66-10=56 Exploring Operation: 66-55=11, Resulting Numbers: [10, 11] Generated Node #0,0,2: 25:[10, 11] Operation: 66-55=11 Moving to Node #0,0,2 Current State: 25:[10, 11], Operations: ['78-68=10', '66-55=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,25 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[66, 45], Operations: ['78-68=10', '55-10=45'] Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[55, 56], Operations: ['78-68=10', '66-10=56'] Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,25 unequal: No Solution No 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: 25:[68, 55, 12], Operations: ['78-66=12'] Exploring Operation: 55-12=43, Resulting Numbers: [68, 43] Generated Node #0,2,0: 25:[68, 43] Operation: 55-12=43 Exploring Operation: 68-55=13, Resulting Numbers: [12, 13] Generated Node #0,2,1: 25:[12, 13] Operation: 68-55=13 Exploring Operation: 68-12=56, Resulting Numbers: [55, 56] Generated Node #0,2,2: 25:[55, 56] Operation: 68-12=56 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[12, 13], Operations: ['78-66=12', '68-55=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,25 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[68, 55, 78, 66], Operations: [] Exploring Operation: 78-66=12, Resulting Numbers: [68, 55, 12] Generated Node #0,2: 25:[68, 55, 12] Operation: 78-66=12 Moving to Node #0,2 Current State: 25:[68, 55, 12], Operations: ['78-66=12'] Exploring Operation: 68-55=13, Resulting Numbers: [12, 13] Generated Node #0,2,1: 25:[12, 13] Operation: 68-55=13 Moving to Node #0,2,1 Current State: 25:[12, 13], Operations: ['78-66=12', '68-55=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 2, 60, 53, 44 ]
53
[ "2+60=62", "53-44=9", "62-9=53" ]
Current State: 53:[2, 60, 53, 44], Operations: [] Exploring Operation: 2+60=62, Resulting Numbers: [53, 44, 62] Generated Node #2: [53, 44, 62] from Operation: 2+60=62 Current State: 53:[53, 44, 62], Operations: ['2+60=62'] Exploring Operation: 53-44=9, Resulting Numbers: [62, 9] Generated Node #3: [62, 9] from Operation: 53-44=9 Current State: 53:[62, 9], Operations: ['2+60=62', '53-44=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 60, 53, 44], Operations: [] Exploring Operation: 2+44=46, Resulting Numbers: [60, 53, 46] Generated Node #0,0: 53:[60, 53, 46] Operation: 2+44=46 Exploring Operation: 60-2=58, Resulting Numbers: [53, 44, 58] Generated Node #0,1: 53:[53, 44, 58] Operation: 60-2=58 Moving to Node #0,0 Current State: 53:[60, 53, 46], Operations: ['2+44=46'] Exploring Operation: 60-46=14, Resulting Numbers: [53, 14] Generated Node #0,0,0: 53:[53, 14] Operation: 60-46=14 Exploring Operation: 60-53=7, Resulting Numbers: [46, 7] Generated Node #0,0,1: 53:[46, 7] Operation: 60-53=7 Moving to Node #0,1 Current State: 53:[53, 44, 58], Operations: ['60-2=58'] Exploring Operation: 53+44=97, Resulting Numbers: [58, 97] Generated Node #0,1,0: 53:[58, 97] Operation: 53+44=97 Exploring Operation: 58-44=14, Resulting Numbers: [53, 14] Generated Node #0,1,1: 53:[53, 14] Operation: 58-44=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[53, 14], Operations: ['60-2=58', '58-44=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,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,0 Current State: 53:[58, 97], Operations: ['60-2=58', '53+44=97'] Exploring Operation: 58+97=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,53 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: 53:[53, 14], Operations: ['2+44=46', '60-46=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[46, 7], Operations: ['2+44=46', '60-53=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[2, 60, 53, 44], Operations: [] Exploring Operation: 2+44=46, Resulting Numbers: [60, 53, 46] Generated Node #0,0: 53:[60, 53, 46] Operation: 2+44=46 Moving to Node #0,0 Current State: 53:[60, 53, 46], Operations: ['2+44=46'] Exploring Operation: 60-53=7, Resulting Numbers: [46, 7] Generated Node #0,0,1: 53:[46, 7] Operation: 60-53=7 Moving to Node #0,0,1 Current State: 53:[46, 7], Operations: ['2+44=46', '60-53=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 39, 15, 31, 78 ]
13
[ "39*31=1209", "15+78=93", "1209/93=13" ]
Current State: 13:[39, 15, 31, 78], Operations: [] Exploring Operation: 39*31=1209, Resulting Numbers: [15, 78, 1209] Generated Node #2: [15, 78, 1209] from Operation: 39*31=1209 Current State: 13:[15, 78, 1209], Operations: ['39*31=1209'] Exploring Operation: 15+78=93, Resulting Numbers: [1209, 93] Generated Node #3: [1209, 93] from Operation: 15+78=93 Current State: 13:[1209, 93], Operations: ['39*31=1209', '15+78=93'] Exploring Operation: 1209/93=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[39, 15, 31, 78], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [15, 31, 2] Generated Node #0,0: 13:[15, 31, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [15, 31, 39] Generated Node #0,1: 13:[15, 31, 39] Operation: 78-39=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[15, 31, 2], Operations: ['78/39=2'] Exploring Operation: 31-15=16, Resulting Numbers: [2, 16] Generated Node #0,0,0: 13:[2, 16] Operation: 31-15=16 Exploring Operation: 15-2=13, Resulting Numbers: [31, 13] Generated Node #0,0,1: 13:[31, 13] Operation: 15-2=13 Moving to Node #0,0,0 Current State: 13:[2, 16], Operations: ['78/39=2', '31-15=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[31, 13], Operations: ['78/39=2', '15-2=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[15, 31, 39], Operations: ['78-39=39'] Exploring Operation: 31-15=16, Resulting Numbers: [39, 16] Generated Node #0,1,0: 13:[39, 16] Operation: 31-15=16 Exploring Operation: 39-31=8, Resulting Numbers: [15, 8] Generated Node #0,1,1: 13:[15, 8] Operation: 39-31=8 Moving to Node #0,1,1 Current State: 13:[15, 8], Operations: ['78-39=39', '39-31=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[39, 16], Operations: ['78-39=39', '31-15=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,13 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
[ 66, 75, 86, 4 ]
50
[ "75-66=9", "4*9=36", "86-36=50" ]
Current State: 50:[66, 75, 86, 4], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [86, 4, 9] Generated Node #2: [86, 4, 9] from Operation: 75-66=9 Current State: 50:[86, 4, 9], Operations: ['75-66=9'] Exploring Operation: 4*9=36, Resulting Numbers: [86, 36] Generated Node #3: [86, 36] from Operation: 4*9=36 Current State: 50:[86, 36], Operations: ['75-66=9', '4*9=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[66, 75, 86, 4], Operations: [] Exploring Operation: 66-4=62, Resulting Numbers: [75, 86, 62] Generated Node #0,0: 50:[75, 86, 62] Operation: 66-4=62 Exploring Operation: 75-66=9, Resulting Numbers: [86, 4, 9] Generated Node #0,1: 50:[86, 4, 9] Operation: 75-66=9 Exploring Operation: 86-66=20, Resulting Numbers: [75, 4, 20] Generated Node #0,2: 50:[75, 4, 20] Operation: 86-66=20 Exploring Operation: 86-75=11, Resulting Numbers: [66, 4, 11] Generated Node #0,3: 50:[66, 4, 11] Operation: 86-75=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[66, 4, 11], Operations: ['86-75=11'] Exploring Operation: 66-11=55, Resulting Numbers: [4, 55] Generated Node #0,3,0: 50:[4, 55] Operation: 66-11=55 Exploring Operation: 11-4=7, Resulting Numbers: [66, 7] Generated Node #0,3,1: 50:[66, 7] Operation: 11-4=7 Exploring Operation: 66-4=62, Resulting Numbers: [11, 62] Generated Node #0,3,2: 50:[11, 62] Operation: 66-4=62 Exploring Operation: 66/11=6, Resulting Numbers: [4, 6] Generated Node #0,3,3: 50:[4, 6] Operation: 66/11=6 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[4, 6], Operations: ['86-75=11', '66/11=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,50 unequal: No Solution No 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: 50:[4, 55], Operations: ['86-75=11', '66-11=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,50 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,50 unequal: No Solution No 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: 50:[11, 62], Operations: ['86-75=11', '66-4=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,50 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,50 unequal: No Solution No 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: 50:[66, 7], Operations: ['86-75=11', '11-4=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,50 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,50 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: 50:[75, 4, 20], Operations: ['86-66=20'] Exploring Operation: 75-4=71, Resulting Numbers: [20, 71] Generated Node #0,2,0: 50:[20, 71] Operation: 75-4=71 Exploring Operation: 20/4=5, Resulting Numbers: [75, 5] Generated Node #0,2,1: 50:[75, 5] Operation: 20/4=5 Exploring Operation: 4+20=24, Resulting Numbers: [75, 24] Generated Node #0,2,2: 50:[75, 24] Operation: 4+20=24 Exploring Operation: 75-20=55, Resulting Numbers: [4, 55] Generated Node #0,2,3: 50:[4, 55] Operation: 75-20=55 Moving to Node #0,2,3 Current State: 50:[4, 55], Operations: ['86-66=20', '75-20=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,50 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[75, 5], Operations: ['86-66=20', '20/4=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,50 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[75, 24], Operations: ['86-66=20', '4+20=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[20, 71], Operations: ['86-66=20', '75-4=71'] Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 20*71=1420, Resulting Numbers: [1420] 1420,50 unequal: No Solution Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[86, 4, 9], Operations: ['75-66=9'] Exploring Operation: 86-4=82, Resulting Numbers: [9, 82] Generated Node #0,1,0: 50:[9, 82] Operation: 86-4=82 Exploring Operation: 4+9=13, Resulting Numbers: [86, 13] Generated Node #0,1,1: 50:[86, 13] Operation: 4+9=13 Exploring Operation: 9-4=5, Resulting Numbers: [86, 5] Generated Node #0,1,2: 50:[86, 5] Operation: 9-4=5 Exploring Operation: 86-9=77, Resulting Numbers: [4, 77] Generated Node #0,1,3: 50:[4, 77] Operation: 86-9=77 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 50:[4, 77], Operations: ['75-66=9', '86-9=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,50 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,50 unequal: No Solution No 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: 50:[9, 82], Operations: ['75-66=9', '86-4=82'] Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,50 unequal: No Solution No 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: 50:[86, 5], Operations: ['75-66=9', '9-4=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,50 unequal: No Solution No 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: 50:[86, 13], Operations: ['75-66=9', '4+9=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,50 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: 50:[75, 86, 62], Operations: ['66-4=62'] Exploring Operation: 75+86=161, Resulting Numbers: [62, 161] Generated Node #0,0,0: 50:[62, 161] Operation: 75+86=161 Exploring Operation: 75-62=13, Resulting Numbers: [86, 13] Generated Node #0,0,1: 50:[86, 13] Operation: 75-62=13 Exploring Operation: 86-75=11, Resulting Numbers: [62, 11] Generated Node #0,0,2: 50:[62, 11] Operation: 86-75=11 Exploring Operation: 86-62=24, Resulting Numbers: [75, 24] Generated Node #0,0,3: 50:[75, 24] Operation: 86-62=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 50:[62, 11], Operations: ['66-4=62', '86-75=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,50 unequal: No Solution No 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: 50:[75, 24], Operations: ['66-4=62', '86-62=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,50 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,50 unequal: No Solution No 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: 50:[86, 13], Operations: ['66-4=62', '75-62=13'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,50 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,50 unequal: No Solution No 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: 50:[62, 161], Operations: ['66-4=62', '75+86=161'] Exploring Operation: 161-62=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 62*161=9982, Resulting Numbers: [9982] 9982,50 unequal: No Solution Exploring Operation: 62+161=223, Resulting Numbers: [223] 223,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 86, 1, 99, 42 ]
55
[ "86*1=86", "99+42=141", "141-86=55" ]
Current State: 55:[86, 1, 99, 42], Operations: [] Exploring Operation: 86*1=86, Resulting Numbers: [99, 42, 86] Generated Node #2: [99, 42, 86] from Operation: 86*1=86 Current State: 55:[99, 42, 86], Operations: ['86*1=86'] Exploring Operation: 99+42=141, Resulting Numbers: [86, 141] Generated Node #3: [86, 141] from Operation: 99+42=141 Current State: 55:[86, 141], Operations: ['86*1=86', '99+42=141'] Exploring Operation: 141-86=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[86, 1, 99, 42], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [86, 1, 57] Generated Node #0,0: 55:[86, 1, 57] Operation: 99-42=57 Exploring Operation: 99-86=13, Resulting Numbers: [1, 42, 13] Generated Node #0,1: 55:[1, 42, 13] Operation: 99-86=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[1, 42, 13], Operations: ['99-86=13'] Exploring Operation: 42+13=55, Resulting Numbers: [1, 55] Generated Node #0,1,0: 55:[1, 55] Operation: 42+13=55 Exploring Operation: 1+42=43, Resulting Numbers: [13, 43] Generated Node #0,1,1: 55:[13, 43] Operation: 1+42=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[1, 55], Operations: ['99-86=13', '42+13=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[86, 1, 99, 42], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [1, 42, 13] Generated Node #0,1: 55:[1, 42, 13] Operation: 99-86=13 Moving to Node #0,1 Current State: 55:[1, 42, 13], Operations: ['99-86=13'] Exploring Operation: 42+13=55, Resulting Numbers: [1, 55] Generated Node #0,1,0: 55:[1, 55] Operation: 42+13=55 Moving to Node #0,1,0 Current State: 55:[1, 55], Operations: ['99-86=13', '42+13=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 18, 58, 13, 89 ]
62
[ "58-18=40", "13+89=102", "102-40=62" ]
Current State: 62:[18, 58, 13, 89], Operations: [] Exploring Operation: 58-18=40, Resulting Numbers: [13, 89, 40] Generated Node #2: [13, 89, 40] from Operation: 58-18=40 Current State: 62:[13, 89, 40], Operations: ['58-18=40'] Exploring Operation: 13+89=102, Resulting Numbers: [40, 102] Generated Node #3: [40, 102] from Operation: 13+89=102 Current State: 62:[40, 102], Operations: ['58-18=40', '13+89=102'] Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[18, 58, 13, 89], Operations: [] Exploring Operation: 18+13=31, Resulting Numbers: [58, 89, 31] Generated Node #0,0: 62:[58, 89, 31] Operation: 18+13=31 Exploring Operation: 89-18=71, Resulting Numbers: [58, 13, 71] Generated Node #0,1: 62:[58, 13, 71] Operation: 89-18=71 Exploring Operation: 89-13=76, Resulting Numbers: [18, 58, 76] Generated Node #0,2: 62:[18, 58, 76] Operation: 89-13=76 Exploring Operation: 89-58=31, Resulting Numbers: [18, 13, 31] Generated Node #0,3: 62:[18, 13, 31] Operation: 89-58=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[58, 13, 71], Operations: ['89-18=71'] Exploring Operation: 71-58=13, Resulting Numbers: [13, 13] Generated Node #0,1,0: 62:[13, 13] Operation: 71-58=13 Exploring Operation: 58-13=45, Resulting Numbers: [71, 45] Generated Node #0,1,1: 62:[71, 45] Operation: 58-13=45 Exploring Operation: 58+13=71, Resulting Numbers: [71, 71] Generated Node #0,1,2: 62:[71, 71] Operation: 58+13=71 Exploring Operation: 71-13=58, Resulting Numbers: [58, 58] Generated Node #0,1,3: 62:[58, 58] Operation: 71-13=58 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[58, 58], Operations: ['89-18=71', '71-13=58'] Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,62 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[71, 71], Operations: ['89-18=71', '58+13=71'] Exploring Operation: 71-71=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 71*71=5041, Resulting Numbers: [5041] 5041,62 unequal: No Solution Exploring Operation: 71+71=142, Resulting Numbers: [142] 142,62 unequal: No Solution Exploring Operation: 71/71=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[13, 13], Operations: ['89-18=71', '71-58=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[71, 45], Operations: ['89-18=71', '58-13=45'] Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,62 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[18, 13, 31], Operations: ['89-58=31'] Exploring Operation: 31-18=13, Resulting Numbers: [13, 13] Generated Node #0,3,0: 62:[13, 13] Operation: 31-18=13 Exploring Operation: 18+13=31, Resulting Numbers: [31, 31] Generated Node #0,3,1: 62:[31, 31] Operation: 18+13=31 Exploring Operation: 18+31=49, Resulting Numbers: [13, 49] Generated Node #0,3,2: 62:[13, 49] Operation: 18+31=49 Exploring Operation: 18-13=5, Resulting Numbers: [31, 5] Generated Node #0,3,3: 62:[31, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[31, 31], Operations: ['89-58=31', '18+13=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,62 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[18, 58, 13, 89], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [18, 13, 31] Generated Node #0,3: 62:[18, 13, 31] Operation: 89-58=31 Moving to Node #0,3 Current State: 62:[18, 13, 31], Operations: ['89-58=31'] Exploring Operation: 18+13=31, Resulting Numbers: [31, 31] Generated Node #0,3,1: 62:[31, 31] Operation: 18+13=31 Moving to Node #0,3,1 Current State: 62:[31, 31], Operations: ['89-58=31', '18+13=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 71, 54, 32, 47 ]
62
[ "71-54=17", "32+47=79", "79-17=62" ]
Current State: 62:[71, 54, 32, 47], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [32, 47, 17] Generated Node #2: [32, 47, 17] from Operation: 71-54=17 Current State: 62:[32, 47, 17], Operations: ['71-54=17'] Exploring Operation: 32+47=79, Resulting Numbers: [17, 79] Generated Node #3: [17, 79] from Operation: 32+47=79 Current State: 62:[17, 79], Operations: ['71-54=17', '32+47=79'] Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[71, 54, 32, 47], Operations: [] Exploring Operation: 71-47=24, Resulting Numbers: [54, 32, 24] Generated Node #0,0: 62:[54, 32, 24] Operation: 71-47=24 Exploring Operation: 71-54=17, Resulting Numbers: [32, 47, 17] Generated Node #0,1: 62:[32, 47, 17] Operation: 71-54=17 Exploring Operation: 54-47=7, Resulting Numbers: [71, 32, 7] Generated Node #0,2: 62:[71, 32, 7] Operation: 54-47=7 Moving to Node #0,2 Current State: 62:[71, 32, 7], Operations: ['54-47=7'] Exploring Operation: 71-32=39, Resulting Numbers: [7, 39] Generated Node #0,2,0: 62:[7, 39] Operation: 71-32=39 Exploring Operation: 32-7=25, Resulting Numbers: [71, 25] Generated Node #0,2,1: 62:[71, 25] Operation: 32-7=25 Exploring Operation: 71-7=64, Resulting Numbers: [32, 64] Generated Node #0,2,2: 62:[32, 64] Operation: 71-7=64 Moving to Node #0,0 Current State: 62:[54, 32, 24], Operations: ['71-47=24'] Exploring Operation: 32-24=8, Resulting Numbers: [54, 8] Generated Node #0,0,0: 62:[54, 8] Operation: 32-24=8 Exploring Operation: 32+24=56, Resulting Numbers: [54, 56] Generated Node #0,0,1: 62:[54, 56] Operation: 32+24=56 Exploring Operation: 54-24=30, Resulting Numbers: [32, 30] Generated Node #0,0,2: 62:[32, 30] Operation: 54-24=30 Moving to Node #0,1 Current State: 62:[32, 47, 17], Operations: ['71-54=17'] Exploring Operation: 47-32=15, Resulting Numbers: [17, 15] Generated Node #0,1,0: 62:[17, 15] Operation: 47-32=15 Exploring Operation: 47-17=30, Resulting Numbers: [32, 30] Generated Node #0,1,1: 62:[32, 30] Operation: 47-17=30 Exploring Operation: 47+17=64, Resulting Numbers: [32, 64] Generated Node #0,1,2: 62:[32, 64] Operation: 47+17=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[32, 30], Operations: ['71-54=17', '47-17=30'] Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,62 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[71, 54, 32, 47], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [32, 47, 17] Generated Node #0,1: 62:[32, 47, 17] Operation: 71-54=17 Moving to Node #0,1 Current State: 62:[32, 47, 17], Operations: ['71-54=17'] Exploring Operation: 47-17=30, Resulting Numbers: [32, 30] Generated Node #0,1,1: 62:[32, 30] Operation: 47-17=30 Moving to Node #0,1,1 Current State: 62:[32, 30], Operations: ['71-54=17', '47-17=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 23, 12, 37, 35 ]
83
[ "23-12=11", "37+35=72", "11+72=83" ]
Current State: 83:[23, 12, 37, 35], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [37, 35, 11] Generated Node #2: [37, 35, 11] from Operation: 23-12=11 Current State: 83:[37, 35, 11], Operations: ['23-12=11'] Exploring Operation: 37+35=72, Resulting Numbers: [11, 72] Generated Node #3: [11, 72] from Operation: 37+35=72 Current State: 83:[11, 72], Operations: ['23-12=11', '37+35=72'] Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[23, 12, 37, 35], Operations: [] Exploring Operation: 23+12=35, Resulting Numbers: [37, 35, 35] Generated Node #0,0: 83:[37, 35, 35] Operation: 23+12=35 Moving to Node #0,0 Current State: 83:[37, 35, 35], Operations: ['23+12=35'] Exploring Operation: 37+35=72, Resulting Numbers: [35, 72] Generated Node #0,0,0: 83:[35, 72] Operation: 37+35=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[35, 72], Operations: ['23+12=35', '37+35=72'] Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,83 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
[ 35, 48, 2, 34 ]
55
[ "48-35=13", "2*34=68", "68-13=55" ]
Current State: 55:[35, 48, 2, 34], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [2, 34, 13] Generated Node #2: [2, 34, 13] from Operation: 48-35=13 Current State: 55:[2, 34, 13], Operations: ['48-35=13'] Exploring Operation: 2*34=68, Resulting Numbers: [13, 68] Generated Node #3: [13, 68] from Operation: 2*34=68 Current State: 55:[13, 68], Operations: ['48-35=13', '2*34=68'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[35, 48, 2, 34], Operations: [] Exploring Operation: 35-34=1, Resulting Numbers: [48, 2, 1] Generated Node #0,0: 55:[48, 2, 1] Operation: 35-34=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[48, 2, 1], Operations: ['35-34=1'] Exploring Operation: 48+2=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 55:[1, 50] Operation: 48+2=50 Moving to Node #0,0,0 Current State: 55:[1, 50], Operations: ['35-34=1', '48+2=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,55 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
[ 2, 9, 16, 43 ]
70
[ "2+9=11", "16+43=59", "11+59=70" ]
Current State: 70:[2, 9, 16, 43], Operations: [] Exploring Operation: 2+9=11, Resulting Numbers: [16, 43, 11] Generated Node #2: [16, 43, 11] from Operation: 2+9=11 Current State: 70:[16, 43, 11], Operations: ['2+9=11'] Exploring Operation: 16+43=59, Resulting Numbers: [11, 59] Generated Node #3: [11, 59] from Operation: 16+43=59 Current State: 70:[11, 59], Operations: ['2+9=11', '16+43=59'] Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[2, 9, 16, 43], Operations: [] Exploring Operation: 43-2=41, Resulting Numbers: [9, 16, 41] Generated Node #0,0: 70:[9, 16, 41] Operation: 43-2=41 Exploring Operation: 43-9=34, Resulting Numbers: [2, 16, 34] Generated Node #0,1: 70:[2, 16, 34] Operation: 43-9=34 Exploring Operation: 16-9=7, Resulting Numbers: [2, 43, 7] Generated Node #0,2: 70:[2, 43, 7] Operation: 16-9=7 Exploring Operation: 16-2=14, Resulting Numbers: [9, 43, 14] Generated Node #0,3: 70:[9, 43, 14] Operation: 16-2=14 Moving to Node #0,1 Current State: 70:[2, 16, 34], Operations: ['43-9=34'] Exploring Operation: 2*16=32, Resulting Numbers: [34, 32] Generated Node #0,1,0: 70:[34, 32] Operation: 2*16=32 Exploring Operation: 2+34=36, Resulting Numbers: [16, 36] Generated Node #0,1,1: 70:[16, 36] Operation: 2+34=36 Exploring Operation: 16/2=8, Resulting Numbers: [34, 8] Generated Node #0,1,2: 70:[34, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [34, 14] Generated Node #0,1,3: 70:[34, 14] Operation: 16-2=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 70:[34, 14], Operations: ['43-9=34', '16-2=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,70 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[34, 8], Operations: ['43-9=34', '16/2=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,70 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[16, 36], Operations: ['43-9=34', '2+34=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,70 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[34, 32], Operations: ['43-9=34', '2*16=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,70 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,70 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: 70:[2, 43, 7], Operations: ['16-9=7'] Exploring Operation: 43-7=36, Resulting Numbers: [2, 36] Generated Node #0,2,0: 70:[2, 36] Operation: 43-7=36 Exploring Operation: 43-2=41, Resulting Numbers: [7, 41] Generated Node #0,2,1: 70:[7, 41] Operation: 43-2=41 Exploring Operation: 2*7=14, Resulting Numbers: [43, 14] Generated Node #0,2,2: 70:[43, 14] Operation: 2*7=14 Exploring Operation: 7-2=5, Resulting Numbers: [43, 5] Generated Node #0,2,3: 70:[43, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[2, 36], Operations: ['16-9=7', '43-7=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[7, 41], Operations: ['16-9=7', '43-2=41'] Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,70 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[43, 14], Operations: ['16-9=7', '2*7=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,70 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[43, 5], Operations: ['16-9=7', '7-2=5'] Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,70 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,70 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: 70:[9, 43, 14], Operations: ['16-2=14'] Exploring Operation: 14-9=5, Resulting Numbers: [43, 5] Generated Node #0,3,0: 70:[43, 5] Operation: 14-9=5 Exploring Operation: 43-9=34, Resulting Numbers: [14, 34] Generated Node #0,3,1: 70:[14, 34] Operation: 43-9=34 Exploring Operation: 43-14=29, Resulting Numbers: [9, 29] Generated Node #0,3,2: 70:[9, 29] Operation: 43-14=29 Exploring Operation: 43+14=57, Resulting Numbers: [9, 57] Generated Node #0,3,3: 70:[9, 57] Operation: 43+14=57 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[14, 34], Operations: ['16-2=14', '43-9=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[9, 29], Operations: ['16-2=14', '43-14=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[43, 5], Operations: ['16-2=14', '14-9=5'] Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,70 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[9, 57], Operations: ['16-2=14', '43+14=57'] Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,70 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 70:[9, 16, 41], Operations: ['43-2=41'] Exploring Operation: 41-9=32, Resulting Numbers: [16, 32] Generated Node #0,0,0: 70:[16, 32] Operation: 41-9=32 Exploring Operation: 41-16=25, Resulting Numbers: [9, 25] Generated Node #0,0,1: 70:[9, 25] Operation: 41-16=25 Exploring Operation: 16-9=7, Resulting Numbers: [41, 7] Generated Node #0,0,2: 70:[41, 7] Operation: 16-9=7 Exploring Operation: 16+41=57, Resulting Numbers: [9, 57] Generated Node #0,0,3: 70:[9, 57] Operation: 16+41=57 Moving to Node #0,0,0 Current State: 70:[16, 32], Operations: ['43-2=41', '41-9=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,70 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[41, 7], Operations: ['43-2=41', '16-9=7'] Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,70 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[9, 25], Operations: ['43-2=41', '41-16=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,70 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[9, 57], Operations: ['43-2=41', '16+41=57'] Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,70 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,70 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 23, 58, 17, 14 ]
27
[ "23+58=81", "17-14=3", "81/3=27" ]
Current State: 27:[23, 58, 17, 14], Operations: [] Exploring Operation: 23+58=81, Resulting Numbers: [17, 14, 81] Generated Node #2: [17, 14, 81] from Operation: 23+58=81 Current State: 27:[17, 14, 81], Operations: ['23+58=81'] Exploring Operation: 17-14=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 17-14=3 Current State: 27:[81, 3], Operations: ['23+58=81', '17-14=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[23, 58, 17, 14], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [17, 14, 35] Generated Node #0,0: 27:[17, 14, 35] Operation: 58-23=35 Moving to Node #0,0 Current State: 27:[17, 14, 35], Operations: ['58-23=35'] Exploring Operation: 17-14=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 27:[35, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[35, 3], Operations: ['58-23=35', '17-14=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 98, 14, 86, 17 ]
34
[ "98-14=84", "86-84=2", "17*2=34" ]
Current State: 34:[98, 14, 86, 17], Operations: [] Exploring Operation: 98-14=84, Resulting Numbers: [86, 17, 84] Generated Node #2: [86, 17, 84] from Operation: 98-14=84 Current State: 34:[86, 17, 84], Operations: ['98-14=84'] Exploring Operation: 86-84=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 86-84=2 Current State: 34:[17, 2], Operations: ['98-14=84', '86-84=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[98, 14, 86, 17], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [14, 17, 12] Generated Node #0,0: 34:[14, 17, 12] Operation: 98-86=12 Moving to Node #0,0 Current State: 34:[14, 17, 12], Operations: ['98-86=12'] Exploring Operation: 14-12=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 34:[17, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[17, 2], Operations: ['98-86=12', '14-12=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[98, 14, 86, 17], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [14, 17, 12] Generated Node #0,0: 34:[14, 17, 12] Operation: 98-86=12 Moving to Node #0,0 Current State: 34:[14, 17, 12], Operations: ['98-86=12'] Exploring Operation: 14-12=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 34:[17, 2] Operation: 14-12=2 Moving to Node #0,0,0 Current State: 34:[17, 2], Operations: ['98-86=12', '14-12=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 57, 65, 32, 60 ]
15
[ "65-57=8", "32/8=4", "60/4=15" ]
Current State: 15:[57, 65, 32, 60], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [32, 60, 8] Generated Node #2: [32, 60, 8] from Operation: 65-57=8 Current State: 15:[32, 60, 8], Operations: ['65-57=8'] Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #3: [60, 4] from Operation: 32/8=4 Current State: 15:[60, 4], Operations: ['65-57=8', '32/8=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[57, 65, 32, 60], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [32, 60, 8] Generated Node #0,0: 15:[32, 60, 8] Operation: 65-57=8 Exploring Operation: 65-60=5, Resulting Numbers: [57, 32, 5] Generated Node #0,1: 15:[57, 32, 5] Operation: 65-60=5 Moving to Node #0,1 Current State: 15:[57, 32, 5], Operations: ['65-60=5'] Exploring Operation: 57-32=25, Resulting Numbers: [5, 25] Generated Node #0,1,0: 15:[5, 25] Operation: 57-32=25 Exploring Operation: 57-5=52, Resulting Numbers: [32, 52] Generated Node #0,1,1: 15:[32, 52] Operation: 57-5=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[5, 25], Operations: ['65-60=5', '57-32=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[32, 52], Operations: ['65-60=5', '57-5=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,15 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: 15:[32, 60, 8], Operations: ['65-57=8'] Exploring Operation: 60-32=28, Resulting Numbers: [8, 28] Generated Node #0,0,0: 15:[8, 28] Operation: 60-32=28 Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 15:[60, 4] Operation: 32/8=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[8, 28], Operations: ['65-57=8', '60-32=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[60, 4], Operations: ['65-57=8', '32/8=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[57, 65, 32, 60], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [32, 60, 8] Generated Node #0,0: 15:[32, 60, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 15:[32, 60, 8], Operations: ['65-57=8'] Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 15:[60, 4] Operation: 32/8=4 Moving to Node #0,0,1 Current State: 15:[60, 4], Operations: ['65-57=8', '32/8=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 42, 78, 65, 18 ]
26
[ "65*18=1170", "1170-78=1092", "1092/42=26" ]
Current State: 26:[42, 78, 65, 18], Operations: [] Exploring Operation: 65*18=1170, Resulting Numbers: [42, 78, 1170] Generated Node #2: [42, 78, 1170] from Operation: 65*18=1170 Current State: 26:[42, 78, 1170], Operations: ['65*18=1170'] Exploring Operation: 1170-78=1092, Resulting Numbers: [42, 1092] Generated Node #3: [42, 1092] from Operation: 1170-78=1092 Current State: 26:[42, 1092], Operations: ['65*18=1170', '1170-78=1092'] Exploring Operation: 1092/42=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[42, 78, 65, 18], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [42, 18, 13] Generated Node #0,0: 26:[42, 18, 13] Operation: 78-65=13 Exploring Operation: 65-42=23, Resulting Numbers: [78, 18, 23] Generated Node #0,1: 26:[78, 18, 23] Operation: 65-42=23 Exploring Operation: 78-42=36, Resulting Numbers: [65, 18, 36] Generated Node #0,2: 26:[65, 18, 36] Operation: 78-42=36 Exploring Operation: 78-18=60, Resulting Numbers: [42, 65, 60] Generated Node #0,3: 26:[42, 65, 60] Operation: 78-18=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[42, 18, 13], Operations: ['78-65=13'] Exploring Operation: 18+13=31, Resulting Numbers: [42, 31] Generated Node #0,0,0: 26:[42, 31] Operation: 18+13=31 Exploring Operation: 42-18=24, Resulting Numbers: [13, 24] Generated Node #0,0,1: 26:[13, 24] Operation: 42-18=24 Exploring Operation: 18-13=5, Resulting Numbers: [42, 5] Generated Node #0,0,2: 26:[42, 5] Operation: 18-13=5 Exploring Operation: 42-13=29, Resulting Numbers: [18, 29] Generated Node #0,0,3: 26:[18, 29] Operation: 42-13=29 Moving to Node #0,0,1 Current State: 26:[13, 24], Operations: ['78-65=13', '42-18=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,26 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[18, 29], Operations: ['78-65=13', '42-13=29'] Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,26 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[42, 5], Operations: ['78-65=13', '18-13=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,26 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[42, 31], Operations: ['78-65=13', '18+13=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,26 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,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,2 Current State: 26:[65, 18, 36], Operations: ['78-42=36'] Exploring Operation: 36/18=2, Resulting Numbers: [65, 2] Generated Node #0,2,0: 26:[65, 2] Operation: 36/18=2 Exploring Operation: 65-36=29, Resulting Numbers: [18, 29] Generated Node #0,2,1: 26:[18, 29] Operation: 65-36=29 Exploring Operation: 65-18=47, Resulting Numbers: [36, 47] Generated Node #0,2,2: 26:[36, 47] Operation: 65-18=47 Exploring Operation: 36-18=18, Resulting Numbers: [65, 18] Generated Node #0,2,3: 26:[65, 18] Operation: 36-18=18 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[18, 29], Operations: ['78-42=36', '65-36=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,26 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,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,2 Current State: 26:[36, 47], Operations: ['78-42=36', '65-18=47'] Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,26 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,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:[65, 2], Operations: ['78-42=36', '36/18=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,26 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,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,3 Current State: 26:[65, 18], Operations: ['78-42=36', '36-18=18'] Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,26 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,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,1 Current State: 26:[78, 18, 23], Operations: ['65-42=23'] Exploring Operation: 18+23=41, Resulting Numbers: [78, 41] Generated Node #0,1,0: 26:[78, 41] Operation: 18+23=41 Exploring Operation: 23-18=5, Resulting Numbers: [78, 5] Generated Node #0,1,1: 26:[78, 5] Operation: 23-18=5 Exploring Operation: 78-18=60, Resulting Numbers: [23, 60] Generated Node #0,1,2: 26:[23, 60] Operation: 78-18=60 Exploring Operation: 78-23=55, Resulting Numbers: [18, 55] Generated Node #0,1,3: 26:[18, 55] Operation: 78-23=55 Moving to Node #0,1,3 Current State: 26:[18, 55], Operations: ['65-42=23', '78-23=55'] Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,26 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[23, 60], Operations: ['65-42=23', '78-18=60'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[78, 5], Operations: ['65-42=23', '23-18=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,26 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[78, 41], Operations: ['65-42=23', '18+23=41'] Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,26 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,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:[42, 65, 60], Operations: ['78-18=60'] Exploring Operation: 60-42=18, Resulting Numbers: [65, 18] Generated Node #0,3,0: 26:[65, 18] Operation: 60-42=18 Exploring Operation: 42+65=107, Resulting Numbers: [60, 107] Generated Node #0,3,1: 26:[60, 107] Operation: 42+65=107 Exploring Operation: 65-42=23, Resulting Numbers: [60, 23] Generated Node #0,3,2: 26:[60, 23] Operation: 65-42=23 Exploring Operation: 65-60=5, Resulting Numbers: [42, 5] Generated Node #0,3,3: 26:[42, 5] Operation: 65-60=5 Moving to Node #0,3,3 Current State: 26:[42, 5], Operations: ['78-18=60', '65-60=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,26 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[60, 23], Operations: ['78-18=60', '65-42=23'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,26 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[65, 18], Operations: ['78-18=60', '60-42=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,26 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[60, 107], Operations: ['78-18=60', '42+65=107'] Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 60+107=167, Resulting Numbers: [167] 167,26 unequal: No Solution Exploring Operation: 60*107=6420, Resulting Numbers: [6420] 6420,26 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
[ 18, 50, 14, 72 ]
20
[ "50-14=36", "72/36=2", "18+2=20" ]
Current State: 20:[18, 50, 14, 72], Operations: [] Exploring Operation: 50-14=36, Resulting Numbers: [18, 72, 36] Generated Node #2: [18, 72, 36] from Operation: 50-14=36 Current State: 20:[18, 72, 36], Operations: ['50-14=36'] Exploring Operation: 72/36=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 72/36=2 Current State: 20:[18, 2], Operations: ['50-14=36', '72/36=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 50, 14, 72], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [50, 14, 4] Generated Node #0,0: 20:[50, 14, 4] Operation: 72/18=4 Exploring Operation: 72-50=22, Resulting Numbers: [18, 14, 22] Generated Node #0,1: 20:[18, 14, 22] Operation: 72-50=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[18, 14, 22], Operations: ['72-50=22'] Exploring Operation: 22-18=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 20:[14, 4] Operation: 22-18=4 Exploring Operation: 18-14=4, Resulting Numbers: [22, 4] Generated Node #0,1,1: 20:[22, 4] Operation: 18-14=4 Moving to Node #0,1,1 Current State: 20:[22, 4], Operations: ['72-50=22', '18-14=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[14, 4], Operations: ['72-50=22', '22-18=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[50, 14, 4], Operations: ['72/18=4'] Exploring Operation: 50-4=46, Resulting Numbers: [14, 46] Generated Node #0,0,0: 20:[14, 46] Operation: 50-4=46 Exploring Operation: 50-14=36, Resulting Numbers: [4, 36] Generated Node #0,0,1: 20:[4, 36] Operation: 50-14=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[4, 36], Operations: ['72/18=4', '50-14=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,20 unequal: No Solution No 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: 20:[14, 46], Operations: ['72/18=4', '50-4=46'] Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 26, 47, 48, 19 ]
46
[ "47-26=21", "48+19=67", "67-21=46" ]
Current State: 46:[26, 47, 48, 19], Operations: [] Exploring Operation: 47-26=21, Resulting Numbers: [48, 19, 21] Generated Node #2: [48, 19, 21] from Operation: 47-26=21 Current State: 46:[48, 19, 21], Operations: ['47-26=21'] Exploring Operation: 48+19=67, Resulting Numbers: [21, 67] Generated Node #3: [21, 67] from Operation: 48+19=67 Current State: 46:[21, 67], Operations: ['47-26=21', '48+19=67'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[26, 47, 48, 19], Operations: [] Exploring Operation: 47-26=21, Resulting Numbers: [48, 19, 21] Generated Node #0,0: 46:[48, 19, 21] Operation: 47-26=21 Exploring Operation: 26-19=7, Resulting Numbers: [47, 48, 7] Generated Node #0,1: 46:[47, 48, 7] Operation: 26-19=7 Exploring Operation: 26+19=45, Resulting Numbers: [47, 48, 45] Generated Node #0,2: 46:[47, 48, 45] Operation: 26+19=45 Exploring Operation: 48-47=1, Resulting Numbers: [26, 19, 1] Generated Node #0,3: 46:[26, 19, 1] Operation: 48-47=1 Exploring Operation: 48-26=22, Resulting Numbers: [47, 19, 22] Generated Node #0,4: 46:[47, 19, 22] Operation: 48-26=22 Moving to Node #0,2 Current State: 46:[47, 48, 45], Operations: ['26+19=45'] Exploring Operation: 48-47=1, Resulting Numbers: [45, 1] Generated Node #0,2,0: 46:[45, 1] Operation: 48-47=1 Exploring Operation: 48+45=93, Resulting Numbers: [47, 93] Generated Node #0,2,1: 46:[47, 93] Operation: 48+45=93 Exploring Operation: 48-45=3, Resulting Numbers: [47, 3] Generated Node #0,2,2: 46:[47, 3] Operation: 48-45=3 Exploring Operation: 47-45=2, Resulting Numbers: [48, 2] Generated Node #0,2,3: 46:[48, 2] Operation: 47-45=2 Exploring Operation: 47+45=92, Resulting Numbers: [48, 92] Generated Node #0,2,4: 46:[48, 92] Operation: 47+45=92 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[45, 1], Operations: ['26+19=45', '48-47=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[26, 47, 48, 19], Operations: [] Exploring Operation: 26+19=45, Resulting Numbers: [47, 48, 45] Generated Node #0,2: 46:[47, 48, 45] Operation: 26+19=45 Moving to Node #0,2 Current State: 46:[47, 48, 45], Operations: ['26+19=45'] Exploring Operation: 48-47=1, Resulting Numbers: [45, 1] Generated Node #0,2,0: 46:[45, 1] Operation: 48-47=1 Moving to Node #0,2,0 Current State: 46:[45, 1], Operations: ['26+19=45', '48-47=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 72, 9, 78, 5 ]
20
[ "72-9=63", "78+5=83", "83-63=20" ]
Current State: 20:[72, 9, 78, 5], Operations: [] Exploring Operation: 72-9=63, Resulting Numbers: [78, 5, 63] Generated Node #2: [78, 5, 63] from Operation: 72-9=63 Current State: 20:[78, 5, 63], Operations: ['72-9=63'] Exploring Operation: 78+5=83, Resulting Numbers: [63, 83] Generated Node #3: [63, 83] from Operation: 78+5=83 Current State: 20:[63, 83], Operations: ['72-9=63', '78+5=83'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[72, 9, 78, 5], Operations: [] Exploring Operation: 78-72=6, Resulting Numbers: [9, 5, 6] Generated Node #0,0: 20:[9, 5, 6] Operation: 78-72=6 Exploring Operation: 72-9=63, Resulting Numbers: [78, 5, 63] Generated Node #0,1: 20:[78, 5, 63] Operation: 72-9=63 Exploring Operation: 72/9=8, Resulting Numbers: [78, 5, 8] Generated Node #0,2: 20:[78, 5, 8] Operation: 72/9=8 Exploring Operation: 78-9=69, Resulting Numbers: [72, 5, 69] Generated Node #0,3: 20:[72, 5, 69] Operation: 78-9=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[9, 5, 6], Operations: ['78-72=6'] Exploring Operation: 9-5=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 20:[6, 4] Operation: 9-5=4 Exploring Operation: 5+6=11, Resulting Numbers: [9, 11] Generated Node #0,0,1: 20:[9, 11] Operation: 5+6=11 Exploring Operation: 9-6=3, Resulting Numbers: [5, 3] Generated Node #0,0,2: 20:[5, 3] Operation: 9-6=3 Exploring Operation: 6-5=1, Resulting Numbers: [9, 1] Generated Node #0,0,3: 20:[9, 1] Operation: 6-5=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[6, 4], Operations: ['78-72=6', '9-5=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,20 unequal: No Solution No 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: 20:[5, 3], Operations: ['78-72=6', '9-6=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,20 unequal: No Solution No 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: 20:[9, 11], Operations: ['78-72=6', '5+6=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[72, 9, 78, 5], Operations: [] Exploring Operation: 78-72=6, Resulting Numbers: [9, 5, 6] Generated Node #0,0: 20:[9, 5, 6] Operation: 78-72=6 Moving to Node #0,0 Current State: 20:[9, 5, 6], Operations: ['78-72=6'] Exploring Operation: 5+6=11, Resulting Numbers: [9, 11] Generated Node #0,0,1: 20:[9, 11] Operation: 5+6=11 Moving to Node #0,0,1 Current State: 20:[9, 11], Operations: ['78-72=6', '5+6=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 41, 85, 84, 57 ]
38
[ "41+85=126", "84*57=4788", "4788/126=38" ]
Current State: 38:[41, 85, 84, 57], Operations: [] Exploring Operation: 41+85=126, Resulting Numbers: [84, 57, 126] Generated Node #2: [84, 57, 126] from Operation: 41+85=126 Current State: 38:[84, 57, 126], Operations: ['41+85=126'] Exploring Operation: 84*57=4788, Resulting Numbers: [126, 4788] Generated Node #3: [126, 4788] from Operation: 84*57=4788 Current State: 38:[126, 4788], Operations: ['41+85=126', '84*57=4788'] Exploring Operation: 4788/126=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[41, 85, 84, 57], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [41, 84, 28] Generated Node #0,0: 38:[41, 84, 28] Operation: 85-57=28 Exploring Operation: 85-84=1, Resulting Numbers: [41, 57, 1] Generated Node #0,1: 38:[41, 57, 1] Operation: 85-84=1 Moving to Node #0,1 Current State: 38:[41, 57, 1], Operations: ['85-84=1'] Exploring Operation: 57-41=16, Resulting Numbers: [1, 16] Generated Node #0,1,0: 38:[1, 16] Operation: 57-41=16 Exploring Operation: 41-1=40, Resulting Numbers: [57, 40] Generated Node #0,1,1: 38:[57, 40] Operation: 41-1=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[1, 16], Operations: ['85-84=1', '57-41=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[57, 40], Operations: ['85-84=1', '41-1=40'] Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,38 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 38:[41, 84, 28], Operations: ['85-57=28'] Exploring Operation: 84-41=43, Resulting Numbers: [28, 43] Generated Node #0,0,0: 38:[28, 43] Operation: 84-41=43 Exploring Operation: 84/28=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 38:[41, 3] Operation: 84/28=3 Moving to Node #0,0,1 Current State: 38:[41, 3], Operations: ['85-57=28', '84/28=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[41, 85, 84, 57], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [41, 84, 28] Generated Node #0,0: 38:[41, 84, 28] Operation: 85-57=28 Moving to Node #0,0 Current State: 38:[41, 84, 28], Operations: ['85-57=28'] Exploring Operation: 84/28=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 38:[41, 3] Operation: 84/28=3 Moving to Node #0,0,1 Current State: 38:[41, 3], Operations: ['85-57=28', '84/28=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 87, 5, 7, 47 ]
67
[ "87+47=134", "7-5=2", "134/2=67" ]
Current State: 67:[87, 5, 7, 47], Operations: [] Exploring Operation: 87+47=134, Resulting Numbers: [5, 7, 134] Generated Node #2: [5, 7, 134] from Operation: 87+47=134 Current State: 67:[5, 7, 134], Operations: ['87+47=134'] Exploring Operation: 7-5=2, Resulting Numbers: [134, 2] Generated Node #3: [134, 2] from Operation: 7-5=2 Current State: 67:[134, 2], Operations: ['87+47=134', '7-5=2'] Exploring Operation: 134/2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[87, 5, 7, 47], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [87, 47, 35] Generated Node #0,0: 67:[87, 47, 35] Operation: 5*7=35 Exploring Operation: 87-5=82, Resulting Numbers: [7, 47, 82] Generated Node #0,1: 67:[7, 47, 82] Operation: 87-5=82 Exploring Operation: 87-7=80, Resulting Numbers: [5, 47, 80] Generated Node #0,2: 67:[5, 47, 80] Operation: 87-7=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[87, 47, 35], Operations: ['5*7=35'] Exploring Operation: 47+35=82, Resulting Numbers: [87, 82] Generated Node #0,0,0: 67:[87, 82] Operation: 47+35=82 Exploring Operation: 87-47=40, Resulting Numbers: [35, 40] Generated Node #0,0,1: 67:[35, 40] Operation: 87-47=40 Exploring Operation: 87-35=52, Resulting Numbers: [47, 52] Generated Node #0,0,2: 67:[47, 52] Operation: 87-35=52 Moving to Node #0,0,0 Current State: 67:[87, 82], Operations: ['5*7=35', '47+35=82'] Exploring Operation: 87*82=7134, Resulting Numbers: [7134] 7134,67 unequal: No Solution Exploring Operation: 87+82=169, Resulting Numbers: [169] 169,67 unequal: No Solution Exploring Operation: 87-82=5, Resulting Numbers: [5] 5,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[47, 52], Operations: ['5*7=35', '87-35=52'] Exploring Operation: 47*52=2444, Resulting Numbers: [2444] 2444,67 unequal: No Solution Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[35, 40], Operations: ['5*7=35', '87-47=40'] Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[7, 47, 82], Operations: ['87-5=82'] Exploring Operation: 47-7=40, Resulting Numbers: [82, 40] Generated Node #0,1,0: 67:[82, 40] Operation: 47-7=40 Exploring Operation: 82-7=75, Resulting Numbers: [47, 75] Generated Node #0,1,1: 67:[47, 75] Operation: 82-7=75 Exploring Operation: 7+47=54, Resulting Numbers: [82, 54] Generated Node #0,1,2: 67:[82, 54] Operation: 7+47=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[47, 75], Operations: ['87-5=82', '82-7=75'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[82, 54], Operations: ['87-5=82', '7+47=54'] Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,67 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[82, 40], Operations: ['87-5=82', '47-7=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[5, 47, 80], Operations: ['87-7=80'] Exploring Operation: 80-5=75, Resulting Numbers: [47, 75] Generated Node #0,2,0: 67:[47, 75] Operation: 80-5=75 Exploring Operation: 5+47=52, Resulting Numbers: [80, 52] Generated Node #0,2,1: 67:[80, 52] Operation: 5+47=52 Exploring Operation: 47-5=42, Resulting Numbers: [80, 42] Generated Node #0,2,2: 67:[80, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[47, 75], Operations: ['87-7=80', '80-5=75'] Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,67 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[80, 52], Operations: ['87-7=80', '5+47=52'] Exploring Operation: 80*52=4160, Resulting Numbers: [4160] 4160,67 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 80+52=132, Resulting Numbers: [132] 132,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[80, 42], Operations: ['87-7=80', '47-5=42'] Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,67 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 80, 26, 64, 8 ]
100
[ "80/8=10", "26+64=90", "10+90=100" ]
Current State: 100:[80, 26, 64, 8], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [26, 64, 10] Generated Node #2: [26, 64, 10] from Operation: 80/8=10 Current State: 100:[26, 64, 10], Operations: ['80/8=10'] Exploring Operation: 26+64=90, Resulting Numbers: [10, 90] Generated Node #3: [10, 90] from Operation: 26+64=90 Current State: 100:[10, 90], Operations: ['80/8=10', '26+64=90'] Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[80, 26, 64, 8], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [26, 8, 16] Generated Node #0,0: 100:[26, 8, 16] Operation: 80-64=16 Moving to Node #0,0 Current State: 100:[26, 8, 16], Operations: ['80-64=16'] Exploring Operation: 16/8=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 100:[26, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[26, 2], Operations: ['80-64=16', '16/8=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,100 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
[ 18, 50, 20, 48 ]
52
[ "20-18=2", "50*2=100", "100-48=52" ]
Current State: 52:[18, 50, 20, 48], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [50, 48, 2] Generated Node #2: [50, 48, 2] from Operation: 20-18=2 Current State: 52:[50, 48, 2], Operations: ['20-18=2'] Exploring Operation: 50*2=100, Resulting Numbers: [48, 100] Generated Node #3: [48, 100] from Operation: 50*2=100 Current State: 52:[48, 100], Operations: ['20-18=2', '50*2=100'] Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[18, 50, 20, 48], Operations: [] Exploring Operation: 48-20=28, Resulting Numbers: [18, 50, 28] Generated Node #0,0: 52:[18, 50, 28] Operation: 48-20=28 Exploring Operation: 50-48=2, Resulting Numbers: [18, 20, 2] Generated Node #0,1: 52:[18, 20, 2] Operation: 50-48=2 Exploring Operation: 20-18=2, Resulting Numbers: [50, 48, 2] Generated Node #0,2: 52:[50, 48, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[50, 48, 2], Operations: ['20-18=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50, 50] Generated Node #0,2,0: 52:[50, 50] Operation: 48+2=50 Exploring Operation: 50-48=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 52:[2, 2] Operation: 50-48=2 Exploring Operation: 50+2=52, Resulting Numbers: [48, 52] Generated Node #0,2,2: 52:[48, 52] Operation: 50+2=52 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[2, 2], Operations: ['20-18=2', '50-48=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[50, 50], Operations: ['20-18=2', '48+2=50'] Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[48, 52], Operations: ['20-18=2', '50+2=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,52 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[18, 50, 28], Operations: ['48-20=28'] Exploring Operation: 50-18=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 52:[28, 32] Operation: 50-18=32 Exploring Operation: 18+28=46, Resulting Numbers: [50, 46] Generated Node #0,0,1: 52:[50, 46] Operation: 18+28=46 Exploring Operation: 28-18=10, Resulting Numbers: [50, 10] Generated Node #0,0,2: 52:[50, 10] Operation: 28-18=10 Moving to Node #0,0,2 Current State: 52:[50, 10], Operations: ['48-20=28', '28-18=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[28, 32], Operations: ['48-20=28', '50-18=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[50, 46], Operations: ['48-20=28', '18+28=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,52 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[18, 20, 2], Operations: ['50-48=2'] Exploring Operation: 20/2=10, Resulting Numbers: [18, 10] Generated Node #0,1,0: 52:[18, 10] Operation: 20/2=10 Exploring Operation: 18-2=16, Resulting Numbers: [20, 16] Generated Node #0,1,1: 52:[20, 16] Operation: 18-2=16 Exploring Operation: 20-18=2, Resulting Numbers: [2, 2] Generated Node #0,1,2: 52:[2, 2] Operation: 20-18=2 Moving to Node #0,1,2 Current State: 52:[2, 2], Operations: ['50-48=2', '20-18=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[18, 10], Operations: ['50-48=2', '20/2=10'] Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[20, 16], Operations: ['50-48=2', '18-2=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,52 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,52 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
[ 72, 9, 89, 81 ]
81
[ "72*9=648", "89-81=8", "648/8=81" ]
Current State: 81:[72, 9, 89, 81], Operations: [] Exploring Operation: 72*9=648, Resulting Numbers: [89, 81, 648] Generated Node #2: [89, 81, 648] from Operation: 72*9=648 Current State: 81:[89, 81, 648], Operations: ['72*9=648'] Exploring Operation: 89-81=8, Resulting Numbers: [648, 8] Generated Node #3: [648, 8] from Operation: 89-81=8 Current State: 81:[648, 8], Operations: ['72*9=648', '89-81=8'] Exploring Operation: 648/8=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[72, 9, 89, 81], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [9, 81, 17] Generated Node #0,0: 81:[9, 81, 17] Operation: 89-72=17 Exploring Operation: 81-72=9, Resulting Numbers: [9, 89, 9] Generated Node #0,1: 81:[9, 89, 9] Operation: 81-72=9 Exploring Operation: 89-9=80, Resulting Numbers: [72, 81, 80] Generated Node #0,2: 81:[72, 81, 80] Operation: 89-9=80 Exploring Operation: 72/9=8, Resulting Numbers: [89, 81, 8] Generated Node #0,3: 81:[89, 81, 8] Operation: 72/9=8 Exploring Operation: 72+9=81, Resulting Numbers: [89, 81, 81] Generated Node #0,4: 81:[89, 81, 81] Operation: 72+9=81 Moving to Node #0,0 Current State: 81:[9, 81, 17], Operations: ['89-72=17'] Exploring Operation: 81/9=9, Resulting Numbers: [17, 9] Generated Node #0,0,0: 81:[17, 9] Operation: 81/9=9 Exploring Operation: 9+17=26, Resulting Numbers: [81, 26] Generated Node #0,0,1: 81:[81, 26] Operation: 9+17=26 Exploring Operation: 9+81=90, Resulting Numbers: [17, 90] Generated Node #0,0,2: 81:[17, 90] Operation: 9+81=90 Exploring Operation: 81-9=72, Resulting Numbers: [17, 72] Generated Node #0,0,3: 81:[17, 72] Operation: 81-9=72 Exploring Operation: 17-9=8, Resulting Numbers: [81, 8] Generated Node #0,0,4: 81:[81, 8] Operation: 17-9=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[81, 26], Operations: ['89-72=17', '9+17=26'] Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,81 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 81:[81, 8], Operations: ['89-72=17', '17-9=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,81 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[17, 9], Operations: ['89-72=17', '81/9=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,81 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[17, 90], Operations: ['89-72=17', '9+81=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 17+90=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 17*90=1530, Resulting Numbers: [1530] 1530,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[17, 72], Operations: ['89-72=17', '81-9=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,81 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,81 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: 81:[89, 81, 81], Operations: ['72+9=81'] Exploring Operation: 81/81=1, Resulting Numbers: [89, 1] Generated Node #0,4,0: 81:[89, 1] Operation: 81/81=1 Exploring Operation: 89-81=8, Resulting Numbers: [81, 8] Generated Node #0,4,1: 81:[81, 8] Operation: 89-81=8 Exploring Operation: 81-81=0, Resulting Numbers: [89, 0] Generated Node #0,4,2: 81:[89, 0] Operation: 81-81=0 Exploring Operation: 89+81=170, Resulting Numbers: [81, 170] Generated Node #0,4,3: 81:[81, 170] Operation: 89+81=170 Exploring Operation: 89-81=8, Resulting Numbers: [81, 8] Generated Node #0,4,4: 81:[81, 8] Operation: 89-81=8 Moving to Node #0,1 Current State: 81:[9, 89, 9], Operations: ['81-72=9'] Exploring Operation: 9/9=1, Resulting Numbers: [89, 1] Generated Node #0,1,0: 81:[89, 1] Operation: 9/9=1 Exploring Operation: 89-9=80, Resulting Numbers: [9, 80] Generated Node #0,1,1: 81:[9, 80] Operation: 89-9=80 Exploring Operation: 89-9=80, Resulting Numbers: [9, 80] Generated Node #0,1,2: 81:[9, 80] Operation: 89-9=80 Exploring Operation: 9-9=0, Resulting Numbers: [89, 0] Generated Node #0,1,3: 81:[89, 0] Operation: 9-9=0 Exploring Operation: 9*9=81, Resulting Numbers: [89, 81] Generated Node #0,1,4: 81:[89, 81] Operation: 9*9=81 Moving to Node #0,3 Current State: 81:[89, 81, 8], Operations: ['72/9=8'] Exploring Operation: 89-8=81, Resulting Numbers: [81, 81] Generated Node #0,3,0: 81:[81, 81] Operation: 89-8=81 Exploring Operation: 81-8=73, Resulting Numbers: [89, 73] Generated Node #0,3,1: 81:[89, 73] Operation: 81-8=73 Exploring Operation: 89+8=97, Resulting Numbers: [81, 97] Generated Node #0,3,2: 81:[81, 97] Operation: 89+8=97 Exploring Operation: 81+8=89, Resulting Numbers: [89, 89] Generated Node #0,3,3: 81:[89, 89] Operation: 81+8=89 Exploring Operation: 89-81=8, Resulting Numbers: [8, 8] Generated Node #0,3,4: 81:[8, 8] Operation: 89-81=8 Moving to Node #0,2 Current State: 81:[72, 81, 80], Operations: ['89-9=80'] Exploring Operation: 81-72=9, Resulting Numbers: [80, 9] Generated Node #0,2,0: 81:[80, 9] Operation: 81-72=9 Exploring Operation: 72+81=153, Resulting Numbers: [80, 153] Generated Node #0,2,1: 81:[80, 153] Operation: 72+81=153 Exploring Operation: 81-80=1, Resulting Numbers: [72, 1] Generated Node #0,2,2: 81:[72, 1] Operation: 81-80=1 Exploring Operation: 80-72=8, Resulting Numbers: [81, 8] Generated Node #0,2,3: 81:[81, 8] Operation: 80-72=8 Exploring Operation: 72+80=152, Resulting Numbers: [81, 152] Generated Node #0,2,4: 81:[81, 152] Operation: 72+80=152 Moving to Node #0,3,0 Current State: 81:[81, 81], Operations: ['72/9=8', '89-8=81'] Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,81 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,81 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[9, 80], Operations: ['81-72=9', '89-9=80'] Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[9, 80], Operations: ['81-72=9', '89-9=80'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,81 unequal: No Solution Moving to Node #0,4,1 Current State: 81:[81, 8], Operations: ['72+9=81', '89-81=8'] Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,81 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,81 unequal: No Solution Moving to Node #0,4,4 Current State: 81:[81, 8], Operations: ['72+9=81', '89-81=8'] Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,81 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[80, 9], Operations: ['89-9=80', '81-72=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[81, 8], Operations: ['89-9=80', '80-72=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[8, 8], Operations: ['72/9=8', '89-81=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[89, 81], Operations: ['81-72=9', '9*9=81'] Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,81 unequal: No Solution Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,81 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,4,0 Current State: 81:[89, 1], Operations: ['72+9=81', '81/81=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[89, 1], Operations: ['81-72=9', '9/9=1'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[89, 0], Operations: ['81-72=9', '9-9=0'] Exploring Operation: 89-0=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89*0=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[72, 1], Operations: ['89-9=80', '81-80=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,81 unequal: No Solution Moving to Node #0,4,2 Current State: 81:[89, 0], Operations: ['72+9=81', '81-81=0'] Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89-0=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89*0=0, Resulting Numbers: [0] 0,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[89, 89], Operations: ['72/9=8', '81+8=89'] Exploring Operation: 89-89=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 89*89=7921, Resulting Numbers: [7921] 7921,81 unequal: No Solution Exploring Operation: 89/89=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 89+89=178, Resulting Numbers: [178] 178,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[89, 73], Operations: ['72/9=8', '81-8=73'] Exploring Operation: 89*73=6497, Resulting Numbers: [6497] 6497,81 unequal: No Solution Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 89+73=162, Resulting Numbers: [162] 162,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[81, 97], Operations: ['72/9=8', '89+8=97'] Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,81 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,81 unequal: No Solution Moving to Node #0,2,4 Current State: 81:[81, 152], Operations: ['89-9=80', '72+80=152'] Exploring Operation: 81*152=12312, Resulting Numbers: [12312] 12312,81 unequal: No Solution Exploring Operation: 152-81=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 81+152=233, Resulting Numbers: [233] 233,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[80, 153], Operations: ['89-9=80', '72+81=153'] Exploring Operation: 80*153=12240, Resulting Numbers: [12240] 12240,81 unequal: No Solution Exploring Operation: 80+153=233, Resulting Numbers: [233] 233,81 unequal: No Solution Exploring Operation: 153-80=73, Resulting Numbers: [73] 73,81 unequal: No Solution Moving to Node #0,4,3 Current State: 81:[81, 170], Operations: ['72+9=81', '89+81=170'] Exploring Operation: 81*170=13770, Resulting Numbers: [13770] 13770,81 unequal: No Solution Exploring Operation: 81+170=251, Resulting Numbers: [251] 251,81 unequal: No Solution Exploring Operation: 170-81=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 49, 29, 17 ]
98
[ "3+49=52", "29+17=46", "52+46=98" ]
Current State: 98:[3, 49, 29, 17], Operations: [] Exploring Operation: 3+49=52, Resulting Numbers: [29, 17, 52] Generated Node #2: [29, 17, 52] from Operation: 3+49=52 Current State: 98:[29, 17, 52], Operations: ['3+49=52'] Exploring Operation: 29+17=46, Resulting Numbers: [52, 46] Generated Node #3: [52, 46] from Operation: 29+17=46 Current State: 98:[52, 46], Operations: ['3+49=52', '29+17=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[3, 49, 29, 17], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [3, 49, 12] Generated Node #0,0: 98:[3, 49, 12] Operation: 29-17=12 Moving to Node #0,0 Current State: 98:[3, 49, 12], Operations: ['29-17=12'] Exploring Operation: 3+12=15, Resulting Numbers: [49, 15] Generated Node #0,0,0: 98:[49, 15] Operation: 3+12=15 Moving to Node #0,0,0 Current State: 98:[49, 15], Operations: ['29-17=12', '3+12=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,98 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 93, 77, 87 ]
92
[ "9+93=102", "87-77=10", "102-10=92" ]
Current State: 92:[9, 93, 77, 87], Operations: [] Exploring Operation: 9+93=102, Resulting Numbers: [77, 87, 102] Generated Node #2: [77, 87, 102] from Operation: 9+93=102 Current State: 92:[77, 87, 102], Operations: ['9+93=102'] Exploring Operation: 87-77=10, Resulting Numbers: [102, 10] Generated Node #3: [102, 10] from Operation: 87-77=10 Current State: 92:[102, 10], Operations: ['9+93=102', '87-77=10'] Exploring Operation: 102-10=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[9, 93, 77, 87], Operations: [] Exploring Operation: 9+77=86, Resulting Numbers: [93, 87, 86] Generated Node #0,0: 92:[93, 87, 86] Operation: 9+77=86 Exploring Operation: 87-77=10, Resulting Numbers: [9, 93, 10] Generated Node #0,1: 92:[9, 93, 10] Operation: 87-77=10 Moving to Node #0,0 Current State: 92:[93, 87, 86], Operations: ['9+77=86'] Exploring Operation: 93-87=6, Resulting Numbers: [86, 6] Generated Node #0,0,0: 92:[86, 6] Operation: 93-87=6 Exploring Operation: 87-86=1, Resulting Numbers: [93, 1] Generated Node #0,0,1: 92:[93, 1] Operation: 87-86=1 Moving to Node #0,1 Current State: 92:[9, 93, 10], Operations: ['87-77=10'] Exploring Operation: 9*10=90, Resulting Numbers: [93, 90] Generated Node #0,1,0: 92:[93, 90] Operation: 9*10=90 Exploring Operation: 10-9=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 92:[93, 1] Operation: 10-9=1 Moving to Node #0,0,1 Current State: 92:[93, 1], Operations: ['9+77=86', '87-86=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[9, 93, 77, 87], Operations: [] Exploring Operation: 9+77=86, Resulting Numbers: [93, 87, 86] Generated Node #0,0: 92:[93, 87, 86] Operation: 9+77=86 Moving to Node #0,0 Current State: 92:[93, 87, 86], Operations: ['9+77=86'] Exploring Operation: 87-86=1, Resulting Numbers: [93, 1] Generated Node #0,0,1: 92:[93, 1] Operation: 87-86=1 Moving to Node #0,0,1 Current State: 92:[93, 1], Operations: ['9+77=86', '87-86=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 78, 15, 10, 20 ]
51
[ "78-10=68", "15*68=1020", "1020/20=51" ]
Current State: 51:[78, 15, 10, 20], Operations: [] Exploring Operation: 78-10=68, Resulting Numbers: [15, 20, 68] Generated Node #2: [15, 20, 68] from Operation: 78-10=68 Current State: 51:[15, 20, 68], Operations: ['78-10=68'] Exploring Operation: 15*68=1020, Resulting Numbers: [20, 1020] Generated Node #3: [20, 1020] from Operation: 15*68=1020 Current State: 51:[20, 1020], Operations: ['78-10=68', '15*68=1020'] Exploring Operation: 1020/20=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[78, 15, 10, 20], Operations: [] Exploring Operation: 78-20=58, Resulting Numbers: [15, 10, 58] Generated Node #0,0: 51:[15, 10, 58] Operation: 78-20=58 Exploring Operation: 78-15=63, Resulting Numbers: [10, 20, 63] Generated Node #0,1: 51:[10, 20, 63] Operation: 78-15=63 Moving to Node #0,0 Current State: 51:[15, 10, 58], Operations: ['78-20=58'] Exploring Operation: 58-10=48, Resulting Numbers: [15, 48] Generated Node #0,0,0: 51:[15, 48] Operation: 58-10=48 Exploring Operation: 15-10=5, Resulting Numbers: [58, 5] Generated Node #0,0,1: 51:[58, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[15, 48], Operations: ['78-20=58', '58-10=48'] Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,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,0,1 Current State: 51:[58, 5], Operations: ['78-20=58', '15-10=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,51 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: 51:[10, 20, 63], Operations: ['78-15=63'] Exploring Operation: 20/10=2, Resulting Numbers: [63, 2] Generated Node #0,1,0: 51:[63, 2] Operation: 20/10=2 Exploring Operation: 63-10=53, Resulting Numbers: [20, 53] Generated Node #0,1,1: 51:[20, 53] Operation: 63-10=53 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[20, 53], Operations: ['78-15=63', '63-10=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,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,0 Current State: 51:[63, 2], Operations: ['78-15=63', '20/10=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,51 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
[ 4, 86, 35, 60 ]
14
[ "60-35=25", "4*25=100", "100-86=14" ]
Current State: 14:[4, 86, 35, 60], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [4, 86, 25] Generated Node #2: [4, 86, 25] from Operation: 60-35=25 Current State: 14:[4, 86, 25], Operations: ['60-35=25'] Exploring Operation: 4*25=100, Resulting Numbers: [86, 100] Generated Node #3: [86, 100] from Operation: 4*25=100 Current State: 14:[86, 100], Operations: ['60-35=25', '4*25=100'] Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[4, 86, 35, 60], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [4, 35, 26] Generated Node #0,0: 14:[4, 35, 26] Operation: 86-60=26 Exploring Operation: 86-35=51, Resulting Numbers: [4, 60, 51] Generated Node #0,1: 14:[4, 60, 51] Operation: 86-35=51 Moving to Node #0,0 Current State: 14:[4, 35, 26], Operations: ['86-60=26'] Exploring Operation: 35-4=31, Resulting Numbers: [26, 31] Generated Node #0,0,0: 14:[26, 31] Operation: 35-4=31 Exploring Operation: 35-26=9, Resulting Numbers: [4, 9] Generated Node #0,0,1: 14:[4, 9] Operation: 35-26=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[4, 9], Operations: ['86-60=26', '35-26=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[26, 31], Operations: ['86-60=26', '35-4=31'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 14:[4, 60, 51], Operations: ['86-35=51'] Exploring Operation: 60-51=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 14:[4, 9] Operation: 60-51=9 Exploring Operation: 60/4=15, Resulting Numbers: [51, 15] Generated Node #0,1,1: 14:[51, 15] Operation: 60/4=15 Moving to Node #0,1,0 Current State: 14:[4, 9], Operations: ['86-35=51', '60-51=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[51, 15], Operations: ['86-35=51', '60/4=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,14 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 15, 85, 30, 19 ]
68
[ "30/15=2", "85-19=66", "2+66=68" ]
Current State: 68:[15, 85, 30, 19], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [85, 19, 2] Generated Node #2: [85, 19, 2] from Operation: 30/15=2 Current State: 68:[85, 19, 2], Operations: ['30/15=2'] Exploring Operation: 85-19=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 85-19=66 Current State: 68:[2, 66], Operations: ['30/15=2', '85-19=66'] Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[15, 85, 30, 19], Operations: [] Exploring Operation: 85-15=70, Resulting Numbers: [30, 19, 70] Generated Node #0,0: 68:[30, 19, 70] Operation: 85-15=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[30, 19, 70], Operations: ['85-15=70'] Exploring Operation: 30-19=11, Resulting Numbers: [70, 11] Generated Node #0,0,0: 68:[70, 11] Operation: 30-19=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[70, 11], Operations: ['85-15=70', '30-19=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,68 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
[ 53, 13, 82, 67 ]
83
[ "53+13=66", "82+67=149", "149-66=83" ]
Current State: 83:[53, 13, 82, 67], Operations: [] Exploring Operation: 53+13=66, Resulting Numbers: [82, 67, 66] Generated Node #2: [82, 67, 66] from Operation: 53+13=66 Current State: 83:[82, 67, 66], Operations: ['53+13=66'] Exploring Operation: 82+67=149, Resulting Numbers: [66, 149] Generated Node #3: [66, 149] from Operation: 82+67=149 Current State: 83:[66, 149], Operations: ['53+13=66', '82+67=149'] Exploring Operation: 149-66=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[53, 13, 82, 67], Operations: [] Exploring Operation: 53+13=66, Resulting Numbers: [82, 67, 66] Generated Node #0,0: 83:[82, 67, 66] Operation: 53+13=66 Exploring Operation: 13+67=80, Resulting Numbers: [53, 82, 80] Generated Node #0,1: 83:[53, 82, 80] Operation: 13+67=80 Exploring Operation: 13+82=95, Resulting Numbers: [53, 67, 95] Generated Node #0,2: 83:[53, 67, 95] Operation: 13+82=95 Exploring Operation: 82-13=69, Resulting Numbers: [53, 67, 69] Generated Node #0,3: 83:[53, 67, 69] Operation: 82-13=69 Exploring Operation: 53-13=40, Resulting Numbers: [82, 67, 40] Generated Node #0,4: 83:[82, 67, 40] Operation: 53-13=40 Moving to Node #0,0 Current State: 83:[82, 67, 66], Operations: ['53+13=66'] Exploring Operation: 82-66=16, Resulting Numbers: [67, 16] Generated Node #0,0,0: 83:[67, 16] Operation: 82-66=16 Exploring Operation: 67+66=133, Resulting Numbers: [82, 133] Generated Node #0,0,1: 83:[82, 133] Operation: 67+66=133 Exploring Operation: 82+66=148, Resulting Numbers: [67, 148] Generated Node #0,0,2: 83:[67, 148] Operation: 82+66=148 Exploring Operation: 67-66=1, Resulting Numbers: [82, 1] Generated Node #0,0,3: 83:[82, 1] Operation: 67-66=1 Exploring Operation: 82+67=149, Resulting Numbers: [66, 149] Generated Node #0,0,4: 83:[66, 149] Operation: 82+67=149 Moving to Node #0,1 Current State: 83:[53, 82, 80], Operations: ['13+67=80'] Exploring Operation: 82+80=162, Resulting Numbers: [53, 162] Generated Node #0,1,0: 83:[53, 162] Operation: 82+80=162 Exploring Operation: 82-53=29, Resulting Numbers: [80, 29] Generated Node #0,1,1: 83:[80, 29] Operation: 82-53=29 Exploring Operation: 80-53=27, Resulting Numbers: [82, 27] Generated Node #0,1,2: 83:[82, 27] Operation: 80-53=27 Exploring Operation: 53+80=133, Resulting Numbers: [82, 133] Generated Node #0,1,3: 83:[82, 133] Operation: 53+80=133 Exploring Operation: 53+82=135, Resulting Numbers: [80, 135] Generated Node #0,1,4: 83:[80, 135] Operation: 53+82=135 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[82, 133], Operations: ['13+67=80', '53+80=133'] Exploring Operation: 82*133=10906, Resulting Numbers: [10906] 10906,83 unequal: No Solution Exploring Operation: 133-82=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 82+133=215, Resulting Numbers: [215] 215,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[80, 135], Operations: ['13+67=80', '53+82=135'] Exploring Operation: 80+135=215, Resulting Numbers: [215] 215,83 unequal: No Solution Exploring Operation: 80*135=10800, Resulting Numbers: [10800] 10800,83 unequal: No Solution Exploring Operation: 135-80=55, Resulting Numbers: [55] 55,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[80, 29], Operations: ['13+67=80', '82-53=29'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[82, 27], Operations: ['13+67=80', '80-53=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[53, 162], Operations: ['13+67=80', '82+80=162'] Exploring Operation: 162-53=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 53+162=215, Resulting Numbers: [215] 215,83 unequal: No Solution Exploring Operation: 53*162=8586, Resulting Numbers: [8586] 8586,83 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: 83:[53, 67, 95], Operations: ['13+82=95'] Exploring Operation: 95-67=28, Resulting Numbers: [53, 28] Generated Node #0,2,0: 83:[53, 28] Operation: 95-67=28 Exploring Operation: 53+95=148, Resulting Numbers: [67, 148] Generated Node #0,2,1: 83:[67, 148] Operation: 53+95=148 Exploring Operation: 67-53=14, Resulting Numbers: [95, 14] Generated Node #0,2,2: 83:[95, 14] Operation: 67-53=14 Exploring Operation: 95-53=42, Resulting Numbers: [67, 42] Generated Node #0,2,3: 83:[67, 42] Operation: 95-53=42 Exploring Operation: 53+67=120, Resulting Numbers: [95, 120] Generated Node #0,2,4: 83:[95, 120] Operation: 53+67=120 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[95, 120], Operations: ['13+82=95', '53+67=120'] Exploring Operation: 95+120=215, Resulting Numbers: [215] 215,83 unequal: No Solution Exploring Operation: 95*120=11400, Resulting Numbers: [11400] 11400,83 unequal: No Solution Exploring Operation: 120-95=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[67, 42], Operations: ['13+82=95', '95-53=42'] Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[67, 148], Operations: ['13+82=95', '53+95=148'] Exploring Operation: 67+148=215, Resulting Numbers: [215] 215,83 unequal: No Solution Exploring Operation: 67*148=9916, Resulting Numbers: [9916] 9916,83 unequal: No Solution Exploring Operation: 148-67=81, Resulting Numbers: [81] 81,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[95, 14], Operations: ['13+82=95', '67-53=14'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[53, 28], Operations: ['13+82=95', '95-67=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,83 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,83 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: 83:[53, 67, 69], Operations: ['82-13=69'] Exploring Operation: 53+69=122, Resulting Numbers: [67, 122] Generated Node #0,3,0: 83:[67, 122] Operation: 53+69=122 Exploring Operation: 69-53=16, Resulting Numbers: [67, 16] Generated Node #0,3,1: 83:[67, 16] Operation: 69-53=16 Exploring Operation: 53+67=120, Resulting Numbers: [69, 120] Generated Node #0,3,2: 83:[69, 120] Operation: 53+67=120 Exploring Operation: 67+69=136, Resulting Numbers: [53, 136] Generated Node #0,3,3: 83:[53, 136] Operation: 67+69=136 Exploring Operation: 67-53=14, Resulting Numbers: [69, 14] Generated Node #0,3,4: 83:[69, 14] Operation: 67-53=14 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[69, 120], Operations: ['82-13=69', '53+67=120'] Exploring Operation: 69+120=189, Resulting Numbers: [189] 189,83 unequal: No Solution Exploring Operation: 69*120=8280, Resulting Numbers: [8280] 8280,83 unequal: No Solution Exploring Operation: 120-69=51, Resulting Numbers: [51] 51,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[67, 122], Operations: ['82-13=69', '53+69=122'] Exploring Operation: 122-67=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 67*122=8174, Resulting Numbers: [8174] 8174,83 unequal: No Solution Exploring Operation: 67+122=189, Resulting Numbers: [189] 189,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[67, 16], Operations: ['82-13=69', '69-53=16'] Exploring Operation: 67*16=1072, Resulting Numbers: [1072] 1072,83 unequal: No Solution Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[53, 13, 82, 67], Operations: [] Exploring Operation: 82-13=69, Resulting Numbers: [53, 67, 69] Generated Node #0,3: 83:[53, 67, 69] Operation: 82-13=69 Moving to Node #0,3 Current State: 83:[53, 67, 69], Operations: ['82-13=69'] Exploring Operation: 69-53=16, Resulting Numbers: [67, 16] Generated Node #0,3,1: 83:[67, 16] Operation: 69-53=16 Moving to Node #0,3,1 Current State: 83:[67, 16], Operations: ['82-13=69', '69-53=16'] Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 48, 32, 25, 96 ]
31
[ "48-32=16", "96/16=6", "25+6=31" ]
Current State: 31:[48, 32, 25, 96], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [25, 96, 16] Generated Node #2: [25, 96, 16] from Operation: 48-32=16 Current State: 31:[25, 96, 16], Operations: ['48-32=16'] Exploring Operation: 96/16=6, Resulting Numbers: [25, 6] Generated Node #3: [25, 6] from Operation: 96/16=6 Current State: 31:[25, 6], Operations: ['48-32=16', '96/16=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[48, 32, 25, 96], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [32, 25, 48] Generated Node #0,0: 31:[32, 25, 48] Operation: 96-48=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[32, 25, 48], Operations: ['96-48=48'] Exploring Operation: 48-25=23, Resulting Numbers: [32, 23] Generated Node #0,0,0: 31:[32, 23] Operation: 48-25=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[32, 23], Operations: ['96-48=48', '48-25=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,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
mult_heuristic
[ 68, 73, 28, 2 ]
79
[ "68/2=34", "73-28=45", "34+45=79" ]
Current State: 79:[68, 73, 28, 2], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [73, 28, 34] Generated Node #2: [73, 28, 34] from Operation: 68/2=34 Current State: 79:[73, 28, 34], Operations: ['68/2=34'] Exploring Operation: 73-28=45, Resulting Numbers: [34, 45] Generated Node #3: [34, 45] from Operation: 73-28=45 Current State: 79:[34, 45], Operations: ['68/2=34', '73-28=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[68, 73, 28, 2], Operations: [] Exploring Operation: 28*2=56, Resulting Numbers: [68, 73, 56] Generated Node #0,0: 79:[68, 73, 56] Operation: 28*2=56 Moving to Node #0,0 Current State: 79:[68, 73, 56], Operations: ['28*2=56'] Exploring Operation: 68+56=124, Resulting Numbers: [73, 124] Generated Node #0,0,0: 79:[73, 124] Operation: 68+56=124 Moving to Node #0,0,0 Current State: 79:[73, 124], Operations: ['28*2=56', '68+56=124'] Exploring Operation: 124-73=51, Resulting Numbers: [51] 51,79 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 30, 61, 37, 18 ]
50
[ "61-30=31", "37-18=19", "31+19=50" ]
Current State: 50:[30, 61, 37, 18], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [37, 18, 31] Generated Node #2: [37, 18, 31] from Operation: 61-30=31 Current State: 50:[37, 18, 31], Operations: ['61-30=31'] Exploring Operation: 37-18=19, Resulting Numbers: [31, 19] Generated Node #3: [31, 19] from Operation: 37-18=19 Current State: 50:[31, 19], Operations: ['61-30=31', '37-18=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[30, 61, 37, 18], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [30, 18, 24] Generated Node #0,0: 50:[30, 18, 24] Operation: 61-37=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[30, 18, 24], Operations: ['61-37=24'] Exploring Operation: 30+18=48, Resulting Numbers: [24, 48] Generated Node #0,0,0: 50:[24, 48] Operation: 30+18=48 Moving to Node #0,0,0 Current State: 50:[24, 48], Operations: ['61-37=24', '30+18=48'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,50 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
[ 94, 32, 38, 90 ]
98
[ "38+90=128", "128/32=4", "94+4=98" ]
Current State: 98:[94, 32, 38, 90], Operations: [] Exploring Operation: 38+90=128, Resulting Numbers: [94, 32, 128] Generated Node #2: [94, 32, 128] from Operation: 38+90=128 Current State: 98:[94, 32, 128], Operations: ['38+90=128'] Exploring Operation: 128/32=4, Resulting Numbers: [94, 4] Generated Node #3: [94, 4] from Operation: 128/32=4 Current State: 98:[94, 4], Operations: ['38+90=128', '128/32=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[94, 32, 38, 90], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [32, 38, 4] Generated Node #0,0: 98:[32, 38, 4] Operation: 94-90=4 Exploring Operation: 38-32=6, Resulting Numbers: [94, 90, 6] Generated Node #0,1: 98:[94, 90, 6] Operation: 38-32=6 Exploring Operation: 94-32=62, Resulting Numbers: [38, 90, 62] Generated Node #0,2: 98:[38, 90, 62] Operation: 94-32=62 Exploring Operation: 90-38=52, Resulting Numbers: [94, 32, 52] Generated Node #0,3: 98:[94, 32, 52] Operation: 90-38=52 Exploring Operation: 90-32=58, Resulting Numbers: [94, 38, 58] Generated Node #0,4: 98:[94, 38, 58] Operation: 90-32=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[94, 90, 6], Operations: ['38-32=6'] Exploring Operation: 90+6=96, Resulting Numbers: [94, 96] Generated Node #0,1,0: 98:[94, 96] Operation: 90+6=96 Exploring Operation: 90/6=15, Resulting Numbers: [94, 15] Generated Node #0,1,1: 98:[94, 15] Operation: 90/6=15 Exploring Operation: 94-6=88, Resulting Numbers: [90, 88] Generated Node #0,1,2: 98:[90, 88] Operation: 94-6=88 Exploring Operation: 94+6=100, Resulting Numbers: [90, 100] Generated Node #0,1,3: 98:[90, 100] Operation: 94+6=100 Exploring Operation: 94-90=4, Resulting Numbers: [6, 4] Generated Node #0,1,4: 98:[6, 4] Operation: 94-90=4 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 98:[6, 4], Operations: ['38-32=6', '94-90=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,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:[94, 15], Operations: ['38-32=6', '90/6=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,98 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,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, 96], Operations: ['38-32=6', '90+6=96'] Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,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,3 Current State: 98:[90, 100], Operations: ['38-32=6', '94+6=100'] Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 90*100=9000, Resulting Numbers: [9000] 9000,98 unequal: No Solution Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,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:[90, 88], Operations: ['38-32=6', '94-6=88'] Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,98 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,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, 32, 52], Operations: ['90-38=52'] Exploring Operation: 52-32=20, Resulting Numbers: [94, 20] Generated Node #0,3,0: 98:[94, 20] Operation: 52-32=20 Exploring Operation: 94-32=62, Resulting Numbers: [52, 62] Generated Node #0,3,1: 98:[52, 62] Operation: 94-32=62 Exploring Operation: 94+32=126, Resulting Numbers: [52, 126] Generated Node #0,3,2: 98:[52, 126] Operation: 94+32=126 Exploring Operation: 32+52=84, Resulting Numbers: [94, 84] Generated Node #0,3,3: 98:[94, 84] Operation: 32+52=84 Exploring Operation: 94-52=42, Resulting Numbers: [32, 42] Generated Node #0,3,4: 98:[32, 42] Operation: 94-52=42 Moving to Node #0,3,0 Current State: 98:[94, 20], Operations: ['90-38=52', '52-32=20'] Exploring Operation: 94*20=1880, Resulting Numbers: [1880] 1880,98 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[52, 62], Operations: ['90-38=52', '94-32=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,98 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[94, 84], Operations: ['90-38=52', '32+52=84'] Exploring Operation: 94*84=7896, Resulting Numbers: [7896] 7896,98 unequal: No Solution Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 94+84=178, Resulting Numbers: [178] 178,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[32, 42], Operations: ['90-38=52', '94-52=42'] Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,98 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[52, 126], Operations: ['90-38=52', '94+32=126'] Exploring Operation: 52*126=6552, Resulting Numbers: [6552] 6552,98 unequal: No Solution Exploring Operation: 126-52=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 52+126=178, Resulting Numbers: [178] 178,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[94, 38, 58], Operations: ['90-32=58'] Exploring Operation: 94-58=36, Resulting Numbers: [38, 36] Generated Node #0,4,0: 98:[38, 36] Operation: 94-58=36 Exploring Operation: 94+38=132, Resulting Numbers: [58, 132] Generated Node #0,4,1: 98:[58, 132] Operation: 94+38=132 Exploring Operation: 58-38=20, Resulting Numbers: [94, 20] Generated Node #0,4,2: 98:[94, 20] Operation: 58-38=20 Exploring Operation: 38+58=96, Resulting Numbers: [94, 96] Generated Node #0,4,3: 98:[94, 96] Operation: 38+58=96 Exploring Operation: 94-38=56, Resulting Numbers: [58, 56] Generated Node #0,4,4: 98:[58, 56] Operation: 94-38=56 Moving to Node #0,4,3 Current State: 98:[94, 96], Operations: ['90-32=58', '38+58=96'] Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,98 unequal: No Solution Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[94, 20], Operations: ['90-32=58', '58-38=20'] Exploring Operation: 94*20=1880, Resulting Numbers: [1880] 1880,98 unequal: No Solution Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[58, 56], Operations: ['90-32=58', '94-38=56'] Exploring Operation: 58*56=3248, Resulting Numbers: [3248] 3248,98 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 58+56=114, Resulting Numbers: [114] 114,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[38, 36], Operations: ['90-32=58', '94-58=36'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[58, 132], Operations: ['90-32=58', '94+38=132'] Exploring Operation: 58+132=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 132-58=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 58*132=7656, Resulting Numbers: [7656] 7656,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[32, 38, 4], Operations: ['94-90=4'] Exploring Operation: 38+4=42, Resulting Numbers: [32, 42] Generated Node #0,0,0: 98:[32, 42] Operation: 38+4=42 Exploring Operation: 32+38=70, Resulting Numbers: [4, 70] Generated Node #0,0,1: 98:[4, 70] Operation: 32+38=70 Exploring Operation: 38-32=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 98:[4, 6] Operation: 38-32=6 Exploring Operation: 32+4=36, Resulting Numbers: [38, 36] Generated Node #0,0,3: 98:[38, 36] Operation: 32+4=36 Exploring Operation: 32/4=8, Resulting Numbers: [38, 8] Generated Node #0,0,4: 98:[38, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[4, 6], Operations: ['94-90=4', '38-32=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,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,4 Current State: 98:[38, 8], Operations: ['94-90=4', '32/4=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,98 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,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:[4, 70], Operations: ['94-90=4', '32+38=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,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:[32, 42], Operations: ['94-90=4', '38+4=42'] Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,98 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,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:[38, 36], Operations: ['94-90=4', '32+4=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,98 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,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:[38, 90, 62], Operations: ['94-32=62'] Exploring Operation: 62-38=24, Resulting Numbers: [90, 24] Generated Node #0,2,0: 98:[90, 24] Operation: 62-38=24 Exploring Operation: 38+62=100, Resulting Numbers: [90, 100] Generated Node #0,2,1: 98:[90, 100] Operation: 38+62=100 Exploring Operation: 90-62=28, Resulting Numbers: [38, 28] Generated Node #0,2,2: 98:[38, 28] Operation: 90-62=28 Exploring Operation: 38+90=128, Resulting Numbers: [62, 128] Generated Node #0,2,3: 98:[62, 128] Operation: 38+90=128 Exploring Operation: 90-38=52, Resulting Numbers: [62, 52] Generated Node #0,2,4: 98:[62, 52] Operation: 90-38=52 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[90, 100], Operations: ['94-32=62', '38+62=100'] Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 90*100=9000, Resulting Numbers: [9000] 9000,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,2,4 Current State: 98:[62, 52], Operations: ['94-32=62', '90-38=52'] Exploring Operation: 62+52=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 62*52=3224, Resulting Numbers: [3224] 3224,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,2,0 Current State: 98:[90, 24], Operations: ['94-32=62', '62-38=24'] Exploring Operation: 90*24=2160, Resulting Numbers: [2160] 2160,98 unequal: No Solution Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,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,2,2 Current State: 98:[38, 28], Operations: ['94-32=62', '90-62=28'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,98 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,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,2,3 Current State: 98:[62, 128], Operations: ['94-32=62', '38+90=128'] Exploring Operation: 128-62=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 62+128=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 62*128=7936, Resulting Numbers: [7936] 7936,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 18, 98, 96, 64 ]
50
[ "98-96=2", "64/2=32", "18+32=50" ]
Current State: 50:[18, 98, 96, 64], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [18, 64, 2] Generated Node #2: [18, 64, 2] from Operation: 98-96=2 Current State: 50:[18, 64, 2], Operations: ['98-96=2'] Exploring Operation: 64/2=32, Resulting Numbers: [18, 32] Generated Node #3: [18, 32] from Operation: 64/2=32 Current State: 50:[18, 32], Operations: ['98-96=2', '64/2=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[18, 98, 96, 64], Operations: [] Exploring Operation: 98-18=80, Resulting Numbers: [96, 64, 80] Generated Node #0,0: 50:[96, 64, 80] Operation: 98-18=80 Exploring Operation: 96-64=32, Resulting Numbers: [18, 98, 32] Generated Node #0,1: 50:[18, 98, 32] Operation: 96-64=32 Exploring Operation: 98-96=2, Resulting Numbers: [18, 64, 2] Generated Node #0,2: 50:[18, 64, 2] Operation: 98-96=2 Exploring Operation: 98-64=34, Resulting Numbers: [18, 96, 34] Generated Node #0,3: 50:[18, 96, 34] Operation: 98-64=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[18, 64, 2], Operations: ['98-96=2'] Exploring Operation: 18/2=9, Resulting Numbers: [64, 9] Generated Node #0,2,0: 50:[64, 9] Operation: 18/2=9 Exploring Operation: 18+2=20, Resulting Numbers: [64, 20] Generated Node #0,2,1: 50:[64, 20] Operation: 18+2=20 Exploring Operation: 64/2=32, Resulting Numbers: [18, 32] Generated Node #0,2,2: 50:[18, 32] Operation: 64/2=32 Exploring Operation: 64-18=46, Resulting Numbers: [2, 46] Generated Node #0,2,3: 50:[2, 46] Operation: 64-18=46 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[2, 46], Operations: ['98-96=2', '64-18=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,50 unequal: No Solution No 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: 50:[18, 32], Operations: ['98-96=2', '64/2=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[18, 98, 96, 64], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [18, 64, 2] Generated Node #0,2: 50:[18, 64, 2] Operation: 98-96=2 Moving to Node #0,2 Current State: 50:[18, 64, 2], Operations: ['98-96=2'] Exploring Operation: 64/2=32, Resulting Numbers: [18, 32] Generated Node #0,2,2: 50:[18, 32] Operation: 64/2=32 Moving to Node #0,2,2 Current State: 50:[18, 32], Operations: ['98-96=2', '64/2=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 32, 93, 12, 4 ]
23
[ "32*4=128", "93+12=105", "128-105=23" ]
Current State: 23:[32, 93, 12, 4], Operations: [] Exploring Operation: 32*4=128, Resulting Numbers: [93, 12, 128] Generated Node #2: [93, 12, 128] from Operation: 32*4=128 Current State: 23:[93, 12, 128], Operations: ['32*4=128'] Exploring Operation: 93+12=105, Resulting Numbers: [128, 105] Generated Node #3: [128, 105] from Operation: 93+12=105 Current State: 23:[128, 105], Operations: ['32*4=128', '93+12=105'] Exploring Operation: 128-105=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[32, 93, 12, 4], Operations: [] Exploring Operation: 93-32=61, Resulting Numbers: [12, 4, 61] Generated Node #0,0: 23:[12, 4, 61] Operation: 93-32=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[12, 4, 61], Operations: ['93-32=61'] Exploring Operation: 12+4=16, Resulting Numbers: [61, 16] Generated Node #0,0,0: 23:[61, 16] Operation: 12+4=16 Moving to Node #0,0,0 Current State: 23:[61, 16], Operations: ['93-32=61', '12+4=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,23 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
[ 11, 69, 67, 96 ]
29
[ "69-11=58", "96-67=29", "58-29=29" ]
Current State: 29:[11, 69, 67, 96], Operations: [] Exploring Operation: 69-11=58, Resulting Numbers: [67, 96, 58] Generated Node #2: [67, 96, 58] from Operation: 69-11=58 Current State: 29:[67, 96, 58], Operations: ['69-11=58'] Exploring Operation: 96-67=29, Resulting Numbers: [58, 29] Generated Node #3: [58, 29] from Operation: 96-67=29 Current State: 29:[58, 29], Operations: ['69-11=58', '96-67=29'] Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[11, 69, 67, 96], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [11, 67, 27] Generated Node #0,0: 29:[11, 67, 27] Operation: 96-69=27 Exploring Operation: 69-67=2, Resulting Numbers: [11, 96, 2] Generated Node #0,1: 29:[11, 96, 2] Operation: 69-67=2 Exploring Operation: 69-11=58, Resulting Numbers: [67, 96, 58] Generated Node #0,2: 29:[67, 96, 58] Operation: 69-11=58 Exploring Operation: 96-67=29, Resulting Numbers: [11, 69, 29] Generated Node #0,3: 29:[11, 69, 29] Operation: 96-67=29 Moving to Node #0,0 Current State: 29:[11, 67, 27], Operations: ['96-69=27'] Exploring Operation: 11+67=78, Resulting Numbers: [27, 78] Generated Node #0,0,0: 29:[27, 78] Operation: 11+67=78 Exploring Operation: 11+27=38, Resulting Numbers: [67, 38] Generated Node #0,0,1: 29:[67, 38] Operation: 11+27=38 Exploring Operation: 67-27=40, Resulting Numbers: [11, 40] Generated Node #0,0,2: 29:[11, 40] Operation: 67-27=40 Exploring Operation: 67-11=56, Resulting Numbers: [27, 56] Generated Node #0,0,3: 29:[27, 56] Operation: 67-11=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[11, 40], Operations: ['96-69=27', '67-27=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[11, 69, 67, 96], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [11, 67, 27] Generated Node #0,0: 29:[11, 67, 27] Operation: 96-69=27 Moving to Node #0,0 Current State: 29:[11, 67, 27], Operations: ['96-69=27'] Exploring Operation: 67-27=40, Resulting Numbers: [11, 40] Generated Node #0,0,2: 29:[11, 40] Operation: 67-27=40 Moving to Node #0,0,2 Current State: 29:[11, 40], Operations: ['96-69=27', '67-27=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 66, 72, 93, 84 ]
90
[ "66*93=6138", "72*84=6048", "6138-6048=90" ]
Current State: 90:[66, 72, 93, 84], Operations: [] Exploring Operation: 66*93=6138, Resulting Numbers: [72, 84, 6138] Generated Node #2: [72, 84, 6138] from Operation: 66*93=6138 Current State: 90:[72, 84, 6138], Operations: ['66*93=6138'] Exploring Operation: 72*84=6048, Resulting Numbers: [6138, 6048] Generated Node #3: [6138, 6048] from Operation: 72*84=6048 Current State: 90:[6138, 6048], Operations: ['66*93=6138', '72*84=6048'] Exploring Operation: 6138-6048=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[66, 72, 93, 84], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [93, 84, 6] Generated Node #0,0: 90:[93, 84, 6] Operation: 72-66=6 Moving to Node #0,0 Current State: 90:[93, 84, 6], Operations: ['72-66=6'] Exploring Operation: 93-84=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 90:[6, 9] Operation: 93-84=9 Moving to Node #0,0,0 Current State: 90:[6, 9], Operations: ['72-66=6', '93-84=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,90 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 39, 7, 9, 21 ]
16
[ "39+7=46", "9+21=30", "46-30=16" ]
Current State: 16:[39, 7, 9, 21], Operations: [] Exploring Operation: 39+7=46, Resulting Numbers: [9, 21, 46] Generated Node #2: [9, 21, 46] from Operation: 39+7=46 Current State: 16:[9, 21, 46], Operations: ['39+7=46'] Exploring Operation: 9+21=30, Resulting Numbers: [46, 30] Generated Node #3: [46, 30] from Operation: 9+21=30 Current State: 16:[46, 30], Operations: ['39+7=46', '9+21=30'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[39, 7, 9, 21], Operations: [] Exploring Operation: 39-7=32, Resulting Numbers: [9, 21, 32] Generated Node #0,0: 16:[9, 21, 32] Operation: 39-7=32 Exploring Operation: 39-21=18, Resulting Numbers: [7, 9, 18] Generated Node #0,1: 16:[7, 9, 18] Operation: 39-21=18 Exploring Operation: 39-9=30, Resulting Numbers: [7, 21, 30] Generated Node #0,2: 16:[7, 21, 30] Operation: 39-9=30 Moving to Node #0,1 Current State: 16:[7, 9, 18], Operations: ['39-21=18'] Exploring Operation: 18/9=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 16:[7, 2] Operation: 18/9=2 Exploring Operation: 7+9=16, Resulting Numbers: [18, 16] Generated Node #0,1,1: 16:[18, 16] Operation: 7+9=16 Exploring Operation: 9-7=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 16:[18, 2] Operation: 9-7=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[7, 2], Operations: ['39-21=18', '18/9=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[18, 16], Operations: ['39-21=18', '7+9=16'] Exploring Operation: 18*16=288, Resulting Numbers: [288] 288,16 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 18+16=34, Resulting Numbers: [34] 34,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[18, 2], Operations: ['39-21=18', '9-7=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[39, 7, 9, 21], Operations: [] Exploring Operation: 39-21=18, Resulting Numbers: [7, 9, 18] Generated Node #0,1: 16:[7, 9, 18] Operation: 39-21=18 Moving to Node #0,1 Current State: 16:[7, 9, 18], Operations: ['39-21=18'] Exploring Operation: 9-7=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 16:[18, 2] Operation: 9-7=2 Moving to Node #0,1,2 Current State: 16:[18, 2], Operations: ['39-21=18', '9-7=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 2, 8, 68, 88 ]
26
[ "8-2=6", "68+88=156", "156/6=26" ]
Current State: 26:[2, 8, 68, 88], Operations: [] Exploring Operation: 8-2=6, Resulting Numbers: [68, 88, 6] Generated Node #2: [68, 88, 6] from Operation: 8-2=6 Current State: 26:[68, 88, 6], Operations: ['8-2=6'] Exploring Operation: 68+88=156, Resulting Numbers: [6, 156] Generated Node #3: [6, 156] from Operation: 68+88=156 Current State: 26:[6, 156], Operations: ['8-2=6', '68+88=156'] Exploring Operation: 156/6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[2, 8, 68, 88], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [8, 88, 34] Generated Node #0,0: 26:[8, 88, 34] Operation: 68/2=34 Exploring Operation: 88/2=44, Resulting Numbers: [8, 68, 44] Generated Node #0,1: 26:[8, 68, 44] Operation: 88/2=44 Exploring Operation: 88/8=11, Resulting Numbers: [2, 68, 11] Generated Node #0,2: 26:[2, 68, 11] Operation: 88/8=11 Exploring Operation: 88-68=20, Resulting Numbers: [2, 8, 20] Generated Node #0,3: 26:[2, 8, 20] Operation: 88-68=20 Exploring Operation: 68-8=60, Resulting Numbers: [2, 88, 60] Generated Node #0,4: 26:[2, 88, 60] Operation: 68-8=60 Moving to Node #0,3 Current State: 26:[2, 8, 20], Operations: ['88-68=20'] Exploring Operation: 2+8=10, Resulting Numbers: [20, 10] Generated Node #0,3,0: 26:[20, 10] Operation: 2+8=10 Exploring Operation: 8+20=28, Resulting Numbers: [2, 28] Generated Node #0,3,1: 26:[2, 28] Operation: 8+20=28 Exploring Operation: 20-8=12, Resulting Numbers: [2, 12] Generated Node #0,3,2: 26:[2, 12] Operation: 20-8=12 Exploring Operation: 8/2=4, Resulting Numbers: [20, 4] Generated Node #0,3,3: 26:[20, 4] Operation: 8/2=4 Exploring Operation: 20/2=10, Resulting Numbers: [8, 10] Generated Node #0,3,4: 26:[8, 10] Operation: 20/2=10 Moving to Node #0,2 Current State: 26:[2, 68, 11], Operations: ['88/8=11'] Exploring Operation: 68/2=34, Resulting Numbers: [11, 34] Generated Node #0,2,0: 26:[11, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [11, 66] Generated Node #0,2,1: 26:[11, 66] Operation: 68-2=66 Exploring Operation: 2+11=13, Resulting Numbers: [68, 13] Generated Node #0,2,2: 26:[68, 13] Operation: 2+11=13 Exploring Operation: 2+68=70, Resulting Numbers: [11, 70] Generated Node #0,2,3: 26:[11, 70] Operation: 2+68=70 Exploring Operation: 68-11=57, Resulting Numbers: [2, 57] Generated Node #0,2,4: 26:[2, 57] Operation: 68-11=57 Moving to Node #0,1 Current State: 26:[8, 68, 44], Operations: ['88/2=44'] Exploring Operation: 8+44=52, Resulting Numbers: [68, 52] Generated Node #0,1,0: 26:[68, 52] Operation: 8+44=52 Exploring Operation: 44-8=36, Resulting Numbers: [68, 36] Generated Node #0,1,1: 26:[68, 36] Operation: 44-8=36 Exploring Operation: 8+68=76, Resulting Numbers: [44, 76] Generated Node #0,1,2: 26:[44, 76] Operation: 8+68=76 Exploring Operation: 68-44=24, Resulting Numbers: [8, 24] Generated Node #0,1,3: 26:[8, 24] Operation: 68-44=24 Exploring Operation: 68-8=60, Resulting Numbers: [44, 60] Generated Node #0,1,4: 26:[44, 60] Operation: 68-8=60 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 26:[8, 24], Operations: ['88/2=44', '68-44=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,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,1,1 Current State: 26:[68, 36], Operations: ['88/2=44', '44-8=36'] Exploring Operation: 68*36=2448, Resulting Numbers: [2448] 2448,26 unequal: No Solution Exploring Operation: 68+36=104, Resulting Numbers: [104] 104,26 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,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,1,4 Current State: 26:[44, 60], Operations: ['88/2=44', '68-8=60'] Exploring Operation: 44+60=104, Resulting Numbers: [104] 104,26 unequal: No Solution Exploring Operation: 44*60=2640, Resulting Numbers: [2640] 2640,26 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,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,1,0 Current State: 26:[68, 52], Operations: ['88/2=44', '8+44=52'] Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,26 unequal: No Solution Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,26 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,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,1,2 Current State: 26:[44, 76], Operations: ['88/2=44', '8+68=76'] Exploring Operation: 44+76=120, Resulting Numbers: [120] 120,26 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 44*76=3344, Resulting Numbers: [3344] 3344,26 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: 26:[8, 88, 34], Operations: ['68/2=34'] Exploring Operation: 8+88=96, Resulting Numbers: [34, 96] Generated Node #0,0,0: 26:[34, 96] Operation: 8+88=96 Exploring Operation: 34-8=26, Resulting Numbers: [88, 26] Generated Node #0,0,1: 26:[88, 26] Operation: 34-8=26 Exploring Operation: 88-8=80, Resulting Numbers: [34, 80] Generated Node #0,0,2: 26:[34, 80] Operation: 88-8=80 Exploring Operation: 88/8=11, Resulting Numbers: [34, 11] Generated Node #0,0,3: 26:[34, 11] Operation: 88/8=11 Exploring Operation: 88-34=54, Resulting Numbers: [8, 54] Generated Node #0,0,4: 26:[8, 54] Operation: 88-34=54 Moving to Node #0,4 Current State: 26:[2, 88, 60], Operations: ['68-8=60'] Exploring Operation: 88/2=44, Resulting Numbers: [60, 44] Generated Node #0,4,0: 26:[60, 44] Operation: 88/2=44 Exploring Operation: 88-2=86, Resulting Numbers: [60, 86] Generated Node #0,4,1: 26:[60, 86] Operation: 88-2=86 Exploring Operation: 60-2=58, Resulting Numbers: [88, 58] Generated Node #0,4,2: 26:[88, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [88, 30] Generated Node #0,4,3: 26:[88, 30] Operation: 60/2=30 Exploring Operation: 88-60=28, Resulting Numbers: [2, 28] Generated Node #0,4,4: 26:[2, 28] Operation: 88-60=28 Moving to Node #0,3,2 Current State: 26:[2, 12], Operations: ['88-68=20', '20-8=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[2, 28], Operations: ['88-68=20', '8+20=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[2, 8, 68, 88], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [2, 8, 20] Generated Node #0,3: 26:[2, 8, 20] Operation: 88-68=20 Moving to Node #0,3 Current State: 26:[2, 8, 20], Operations: ['88-68=20'] Exploring Operation: 8+20=28, Resulting Numbers: [2, 28] Generated Node #0,3,1: 26:[2, 28] Operation: 8+20=28 Moving to Node #0,3,1 Current State: 26:[2, 28], Operations: ['88-68=20', '8+20=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.951389
hs_5
mult_heuristic
[ 90, 37, 22, 67 ]
35
[ "67-22=45", "90/45=2", "37-2=35" ]
Current State: 35:[90, 37, 22, 67], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [90, 37, 45] Generated Node #2: [90, 37, 45] from Operation: 67-22=45 Current State: 35:[90, 37, 45], Operations: ['67-22=45'] Exploring Operation: 90/45=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 90/45=2 Current State: 35:[37, 2], Operations: ['67-22=45', '90/45=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[90, 37, 22, 67], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [90, 37, 45] Generated Node #0,0: 35:[90, 37, 45] Operation: 67-22=45 Exploring Operation: 90-22=68, Resulting Numbers: [37, 67, 68] Generated Node #0,1: 35:[37, 67, 68] Operation: 90-22=68 Exploring Operation: 67-37=30, Resulting Numbers: [90, 22, 30] Generated Node #0,2: 35:[90, 22, 30] Operation: 67-37=30 Exploring Operation: 90-67=23, Resulting Numbers: [37, 22, 23] Generated Node #0,3: 35:[37, 22, 23] Operation: 90-67=23 Exploring Operation: 90-37=53, Resulting Numbers: [22, 67, 53] Generated Node #0,4: 35:[22, 67, 53] Operation: 90-37=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[37, 22, 23], Operations: ['90-67=23'] Exploring Operation: 37-23=14, Resulting Numbers: [22, 14] Generated Node #0,3,0: 35:[22, 14] Operation: 37-23=14 Exploring Operation: 37+22=59, Resulting Numbers: [23, 59] Generated Node #0,3,1: 35:[23, 59] Operation: 37+22=59 Exploring Operation: 22+23=45, Resulting Numbers: [37, 45] Generated Node #0,3,2: 35:[37, 45] Operation: 22+23=45 Exploring Operation: 23-22=1, Resulting Numbers: [37, 1] Generated Node #0,3,3: 35:[37, 1] Operation: 23-22=1 Exploring Operation: 37-22=15, Resulting Numbers: [23, 15] Generated Node #0,3,4: 35:[23, 15] Operation: 37-22=15 Moving to Node #0,3,3 Current State: 35:[37, 1], Operations: ['90-67=23', '23-22=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[37, 45], Operations: ['90-67=23', '22+23=45'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[22, 14], Operations: ['90-67=23', '37-23=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,35 unequal: No Solution Moving to Node #0,3,4 Current State: 35:[23, 15], Operations: ['90-67=23', '37-22=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,35 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[23, 59], Operations: ['90-67=23', '37+22=59'] Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 23+59=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 23*59=1357, Resulting Numbers: [1357] 1357,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[22, 67, 53], Operations: ['90-37=53'] Exploring Operation: 22+53=75, Resulting Numbers: [67, 75] Generated Node #0,4,0: 35:[67, 75] Operation: 22+53=75 Exploring Operation: 22+67=89, Resulting Numbers: [53, 89] Generated Node #0,4,1: 35:[53, 89] Operation: 22+67=89 Exploring Operation: 67-22=45, Resulting Numbers: [53, 45] Generated Node #0,4,2: 35:[53, 45] Operation: 67-22=45 Exploring Operation: 53-22=31, Resulting Numbers: [67, 31] Generated Node #0,4,3: 35:[67, 31] Operation: 53-22=31 Exploring Operation: 67-53=14, Resulting Numbers: [22, 14] Generated Node #0,4,4: 35:[22, 14] Operation: 67-53=14 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[22, 14], Operations: ['90-37=53', '67-53=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,35 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[53, 45], Operations: ['90-37=53', '67-22=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 35:[67, 31], Operations: ['90-37=53', '53-22=31'] Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,35 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 35:[67, 75], Operations: ['90-37=53', '22+53=75'] Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,35 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,35 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[53, 89], Operations: ['90-37=53', '22+67=89'] Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 53+89=142, Resulting Numbers: [142] 142,35 unequal: No Solution Exploring Operation: 53*89=4717, Resulting Numbers: [4717] 4717,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[90, 37, 45], Operations: ['67-22=45'] Exploring Operation: 90+37=127, Resulting Numbers: [45, 127] Generated Node #0,0,0: 35:[45, 127] Operation: 90+37=127 Exploring Operation: 90/45=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 35:[37, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [37, 45] Generated Node #0,0,2: 35:[37, 45] Operation: 90-45=45 Exploring Operation: 90-37=53, Resulting Numbers: [45, 53] Generated Node #0,0,3: 35:[45, 53] Operation: 90-37=53 Exploring Operation: 45-37=8, Resulting Numbers: [90, 8] Generated Node #0,0,4: 35:[90, 8] Operation: 45-37=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[37, 2], Operations: ['67-22=45', '90/45=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[90, 37, 22, 67], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [90, 37, 45] Generated Node #0,0: 35:[90, 37, 45] Operation: 67-22=45 Moving to Node #0,0 Current State: 35:[90, 37, 45], Operations: ['67-22=45'] Exploring Operation: 90/45=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 35:[37, 2] Operation: 90/45=2 Moving to Node #0,0,1 Current State: 35:[37, 2], Operations: ['67-22=45', '90/45=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 59, 42, 13, 2 ]
51
[ "59+13=72", "42/2=21", "72-21=51" ]
Current State: 51:[59, 42, 13, 2], Operations: [] Exploring Operation: 59+13=72, Resulting Numbers: [42, 2, 72] Generated Node #2: [42, 2, 72] from Operation: 59+13=72 Current State: 51:[42, 2, 72], Operations: ['59+13=72'] Exploring Operation: 42/2=21, Resulting Numbers: [72, 21] Generated Node #3: [72, 21] from Operation: 42/2=21 Current State: 51:[72, 21], Operations: ['59+13=72', '42/2=21'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[59, 42, 13, 2], Operations: [] Exploring Operation: 59-42=17, Resulting Numbers: [13, 2, 17] Generated Node #0,0: 51:[13, 2, 17] Operation: 59-42=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[13, 2, 17], Operations: ['59-42=17'] Exploring Operation: 13+2=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 51:[17, 15] Operation: 13+2=15 Moving to Node #0,0,0 Current State: 51:[17, 15], Operations: ['59-42=17', '13+2=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 62, 18, 42, 17 ]
19
[ "62-18=44", "42-17=25", "44-25=19" ]
Current State: 19:[62, 18, 42, 17], Operations: [] Exploring Operation: 62-18=44, Resulting Numbers: [42, 17, 44] Generated Node #2: [42, 17, 44] from Operation: 62-18=44 Current State: 19:[42, 17, 44], Operations: ['62-18=44'] Exploring Operation: 42-17=25, Resulting Numbers: [44, 25] Generated Node #3: [44, 25] from Operation: 42-17=25 Current State: 19:[44, 25], Operations: ['62-18=44', '42-17=25'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[62, 18, 42, 17], Operations: [] Exploring Operation: 62-42=20, Resulting Numbers: [18, 17, 20] Generated Node #0,0: 19:[18, 17, 20] Operation: 62-42=20 Exploring Operation: 42-18=24, Resulting Numbers: [62, 17, 24] Generated Node #0,1: 19:[62, 17, 24] Operation: 42-18=24 Exploring Operation: 62-18=44, Resulting Numbers: [42, 17, 44] Generated Node #0,2: 19:[42, 17, 44] Operation: 62-18=44 Exploring Operation: 62-17=45, Resulting Numbers: [18, 42, 45] Generated Node #0,3: 19:[18, 42, 45] Operation: 62-17=45 Moving to Node #0,0 Current State: 19:[18, 17, 20], Operations: ['62-42=20'] Exploring Operation: 20-17=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 19:[18, 3] Operation: 20-17=3 Exploring Operation: 18+17=35, Resulting Numbers: [20, 35] Generated Node #0,0,1: 19:[20, 35] Operation: 18+17=35 Exploring Operation: 18-17=1, Resulting Numbers: [20, 1] Generated Node #0,0,2: 19:[20, 1] Operation: 18-17=1 Exploring Operation: 20-18=2, Resulting Numbers: [17, 2] Generated Node #0,0,3: 19:[17, 2] Operation: 20-18=2 Moving to Node #0,2 Current State: 19:[42, 17, 44], Operations: ['62-18=44'] Exploring Operation: 44-17=27, Resulting Numbers: [42, 27] Generated Node #0,2,0: 19:[42, 27] Operation: 44-17=27 Exploring Operation: 42-17=25, Resulting Numbers: [44, 25] Generated Node #0,2,1: 19:[44, 25] Operation: 42-17=25 Exploring Operation: 44-42=2, Resulting Numbers: [17, 2] Generated Node #0,2,2: 19:[17, 2] Operation: 44-42=2 Exploring Operation: 42+17=59, Resulting Numbers: [44, 59] Generated Node #0,2,3: 19:[44, 59] Operation: 42+17=59 Moving to Node #0,1 Current State: 19:[62, 17, 24], Operations: ['42-18=24'] Exploring Operation: 24-17=7, Resulting Numbers: [62, 7] Generated Node #0,1,0: 19:[62, 7] Operation: 24-17=7 Exploring Operation: 62+17=79, Resulting Numbers: [24, 79] Generated Node #0,1,1: 19:[24, 79] Operation: 62+17=79 Exploring Operation: 62-17=45, Resulting Numbers: [24, 45] Generated Node #0,1,2: 19:[24, 45] Operation: 62-17=45 Exploring Operation: 62-24=38, Resulting Numbers: [17, 38] Generated Node #0,1,3: 19:[17, 38] Operation: 62-24=38 Moving to Node #0,3 Current State: 19:[18, 42, 45], Operations: ['62-17=45'] Exploring Operation: 45-18=27, Resulting Numbers: [42, 27] Generated Node #0,3,0: 19:[42, 27] Operation: 45-18=27 Exploring Operation: 42-18=24, Resulting Numbers: [45, 24] Generated Node #0,3,1: 19:[45, 24] Operation: 42-18=24 Exploring Operation: 18+42=60, Resulting Numbers: [45, 60] Generated Node #0,3,2: 19:[45, 60] Operation: 18+42=60 Exploring Operation: 45-42=3, Resulting Numbers: [18, 3] Generated Node #0,3,3: 19:[18, 3] Operation: 45-42=3 Moving to Node #0,0,0 Current State: 19:[18, 3], Operations: ['62-42=20', '20-17=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[18, 3], Operations: ['62-17=45', '45-42=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[20, 35], Operations: ['62-42=20', '18+17=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,19 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[20, 1], Operations: ['62-42=20', '18-17=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[62, 18, 42, 17], Operations: [] Exploring Operation: 62-42=20, Resulting Numbers: [18, 17, 20] Generated Node #0,0: 19:[18, 17, 20] Operation: 62-42=20 Moving to Node #0,0 Current State: 19:[18, 17, 20], Operations: ['62-42=20'] Exploring Operation: 18-17=1, Resulting Numbers: [20, 1] Generated Node #0,0,2: 19:[20, 1] Operation: 18-17=1 Moving to Node #0,0,2 Current State: 19:[20, 1], Operations: ['62-42=20', '18-17=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.967882
hs_4
sum_heuristic
[ 39, 44, 10, 11 ]
13
[ "44-39=5", "10/5=2", "11+2=13" ]
Current State: 13:[39, 44, 10, 11], Operations: [] Exploring Operation: 44-39=5, Resulting Numbers: [10, 11, 5] Generated Node #2: [10, 11, 5] from Operation: 44-39=5 Current State: 13:[10, 11, 5], Operations: ['44-39=5'] Exploring Operation: 10/5=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 10/5=2 Current State: 13:[11, 2], Operations: ['44-39=5', '10/5=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[39, 44, 10, 11], Operations: [] Exploring Operation: 39-10=29, Resulting Numbers: [44, 11, 29] Generated Node #0,0: 13:[44, 11, 29] Operation: 39-10=29 Exploring Operation: 39-11=28, Resulting Numbers: [44, 10, 28] Generated Node #0,1: 13:[44, 10, 28] Operation: 39-11=28 Exploring Operation: 44-39=5, Resulting Numbers: [10, 11, 5] Generated Node #0,2: 13:[10, 11, 5] Operation: 44-39=5 Exploring Operation: 44/11=4, Resulting Numbers: [39, 10, 4] Generated Node #0,3: 13:[39, 10, 4] Operation: 44/11=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[10, 11, 5], Operations: ['44-39=5'] Exploring Operation: 11-5=6, Resulting Numbers: [10, 6] Generated Node #0,2,0: 13:[10, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [10, 16] Generated Node #0,2,1: 13:[10, 16] Operation: 11+5=16 Exploring Operation: 10+5=15, Resulting Numbers: [11, 15] Generated Node #0,2,2: 13:[11, 15] Operation: 10+5=15 Exploring Operation: 10-5=5, Resulting Numbers: [11, 5] Generated Node #0,2,3: 13:[11, 5] Operation: 10-5=5 Moving to Node #0,2,2 Current State: 13:[11, 15], Operations: ['44-39=5', '10+5=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,13 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[10, 16], Operations: ['44-39=5', '11+5=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[11, 5], Operations: ['44-39=5', '10-5=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[10, 6], Operations: ['44-39=5', '11-5=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[39, 10, 4], Operations: ['44/11=4'] Exploring Operation: 39-10=29, Resulting Numbers: [4, 29] Generated Node #0,3,0: 13:[4, 29] Operation: 39-10=29 Exploring Operation: 39-4=35, Resulting Numbers: [10, 35] Generated Node #0,3,1: 13:[10, 35] Operation: 39-4=35 Exploring Operation: 39+4=43, Resulting Numbers: [10, 43] Generated Node #0,3,2: 13:[10, 43] Operation: 39+4=43 Exploring Operation: 10+4=14, Resulting Numbers: [39, 14] Generated Node #0,3,3: 13:[39, 14] Operation: 10+4=14 Moving to Node #0,3,0 Current State: 13:[4, 29], Operations: ['44/11=4', '39-10=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[10, 35], Operations: ['44/11=4', '39-4=35'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,13 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[39, 14], Operations: ['44/11=4', '10+4=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,13 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[10, 43], Operations: ['44/11=4', '39+4=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,13 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[44, 11, 29], Operations: ['39-10=29'] Exploring Operation: 44-11=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 13:[29, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [29, 4] Generated Node #0,0,1: 13:[29, 4] Operation: 44/11=4 Exploring Operation: 29-11=18, Resulting Numbers: [44, 18] Generated Node #0,0,2: 13:[44, 18] Operation: 29-11=18 Exploring Operation: 44-29=15, Resulting Numbers: [11, 15] Generated Node #0,0,3: 13:[11, 15] Operation: 44-29=15 Moving to Node #0,0,3 Current State: 13:[11, 15], Operations: ['39-10=29', '44-29=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,13 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[29, 4], Operations: ['39-10=29', '44/11=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,13 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[44, 18], Operations: ['39-10=29', '29-11=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[29, 33], Operations: ['39-10=29', '44-11=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[44, 10, 28], Operations: ['39-11=28'] Exploring Operation: 44-28=16, Resulting Numbers: [10, 16] Generated Node #0,1,0: 13:[10, 16] Operation: 44-28=16 Exploring Operation: 44+10=54, Resulting Numbers: [28, 54] Generated Node #0,1,1: 13:[28, 54] Operation: 44+10=54 Exploring Operation: 44-10=34, Resulting Numbers: [28, 34] Generated Node #0,1,2: 13:[28, 34] Operation: 44-10=34 Exploring Operation: 28-10=18, Resulting Numbers: [44, 18] Generated Node #0,1,3: 13:[44, 18] Operation: 28-10=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[10, 16], Operations: ['39-11=28', '44-28=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[28, 34], Operations: ['39-11=28', '44-10=34'] Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,13 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 13:[44, 18], Operations: ['39-11=28', '28-10=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[28, 54], Operations: ['39-11=28', '44+10=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,13 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 2, 10, 69, 98 ]
34
[ "10/2=5", "98-69=29", "5+29=34" ]
Current State: 34:[2, 10, 69, 98], Operations: [] Exploring Operation: 10/2=5, Resulting Numbers: [69, 98, 5] Generated Node #2: [69, 98, 5] from Operation: 10/2=5 Current State: 34:[69, 98, 5], Operations: ['10/2=5'] Exploring Operation: 98-69=29, Resulting Numbers: [5, 29] Generated Node #3: [5, 29] from Operation: 98-69=29 Current State: 34:[5, 29], Operations: ['10/2=5', '98-69=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 10, 69, 98], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [2, 10, 29] Generated Node #0,0: 34:[2, 10, 29] Operation: 98-69=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[2, 10, 29], Operations: ['98-69=29'] Exploring Operation: 29-10=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 34:[2, 19] Operation: 29-10=19 Moving to Node #0,0,0 Current State: 34:[2, 19], Operations: ['98-69=29', '29-10=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,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
[ 84, 4, 22, 19 ]
76
[ "84+4=88", "88/22=4", "19*4=76" ]
Current State: 76:[84, 4, 22, 19], Operations: [] Exploring Operation: 84+4=88, Resulting Numbers: [22, 19, 88] Generated Node #2: [22, 19, 88] from Operation: 84+4=88 Current State: 76:[22, 19, 88], Operations: ['84+4=88'] Exploring Operation: 88/22=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 88/22=4 Current State: 76:[19, 4], Operations: ['84+4=88', '88/22=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[84, 4, 22, 19], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [22, 19, 80] Generated Node #0,0: 76:[22, 19, 80] Operation: 84-4=80 Exploring Operation: 22-4=18, Resulting Numbers: [84, 19, 18] Generated Node #0,1: 76:[84, 19, 18] Operation: 22-4=18 Exploring Operation: 84/4=21, Resulting Numbers: [22, 19, 21] Generated Node #0,2: 76:[22, 19, 21] Operation: 84/4=21 Exploring Operation: 22-19=3, Resulting Numbers: [84, 4, 3] Generated Node #0,3: 76:[84, 4, 3] Operation: 22-19=3 Moving to Node #0,2 Current State: 76:[22, 19, 21], Operations: ['84/4=21'] Exploring Operation: 22-19=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 76:[21, 3] Operation: 22-19=3 Exploring Operation: 22-21=1, Resulting Numbers: [19, 1] Generated Node #0,2,1: 76:[19, 1] Operation: 22-21=1 Exploring Operation: 22+19=41, Resulting Numbers: [21, 41] Generated Node #0,2,2: 76:[21, 41] Operation: 22+19=41 Exploring Operation: 21-19=2, Resulting Numbers: [22, 2] Generated Node #0,2,3: 76:[22, 2] Operation: 21-19=2 Moving to Node #0,0 Current State: 76:[22, 19, 80], Operations: ['84-4=80'] Exploring Operation: 80-22=58, Resulting Numbers: [19, 58] Generated Node #0,0,0: 76:[19, 58] Operation: 80-22=58 Exploring Operation: 22+19=41, Resulting Numbers: [80, 41] Generated Node #0,0,1: 76:[80, 41] Operation: 22+19=41 Exploring Operation: 22-19=3, Resulting Numbers: [80, 3] Generated Node #0,0,2: 76:[80, 3] Operation: 22-19=3 Exploring Operation: 80-19=61, Resulting Numbers: [22, 61] Generated Node #0,0,3: 76:[22, 61] Operation: 80-19=61 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[80, 3], Operations: ['84-4=80', '22-19=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,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:[80, 41], Operations: ['84-4=80', '22+19=41'] Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,76 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,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:[19, 58], Operations: ['84-4=80', '80-22=58'] Exploring Operation: 19*58=1102, Resulting Numbers: [1102] 1102,76 unequal: No Solution Exploring Operation: 19+58=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,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,3 Current State: 76:[22, 61], Operations: ['84-4=80', '80-19=61'] Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,76 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,76 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: 76:[84, 4, 3], Operations: ['22-19=3'] Exploring Operation: 84-4=80, Resulting Numbers: [3, 80] Generated Node #0,3,0: 76:[3, 80] Operation: 84-4=80 Exploring Operation: 84-3=81, Resulting Numbers: [4, 81] Generated Node #0,3,1: 76:[4, 81] Operation: 84-3=81 Exploring Operation: 84/4=21, Resulting Numbers: [3, 21] Generated Node #0,3,2: 76:[3, 21] Operation: 84/4=21 Exploring Operation: 84/3=28, Resulting Numbers: [4, 28] Generated Node #0,3,3: 76:[4, 28] Operation: 84/3=28 Moving to Node #0,1 Current State: 76:[84, 19, 18], Operations: ['22-4=18'] Exploring Operation: 84-18=66, Resulting Numbers: [19, 66] Generated Node #0,1,0: 76:[19, 66] Operation: 84-18=66 Exploring Operation: 84-19=65, Resulting Numbers: [18, 65] Generated Node #0,1,1: 76:[18, 65] Operation: 84-19=65 Exploring Operation: 19+18=37, Resulting Numbers: [84, 37] Generated Node #0,1,2: 76:[84, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [84, 1] Generated Node #0,1,3: 76:[84, 1] Operation: 19-18=1 Moving to Node #0,2,1 Current State: 76:[19, 1], Operations: ['84/4=21', '22-21=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[22, 2], Operations: ['84/4=21', '21-19=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[21, 3], Operations: ['84/4=21', '22-19=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[3, 21], Operations: ['22-19=3', '84/4=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[4, 81], Operations: ['22-19=3', '84-3=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,76 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[3, 80], Operations: ['22-19=3', '84-4=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[21, 41], Operations: ['84/4=21', '22+19=41'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,76 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[4, 28], Operations: ['22-19=3', '84/3=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,76 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[84, 1], Operations: ['22-4=18', '19-18=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[84, 37], Operations: ['22-4=18', '19+18=37'] Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,76 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[19, 66], Operations: ['22-4=18', '84-18=66'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,76 unequal: No Solution Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[18, 65], Operations: ['22-4=18', '84-19=65'] Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,76 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 18, 20, 74 ]
86
[ "26-18=8", "20+74=94", "94-8=86" ]
Current State: 86:[26, 18, 20, 74], Operations: [] Exploring Operation: 26-18=8, Resulting Numbers: [20, 74, 8] Generated Node #2: [20, 74, 8] from Operation: 26-18=8 Current State: 86:[20, 74, 8], Operations: ['26-18=8'] Exploring Operation: 20+74=94, Resulting Numbers: [8, 94] Generated Node #3: [8, 94] from Operation: 20+74=94 Current State: 86:[8, 94], Operations: ['26-18=8', '20+74=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[26, 18, 20, 74], Operations: [] Exploring Operation: 26+18=44, Resulting Numbers: [20, 74, 44] Generated Node #0,0: 86:[20, 74, 44] Operation: 26+18=44 Exploring Operation: 20-18=2, Resulting Numbers: [26, 74, 2] Generated Node #0,1: 86:[26, 74, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[26, 74, 2], Operations: ['20-18=2'] Exploring Operation: 26+74=100, Resulting Numbers: [2, 100] Generated Node #0,1,0: 86:[2, 100] Operation: 26+74=100 Exploring Operation: 74-26=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 86:[2, 48] Operation: 74-26=48 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[2, 48], Operations: ['20-18=2', '74-26=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,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,1,0 Current State: 86:[2, 100], Operations: ['20-18=2', '26+74=100'] Exploring Operation: 100/2=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,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,0 Current State: 86:[20, 74, 44], Operations: ['26+18=44'] Exploring Operation: 20+74=94, Resulting Numbers: [44, 94] Generated Node #0,0,0: 86:[44, 94] Operation: 20+74=94 Exploring Operation: 74-20=54, Resulting Numbers: [44, 54] Generated Node #0,0,1: 86:[44, 54] Operation: 74-20=54 Moving to Node #0,0,0 Current State: 86:[44, 94], Operations: ['26+18=44', '20+74=94'] Exploring Operation: 94-44=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 44+94=138, Resulting Numbers: [138] 138,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[44, 54], Operations: ['26+18=44', '74-20=54'] Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,86 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
[ 95, 84, 42, 94 ]
96
[ "95*84=7980", "7980/42=190", "190-94=96" ]
Current State: 96:[95, 84, 42, 94], Operations: [] Exploring Operation: 95*84=7980, Resulting Numbers: [42, 94, 7980] Generated Node #2: [42, 94, 7980] from Operation: 95*84=7980 Current State: 96:[42, 94, 7980], Operations: ['95*84=7980'] Exploring Operation: 7980/42=190, Resulting Numbers: [94, 190] Generated Node #3: [94, 190] from Operation: 7980/42=190 Current State: 96:[94, 190], Operations: ['95*84=7980', '7980/42=190'] Exploring Operation: 190-94=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[95, 84, 42, 94], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [95, 94, 2] Generated Node #0,0: 96:[95, 94, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [95, 94, 42] Generated Node #0,1: 96:[95, 94, 42] Operation: 84-42=42 Exploring Operation: 94-42=52, Resulting Numbers: [95, 84, 52] Generated Node #0,2: 96:[95, 84, 52] Operation: 94-42=52 Exploring Operation: 95-84=11, Resulting Numbers: [42, 94, 11] Generated Node #0,3: 96:[42, 94, 11] Operation: 95-84=11 Exploring Operation: 94-84=10, Resulting Numbers: [95, 42, 10] Generated Node #0,4: 96:[95, 42, 10] Operation: 94-84=10 Moving to Node #0,0 Current State: 96:[95, 94, 2], Operations: ['84/42=2'] Exploring Operation: 94+2=96, Resulting Numbers: [95, 96] Generated Node #0,0,0: 96:[95, 96] Operation: 94+2=96 Exploring Operation: 95+2=97, Resulting Numbers: [94, 97] Generated Node #0,0,1: 96:[94, 97] Operation: 95+2=97 Exploring Operation: 94/2=47, Resulting Numbers: [95, 47] Generated Node #0,0,2: 96:[95, 47] Operation: 94/2=47 Exploring Operation: 95-2=93, Resulting Numbers: [94, 93] Generated Node #0,0,3: 96:[94, 93] Operation: 95-2=93 Exploring Operation: 95-94=1, Resulting Numbers: [2, 1] Generated Node #0,0,4: 96:[2, 1] Operation: 95-94=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[95, 96], Operations: ['84/42=2', '94+2=96'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 95*96=9120, Resulting Numbers: [9120] 9120,96 unequal: No Solution Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 96:[2, 1], Operations: ['84/42=2', '95-94=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[95, 47], Operations: ['84/42=2', '94/2=47'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,96 unequal: No Solution Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[94, 97], Operations: ['84/42=2', '95+2=97'] Exploring Operation: 97-94=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 94*97=9118, Resulting Numbers: [9118] 9118,96 unequal: No Solution Exploring Operation: 94+97=191, Resulting Numbers: [191] 191,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[94, 93], Operations: ['84/42=2', '95-2=93'] Exploring Operation: 94+93=187, Resulting Numbers: [187] 187,96 unequal: No Solution Exploring Operation: 94-93=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 94*93=8742, Resulting Numbers: [8742] 8742,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 96:[42, 94, 11], Operations: ['95-84=11'] Exploring Operation: 42-11=31, Resulting Numbers: [94, 31] Generated Node #0,3,0: 96:[94, 31] Operation: 42-11=31 Exploring Operation: 94+11=105, Resulting Numbers: [42, 105] Generated Node #0,3,1: 96:[42, 105] Operation: 94+11=105 Exploring Operation: 94-11=83, Resulting Numbers: [42, 83] Generated Node #0,3,2: 96:[42, 83] Operation: 94-11=83 Exploring Operation: 94-42=52, Resulting Numbers: [11, 52] Generated Node #0,3,3: 96:[11, 52] Operation: 94-42=52 Exploring Operation: 42+11=53, Resulting Numbers: [94, 53] Generated Node #0,3,4: 96:[94, 53] Operation: 42+11=53 Moving to Node #0,1 Current State: 96:[95, 94, 42], Operations: ['84-42=42'] Exploring Operation: 95-94=1, Resulting Numbers: [42, 1] Generated Node #0,1,0: 96:[42, 1] Operation: 95-94=1 Exploring Operation: 94-42=52, Resulting Numbers: [95, 52] Generated Node #0,1,1: 96:[95, 52] Operation: 94-42=52 Exploring Operation: 94+42=136, Resulting Numbers: [95, 136] Generated Node #0,1,2: 96:[95, 136] Operation: 94+42=136 Exploring Operation: 95+42=137, Resulting Numbers: [94, 137] Generated Node #0,1,3: 96:[94, 137] Operation: 95+42=137 Exploring Operation: 95-42=53, Resulting Numbers: [94, 53] Generated Node #0,1,4: 96:[94, 53] Operation: 95-42=53 Moving to Node #0,4 Current State: 96:[95, 42, 10], Operations: ['94-84=10'] Exploring Operation: 42-10=32, Resulting Numbers: [95, 32] Generated Node #0,4,0: 96:[95, 32] Operation: 42-10=32 Exploring Operation: 95-42=53, Resulting Numbers: [10, 53] Generated Node #0,4,1: 96:[10, 53] Operation: 95-42=53 Exploring Operation: 95+10=105, Resulting Numbers: [42, 105] Generated Node #0,4,2: 96:[42, 105] Operation: 95+10=105 Exploring Operation: 42+10=52, Resulting Numbers: [95, 52] Generated Node #0,4,3: 96:[95, 52] Operation: 42+10=52 Exploring Operation: 95-10=85, Resulting Numbers: [42, 85] Generated Node #0,4,4: 96:[42, 85] Operation: 95-10=85 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 96:[95, 32], Operations: ['94-84=10', '42-10=32'] Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,96 unequal: No Solution Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,96 unequal: No Solution Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,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,4,3 Current State: 96:[95, 52], Operations: ['94-84=10', '42+10=52'] Exploring Operation: 95+52=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 95*52=4940, Resulting Numbers: [4940] 4940,96 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,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,4,1 Current State: 96:[10, 53], Operations: ['94-84=10', '95-42=53'] Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,96 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,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,4,2 Current State: 96:[42, 105], Operations: ['94-84=10', '95+10=105'] Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,96 unequal: No Solution Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,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,4,4 Current State: 96:[42, 85], Operations: ['94-84=10', '95-10=85'] Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,96 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 96:[95, 84, 52], Operations: ['94-42=52'] Exploring Operation: 95-84=11, Resulting Numbers: [52, 11] Generated Node #0,2,0: 96:[52, 11] Operation: 95-84=11 Exploring Operation: 95-52=43, Resulting Numbers: [84, 43] Generated Node #0,2,1: 96:[84, 43] Operation: 95-52=43 Exploring Operation: 84-52=32, Resulting Numbers: [95, 32] Generated Node #0,2,2: 96:[95, 32] Operation: 84-52=32 Exploring Operation: 84+52=136, Resulting Numbers: [95, 136] Generated Node #0,2,3: 96:[95, 136] Operation: 84+52=136 Exploring Operation: 95+52=147, Resulting Numbers: [84, 147] Generated Node #0,2,4: 96:[84, 147] Operation: 95+52=147 Moving to Node #0,2,2 Current State: 96:[95, 32], Operations: ['94-42=52', '84-52=32'] Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,96 unequal: No Solution Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,96 unequal: No Solution Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[94, 31], Operations: ['95-84=11', '42-11=31'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 94*31=2914, Resulting Numbers: [2914] 2914,96 unequal: No Solution Exploring Operation: 94+31=125, Resulting Numbers: [125] 125,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[95, 52], Operations: ['84-42=42', '94-42=52'] Exploring Operation: 95*52=4940, Resulting Numbers: [4940] 4940,96 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 95+52=147, Resulting Numbers: [147] 147,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[52, 11], Operations: ['94-42=52', '95-84=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[11, 52], Operations: ['95-84=11', '94-42=52'] Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,96 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[42, 1], Operations: ['84-42=42', '95-94=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,96 unequal: No Solution Moving to Node #0,3,4 Current State: 96:[94, 53], Operations: ['95-84=11', '42+11=53'] Exploring Operation: 94*53=4982, Resulting Numbers: [4982] 4982,96 unequal: No Solution Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 94+53=147, Resulting Numbers: [147] 147,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[94, 53], Operations: ['84-42=42', '95-42=53'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 94+53=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 94*53=4982, Resulting Numbers: [4982] 4982,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[42, 105], Operations: ['95-84=11', '94+11=105'] Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,96 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[84, 43], Operations: ['94-42=52', '95-52=43'] Exploring Operation: 84*43=3612, Resulting Numbers: [3612] 3612,96 unequal: No Solution Exploring Operation: 84+43=127, Resulting Numbers: [127] 127,96 unequal: No Solution Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[42, 83], Operations: ['95-84=11', '94-11=83'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 42+83=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 42*83=3486, Resulting Numbers: [3486] 3486,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[95, 136], Operations: ['84-42=42', '94+42=136'] Exploring Operation: 136-95=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 95+136=231, Resulting Numbers: [231] 231,96 unequal: No Solution Exploring Operation: 95*136=12920, Resulting Numbers: [12920] 12920,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[95, 136], Operations: ['94-42=52', '84+52=136'] Exploring Operation: 136-95=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 95+136=231, Resulting Numbers: [231] 231,96 unequal: No Solution Exploring Operation: 95*136=12920, Resulting Numbers: [12920] 12920,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[94, 137], Operations: ['84-42=42', '95+42=137'] Exploring Operation: 94*137=12878, Resulting Numbers: [12878] 12878,96 unequal: No Solution Exploring Operation: 94+137=231, Resulting Numbers: [231] 231,96 unequal: No Solution Exploring Operation: 137-94=43, Resulting Numbers: [43] 43,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[84, 147], Operations: ['94-42=52', '95+52=147'] Exploring Operation: 84*147=12348, Resulting Numbers: [12348] 12348,96 unequal: No Solution Exploring Operation: 84+147=231, Resulting Numbers: [231] 231,96 unequal: No Solution Exploring Operation: 147-84=63, Resulting Numbers: [63] 63,96 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 71, 5, 80, 51 ]
84
[ "71-51=20", "20/5=4", "80+4=84" ]
Current State: 84:[71, 5, 80, 51], Operations: [] Exploring Operation: 71-51=20, Resulting Numbers: [5, 80, 20] Generated Node #2: [5, 80, 20] from Operation: 71-51=20 Current State: 84:[5, 80, 20], Operations: ['71-51=20'] Exploring Operation: 20/5=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 20/5=4 Current State: 84:[80, 4], Operations: ['71-51=20', '20/5=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[71, 5, 80, 51], Operations: [] Exploring Operation: 71-51=20, Resulting Numbers: [5, 80, 20] Generated Node #0,0: 84:[5, 80, 20] Operation: 71-51=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[5, 80, 20], Operations: ['71-51=20'] Exploring Operation: 80/20=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 84:[5, 4] Operation: 80/20=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[5, 4], Operations: ['71-51=20', '80/20=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,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_1
sum_heuristic
[ 15, 71, 5, 79 ]
45
[ "71+5=76", "79-76=3", "15*3=45" ]
Current State: 45:[15, 71, 5, 79], Operations: [] Exploring Operation: 71+5=76, Resulting Numbers: [15, 79, 76] Generated Node #2: [15, 79, 76] from Operation: 71+5=76 Current State: 45:[15, 79, 76], Operations: ['71+5=76'] Exploring Operation: 79-76=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 79-76=3 Current State: 45:[15, 3], Operations: ['71+5=76', '79-76=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 71, 5, 79], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [15, 5, 8] Generated Node #0,0: 45:[15, 5, 8] Operation: 79-71=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[15, 5, 8], Operations: ['79-71=8'] Exploring Operation: 8-5=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 45:[15, 3] Operation: 8-5=3 Moving to Node #0,0,0 Current State: 45:[15, 3], Operations: ['79-71=8', '8-5=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[15, 71, 5, 79], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [15, 5, 8] Generated Node #0,0: 45:[15, 5, 8] Operation: 79-71=8 Moving to Node #0,0 Current State: 45:[15, 5, 8], Operations: ['79-71=8'] Exploring Operation: 8-5=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 45:[15, 3] Operation: 8-5=3 Moving to Node #0,0,0 Current State: 45:[15, 3], Operations: ['79-71=8', '8-5=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 75, 12, 70, 67 ]
29
[ "75+12=87", "70-67=3", "87/3=29" ]
Current State: 29:[75, 12, 70, 67], Operations: [] Exploring Operation: 75+12=87, Resulting Numbers: [70, 67, 87] Generated Node #2: [70, 67, 87] from Operation: 75+12=87 Current State: 29:[70, 67, 87], Operations: ['75+12=87'] Exploring Operation: 70-67=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 70-67=3 Current State: 29:[87, 3], Operations: ['75+12=87', '70-67=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[75, 12, 70, 67], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [12, 67, 5] Generated Node #0,0: 29:[12, 67, 5] Operation: 75-70=5 Exploring Operation: 75-12=63, Resulting Numbers: [70, 67, 63] Generated Node #0,1: 29:[70, 67, 63] Operation: 75-12=63 Exploring Operation: 75-67=8, Resulting Numbers: [12, 70, 8] Generated Node #0,2: 29:[12, 70, 8] Operation: 75-67=8 Exploring Operation: 70-67=3, Resulting Numbers: [75, 12, 3] Generated Node #0,3: 29:[75, 12, 3] Operation: 70-67=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[12, 67, 5], Operations: ['75-70=5'] Exploring Operation: 12+5=17, Resulting Numbers: [67, 17] Generated Node #0,0,0: 29:[67, 17] Operation: 12+5=17 Exploring Operation: 67-12=55, Resulting Numbers: [5, 55] Generated Node #0,0,1: 29:[5, 55] Operation: 67-12=55 Exploring Operation: 67-5=62, Resulting Numbers: [12, 62] Generated Node #0,0,2: 29:[12, 62] Operation: 67-5=62 Exploring Operation: 12-5=7, Resulting Numbers: [67, 7] Generated Node #0,0,3: 29:[67, 7] Operation: 12-5=7 Moving to Node #0,0,0 Current State: 29:[67, 17], Operations: ['75-70=5', '12+5=17'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 67*17=1139, Resulting Numbers: [1139] 1139,29 unequal: No Solution Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[12, 62], Operations: ['75-70=5', '67-5=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[5, 55], Operations: ['75-70=5', '67-12=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,29 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[67, 7], Operations: ['75-70=5', '12-5=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,29 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[12, 70, 8], Operations: ['75-67=8'] Exploring Operation: 12+8=20, Resulting Numbers: [70, 20] Generated Node #0,2,0: 29:[70, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [70, 4] Generated Node #0,2,1: 29:[70, 4] Operation: 12-8=4 Exploring Operation: 70-12=58, Resulting Numbers: [8, 58] Generated Node #0,2,2: 29:[8, 58] Operation: 70-12=58 Exploring Operation: 70-8=62, Resulting Numbers: [12, 62] Generated Node #0,2,3: 29:[12, 62] Operation: 70-8=62 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[70, 20], Operations: ['75-67=8', '12+8=20'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[8, 58], Operations: ['75-67=8', '70-12=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,29 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[12, 62], Operations: ['75-67=8', '70-8=62'] Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,29 unequal: No Solution Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[70, 4], Operations: ['75-67=8', '12-8=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[75, 12, 3], Operations: ['70-67=3'] Exploring Operation: 12*3=36, Resulting Numbers: [75, 36] Generated Node #0,3,0: 29:[75, 36] Operation: 12*3=36 Exploring Operation: 75/3=25, Resulting Numbers: [12, 25] Generated Node #0,3,1: 29:[12, 25] Operation: 75/3=25 Exploring Operation: 75-3=72, Resulting Numbers: [12, 72] Generated Node #0,3,2: 29:[12, 72] Operation: 75-3=72 Exploring Operation: 75-12=63, Resulting Numbers: [3, 63] Generated Node #0,3,3: 29:[3, 63] Operation: 75-12=63 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[12, 25], Operations: ['70-67=3', '75/3=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,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,3,0 Current State: 29:[75, 36], Operations: ['70-67=3', '12*3=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,29 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,29 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,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,3,2 Current State: 29:[12, 72], Operations: ['70-67=3', '75-3=72'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 12*72=864, Resulting Numbers: [864] 864,29 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,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,3,3 Current State: 29:[3, 63], Operations: ['70-67=3', '75-12=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[70, 67, 63], Operations: ['75-12=63'] Exploring Operation: 70-63=7, Resulting Numbers: [67, 7] Generated Node #0,1,0: 29:[67, 7] Operation: 70-63=7 Exploring Operation: 70-67=3, Resulting Numbers: [63, 3] Generated Node #0,1,1: 29:[63, 3] Operation: 70-67=3 Exploring Operation: 70+67=137, Resulting Numbers: [63, 137] Generated Node #0,1,2: 29:[63, 137] Operation: 70+67=137 Exploring Operation: 67-63=4, Resulting Numbers: [70, 4] Generated Node #0,1,3: 29:[70, 4] Operation: 67-63=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[67, 7], Operations: ['75-12=63', '70-63=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,29 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,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,1 Current State: 29:[63, 3], Operations: ['75-12=63', '70-67=3'] Exploring Operation: 63*3=189, Resulting Numbers: [189] 189,29 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,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:[70, 4], Operations: ['75-12=63', '67-63=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,29 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,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,2 Current State: 29:[63, 137], Operations: ['75-12=63', '70+67=137'] Exploring Operation: 137-63=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 63+137=200, Resulting Numbers: [200] 200,29 unequal: No Solution Exploring Operation: 63*137=8631, Resulting Numbers: [8631] 8631,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 98, 76, 54, 38 ]
46
[ "98-54=44", "76/38=2", "44+2=46" ]
Current State: 46:[98, 76, 54, 38], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [76, 38, 44] Generated Node #2: [76, 38, 44] from Operation: 98-54=44 Current State: 46:[76, 38, 44], Operations: ['98-54=44'] Exploring Operation: 76/38=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 76/38=2 Current State: 46:[44, 2], Operations: ['98-54=44', '76/38=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[98, 76, 54, 38], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [54, 38, 22] Generated Node #0,0: 46:[54, 38, 22] Operation: 98-76=22 Moving to Node #0,0 Current State: 46:[54, 38, 22], Operations: ['98-76=22'] Exploring Operation: 54-38=16, Resulting Numbers: [22, 16] Generated Node #0,0,0: 46:[22, 16] Operation: 54-38=16 Moving to Node #0,0,0 Current State: 46:[22, 16], Operations: ['98-76=22', '54-38=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 53, 10, 5, 83 ]
100
[ "53+10=63", "83-63=20", "5*20=100" ]
Current State: 100:[53, 10, 5, 83], Operations: [] Exploring Operation: 53+10=63, Resulting Numbers: [5, 83, 63] Generated Node #2: [5, 83, 63] from Operation: 53+10=63 Current State: 100:[5, 83, 63], Operations: ['53+10=63'] Exploring Operation: 83-63=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 83-63=20 Current State: 100:[5, 20], Operations: ['53+10=63', '83-63=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[53, 10, 5, 83], Operations: [] Exploring Operation: 10+83=93, Resulting Numbers: [53, 5, 93] Generated Node #0,0: 100:[53, 5, 93] Operation: 10+83=93 Exploring Operation: 83-53=30, Resulting Numbers: [10, 5, 30] Generated Node #0,1: 100:[10, 5, 30] Operation: 83-53=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[10, 5, 30], Operations: ['83-53=30'] Exploring Operation: 30-10=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 100:[5, 20] Operation: 30-10=20 Exploring Operation: 30-5=25, Resulting Numbers: [10, 25] Generated Node #0,1,1: 100:[10, 25] Operation: 30-5=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[5, 20], Operations: ['83-53=30', '30-10=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[53, 10, 5, 83], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [10, 5, 30] Generated Node #0,1: 100:[10, 5, 30] Operation: 83-53=30 Moving to Node #0,1 Current State: 100:[10, 5, 30], Operations: ['83-53=30'] Exploring Operation: 30-10=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 100:[5, 20] Operation: 30-10=20 Moving to Node #0,1,0 Current State: 100:[5, 20], Operations: ['83-53=30', '30-10=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 78, 17, 33, 5 ]
70
[ "78+17=95", "33*5=165", "165-95=70" ]
Current State: 70:[78, 17, 33, 5], Operations: [] Exploring Operation: 78+17=95, Resulting Numbers: [33, 5, 95] Generated Node #2: [33, 5, 95] from Operation: 78+17=95 Current State: 70:[33, 5, 95], Operations: ['78+17=95'] Exploring Operation: 33*5=165, Resulting Numbers: [95, 165] Generated Node #3: [95, 165] from Operation: 33*5=165 Current State: 70:[95, 165], Operations: ['78+17=95', '33*5=165'] Exploring Operation: 165-95=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[78, 17, 33, 5], Operations: [] Exploring Operation: 33-17=16, Resulting Numbers: [78, 5, 16] Generated Node #0,0: 70:[78, 5, 16] Operation: 33-17=16 Exploring Operation: 78-5=73, Resulting Numbers: [17, 33, 73] Generated Node #0,1: 70:[17, 33, 73] Operation: 78-5=73 Exploring Operation: 78-17=61, Resulting Numbers: [33, 5, 61] Generated Node #0,2: 70:[33, 5, 61] Operation: 78-17=61 Moving to Node #0,1 Current State: 70:[17, 33, 73], Operations: ['78-5=73'] Exploring Operation: 73-33=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 70:[17, 40] Operation: 73-33=40 Exploring Operation: 73-17=56, Resulting Numbers: [33, 56] Generated Node #0,1,1: 70:[33, 56] Operation: 73-17=56 Exploring Operation: 33-17=16, Resulting Numbers: [73, 16] Generated Node #0,1,2: 70:[73, 16] Operation: 33-17=16 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[73, 16], Operations: ['78-5=73', '33-17=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[17, 40], Operations: ['78-5=73', '73-33=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,70 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[33, 56], Operations: ['78-5=73', '73-17=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,70 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 70:[78, 5, 16], Operations: ['33-17=16'] Exploring Operation: 16-5=11, Resulting Numbers: [78, 11] Generated Node #0,0,0: 70:[78, 11] Operation: 16-5=11 Exploring Operation: 78-16=62, Resulting Numbers: [5, 62] Generated Node #0,0,1: 70:[5, 62] Operation: 78-16=62 Exploring Operation: 78-5=73, Resulting Numbers: [16, 73] Generated Node #0,0,2: 70:[16, 73] Operation: 78-5=73 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[16, 73], Operations: ['33-17=16', '78-5=73'] Exploring Operation: 16+73=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 16*73=1168, Resulting Numbers: [1168] 1168,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[5, 62], Operations: ['33-17=16', '78-16=62'] Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,70 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[78, 11], Operations: ['33-17=16', '16-5=11'] Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,70 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: 70:[33, 5, 61], Operations: ['78-17=61'] Exploring Operation: 5+61=66, Resulting Numbers: [33, 66] Generated Node #0,2,0: 70:[33, 66] Operation: 5+61=66 Exploring Operation: 61-33=28, Resulting Numbers: [5, 28] Generated Node #0,2,1: 70:[5, 28] Operation: 61-33=28 Exploring Operation: 33+5=38, Resulting Numbers: [61, 38] Generated Node #0,2,2: 70:[61, 38] Operation: 33+5=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[33, 66], Operations: ['78-17=61', '5+61=66'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 33+66=99, Resulting Numbers: [99] 99,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[5, 28], Operations: ['78-17=61', '61-33=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,70 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[61, 38], Operations: ['78-17=61', '33+5=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,70 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 44, 51, 2, 20 ]
85
[ "44+51=95", "20/2=10", "95-10=85" ]
Current State: 85:[44, 51, 2, 20], Operations: [] Exploring Operation: 44+51=95, Resulting Numbers: [2, 20, 95] Generated Node #2: [2, 20, 95] from Operation: 44+51=95 Current State: 85:[2, 20, 95], Operations: ['44+51=95'] Exploring Operation: 20/2=10, Resulting Numbers: [95, 10] Generated Node #3: [95, 10] from Operation: 20/2=10 Current State: 85:[95, 10], Operations: ['44+51=95', '20/2=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[44, 51, 2, 20], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [2, 20, 7] Generated Node #0,0: 85:[2, 20, 7] Operation: 51-44=7 Moving to Node #0,0 Current State: 85:[2, 20, 7], Operations: ['51-44=7'] Exploring Operation: 20-2=18, Resulting Numbers: [7, 18] Generated Node #0,0,0: 85:[7, 18] Operation: 20-2=18 Moving to Node #0,0,0 Current State: 85:[7, 18], Operations: ['51-44=7', '20-2=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,85 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 88, 90, 61, 14 ]
94
[ "90-88=2", "61-14=47", "2*47=94" ]
Current State: 94:[88, 90, 61, 14], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [61, 14, 2] Generated Node #2: [61, 14, 2] from Operation: 90-88=2 Current State: 94:[61, 14, 2], Operations: ['90-88=2'] Exploring Operation: 61-14=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 61-14=47 Current State: 94:[2, 47], Operations: ['90-88=2', '61-14=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 90, 61, 14], Operations: [] Exploring Operation: 88+14=102, Resulting Numbers: [90, 61, 102] Generated Node #0,0: 94:[90, 61, 102] Operation: 88+14=102 Exploring Operation: 90-88=2, Resulting Numbers: [61, 14, 2] Generated Node #0,1: 94:[61, 14, 2] Operation: 90-88=2 Exploring Operation: 61-14=47, Resulting Numbers: [88, 90, 47] Generated Node #0,2: 94:[88, 90, 47] Operation: 61-14=47 Moving to Node #0,2 Current State: 94:[88, 90, 47], Operations: ['61-14=47'] Exploring Operation: 90-88=2, Resulting Numbers: [47, 2] Generated Node #0,2,0: 94:[47, 2] Operation: 90-88=2 Exploring Operation: 90-47=43, Resulting Numbers: [88, 43] Generated Node #0,2,1: 94:[88, 43] Operation: 90-47=43 Exploring Operation: 88-47=41, Resulting Numbers: [90, 41] Generated Node #0,2,2: 94:[90, 41] Operation: 88-47=41 Moving to Node #0,0 Current State: 94:[90, 61, 102], Operations: ['88+14=102'] Exploring Operation: 90-61=29, Resulting Numbers: [102, 29] Generated Node #0,0,0: 94:[102, 29] Operation: 90-61=29 Exploring Operation: 102-61=41, Resulting Numbers: [90, 41] Generated Node #0,0,1: 94:[90, 41] Operation: 102-61=41 Exploring Operation: 102-90=12, Resulting Numbers: [61, 12] Generated Node #0,0,2: 94:[61, 12] Operation: 102-90=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[90, 41], Operations: ['88+14=102', '102-61=41'] Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 90*41=3690, Resulting Numbers: [3690] 3690,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,2 Current State: 94:[61, 12], Operations: ['88+14=102', '102-90=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,94 unequal: No Solution Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,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,0 Current State: 94:[102, 29], Operations: ['88+14=102', '90-61=29'] Exploring Operation: 102*29=2958, Resulting Numbers: [2958] 2958,94 unequal: No Solution Exploring Operation: 102-29=73, Resulting Numbers: [73] 73,94 unequal: No Solution Exploring Operation: 102+29=131, Resulting Numbers: [131] 131,94 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: 94:[61, 14, 2], Operations: ['90-88=2'] Exploring Operation: 61-14=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 94:[2, 47] Operation: 61-14=47 Exploring Operation: 14/2=7, Resulting Numbers: [61, 7] Generated Node #0,1,1: 94:[61, 7] Operation: 14/2=7 Exploring Operation: 61+14=75, Resulting Numbers: [2, 75] Generated Node #0,1,2: 94:[2, 75] Operation: 61+14=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[2, 47], Operations: ['90-88=2', '61-14=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 90, 61, 14], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [61, 14, 2] Generated Node #0,1: 94:[61, 14, 2] Operation: 90-88=2 Moving to Node #0,1 Current State: 94:[61, 14, 2], Operations: ['90-88=2'] Exploring Operation: 61-14=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 94:[2, 47] Operation: 61-14=47 Moving to Node #0,1,0 Current State: 94:[2, 47], Operations: ['90-88=2', '61-14=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 95, 49, 61, 40 ]
55
[ "95-49=46", "61+40=101", "101-46=55" ]
Current State: 55:[95, 49, 61, 40], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [61, 40, 46] Generated Node #2: [61, 40, 46] from Operation: 95-49=46 Current State: 55:[61, 40, 46], Operations: ['95-49=46'] Exploring Operation: 61+40=101, Resulting Numbers: [46, 101] Generated Node #3: [46, 101] from Operation: 61+40=101 Current State: 55:[46, 101], Operations: ['95-49=46', '61+40=101'] Exploring Operation: 101-46=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[95, 49, 61, 40], Operations: [] Exploring Operation: 95-40=55, Resulting Numbers: [49, 61, 55] Generated Node #0,0: 55:[49, 61, 55] Operation: 95-40=55 Moving to Node #0,0 Current State: 55:[49, 61, 55], Operations: ['95-40=55'] Exploring Operation: 61-49=12, Resulting Numbers: [55, 12] Generated Node #0,0,0: 55:[55, 12] Operation: 61-49=12 Moving to Node #0,0,0 Current State: 55:[55, 12], Operations: ['95-40=55', '61-49=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,55 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 61, 7, 31, 59 ]
36
[ "61-7=54", "31+59=90", "90-54=36" ]
Current State: 36:[61, 7, 31, 59], Operations: [] Exploring Operation: 61-7=54, Resulting Numbers: [31, 59, 54] Generated Node #2: [31, 59, 54] from Operation: 61-7=54 Current State: 36:[31, 59, 54], Operations: ['61-7=54'] Exploring Operation: 31+59=90, Resulting Numbers: [54, 90] Generated Node #3: [54, 90] from Operation: 31+59=90 Current State: 36:[54, 90], Operations: ['61-7=54', '31+59=90'] Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[61, 7, 31, 59], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [7, 31, 2] Generated Node #0,0: 36:[7, 31, 2] Operation: 61-59=2 Moving to Node #0,0 Current State: 36:[7, 31, 2], Operations: ['61-59=2'] Exploring Operation: 7+31=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 36:[2, 38] Operation: 7+31=38 Moving to Node #0,0,0 Current State: 36:[2, 38], Operations: ['61-59=2', '7+31=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[61, 7, 31, 59], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [7, 31, 2] Generated Node #0,0: 36:[7, 31, 2] Operation: 61-59=2 Moving to Node #0,0 Current State: 36:[7, 31, 2], Operations: ['61-59=2'] Exploring Operation: 7+31=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 36:[2, 38] Operation: 7+31=38 Moving to Node #0,0,0 Current State: 36:[2, 38], Operations: ['61-59=2', '7+31=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 93, 3, 72, 7 ]
62
[ "93+72=165", "165/3=55", "7+55=62" ]
Current State: 62:[93, 3, 72, 7], Operations: [] Exploring Operation: 93+72=165, Resulting Numbers: [3, 7, 165] Generated Node #2: [3, 7, 165] from Operation: 93+72=165 Current State: 62:[3, 7, 165], Operations: ['93+72=165'] Exploring Operation: 165/3=55, Resulting Numbers: [7, 55] Generated Node #3: [7, 55] from Operation: 165/3=55 Current State: 62:[7, 55], Operations: ['93+72=165', '165/3=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[93, 3, 72, 7], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [72, 7, 31] Generated Node #0,0: 62:[72, 7, 31] Operation: 93/3=31 Exploring Operation: 93-7=86, Resulting Numbers: [3, 72, 86] Generated Node #0,1: 62:[3, 72, 86] Operation: 93-7=86 Exploring Operation: 72-7=65, Resulting Numbers: [93, 3, 65] Generated Node #0,2: 62:[93, 3, 65] Operation: 72-7=65 Exploring Operation: 93-72=21, Resulting Numbers: [3, 7, 21] Generated Node #0,3: 62:[3, 7, 21] Operation: 93-72=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[72, 7, 31], Operations: ['93/3=31'] Exploring Operation: 72+7=79, Resulting Numbers: [31, 79] Generated Node #0,0,0: 62:[31, 79] Operation: 72+7=79 Exploring Operation: 72-31=41, Resulting Numbers: [7, 41] Generated Node #0,0,1: 62:[7, 41] Operation: 72-31=41 Exploring Operation: 7+31=38, Resulting Numbers: [72, 38] Generated Node #0,0,2: 62:[72, 38] Operation: 7+31=38 Exploring Operation: 72-7=65, Resulting Numbers: [31, 65] Generated Node #0,0,3: 62:[31, 65] Operation: 72-7=65 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[31, 65], Operations: ['93/3=31', '72-7=65'] Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,62 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[7, 41], Operations: ['93/3=31', '72-31=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[31, 79], Operations: ['93/3=31', '72+7=79'] Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 31+79=110, Resulting Numbers: [110] 110,62 unequal: No Solution Exploring Operation: 31*79=2449, Resulting Numbers: [2449] 2449,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[72, 38], Operations: ['93/3=31', '7+31=38'] Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,62 unequal: No Solution Exploring Operation: 72*38=2736, Resulting Numbers: [2736] 2736,62 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[3, 7, 21], Operations: ['93-72=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3, 3] Generated Node #0,3,0: 62:[3, 3] Operation: 21/7=3 Exploring Operation: 7+21=28, Resulting Numbers: [3, 28] Generated Node #0,3,1: 62:[3, 28] Operation: 7+21=28 Exploring Operation: 3*21=63, Resulting Numbers: [7, 63] Generated Node #0,3,2: 62:[7, 63] Operation: 3*21=63 Exploring Operation: 21/3=7, Resulting Numbers: [7, 7] Generated Node #0,3,3: 62:[7, 7] Operation: 21/3=7 Moving to Node #0,3,0 Current State: 62:[3, 3], Operations: ['93-72=21', '21/7=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 Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[3, 28], Operations: ['93-72=21', '7+21=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,62 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[7, 63], Operations: ['93-72=21', '3*21=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,62 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[7, 7], Operations: ['93-72=21', '21/3=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,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 Current State: 62:[3, 72, 86], Operations: ['93-7=86'] Exploring Operation: 72-3=69, Resulting Numbers: [86, 69] Generated Node #0,1,0: 62:[86, 69] Operation: 72-3=69 Exploring Operation: 72/3=24, Resulting Numbers: [86, 24] Generated Node #0,1,1: 62:[86, 24] Operation: 72/3=24 Exploring Operation: 86-3=83, Resulting Numbers: [72, 83] Generated Node #0,1,2: 62:[72, 83] Operation: 86-3=83 Exploring Operation: 86-72=14, Resulting Numbers: [3, 14] Generated Node #0,1,3: 62:[3, 14] Operation: 86-72=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[3, 14], Operations: ['93-7=86', '86-72=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[86, 69], Operations: ['93-7=86', '72-3=69'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,62 unequal: No Solution Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[86, 24], Operations: ['93-7=86', '72/3=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[93, 3, 72, 7], Operations: [] Exploring Operation: 93-7=86, Resulting Numbers: [3, 72, 86] Generated Node #0,1: 62:[3, 72, 86] Operation: 93-7=86 Moving to Node #0,1 Current State: 62:[3, 72, 86], Operations: ['93-7=86'] Exploring Operation: 72/3=24, Resulting Numbers: [86, 24] Generated Node #0,1,1: 62:[86, 24] Operation: 72/3=24 Moving to Node #0,1,1 Current State: 62:[86, 24], Operations: ['93-7=86', '72/3=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953125
hs_4
sum_heuristic
[ 1, 83, 97, 86 ]
72
[ "1*83=83", "97-86=11", "83-11=72" ]
Current State: 72:[1, 83, 97, 86], Operations: [] Exploring Operation: 1*83=83, Resulting Numbers: [97, 86, 83] Generated Node #2: [97, 86, 83] from Operation: 1*83=83 Current State: 72:[97, 86, 83], Operations: ['1*83=83'] Exploring Operation: 97-86=11, Resulting Numbers: [83, 11] Generated Node #3: [83, 11] from Operation: 97-86=11 Current State: 72:[83, 11], Operations: ['1*83=83', '97-86=11'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[1, 83, 97, 86], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [1, 83, 11] Generated Node #0,0: 72:[1, 83, 11] Operation: 97-86=11 Moving to Node #0,0 Current State: 72:[1, 83, 11], Operations: ['97-86=11'] Exploring Operation: 83-11=72, Resulting Numbers: [1, 72] Generated Node #0,0,0: 72:[1, 72] Operation: 83-11=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[1, 72], Operations: ['97-86=11', '83-11=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[1, 83, 97, 86], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [1, 83, 11] Generated Node #0,0: 72:[1, 83, 11] Operation: 97-86=11 Moving to Node #0,0 Current State: 72:[1, 83, 11], Operations: ['97-86=11'] Exploring Operation: 83-11=72, Resulting Numbers: [1, 72] Generated Node #0,0,0: 72:[1, 72] Operation: 83-11=72 Moving to Node #0,0,0 Current State: 72:[1, 72], Operations: ['97-86=11', '83-11=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 3, 2, 96, 36 ]
34
[ "96/3=32", "36+32=68", "68/2=34" ]
Current State: 34:[3, 2, 96, 36], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [2, 36, 32] Generated Node #2: [2, 36, 32] from Operation: 96/3=32 Current State: 34:[2, 36, 32], Operations: ['96/3=32'] Exploring Operation: 36+32=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 36+32=68 Current State: 34:[2, 68], Operations: ['96/3=32', '36+32=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[3, 2, 96, 36], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [2, 36, 32] Generated Node #0,0: 34:[2, 36, 32] Operation: 96/3=32 Exploring Operation: 96/2=48, Resulting Numbers: [3, 36, 48] Generated Node #0,1: 34:[3, 36, 48] Operation: 96/2=48 Exploring Operation: 96-36=60, Resulting Numbers: [3, 2, 60] Generated Node #0,2: 34:[3, 2, 60] Operation: 96-36=60 Exploring Operation: 36-3=33, Resulting Numbers: [2, 96, 33] Generated Node #0,3: 34:[2, 96, 33] Operation: 36-3=33 Exploring Operation: 96-3=93, Resulting Numbers: [2, 36, 93] Generated Node #0,4: 34:[2, 36, 93] Operation: 96-3=93 Moving to Node #0,0 Current State: 34:[2, 36, 32], Operations: ['96/3=32'] Exploring Operation: 36-2=34, Resulting Numbers: [32, 34] Generated Node #0,0,0: 34:[32, 34] Operation: 36-2=34 Exploring Operation: 36-32=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 34:[2, 4] Operation: 36-32=4 Exploring Operation: 2+32=34, Resulting Numbers: [36, 34] Generated Node #0,0,2: 34:[36, 34] Operation: 2+32=34 Exploring Operation: 32/2=16, Resulting Numbers: [36, 16] Generated Node #0,0,3: 34:[36, 16] Operation: 32/2=16 Exploring Operation: 36/2=18, Resulting Numbers: [32, 18] Generated Node #0,0,4: 34:[32, 18] Operation: 36/2=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[32, 34], Operations: ['96/3=32', '36-2=34'] Exploring Operation: 32+34=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 32*34=1088, Resulting Numbers: [1088] 1088,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[2, 4], Operations: ['96/3=32', '36-32=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[36, 34], Operations: ['96/3=32', '2+32=34'] Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,34 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[36, 16], Operations: ['96/3=32', '32/2=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,34 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 34:[32, 18], Operations: ['96/3=32', '36/2=18'] Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,34 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,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:[3, 36, 48], Operations: ['96/2=48'] Exploring Operation: 3+36=39, Resulting Numbers: [48, 39] Generated Node #0,1,0: 34:[48, 39] Operation: 3+36=39 Exploring Operation: 36-3=33, Resulting Numbers: [48, 33] Generated Node #0,1,1: 34:[48, 33] Operation: 36-3=33 Exploring Operation: 48-36=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 34:[3, 12] Operation: 48-36=12 Exploring Operation: 48-3=45, Resulting Numbers: [36, 45] Generated Node #0,1,3: 34:[36, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [36, 16] Generated Node #0,1,4: 34:[36, 16] Operation: 48/3=16 Moving to Node #0,2 Current State: 34:[3, 2, 60], Operations: ['96-36=60'] Exploring Operation: 3-2=1, Resulting Numbers: [60, 1] Generated Node #0,2,0: 34:[60, 1] Operation: 3-2=1 Exploring Operation: 60-2=58, Resulting Numbers: [3, 58] Generated Node #0,2,1: 34:[3, 58] Operation: 60-2=58 Exploring Operation: 60/3=20, Resulting Numbers: [2, 20] Generated Node #0,2,2: 34:[2, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [2, 57] Generated Node #0,2,3: 34:[2, 57] Operation: 60-3=57 Exploring Operation: 60/2=30, Resulting Numbers: [3, 30] Generated Node #0,2,4: 34:[3, 30] Operation: 60/2=30 Moving to Node #0,4 Current State: 34:[2, 36, 93], Operations: ['96-3=93'] Exploring Operation: 2+36=38, Resulting Numbers: [93, 38] Generated Node #0,4,0: 34:[93, 38] Operation: 2+36=38 Exploring Operation: 93-36=57, Resulting Numbers: [2, 57] Generated Node #0,4,1: 34:[2, 57] Operation: 93-36=57 Exploring Operation: 36-2=34, Resulting Numbers: [93, 34] Generated Node #0,4,2: 34:[93, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [93, 18] Generated Node #0,4,3: 34:[93, 18] Operation: 36/2=18 Exploring Operation: 93-2=91, Resulting Numbers: [36, 91] Generated Node #0,4,4: 34:[36, 91] Operation: 93-2=91 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[2, 57], Operations: ['96-3=93', '93-36=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,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,4,2 Current State: 34:[93, 34], Operations: ['96-3=93', '36-2=34'] Exploring Operation: 93*34=3162, Resulting Numbers: [3162] 3162,34 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 93+34=127, Resulting Numbers: [127] 127,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,4,4 Current State: 34:[36, 91], Operations: ['96-3=93', '93-2=91'] Exploring Operation: 36*91=3276, Resulting Numbers: [3276] 3276,34 unequal: No Solution Exploring Operation: 36+91=127, Resulting Numbers: [127] 127,34 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,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,4,3 Current State: 34:[93, 18], Operations: ['96-3=93', '36/2=18'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,34 unequal: No Solution Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,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,4,0 Current State: 34:[93, 38], Operations: ['96-3=93', '2+36=38'] Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 93+38=131, Resulting Numbers: [131] 131,34 unequal: No Solution Exploring Operation: 93*38=3534, Resulting Numbers: [3534] 3534,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 34:[2, 96, 33], Operations: ['36-3=33'] Exploring Operation: 2+33=35, Resulting Numbers: [96, 35] Generated Node #0,3,0: 34:[96, 35] Operation: 2+33=35 Exploring Operation: 96-2=94, Resulting Numbers: [33, 94] Generated Node #0,3,1: 34:[33, 94] Operation: 96-2=94 Exploring Operation: 2+96=98, Resulting Numbers: [33, 98] Generated Node #0,3,2: 34:[33, 98] Operation: 2+96=98 Exploring Operation: 96-33=63, Resulting Numbers: [2, 63] Generated Node #0,3,3: 34:[2, 63] Operation: 96-33=63 Exploring Operation: 96/2=48, Resulting Numbers: [33, 48] Generated Node #0,3,4: 34:[33, 48] Operation: 96/2=48 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[33, 48], Operations: ['36-3=33', '96/2=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,34 unequal: No Solution Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,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:[2, 63], Operations: ['36-3=33', '96-33=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,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,1 Current State: 34:[33, 94], Operations: ['36-3=33', '96-2=94'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 33*94=3102, Resulting Numbers: [3102] 3102,34 unequal: No Solution Exploring Operation: 33+94=127, Resulting Numbers: [127] 127,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:[96, 35], Operations: ['36-3=33', '2+33=35'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,34 unequal: No Solution Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,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:[33, 98], Operations: ['36-3=33', '2+96=98'] Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 33*98=3234, Resulting Numbers: [3234] 3234,34 unequal: No Solution Exploring Operation: 33+98=131, Resulting Numbers: [131] 131,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 34:[36, 16], Operations: ['96/2=48', '48/3=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,34 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[2, 20], Operations: ['96-36=60', '60/3=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[3, 30], Operations: ['96-36=60', '60/2=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,34 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[3, 12], Operations: ['96/2=48', '48-36=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[36, 45], Operations: ['96/2=48', '48-3=45'] Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,34 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[48, 33], Operations: ['96/2=48', '36-3=33'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,34 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[48, 39], Operations: ['96/2=48', '3+36=39'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,34 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[2, 57], Operations: ['96-36=60', '60-3=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[3, 58], Operations: ['96-36=60', '60-2=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[60, 1], Operations: ['96-36=60', '3-2=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 92, 84, 17, 97 ]
96
[ "92+84=176", "97-17=80", "176-80=96" ]
Current State: 96:[92, 84, 17, 97], Operations: [] Exploring Operation: 92+84=176, Resulting Numbers: [17, 97, 176] Generated Node #2: [17, 97, 176] from Operation: 92+84=176 Current State: 96:[17, 97, 176], Operations: ['92+84=176'] Exploring Operation: 97-17=80, Resulting Numbers: [176, 80] Generated Node #3: [176, 80] from Operation: 97-17=80 Current State: 96:[176, 80], Operations: ['92+84=176', '97-17=80'] Exploring Operation: 176-80=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[92, 84, 17, 97], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [92, 17, 13] Generated Node #0,0: 96:[92, 17, 13] Operation: 97-84=13 Exploring Operation: 92-84=8, Resulting Numbers: [17, 97, 8] Generated Node #0,1: 96:[17, 97, 8] Operation: 92-84=8 Moving to Node #0,1 Current State: 96:[17, 97, 8], Operations: ['92-84=8'] Exploring Operation: 17-8=9, Resulting Numbers: [97, 9] Generated Node #0,1,0: 96:[97, 9] Operation: 17-8=9 Exploring Operation: 17+8=25, Resulting Numbers: [97, 25] Generated Node #0,1,1: 96:[97, 25] Operation: 17+8=25 Moving to Node #0,0 Current State: 96:[92, 17, 13], Operations: ['97-84=13'] Exploring Operation: 17-13=4, Resulting Numbers: [92, 4] Generated Node #0,0,0: 96:[92, 4] Operation: 17-13=4 Exploring Operation: 17+13=30, Resulting Numbers: [92, 30] Generated Node #0,0,1: 96:[92, 30] Operation: 17+13=30 Moving to Node #0,1,0 Current State: 96:[97, 9], Operations: ['92-84=8', '17-8=9'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[97, 25], Operations: ['92-84=8', '17+8=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,96 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[92, 4], Operations: ['97-84=13', '17-13=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[92, 84, 17, 97], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [92, 17, 13] Generated Node #0,0: 96:[92, 17, 13] Operation: 97-84=13 Moving to Node #0,0 Current State: 96:[92, 17, 13], Operations: ['97-84=13'] Exploring Operation: 17-13=4, Resulting Numbers: [92, 4] Generated Node #0,0,0: 96:[92, 4] Operation: 17-13=4 Moving to Node #0,0,0 Current State: 96:[92, 4], Operations: ['97-84=13', '17-13=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 7, 18, 43, 97 ]
65
[ "18-7=11", "97-43=54", "11+54=65" ]
Current State: 65:[7, 18, 43, 97], Operations: [] Exploring Operation: 18-7=11, Resulting Numbers: [43, 97, 11] Generated Node #2: [43, 97, 11] from Operation: 18-7=11 Current State: 65:[43, 97, 11], Operations: ['18-7=11'] Exploring Operation: 97-43=54, Resulting Numbers: [11, 54] Generated Node #3: [11, 54] from Operation: 97-43=54 Current State: 65:[11, 54], Operations: ['18-7=11', '97-43=54'] Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[7, 18, 43, 97], Operations: [] Exploring Operation: 43-18=25, Resulting Numbers: [7, 97, 25] Generated Node #0,0: 65:[7, 97, 25] Operation: 43-18=25 Exploring Operation: 97-18=79, Resulting Numbers: [7, 43, 79] Generated Node #0,1: 65:[7, 43, 79] Operation: 97-18=79 Exploring Operation: 97-43=54, Resulting Numbers: [7, 18, 54] Generated Node #0,2: 65:[7, 18, 54] Operation: 97-43=54 Exploring Operation: 7+43=50, Resulting Numbers: [18, 97, 50] Generated Node #0,3: 65:[18, 97, 50] Operation: 7+43=50 Exploring Operation: 18+43=61, Resulting Numbers: [7, 97, 61] Generated Node #0,4: 65:[7, 97, 61] Operation: 18+43=61 Moving to Node #0,2 Current State: 65:[7, 18, 54], Operations: ['97-43=54'] Exploring Operation: 7+18=25, Resulting Numbers: [54, 25] Generated Node #0,2,0: 65:[54, 25] Operation: 7+18=25 Exploring Operation: 18+54=72, Resulting Numbers: [7, 72] Generated Node #0,2,1: 65:[7, 72] Operation: 18+54=72 Exploring Operation: 7+54=61, Resulting Numbers: [18, 61] Generated Node #0,2,2: 65:[18, 61] Operation: 7+54=61 Exploring Operation: 18-7=11, Resulting Numbers: [54, 11] Generated Node #0,2,3: 65:[54, 11] Operation: 18-7=11 Exploring Operation: 54/18=3, Resulting Numbers: [7, 3] Generated Node #0,2,4: 65:[7, 3] Operation: 54/18=3 Moving to Node #0,4 Current State: 65:[7, 97, 61], Operations: ['18+43=61'] Exploring Operation: 7+61=68, Resulting Numbers: [97, 68] Generated Node #0,4,0: 65:[97, 68] Operation: 7+61=68 Exploring Operation: 7+97=104, Resulting Numbers: [61, 104] Generated Node #0,4,1: 65:[61, 104] Operation: 7+97=104 Exploring Operation: 97-7=90, Resulting Numbers: [61, 90] Generated Node #0,4,2: 65:[61, 90] Operation: 97-7=90 Exploring Operation: 61-7=54, Resulting Numbers: [97, 54] Generated Node #0,4,3: 65:[97, 54] Operation: 61-7=54 Exploring Operation: 97-61=36, Resulting Numbers: [7, 36] Generated Node #0,4,4: 65:[7, 36] Operation: 97-61=36 Moving to Node #0,1 Current State: 65:[7, 43, 79], Operations: ['97-18=79'] Exploring Operation: 43-7=36, Resulting Numbers: [79, 36] Generated Node #0,1,0: 65:[79, 36] Operation: 43-7=36 Exploring Operation: 7+79=86, Resulting Numbers: [43, 86] Generated Node #0,1,1: 65:[43, 86] Operation: 7+79=86 Exploring Operation: 79-7=72, Resulting Numbers: [43, 72] Generated Node #0,1,2: 65:[43, 72] Operation: 79-7=72 Exploring Operation: 79-43=36, Resulting Numbers: [7, 36] Generated Node #0,1,3: 65:[7, 36] Operation: 79-43=36 Exploring Operation: 7+43=50, Resulting Numbers: [79, 50] Generated Node #0,1,4: 65:[79, 50] Operation: 7+43=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[7, 36], Operations: ['97-18=79', '79-43=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,65 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,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,2 Current State: 65:[43, 72], Operations: ['97-18=79', '79-7=72'] Exploring Operation: 43*72=3096, Resulting Numbers: [3096] 3096,65 unequal: No Solution Exploring Operation: 43+72=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,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,4 Current State: 65:[79, 50], Operations: ['97-18=79', '7+43=50'] Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,65 unequal: No Solution Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,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,0 Current State: 65:[79, 36], Operations: ['97-18=79', '43-7=36'] Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,65 unequal: No Solution Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,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,1 Current State: 65:[43, 86], Operations: ['97-18=79', '7+79=86'] Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 43*86=3698, Resulting Numbers: [3698] 3698,65 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: 65:[7, 97, 25], Operations: ['43-18=25'] Exploring Operation: 25-7=18, Resulting Numbers: [97, 18] Generated Node #0,0,0: 65:[97, 18] Operation: 25-7=18 Exploring Operation: 97-25=72, Resulting Numbers: [7, 72] Generated Node #0,0,1: 65:[7, 72] Operation: 97-25=72 Exploring Operation: 97-7=90, Resulting Numbers: [25, 90] Generated Node #0,0,2: 65:[25, 90] Operation: 97-7=90 Exploring Operation: 7+25=32, Resulting Numbers: [97, 32] Generated Node #0,0,3: 65:[97, 32] Operation: 7+25=32 Exploring Operation: 7+97=104, Resulting Numbers: [25, 104] Generated Node #0,0,4: 65:[25, 104] Operation: 7+97=104 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[7, 72], Operations: ['43-18=25', '97-25=72'] Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,65 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[7, 18, 43, 97], Operations: [] Exploring Operation: 43-18=25, Resulting Numbers: [7, 97, 25] Generated Node #0,0: 65:[7, 97, 25] Operation: 43-18=25 Moving to Node #0,0 Current State: 65:[7, 97, 25], Operations: ['43-18=25'] Exploring Operation: 97-25=72, Resulting Numbers: [7, 72] Generated Node #0,0,1: 65:[7, 72] Operation: 97-25=72 Moving to Node #0,0,1 Current State: 65:[7, 72], Operations: ['43-18=25', '97-25=72'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 75, 88, 74, 23 ]
66
[ "75+88=163", "74+23=97", "163-97=66" ]
Current State: 66:[75, 88, 74, 23], Operations: [] Exploring Operation: 75+88=163, Resulting Numbers: [74, 23, 163] Generated Node #2: [74, 23, 163] from Operation: 75+88=163 Current State: 66:[74, 23, 163], Operations: ['75+88=163'] Exploring Operation: 74+23=97, Resulting Numbers: [163, 97] Generated Node #3: [163, 97] from Operation: 74+23=97 Current State: 66:[163, 97], Operations: ['75+88=163', '74+23=97'] Exploring Operation: 163-97=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[75, 88, 74, 23], Operations: [] Exploring Operation: 88-23=65, Resulting Numbers: [75, 74, 65] Generated Node #0,0: 66:[75, 74, 65] Operation: 88-23=65 Exploring Operation: 88-74=14, Resulting Numbers: [75, 23, 14] Generated Node #0,1: 66:[75, 23, 14] Operation: 88-74=14 Exploring Operation: 88-75=13, Resulting Numbers: [74, 23, 13] Generated Node #0,2: 66:[74, 23, 13] Operation: 88-75=13 Moving to Node #0,2 Current State: 66:[74, 23, 13], Operations: ['88-75=13'] Exploring Operation: 74-13=61, Resulting Numbers: [23, 61] Generated Node #0,2,0: 66:[23, 61] Operation: 74-13=61 Exploring Operation: 23+13=36, Resulting Numbers: [74, 36] Generated Node #0,2,1: 66:[74, 36] Operation: 23+13=36 Exploring Operation: 23-13=10, Resulting Numbers: [74, 10] Generated Node #0,2,2: 66:[74, 10] Operation: 23-13=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[23, 61], Operations: ['88-75=13', '74-13=61'] Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,66 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[74, 10], Operations: ['88-75=13', '23-13=10'] Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,66 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[74, 36], Operations: ['88-75=13', '23+13=36'] Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,66 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,66 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: 66:[75, 23, 14], Operations: ['88-74=14'] Exploring Operation: 75-14=61, Resulting Numbers: [23, 61] Generated Node #0,1,0: 66:[23, 61] Operation: 75-14=61 Exploring Operation: 23+14=37, Resulting Numbers: [75, 37] Generated Node #0,1,1: 66:[75, 37] Operation: 23+14=37 Exploring Operation: 23-14=9, Resulting Numbers: [75, 9] Generated Node #0,1,2: 66:[75, 9] Operation: 23-14=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[23, 61], Operations: ['88-74=14', '75-14=61'] Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[75, 9], Operations: ['88-74=14', '23-14=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[75, 88, 74, 23], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [75, 23, 14] Generated Node #0,1: 66:[75, 23, 14] Operation: 88-74=14 Moving to Node #0,1 Current State: 66:[75, 23, 14], Operations: ['88-74=14'] Exploring Operation: 23-14=9, Resulting Numbers: [75, 9] Generated Node #0,1,2: 66:[75, 9] Operation: 23-14=9 Moving to Node #0,1,2 Current State: 66:[75, 9], Operations: ['88-74=14', '23-14=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 96, 86, 51, 80 ]
59
[ "96-86=10", "80/10=8", "51+8=59" ]
Current State: 59:[96, 86, 51, 80], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [51, 80, 10] Generated Node #2: [51, 80, 10] from Operation: 96-86=10 Current State: 59:[51, 80, 10], Operations: ['96-86=10'] Exploring Operation: 80/10=8, Resulting Numbers: [51, 8] Generated Node #3: [51, 8] from Operation: 80/10=8 Current State: 59:[51, 8], Operations: ['96-86=10', '80/10=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[96, 86, 51, 80], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [51, 80, 10] Generated Node #0,0: 59:[51, 80, 10] Operation: 96-86=10 Exploring Operation: 96-80=16, Resulting Numbers: [86, 51, 16] Generated Node #0,1: 59:[86, 51, 16] Operation: 96-80=16 Exploring Operation: 96-51=45, Resulting Numbers: [86, 80, 45] Generated Node #0,2: 59:[86, 80, 45] Operation: 96-51=45 Exploring Operation: 86-51=35, Resulting Numbers: [96, 80, 35] Generated Node #0,3: 59:[96, 80, 35] Operation: 86-51=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[86, 80, 45], Operations: ['96-51=45'] Exploring Operation: 80-45=35, Resulting Numbers: [86, 35] Generated Node #0,2,0: 59:[86, 35] Operation: 80-45=35 Exploring Operation: 86+45=131, Resulting Numbers: [80, 131] Generated Node #0,2,1: 59:[80, 131] Operation: 86+45=131 Exploring Operation: 86-45=41, Resulting Numbers: [80, 41] Generated Node #0,2,2: 59:[80, 41] Operation: 86-45=41 Exploring Operation: 86-80=6, Resulting Numbers: [45, 6] Generated Node #0,2,3: 59:[45, 6] Operation: 86-80=6 Moving to Node #0,2,2 Current State: 59:[80, 41], Operations: ['96-51=45', '86-45=41'] Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,59 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[86, 35], Operations: ['96-51=45', '80-45=35'] Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 86*35=3010, Resulting Numbers: [3010] 3010,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[45, 6], Operations: ['96-51=45', '86-80=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,59 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[80, 131], Operations: ['96-51=45', '86+45=131'] Exploring Operation: 80*131=10480, Resulting Numbers: [10480] 10480,59 unequal: No Solution Exploring Operation: 131-80=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 80+131=211, Resulting Numbers: [211] 211,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,0 Current State: 59:[51, 80, 10], Operations: ['96-86=10'] Exploring Operation: 80+10=90, Resulting Numbers: [51, 90] Generated Node #0,0,0: 59:[51, 90] Operation: 80+10=90 Exploring Operation: 51+10=61, Resulting Numbers: [80, 61] Generated Node #0,0,1: 59:[80, 61] Operation: 51+10=61 Exploring Operation: 80-10=70, Resulting Numbers: [51, 70] Generated Node #0,0,2: 59:[51, 70] Operation: 80-10=70 Exploring Operation: 51-10=41, Resulting Numbers: [80, 41] Generated Node #0,0,3: 59:[80, 41] Operation: 51-10=41 Moving to Node #0,0,2 Current State: 59:[51, 70], Operations: ['96-86=10', '80-10=70'] Exploring Operation: 51+70=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 51*70=3570, Resulting Numbers: [3570] 3570,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[80, 61], Operations: ['96-86=10', '51+10=61'] Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,59 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[80, 41], Operations: ['96-86=10', '51-10=41'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,59 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[51, 90], Operations: ['96-86=10', '80+10=90'] Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,59 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,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:[86, 51, 16], Operations: ['96-80=16'] Exploring Operation: 86-16=70, Resulting Numbers: [51, 70] Generated Node #0,1,0: 59:[51, 70] Operation: 86-16=70 Exploring Operation: 51-16=35, Resulting Numbers: [86, 35] Generated Node #0,1,1: 59:[86, 35] Operation: 51-16=35 Exploring Operation: 86+16=102, Resulting Numbers: [51, 102] Generated Node #0,1,2: 59:[51, 102] Operation: 86+16=102 Exploring Operation: 51+16=67, Resulting Numbers: [86, 67] Generated Node #0,1,3: 59:[86, 67] Operation: 51+16=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[51, 70], Operations: ['96-80=16', '86-16=70'] Exploring Operation: 51+70=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 51*70=3570, Resulting Numbers: [3570] 3570,59 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,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:[86, 67], Operations: ['96-80=16', '51+16=67'] Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,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:[86, 35], Operations: ['96-80=16', '51-16=35'] Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 86*35=3010, Resulting Numbers: [3010] 3010,59 unequal: No Solution Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,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:[51, 102], Operations: ['96-80=16', '86+16=102'] Exploring Operation: 51+102=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 102-51=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 102/51=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 51*102=5202, Resulting Numbers: [5202] 5202,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:[96, 80, 35], Operations: ['86-51=35'] Exploring Operation: 96+35=131, Resulting Numbers: [80, 131] Generated Node #0,3,0: 59:[80, 131] Operation: 96+35=131 Exploring Operation: 96-80=16, Resulting Numbers: [35, 16] Generated Node #0,3,1: 59:[35, 16] Operation: 96-80=16 Exploring Operation: 96-35=61, Resulting Numbers: [80, 61] Generated Node #0,3,2: 59:[80, 61] Operation: 96-35=61 Exploring Operation: 80-35=45, Resulting Numbers: [96, 45] Generated Node #0,3,3: 59:[96, 45] Operation: 80-35=45 Moving to Node #0,3,2 Current State: 59:[80, 61], Operations: ['86-51=35', '96-35=61'] Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,59 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[96, 45], Operations: ['86-51=35', '80-35=45'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,59 unequal: No Solution Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[35, 16], Operations: ['86-51=35', '96-80=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,59 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[80, 131], Operations: ['86-51=35', '96+35=131'] Exploring Operation: 80+131=211, Resulting Numbers: [211] 211,59 unequal: No Solution Exploring Operation: 80*131=10480, Resulting Numbers: [10480] 10480,59 unequal: No Solution Exploring Operation: 131-80=51, Resulting Numbers: [51] 51,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 66, 59, 4, 90 ]
98
[ "66+90=156", "156/4=39", "59+39=98" ]
Current State: 98:[66, 59, 4, 90], Operations: [] Exploring Operation: 66+90=156, Resulting Numbers: [59, 4, 156] Generated Node #2: [59, 4, 156] from Operation: 66+90=156 Current State: 98:[59, 4, 156], Operations: ['66+90=156'] Exploring Operation: 156/4=39, Resulting Numbers: [59, 39] Generated Node #3: [59, 39] from Operation: 156/4=39 Current State: 98:[59, 39], Operations: ['66+90=156', '156/4=39'] Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[66, 59, 4, 90], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [4, 90, 7] Generated Node #0,0: 98:[4, 90, 7] Operation: 66-59=7 Exploring Operation: 90-66=24, Resulting Numbers: [59, 4, 24] Generated Node #0,1: 98:[59, 4, 24] Operation: 90-66=24 Exploring Operation: 66-4=62, Resulting Numbers: [59, 90, 62] Generated Node #0,2: 98:[59, 90, 62] Operation: 66-4=62 Moving to Node #0,0 Current State: 98:[4, 90, 7], Operations: ['66-59=7'] Exploring Operation: 90+7=97, Resulting Numbers: [4, 97] Generated Node #0,0,0: 98:[4, 97] Operation: 90+7=97 Exploring Operation: 7-4=3, Resulting Numbers: [90, 3] Generated Node #0,0,1: 98:[90, 3] Operation: 7-4=3 Exploring Operation: 4+90=94, Resulting Numbers: [7, 94] Generated Node #0,0,2: 98:[7, 94] Operation: 4+90=94 Moving to Node #0,1 Current State: 98:[59, 4, 24], Operations: ['90-66=24'] Exploring Operation: 24/4=6, Resulting Numbers: [59, 6] Generated Node #0,1,0: 98:[59, 6] Operation: 24/4=6 Exploring Operation: 59-4=55, Resulting Numbers: [24, 55] Generated Node #0,1,1: 98:[24, 55] Operation: 59-4=55 Exploring Operation: 4*24=96, Resulting Numbers: [59, 96] Generated Node #0,1,2: 98:[59, 96] Operation: 4*24=96 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[59, 6], Operations: ['90-66=24', '24/4=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,98 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,98 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[59, 96], Operations: ['90-66=24', '4*24=96'] Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,98 unequal: No Solution Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[24, 55], Operations: ['90-66=24', '59-4=55'] Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,98 unequal: No Solution Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,98 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,98 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: 98:[59, 90, 62], Operations: ['66-4=62'] Exploring Operation: 62-59=3, Resulting Numbers: [90, 3] Generated Node #0,2,0: 98:[90, 3] Operation: 62-59=3 Exploring Operation: 90-59=31, Resulting Numbers: [62, 31] Generated Node #0,2,1: 98:[62, 31] Operation: 90-59=31 Exploring Operation: 90-62=28, Resulting Numbers: [59, 28] Generated Node #0,2,2: 98:[59, 28] Operation: 90-62=28 Moving to Node #0,0,0 Current State: 98:[4, 97], Operations: ['66-59=7', '90+7=97'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 4*97=388, Resulting Numbers: [388] 388,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[7, 94], Operations: ['66-59=7', '4+90=94'] Exploring Operation: 7*94=658, Resulting Numbers: [658] 658,98 unequal: No Solution Exploring Operation: 7+94=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[90, 3], Operations: ['66-59=7', '7-4=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[90, 3], Operations: ['66-4=62', '62-59=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[59, 28], Operations: ['66-4=62', '90-62=28'] Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,98 unequal: No Solution Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[62, 31], Operations: ['66-4=62', '90-59=31'] Exploring Operation: 62+31=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,98 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 43, 63, 13, 43 ]
77
[ "43/43=1", "63+13=76", "1+76=77" ]
Current State: 77:[43, 63, 13, 43], Operations: [] Exploring Operation: 43/43=1, Resulting Numbers: [63, 13, 1] Generated Node #2: [63, 13, 1] from Operation: 43/43=1 Current State: 77:[63, 13, 1], Operations: ['43/43=1'] Exploring Operation: 63+13=76, Resulting Numbers: [1, 76] Generated Node #3: [1, 76] from Operation: 63+13=76 Current State: 77:[1, 76], Operations: ['43/43=1', '63+13=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[43, 63, 13, 43], Operations: [] Exploring Operation: 43-43=0, Resulting Numbers: [63, 13, 0] Generated Node #0,0: 77:[63, 13, 0] Operation: 43-43=0 Exploring Operation: 43+43=86, Resulting Numbers: [63, 13, 86] Generated Node #0,1: 77:[63, 13, 86] Operation: 43+43=86 Exploring Operation: 43/43=1, Resulting Numbers: [63, 13, 1] Generated Node #0,2: 77:[63, 13, 1] Operation: 43/43=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[63, 13, 1], Operations: ['43/43=1'] Exploring Operation: 13-1=12, Resulting Numbers: [63, 12] Generated Node #0,2,0: 77:[63, 12] Operation: 13-1=12 Exploring Operation: 63+13=76, Resulting Numbers: [1, 76] Generated Node #0,2,1: 77:[1, 76] Operation: 63+13=76 Exploring Operation: 63+1=64, Resulting Numbers: [13, 64] Generated Node #0,2,2: 77:[13, 64] Operation: 63+1=64 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[1, 76], Operations: ['43/43=1', '63+13=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[43, 63, 13, 43], Operations: [] Exploring Operation: 43/43=1, Resulting Numbers: [63, 13, 1] Generated Node #0,2: 77:[63, 13, 1] Operation: 43/43=1 Moving to Node #0,2 Current State: 77:[63, 13, 1], Operations: ['43/43=1'] Exploring Operation: 63+13=76, Resulting Numbers: [1, 76] Generated Node #0,2,1: 77:[1, 76] Operation: 63+13=76 Moving to Node #0,2,1 Current State: 77:[1, 76], Operations: ['43/43=1', '63+13=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 18, 7, 30, 46 ]
20
[ "30-7=23", "46/23=2", "18+2=20" ]
Current State: 20:[18, 7, 30, 46], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [18, 46, 23] Generated Node #2: [18, 46, 23] from Operation: 30-7=23 Current State: 20:[18, 46, 23], Operations: ['30-7=23'] Exploring Operation: 46/23=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 46/23=2 Current State: 20:[18, 2], Operations: ['30-7=23', '46/23=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 7, 30, 46], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [18, 46, 23] Generated Node #0,0: 20:[18, 46, 23] Operation: 30-7=23 Exploring Operation: 46-30=16, Resulting Numbers: [18, 7, 16] Generated Node #0,1: 20:[18, 7, 16] Operation: 46-30=16 Exploring Operation: 30-18=12, Resulting Numbers: [7, 46, 12] Generated Node #0,2: 20:[7, 46, 12] Operation: 30-18=12 Exploring Operation: 46-18=28, Resulting Numbers: [7, 30, 28] Generated Node #0,3: 20:[7, 30, 28] Operation: 46-18=28 Moving to Node #0,1 Current State: 20:[18, 7, 16], Operations: ['46-30=16'] Exploring Operation: 18-16=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 20:[7, 2] Operation: 18-16=2 Exploring Operation: 7+16=23, Resulting Numbers: [18, 23] Generated Node #0,1,1: 20:[18, 23] Operation: 7+16=23 Exploring Operation: 18-7=11, Resulting Numbers: [16, 11] Generated Node #0,1,2: 20:[16, 11] Operation: 18-7=11 Exploring Operation: 16-7=9, Resulting Numbers: [18, 9] Generated Node #0,1,3: 20:[18, 9] Operation: 16-7=9 Moving to Node #0,3 Current State: 20:[7, 30, 28], Operations: ['46-18=28'] Exploring Operation: 28/7=4, Resulting Numbers: [30, 4] Generated Node #0,3,0: 20:[30, 4] Operation: 28/7=4 Exploring Operation: 30-28=2, Resulting Numbers: [7, 2] Generated Node #0,3,1: 20:[7, 2] Operation: 30-28=2 Exploring Operation: 30-7=23, Resulting Numbers: [28, 23] Generated Node #0,3,2: 20:[28, 23] Operation: 30-7=23 Exploring Operation: 28-7=21, Resulting Numbers: [30, 21] Generated Node #0,3,3: 20:[30, 21] Operation: 28-7=21 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[7, 2], Operations: ['46-18=28', '30-28=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,20 unequal: No Solution No 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: 20:[30, 4], Operations: ['46-18=28', '28/7=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,20 unequal: No Solution No 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: 20:[28, 23], Operations: ['46-18=28', '30-7=23'] Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,20 unequal: No Solution No 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: 20:[30, 21], Operations: ['46-18=28', '28-7=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,20 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,20 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: 20:[7, 46, 12], Operations: ['30-18=12'] Exploring Operation: 46-12=34, Resulting Numbers: [7, 34] Generated Node #0,2,0: 20:[7, 34] Operation: 46-12=34 Exploring Operation: 7+12=19, Resulting Numbers: [46, 19] Generated Node #0,2,1: 20:[46, 19] Operation: 7+12=19 Exploring Operation: 12-7=5, Resulting Numbers: [46, 5] Generated Node #0,2,2: 20:[46, 5] Operation: 12-7=5 Exploring Operation: 46-7=39, Resulting Numbers: [12, 39] Generated Node #0,2,3: 20:[12, 39] Operation: 46-7=39 Moving to Node #0,0 Current State: 20:[18, 46, 23], Operations: ['30-7=23'] Exploring Operation: 46-23=23, Resulting Numbers: [18, 23] Generated Node #0,0,0: 20:[18, 23] Operation: 46-23=23 Exploring Operation: 46/23=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 20:[18, 2] Operation: 46/23=2 Exploring Operation: 46-18=28, Resulting Numbers: [23, 28] Generated Node #0,0,2: 20:[23, 28] Operation: 46-18=28 Exploring Operation: 23-18=5, Resulting Numbers: [46, 5] Generated Node #0,0,3: 20:[46, 5] Operation: 23-18=5 Moving to Node #0,1,0 Current State: 20:[7, 2], Operations: ['46-30=16', '18-16=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[18, 2], Operations: ['30-7=23', '46/23=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[18, 7, 30, 46], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [18, 46, 23] Generated Node #0,0: 20:[18, 46, 23] Operation: 30-7=23 Moving to Node #0,0 Current State: 20:[18, 46, 23], Operations: ['30-7=23'] Exploring Operation: 46/23=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 20:[18, 2] Operation: 46/23=2 Moving to Node #0,0,1 Current State: 20:[18, 2], Operations: ['30-7=23', '46/23=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 8, 16, 96, 57 ]
47
[ "16-8=8", "96-57=39", "8+39=47" ]
Current State: 47:[8, 16, 96, 57], Operations: [] Exploring Operation: 16-8=8, Resulting Numbers: [96, 57, 8] Generated Node #2: [96, 57, 8] from Operation: 16-8=8 Current State: 47:[96, 57, 8], Operations: ['16-8=8'] Exploring Operation: 96-57=39, Resulting Numbers: [8, 39] Generated Node #3: [8, 39] from Operation: 96-57=39 Current State: 47:[8, 39], Operations: ['16-8=8', '96-57=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[8, 16, 96, 57], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [8, 16, 39] Generated Node #0,0: 47:[8, 16, 39] Operation: 96-57=39 Exploring Operation: 96-8=88, Resulting Numbers: [16, 57, 88] Generated Node #0,1: 47:[16, 57, 88] Operation: 96-8=88 Exploring Operation: 96/8=12, Resulting Numbers: [16, 57, 12] Generated Node #0,2: 47:[16, 57, 12] Operation: 96/8=12 Exploring Operation: 8+16=24, Resulting Numbers: [96, 57, 24] Generated Node #0,3: 47:[96, 57, 24] Operation: 8+16=24 Moving to Node #0,2 Current State: 47:[16, 57, 12], Operations: ['96/8=12'] Exploring Operation: 57-12=45, Resulting Numbers: [16, 45] Generated Node #0,2,0: 47:[16, 45] Operation: 57-12=45 Exploring Operation: 16-12=4, Resulting Numbers: [57, 4] Generated Node #0,2,1: 47:[57, 4] Operation: 16-12=4 Exploring Operation: 16+12=28, Resulting Numbers: [57, 28] Generated Node #0,2,2: 47:[57, 28] Operation: 16+12=28 Exploring Operation: 57-16=41, Resulting Numbers: [12, 41] Generated Node #0,2,3: 47:[12, 41] Operation: 57-16=41 Moving to Node #0,0 Current State: 47:[8, 16, 39], Operations: ['96-57=39'] Exploring Operation: 39-8=31, Resulting Numbers: [16, 31] Generated Node #0,0,0: 47:[16, 31] Operation: 39-8=31 Exploring Operation: 16-8=8, Resulting Numbers: [39, 8] Generated Node #0,0,1: 47:[39, 8] Operation: 16-8=8 Exploring Operation: 8+39=47, Resulting Numbers: [16, 47] Generated Node #0,0,2: 47:[16, 47] Operation: 8+39=47 Exploring Operation: 8+16=24, Resulting Numbers: [39, 24] Generated Node #0,0,3: 47:[39, 24] Operation: 8+16=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[16, 47], Operations: ['96-57=39', '8+39=47'] Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,47 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[39, 24], Operations: ['96-57=39', '8+16=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[16, 31], Operations: ['96-57=39', '39-8=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,47 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[8, 16, 96, 57], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [8, 16, 39] Generated Node #0,0: 47:[8, 16, 39] Operation: 96-57=39 Moving to Node #0,0 Current State: 47:[8, 16, 39], Operations: ['96-57=39'] Exploring Operation: 39-8=31, Resulting Numbers: [16, 31] Generated Node #0,0,0: 47:[16, 31] Operation: 39-8=31 Moving to Node #0,0,0 Current State: 47:[16, 31], Operations: ['96-57=39', '39-8=31'] Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 52, 52, 68, 40 ]
68
[ "52-52=0", "40*0=0", "68+0=68" ]
Current State: 68:[52, 52, 68, 40], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [68, 40, 0] Generated Node #2: [68, 40, 0] from Operation: 52-52=0 Current State: 68:[68, 40, 0], Operations: ['52-52=0'] Exploring Operation: 40*0=0, Resulting Numbers: [68, 0] Generated Node #3: [68, 0] from Operation: 40*0=0 Current State: 68:[68, 0], Operations: ['52-52=0', '40*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[52, 52, 68, 40], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [68, 40, 1] Generated Node #0,0: 68:[68, 40, 1] Operation: 52/52=1 Exploring Operation: 52-52=0, Resulting Numbers: [68, 40, 0] Generated Node #0,1: 68:[68, 40, 0] Operation: 52-52=0 Exploring Operation: 52-40=12, Resulting Numbers: [52, 68, 12] Generated Node #0,2: 68:[52, 68, 12] Operation: 52-40=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[68, 40, 1], Operations: ['52/52=1'] Exploring Operation: 68*1=68, Resulting Numbers: [40, 68] Generated Node #0,0,0: 68:[40, 68] Operation: 68*1=68 Exploring Operation: 40-1=39, Resulting Numbers: [68, 39] Generated Node #0,0,1: 68:[68, 39] Operation: 40-1=39 Exploring Operation: 68/1=68, Resulting Numbers: [40, 68] Generated Node #0,0,2: 68:[40, 68] Operation: 68/1=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[68, 39], Operations: ['52/52=1', '40-1=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,68 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,68 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,68 unequal: No Solution No 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: 68:[40, 68], Operations: ['52/52=1', '68*1=68'] Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,68 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,68 unequal: No Solution No 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: 68:[40, 68], Operations: ['52/52=1', '68/1=68'] Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,68 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,68 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: 68:[68, 40, 0], Operations: ['52-52=0'] Exploring Operation: 68+0=68, Resulting Numbers: [40, 68] Generated Node #0,1,0: 68:[40, 68] Operation: 68+0=68 Exploring Operation: 68-0=68, Resulting Numbers: [40, 68] Generated Node #0,1,1: 68:[40, 68] Operation: 68-0=68 Exploring Operation: 40*0=0, Resulting Numbers: [68, 0] Generated Node #0,1,2: 68:[68, 0] Operation: 40*0=0 Moving to Node #0,1,2 Current State: 68:[68, 0], Operations: ['52-52=0', '40*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[52, 52, 68, 40], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [68, 40, 0] Generated Node #0,1: 68:[68, 40, 0] Operation: 52-52=0 Moving to Node #0,1 Current State: 68:[68, 40, 0], Operations: ['52-52=0'] Exploring Operation: 40*0=0, Resulting Numbers: [68, 0] Generated Node #0,1,2: 68:[68, 0] Operation: 40*0=0 Moving to Node #0,1,2 Current State: 68:[68, 0], Operations: ['52-52=0', '40*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 25, 70, 85, 38 ]
34
[ "25+70=95", "85*38=3230", "3230/95=34" ]
Current State: 34:[25, 70, 85, 38], Operations: [] Exploring Operation: 25+70=95, Resulting Numbers: [85, 38, 95] Generated Node #2: [85, 38, 95] from Operation: 25+70=95 Current State: 34:[85, 38, 95], Operations: ['25+70=95'] Exploring Operation: 85*38=3230, Resulting Numbers: [95, 3230] Generated Node #3: [95, 3230] from Operation: 85*38=3230 Current State: 34:[95, 3230], Operations: ['25+70=95', '85*38=3230'] Exploring Operation: 3230/95=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[25, 70, 85, 38], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [25, 38, 15] Generated Node #0,0: 34:[25, 38, 15] Operation: 85-70=15 Exploring Operation: 85-38=47, Resulting Numbers: [25, 70, 47] Generated Node #0,1: 34:[25, 70, 47] Operation: 85-38=47 Exploring Operation: 85-25=60, Resulting Numbers: [70, 38, 60] Generated Node #0,2: 34:[70, 38, 60] Operation: 85-25=60 Exploring Operation: 70-25=45, Resulting Numbers: [85, 38, 45] Generated Node #0,3: 34:[85, 38, 45] Operation: 70-25=45 Exploring Operation: 70-38=32, Resulting Numbers: [25, 85, 32] Generated Node #0,4: 34:[25, 85, 32] Operation: 70-38=32 Moving to Node #0,0 Current State: 34:[25, 38, 15], Operations: ['85-70=15'] Exploring Operation: 25+15=40, Resulting Numbers: [38, 40] Generated Node #0,0,0: 34:[38, 40] Operation: 25+15=40 Exploring Operation: 38-25=13, Resulting Numbers: [15, 13] Generated Node #0,0,1: 34:[15, 13] Operation: 38-25=13 Exploring Operation: 38-15=23, Resulting Numbers: [25, 23] Generated Node #0,0,2: 34:[25, 23] Operation: 38-15=23 Exploring Operation: 38+15=53, Resulting Numbers: [25, 53] Generated Node #0,0,3: 34:[25, 53] Operation: 38+15=53 Exploring Operation: 25-15=10, Resulting Numbers: [38, 10] Generated Node #0,0,4: 34:[38, 10] Operation: 25-15=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[15, 13], Operations: ['85-70=15', '38-25=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[38, 40], Operations: ['85-70=15', '25+15=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,34 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 34:[38, 10], Operations: ['85-70=15', '25-15=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[25, 23], Operations: ['85-70=15', '38-15=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,34 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[25, 53], Operations: ['85-70=15', '38+15=53'] Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,34 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,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:[25, 70, 47], Operations: ['85-38=47'] Exploring Operation: 25+70=95, Resulting Numbers: [47, 95] Generated Node #0,1,0: 34:[47, 95] Operation: 25+70=95 Exploring Operation: 25+47=72, Resulting Numbers: [70, 72] Generated Node #0,1,1: 34:[70, 72] Operation: 25+47=72 Exploring Operation: 47-25=22, Resulting Numbers: [70, 22] Generated Node #0,1,2: 34:[70, 22] Operation: 47-25=22 Exploring Operation: 70-25=45, Resulting Numbers: [47, 45] Generated Node #0,1,3: 34:[47, 45] Operation: 70-25=45 Exploring Operation: 70-47=23, Resulting Numbers: [25, 23] Generated Node #0,1,4: 34:[25, 23] Operation: 70-47=23 Moving to Node #0,4 Current State: 34:[25, 85, 32], Operations: ['70-38=32'] Exploring Operation: 25+85=110, Resulting Numbers: [32, 110] Generated Node #0,4,0: 34:[32, 110] Operation: 25+85=110 Exploring Operation: 85-32=53, Resulting Numbers: [25, 53] Generated Node #0,4,1: 34:[25, 53] Operation: 85-32=53 Exploring Operation: 25+32=57, Resulting Numbers: [85, 57] Generated Node #0,4,2: 34:[85, 57] Operation: 25+32=57 Exploring Operation: 85-25=60, Resulting Numbers: [32, 60] Generated Node #0,4,3: 34:[32, 60] Operation: 85-25=60 Exploring Operation: 32-25=7, Resulting Numbers: [85, 7] Generated Node #0,4,4: 34:[85, 7] Operation: 32-25=7 Moving to Node #0,2 Current State: 34:[70, 38, 60], Operations: ['85-25=60'] Exploring Operation: 70-60=10, Resulting Numbers: [38, 10] Generated Node #0,2,0: 34:[38, 10] Operation: 70-60=10 Exploring Operation: 70+38=108, Resulting Numbers: [60, 108] Generated Node #0,2,1: 34:[60, 108] Operation: 70+38=108 Exploring Operation: 70-38=32, Resulting Numbers: [60, 32] Generated Node #0,2,2: 34:[60, 32] Operation: 70-38=32 Exploring Operation: 60-38=22, Resulting Numbers: [70, 22] Generated Node #0,2,3: 34:[70, 22] Operation: 60-38=22 Exploring Operation: 70+60=130, Resulting Numbers: [38, 130] Generated Node #0,2,4: 34:[38, 130] Operation: 70+60=130 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[38, 10], Operations: ['85-25=60', '70-60=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,34 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[60, 32], Operations: ['85-25=60', '70-38=32'] Exploring Operation: 60*32=1920, Resulting Numbers: [1920] 1920,34 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 60+32=92, Resulting Numbers: [92] 92,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[70, 22], Operations: ['85-25=60', '60-38=22'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,34 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[60, 108], Operations: ['85-25=60', '70+38=108'] Exploring Operation: 60*108=6480, Resulting Numbers: [6480] 6480,34 unequal: No Solution Exploring Operation: 60+108=168, Resulting Numbers: [168] 168,34 unequal: No Solution Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[38, 130], Operations: ['85-25=60', '70+60=130'] Exploring Operation: 130-38=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 38*130=4940, Resulting Numbers: [4940] 4940,34 unequal: No Solution Exploring Operation: 38+130=168, Resulting Numbers: [168] 168,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 34:[85, 38, 45], Operations: ['70-25=45'] Exploring Operation: 85-38=47, Resulting Numbers: [45, 47] Generated Node #0,3,0: 34:[45, 47] Operation: 85-38=47 Exploring Operation: 85+45=130, Resulting Numbers: [38, 130] Generated Node #0,3,1: 34:[38, 130] Operation: 85+45=130 Exploring Operation: 85+38=123, Resulting Numbers: [45, 123] Generated Node #0,3,2: 34:[45, 123] Operation: 85+38=123 Exploring Operation: 85-45=40, Resulting Numbers: [38, 40] Generated Node #0,3,3: 34:[38, 40] Operation: 85-45=40 Exploring Operation: 45-38=7, Resulting Numbers: [85, 7] Generated Node #0,3,4: 34:[85, 7] Operation: 45-38=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[38, 40], Operations: ['70-25=45', '85-45=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,34 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,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:[45, 47], Operations: ['70-25=45', '85-38=47'] Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,34 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,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,4 Current State: 34:[85, 7], Operations: ['70-25=45', '45-38=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,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,1 Current State: 34:[38, 130], Operations: ['70-25=45', '85+45=130'] Exploring Operation: 130-38=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 38+130=168, Resulting Numbers: [168] 168,34 unequal: No Solution Exploring Operation: 38*130=4940, Resulting Numbers: [4940] 4940,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:[45, 123], Operations: ['70-25=45', '85+38=123'] Exploring Operation: 123-45=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 45*123=5535, Resulting Numbers: [5535] 5535,34 unequal: No Solution Exploring Operation: 45+123=168, Resulting Numbers: [168] 168,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 34:[25, 23], Operations: ['85-38=47', '70-47=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[47, 45], Operations: ['85-38=47', '70-25=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[25, 53], Operations: ['70-38=32', '85-32=53'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,34 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[32, 60], Operations: ['70-38=32', '85-25=60'] Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,34 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[70, 22], Operations: ['85-38=47', '47-25=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,34 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[85, 7], Operations: ['70-38=32', '32-25=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,34 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[47, 95], Operations: ['85-38=47', '25+70=95'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 47*95=4465, Resulting Numbers: [4465] 4465,34 unequal: No Solution Exploring Operation: 47+95=142, Resulting Numbers: [142] 142,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[70, 72], Operations: ['85-38=47', '25+47=72'] Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,34 unequal: No Solution Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,34 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[85, 57], Operations: ['70-38=32', '25+32=57'] Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 85*57=4845, Resulting Numbers: [4845] 4845,34 unequal: No Solution Exploring Operation: 85+57=142, Resulting Numbers: [142] 142,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[32, 110], Operations: ['70-38=32', '25+85=110'] Exploring Operation: 32*110=3520, Resulting Numbers: [3520] 3520,34 unequal: No Solution Exploring Operation: 110-32=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 32+110=142, Resulting Numbers: [142] 142,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 83, 78, 53 ]
54
[ "83-5=78", "78/78=1", "53+1=54" ]
Current State: 54:[5, 83, 78, 53], Operations: [] Exploring Operation: 83-5=78, Resulting Numbers: [78, 53, 78] Generated Node #2: [78, 53, 78] from Operation: 83-5=78 Current State: 54:[78, 53, 78], Operations: ['83-5=78'] Exploring Operation: 78/78=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 78/78=1 Current State: 54:[53, 1], Operations: ['83-5=78', '78/78=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[5, 83, 78, 53], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [5, 53, 5] Generated Node #0,0: 54:[5, 53, 5] Operation: 83-78=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[5, 53, 5], Operations: ['83-78=5'] Exploring Operation: 5+5=10, Resulting Numbers: [53, 10] Generated Node #0,0,0: 54:[53, 10] Operation: 5+5=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[53, 10], Operations: ['83-78=5', '5+5=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,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_1
mult_heuristic
[ 19, 39, 66, 22 ]
55
[ "19+39=58", "66/22=3", "58-3=55" ]
Current State: 55:[19, 39, 66, 22], Operations: [] Exploring Operation: 19+39=58, Resulting Numbers: [66, 22, 58] Generated Node #2: [66, 22, 58] from Operation: 19+39=58 Current State: 55:[66, 22, 58], Operations: ['19+39=58'] Exploring Operation: 66/22=3, Resulting Numbers: [58, 3] Generated Node #3: [58, 3] from Operation: 66/22=3 Current State: 55:[58, 3], Operations: ['19+39=58', '66/22=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[19, 39, 66, 22], Operations: [] Exploring Operation: 39-22=17, Resulting Numbers: [19, 66, 17] Generated Node #0,0: 55:[19, 66, 17] Operation: 39-22=17 Exploring Operation: 19+39=58, Resulting Numbers: [66, 22, 58] Generated Node #0,1: 55:[66, 22, 58] Operation: 19+39=58 Exploring Operation: 39+22=61, Resulting Numbers: [19, 66, 61] Generated Node #0,2: 55:[19, 66, 61] Operation: 39+22=61 Exploring Operation: 66/22=3, Resulting Numbers: [19, 39, 3] Generated Node #0,3: 55:[19, 39, 3] Operation: 66/22=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[19, 66, 17], Operations: ['39-22=17'] Exploring Operation: 66-17=49, Resulting Numbers: [19, 49] Generated Node #0,0,0: 55:[19, 49] Operation: 66-17=49 Exploring Operation: 19+17=36, Resulting Numbers: [66, 36] Generated Node #0,0,1: 55:[66, 36] Operation: 19+17=36 Exploring Operation: 66-19=47, Resulting Numbers: [17, 47] Generated Node #0,0,2: 55:[17, 47] Operation: 66-19=47 Exploring Operation: 19-17=2, Resulting Numbers: [66, 2] Generated Node #0,0,3: 55:[66, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[19, 49], Operations: ['39-22=17', '66-17=49'] Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,55 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[17, 47], Operations: ['39-22=17', '66-19=47'] Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,55 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,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:[66, 2], Operations: ['39-22=17', '19-17=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,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:[66, 36], Operations: ['39-22=17', '19+17=36'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,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,1 Current State: 55:[66, 22, 58], Operations: ['19+39=58'] Exploring Operation: 66-58=8, Resulting Numbers: [22, 8] Generated Node #0,1,0: 55:[22, 8] Operation: 66-58=8 Exploring Operation: 66-22=44, Resulting Numbers: [58, 44] Generated Node #0,1,1: 55:[58, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [58, 3] Generated Node #0,1,2: 55:[58, 3] Operation: 66/22=3 Exploring Operation: 58-22=36, Resulting Numbers: [66, 36] Generated Node #0,1,3: 55:[66, 36] Operation: 58-22=36 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[58, 3], Operations: ['19+39=58', '66/22=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[19, 39, 66, 22], Operations: [] Exploring Operation: 19+39=58, Resulting Numbers: [66, 22, 58] Generated Node #0,1: 55:[66, 22, 58] Operation: 19+39=58 Moving to Node #0,1 Current State: 55:[66, 22, 58], Operations: ['19+39=58'] Exploring Operation: 66/22=3, Resulting Numbers: [58, 3] Generated Node #0,1,2: 55:[58, 3] Operation: 66/22=3 Moving to Node #0,1,2 Current State: 55:[58, 3], Operations: ['19+39=58', '66/22=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 89, 82, 16, 46 ]
66
[ "89-82=7", "16*7=112", "112-46=66" ]
Current State: 66:[89, 82, 16, 46], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [16, 46, 7] Generated Node #2: [16, 46, 7] from Operation: 89-82=7 Current State: 66:[16, 46, 7], Operations: ['89-82=7'] Exploring Operation: 16*7=112, Resulting Numbers: [46, 112] Generated Node #3: [46, 112] from Operation: 16*7=112 Current State: 66:[46, 112], Operations: ['89-82=7', '16*7=112'] Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[89, 82, 16, 46], Operations: [] Exploring Operation: 82-46=36, Resulting Numbers: [89, 16, 36] Generated Node #0,0: 66:[89, 16, 36] Operation: 82-46=36 Exploring Operation: 89-82=7, Resulting Numbers: [16, 46, 7] Generated Node #0,1: 66:[16, 46, 7] Operation: 89-82=7 Exploring Operation: 89-46=43, Resulting Numbers: [82, 16, 43] Generated Node #0,2: 66:[82, 16, 43] Operation: 89-46=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[16, 46, 7], Operations: ['89-82=7'] Exploring Operation: 16+46=62, Resulting Numbers: [7, 62] Generated Node #0,1,0: 66:[7, 62] Operation: 16+46=62 Exploring Operation: 46-16=30, Resulting Numbers: [7, 30] Generated Node #0,1,1: 66:[7, 30] Operation: 46-16=30 Exploring Operation: 46-7=39, Resulting Numbers: [16, 39] Generated Node #0,1,2: 66:[16, 39] Operation: 46-7=39 Moving to Node #0,1,1 Current State: 66:[7, 30], Operations: ['89-82=7', '46-16=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,66 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[7, 62], Operations: ['89-82=7', '16+46=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[16, 39], Operations: ['89-82=7', '46-7=39'] Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,66 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[89, 16, 36], Operations: ['82-46=36'] Exploring Operation: 36-16=20, Resulting Numbers: [89, 20] Generated Node #0,0,0: 66:[89, 20] Operation: 36-16=20 Exploring Operation: 89-36=53, Resulting Numbers: [16, 53] Generated Node #0,0,1: 66:[16, 53] Operation: 89-36=53 Exploring Operation: 89-16=73, Resulting Numbers: [36, 73] Generated Node #0,0,2: 66:[36, 73] Operation: 89-16=73 Moving to Node #0,0,2 Current State: 66:[36, 73], Operations: ['82-46=36', '89-16=73'] Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,66 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[16, 53], Operations: ['82-46=36', '89-36=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[89, 20], Operations: ['82-46=36', '36-16=20'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[82, 16, 43], Operations: ['89-46=43'] Exploring Operation: 82-16=66, Resulting Numbers: [43, 66] Generated Node #0,2,0: 66:[43, 66] Operation: 82-16=66 Exploring Operation: 43-16=27, Resulting Numbers: [82, 27] Generated Node #0,2,1: 66:[82, 27] Operation: 43-16=27 Exploring Operation: 82-43=39, Resulting Numbers: [16, 39] Generated Node #0,2,2: 66:[16, 39] Operation: 82-43=39 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[43, 66], Operations: ['89-46=43', '82-16=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,66 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 66:[16, 39], Operations: ['89-46=43', '82-43=39'] Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,66 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[82, 27], Operations: ['89-46=43', '43-16=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,66 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 83, 80, 38, 66 ]
59
[ "83+80=163", "38+66=104", "163-104=59" ]
Current State: 59:[83, 80, 38, 66], Operations: [] Exploring Operation: 83+80=163, Resulting Numbers: [38, 66, 163] Generated Node #2: [38, 66, 163] from Operation: 83+80=163 Current State: 59:[38, 66, 163], Operations: ['83+80=163'] Exploring Operation: 38+66=104, Resulting Numbers: [163, 104] Generated Node #3: [163, 104] from Operation: 38+66=104 Current State: 59:[163, 104], Operations: ['83+80=163', '38+66=104'] Exploring Operation: 163-104=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[83, 80, 38, 66], Operations: [] Exploring Operation: 83-38=45, Resulting Numbers: [80, 66, 45] Generated Node #0,0: 59:[80, 66, 45] Operation: 83-38=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[80, 66, 45], Operations: ['83-38=45'] Exploring Operation: 80-45=35, Resulting Numbers: [66, 35] Generated Node #0,0,0: 59:[66, 35] Operation: 80-45=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[66, 35], Operations: ['83-38=45', '80-45=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,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 No solution found.
0
hs_1
sum_heuristic
[ 7, 8, 28, 90 ]
18
[ "8+28=36", "90+36=126", "126/7=18" ]
Current State: 18:[7, 8, 28, 90], Operations: [] Exploring Operation: 8+28=36, Resulting Numbers: [7, 90, 36] Generated Node #2: [7, 90, 36] from Operation: 8+28=36 Current State: 18:[7, 90, 36], Operations: ['8+28=36'] Exploring Operation: 90+36=126, Resulting Numbers: [7, 126] Generated Node #3: [7, 126] from Operation: 90+36=126 Current State: 18:[7, 126], Operations: ['8+28=36', '90+36=126'] Exploring Operation: 126/7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[7, 8, 28, 90], Operations: [] Exploring Operation: 90-28=62, Resulting Numbers: [7, 8, 62] Generated Node #0,0: 18:[7, 8, 62] Operation: 90-28=62 Exploring Operation: 28-8=20, Resulting Numbers: [7, 90, 20] Generated Node #0,1: 18:[7, 90, 20] Operation: 28-8=20 Exploring Operation: 28/7=4, Resulting Numbers: [8, 90, 4] Generated Node #0,2: 18:[8, 90, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[7, 8, 62], Operations: ['90-28=62'] Exploring Operation: 62-8=54, Resulting Numbers: [7, 54] Generated Node #0,0,0: 18:[7, 54] Operation: 62-8=54 Exploring Operation: 8-7=1, Resulting Numbers: [62, 1] Generated Node #0,0,1: 18:[62, 1] Operation: 8-7=1 Exploring Operation: 62-7=55, Resulting Numbers: [8, 55] Generated Node #0,0,2: 18:[8, 55] Operation: 62-7=55 Moving to Node #0,0,0 Current State: 18:[7, 54], Operations: ['90-28=62', '62-8=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,18 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[8, 55], Operations: ['90-28=62', '62-7=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[62, 1], Operations: ['90-28=62', '8-7=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[8, 90, 4], Operations: ['28/7=4'] Exploring Operation: 90-4=86, Resulting Numbers: [8, 86] Generated Node #0,2,0: 18:[8, 86] Operation: 90-4=86 Exploring Operation: 90-8=82, Resulting Numbers: [4, 82] Generated Node #0,2,1: 18:[4, 82] Operation: 90-8=82 Exploring Operation: 8/4=2, Resulting Numbers: [90, 2] Generated Node #0,2,2: 18:[90, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[4, 82], Operations: ['28/7=4', '90-8=82'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,18 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[8, 86], Operations: ['28/7=4', '90-4=86'] Exploring Operation: 8+86=94, Resulting Numbers: [94] 94,18 unequal: No Solution Exploring Operation: 8*86=688, Resulting Numbers: [688] 688,18 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[90, 2], Operations: ['28/7=4', '8/4=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,18 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,18 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[7, 90, 20], Operations: ['28-8=20'] Exploring Operation: 20-7=13, Resulting Numbers: [90, 13] Generated Node #0,1,0: 18:[90, 13] Operation: 20-7=13 Exploring Operation: 90-7=83, Resulting Numbers: [20, 83] Generated Node #0,1,1: 18:[20, 83] Operation: 90-7=83 Exploring Operation: 90-20=70, Resulting Numbers: [7, 70] Generated Node #0,1,2: 18:[7, 70] Operation: 90-20=70 Moving to Node #0,1,2 Current State: 18:[7, 70], Operations: ['28-8=20', '90-20=70'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[20, 83], Operations: ['28-8=20', '90-7=83'] Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,18 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[90, 13], Operations: ['28-8=20', '20-7=13'] Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,18 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 69, 39, 67, 67 ]
14
[ "69-67=2", "67-39=28", "28/2=14" ]
Current State: 14:[69, 39, 67, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [39, 2] Generated Node #2: [39, 2] from Operation: 69-67=2 Current State: 14:[39, 2], Operations: ['69-67=2'] Exploring Operation: 67-39=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 67-39=28 Current State: 14:[2, 28], Operations: ['69-67=2', '67-39=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[69, 39, 67, 67], Operations: [] Exploring Operation: 67/67=1, Resulting Numbers: [69, 39, 1] Generated Node #0,0: 14:[69, 39, 1] Operation: 67/67=1 Exploring Operation: 69-67=2, Resulting Numbers: [39, 67, 2] Generated Node #0,1: 14:[39, 67, 2] Operation: 69-67=2 Exploring Operation: 69-67=2, Resulting Numbers: [39, 67, 2] Generated Node #0,2: 14:[39, 67, 2] Operation: 69-67=2 Moving to Node #0,1 Current State: 14:[39, 67, 2], Operations: ['69-67=2'] Exploring Operation: 67-2=65, Resulting Numbers: [39, 65] Generated Node #0,1,0: 14:[39, 65] Operation: 67-2=65 Exploring Operation: 67-39=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 14:[2, 28] Operation: 67-39=28 Exploring Operation: 39-2=37, Resulting Numbers: [67, 37] Generated Node #0,1,2: 14:[67, 37] Operation: 39-2=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[2, 28], Operations: ['69-67=2', '67-39=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[69, 39, 67, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [39, 67, 2] Generated Node #0,1: 14:[39, 67, 2] Operation: 69-67=2 Moving to Node #0,1 Current State: 14:[39, 67, 2], Operations: ['69-67=2'] Exploring Operation: 67-39=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 14:[2, 28] Operation: 67-39=28 Moving to Node #0,1,1 Current State: 14:[2, 28], Operations: ['69-67=2', '67-39=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 42, 62, 42, 77 ]
14
[ "42/42=1", "77-62=15", "15-1=14" ]
Current State: 14:[42, 62, 42, 77], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [62, 77, 1] Generated Node #2: [62, 77, 1] from Operation: 42/42=1 Current State: 14:[62, 77, 1], Operations: ['42/42=1'] Exploring Operation: 77-62=15, Resulting Numbers: [1, 15] Generated Node #3: [1, 15] from Operation: 77-62=15 Current State: 14:[1, 15], Operations: ['42/42=1', '77-62=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[42, 62, 42, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [42, 42, 15] Generated Node #0,0: 14:[42, 42, 15] Operation: 77-62=15 Exploring Operation: 62-42=20, Resulting Numbers: [42, 77, 20] Generated Node #0,1: 14:[42, 77, 20] Operation: 62-42=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[42, 42, 15], Operations: ['77-62=15'] Exploring Operation: 42-42=0, Resulting Numbers: [15, 0] Generated Node #0,0,0: 14:[15, 0] Operation: 42-42=0 Exploring Operation: 42/42=1, Resulting Numbers: [15, 1] Generated Node #0,0,1: 14:[15, 1] Operation: 42/42=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[15, 1], Operations: ['77-62=15', '42/42=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[42, 62, 42, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [42, 42, 15] Generated Node #0,0: 14:[42, 42, 15] Operation: 77-62=15 Moving to Node #0,0 Current State: 14:[42, 42, 15], Operations: ['77-62=15'] Exploring Operation: 42/42=1, Resulting Numbers: [15, 1] Generated Node #0,0,1: 14:[15, 1] Operation: 42/42=1 Moving to Node #0,0,1 Current State: 14:[15, 1], Operations: ['77-62=15', '42/42=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 48, 16, 34, 19 ]
11
[ "48+16=64", "34+19=53", "64-53=11" ]
Current State: 11:[48, 16, 34, 19], Operations: [] Exploring Operation: 48+16=64, Resulting Numbers: [34, 19, 64] Generated Node #2: [34, 19, 64] from Operation: 48+16=64 Current State: 11:[34, 19, 64], Operations: ['48+16=64'] Exploring Operation: 34+19=53, Resulting Numbers: [64, 53] Generated Node #3: [64, 53] from Operation: 34+19=53 Current State: 11:[64, 53], Operations: ['48+16=64', '34+19=53'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[48, 16, 34, 19], Operations: [] Exploring Operation: 48-34=14, Resulting Numbers: [16, 19, 14] Generated Node #0,0: 11:[16, 19, 14] Operation: 48-34=14 Moving to Node #0,0 Current State: 11:[16, 19, 14], Operations: ['48-34=14'] Exploring Operation: 19-16=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 11:[14, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[14, 3], Operations: ['48-34=14', '19-16=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[48, 16, 34, 19], Operations: [] Exploring Operation: 48-34=14, Resulting Numbers: [16, 19, 14] Generated Node #0,0: 11:[16, 19, 14] Operation: 48-34=14 Moving to Node #0,0 Current State: 11:[16, 19, 14], Operations: ['48-34=14'] Exploring Operation: 19-16=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 11:[14, 3] Operation: 19-16=3 Moving to Node #0,0,0 Current State: 11:[14, 3], Operations: ['48-34=14', '19-16=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 73, 27, 27, 30 ]
82
[ "30-27=3", "27/3=9", "73+9=82" ]
Current State: 82:[73, 27, 27, 30], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [73, 3] Generated Node #2: [73, 3] from Operation: 30-27=3 Current State: 82:[73, 3], Operations: ['30-27=3'] Exploring Operation: 27/3=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 27/3=9 Current State: 82:[73, 9], Operations: ['30-27=3', '27/3=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[73, 27, 27, 30], Operations: [] Exploring Operation: 27-27=0, Resulting Numbers: [73, 30, 0] Generated Node #0,0: 82:[73, 30, 0] Operation: 27-27=0 Exploring Operation: 30-27=3, Resulting Numbers: [73, 27, 3] Generated Node #0,1: 82:[73, 27, 3] Operation: 30-27=3 Exploring Operation: 27/27=1, Resulting Numbers: [73, 30, 1] Generated Node #0,2: 82:[73, 30, 1] Operation: 27/27=1 Moving to Node #0,2 Current State: 82:[73, 30, 1], Operations: ['27/27=1'] Exploring Operation: 30+1=31, Resulting Numbers: [73, 31] Generated Node #0,2,0: 82:[73, 31] Operation: 30+1=31 Exploring Operation: 73-30=43, Resulting Numbers: [1, 43] Generated Node #0,2,1: 82:[1, 43] Operation: 73-30=43 Exploring Operation: 73+1=74, Resulting Numbers: [30, 74] Generated Node #0,2,2: 82:[30, 74] Operation: 73+1=74 Moving to Node #0,0 Current State: 82:[73, 30, 0], Operations: ['27-27=0'] Exploring Operation: 73-30=43, Resulting Numbers: [0, 43] Generated Node #0,0,0: 82:[0, 43] Operation: 73-30=43 Exploring Operation: 73*0=0, Resulting Numbers: [30, 0] Generated Node #0,0,1: 82:[30, 0] Operation: 73*0=0 Exploring Operation: 30*0=0, Resulting Numbers: [73, 0] Generated Node #0,0,2: 82:[73, 0] Operation: 30*0=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[0, 43], Operations: ['27-27=0', '73-30=43'] Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 0*43=0, Resulting Numbers: [0] 0,82 unequal: No Solution Exploring Operation: 0+43=43, Resulting Numbers: [43] 43,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,0,2 Current State: 82:[73, 0], Operations: ['27-27=0', '30*0=0'] Exploring Operation: 73-0=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 73+0=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 73*0=0, Resulting Numbers: [0] 0,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,0,1 Current State: 82:[30, 0], Operations: ['27-27=0', '73*0=0'] Exploring Operation: 30*0=0, Resulting Numbers: [0] 0,82 unequal: No Solution Exploring Operation: 30+0=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 30-0=30, Resulting Numbers: [30] 30,82 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: 82:[73, 27, 3], Operations: ['30-27=3'] Exploring Operation: 73-27=46, Resulting Numbers: [3, 46] Generated Node #0,1,0: 82:[3, 46] Operation: 73-27=46 Exploring Operation: 27/3=9, Resulting Numbers: [73, 9] Generated Node #0,1,1: 82:[73, 9] Operation: 27/3=9 Exploring Operation: 27*3=81, Resulting Numbers: [73, 81] Generated Node #0,1,2: 82:[73, 81] Operation: 27*3=81 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[3, 46], Operations: ['30-27=3', '73-27=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,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,2 Current State: 82:[73, 81], Operations: ['30-27=3', '27*3=81'] Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,82 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,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,1 Current State: 82:[73, 9], Operations: ['30-27=3', '27/3=9'] Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,82 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[73, 27, 27, 30], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [73, 27, 3] Generated Node #0,1: 82:[73, 27, 3] Operation: 30-27=3 Moving to Node #0,1 Current State: 82:[73, 27, 3], Operations: ['30-27=3'] Exploring Operation: 27/3=9, Resulting Numbers: [73, 9] Generated Node #0,1,1: 82:[73, 9] Operation: 27/3=9 Moving to Node #0,1,1 Current State: 82:[73, 9], Operations: ['30-27=3', '27/3=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_3
sum_heuristic
[ 28, 49, 34, 21 ]
46
[ "28*21=588", "588/49=12", "34+12=46" ]
Current State: 46:[28, 49, 34, 21], Operations: [] Exploring Operation: 28*21=588, Resulting Numbers: [49, 34, 588] Generated Node #2: [49, 34, 588] from Operation: 28*21=588 Current State: 46:[49, 34, 588], Operations: ['28*21=588'] Exploring Operation: 588/49=12, Resulting Numbers: [34, 12] Generated Node #3: [34, 12] from Operation: 588/49=12 Current State: 46:[34, 12], Operations: ['28*21=588', '588/49=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[28, 49, 34, 21], Operations: [] Exploring Operation: 49-28=21, Resulting Numbers: [34, 21, 21] Generated Node #0,0: 46:[34, 21, 21] Operation: 49-28=21 Exploring Operation: 34+21=55, Resulting Numbers: [28, 49, 55] Generated Node #0,1: 46:[28, 49, 55] Operation: 34+21=55 Exploring Operation: 49-34=15, Resulting Numbers: [28, 21, 15] Generated Node #0,2: 46:[28, 21, 15] Operation: 49-34=15 Exploring Operation: 34-28=6, Resulting Numbers: [49, 21, 6] Generated Node #0,3: 46:[49, 21, 6] Operation: 34-28=6 Exploring Operation: 28+21=49, Resulting Numbers: [49, 34, 49] Generated Node #0,4: 46:[49, 34, 49] Operation: 28+21=49 Moving to Node #0,3 Current State: 46:[49, 21, 6], Operations: ['34-28=6'] Exploring Operation: 49+6=55, Resulting Numbers: [21, 55] Generated Node #0,3,0: 46:[21, 55] Operation: 49+6=55 Exploring Operation: 21-6=15, Resulting Numbers: [49, 15] Generated Node #0,3,1: 46:[49, 15] Operation: 21-6=15 Exploring Operation: 21+6=27, Resulting Numbers: [49, 27] Generated Node #0,3,2: 46:[49, 27] Operation: 21+6=27 Exploring Operation: 49-6=43, Resulting Numbers: [21, 43] Generated Node #0,3,3: 46:[21, 43] Operation: 49-6=43 Exploring Operation: 49-21=28, Resulting Numbers: [6, 28] Generated Node #0,3,4: 46:[6, 28] Operation: 49-21=28 Moving to Node #0,2 Current State: 46:[28, 21, 15], Operations: ['49-34=15'] Exploring Operation: 28-21=7, Resulting Numbers: [15, 7] Generated Node #0,2,0: 46:[15, 7] Operation: 28-21=7 Exploring Operation: 28+15=43, Resulting Numbers: [21, 43] Generated Node #0,2,1: 46:[21, 43] Operation: 28+15=43 Exploring Operation: 28-15=13, Resulting Numbers: [21, 13] Generated Node #0,2,2: 46:[21, 13] Operation: 28-15=13 Exploring Operation: 21-15=6, Resulting Numbers: [28, 6] Generated Node #0,2,3: 46:[28, 6] Operation: 21-15=6 Exploring Operation: 28+21=49, Resulting Numbers: [15, 49] Generated Node #0,2,4: 46:[15, 49] Operation: 28+21=49 Moving to Node #0,0 Current State: 46:[34, 21, 21], Operations: ['49-28=21'] Exploring Operation: 34-21=13, Resulting Numbers: [21, 13] Generated Node #0,0,0: 46:[21, 13] Operation: 34-21=13 Exploring Operation: 34+21=55, Resulting Numbers: [21, 55] Generated Node #0,0,1: 46:[21, 55] Operation: 34+21=55 Exploring Operation: 21/21=1, Resulting Numbers: [34, 1] Generated Node #0,0,2: 46:[34, 1] Operation: 21/21=1 Exploring Operation: 34-21=13, Resulting Numbers: [21, 13] Generated Node #0,0,3: 46:[21, 13] Operation: 34-21=13 Exploring Operation: 34+21=55, Resulting Numbers: [21, 55] Generated Node #0,0,4: 46:[21, 55] Operation: 34+21=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[21, 55], Operations: ['49-28=21', '34+21=55'] Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,46 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 46:[21, 55], Operations: ['49-28=21', '34+21=55'] Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,46 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[21, 13], Operations: ['49-28=21', '34-21=13'] Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,46 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[34, 1], Operations: ['49-28=21', '21/21=1'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,46 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[21, 13], Operations: ['49-28=21', '34-21=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,46 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[28, 49, 55], Operations: ['34+21=55'] Exploring Operation: 28+55=83, Resulting Numbers: [49, 83] Generated Node #0,1,0: 46:[49, 83] Operation: 28+55=83 Exploring Operation: 28+49=77, Resulting Numbers: [55, 77] Generated Node #0,1,1: 46:[55, 77] Operation: 28+49=77 Exploring Operation: 55-49=6, Resulting Numbers: [28, 6] Generated Node #0,1,2: 46:[28, 6] Operation: 55-49=6 Exploring Operation: 55-28=27, Resulting Numbers: [49, 27] Generated Node #0,1,3: 46:[49, 27] Operation: 55-28=27 Exploring Operation: 49-28=21, Resulting Numbers: [55, 21] Generated Node #0,1,4: 46:[55, 21] Operation: 49-28=21 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[49, 27], Operations: ['34+21=55', '55-28=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,46 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[28, 6], Operations: ['34+21=55', '55-49=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,46 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[55, 21], Operations: ['34+21=55', '49-28=21'] Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,46 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[49, 83], Operations: ['34+21=55', '28+55=83'] Exploring Operation: 49*83=4067, Resulting Numbers: [4067] 4067,46 unequal: No Solution Exploring Operation: 49+83=132, Resulting Numbers: [132] 132,46 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[55, 77], Operations: ['34+21=55', '28+49=77'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,46 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,46 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: 46:[49, 34, 49], Operations: ['28+21=49'] Exploring Operation: 49-34=15, Resulting Numbers: [49, 15] Generated Node #0,4,0: 46:[49, 15] Operation: 49-34=15 Exploring Operation: 49/49=1, Resulting Numbers: [34, 1] Generated Node #0,4,1: 46:[34, 1] Operation: 49/49=1 Exploring Operation: 49-49=0, Resulting Numbers: [34, 0] Generated Node #0,4,2: 46:[34, 0] Operation: 49-49=0 Exploring Operation: 49+34=83, Resulting Numbers: [49, 83] Generated Node #0,4,3: 46:[49, 83] Operation: 49+34=83 Exploring Operation: 49-34=15, Resulting Numbers: [49, 15] Generated Node #0,4,4: 46:[49, 15] Operation: 49-34=15 Moving to Node #0,3,3 Current State: 46:[21, 43], Operations: ['34-28=6', '49-6=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,46 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[21, 43], Operations: ['49-34=15', '28+15=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[49, 27], Operations: ['34-28=6', '21+6=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,46 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[28, 6], Operations: ['49-34=15', '21-15=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[6, 28], Operations: ['34-28=6', '49-21=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[49, 15], Operations: ['28+21=49', '49-34=15'] Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,46 unequal: No Solution Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[49, 15], Operations: ['34-28=6', '21-6=15'] Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,46 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[49, 15], Operations: ['28+21=49', '49-34=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[21, 55], Operations: ['34-28=6', '49+6=55'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,46 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[15, 49], Operations: ['49-34=15', '28+21=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[34, 1], Operations: ['28+21=49', '49/49=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,46 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[21, 13], Operations: ['49-34=15', '28-15=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[34, 0], Operations: ['28+21=49', '49-49=0'] Exploring Operation: 34*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[15, 7], Operations: ['49-34=15', '28-21=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[49, 83], Operations: ['28+21=49', '49+34=83'] Exploring Operation: 49+83=132, Resulting Numbers: [132] 132,46 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 49*83=4067, Resulting Numbers: [4067] 4067,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 60, 99, 53, 94 ]
41
[ "99-94=5", "60/5=12", "53-12=41" ]
Current State: 41:[60, 99, 53, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [60, 53, 5] Generated Node #2: [60, 53, 5] from Operation: 99-94=5 Current State: 41:[60, 53, 5], Operations: ['99-94=5'] Exploring Operation: 60/5=12, Resulting Numbers: [53, 12] Generated Node #3: [53, 12] from Operation: 60/5=12 Current State: 41:[53, 12], Operations: ['99-94=5', '60/5=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[60, 99, 53, 94], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [53, 94, 39] Generated Node #0,0: 41:[53, 94, 39] Operation: 99-60=39 Moving to Node #0,0 Current State: 41:[53, 94, 39], Operations: ['99-60=39'] Exploring Operation: 94-53=41, Resulting Numbers: [39, 41] Generated Node #0,0,0: 41:[39, 41] Operation: 94-53=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[39, 41], Operations: ['99-60=39', '94-53=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,41 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, 53, 47, 42 ]
42
[ "53-53=0", "47*0=0", "42+0=42" ]
Current State: 42:[53, 53, 47, 42], Operations: [] Exploring Operation: 53-53=0, Resulting Numbers: [47, 42, 0] Generated Node #2: [47, 42, 0] from Operation: 53-53=0 Current State: 42:[47, 42, 0], Operations: ['53-53=0'] Exploring Operation: 47*0=0, Resulting Numbers: [42, 0] Generated Node #3: [42, 0] from Operation: 47*0=0 Current State: 42:[42, 0], Operations: ['53-53=0', '47*0=0'] Exploring Operation: 42+0=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[53, 53, 47, 42], Operations: [] Exploring Operation: 53-53=0, Resulting Numbers: [47, 42, 0] Generated Node #0,0: 42:[47, 42, 0] Operation: 53-53=0 Exploring Operation: 53-47=6, Resulting Numbers: [53, 42, 6] Generated Node #0,1: 42:[53, 42, 6] Operation: 53-47=6 Exploring Operation: 53/53=1, Resulting Numbers: [47, 42, 1] Generated Node #0,2: 42:[47, 42, 1] Operation: 53/53=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[47, 42, 1], Operations: ['53/53=1'] Exploring Operation: 47*1=47, Resulting Numbers: [42, 47] Generated Node #0,2,0: 42:[42, 47] Operation: 47*1=47 Exploring Operation: 47-42=5, Resulting Numbers: [1, 5] Generated Node #0,2,1: 42:[1, 5] Operation: 47-42=5 Exploring Operation: 47-1=46, Resulting Numbers: [42, 46] Generated Node #0,2,2: 42:[42, 46] Operation: 47-1=46 Moving to Node #0,2,1 Current State: 42:[1, 5], Operations: ['53/53=1', '47-42=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[42, 46], Operations: ['53/53=1', '47-1=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,42 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[42, 47], Operations: ['53/53=1', '47*1=47'] Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 42*47=1974, Resulting Numbers: [1974] 1974,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[47, 42, 0], Operations: ['53-53=0'] Exploring Operation: 47+0=47, Resulting Numbers: [42, 47] Generated Node #0,0,0: 42:[42, 47] Operation: 47+0=47 Exploring Operation: 47*0=0, Resulting Numbers: [42, 0] Generated Node #0,0,1: 42:[42, 0] Operation: 47*0=0 Exploring Operation: 47-42=5, Resulting Numbers: [0, 5] Generated Node #0,0,2: 42:[0, 5] Operation: 47-42=5 Moving to Node #0,0,1 Current State: 42:[42, 0], Operations: ['53-53=0', '47*0=0'] Exploring Operation: 42-0=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[53, 53, 47, 42], Operations: [] Exploring Operation: 53-53=0, Resulting Numbers: [47, 42, 0] Generated Node #0,0: 42:[47, 42, 0] Operation: 53-53=0 Moving to Node #0,0 Current State: 42:[47, 42, 0], Operations: ['53-53=0'] Exploring Operation: 47*0=0, Resulting Numbers: [42, 0] Generated Node #0,0,1: 42:[42, 0] Operation: 47*0=0 Moving to Node #0,0,1 Current State: 42:[42, 0], Operations: ['53-53=0', '47*0=0'] Exploring Operation: 42-0=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 1, 71, 56, 39 ]
89
[ "1+71=72", "56-39=17", "72+17=89" ]
Current State: 89:[1, 71, 56, 39], Operations: [] Exploring Operation: 1+71=72, Resulting Numbers: [56, 39, 72] Generated Node #2: [56, 39, 72] from Operation: 1+71=72 Current State: 89:[56, 39, 72], Operations: ['1+71=72'] Exploring Operation: 56-39=17, Resulting Numbers: [72, 17] Generated Node #3: [72, 17] from Operation: 56-39=17 Current State: 89:[72, 17], Operations: ['1+71=72', '56-39=17'] Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[1, 71, 56, 39], Operations: [] Exploring Operation: 1+56=57, Resulting Numbers: [71, 39, 57] Generated Node #0,0: 89:[71, 39, 57] Operation: 1+56=57 Exploring Operation: 1+71=72, Resulting Numbers: [56, 39, 72] Generated Node #0,1: 89:[56, 39, 72] Operation: 1+71=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[71, 39, 57], Operations: ['1+56=57'] Exploring Operation: 71+39=110, Resulting Numbers: [57, 110] Generated Node #0,0,0: 89:[57, 110] Operation: 71+39=110 Exploring Operation: 39+57=96, Resulting Numbers: [71, 96] Generated Node #0,0,1: 89:[71, 96] Operation: 39+57=96 Moving to Node #0,0,1 Current State: 89:[71, 96], Operations: ['1+56=57', '39+57=96'] Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[57, 110], Operations: ['1+56=57', '71+39=110'] Exploring Operation: 57+110=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[56, 39, 72], Operations: ['1+71=72'] Exploring Operation: 56+39=95, Resulting Numbers: [72, 95] Generated Node #0,1,0: 89:[72, 95] Operation: 56+39=95 Exploring Operation: 39+72=111, Resulting Numbers: [56, 111] Generated Node #0,1,1: 89:[56, 111] Operation: 39+72=111 Moving to Node #0,1,0 Current State: 89:[72, 95], Operations: ['1+71=72', '56+39=95'] Exploring Operation: 72+95=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[56, 111], Operations: ['1+71=72', '39+72=111'] Exploring Operation: 111-56=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 56+111=167, Resulting Numbers: [167] 167,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 60, 20, 94, 30 ]
44
[ "60+20=80", "94+30=124", "124-80=44" ]
Current State: 44:[60, 20, 94, 30], Operations: [] Exploring Operation: 60+20=80, Resulting Numbers: [94, 30, 80] Generated Node #2: [94, 30, 80] from Operation: 60+20=80 Current State: 44:[94, 30, 80], Operations: ['60+20=80'] Exploring Operation: 94+30=124, Resulting Numbers: [80, 124] Generated Node #3: [80, 124] from Operation: 94+30=124 Current State: 44:[80, 124], Operations: ['60+20=80', '94+30=124'] Exploring Operation: 124-80=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[60, 20, 94, 30], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [20, 94, 2] Generated Node #0,0: 44:[20, 94, 2] Operation: 60/30=2 Exploring Operation: 94-30=64, Resulting Numbers: [60, 20, 64] Generated Node #0,1: 44:[60, 20, 64] Operation: 94-30=64 Exploring Operation: 94-60=34, Resulting Numbers: [20, 30, 34] Generated Node #0,2: 44:[20, 30, 34] Operation: 94-60=34 Moving to Node #0,2 Current State: 44:[20, 30, 34], Operations: ['94-60=34'] Exploring Operation: 34-20=14, Resulting Numbers: [30, 14] Generated Node #0,2,0: 44:[30, 14] Operation: 34-20=14 Exploring Operation: 30-20=10, Resulting Numbers: [34, 10] Generated Node #0,2,1: 44:[34, 10] Operation: 30-20=10 Exploring Operation: 34-30=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 44:[20, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[20, 4], Operations: ['94-60=34', '34-30=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,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,2,0 Current State: 44:[30, 14], Operations: ['94-60=34', '34-20=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,44 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[60, 20, 94, 30], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [20, 30, 34] Generated Node #0,2: 44:[20, 30, 34] Operation: 94-60=34 Moving to Node #0,2 Current State: 44:[20, 30, 34], Operations: ['94-60=34'] Exploring Operation: 34-20=14, Resulting Numbers: [30, 14] Generated Node #0,2,0: 44:[30, 14] Operation: 34-20=14 Moving to Node #0,2,0 Current State: 44:[30, 14], Operations: ['94-60=34', '34-20=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic