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
[ 46, 12, 84, 46 ]
95
[ "46/46=1", "12+84=96", "96-1=95" ]
Current State: 95:[46, 12, 84, 46], Operations: [] Exploring Operation: 46/46=1, Resulting Numbers: [12, 84, 1] Generated Node #2: [12, 84, 1] from Operation: 46/46=1 Current State: 95:[12, 84, 1], Operations: ['46/46=1'] Exploring Operation: 12+84=96, Resulting Numbers: [1, 96] Generated Node #3: [1, 96] from Operation: 12+84=96 Current State: 95:[1, 96], Operations: ['46/46=1', '12+84=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[46, 12, 84, 46], Operations: [] Exploring Operation: 46+46=92, Resulting Numbers: [12, 84, 92] Generated Node #0,0: 95:[12, 84, 92] Operation: 46+46=92 Exploring Operation: 46-12=34, Resulting Numbers: [84, 46, 34] Generated Node #0,1: 95:[84, 46, 34] Operation: 46-12=34 Exploring Operation: 84-46=38, Resulting Numbers: [12, 46, 38] Generated Node #0,2: 95:[12, 46, 38] Operation: 84-46=38 Exploring Operation: 46/46=1, Resulting Numbers: [12, 84, 1] Generated Node #0,3: 95:[12, 84, 1] Operation: 46/46=1 Exploring Operation: 46-46=0, Resulting Numbers: [12, 84, 0] Generated Node #0,4: 95:[12, 84, 0] Operation: 46-46=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[12, 84, 92], Operations: ['46+46=92'] Exploring Operation: 92-84=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 95:[12, 8] Operation: 92-84=8 Exploring Operation: 84/12=7, Resulting Numbers: [92, 7] Generated Node #0,0,1: 95:[92, 7] Operation: 84/12=7 Exploring Operation: 12+92=104, Resulting Numbers: [84, 104] Generated Node #0,0,2: 95:[84, 104] Operation: 12+92=104 Exploring Operation: 84-12=72, Resulting Numbers: [92, 72] Generated Node #0,0,3: 95:[92, 72] Operation: 84-12=72 Exploring Operation: 12+84=96, Resulting Numbers: [92, 96] Generated Node #0,0,4: 95:[92, 96] Operation: 12+84=96 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 95:[92, 96], Operations: ['46+46=92', '12+84=96'] Exploring Operation: 92*96=8832, Resulting Numbers: [8832] 8832,95 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,95 unequal: No Solution No 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: 95:[92, 7], Operations: ['46+46=92', '84/12=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,95 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,95 unequal: No Solution No 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: 95:[12, 8], Operations: ['46+46=92', '92-84=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,95 unequal: No Solution No 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: 95:[84, 104], Operations: ['46+46=92', '12+92=104'] Exploring Operation: 84*104=8736, Resulting Numbers: [8736] 8736,95 unequal: No Solution Exploring Operation: 84+104=188, Resulting Numbers: [188] 188,95 unequal: No Solution Exploring Operation: 104-84=20, Resulting Numbers: [20] 20,95 unequal: No Solution No 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: 95:[92, 72], Operations: ['46+46=92', '84-12=72'] Exploring Operation: 92+72=164, Resulting Numbers: [164] 164,95 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 92*72=6624, Resulting Numbers: [6624] 6624,95 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: 95:[12, 84, 1], Operations: ['46/46=1'] Exploring Operation: 12-1=11, Resulting Numbers: [84, 11] Generated Node #0,3,0: 95:[84, 11] Operation: 12-1=11 Exploring Operation: 12+1=13, Resulting Numbers: [84, 13] Generated Node #0,3,1: 95:[84, 13] Operation: 12+1=13 Exploring Operation: 84+1=85, Resulting Numbers: [12, 85] Generated Node #0,3,2: 95:[12, 85] Operation: 84+1=85 Exploring Operation: 84/12=7, Resulting Numbers: [1, 7] Generated Node #0,3,3: 95:[1, 7] Operation: 84/12=7 Exploring Operation: 12+84=96, Resulting Numbers: [1, 96] Generated Node #0,3,4: 95:[1, 96] Operation: 12+84=96 Moving to Node #0,3,4 Current State: 95:[1, 96], Operations: ['46/46=1', '12+84=96'] Exploring Operation: 1*96=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[46, 12, 84, 46], Operations: [] Exploring Operation: 46/46=1, Resulting Numbers: [12, 84, 1] Generated Node #0,3: 95:[12, 84, 1] Operation: 46/46=1 Moving to Node #0,3 Current State: 95:[12, 84, 1], Operations: ['46/46=1'] Exploring Operation: 12+84=96, Resulting Numbers: [1, 96] Generated Node #0,3,4: 95:[1, 96] Operation: 12+84=96 Moving to Node #0,3,4 Current State: 95:[1, 96], Operations: ['46/46=1', '12+84=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 76, 12, 45, 70 ]
51
[ "76-12=64", "45+70=115", "115-64=51" ]
Current State: 51:[76, 12, 45, 70], Operations: [] Exploring Operation: 76-12=64, Resulting Numbers: [45, 70, 64] Generated Node #2: [45, 70, 64] from Operation: 76-12=64 Current State: 51:[45, 70, 64], Operations: ['76-12=64'] Exploring Operation: 45+70=115, Resulting Numbers: [64, 115] Generated Node #3: [64, 115] from Operation: 45+70=115 Current State: 51:[64, 115], Operations: ['76-12=64', '45+70=115'] Exploring Operation: 115-64=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[76, 12, 45, 70], Operations: [] Exploring Operation: 76-12=64, Resulting Numbers: [45, 70, 64] Generated Node #0,0: 51:[45, 70, 64] Operation: 76-12=64 Exploring Operation: 76-70=6, Resulting Numbers: [12, 45, 6] Generated Node #0,1: 51:[12, 45, 6] Operation: 76-70=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[12, 45, 6], Operations: ['76-70=6'] Exploring Operation: 12+6=18, Resulting Numbers: [45, 18] Generated Node #0,1,0: 51:[45, 18] Operation: 12+6=18 Exploring Operation: 45+6=51, Resulting Numbers: [12, 51] Generated Node #0,1,1: 51:[12, 51] Operation: 45+6=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[12, 51], Operations: ['76-70=6', '45+6=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,51 unequal: No Solution No 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: 51:[45, 18], Operations: ['76-70=6', '12+6=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,51 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: 51:[45, 70, 64], Operations: ['76-12=64'] Exploring Operation: 70-64=6, Resulting Numbers: [45, 6] Generated Node #0,0,0: 51:[45, 6] Operation: 70-64=6 Exploring Operation: 70-45=25, Resulting Numbers: [64, 25] Generated Node #0,0,1: 51:[64, 25] Operation: 70-45=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[45, 6], Operations: ['76-12=64', '70-64=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[76, 12, 45, 70], Operations: [] Exploring Operation: 76-12=64, Resulting Numbers: [45, 70, 64] Generated Node #0,0: 51:[45, 70, 64] Operation: 76-12=64 Moving to Node #0,0 Current State: 51:[45, 70, 64], Operations: ['76-12=64'] Exploring Operation: 70-64=6, Resulting Numbers: [45, 6] Generated Node #0,0,0: 51:[45, 6] Operation: 70-64=6 Moving to Node #0,0,0 Current State: 51:[45, 6], Operations: ['76-12=64', '70-64=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 2, 83, 25, 30 ]
80
[ "2+83=85", "30-25=5", "85-5=80" ]
Current State: 80:[2, 83, 25, 30], Operations: [] Exploring Operation: 2+83=85, Resulting Numbers: [25, 30, 85] Generated Node #2: [25, 30, 85] from Operation: 2+83=85 Current State: 80:[25, 30, 85], Operations: ['2+83=85'] Exploring Operation: 30-25=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 30-25=5 Current State: 80:[85, 5], Operations: ['2+83=85', '30-25=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 83, 25, 30], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [2, 83, 5] Generated Node #0,0: 80:[2, 83, 5] Operation: 30-25=5 Moving to Node #0,0 Current State: 80:[2, 83, 5], Operations: ['30-25=5'] Exploring Operation: 83-2=81, Resulting Numbers: [5, 81] Generated Node #0,0,0: 80:[5, 81] Operation: 83-2=81 Moving to Node #0,0,0 Current State: 80:[5, 81], Operations: ['30-25=5', '83-2=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 19, 56, 90, 37 ]
57
[ "90-56=34", "37-34=3", "19*3=57" ]
Current State: 57:[19, 56, 90, 37], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [19, 37, 34] Generated Node #2: [19, 37, 34] from Operation: 90-56=34 Current State: 57:[19, 37, 34], Operations: ['90-56=34'] Exploring Operation: 37-34=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 37-34=3 Current State: 57:[19, 3], Operations: ['90-56=34', '37-34=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[19, 56, 90, 37], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [19, 37, 34] Generated Node #0,0: 57:[19, 37, 34] Operation: 90-56=34 Exploring Operation: 90-19=71, Resulting Numbers: [56, 37, 71] Generated Node #0,1: 57:[56, 37, 71] Operation: 90-19=71 Exploring Operation: 90-37=53, Resulting Numbers: [19, 56, 53] Generated Node #0,2: 57:[19, 56, 53] Operation: 90-37=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[19, 56, 53], Operations: ['90-37=53'] Exploring Operation: 56-53=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 57:[19, 3] Operation: 56-53=3 Exploring Operation: 53-19=34, Resulting Numbers: [56, 34] Generated Node #0,2,1: 57:[56, 34] Operation: 53-19=34 Exploring Operation: 19+53=72, Resulting Numbers: [56, 72] Generated Node #0,2,2: 57:[56, 72] Operation: 19+53=72 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[19, 3], Operations: ['90-37=53', '56-53=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[19, 56, 90, 37], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [19, 56, 53] Generated Node #0,2: 57:[19, 56, 53] Operation: 90-37=53 Moving to Node #0,2 Current State: 57:[19, 56, 53], Operations: ['90-37=53'] Exploring Operation: 56-53=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 57:[19, 3] Operation: 56-53=3 Moving to Node #0,2,0 Current State: 57:[19, 3], Operations: ['90-37=53', '56-53=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 8, 77, 5, 18 ]
23
[ "8-5=3", "18*3=54", "77-54=23" ]
Current State: 23:[8, 77, 5, 18], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [77, 18, 3] Generated Node #2: [77, 18, 3] from Operation: 8-5=3 Current State: 23:[77, 18, 3], Operations: ['8-5=3'] Exploring Operation: 18*3=54, Resulting Numbers: [77, 54] Generated Node #3: [77, 54] from Operation: 18*3=54 Current State: 23:[77, 54], Operations: ['8-5=3', '18*3=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[8, 77, 5, 18], Operations: [] Exploring Operation: 77-8=69, Resulting Numbers: [5, 18, 69] Generated Node #0,0: 23:[5, 18, 69] Operation: 77-8=69 Exploring Operation: 77-18=59, Resulting Numbers: [8, 5, 59] Generated Node #0,1: 23:[8, 5, 59] Operation: 77-18=59 Exploring Operation: 77-5=72, Resulting Numbers: [8, 18, 72] Generated Node #0,2: 23:[8, 18, 72] Operation: 77-5=72 Exploring Operation: 8+5=13, Resulting Numbers: [77, 18, 13] Generated Node #0,3: 23:[77, 18, 13] Operation: 8+5=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[5, 18, 69], Operations: ['77-8=69'] Exploring Operation: 69-5=64, Resulting Numbers: [18, 64] Generated Node #0,0,0: 23:[18, 64] Operation: 69-5=64 Exploring Operation: 18-5=13, Resulting Numbers: [69, 13] Generated Node #0,0,1: 23:[69, 13] Operation: 18-5=13 Exploring Operation: 5+18=23, Resulting Numbers: [69, 23] Generated Node #0,0,2: 23:[69, 23] Operation: 5+18=23 Exploring Operation: 69-18=51, Resulting Numbers: [5, 51] Generated Node #0,0,3: 23:[5, 51] Operation: 69-18=51 Moving to Node #0,0,0 Current State: 23:[18, 64], Operations: ['77-8=69', '69-5=64'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,23 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[5, 51], Operations: ['77-8=69', '69-18=51'] Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,23 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[69, 23], Operations: ['77-8=69', '5+18=23'] Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 69*23=1587, Resulting Numbers: [1587] 1587,23 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[69, 13], Operations: ['77-8=69', '18-5=13'] Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,23 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[8, 5, 59], Operations: ['77-18=59'] Exploring Operation: 8+5=13, Resulting Numbers: [59, 13] Generated Node #0,1,0: 23:[59, 13] Operation: 8+5=13 Exploring Operation: 59-5=54, Resulting Numbers: [8, 54] Generated Node #0,1,1: 23:[8, 54] Operation: 59-5=54 Exploring Operation: 8*5=40, Resulting Numbers: [59, 40] Generated Node #0,1,2: 23:[59, 40] Operation: 8*5=40 Exploring Operation: 59-8=51, Resulting Numbers: [5, 51] Generated Node #0,1,3: 23:[5, 51] Operation: 59-8=51 Moving to Node #0,1,0 Current State: 23:[59, 13], Operations: ['77-18=59', '8+5=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[5, 51], Operations: ['77-18=59', '59-8=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,23 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[8, 54], Operations: ['77-18=59', '59-5=54'] Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,23 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[59, 40], Operations: ['77-18=59', '8*5=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,23 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[8, 18, 72], Operations: ['77-5=72'] Exploring Operation: 72-18=54, Resulting Numbers: [8, 54] Generated Node #0,2,0: 23:[8, 54] Operation: 72-18=54 Exploring Operation: 72/8=9, Resulting Numbers: [18, 9] Generated Node #0,2,1: 23:[18, 9] Operation: 72/8=9 Exploring Operation: 72-8=64, Resulting Numbers: [18, 64] Generated Node #0,2,2: 23:[18, 64] Operation: 72-8=64 Exploring Operation: 72/18=4, Resulting Numbers: [8, 4] Generated Node #0,2,3: 23:[8, 4] Operation: 72/18=4 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[18, 9], Operations: ['77-5=72', '72/8=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,23 unequal: No Solution No 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: 23:[8, 4], Operations: ['77-5=72', '72/18=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,23 unequal: No Solution No 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: 23:[8, 54], Operations: ['77-5=72', '72-18=54'] Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,23 unequal: No Solution No 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: 23:[18, 64], Operations: ['77-5=72', '72-8=64'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,23 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,23 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: 23:[77, 18, 13], Operations: ['8+5=13'] Exploring Operation: 18+13=31, Resulting Numbers: [77, 31] Generated Node #0,3,0: 23:[77, 31] Operation: 18+13=31 Exploring Operation: 77-13=64, Resulting Numbers: [18, 64] Generated Node #0,3,1: 23:[18, 64] Operation: 77-13=64 Exploring Operation: 77+13=90, Resulting Numbers: [18, 90] Generated Node #0,3,2: 23:[18, 90] Operation: 77+13=90 Exploring Operation: 77-18=59, Resulting Numbers: [13, 59] Generated Node #0,3,3: 23:[13, 59] Operation: 77-18=59 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[18, 64], Operations: ['8+5=13', '77-13=64'] Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,23 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,23 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,23 unequal: No Solution No 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: 23:[13, 59], Operations: ['8+5=13', '77-18=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,23 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,23 unequal: No Solution No 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: 23:[77, 31], Operations: ['8+5=13', '18+13=31'] Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,23 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,23 unequal: No Solution No 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: 23:[18, 90], Operations: ['8+5=13', '77+13=90'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 18*90=1620, Resulting Numbers: [1620] 1620,23 unequal: No Solution Exploring Operation: 18+90=108, Resulting Numbers: [108] 108,23 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
[ 83, 98, 80, 85 ]
36
[ "85-83=2", "98-80=18", "2*18=36" ]
Current State: 36:[83, 98, 80, 85], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [98, 80, 2] Generated Node #2: [98, 80, 2] from Operation: 85-83=2 Current State: 36:[98, 80, 2], Operations: ['85-83=2'] Exploring Operation: 98-80=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 98-80=18 Current State: 36:[2, 18], Operations: ['85-83=2', '98-80=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[83, 98, 80, 85], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [83, 98, 5] Generated Node #0,0: 36:[83, 98, 5] Operation: 85-80=5 Exploring Operation: 85-83=2, Resulting Numbers: [98, 80, 2] Generated Node #0,1: 36:[98, 80, 2] Operation: 85-83=2 Exploring Operation: 98-80=18, Resulting Numbers: [83, 85, 18] Generated Node #0,2: 36:[83, 85, 18] Operation: 98-80=18 Exploring Operation: 98-85=13, Resulting Numbers: [83, 80, 13] Generated Node #0,3: 36:[83, 80, 13] Operation: 98-85=13 Exploring Operation: 98-83=15, Resulting Numbers: [80, 85, 15] Generated Node #0,4: 36:[80, 85, 15] Operation: 98-83=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[83, 80, 13], Operations: ['98-85=13'] Exploring Operation: 83-80=3, Resulting Numbers: [13, 3] Generated Node #0,3,0: 36:[13, 3] Operation: 83-80=3 Exploring Operation: 80+13=93, Resulting Numbers: [83, 93] Generated Node #0,3,1: 36:[83, 93] Operation: 80+13=93 Exploring Operation: 83+13=96, Resulting Numbers: [80, 96] Generated Node #0,3,2: 36:[80, 96] Operation: 83+13=96 Exploring Operation: 83-13=70, Resulting Numbers: [80, 70] Generated Node #0,3,3: 36:[80, 70] Operation: 83-13=70 Exploring Operation: 80-13=67, Resulting Numbers: [83, 67] Generated Node #0,3,4: 36:[83, 67] Operation: 80-13=67 Moving to Node #0,3,0 Current State: 36:[13, 3], Operations: ['98-85=13', '83-80=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[83, 67], Operations: ['98-85=13', '80-13=67'] Exploring Operation: 83+67=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 83*67=5561, Resulting Numbers: [5561] 5561,36 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[80, 70], Operations: ['98-85=13', '83-13=70'] Exploring Operation: 80+70=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 80*70=5600, Resulting Numbers: [5600] 5600,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[83, 93], Operations: ['98-85=13', '80+13=93'] Exploring Operation: 83+93=176, Resulting Numbers: [176] 176,36 unequal: No Solution Exploring Operation: 93-83=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 83*93=7719, Resulting Numbers: [7719] 7719,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[80, 96], Operations: ['98-85=13', '83+13=96'] Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 80+96=176, Resulting Numbers: [176] 176,36 unequal: No Solution Exploring Operation: 80*96=7680, Resulting Numbers: [7680] 7680,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[83, 85, 18], Operations: ['98-80=18'] Exploring Operation: 85+18=103, Resulting Numbers: [83, 103] Generated Node #0,2,0: 36:[83, 103] Operation: 85+18=103 Exploring Operation: 85-83=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 36:[18, 2] Operation: 85-83=2 Exploring Operation: 83-18=65, Resulting Numbers: [85, 65] Generated Node #0,2,2: 36:[85, 65] Operation: 83-18=65 Exploring Operation: 83+18=101, Resulting Numbers: [85, 101] Generated Node #0,2,3: 36:[85, 101] Operation: 83+18=101 Exploring Operation: 85-18=67, Resulting Numbers: [83, 67] Generated Node #0,2,4: 36:[83, 67] Operation: 85-18=67 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[18, 2], Operations: ['98-80=18', '85-83=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[83, 98, 80, 85], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [83, 85, 18] Generated Node #0,2: 36:[83, 85, 18] Operation: 98-80=18 Moving to Node #0,2 Current State: 36:[83, 85, 18], Operations: ['98-80=18'] Exploring Operation: 85-83=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 36:[18, 2] Operation: 85-83=2 Moving to Node #0,2,1 Current State: 36:[18, 2], Operations: ['98-80=18', '85-83=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 41, 92, 12, 4 ]
85
[ "41+92=133", "12*4=48", "133-48=85" ]
Current State: 85:[41, 92, 12, 4], Operations: [] Exploring Operation: 41+92=133, Resulting Numbers: [12, 4, 133] Generated Node #2: [12, 4, 133] from Operation: 41+92=133 Current State: 85:[12, 4, 133], Operations: ['41+92=133'] Exploring Operation: 12*4=48, Resulting Numbers: [133, 48] Generated Node #3: [133, 48] from Operation: 12*4=48 Current State: 85:[133, 48], Operations: ['41+92=133', '12*4=48'] Exploring Operation: 133-48=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[41, 92, 12, 4], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [41, 4, 80] Generated Node #0,0: 85:[41, 4, 80] Operation: 92-12=80 Exploring Operation: 92-4=88, Resulting Numbers: [41, 12, 88] Generated Node #0,1: 85:[41, 12, 88] Operation: 92-4=88 Exploring Operation: 12+4=16, Resulting Numbers: [41, 92, 16] Generated Node #0,2: 85:[41, 92, 16] Operation: 12+4=16 Exploring Operation: 41-4=37, Resulting Numbers: [92, 12, 37] Generated Node #0,3: 85:[92, 12, 37] Operation: 41-4=37 Exploring Operation: 41-12=29, Resulting Numbers: [92, 4, 29] Generated Node #0,4: 85:[92, 4, 29] Operation: 41-12=29 Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[92, 4, 29], Operations: ['41-12=29'] Exploring Operation: 92-29=63, Resulting Numbers: [4, 63] Generated Node #0,4,0: 85:[4, 63] Operation: 92-29=63 Exploring Operation: 92+4=96, Resulting Numbers: [29, 96] Generated Node #0,4,1: 85:[29, 96] Operation: 92+4=96 Exploring Operation: 92-4=88, Resulting Numbers: [29, 88] Generated Node #0,4,2: 85:[29, 88] Operation: 92-4=88 Exploring Operation: 29-4=25, Resulting Numbers: [92, 25] Generated Node #0,4,3: 85:[92, 25] Operation: 29-4=25 Exploring Operation: 92/4=23, Resulting Numbers: [29, 23] Generated Node #0,4,4: 85:[29, 23] Operation: 92/4=23 Moving to Node #0,4,2 Current State: 85:[29, 88], Operations: ['41-12=29', '92-4=88'] Exploring Operation: 29+88=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 29*88=2552, Resulting Numbers: [2552] 2552,85 unequal: No Solution Moving to Node #0,4,3 Current State: 85:[92, 25], Operations: ['41-12=29', '29-4=25'] Exploring Operation: 92*25=2300, Resulting Numbers: [2300] 2300,85 unequal: No Solution Exploring Operation: 92+25=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,85 unequal: No Solution Moving to Node #0,4,4 Current State: 85:[29, 23], Operations: ['41-12=29', '92/4=23'] Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,85 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,85 unequal: No Solution Moving to Node #0,4,0 Current State: 85:[4, 63], Operations: ['41-12=29', '92-29=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,85 unequal: No Solution Moving to Node #0,4,1 Current State: 85:[29, 96], Operations: ['41-12=29', '92+4=96'] Exploring Operation: 29*96=2784, Resulting Numbers: [2784] 2784,85 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 29+96=125, Resulting Numbers: [125] 125,85 unequal: No Solution No 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: 85:[41, 4, 80], Operations: ['92-12=80'] Exploring Operation: 4+80=84, Resulting Numbers: [41, 84] Generated Node #0,0,0: 85:[41, 84] Operation: 4+80=84 Exploring Operation: 80/4=20, Resulting Numbers: [41, 20] Generated Node #0,0,1: 85:[41, 20] Operation: 80/4=20 Exploring Operation: 80-41=39, Resulting Numbers: [4, 39] Generated Node #0,0,2: 85:[4, 39] Operation: 80-41=39 Exploring Operation: 41-4=37, Resulting Numbers: [80, 37] Generated Node #0,0,3: 85:[80, 37] Operation: 41-4=37 Exploring Operation: 41+4=45, Resulting Numbers: [80, 45] Generated Node #0,0,4: 85:[80, 45] Operation: 41+4=45 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[4, 39], Operations: ['92-12=80', '80-41=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,85 unequal: No Solution No 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: 85:[41, 84], Operations: ['92-12=80', '4+80=84'] Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,85 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,85 unequal: No Solution No 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: 85:[80, 37], Operations: ['92-12=80', '41-4=37'] Exploring Operation: 80*37=2960, Resulting Numbers: [2960] 2960,85 unequal: No Solution Exploring Operation: 80+37=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,85 unequal: No Solution No 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: 85:[41, 20], Operations: ['92-12=80', '80/4=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,85 unequal: No Solution No 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: 85:[80, 45], Operations: ['92-12=80', '41+4=45'] Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,85 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,85 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,85 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: 85:[41, 12, 88], Operations: ['92-4=88'] Exploring Operation: 88-12=76, Resulting Numbers: [41, 76] Generated Node #0,1,0: 85:[41, 76] Operation: 88-12=76 Exploring Operation: 88-41=47, Resulting Numbers: [12, 47] Generated Node #0,1,1: 85:[12, 47] Operation: 88-41=47 Exploring Operation: 41+12=53, Resulting Numbers: [88, 53] Generated Node #0,1,2: 85:[88, 53] Operation: 41+12=53 Exploring Operation: 12+88=100, Resulting Numbers: [41, 100] Generated Node #0,1,3: 85:[41, 100] Operation: 12+88=100 Exploring Operation: 41-12=29, Resulting Numbers: [88, 29] Generated Node #0,1,4: 85:[88, 29] Operation: 41-12=29 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 85:[88, 29], Operations: ['92-4=88', '41-12=29'] Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,85 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,85 unequal: No Solution No 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: 85:[41, 76], Operations: ['92-4=88', '88-12=76'] Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 41*76=3116, Resulting Numbers: [3116] 3116,85 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,85 unequal: No Solution No 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: 85:[12, 47], Operations: ['92-4=88', '88-41=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,85 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,85 unequal: No Solution No 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: 85:[88, 53], Operations: ['92-4=88', '41+12=53'] Exploring Operation: 88+53=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 88*53=4664, Resulting Numbers: [4664] 4664,85 unequal: No Solution No 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: 85:[41, 100], Operations: ['92-4=88', '12+88=100'] Exploring Operation: 41+100=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 41*100=4100, Resulting Numbers: [4100] 4100,85 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: 85:[41, 92, 16], Operations: ['12+4=16'] Exploring Operation: 41-16=25, Resulting Numbers: [92, 25] Generated Node #0,2,0: 85:[92, 25] Operation: 41-16=25 Exploring Operation: 92+16=108, Resulting Numbers: [41, 108] Generated Node #0,2,1: 85:[41, 108] Operation: 92+16=108 Exploring Operation: 92-16=76, Resulting Numbers: [41, 76] Generated Node #0,2,2: 85:[41, 76] Operation: 92-16=76 Exploring Operation: 92-41=51, Resulting Numbers: [16, 51] Generated Node #0,2,3: 85:[16, 51] Operation: 92-41=51 Exploring Operation: 41+16=57, Resulting Numbers: [92, 57] Generated Node #0,2,4: 85:[92, 57] Operation: 41+16=57 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[92, 25], Operations: ['12+4=16', '41-16=25'] Exploring Operation: 92*25=2300, Resulting Numbers: [2300] 2300,85 unequal: No Solution Exploring Operation: 92+25=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,85 unequal: No Solution No 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: 85:[41, 76], Operations: ['12+4=16', '92-16=76'] Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 41*76=3116, Resulting Numbers: [3116] 3116,85 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,85 unequal: No Solution No 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: 85:[16, 51], Operations: ['12+4=16', '92-41=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,85 unequal: No Solution No 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: 85:[92, 57], Operations: ['12+4=16', '41+16=57'] Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,85 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 92*57=5244, Resulting Numbers: [5244] 5244,85 unequal: No Solution No 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: 85:[41, 108], Operations: ['12+4=16', '92+16=108'] Exploring Operation: 41*108=4428, Resulting Numbers: [4428] 4428,85 unequal: No Solution Exploring Operation: 108-41=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 41+108=149, Resulting Numbers: [149] 149,85 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: 85:[92, 12, 37], Operations: ['41-4=37'] Exploring Operation: 37-12=25, Resulting Numbers: [92, 25] Generated Node #0,3,0: 85:[92, 25] Operation: 37-12=25 Exploring Operation: 92-12=80, Resulting Numbers: [37, 80] Generated Node #0,3,1: 85:[37, 80] Operation: 92-12=80 Exploring Operation: 92+12=104, Resulting Numbers: [37, 104] Generated Node #0,3,2: 85:[37, 104] Operation: 92+12=104 Exploring Operation: 92-37=55, Resulting Numbers: [12, 55] Generated Node #0,3,3: 85:[12, 55] Operation: 92-37=55 Exploring Operation: 12+37=49, Resulting Numbers: [92, 49] Generated Node #0,3,4: 85:[92, 49] Operation: 12+37=49 Moving to Node #0,3,0 Current State: 85:[92, 25], Operations: ['41-4=37', '37-12=25'] Exploring Operation: 92+25=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 92*25=2300, Resulting Numbers: [2300] 2300,85 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[37, 80], Operations: ['41-4=37', '92-12=80'] Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,85 unequal: No Solution Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[12, 55], Operations: ['41-4=37', '92-37=55'] Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,85 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[37, 104], Operations: ['41-4=37', '92+12=104'] Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 37+104=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 37*104=3848, Resulting Numbers: [3848] 3848,85 unequal: No Solution Moving to Node #0,3,4 Current State: 85:[92, 49], Operations: ['41-4=37', '12+37=49'] Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 15, 51, 5, 67 ]
13
[ "15/5=3", "67-51=16", "16-3=13" ]
Current State: 13:[15, 51, 5, 67], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [51, 67, 3] Generated Node #2: [51, 67, 3] from Operation: 15/5=3 Current State: 13:[51, 67, 3], Operations: ['15/5=3'] Exploring Operation: 67-51=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 67-51=16 Current State: 13:[3, 16], Operations: ['15/5=3', '67-51=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[15, 51, 5, 67], Operations: [] Exploring Operation: 67-15=52, Resulting Numbers: [51, 5, 52] Generated Node #0,0: 13:[51, 5, 52] Operation: 67-15=52 Exploring Operation: 51-5=46, Resulting Numbers: [15, 67, 46] Generated Node #0,1: 13:[15, 67, 46] Operation: 51-5=46 Exploring Operation: 51-15=36, Resulting Numbers: [5, 67, 36] Generated Node #0,2: 13:[5, 67, 36] Operation: 51-15=36 Exploring Operation: 67-51=16, Resulting Numbers: [15, 5, 16] Generated Node #0,3: 13:[15, 5, 16] Operation: 67-51=16 Moving to Node #0,3 Current State: 13:[15, 5, 16], Operations: ['67-51=16'] Exploring Operation: 15-5=10, Resulting Numbers: [16, 10] Generated Node #0,3,0: 13:[16, 10] Operation: 15-5=10 Exploring Operation: 16-5=11, Resulting Numbers: [15, 11] Generated Node #0,3,1: 13:[15, 11] Operation: 16-5=11 Exploring Operation: 5+16=21, Resulting Numbers: [15, 21] Generated Node #0,3,2: 13:[15, 21] Operation: 5+16=21 Exploring Operation: 15+5=20, Resulting Numbers: [16, 20] Generated Node #0,3,3: 13:[16, 20] Operation: 15+5=20 Moving to Node #0,2 Current State: 13:[5, 67, 36], Operations: ['51-15=36'] Exploring Operation: 36-5=31, Resulting Numbers: [67, 31] Generated Node #0,2,0: 13:[67, 31] Operation: 36-5=31 Exploring Operation: 67-5=62, Resulting Numbers: [36, 62] Generated Node #0,2,1: 13:[36, 62] Operation: 67-5=62 Exploring Operation: 67-36=31, Resulting Numbers: [5, 31] Generated Node #0,2,2: 13:[5, 31] Operation: 67-36=31 Exploring Operation: 5+67=72, Resulting Numbers: [36, 72] Generated Node #0,2,3: 13:[36, 72] Operation: 5+67=72 Moving to Node #0,0 Current State: 13:[51, 5, 52], Operations: ['67-15=52'] Exploring Operation: 52-51=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 13:[5, 1] Operation: 52-51=1 Exploring Operation: 51+5=56, Resulting Numbers: [52, 56] Generated Node #0,0,1: 13:[52, 56] Operation: 51+5=56 Exploring Operation: 52-5=47, Resulting Numbers: [51, 47] Generated Node #0,0,2: 13:[51, 47] Operation: 52-5=47 Exploring Operation: 51-5=46, Resulting Numbers: [52, 46] Generated Node #0,0,3: 13:[52, 46] Operation: 51-5=46 Moving to Node #0,1 Current State: 13:[15, 67, 46], Operations: ['51-5=46'] Exploring Operation: 15+67=82, Resulting Numbers: [46, 82] Generated Node #0,1,0: 13:[46, 82] Operation: 15+67=82 Exploring Operation: 67-46=21, Resulting Numbers: [15, 21] Generated Node #0,1,1: 13:[15, 21] Operation: 67-46=21 Exploring Operation: 46-15=31, Resulting Numbers: [67, 31] Generated Node #0,1,2: 13:[67, 31] Operation: 46-15=31 Exploring Operation: 67-15=52, Resulting Numbers: [46, 52] Generated Node #0,1,3: 13:[46, 52] Operation: 67-15=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[15, 21], Operations: ['51-5=46', '67-46=21'] Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,13 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,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,2 Current State: 13:[67, 31], Operations: ['51-5=46', '46-15=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,13 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,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,3 Current State: 13:[46, 52], Operations: ['51-5=46', '67-15=52'] Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 46*52=2392, Resulting Numbers: [2392] 2392,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[46, 82], Operations: ['51-5=46', '15+67=82'] Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,13 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,13 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: 13:[15, 11], Operations: ['67-51=16', '16-5=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,13 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[16, 10], Operations: ['67-51=16', '15-5=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[15, 21], Operations: ['67-51=16', '5+16=21'] Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,13 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[16, 20], Operations: ['67-51=16', '15+5=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[5, 1], Operations: ['67-15=52', '52-51=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[5, 31], Operations: ['51-15=36', '67-36=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,13 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[36, 62], Operations: ['51-15=36', '67-5=62'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,13 unequal: No Solution Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[67, 31], Operations: ['51-15=36', '36-5=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,13 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[52, 46], Operations: ['67-15=52', '51-5=46'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,13 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[51, 47], Operations: ['67-15=52', '52-5=47'] Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,13 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[36, 72], Operations: ['51-15=36', '5+67=72'] Exploring Operation: 36*72=2592, Resulting Numbers: [2592] 2592,13 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 36+72=108, Resulting Numbers: [108] 108,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[52, 56], Operations: ['67-15=52', '51+5=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,13 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 99, 49, 60, 93 ]
66
[ "99-93=6", "60-49=11", "6*11=66" ]
Current State: 66:[99, 49, 60, 93], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [49, 60, 6] Generated Node #2: [49, 60, 6] from Operation: 99-93=6 Current State: 66:[49, 60, 6], Operations: ['99-93=6'] Exploring Operation: 60-49=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 60-49=11 Current State: 66:[6, 11], Operations: ['99-93=6', '60-49=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[99, 49, 60, 93], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [60, 93, 50] Generated Node #0,0: 66:[60, 93, 50] Operation: 99-49=50 Exploring Operation: 99-60=39, Resulting Numbers: [49, 93, 39] Generated Node #0,1: 66:[49, 93, 39] Operation: 99-60=39 Exploring Operation: 93-60=33, Resulting Numbers: [99, 49, 33] Generated Node #0,2: 66:[99, 49, 33] Operation: 93-60=33 Exploring Operation: 99-93=6, Resulting Numbers: [49, 60, 6] Generated Node #0,3: 66:[49, 60, 6] Operation: 99-93=6 Moving to Node #0,3 Current State: 66:[49, 60, 6], Operations: ['99-93=6'] Exploring Operation: 49+6=55, Resulting Numbers: [60, 55] Generated Node #0,3,0: 66:[60, 55] Operation: 49+6=55 Exploring Operation: 60+6=66, Resulting Numbers: [49, 66] Generated Node #0,3,1: 66:[49, 66] Operation: 60+6=66 Exploring Operation: 60-49=11, Resulting Numbers: [6, 11] Generated Node #0,3,2: 66:[6, 11] Operation: 60-49=11 Exploring Operation: 49-6=43, Resulting Numbers: [60, 43] Generated Node #0,3,3: 66:[60, 43] Operation: 49-6=43 Moving to Node #0,1 Current State: 66:[49, 93, 39], Operations: ['99-60=39'] Exploring Operation: 49-39=10, Resulting Numbers: [93, 10] Generated Node #0,1,0: 66:[93, 10] Operation: 49-39=10 Exploring Operation: 49+39=88, Resulting Numbers: [93, 88] Generated Node #0,1,1: 66:[93, 88] Operation: 49+39=88 Exploring Operation: 93-39=54, Resulting Numbers: [49, 54] Generated Node #0,1,2: 66:[49, 54] Operation: 93-39=54 Exploring Operation: 93-49=44, Resulting Numbers: [39, 44] Generated Node #0,1,3: 66:[39, 44] Operation: 93-49=44 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[39, 44], Operations: ['99-60=39', '93-49=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,66 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,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,0 Current State: 66:[93, 10], Operations: ['99-60=39', '49-39=10'] Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,66 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,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:[49, 54], Operations: ['99-60=39', '93-39=54'] Exploring Operation: 49*54=2646, Resulting Numbers: [2646] 2646,66 unequal: No Solution Exploring Operation: 49+54=103, Resulting Numbers: [103] 103,66 unequal: No Solution Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,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,1 Current State: 66:[93, 88], Operations: ['99-60=39', '49+39=88'] Exploring Operation: 93+88=181, Resulting Numbers: [181] 181,66 unequal: No Solution Exploring Operation: 93*88=8184, Resulting Numbers: [8184] 8184,66 unequal: No Solution Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,66 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: 66:[60, 93, 50], Operations: ['99-49=50'] Exploring Operation: 60-50=10, Resulting Numbers: [93, 10] Generated Node #0,0,0: 66:[93, 10] Operation: 60-50=10 Exploring Operation: 60+50=110, Resulting Numbers: [93, 110] Generated Node #0,0,1: 66:[93, 110] Operation: 60+50=110 Exploring Operation: 93-50=43, Resulting Numbers: [60, 43] Generated Node #0,0,2: 66:[60, 43] Operation: 93-50=43 Exploring Operation: 93-60=33, Resulting Numbers: [50, 33] Generated Node #0,0,3: 66:[50, 33] Operation: 93-60=33 Moving to Node #0,2 Current State: 66:[99, 49, 33], Operations: ['93-60=33'] Exploring Operation: 99-49=50, Resulting Numbers: [33, 50] Generated Node #0,2,0: 66:[33, 50] Operation: 99-49=50 Exploring Operation: 49-33=16, Resulting Numbers: [99, 16] Generated Node #0,2,1: 66:[99, 16] Operation: 49-33=16 Exploring Operation: 99-33=66, Resulting Numbers: [49, 66] Generated Node #0,2,2: 66:[49, 66] Operation: 99-33=66 Exploring Operation: 99/33=3, Resulting Numbers: [49, 3] Generated Node #0,2,3: 66:[49, 3] Operation: 99/33=3 Moving to Node #0,3,2 Current State: 66:[6, 11], Operations: ['99-93=6', '60-49=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[99, 49, 60, 93], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [49, 60, 6] Generated Node #0,3: 66:[49, 60, 6] Operation: 99-93=6 Moving to Node #0,3 Current State: 66:[49, 60, 6], Operations: ['99-93=6'] Exploring Operation: 60-49=11, Resulting Numbers: [6, 11] Generated Node #0,3,2: 66:[6, 11] Operation: 60-49=11 Moving to Node #0,3,2 Current State: 66:[6, 11], Operations: ['99-93=6', '60-49=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 91, 90, 60, 50 ]
17
[ "90*60=5400", "5400/50=108", "108-91=17" ]
Current State: 17:[91, 90, 60, 50], Operations: [] Exploring Operation: 90*60=5400, Resulting Numbers: [91, 50, 5400] Generated Node #2: [91, 50, 5400] from Operation: 90*60=5400 Current State: 17:[91, 50, 5400], Operations: ['90*60=5400'] Exploring Operation: 5400/50=108, Resulting Numbers: [91, 108] Generated Node #3: [91, 108] from Operation: 5400/50=108 Current State: 17:[91, 108], Operations: ['90*60=5400', '5400/50=108'] Exploring Operation: 108-91=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[91, 90, 60, 50], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [60, 50, 1] Generated Node #0,0: 17:[60, 50, 1] Operation: 91-90=1 Exploring Operation: 91-60=31, Resulting Numbers: [90, 50, 31] Generated Node #0,1: 17:[90, 50, 31] Operation: 91-60=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[60, 50, 1], Operations: ['91-90=1'] Exploring Operation: 60-1=59, Resulting Numbers: [50, 59] Generated Node #0,0,0: 17:[50, 59] Operation: 60-1=59 Exploring Operation: 60-50=10, Resulting Numbers: [1, 10] Generated Node #0,0,1: 17:[1, 10] Operation: 60-50=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[1, 10], Operations: ['91-90=1', '60-50=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[50, 59], Operations: ['91-90=1', '60-1=59'] Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,17 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[90, 50, 31], Operations: ['91-60=31'] Exploring Operation: 90-31=59, Resulting Numbers: [50, 59] Generated Node #0,1,0: 17:[50, 59] Operation: 90-31=59 Exploring Operation: 90-50=40, Resulting Numbers: [31, 40] Generated Node #0,1,1: 17:[31, 40] Operation: 90-50=40 Moving to Node #0,1,1 Current State: 17:[31, 40], Operations: ['91-60=31', '90-50=40'] Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,17 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[50, 59], Operations: ['91-60=31', '90-31=59'] Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,17 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,17 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
[ 5, 71, 8, 23 ]
88
[ "5*8=40", "71-23=48", "40+48=88" ]
Current State: 88:[5, 71, 8, 23], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [71, 23, 40] Generated Node #2: [71, 23, 40] from Operation: 5*8=40 Current State: 88:[71, 23, 40], Operations: ['5*8=40'] Exploring Operation: 71-23=48, Resulting Numbers: [40, 48] Generated Node #3: [40, 48] from Operation: 71-23=48 Current State: 88:[40, 48], Operations: ['5*8=40', '71-23=48'] Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 71, 8, 23], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [5, 8, 48] Generated Node #0,0: 88:[5, 8, 48] Operation: 71-23=48 Exploring Operation: 5+71=76, Resulting Numbers: [8, 23, 76] Generated Node #0,1: 88:[8, 23, 76] Operation: 5+71=76 Exploring Operation: 71+23=94, Resulting Numbers: [5, 8, 94] Generated Node #0,2: 88:[5, 8, 94] Operation: 71+23=94 Exploring Operation: 71+8=79, Resulting Numbers: [5, 23, 79] Generated Node #0,3: 88:[5, 23, 79] Operation: 71+8=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[5, 8, 48], Operations: ['71-23=48'] Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 88:[5, 6] Operation: 48/8=6 Exploring Operation: 48-5=43, Resulting Numbers: [8, 43] Generated Node #0,0,1: 88:[8, 43] Operation: 48-5=43 Exploring Operation: 48-8=40, Resulting Numbers: [5, 40] Generated Node #0,0,2: 88:[5, 40] Operation: 48-8=40 Exploring Operation: 8-5=3, Resulting Numbers: [48, 3] Generated Node #0,0,3: 88:[48, 3] Operation: 8-5=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[8, 43], Operations: ['71-23=48', '48-5=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,88 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[5, 6], Operations: ['71-23=48', '48/8=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[5, 40], Operations: ['71-23=48', '48-8=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[48, 3], Operations: ['71-23=48', '8-5=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,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,2 Current State: 88:[5, 8, 94], Operations: ['71+23=94'] Exploring Operation: 8-5=3, Resulting Numbers: [94, 3] Generated Node #0,2,0: 88:[94, 3] Operation: 8-5=3 Exploring Operation: 94-8=86, Resulting Numbers: [5, 86] Generated Node #0,2,1: 88:[5, 86] Operation: 94-8=86 Exploring Operation: 94-5=89, Resulting Numbers: [8, 89] Generated Node #0,2,2: 88:[8, 89] Operation: 94-5=89 Exploring Operation: 5+8=13, Resulting Numbers: [94, 13] Generated Node #0,2,3: 88:[94, 13] Operation: 5+8=13 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[8, 89], Operations: ['71+23=94', '94-5=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 8*89=712, Resulting Numbers: [712] 712,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[5, 86], Operations: ['71+23=94', '94-8=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,88 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[94, 3], Operations: ['71+23=94', '8-5=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[94, 13], Operations: ['71+23=94', '5+8=13'] Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,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:[5, 23, 79], Operations: ['71+8=79'] Exploring Operation: 23-5=18, Resulting Numbers: [79, 18] Generated Node #0,3,0: 88:[79, 18] Operation: 23-5=18 Exploring Operation: 5+23=28, Resulting Numbers: [79, 28] Generated Node #0,3,1: 88:[79, 28] Operation: 5+23=28 Exploring Operation: 79-23=56, Resulting Numbers: [5, 56] Generated Node #0,3,2: 88:[5, 56] Operation: 79-23=56 Exploring Operation: 5+79=84, Resulting Numbers: [23, 84] Generated Node #0,3,3: 88:[23, 84] Operation: 5+79=84 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[23, 84], Operations: ['71+8=79', '5+79=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 23*84=1932, Resulting Numbers: [1932] 1932,88 unequal: No Solution Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,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,0 Current State: 88:[79, 18], Operations: ['71+8=79', '23-5=18'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,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:[5, 56], Operations: ['71+8=79', '79-23=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,88 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,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:[79, 28], Operations: ['71+8=79', '5+23=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,88 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[8, 23, 76], Operations: ['5+71=76'] Exploring Operation: 23+76=99, Resulting Numbers: [8, 99] Generated Node #0,1,0: 88:[8, 99] Operation: 23+76=99 Exploring Operation: 8+76=84, Resulting Numbers: [23, 84] Generated Node #0,1,1: 88:[23, 84] Operation: 8+76=84 Exploring Operation: 76-23=53, Resulting Numbers: [8, 53] Generated Node #0,1,2: 88:[8, 53] Operation: 76-23=53 Exploring Operation: 23-8=15, Resulting Numbers: [76, 15] Generated Node #0,1,3: 88:[76, 15] Operation: 23-8=15 Moving to Node #0,1,1 Current State: 88:[23, 84], Operations: ['5+71=76', '8+76=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 23*84=1932, Resulting Numbers: [1932] 1932,88 unequal: No Solution Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[8, 53], Operations: ['5+71=76', '76-23=53'] Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,88 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[8, 99], Operations: ['5+71=76', '23+76=99'] Exploring Operation: 8+99=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 8*99=792, Resulting Numbers: [792] 792,88 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[76, 15], Operations: ['5+71=76', '23-8=15'] Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,88 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,88 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
[ 87, 34, 20, 15 ]
82
[ "87*20=1740", "1740/15=116", "116-34=82" ]
Current State: 82:[87, 34, 20, 15], Operations: [] Exploring Operation: 87*20=1740, Resulting Numbers: [34, 15, 1740] Generated Node #2: [34, 15, 1740] from Operation: 87*20=1740 Current State: 82:[34, 15, 1740], Operations: ['87*20=1740'] Exploring Operation: 1740/15=116, Resulting Numbers: [34, 116] Generated Node #3: [34, 116] from Operation: 1740/15=116 Current State: 82:[34, 116], Operations: ['87*20=1740', '1740/15=116'] Exploring Operation: 116-34=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[87, 34, 20, 15], Operations: [] Exploring Operation: 20-15=5, Resulting Numbers: [87, 34, 5] Generated Node #0,0: 82:[87, 34, 5] Operation: 20-15=5 Exploring Operation: 34+20=54, Resulting Numbers: [87, 15, 54] Generated Node #0,1: 82:[87, 15, 54] Operation: 34+20=54 Exploring Operation: 34-20=14, Resulting Numbers: [87, 15, 14] Generated Node #0,2: 82:[87, 15, 14] Operation: 34-20=14 Exploring Operation: 20+15=35, Resulting Numbers: [87, 34, 35] Generated Node #0,3: 82:[87, 34, 35] Operation: 20+15=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[87, 34, 5], Operations: ['20-15=5'] Exploring Operation: 87+5=92, Resulting Numbers: [34, 92] Generated Node #0,0,0: 82:[34, 92] Operation: 87+5=92 Exploring Operation: 87-34=53, Resulting Numbers: [5, 53] Generated Node #0,0,1: 82:[5, 53] Operation: 87-34=53 Exploring Operation: 34+5=39, Resulting Numbers: [87, 39] Generated Node #0,0,2: 82:[87, 39] Operation: 34+5=39 Exploring Operation: 87-5=82, Resulting Numbers: [34, 82] Generated Node #0,0,3: 82:[34, 82] Operation: 87-5=82 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[87, 39], Operations: ['20-15=5', '34+5=39'] Exploring Operation: 87*39=3393, Resulting Numbers: [3393] 3393,82 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[34, 82], Operations: ['20-15=5', '87-5=82'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[5, 53], Operations: ['20-15=5', '87-34=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[34, 92], Operations: ['20-15=5', '87+5=92'] Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 34*92=3128, Resulting Numbers: [3128] 3128,82 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: 82:[87, 34, 35], Operations: ['20+15=35'] Exploring Operation: 34+35=69, Resulting Numbers: [87, 69] Generated Node #0,3,0: 82:[87, 69] Operation: 34+35=69 Exploring Operation: 87-35=52, Resulting Numbers: [34, 52] Generated Node #0,3,1: 82:[34, 52] Operation: 87-35=52 Exploring Operation: 87-34=53, Resulting Numbers: [35, 53] Generated Node #0,3,2: 82:[35, 53] Operation: 87-34=53 Exploring Operation: 35-34=1, Resulting Numbers: [87, 1] Generated Node #0,3,3: 82:[87, 1] Operation: 35-34=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[87, 1], Operations: ['20+15=35', '35-34=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[87, 69], Operations: ['20+15=35', '34+35=69'] Exploring Operation: 87*69=6003, Resulting Numbers: [6003] 6003,82 unequal: No Solution Exploring Operation: 87+69=156, Resulting Numbers: [156] 156,82 unequal: No Solution Exploring Operation: 87-69=18, Resulting Numbers: [18] 18,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[34, 52], Operations: ['20+15=35', '87-35=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[35, 53], Operations: ['20+15=35', '87-34=53'] Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,82 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,82 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: 82:[87, 15, 14], Operations: ['34-20=14'] Exploring Operation: 15-14=1, Resulting Numbers: [87, 1] Generated Node #0,2,0: 82:[87, 1] Operation: 15-14=1 Exploring Operation: 87-14=73, Resulting Numbers: [15, 73] Generated Node #0,2,1: 82:[15, 73] Operation: 87-14=73 Exploring Operation: 87-15=72, Resulting Numbers: [14, 72] Generated Node #0,2,2: 82:[14, 72] Operation: 87-15=72 Exploring Operation: 15+14=29, Resulting Numbers: [87, 29] Generated Node #0,2,3: 82:[87, 29] Operation: 15+14=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[87, 1], Operations: ['34-20=14', '15-14=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[87, 29], Operations: ['34-20=14', '15+14=29'] Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 87*29=2523, Resulting Numbers: [2523] 2523,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[15, 73], Operations: ['34-20=14', '87-14=73'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 15*73=1095, Resulting Numbers: [1095] 1095,82 unequal: No Solution Exploring Operation: 15+73=88, Resulting Numbers: [88] 88,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[14, 72], Operations: ['34-20=14', '87-15=72'] Exploring Operation: 14+72=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 14*72=1008, Resulting Numbers: [1008] 1008,82 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,82 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: 82:[87, 15, 54], Operations: ['34+20=54'] Exploring Operation: 87-54=33, Resulting Numbers: [15, 33] Generated Node #0,1,0: 82:[15, 33] Operation: 87-54=33 Exploring Operation: 15+54=69, Resulting Numbers: [87, 69] Generated Node #0,1,1: 82:[87, 69] Operation: 15+54=69 Exploring Operation: 87-15=72, Resulting Numbers: [54, 72] Generated Node #0,1,2: 82:[54, 72] Operation: 87-15=72 Exploring Operation: 54-15=39, Resulting Numbers: [87, 39] Generated Node #0,1,3: 82:[87, 39] Operation: 54-15=39 Moving to Node #0,1,3 Current State: 82:[87, 39], Operations: ['34+20=54', '54-15=39'] Exploring Operation: 87*39=3393, Resulting Numbers: [3393] 3393,82 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[87, 69], Operations: ['34+20=54', '15+54=69'] Exploring Operation: 87*69=6003, Resulting Numbers: [6003] 6003,82 unequal: No Solution Exploring Operation: 87+69=156, Resulting Numbers: [156] 156,82 unequal: No Solution Exploring Operation: 87-69=18, Resulting Numbers: [18] 18,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[15, 33], Operations: ['34+20=54', '87-54=33'] Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,82 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[54, 72], Operations: ['34+20=54', '87-15=72'] Exploring Operation: 54*72=3888, Resulting Numbers: [3888] 3888,82 unequal: No Solution Exploring Operation: 54+72=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,82 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
[ 33, 63, 28, 24 ]
12
[ "63-33=30", "30-28=2", "24/2=12" ]
Current State: 12:[33, 63, 28, 24], Operations: [] Exploring Operation: 63-33=30, Resulting Numbers: [28, 24, 30] Generated Node #2: [28, 24, 30] from Operation: 63-33=30 Current State: 12:[28, 24, 30], Operations: ['63-33=30'] Exploring Operation: 30-28=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 30-28=2 Current State: 12:[24, 2], Operations: ['63-33=30', '30-28=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[33, 63, 28, 24], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [33, 24, 35] Generated Node #0,0: 12:[33, 24, 35] Operation: 63-28=35 Exploring Operation: 63-33=30, Resulting Numbers: [28, 24, 30] Generated Node #0,1: 12:[28, 24, 30] Operation: 63-33=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[28, 24, 30], Operations: ['63-33=30'] Exploring Operation: 30-28=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 12:[24, 2] Operation: 30-28=2 Exploring Operation: 30-24=6, Resulting Numbers: [28, 6] Generated Node #0,1,1: 12:[28, 6] Operation: 30-24=6 Moving to Node #0,1,0 Current State: 12:[24, 2], Operations: ['63-33=30', '30-28=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[33, 63, 28, 24], Operations: [] Exploring Operation: 63-33=30, Resulting Numbers: [28, 24, 30] Generated Node #0,1: 12:[28, 24, 30] Operation: 63-33=30 Moving to Node #0,1 Current State: 12:[28, 24, 30], Operations: ['63-33=30'] Exploring Operation: 30-28=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 12:[24, 2] Operation: 30-28=2 Moving to Node #0,1,0 Current State: 12:[24, 2], Operations: ['63-33=30', '30-28=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 21, 6, 2, 5 ]
59
[ "21+6=27", "2*27=54", "5+54=59" ]
Current State: 59:[21, 6, 2, 5], Operations: [] Exploring Operation: 21+6=27, Resulting Numbers: [2, 5, 27] Generated Node #2: [2, 5, 27] from Operation: 21+6=27 Current State: 59:[2, 5, 27], Operations: ['21+6=27'] Exploring Operation: 2*27=54, Resulting Numbers: [5, 54] Generated Node #3: [5, 54] from Operation: 2*27=54 Current State: 59:[5, 54], Operations: ['21+6=27', '2*27=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[21, 6, 2, 5], Operations: [] Exploring Operation: 6*5=30, Resulting Numbers: [21, 2, 30] Generated Node #0,0: 59:[21, 2, 30] Operation: 6*5=30 Exploring Operation: 6*2=12, Resulting Numbers: [21, 5, 12] Generated Node #0,1: 59:[21, 5, 12] Operation: 6*2=12 Exploring Operation: 21*2=42, Resulting Numbers: [6, 5, 42] Generated Node #0,2: 59:[6, 5, 42] Operation: 21*2=42 Moving to Node #0,0 Current State: 59:[21, 2, 30], Operations: ['6*5=30'] Exploring Operation: 21+2=23, Resulting Numbers: [30, 23] Generated Node #0,0,0: 59:[30, 23] Operation: 21+2=23 Exploring Operation: 2*30=60, Resulting Numbers: [21, 60] Generated Node #0,0,1: 59:[21, 60] Operation: 2*30=60 Exploring Operation: 21*2=42, Resulting Numbers: [30, 42] Generated Node #0,0,2: 59:[30, 42] Operation: 21*2=42 Moving to Node #0,2 Current State: 59:[6, 5, 42], Operations: ['21*2=42'] Exploring Operation: 6+42=48, Resulting Numbers: [5, 48] Generated Node #0,2,0: 59:[5, 48] Operation: 6+42=48 Exploring Operation: 6*5=30, Resulting Numbers: [42, 30] Generated Node #0,2,1: 59:[42, 30] Operation: 6*5=30 Exploring Operation: 6+5=11, Resulting Numbers: [42, 11] Generated Node #0,2,2: 59:[42, 11] Operation: 6+5=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[42, 30], Operations: ['21*2=42', '6*5=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[5, 48], Operations: ['21*2=42', '6+42=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[42, 11], Operations: ['21*2=42', '6+5=11'] Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,59 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,59 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: 59:[21, 5, 12], Operations: ['6*2=12'] Exploring Operation: 5*12=60, Resulting Numbers: [21, 60] Generated Node #0,1,0: 59:[21, 60] Operation: 5*12=60 Exploring Operation: 21+5=26, Resulting Numbers: [12, 26] Generated Node #0,1,1: 59:[12, 26] Operation: 21+5=26 Exploring Operation: 21+12=33, Resulting Numbers: [5, 33] Generated Node #0,1,2: 59:[5, 33] Operation: 21+12=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[21, 60], Operations: ['6*2=12', '5*12=60'] Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,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,1 Current State: 59:[12, 26], Operations: ['6*2=12', '21+5=26'] Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,59 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,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,2 Current State: 59:[5, 33], Operations: ['6*2=12', '21+12=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,59 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 59:[21, 60], Operations: ['6*5=30', '2*30=60'] Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[30, 42], Operations: ['6*5=30', '21*2=42'] Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[30, 23], Operations: ['6*5=30', '21+2=23'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,59 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 44, 54, 28, 82 ]
12
[ "44+54=98", "28+82=110", "110-98=12" ]
Current State: 12:[44, 54, 28, 82], Operations: [] Exploring Operation: 44+54=98, Resulting Numbers: [28, 82, 98] Generated Node #2: [28, 82, 98] from Operation: 44+54=98 Current State: 12:[28, 82, 98], Operations: ['44+54=98'] Exploring Operation: 28+82=110, Resulting Numbers: [98, 110] Generated Node #3: [98, 110] from Operation: 28+82=110 Current State: 12:[98, 110], Operations: ['44+54=98', '28+82=110'] Exploring Operation: 110-98=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[44, 54, 28, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [44, 28, 28] Generated Node #0,0: 12:[44, 28, 28] Operation: 82-54=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[44, 28, 28], Operations: ['82-54=28'] Exploring Operation: 44-28=16, Resulting Numbers: [28, 16] Generated Node #0,0,0: 12:[28, 16] Operation: 44-28=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[28, 16], Operations: ['82-54=28', '44-28=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[44, 54, 28, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [44, 28, 28] Generated Node #0,0: 12:[44, 28, 28] Operation: 82-54=28 Moving to Node #0,0 Current State: 12:[44, 28, 28], Operations: ['82-54=28'] Exploring Operation: 44-28=16, Resulting Numbers: [28, 16] Generated Node #0,0,0: 12:[28, 16] Operation: 44-28=16 Moving to Node #0,0,0 Current State: 12:[28, 16], Operations: ['82-54=28', '44-28=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 63, 66, 41, 34 ]
57
[ "41-34=7", "63/7=9", "66-9=57" ]
Current State: 57:[63, 66, 41, 34], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [63, 66, 7] Generated Node #2: [63, 66, 7] from Operation: 41-34=7 Current State: 57:[63, 66, 7], Operations: ['41-34=7'] Exploring Operation: 63/7=9, Resulting Numbers: [66, 9] Generated Node #3: [66, 9] from Operation: 63/7=9 Current State: 57:[66, 9], Operations: ['41-34=7', '63/7=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[63, 66, 41, 34], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [66, 34, 22] Generated Node #0,0: 57:[66, 34, 22] Operation: 63-41=22 Exploring Operation: 66-41=25, Resulting Numbers: [63, 34, 25] Generated Node #0,1: 57:[63, 34, 25] Operation: 66-41=25 Exploring Operation: 41+34=75, Resulting Numbers: [63, 66, 75] Generated Node #0,2: 57:[63, 66, 75] Operation: 41+34=75 Exploring Operation: 41-34=7, Resulting Numbers: [63, 66, 7] Generated Node #0,3: 57:[63, 66, 7] Operation: 41-34=7 Exploring Operation: 66-63=3, Resulting Numbers: [41, 34, 3] Generated Node #0,4: 57:[41, 34, 3] Operation: 66-63=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[63, 66, 7], Operations: ['41-34=7'] Exploring Operation: 66-63=3, Resulting Numbers: [7, 3] Generated Node #0,3,0: 57:[7, 3] Operation: 66-63=3 Exploring Operation: 66-7=59, Resulting Numbers: [63, 59] Generated Node #0,3,1: 57:[63, 59] Operation: 66-7=59 Exploring Operation: 63-7=56, Resulting Numbers: [66, 56] Generated Node #0,3,2: 57:[66, 56] Operation: 63-7=56 Exploring Operation: 63/7=9, Resulting Numbers: [66, 9] Generated Node #0,3,3: 57:[66, 9] Operation: 63/7=9 Exploring Operation: 63+7=70, Resulting Numbers: [66, 70] Generated Node #0,3,4: 57:[66, 70] Operation: 63+7=70 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 57:[7, 3], Operations: ['41-34=7', '66-63=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[63, 59], Operations: ['41-34=7', '66-7=59'] Exploring Operation: 63+59=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 63*59=3717, Resulting Numbers: [3717] 3717,57 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 57:[66, 56], Operations: ['41-34=7', '63-7=56'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 57:[66, 9], Operations: ['41-34=7', '63/7=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[63, 66, 41, 34], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [63, 66, 7] Generated Node #0,3: 57:[63, 66, 7] Operation: 41-34=7 Moving to Node #0,3 Current State: 57:[63, 66, 7], Operations: ['41-34=7'] Exploring Operation: 63/7=9, Resulting Numbers: [66, 9] Generated Node #0,3,3: 57:[66, 9] Operation: 63/7=9 Moving to Node #0,3,3 Current State: 57:[66, 9], Operations: ['41-34=7', '63/7=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 73, 6, 7, 47 ]
39
[ "73+6=79", "47-7=40", "79-40=39" ]
Current State: 39:[73, 6, 7, 47], Operations: [] Exploring Operation: 73+6=79, Resulting Numbers: [7, 47, 79] Generated Node #2: [7, 47, 79] from Operation: 73+6=79 Current State: 39:[7, 47, 79], Operations: ['73+6=79'] Exploring Operation: 47-7=40, Resulting Numbers: [79, 40] Generated Node #3: [79, 40] from Operation: 47-7=40 Current State: 39:[79, 40], Operations: ['73+6=79', '47-7=40'] Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[73, 6, 7, 47], Operations: [] Exploring Operation: 73-6=67, Resulting Numbers: [7, 47, 67] Generated Node #0,0: 39:[7, 47, 67] Operation: 73-6=67 Exploring Operation: 47-7=40, Resulting Numbers: [73, 6, 40] Generated Node #0,1: 39:[73, 6, 40] Operation: 47-7=40 Exploring Operation: 73-7=66, Resulting Numbers: [6, 47, 66] Generated Node #0,2: 39:[6, 47, 66] Operation: 73-7=66 Exploring Operation: 73-47=26, Resulting Numbers: [6, 7, 26] Generated Node #0,3: 39:[6, 7, 26] Operation: 73-47=26 Exploring Operation: 47-6=41, Resulting Numbers: [73, 7, 41] Generated Node #0,4: 39:[73, 7, 41] Operation: 47-6=41 Moving to Node #0,3 Current State: 39:[6, 7, 26], Operations: ['73-47=26'] Exploring Operation: 7+26=33, Resulting Numbers: [6, 33] Generated Node #0,3,0: 39:[6, 33] Operation: 7+26=33 Exploring Operation: 6+26=32, Resulting Numbers: [7, 32] Generated Node #0,3,1: 39:[7, 32] Operation: 6+26=32 Exploring Operation: 26-7=19, Resulting Numbers: [6, 19] Generated Node #0,3,2: 39:[6, 19] Operation: 26-7=19 Exploring Operation: 6+7=13, Resulting Numbers: [26, 13] Generated Node #0,3,3: 39:[26, 13] Operation: 6+7=13 Exploring Operation: 26-6=20, Resulting Numbers: [7, 20] Generated Node #0,3,4: 39:[7, 20] Operation: 26-6=20 Moving to Node #0,2 Current State: 39:[6, 47, 66], Operations: ['73-7=66'] Exploring Operation: 66/6=11, Resulting Numbers: [47, 11] Generated Node #0,2,0: 39:[47, 11] Operation: 66/6=11 Exploring Operation: 66-47=19, Resulting Numbers: [6, 19] Generated Node #0,2,1: 39:[6, 19] Operation: 66-47=19 Exploring Operation: 47-6=41, Resulting Numbers: [66, 41] Generated Node #0,2,2: 39:[66, 41] Operation: 47-6=41 Exploring Operation: 66-6=60, Resulting Numbers: [47, 60] Generated Node #0,2,3: 39:[47, 60] Operation: 66-6=60 Exploring Operation: 6+47=53, Resulting Numbers: [66, 53] Generated Node #0,2,4: 39:[66, 53] Operation: 6+47=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[6, 19], Operations: ['73-7=66', '66-47=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,39 unequal: No Solution No 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: 39:[47, 11], Operations: ['73-7=66', '66/6=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,39 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,39 unequal: No Solution No 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: 39:[66, 41], Operations: ['73-7=66', '47-6=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,39 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,39 unequal: No Solution No 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: 39:[47, 60], Operations: ['73-7=66', '66-6=60'] Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,39 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,39 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,39 unequal: No Solution No 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: 39:[66, 53], Operations: ['73-7=66', '6+47=53'] Exploring Operation: 66*53=3498, Resulting Numbers: [3498] 3498,39 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 66+53=119, Resulting Numbers: [119] 119,39 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: 39:[73, 6, 40], Operations: ['47-7=40'] Exploring Operation: 73-40=33, Resulting Numbers: [6, 33] Generated Node #0,1,0: 39:[6, 33] Operation: 73-40=33 Exploring Operation: 6+40=46, Resulting Numbers: [73, 46] Generated Node #0,1,1: 39:[73, 46] Operation: 6+40=46 Exploring Operation: 40-6=34, Resulting Numbers: [73, 34] Generated Node #0,1,2: 39:[73, 34] Operation: 40-6=34 Exploring Operation: 73-6=67, Resulting Numbers: [40, 67] Generated Node #0,1,3: 39:[40, 67] Operation: 73-6=67 Exploring Operation: 73+6=79, Resulting Numbers: [40, 79] Generated Node #0,1,4: 39:[40, 79] Operation: 73+6=79 Moving to Node #0,0 Current State: 39:[7, 47, 67], Operations: ['73-6=67'] Exploring Operation: 67-7=60, Resulting Numbers: [47, 60] Generated Node #0,0,0: 39:[47, 60] Operation: 67-7=60 Exploring Operation: 47-7=40, Resulting Numbers: [67, 40] Generated Node #0,0,1: 39:[67, 40] Operation: 47-7=40 Exploring Operation: 67-47=20, Resulting Numbers: [7, 20] Generated Node #0,0,2: 39:[7, 20] Operation: 67-47=20 Exploring Operation: 7+67=74, Resulting Numbers: [47, 74] Generated Node #0,0,3: 39:[47, 74] Operation: 7+67=74 Exploring Operation: 7+47=54, Resulting Numbers: [67, 54] Generated Node #0,0,4: 39:[67, 54] Operation: 7+47=54 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[7, 20], Operations: ['73-6=67', '67-47=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,39 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,39 unequal: No Solution No 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: 39:[47, 60], Operations: ['73-6=67', '67-7=60'] Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,39 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,39 unequal: No Solution No 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: 39:[67, 40], Operations: ['73-6=67', '47-7=40'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,39 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,39 unequal: No Solution No 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: 39:[47, 74], Operations: ['73-6=67', '7+67=74'] Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,39 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,39 unequal: No Solution No 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: 39:[67, 54], Operations: ['73-6=67', '7+47=54'] Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,39 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 67*54=3618, Resulting Numbers: [3618] 3618,39 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: 39:[73, 7, 41], Operations: ['47-6=41'] Exploring Operation: 73+7=80, Resulting Numbers: [41, 80] Generated Node #0,4,0: 39:[41, 80] Operation: 73+7=80 Exploring Operation: 73-41=32, Resulting Numbers: [7, 32] Generated Node #0,4,1: 39:[7, 32] Operation: 73-41=32 Exploring Operation: 73-7=66, Resulting Numbers: [41, 66] Generated Node #0,4,2: 39:[41, 66] Operation: 73-7=66 Exploring Operation: 7+41=48, Resulting Numbers: [73, 48] Generated Node #0,4,3: 39:[73, 48] Operation: 7+41=48 Exploring Operation: 41-7=34, Resulting Numbers: [73, 34] Generated Node #0,4,4: 39:[73, 34] Operation: 41-7=34 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 39:[7, 32], Operations: ['47-6=41', '73-41=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[73, 6, 7, 47], Operations: [] Exploring Operation: 47-6=41, Resulting Numbers: [73, 7, 41] Generated Node #0,4: 39:[73, 7, 41] Operation: 47-6=41 Moving to Node #0,4 Current State: 39:[73, 7, 41], Operations: ['47-6=41'] Exploring Operation: 73-41=32, Resulting Numbers: [7, 32] Generated Node #0,4,1: 39:[7, 32] Operation: 73-41=32 Moving to Node #0,4,1 Current State: 39:[7, 32], Operations: ['47-6=41', '73-41=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
sum_heuristic
[ 77, 96, 74, 64 ]
35
[ "77+96=173", "74+64=138", "173-138=35" ]
Current State: 35:[77, 96, 74, 64], Operations: [] Exploring Operation: 77+96=173, Resulting Numbers: [74, 64, 173] Generated Node #2: [74, 64, 173] from Operation: 77+96=173 Current State: 35:[74, 64, 173], Operations: ['77+96=173'] Exploring Operation: 74+64=138, Resulting Numbers: [173, 138] Generated Node #3: [173, 138] from Operation: 74+64=138 Current State: 35:[173, 138], Operations: ['77+96=173', '74+64=138'] Exploring Operation: 173-138=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[77, 96, 74, 64], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [96, 64, 3] Generated Node #0,0: 35:[96, 64, 3] Operation: 77-74=3 Exploring Operation: 96-64=32, Resulting Numbers: [77, 74, 32] Generated Node #0,1: 35:[77, 74, 32] Operation: 96-64=32 Exploring Operation: 96-77=19, Resulting Numbers: [74, 64, 19] Generated Node #0,2: 35:[74, 64, 19] Operation: 96-77=19 Exploring Operation: 96-74=22, Resulting Numbers: [77, 64, 22] Generated Node #0,3: 35:[77, 64, 22] Operation: 96-74=22 Moving to Node #0,2 Current State: 35:[74, 64, 19], Operations: ['96-77=19'] Exploring Operation: 74+19=93, Resulting Numbers: [64, 93] Generated Node #0,2,0: 35:[64, 93] Operation: 74+19=93 Exploring Operation: 74-19=55, Resulting Numbers: [64, 55] Generated Node #0,2,1: 35:[64, 55] Operation: 74-19=55 Exploring Operation: 74-64=10, Resulting Numbers: [19, 10] Generated Node #0,2,2: 35:[19, 10] Operation: 74-64=10 Exploring Operation: 64-19=45, Resulting Numbers: [74, 45] Generated Node #0,2,3: 35:[74, 45] Operation: 64-19=45 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[19, 10], Operations: ['96-77=19', '74-64=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,35 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,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,2,1 Current State: 35:[64, 55], Operations: ['96-77=19', '74-19=55'] Exploring Operation: 64*55=3520, Resulting Numbers: [3520] 3520,35 unequal: No Solution Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 64+55=119, Resulting Numbers: [119] 119,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,2,3 Current State: 35:[74, 45], Operations: ['96-77=19', '64-19=45'] Exploring Operation: 74+45=119, Resulting Numbers: [119] 119,35 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 74*45=3330, Resulting Numbers: [3330] 3330,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,2,0 Current State: 35:[64, 93], Operations: ['96-77=19', '74+19=93'] Exploring Operation: 93-64=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 64*93=5952, Resulting Numbers: [5952] 5952,35 unequal: No Solution Exploring Operation: 64+93=157, Resulting Numbers: [157] 157,35 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: 35:[77, 64, 22], Operations: ['96-74=22'] Exploring Operation: 64-22=42, Resulting Numbers: [77, 42] Generated Node #0,3,0: 35:[77, 42] Operation: 64-22=42 Exploring Operation: 77-22=55, Resulting Numbers: [64, 55] Generated Node #0,3,1: 35:[64, 55] Operation: 77-22=55 Exploring Operation: 77-64=13, Resulting Numbers: [22, 13] Generated Node #0,3,2: 35:[22, 13] Operation: 77-64=13 Exploring Operation: 77+22=99, Resulting Numbers: [64, 99] Generated Node #0,3,3: 35:[64, 99] Operation: 77+22=99 Moving to Node #0,1 Current State: 35:[77, 74, 32], Operations: ['96-64=32'] Exploring Operation: 74-32=42, Resulting Numbers: [77, 42] Generated Node #0,1,0: 35:[77, 42] Operation: 74-32=42 Exploring Operation: 77-32=45, Resulting Numbers: [74, 45] Generated Node #0,1,1: 35:[74, 45] Operation: 77-32=45 Exploring Operation: 77+32=109, Resulting Numbers: [74, 109] Generated Node #0,1,2: 35:[74, 109] Operation: 77+32=109 Exploring Operation: 77-74=3, Resulting Numbers: [32, 3] Generated Node #0,1,3: 35:[32, 3] Operation: 77-74=3 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 35:[32, 3], Operations: ['96-64=32', '77-74=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[77, 96, 74, 64], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [77, 74, 32] Generated Node #0,1: 35:[77, 74, 32] Operation: 96-64=32 Moving to Node #0,1 Current State: 35:[77, 74, 32], Operations: ['96-64=32'] Exploring Operation: 77-74=3, Resulting Numbers: [32, 3] Generated Node #0,1,3: 35:[32, 3] Operation: 77-74=3 Moving to Node #0,1,3 Current State: 35:[32, 3], Operations: ['96-64=32', '77-74=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 34, 81, 81, 8 ]
43
[ "34+8=42", "81/81=1", "42+1=43" ]
Current State: 43:[34, 81, 81, 8], Operations: [] Exploring Operation: 34+8=42, Resulting Numbers: [81, 81, 42] Generated Node #2: [81, 81, 42] from Operation: 34+8=42 Current State: 43:[81, 81, 42], Operations: ['34+8=42'] Exploring Operation: 81/81=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 81/81=1 Current State: 43:[42, 1], Operations: ['34+8=42', '81/81=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[34, 81, 81, 8], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [81, 8, 47] Generated Node #0,0: 43:[81, 8, 47] Operation: 81-34=47 Exploring Operation: 34+8=42, Resulting Numbers: [81, 81, 42] Generated Node #0,1: 43:[81, 81, 42] Operation: 34+8=42 Exploring Operation: 81-34=47, Resulting Numbers: [81, 8, 47] Generated Node #0,2: 43:[81, 8, 47] Operation: 81-34=47 Moving to Node #0,0 Current State: 43:[81, 8, 47], Operations: ['81-34=47'] Exploring Operation: 81-47=34, Resulting Numbers: [8, 34] Generated Node #0,0,0: 43:[8, 34] Operation: 81-47=34 Exploring Operation: 47-8=39, Resulting Numbers: [81, 39] Generated Node #0,0,1: 43:[81, 39] Operation: 47-8=39 Exploring Operation: 81-8=73, Resulting Numbers: [47, 73] Generated Node #0,0,2: 43:[47, 73] Operation: 81-8=73 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[47, 73], Operations: ['81-34=47', '81-8=73'] Exploring Operation: 47+73=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 47*73=3431, Resulting Numbers: [3431] 3431,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[81, 39], Operations: ['81-34=47', '47-8=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[8, 34], Operations: ['81-34=47', '81-47=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,43 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 43:[81, 81, 42], Operations: ['34+8=42'] Exploring Operation: 81/81=1, Resulting Numbers: [42, 1] Generated Node #0,1,0: 43:[42, 1] Operation: 81/81=1 Exploring Operation: 81-42=39, Resulting Numbers: [81, 39] Generated Node #0,1,1: 43:[81, 39] Operation: 81-42=39 Exploring Operation: 81-42=39, Resulting Numbers: [81, 39] Generated Node #0,1,2: 43:[81, 39] Operation: 81-42=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[81, 39], Operations: ['34+8=42', '81-42=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[81, 39], Operations: ['34+8=42', '81-42=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,43 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[42, 1], Operations: ['34+8=42', '81/81=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[34, 81, 81, 8], Operations: [] Exploring Operation: 34+8=42, Resulting Numbers: [81, 81, 42] Generated Node #0,1: 43:[81, 81, 42] Operation: 34+8=42 Moving to Node #0,1 Current State: 43:[81, 81, 42], Operations: ['34+8=42'] Exploring Operation: 81/81=1, Resulting Numbers: [42, 1] Generated Node #0,1,0: 43:[42, 1] Operation: 81/81=1 Moving to Node #0,1,0 Current State: 43:[42, 1], Operations: ['34+8=42', '81/81=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 98, 16, 14, 22 ]
31
[ "98/14=7", "16+22=38", "38-7=31" ]
Current State: 31:[98, 16, 14, 22], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [16, 22, 7] Generated Node #2: [16, 22, 7] from Operation: 98/14=7 Current State: 31:[16, 22, 7], Operations: ['98/14=7'] Exploring Operation: 16+22=38, Resulting Numbers: [7, 38] Generated Node #3: [7, 38] from Operation: 16+22=38 Current State: 31:[7, 38], Operations: ['98/14=7', '16+22=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[98, 16, 14, 22], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [16, 22, 7] Generated Node #0,0: 31:[16, 22, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 31:[16, 22, 7], Operations: ['98/14=7'] Exploring Operation: 16+7=23, Resulting Numbers: [22, 23] Generated Node #0,0,0: 31:[22, 23] Operation: 16+7=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[22, 23], Operations: ['98/14=7', '16+7=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,31 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
[ 40, 10, 1, 92 ]
61
[ "40-10=30", "92-1=91", "91-30=61" ]
Current State: 61:[40, 10, 1, 92], Operations: [] Exploring Operation: 40-10=30, Resulting Numbers: [1, 92, 30] Generated Node #2: [1, 92, 30] from Operation: 40-10=30 Current State: 61:[1, 92, 30], Operations: ['40-10=30'] Exploring Operation: 92-1=91, Resulting Numbers: [30, 91] Generated Node #3: [30, 91] from Operation: 92-1=91 Current State: 61:[30, 91], Operations: ['40-10=30', '92-1=91'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[40, 10, 1, 92], Operations: [] Exploring Operation: 40+10=50, Resulting Numbers: [1, 92, 50] Generated Node #0,0: 61:[1, 92, 50] Operation: 40+10=50 Exploring Operation: 10+1=11, Resulting Numbers: [40, 92, 11] Generated Node #0,1: 61:[40, 92, 11] Operation: 10+1=11 Exploring Operation: 40+1=41, Resulting Numbers: [10, 92, 41] Generated Node #0,2: 61:[10, 92, 41] Operation: 40+1=41 Moving to Node #0,0 Current State: 61:[1, 92, 50], Operations: ['40+10=50'] Exploring Operation: 92-1=91, Resulting Numbers: [50, 91] Generated Node #0,0,0: 61:[50, 91] Operation: 92-1=91 Exploring Operation: 1+50=51, Resulting Numbers: [92, 51] Generated Node #0,0,1: 61:[92, 51] Operation: 1+50=51 Exploring Operation: 1*92=92, Resulting Numbers: [50, 92] Generated Node #0,0,2: 61:[50, 92] Operation: 1*92=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[50, 91], Operations: ['40+10=50', '92-1=91'] Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 50+91=141, Resulting Numbers: [141] 141,61 unequal: No Solution Exploring Operation: 50*91=4550, Resulting Numbers: [4550] 4550,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[92, 51], Operations: ['40+10=50', '1+50=51'] Exploring Operation: 92+51=143, Resulting Numbers: [143] 143,61 unequal: No Solution Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 92*51=4692, Resulting Numbers: [4692] 4692,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[50, 92], Operations: ['40+10=50', '1*92=92'] Exploring Operation: 50+92=142, Resulting Numbers: [142] 142,61 unequal: No Solution Exploring Operation: 50*92=4600, Resulting Numbers: [4600] 4600,61 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[40, 92, 11], Operations: ['10+1=11'] Exploring Operation: 92-11=81, Resulting Numbers: [40, 81] Generated Node #0,1,0: 61:[40, 81] Operation: 92-11=81 Exploring Operation: 92-40=52, Resulting Numbers: [11, 52] Generated Node #0,1,1: 61:[11, 52] Operation: 92-40=52 Exploring Operation: 40+11=51, Resulting Numbers: [92, 51] Generated Node #0,1,2: 61:[92, 51] Operation: 40+11=51 Moving to Node #0,2 Current State: 61:[10, 92, 41], Operations: ['40+1=41'] Exploring Operation: 10+41=51, Resulting Numbers: [92, 51] Generated Node #0,2,0: 61:[92, 51] Operation: 10+41=51 Exploring Operation: 92-10=82, Resulting Numbers: [41, 82] Generated Node #0,2,1: 61:[41, 82] Operation: 92-10=82 Exploring Operation: 10+92=102, Resulting Numbers: [41, 102] Generated Node #0,2,2: 61:[41, 102] Operation: 10+92=102 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[92, 51], Operations: ['40+1=41', '10+41=51'] Exploring Operation: 92*51=4692, Resulting Numbers: [4692] 4692,61 unequal: No Solution Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 92+51=143, Resulting Numbers: [143] 143,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[41, 82], Operations: ['40+1=41', '92-10=82'] Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,61 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[41, 102], Operations: ['40+1=41', '10+92=102'] Exploring Operation: 41*102=4182, Resulting Numbers: [4182] 4182,61 unequal: No Solution Exploring Operation: 102-41=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[40, 10, 1, 92], Operations: [] Exploring Operation: 40+1=41, Resulting Numbers: [10, 92, 41] Generated Node #0,2: 61:[10, 92, 41] Operation: 40+1=41 Moving to Node #0,2 Current State: 61:[10, 92, 41], Operations: ['40+1=41'] Exploring Operation: 10+92=102, Resulting Numbers: [41, 102] Generated Node #0,2,2: 61:[41, 102] Operation: 10+92=102 Moving to Node #0,2,2 Current State: 61:[41, 102], Operations: ['40+1=41', '10+92=102'] Exploring Operation: 102-41=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_3
sum_heuristic
[ 76, 31, 81, 15 ]
34
[ "81-76=5", "15/5=3", "31+3=34" ]
Current State: 34:[76, 31, 81, 15], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [31, 15, 5] Generated Node #2: [31, 15, 5] from Operation: 81-76=5 Current State: 34:[31, 15, 5], Operations: ['81-76=5'] Exploring Operation: 15/5=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 15/5=3 Current State: 34:[31, 3], Operations: ['81-76=5', '15/5=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[76, 31, 81, 15], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [81, 15, 45] Generated Node #0,0: 34:[81, 15, 45] Operation: 76-31=45 Exploring Operation: 81-76=5, Resulting Numbers: [31, 15, 5] Generated Node #0,1: 34:[31, 15, 5] Operation: 81-76=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[31, 15, 5], Operations: ['81-76=5'] Exploring Operation: 31-15=16, Resulting Numbers: [5, 16] Generated Node #0,1,0: 34:[5, 16] Operation: 31-15=16 Exploring Operation: 31+5=36, Resulting Numbers: [15, 36] Generated Node #0,1,1: 34:[15, 36] Operation: 31+5=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[5, 16], Operations: ['81-76=5', '31-15=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[15, 36], Operations: ['81-76=5', '31+5=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[81, 15, 45], Operations: ['76-31=45'] Exploring Operation: 81-45=36, Resulting Numbers: [15, 36] Generated Node #0,0,0: 34:[15, 36] Operation: 81-45=36 Exploring Operation: 81-15=66, Resulting Numbers: [45, 66] Generated Node #0,0,1: 34:[45, 66] Operation: 81-15=66 Moving to Node #0,0,0 Current State: 34:[15, 36], Operations: ['76-31=45', '81-45=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[45, 66], Operations: ['76-31=45', '81-15=66'] Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 45+66=111, Resulting Numbers: [111] 111,34 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
[ 59, 51, 76, 48 ]
45
[ "59+76=135", "51-48=3", "135/3=45" ]
Current State: 45:[59, 51, 76, 48], Operations: [] Exploring Operation: 59+76=135, Resulting Numbers: [51, 48, 135] Generated Node #2: [51, 48, 135] from Operation: 59+76=135 Current State: 45:[51, 48, 135], Operations: ['59+76=135'] Exploring Operation: 51-48=3, Resulting Numbers: [135, 3] Generated Node #3: [135, 3] from Operation: 51-48=3 Current State: 45:[135, 3], Operations: ['59+76=135', '51-48=3'] Exploring Operation: 135/3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[59, 51, 76, 48], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [51, 48, 17] Generated Node #0,0: 45:[51, 48, 17] Operation: 76-59=17 Exploring Operation: 76-48=28, Resulting Numbers: [59, 51, 28] Generated Node #0,1: 45:[59, 51, 28] Operation: 76-48=28 Exploring Operation: 76-51=25, Resulting Numbers: [59, 48, 25] Generated Node #0,2: 45:[59, 48, 25] Operation: 76-51=25 Exploring Operation: 59-51=8, Resulting Numbers: [76, 48, 8] Generated Node #0,3: 45:[76, 48, 8] Operation: 59-51=8 Moving to Node #0,0 Current State: 45:[51, 48, 17], Operations: ['76-59=17'] Exploring Operation: 51-48=3, Resulting Numbers: [17, 3] Generated Node #0,0,0: 45:[17, 3] Operation: 51-48=3 Exploring Operation: 51/17=3, Resulting Numbers: [48, 3] Generated Node #0,0,1: 45:[48, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [48, 34] Generated Node #0,0,2: 45:[48, 34] Operation: 51-17=34 Exploring Operation: 48-17=31, Resulting Numbers: [51, 31] Generated Node #0,0,3: 45:[51, 31] Operation: 48-17=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[17, 3], Operations: ['76-59=17', '51-48=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[48, 3], Operations: ['76-59=17', '51/17=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[59, 51, 76, 48], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [51, 48, 17] Generated Node #0,0: 45:[51, 48, 17] Operation: 76-59=17 Moving to Node #0,0 Current State: 45:[51, 48, 17], Operations: ['76-59=17'] Exploring Operation: 51/17=3, Resulting Numbers: [48, 3] Generated Node #0,0,1: 45:[48, 3] Operation: 51/17=3 Moving to Node #0,0,1 Current State: 45:[48, 3], Operations: ['76-59=17', '51/17=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 28, 19, 26, 48 ]
84
[ "19+26=45", "48-45=3", "28*3=84" ]
Current State: 84:[28, 19, 26, 48], Operations: [] Exploring Operation: 19+26=45, Resulting Numbers: [28, 48, 45] Generated Node #2: [28, 48, 45] from Operation: 19+26=45 Current State: 84:[28, 48, 45], Operations: ['19+26=45'] Exploring Operation: 48-45=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 48-45=3 Current State: 84:[28, 3], Operations: ['19+26=45', '48-45=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[28, 19, 26, 48], Operations: [] Exploring Operation: 48-19=29, Resulting Numbers: [28, 26, 29] Generated Node #0,0: 84:[28, 26, 29] Operation: 48-19=29 Moving to Node #0,0 Current State: 84:[28, 26, 29], Operations: ['48-19=29'] Exploring Operation: 29-26=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 84:[28, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[28, 3], Operations: ['48-19=29', '29-26=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[28, 19, 26, 48], Operations: [] Exploring Operation: 48-19=29, Resulting Numbers: [28, 26, 29] Generated Node #0,0: 84:[28, 26, 29] Operation: 48-19=29 Moving to Node #0,0 Current State: 84:[28, 26, 29], Operations: ['48-19=29'] Exploring Operation: 29-26=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 84:[28, 3] Operation: 29-26=3 Moving to Node #0,0,0 Current State: 84:[28, 3], Operations: ['48-19=29', '29-26=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 93, 3, 65, 86 ]
86
[ "93-86=7", "3*7=21", "65+21=86" ]
Current State: 86:[93, 3, 65, 86], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [3, 65, 7] Generated Node #2: [3, 65, 7] from Operation: 93-86=7 Current State: 86:[3, 65, 7], Operations: ['93-86=7'] Exploring Operation: 3*7=21, Resulting Numbers: [65, 21] Generated Node #3: [65, 21] from Operation: 3*7=21 Current State: 86:[65, 21], Operations: ['93-86=7', '3*7=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[93, 3, 65, 86], Operations: [] Exploring Operation: 3+65=68, Resulting Numbers: [93, 86, 68] Generated Node #0,0: 86:[93, 86, 68] Operation: 3+65=68 Exploring Operation: 93-65=28, Resulting Numbers: [3, 86, 28] Generated Node #0,1: 86:[3, 86, 28] Operation: 93-65=28 Exploring Operation: 65-3=62, Resulting Numbers: [93, 86, 62] Generated Node #0,2: 86:[93, 86, 62] Operation: 65-3=62 Exploring Operation: 93-3=90, Resulting Numbers: [65, 86, 90] Generated Node #0,3: 86:[65, 86, 90] Operation: 93-3=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[3, 86, 28], Operations: ['93-65=28'] Exploring Operation: 3+86=89, Resulting Numbers: [28, 89] Generated Node #0,1,0: 86:[28, 89] Operation: 3+86=89 Exploring Operation: 86-28=58, Resulting Numbers: [3, 58] Generated Node #0,1,1: 86:[3, 58] Operation: 86-28=58 Exploring Operation: 3*28=84, Resulting Numbers: [86, 84] Generated Node #0,1,2: 86:[86, 84] Operation: 3*28=84 Exploring Operation: 3+28=31, Resulting Numbers: [86, 31] Generated Node #0,1,3: 86:[86, 31] Operation: 3+28=31 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[86, 84], Operations: ['93-65=28', '3*28=84'] Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 86*84=7224, Resulting Numbers: [7224] 7224,86 unequal: No Solution Exploring Operation: 86+84=170, Resulting Numbers: [170] 170,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,3 Current State: 86:[86, 31], Operations: ['93-65=28', '3+28=31'] Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,86 unequal: No Solution Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 86*31=2666, Resulting Numbers: [2666] 2666,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,1 Current State: 86:[3, 58], Operations: ['93-65=28', '86-28=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,86 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,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:[28, 89], Operations: ['93-65=28', '3+86=89'] Exploring Operation: 28*89=2492, Resulting Numbers: [2492] 2492,86 unequal: No Solution Exploring Operation: 28+89=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,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:[93, 86, 68], Operations: ['3+65=68'] Exploring Operation: 93-86=7, Resulting Numbers: [68, 7] Generated Node #0,0,0: 86:[68, 7] Operation: 93-86=7 Exploring Operation: 86-68=18, Resulting Numbers: [93, 18] Generated Node #0,0,1: 86:[93, 18] Operation: 86-68=18 Exploring Operation: 93-68=25, Resulting Numbers: [86, 25] Generated Node #0,0,2: 86:[86, 25] Operation: 93-68=25 Exploring Operation: 93+68=161, Resulting Numbers: [86, 161] Generated Node #0,0,3: 86:[86, 161] Operation: 93+68=161 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[86, 25], Operations: ['3+65=68', '93-68=25'] Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,86 unequal: No Solution Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[68, 7], Operations: ['3+65=68', '93-86=7'] Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,86 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[93, 18], Operations: ['3+65=68', '86-68=18'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[86, 161], Operations: ['3+65=68', '93+68=161'] Exploring Operation: 161-86=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 86*161=13846, Resulting Numbers: [13846] 13846,86 unequal: No Solution Exploring Operation: 86+161=247, Resulting Numbers: [247] 247,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,3 Current State: 86:[65, 86, 90], Operations: ['93-3=90'] Exploring Operation: 86-65=21, Resulting Numbers: [90, 21] Generated Node #0,3,0: 86:[90, 21] Operation: 86-65=21 Exploring Operation: 90-65=25, Resulting Numbers: [86, 25] Generated Node #0,3,1: 86:[86, 25] Operation: 90-65=25 Exploring Operation: 90-86=4, Resulting Numbers: [65, 4] Generated Node #0,3,2: 86:[65, 4] Operation: 90-86=4 Exploring Operation: 65+86=151, Resulting Numbers: [90, 151] Generated Node #0,3,3: 86:[90, 151] Operation: 65+86=151 Moving to Node #0,3,1 Current State: 86:[86, 25], Operations: ['93-3=90', '90-65=25'] Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[65, 4], Operations: ['93-3=90', '90-86=4'] Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,86 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[90, 21], Operations: ['93-3=90', '86-65=21'] Exploring Operation: 90*21=1890, Resulting Numbers: [1890] 1890,86 unequal: No Solution Exploring Operation: 90+21=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[90, 151], Operations: ['93-3=90', '65+86=151'] Exploring Operation: 90*151=13590, Resulting Numbers: [13590] 13590,86 unequal: No Solution Exploring Operation: 151-90=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 90+151=241, Resulting Numbers: [241] 241,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[93, 86, 62], Operations: ['65-3=62'] Exploring Operation: 93-86=7, Resulting Numbers: [62, 7] Generated Node #0,2,0: 86:[62, 7] Operation: 93-86=7 Exploring Operation: 86-62=24, Resulting Numbers: [93, 24] Generated Node #0,2,1: 86:[93, 24] Operation: 86-62=24 Exploring Operation: 93+62=155, Resulting Numbers: [86, 155] Generated Node #0,2,2: 86:[86, 155] Operation: 93+62=155 Exploring Operation: 93-62=31, Resulting Numbers: [86, 31] Generated Node #0,2,3: 86:[86, 31] Operation: 93-62=31 Moving to Node #0,2,3 Current State: 86:[86, 31], Operations: ['65-3=62', '93-62=31'] Exploring Operation: 86*31=2666, Resulting Numbers: [2666] 2666,86 unequal: No Solution Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[62, 7], Operations: ['65-3=62', '93-86=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,86 unequal: No Solution Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,86 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[93, 24], Operations: ['65-3=62', '86-62=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,86 unequal: No Solution Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[86, 155], Operations: ['65-3=62', '93+62=155'] Exploring Operation: 86+155=241, Resulting Numbers: [241] 241,86 unequal: No Solution Exploring Operation: 155-86=69, Resulting Numbers: [69] 69,86 unequal: No Solution Exploring Operation: 86*155=13330, Resulting Numbers: [13330] 13330,86 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
[ 29, 83, 52, 50 ]
25
[ "83-29=54", "54-52=2", "50/2=25" ]
Current State: 25:[29, 83, 52, 50], Operations: [] Exploring Operation: 83-29=54, Resulting Numbers: [52, 50, 54] Generated Node #2: [52, 50, 54] from Operation: 83-29=54 Current State: 25:[52, 50, 54], Operations: ['83-29=54'] Exploring Operation: 54-52=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 54-52=2 Current State: 25:[50, 2], Operations: ['83-29=54', '54-52=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[29, 83, 52, 50], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [29, 50, 31] Generated Node #0,0: 25:[29, 50, 31] Operation: 83-52=31 Exploring Operation: 52-50=2, Resulting Numbers: [29, 83, 2] Generated Node #0,1: 25:[29, 83, 2] Operation: 52-50=2 Exploring Operation: 83-50=33, Resulting Numbers: [29, 52, 33] Generated Node #0,2: 25:[29, 52, 33] Operation: 83-50=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[29, 50, 31], Operations: ['83-52=31'] Exploring Operation: 50-31=19, Resulting Numbers: [29, 19] Generated Node #0,0,0: 25:[29, 19] Operation: 50-31=19 Exploring Operation: 50-29=21, Resulting Numbers: [31, 21] Generated Node #0,0,1: 25:[31, 21] Operation: 50-29=21 Exploring Operation: 31-29=2, Resulting Numbers: [50, 2] Generated Node #0,0,2: 25:[50, 2] Operation: 31-29=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[29, 19], Operations: ['83-52=31', '50-31=19'] Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,25 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,25 unequal: No Solution No 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: 25:[31, 21], Operations: ['83-52=31', '50-29=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,25 unequal: No Solution No 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: 25:[50, 2], Operations: ['83-52=31', '31-29=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[29, 83, 52, 50], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [29, 50, 31] Generated Node #0,0: 25:[29, 50, 31] Operation: 83-52=31 Moving to Node #0,0 Current State: 25:[29, 50, 31], Operations: ['83-52=31'] Exploring Operation: 31-29=2, Resulting Numbers: [50, 2] Generated Node #0,0,2: 25:[50, 2] Operation: 31-29=2 Moving to Node #0,0,2 Current State: 25:[50, 2], Operations: ['83-52=31', '31-29=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 79, 38, 25, 62 ]
80
[ "79+38=117", "62-25=37", "117-37=80" ]
Current State: 80:[79, 38, 25, 62], Operations: [] Exploring Operation: 79+38=117, Resulting Numbers: [25, 62, 117] Generated Node #2: [25, 62, 117] from Operation: 79+38=117 Current State: 80:[25, 62, 117], Operations: ['79+38=117'] Exploring Operation: 62-25=37, Resulting Numbers: [117, 37] Generated Node #3: [117, 37] from Operation: 62-25=37 Current State: 80:[117, 37], Operations: ['79+38=117', '62-25=37'] Exploring Operation: 117-37=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[79, 38, 25, 62], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [38, 25, 17] Generated Node #0,0: 80:[38, 25, 17] Operation: 79-62=17 Exploring Operation: 25+62=87, Resulting Numbers: [79, 38, 87] Generated Node #0,1: 80:[79, 38, 87] Operation: 25+62=87 Exploring Operation: 62-25=37, Resulting Numbers: [79, 38, 37] Generated Node #0,2: 80:[79, 38, 37] Operation: 62-25=37 Exploring Operation: 62-38=24, Resulting Numbers: [79, 25, 24] Generated Node #0,3: 80:[79, 25, 24] Operation: 62-38=24 Exploring Operation: 38-25=13, Resulting Numbers: [79, 62, 13] Generated Node #0,4: 80:[79, 62, 13] Operation: 38-25=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[79, 38, 37], Operations: ['62-25=37'] Exploring Operation: 79-38=41, Resulting Numbers: [37, 41] Generated Node #0,2,0: 80:[37, 41] Operation: 79-38=41 Exploring Operation: 79+37=116, Resulting Numbers: [38, 116] Generated Node #0,2,1: 80:[38, 116] Operation: 79+37=116 Exploring Operation: 38-37=1, Resulting Numbers: [79, 1] Generated Node #0,2,2: 80:[79, 1] Operation: 38-37=1 Exploring Operation: 38+37=75, Resulting Numbers: [79, 75] Generated Node #0,2,3: 80:[79, 75] Operation: 38+37=75 Exploring Operation: 79-37=42, Resulting Numbers: [38, 42] Generated Node #0,2,4: 80:[38, 42] Operation: 79-37=42 Moving to Node #0,2,2 Current State: 80:[79, 1], Operations: ['62-25=37', '38-37=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[79, 38, 25, 62], Operations: [] Exploring Operation: 62-25=37, Resulting Numbers: [79, 38, 37] Generated Node #0,2: 80:[79, 38, 37] Operation: 62-25=37 Moving to Node #0,2 Current State: 80:[79, 38, 37], Operations: ['62-25=37'] Exploring Operation: 38-37=1, Resulting Numbers: [79, 1] Generated Node #0,2,2: 80:[79, 1] Operation: 38-37=1 Moving to Node #0,2,2 Current State: 80:[79, 1], Operations: ['62-25=37', '38-37=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 33, 17, 13, 9 ]
38
[ "33-17=16", "13+9=22", "16+22=38" ]
Current State: 38:[33, 17, 13, 9], Operations: [] Exploring Operation: 33-17=16, Resulting Numbers: [13, 9, 16] Generated Node #2: [13, 9, 16] from Operation: 33-17=16 Current State: 38:[13, 9, 16], Operations: ['33-17=16'] Exploring Operation: 13+9=22, Resulting Numbers: [16, 22] Generated Node #3: [16, 22] from Operation: 13+9=22 Current State: 38:[16, 22], Operations: ['33-17=16', '13+9=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[33, 17, 13, 9], Operations: [] Exploring Operation: 13-9=4, Resulting Numbers: [33, 17, 4] Generated Node #0,0: 38:[33, 17, 4] Operation: 13-9=4 Moving to Node #0,0 Current State: 38:[33, 17, 4], Operations: ['13-9=4'] Exploring Operation: 33+4=37, Resulting Numbers: [17, 37] Generated Node #0,0,0: 38:[17, 37] Operation: 33+4=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[17, 37], Operations: ['13-9=4', '33+4=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,38 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
[ 14, 4, 9, 46 ]
12
[ "14+46=60", "9-4=5", "60/5=12" ]
Current State: 12:[14, 4, 9, 46], Operations: [] Exploring Operation: 14+46=60, Resulting Numbers: [4, 9, 60] Generated Node #2: [4, 9, 60] from Operation: 14+46=60 Current State: 12:[4, 9, 60], Operations: ['14+46=60'] Exploring Operation: 9-4=5, Resulting Numbers: [60, 5] Generated Node #3: [60, 5] from Operation: 9-4=5 Current State: 12:[60, 5], Operations: ['14+46=60', '9-4=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[14, 4, 9, 46], Operations: [] Exploring Operation: 46-9=37, Resulting Numbers: [14, 4, 37] Generated Node #0,0: 12:[14, 4, 37] Operation: 46-9=37 Exploring Operation: 46-14=32, Resulting Numbers: [4, 9, 32] Generated Node #0,1: 12:[4, 9, 32] Operation: 46-14=32 Exploring Operation: 46-4=42, Resulting Numbers: [14, 9, 42] Generated Node #0,2: 12:[14, 9, 42] Operation: 46-4=42 Exploring Operation: 14-9=5, Resulting Numbers: [4, 46, 5] Generated Node #0,3: 12:[4, 46, 5] Operation: 14-9=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[4, 9, 32], Operations: ['46-14=32'] Exploring Operation: 32-4=28, Resulting Numbers: [9, 28] Generated Node #0,1,0: 12:[9, 28] Operation: 32-4=28 Exploring Operation: 32-9=23, Resulting Numbers: [4, 23] Generated Node #0,1,1: 12:[4, 23] Operation: 32-9=23 Exploring Operation: 4+9=13, Resulting Numbers: [32, 13] Generated Node #0,1,2: 12:[32, 13] Operation: 4+9=13 Exploring Operation: 32/4=8, Resulting Numbers: [9, 8] Generated Node #0,1,3: 12:[9, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[9, 8], Operations: ['46-14=32', '32/4=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,12 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,12 unequal: No Solution No 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: 12:[4, 23], Operations: ['46-14=32', '32-9=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,12 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,12 unequal: No Solution No 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: 12:[9, 28], Operations: ['46-14=32', '32-4=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,12 unequal: No Solution No 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: 12:[32, 13], Operations: ['46-14=32', '4+9=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,12 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,12 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: 12:[14, 4, 37], Operations: ['46-9=37'] Exploring Operation: 14+4=18, Resulting Numbers: [37, 18] Generated Node #0,0,0: 12:[37, 18] Operation: 14+4=18 Exploring Operation: 37-14=23, Resulting Numbers: [4, 23] Generated Node #0,0,1: 12:[4, 23] Operation: 37-14=23 Exploring Operation: 14-4=10, Resulting Numbers: [37, 10] Generated Node #0,0,2: 12:[37, 10] Operation: 14-4=10 Exploring Operation: 37-4=33, Resulting Numbers: [14, 33] Generated Node #0,0,3: 12:[14, 33] Operation: 37-4=33 Moving to Node #0,0,1 Current State: 12:[4, 23], Operations: ['46-9=37', '37-14=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,12 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[14, 33], Operations: ['46-9=37', '37-4=33'] Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,12 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[37, 10], Operations: ['46-9=37', '14-4=10'] Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,12 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[37, 18], Operations: ['46-9=37', '14+4=18'] Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,12 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[14, 9, 42], Operations: ['46-4=42'] Exploring Operation: 42/14=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 12:[9, 3] Operation: 42/14=3 Exploring Operation: 42-9=33, Resulting Numbers: [14, 33] Generated Node #0,2,1: 12:[14, 33] Operation: 42-9=33 Exploring Operation: 14-9=5, Resulting Numbers: [42, 5] Generated Node #0,2,2: 12:[42, 5] Operation: 14-9=5 Exploring Operation: 42-14=28, Resulting Numbers: [9, 28] Generated Node #0,2,3: 12:[9, 28] Operation: 42-14=28 Moving to Node #0,2,0 Current State: 12:[9, 3], Operations: ['46-4=42', '42/14=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[14, 4, 9, 46], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [14, 9, 42] Generated Node #0,2: 12:[14, 9, 42] Operation: 46-4=42 Moving to Node #0,2 Current State: 12:[14, 9, 42], Operations: ['46-4=42'] Exploring Operation: 42/14=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 12:[9, 3] Operation: 42/14=3 Moving to Node #0,2,0 Current State: 12:[9, 3], Operations: ['46-4=42', '42/14=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 37, 88, 84, 84 ]
51
[ "88-37=51", "84-84=0", "51+0=51" ]
Current State: 51:[37, 88, 84, 84], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [84, 84, 51] Generated Node #2: [84, 84, 51] from Operation: 88-37=51 Current State: 51:[84, 84, 51], Operations: ['88-37=51'] Exploring Operation: 84-84=0, Resulting Numbers: [51, 0] Generated Node #3: [51, 0] from Operation: 84-84=0 Current State: 51:[51, 0], Operations: ['88-37=51', '84-84=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[37, 88, 84, 84], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [37, 88, 0] Generated Node #0,0: 51:[37, 88, 0] Operation: 84-84=0 Exploring Operation: 88-84=4, Resulting Numbers: [37, 84, 4] Generated Node #0,1: 51:[37, 84, 4] Operation: 88-84=4 Exploring Operation: 84/84=1, Resulting Numbers: [37, 88, 1] Generated Node #0,2: 51:[37, 88, 1] Operation: 84/84=1 Exploring Operation: 88-84=4, Resulting Numbers: [37, 84, 4] Generated Node #0,3: 51:[37, 84, 4] Operation: 88-84=4 Moving to Node #0,1 Current State: 51:[37, 84, 4], Operations: ['88-84=4'] Exploring Operation: 84/4=21, Resulting Numbers: [37, 21] Generated Node #0,1,0: 51:[37, 21] Operation: 84/4=21 Exploring Operation: 84-37=47, Resulting Numbers: [4, 47] Generated Node #0,1,1: 51:[4, 47] Operation: 84-37=47 Exploring Operation: 37+4=41, Resulting Numbers: [84, 41] Generated Node #0,1,2: 51:[84, 41] Operation: 37+4=41 Exploring Operation: 84-4=80, Resulting Numbers: [37, 80] Generated Node #0,1,3: 51:[37, 80] Operation: 84-4=80 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[4, 47], Operations: ['88-84=4', '84-37=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,51 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[37, 88, 84, 84], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [37, 84, 4] Generated Node #0,1: 51:[37, 84, 4] Operation: 88-84=4 Moving to Node #0,1 Current State: 51:[37, 84, 4], Operations: ['88-84=4'] Exploring Operation: 84-37=47, Resulting Numbers: [4, 47] Generated Node #0,1,1: 51:[4, 47] Operation: 84-37=47 Moving to Node #0,1,1 Current State: 51:[4, 47], Operations: ['88-84=4', '84-37=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 20, 2, 61, 55 ]
68
[ "20+61=81", "55+81=136", "136/2=68" ]
Current State: 68:[20, 2, 61, 55], Operations: [] Exploring Operation: 20+61=81, Resulting Numbers: [2, 55, 81] Generated Node #2: [2, 55, 81] from Operation: 20+61=81 Current State: 68:[2, 55, 81], Operations: ['20+61=81'] Exploring Operation: 55+81=136, Resulting Numbers: [2, 136] Generated Node #3: [2, 136] from Operation: 55+81=136 Current State: 68:[2, 136], Operations: ['20+61=81', '55+81=136'] Exploring Operation: 136/2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[20, 2, 61, 55], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [20, 2, 6] Generated Node #0,0: 68:[20, 2, 6] Operation: 61-55=6 Exploring Operation: 55-20=35, Resulting Numbers: [2, 61, 35] Generated Node #0,1: 68:[2, 61, 35] Operation: 55-20=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[20, 2, 6], Operations: ['61-55=6'] Exploring Operation: 20-2=18, Resulting Numbers: [6, 18] Generated Node #0,0,0: 68:[6, 18] Operation: 20-2=18 Exploring Operation: 20-6=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 68:[2, 14] Operation: 20-6=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[6, 18], Operations: ['61-55=6', '20-2=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,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,1 Current State: 68:[2, 14], Operations: ['61-55=6', '20-6=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,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:[2, 61, 35], Operations: ['55-20=35'] Exploring Operation: 2+61=63, Resulting Numbers: [35, 63] Generated Node #0,1,0: 68:[35, 63] Operation: 2+61=63 Exploring Operation: 35-2=33, Resulting Numbers: [61, 33] Generated Node #0,1,1: 68:[61, 33] Operation: 35-2=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[35, 63], Operations: ['55-20=35', '2+61=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,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,1,1 Current State: 68:[61, 33], Operations: ['55-20=35', '35-2=33'] Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,68 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,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_2
sum_heuristic
[ 65, 24, 45, 83 ]
60
[ "83-65=18", "24*45=1080", "1080/18=60" ]
Current State: 60:[65, 24, 45, 83], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [24, 45, 18] Generated Node #2: [24, 45, 18] from Operation: 83-65=18 Current State: 60:[24, 45, 18], Operations: ['83-65=18'] Exploring Operation: 24*45=1080, Resulting Numbers: [18, 1080] Generated Node #3: [18, 1080] from Operation: 24*45=1080 Current State: 60:[18, 1080], Operations: ['83-65=18', '24*45=1080'] Exploring Operation: 1080/18=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[65, 24, 45, 83], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [24, 45, 18] Generated Node #0,0: 60:[24, 45, 18] Operation: 83-65=18 Exploring Operation: 83-45=38, Resulting Numbers: [65, 24, 38] Generated Node #0,1: 60:[65, 24, 38] Operation: 83-45=38 Exploring Operation: 65-45=20, Resulting Numbers: [24, 83, 20] Generated Node #0,2: 60:[24, 83, 20] Operation: 65-45=20 Exploring Operation: 83-24=59, Resulting Numbers: [65, 45, 59] Generated Node #0,3: 60:[65, 45, 59] Operation: 83-24=59 Moving to Node #0,1 Current State: 60:[65, 24, 38], Operations: ['83-45=38'] Exploring Operation: 65-24=41, Resulting Numbers: [38, 41] Generated Node #0,1,0: 60:[38, 41] Operation: 65-24=41 Exploring Operation: 38-24=14, Resulting Numbers: [65, 14] Generated Node #0,1,1: 60:[65, 14] Operation: 38-24=14 Exploring Operation: 65-38=27, Resulting Numbers: [24, 27] Generated Node #0,1,2: 60:[24, 27] Operation: 65-38=27 Exploring Operation: 24+38=62, Resulting Numbers: [65, 62] Generated Node #0,1,3: 60:[65, 62] Operation: 24+38=62 Moving to Node #0,3 Current State: 60:[65, 45, 59], Operations: ['83-24=59'] Exploring Operation: 65-59=6, Resulting Numbers: [45, 6] Generated Node #0,3,0: 60:[45, 6] Operation: 65-59=6 Exploring Operation: 45+59=104, Resulting Numbers: [65, 104] Generated Node #0,3,1: 60:[65, 104] Operation: 45+59=104 Exploring Operation: 65-45=20, Resulting Numbers: [59, 20] Generated Node #0,3,2: 60:[59, 20] Operation: 65-45=20 Exploring Operation: 59-45=14, Resulting Numbers: [65, 14] Generated Node #0,3,3: 60:[65, 14] Operation: 59-45=14 Moving to Node #0,0 Current State: 60:[24, 45, 18], Operations: ['83-65=18'] Exploring Operation: 45-24=21, Resulting Numbers: [18, 21] Generated Node #0,0,0: 60:[18, 21] Operation: 45-24=21 Exploring Operation: 45-18=27, Resulting Numbers: [24, 27] Generated Node #0,0,1: 60:[24, 27] Operation: 45-18=27 Exploring Operation: 24+45=69, Resulting Numbers: [18, 69] Generated Node #0,0,2: 60:[18, 69] Operation: 24+45=69 Exploring Operation: 45+18=63, Resulting Numbers: [24, 63] Generated Node #0,0,3: 60:[24, 63] Operation: 45+18=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[18, 21], Operations: ['83-65=18', '45-24=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,60 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[24, 27], Operations: ['83-65=18', '45-18=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,60 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[24, 63], Operations: ['83-65=18', '45+18=63'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 24+63=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 24*63=1512, Resulting Numbers: [1512] 1512,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[18, 69], Operations: ['83-65=18', '24+45=69'] Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 18*69=1242, Resulting Numbers: [1242] 1242,60 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: 60:[24, 83, 20], Operations: ['65-45=20'] Exploring Operation: 24-20=4, Resulting Numbers: [83, 4] Generated Node #0,2,0: 60:[83, 4] Operation: 24-20=4 Exploring Operation: 83-20=63, Resulting Numbers: [24, 63] Generated Node #0,2,1: 60:[24, 63] Operation: 83-20=63 Exploring Operation: 24+20=44, Resulting Numbers: [83, 44] Generated Node #0,2,2: 60:[83, 44] Operation: 24+20=44 Exploring Operation: 83-24=59, Resulting Numbers: [20, 59] Generated Node #0,2,3: 60:[20, 59] Operation: 83-24=59 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[20, 59], Operations: ['65-45=20', '83-24=59'] Exploring Operation: 20*59=1180, Resulting Numbers: [1180] 1180,60 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 20+59=79, Resulting Numbers: [79] 79,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[24, 63], Operations: ['65-45=20', '83-20=63'] Exploring Operation: 24+63=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 24*63=1512, Resulting Numbers: [1512] 1512,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[83, 4], Operations: ['65-45=20', '24-20=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,60 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[83, 44], Operations: ['65-45=20', '24+20=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,60 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,60 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: 60:[59, 20], Operations: ['83-24=59', '65-45=20'] Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,60 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[65, 14], Operations: ['83-24=59', '59-45=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,60 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[65, 14], Operations: ['83-45=38', '38-24=14'] Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,60 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[65, 62], Operations: ['83-45=38', '24+38=62'] Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,60 unequal: No Solution Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[24, 27], Operations: ['83-45=38', '65-38=27'] Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[45, 6], Operations: ['83-24=59', '65-59=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[38, 41], Operations: ['83-45=38', '65-24=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,60 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[65, 104], Operations: ['83-24=59', '45+59=104'] Exploring Operation: 65+104=169, Resulting Numbers: [169] 169,60 unequal: No Solution Exploring Operation: 65*104=6760, Resulting Numbers: [6760] 6760,60 unequal: No Solution Exploring Operation: 104-65=39, Resulting Numbers: [39] 39,60 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 49, 71, 35, 7 ]
43
[ "49/7=7", "71-35=36", "7+36=43" ]
Current State: 43:[49, 71, 35, 7], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [71, 35, 7] Generated Node #2: [71, 35, 7] from Operation: 49/7=7 Current State: 43:[71, 35, 7], Operations: ['49/7=7'] Exploring Operation: 71-35=36, Resulting Numbers: [7, 36] Generated Node #3: [7, 36] from Operation: 71-35=36 Current State: 43:[7, 36], Operations: ['49/7=7', '71-35=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[49, 71, 35, 7], Operations: [] Exploring Operation: 71-7=64, Resulting Numbers: [49, 35, 64] Generated Node #0,0: 43:[49, 35, 64] Operation: 71-7=64 Exploring Operation: 35+7=42, Resulting Numbers: [49, 71, 42] Generated Node #0,1: 43:[49, 71, 42] Operation: 35+7=42 Moving to Node #0,0 Current State: 43:[49, 35, 64], Operations: ['71-7=64'] Exploring Operation: 64-49=15, Resulting Numbers: [35, 15] Generated Node #0,0,0: 43:[35, 15] Operation: 64-49=15 Exploring Operation: 64-35=29, Resulting Numbers: [49, 29] Generated Node #0,0,1: 43:[49, 29] Operation: 64-35=29 Moving to Node #0,1 Current State: 43:[49, 71, 42], Operations: ['35+7=42'] Exploring Operation: 71-49=22, Resulting Numbers: [42, 22] Generated Node #0,1,0: 43:[42, 22] Operation: 71-49=22 Exploring Operation: 71-42=29, Resulting Numbers: [49, 29] Generated Node #0,1,1: 43:[49, 29] Operation: 71-42=29 Moving to Node #0,0,1 Current State: 43:[49, 29], Operations: ['71-7=64', '64-35=29'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[49, 29], Operations: ['35+7=42', '71-42=29'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[42, 22], Operations: ['35+7=42', '71-49=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[35, 15], Operations: ['71-7=64', '64-49=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 59, 3, 45, 73 ]
90
[ "59+3=62", "73-45=28", "62+28=90" ]
Current State: 90:[59, 3, 45, 73], Operations: [] Exploring Operation: 59+3=62, Resulting Numbers: [45, 73, 62] Generated Node #2: [45, 73, 62] from Operation: 59+3=62 Current State: 90:[45, 73, 62], Operations: ['59+3=62'] Exploring Operation: 73-45=28, Resulting Numbers: [62, 28] Generated Node #3: [62, 28] from Operation: 73-45=28 Current State: 90:[62, 28], Operations: ['59+3=62', '73-45=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[59, 3, 45, 73], Operations: [] Exploring Operation: 59-45=14, Resulting Numbers: [3, 73, 14] Generated Node #0,0: 90:[3, 73, 14] Operation: 59-45=14 Exploring Operation: 73-59=14, Resulting Numbers: [3, 45, 14] Generated Node #0,1: 90:[3, 45, 14] Operation: 73-59=14 Exploring Operation: 59-3=56, Resulting Numbers: [45, 73, 56] Generated Node #0,2: 90:[45, 73, 56] Operation: 59-3=56 Exploring Operation: 73-45=28, Resulting Numbers: [59, 3, 28] Generated Node #0,3: 90:[59, 3, 28] Operation: 73-45=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[3, 45, 14], Operations: ['73-59=14'] Exploring Operation: 45-14=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 90:[3, 31] Operation: 45-14=31 Exploring Operation: 3+14=17, Resulting Numbers: [45, 17] Generated Node #0,1,1: 90:[45, 17] Operation: 3+14=17 Exploring Operation: 14-3=11, Resulting Numbers: [45, 11] Generated Node #0,1,2: 90:[45, 11] Operation: 14-3=11 Exploring Operation: 45/3=15, Resulting Numbers: [14, 15] Generated Node #0,1,3: 90:[14, 15] Operation: 45/3=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[3, 31], Operations: ['73-59=14', '45-14=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[45, 17], Operations: ['73-59=14', '3+14=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,90 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[45, 11], Operations: ['73-59=14', '14-3=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,90 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 90:[14, 15], Operations: ['73-59=14', '45/3=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,90 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[59, 3, 28], Operations: ['73-45=28'] Exploring Operation: 59-3=56, Resulting Numbers: [28, 56] Generated Node #0,3,0: 90:[28, 56] Operation: 59-3=56 Exploring Operation: 59-28=31, Resulting Numbers: [3, 31] Generated Node #0,3,1: 90:[3, 31] Operation: 59-28=31 Exploring Operation: 3+28=31, Resulting Numbers: [59, 31] Generated Node #0,3,2: 90:[59, 31] Operation: 3+28=31 Exploring Operation: 59+28=87, Resulting Numbers: [3, 87] Generated Node #0,3,3: 90:[3, 87] Operation: 59+28=87 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 90:[3, 31], Operations: ['73-45=28', '59-28=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 90:[3, 87], Operations: ['73-45=28', '59+28=87'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,90 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[59, 3, 45, 73], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [59, 3, 28] Generated Node #0,3: 90:[59, 3, 28] Operation: 73-45=28 Moving to Node #0,3 Current State: 90:[59, 3, 28], Operations: ['73-45=28'] Exploring Operation: 59+28=87, Resulting Numbers: [3, 87] Generated Node #0,3,3: 90:[3, 87] Operation: 59+28=87 Moving to Node #0,3,3 Current State: 90:[3, 87], Operations: ['73-45=28', '59+28=87'] Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 9, 71, 4, 51 ]
71
[ "9+71=80", "80/4=20", "51+20=71" ]
Current State: 71:[9, 71, 4, 51], Operations: [] Exploring Operation: 9+71=80, Resulting Numbers: [4, 51, 80] Generated Node #2: [4, 51, 80] from Operation: 9+71=80 Current State: 71:[4, 51, 80], Operations: ['9+71=80'] Exploring Operation: 80/4=20, Resulting Numbers: [51, 20] Generated Node #3: [51, 20] from Operation: 80/4=20 Current State: 71:[51, 20], Operations: ['9+71=80', '80/4=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[9, 71, 4, 51], Operations: [] Exploring Operation: 9+51=60, Resulting Numbers: [71, 4, 60] Generated Node #0,0: 71:[71, 4, 60] Operation: 9+51=60 Exploring Operation: 4+51=55, Resulting Numbers: [9, 71, 55] Generated Node #0,1: 71:[9, 71, 55] Operation: 4+51=55 Exploring Operation: 9+4=13, Resulting Numbers: [71, 51, 13] Generated Node #0,2: 71:[71, 51, 13] Operation: 9+4=13 Exploring Operation: 9*4=36, Resulting Numbers: [71, 51, 36] Generated Node #0,3: 71:[71, 51, 36] Operation: 9*4=36 Exploring Operation: 9-4=5, Resulting Numbers: [71, 51, 5] Generated Node #0,4: 71:[71, 51, 5] Operation: 9-4=5 Moving to Node #0,3 Current State: 71:[71, 51, 36], Operations: ['9*4=36'] Exploring Operation: 51+36=87, Resulting Numbers: [71, 87] Generated Node #0,3,0: 71:[71, 87] Operation: 51+36=87 Exploring Operation: 71+51=122, Resulting Numbers: [36, 122] Generated Node #0,3,1: 71:[36, 122] Operation: 71+51=122 Exploring Operation: 71+36=107, Resulting Numbers: [51, 107] Generated Node #0,3,2: 71:[51, 107] Operation: 71+36=107 Exploring Operation: 71-36=35, Resulting Numbers: [51, 35] Generated Node #0,3,3: 71:[51, 35] Operation: 71-36=35 Exploring Operation: 51-36=15, Resulting Numbers: [71, 15] Generated Node #0,3,4: 71:[71, 15] Operation: 51-36=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[71, 87], Operations: ['9*4=36', '51+36=87'] Exploring Operation: 71+87=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 71*87=6177, Resulting Numbers: [6177] 6177,71 unequal: No Solution Exploring Operation: 87-71=16, Resulting Numbers: [16] 16,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[51, 107], Operations: ['9*4=36', '71+36=107'] Exploring Operation: 51+107=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 107-51=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 51*107=5457, Resulting Numbers: [5457] 5457,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 71:[51, 35], Operations: ['9*4=36', '71-36=35'] Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,71 unequal: No Solution Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 71:[71, 15], Operations: ['9*4=36', '51-36=15'] Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[36, 122], Operations: ['9*4=36', '71+51=122'] Exploring Operation: 36+122=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 36*122=4392, Resulting Numbers: [4392] 4392,71 unequal: No Solution Exploring Operation: 122-36=86, Resulting Numbers: [86] 86,71 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: 71:[9, 71, 55], Operations: ['4+51=55'] Exploring Operation: 9+71=80, Resulting Numbers: [55, 80] Generated Node #0,1,0: 71:[55, 80] Operation: 9+71=80 Exploring Operation: 71+55=126, Resulting Numbers: [9, 126] Generated Node #0,1,1: 71:[9, 126] Operation: 71+55=126 Exploring Operation: 71-9=62, Resulting Numbers: [55, 62] Generated Node #0,1,2: 71:[55, 62] Operation: 71-9=62 Exploring Operation: 9+55=64, Resulting Numbers: [71, 64] Generated Node #0,1,3: 71:[71, 64] Operation: 9+55=64 Exploring Operation: 55-9=46, Resulting Numbers: [71, 46] Generated Node #0,1,4: 71:[71, 46] Operation: 55-9=46 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[71, 64], Operations: ['4+51=55', '9+55=64'] Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,71 unequal: No Solution Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[55, 80], Operations: ['4+51=55', '9+71=80'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,71 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[55, 62], Operations: ['4+51=55', '71-9=62'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 71:[71, 46], Operations: ['4+51=55', '55-9=46'] Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,71 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[9, 126], Operations: ['4+51=55', '71+55=126'] Exploring Operation: 9+126=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 126-9=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 126/9=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 9*126=1134, Resulting Numbers: [1134] 1134,71 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: 71:[71, 4, 60], Operations: ['9+51=60'] Exploring Operation: 4+60=64, Resulting Numbers: [71, 64] Generated Node #0,0,0: 71:[71, 64] Operation: 4+60=64 Exploring Operation: 71-4=67, Resulting Numbers: [60, 67] Generated Node #0,0,1: 71:[60, 67] Operation: 71-4=67 Exploring Operation: 60/4=15, Resulting Numbers: [71, 15] Generated Node #0,0,2: 71:[71, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [71, 56] Generated Node #0,0,3: 71:[71, 56] Operation: 60-4=56 Exploring Operation: 71+4=75, Resulting Numbers: [60, 75] Generated Node #0,0,4: 71:[60, 75] Operation: 71+4=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[71, 64], Operations: ['9+51=60', '4+60=64'] Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,71 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[60, 67], Operations: ['9+51=60', '71-4=67'] Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,71 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[71, 56], Operations: ['9+51=60', '60-4=56'] Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,71 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[60, 75], Operations: ['9+51=60', '71+4=75'] Exploring Operation: 60*75=4500, Resulting Numbers: [4500] 4500,71 unequal: No Solution Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[71, 15], Operations: ['9+51=60', '60/4=15'] Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,71 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: 71:[71, 51, 13], Operations: ['9+4=13'] Exploring Operation: 51+13=64, Resulting Numbers: [71, 64] Generated Node #0,2,0: 71:[71, 64] Operation: 51+13=64 Exploring Operation: 71+51=122, Resulting Numbers: [13, 122] Generated Node #0,2,1: 71:[13, 122] Operation: 71+51=122 Exploring Operation: 51-13=38, Resulting Numbers: [71, 38] Generated Node #0,2,2: 71:[71, 38] Operation: 51-13=38 Exploring Operation: 71+13=84, Resulting Numbers: [51, 84] Generated Node #0,2,3: 71:[51, 84] Operation: 71+13=84 Exploring Operation: 71-13=58, Resulting Numbers: [51, 58] Generated Node #0,2,4: 71:[51, 58] Operation: 71-13=58 Moving to Node #0,4 Current State: 71:[71, 51, 5], Operations: ['9-4=5'] Exploring Operation: 71+51=122, Resulting Numbers: [5, 122] Generated Node #0,4,0: 71:[5, 122] Operation: 71+51=122 Exploring Operation: 71-5=66, Resulting Numbers: [51, 66] Generated Node #0,4,1: 71:[51, 66] Operation: 71-5=66 Exploring Operation: 51-5=46, Resulting Numbers: [71, 46] Generated Node #0,4,2: 71:[71, 46] Operation: 51-5=46 Exploring Operation: 51+5=56, Resulting Numbers: [71, 56] Generated Node #0,4,3: 71:[71, 56] Operation: 51+5=56 Exploring Operation: 71+5=76, Resulting Numbers: [51, 76] Generated Node #0,4,4: 71:[51, 76] Operation: 71+5=76 Moving to Node #0,2,0 Current State: 71:[71, 64], Operations: ['9+4=13', '51+13=64'] Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,71 unequal: No Solution Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[71, 56], Operations: ['9-4=5', '51+5=56'] Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,71 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[51, 66], Operations: ['9-4=5', '71-5=66'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,71 unequal: No Solution Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[71, 46], Operations: ['9-4=5', '51-5=46'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,71 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[51, 76], Operations: ['9-4=5', '71+5=76'] Exploring Operation: 51+76=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 51*76=3876, Resulting Numbers: [3876] 3876,71 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[51, 84], Operations: ['9+4=13', '71+13=84'] Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[71, 38], Operations: ['9+4=13', '51-13=38'] Exploring Operation: 71+38=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 71*38=2698, Resulting Numbers: [2698] 2698,71 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[51, 58], Operations: ['9+4=13', '71-13=58'] Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,71 unequal: No Solution Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[13, 122], Operations: ['9+4=13', '71+51=122'] Exploring Operation: 122-13=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 13*122=1586, Resulting Numbers: [1586] 1586,71 unequal: No Solution Exploring Operation: 13+122=135, Resulting Numbers: [135] 135,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[5, 122], Operations: ['9-4=5', '71+51=122'] Exploring Operation: 5+122=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 122-5=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 5*122=610, Resulting Numbers: [610] 610,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 99, 68, 49, 3 ]
14
[ "99/3=33", "68-49=19", "33-19=14" ]
Current State: 14:[99, 68, 49, 3], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [68, 49, 33] Generated Node #2: [68, 49, 33] from Operation: 99/3=33 Current State: 14:[68, 49, 33], Operations: ['99/3=33'] Exploring Operation: 68-49=19, Resulting Numbers: [33, 19] Generated Node #3: [33, 19] from Operation: 68-49=19 Current State: 14:[33, 19], Operations: ['99/3=33', '68-49=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[99, 68, 49, 3], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [68, 3, 50] Generated Node #0,0: 14:[68, 3, 50] Operation: 99-49=50 Exploring Operation: 99-68=31, Resulting Numbers: [49, 3, 31] Generated Node #0,1: 14:[49, 3, 31] Operation: 99-68=31 Moving to Node #0,1 Current State: 14:[49, 3, 31], Operations: ['99-68=31'] Exploring Operation: 49-3=46, Resulting Numbers: [31, 46] Generated Node #0,1,0: 14:[31, 46] Operation: 49-3=46 Exploring Operation: 49-31=18, Resulting Numbers: [3, 18] Generated Node #0,1,1: 14:[3, 18] Operation: 49-31=18 Moving to Node #0,0 Current State: 14:[68, 3, 50], Operations: ['99-49=50'] Exploring Operation: 68-50=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 14:[3, 18] Operation: 68-50=18 Exploring Operation: 68-3=65, Resulting Numbers: [50, 65] Generated Node #0,0,1: 14:[50, 65] Operation: 68-3=65 Moving to Node #0,1,1 Current State: 14:[3, 18], Operations: ['99-68=31', '49-31=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[3, 18], Operations: ['99-49=50', '68-50=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[31, 46], Operations: ['99-68=31', '49-3=46'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[50, 65], Operations: ['99-49=50', '68-3=65'] Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,14 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 84, 3, 45 ]
72
[ "55+45=100", "84/3=28", "100-28=72" ]
Current State: 72:[55, 84, 3, 45], Operations: [] Exploring Operation: 55+45=100, Resulting Numbers: [84, 3, 100] Generated Node #2: [84, 3, 100] from Operation: 55+45=100 Current State: 72:[84, 3, 100], Operations: ['55+45=100'] Exploring Operation: 84/3=28, Resulting Numbers: [100, 28] Generated Node #3: [100, 28] from Operation: 84/3=28 Current State: 72:[100, 28], Operations: ['55+45=100', '84/3=28'] Exploring Operation: 100-28=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[55, 84, 3, 45], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [84, 3, 10] Generated Node #0,0: 72:[84, 3, 10] Operation: 55-45=10 Moving to Node #0,0 Current State: 72:[84, 3, 10], Operations: ['55-45=10'] Exploring Operation: 84-10=74, Resulting Numbers: [3, 74] Generated Node #0,0,0: 72:[3, 74] Operation: 84-10=74 Moving to Node #0,0,0 Current State: 72:[3, 74], Operations: ['55-45=10', '84-10=74'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,72 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 55, 4, 90, 64 ]
54
[ "64-55=9", "4*9=36", "90-36=54" ]
Current State: 54:[55, 4, 90, 64], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [4, 90, 9] Generated Node #2: [4, 90, 9] from Operation: 64-55=9 Current State: 54:[4, 90, 9], Operations: ['64-55=9'] Exploring Operation: 4*9=36, Resulting Numbers: [90, 36] Generated Node #3: [90, 36] from Operation: 4*9=36 Current State: 54:[90, 36], Operations: ['64-55=9', '4*9=36'] Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[55, 4, 90, 64], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [55, 4, 26] Generated Node #0,0: 54:[55, 4, 26] Operation: 90-64=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[55, 4, 26], Operations: ['90-64=26'] Exploring Operation: 55-26=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 54:[4, 29] Operation: 55-26=29 Moving to Node #0,0,0 Current State: 54:[4, 29], Operations: ['90-64=26', '55-26=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,54 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
[ 7, 55, 2, 73 ]
77
[ "73-7=66", "2*66=132", "132-55=77" ]
Current State: 77:[7, 55, 2, 73], Operations: [] Exploring Operation: 73-7=66, Resulting Numbers: [55, 2, 66] Generated Node #2: [55, 2, 66] from Operation: 73-7=66 Current State: 77:[55, 2, 66], Operations: ['73-7=66'] Exploring Operation: 2*66=132, Resulting Numbers: [55, 132] Generated Node #3: [55, 132] from Operation: 2*66=132 Current State: 77:[55, 132], Operations: ['73-7=66', '2*66=132'] Exploring Operation: 132-55=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[7, 55, 2, 73], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [7, 2, 18] Generated Node #0,0: 77:[7, 2, 18] Operation: 73-55=18 Exploring Operation: 7+55=62, Resulting Numbers: [2, 73, 62] Generated Node #0,1: 77:[2, 73, 62] Operation: 7+55=62 Moving to Node #0,0 Current State: 77:[7, 2, 18], Operations: ['73-55=18'] Exploring Operation: 18-7=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 77:[2, 11] Operation: 18-7=11 Exploring Operation: 18/2=9, Resulting Numbers: [7, 9] Generated Node #0,0,1: 77:[7, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[7, 9], Operations: ['73-55=18', '18/2=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,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,0,0 Current State: 77:[2, 11], Operations: ['73-55=18', '18-7=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,77 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: 77:[2, 73, 62], Operations: ['7+55=62'] Exploring Operation: 2+73=75, Resulting Numbers: [62, 75] Generated Node #0,1,0: 77:[62, 75] Operation: 2+73=75 Exploring Operation: 73-62=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 77:[2, 11] Operation: 73-62=11 Moving to Node #0,1,1 Current State: 77:[2, 11], Operations: ['7+55=62', '73-62=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[62, 75], Operations: ['7+55=62', '2+73=75'] Exploring Operation: 75-62=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 62+75=137, Resulting Numbers: [137] 137,77 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 47, 29, 32, 85 ]
44
[ "47+85=132", "32-29=3", "132/3=44" ]
Current State: 44:[47, 29, 32, 85], Operations: [] Exploring Operation: 47+85=132, Resulting Numbers: [29, 32, 132] Generated Node #2: [29, 32, 132] from Operation: 47+85=132 Current State: 44:[29, 32, 132], Operations: ['47+85=132'] Exploring Operation: 32-29=3, Resulting Numbers: [132, 3] Generated Node #3: [132, 3] from Operation: 32-29=3 Current State: 44:[132, 3], Operations: ['47+85=132', '32-29=3'] Exploring Operation: 132/3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[47, 29, 32, 85], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [47, 32, 56] Generated Node #0,0: 44:[47, 32, 56] Operation: 85-29=56 Exploring Operation: 85-47=38, Resulting Numbers: [29, 32, 38] Generated Node #0,1: 44:[29, 32, 38] Operation: 85-47=38 Exploring Operation: 32-29=3, Resulting Numbers: [47, 85, 3] Generated Node #0,2: 44:[47, 85, 3] Operation: 32-29=3 Exploring Operation: 85-32=53, Resulting Numbers: [47, 29, 53] Generated Node #0,3: 44:[47, 29, 53] Operation: 85-32=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[47, 29, 53], Operations: ['85-32=53'] Exploring Operation: 53-47=6, Resulting Numbers: [29, 6] Generated Node #0,3,0: 44:[29, 6] Operation: 53-47=6 Exploring Operation: 47+29=76, Resulting Numbers: [53, 76] Generated Node #0,3,1: 44:[53, 76] Operation: 47+29=76 Exploring Operation: 47-29=18, Resulting Numbers: [53, 18] Generated Node #0,3,2: 44:[53, 18] Operation: 47-29=18 Exploring Operation: 53-29=24, Resulting Numbers: [47, 24] Generated Node #0,3,3: 44:[47, 24] Operation: 53-29=24 Moving to Node #0,3,3 Current State: 44:[47, 24], Operations: ['85-32=53', '53-29=24'] Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,44 unequal: No Solution Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[29, 6], Operations: ['85-32=53', '53-47=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[53, 18], Operations: ['85-32=53', '47-29=18'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[53, 76], Operations: ['85-32=53', '47+29=76'] Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,44 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[29, 32, 38], Operations: ['85-47=38'] Exploring Operation: 29+32=61, Resulting Numbers: [38, 61] Generated Node #0,1,0: 44:[38, 61] Operation: 29+32=61 Exploring Operation: 38-32=6, Resulting Numbers: [29, 6] Generated Node #0,1,1: 44:[29, 6] Operation: 38-32=6 Exploring Operation: 32-29=3, Resulting Numbers: [38, 3] Generated Node #0,1,2: 44:[38, 3] Operation: 32-29=3 Exploring Operation: 38-29=9, Resulting Numbers: [32, 9] Generated Node #0,1,3: 44:[32, 9] Operation: 38-29=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[38, 3], Operations: ['85-47=38', '32-29=3'] Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,44 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[29, 6], Operations: ['85-47=38', '38-32=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[32, 9], Operations: ['85-47=38', '38-29=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,44 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[38, 61], Operations: ['85-47=38', '29+32=61'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,44 unequal: No Solution Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[47, 32, 56], Operations: ['85-29=56'] Exploring Operation: 56-47=9, Resulting Numbers: [32, 9] Generated Node #0,0,0: 44:[32, 9] Operation: 56-47=9 Exploring Operation: 56-32=24, Resulting Numbers: [47, 24] Generated Node #0,0,1: 44:[47, 24] Operation: 56-32=24 Exploring Operation: 47+32=79, Resulting Numbers: [56, 79] Generated Node #0,0,2: 44:[56, 79] Operation: 47+32=79 Exploring Operation: 47-32=15, Resulting Numbers: [56, 15] Generated Node #0,0,3: 44:[56, 15] Operation: 47-32=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[47, 24], Operations: ['85-29=56', '56-32=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,44 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[32, 9], Operations: ['85-29=56', '56-47=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,44 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[56, 15], Operations: ['85-29=56', '47-32=15'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,44 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[56, 79], Operations: ['85-29=56', '47+32=79'] Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,44 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[47, 85, 3], Operations: ['32-29=3'] Exploring Operation: 47+3=50, Resulting Numbers: [85, 50] Generated Node #0,2,0: 44:[85, 50] Operation: 47+3=50 Exploring Operation: 85-3=82, Resulting Numbers: [47, 82] Generated Node #0,2,1: 44:[47, 82] Operation: 85-3=82 Exploring Operation: 85-47=38, Resulting Numbers: [3, 38] Generated Node #0,2,2: 44:[3, 38] Operation: 85-47=38 Exploring Operation: 47-3=44, Resulting Numbers: [85, 44] Generated Node #0,2,3: 44:[85, 44] Operation: 47-3=44 Moving to Node #0,2,2 Current State: 44:[3, 38], Operations: ['32-29=3', '85-47=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[85, 44], Operations: ['32-29=3', '47-3=44'] Exploring Operation: 85*44=3740, Resulting Numbers: [3740] 3740,44 unequal: No Solution Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 85+44=129, Resulting Numbers: [129] 129,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[47, 82], Operations: ['32-29=3', '85-3=82'] Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 47+82=129, Resulting Numbers: [129] 129,44 unequal: No Solution Exploring Operation: 47*82=3854, Resulting Numbers: [3854] 3854,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[85, 50], Operations: ['32-29=3', '47+3=50'] Exploring Operation: 85*50=4250, Resulting Numbers: [4250] 4250,44 unequal: No Solution Exploring Operation: 85+50=135, Resulting Numbers: [135] 135,44 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,44 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
[ 32, 30, 86, 36 ]
100
[ "32-30=2", "86-36=50", "2*50=100" ]
Current State: 100:[32, 30, 86, 36], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [86, 36, 2] Generated Node #2: [86, 36, 2] from Operation: 32-30=2 Current State: 100:[86, 36, 2], Operations: ['32-30=2'] Exploring Operation: 86-36=50, Resulting Numbers: [2, 50] Generated Node #3: [2, 50] from Operation: 86-36=50 Current State: 100:[2, 50], Operations: ['32-30=2', '86-36=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[32, 30, 86, 36], Operations: [] Exploring Operation: 86-36=50, Resulting Numbers: [32, 30, 50] Generated Node #0,0: 100:[32, 30, 50] Operation: 86-36=50 Exploring Operation: 36-32=4, Resulting Numbers: [30, 86, 4] Generated Node #0,1: 100:[30, 86, 4] Operation: 36-32=4 Exploring Operation: 86-32=54, Resulting Numbers: [30, 36, 54] Generated Node #0,2: 100:[30, 36, 54] Operation: 86-32=54 Moving to Node #0,0 Current State: 100:[32, 30, 50], Operations: ['86-36=50'] Exploring Operation: 32-30=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 100:[50, 2] Operation: 32-30=2 Exploring Operation: 50-30=20, Resulting Numbers: [32, 20] Generated Node #0,0,1: 100:[32, 20] Operation: 50-30=20 Exploring Operation: 50-32=18, Resulting Numbers: [30, 18] Generated Node #0,0,2: 100:[30, 18] Operation: 50-32=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[50, 2], Operations: ['86-36=50', '32-30=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[32, 30, 86, 36], Operations: [] Exploring Operation: 86-36=50, Resulting Numbers: [32, 30, 50] Generated Node #0,0: 100:[32, 30, 50] Operation: 86-36=50 Moving to Node #0,0 Current State: 100:[32, 30, 50], Operations: ['86-36=50'] Exploring Operation: 32-30=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 100:[50, 2] Operation: 32-30=2 Moving to Node #0,0,0 Current State: 100:[50, 2], Operations: ['86-36=50', '32-30=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 29, 56, 85, 54 ]
28
[ "85-29=56", "56-54=2", "56/2=28" ]
Current State: 28:[29, 56, 85, 54], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [56, 54, 56] Generated Node #2: [56, 54, 56] from Operation: 85-29=56 Current State: 28:[56, 54, 56], Operations: ['85-29=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,28 equal: Goal Reached Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[29, 56, 85, 54], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [85, 54, 27] Generated Node #0,0: 28:[85, 54, 27] Operation: 56-29=27 Exploring Operation: 85-54=31, Resulting Numbers: [29, 56, 31] Generated Node #0,1: 28:[29, 56, 31] Operation: 85-54=31 Exploring Operation: 85-56=29, Resulting Numbers: [29, 54, 29] Generated Node #0,2: 28:[29, 54, 29] Operation: 85-56=29 Exploring Operation: 85-29=56, Resulting Numbers: [56, 54, 56] Generated Node #0,3: 28:[56, 54, 56] Operation: 85-29=56 Exploring Operation: 56-54=2, Resulting Numbers: [29, 85, 2] Generated Node #0,4: 28:[29, 85, 2] Operation: 56-54=2 Moving to Node #0,2 Current State: 28:[29, 54, 29], Operations: ['85-56=29'] Exploring Operation: 54-29=25, Resulting Numbers: [29, 25] Generated Node #0,2,0: 28:[29, 25] Operation: 54-29=25 Exploring Operation: 29-29=0, Resulting Numbers: [54, 0] Generated Node #0,2,1: 28:[54, 0] Operation: 29-29=0 Exploring Operation: 29/29=1, Resulting Numbers: [54, 1] Generated Node #0,2,2: 28:[54, 1] Operation: 29/29=1 Exploring Operation: 54-29=25, Resulting Numbers: [29, 25] Generated Node #0,2,3: 28:[29, 25] Operation: 54-29=25 Exploring Operation: 29+54=83, Resulting Numbers: [29, 83] Generated Node #0,2,4: 28:[29, 83] Operation: 29+54=83 Moving to Node #0,1 Current State: 28:[29, 56, 31], Operations: ['85-54=31'] Exploring Operation: 56-29=27, Resulting Numbers: [31, 27] Generated Node #0,1,0: 28:[31, 27] Operation: 56-29=27 Exploring Operation: 29+56=85, Resulting Numbers: [31, 85] Generated Node #0,1,1: 28:[31, 85] Operation: 29+56=85 Exploring Operation: 56-31=25, Resulting Numbers: [29, 25] Generated Node #0,1,2: 28:[29, 25] Operation: 56-31=25 Exploring Operation: 29+31=60, Resulting Numbers: [56, 60] Generated Node #0,1,3: 28:[56, 60] Operation: 29+31=60 Exploring Operation: 31-29=2, Resulting Numbers: [56, 2] Generated Node #0,1,4: 28:[56, 2] Operation: 31-29=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[31, 27], Operations: ['85-54=31', '56-29=27'] Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,28 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[29, 25], Operations: ['85-54=31', '56-31=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,28 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 28:[56, 2], Operations: ['85-54=31', '31-29=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[29, 56, 85, 54], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [29, 56, 31] Generated Node #0,1: 28:[29, 56, 31] Operation: 85-54=31 Moving to Node #0,1 Current State: 28:[29, 56, 31], Operations: ['85-54=31'] Exploring Operation: 31-29=2, Resulting Numbers: [56, 2] Generated Node #0,1,4: 28:[56, 2] Operation: 31-29=2 Moving to Node #0,1,4 Current State: 28:[56, 2], Operations: ['85-54=31', '31-29=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 22, 64, 20, 66 ]
68
[ "22-20=2", "66*2=132", "132-64=68" ]
Current State: 68:[22, 64, 20, 66], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [64, 66, 2] Generated Node #2: [64, 66, 2] from Operation: 22-20=2 Current State: 68:[64, 66, 2], Operations: ['22-20=2'] Exploring Operation: 66*2=132, Resulting Numbers: [64, 132] Generated Node #3: [64, 132] from Operation: 66*2=132 Current State: 68:[64, 132], Operations: ['22-20=2', '66*2=132'] Exploring Operation: 132-64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[22, 64, 20, 66], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [64, 66, 2] Generated Node #0,0: 68:[64, 66, 2] Operation: 22-20=2 Exploring Operation: 66/22=3, Resulting Numbers: [64, 20, 3] Generated Node #0,1: 68:[64, 20, 3] Operation: 66/22=3 Exploring Operation: 66-64=2, Resulting Numbers: [22, 20, 2] Generated Node #0,2: 68:[22, 20, 2] Operation: 66-64=2 Moving to Node #0,0 Current State: 68:[64, 66, 2], Operations: ['22-20=2'] Exploring Operation: 66-64=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 68:[2, 2] Operation: 66-64=2 Exploring Operation: 64+2=66, Resulting Numbers: [66, 66] Generated Node #0,0,1: 68:[66, 66] Operation: 64+2=66 Exploring Operation: 64/2=32, Resulting Numbers: [66, 32] Generated Node #0,0,2: 68:[66, 32] Operation: 64/2=32 Moving to Node #0,1 Current State: 68:[64, 20, 3], Operations: ['66/22=3'] Exploring Operation: 64-3=61, Resulting Numbers: [20, 61] Generated Node #0,1,0: 68:[20, 61] Operation: 64-3=61 Exploring Operation: 20-3=17, Resulting Numbers: [64, 17] Generated Node #0,1,1: 68:[64, 17] Operation: 20-3=17 Exploring Operation: 64+3=67, Resulting Numbers: [20, 67] Generated Node #0,1,2: 68:[20, 67] Operation: 64+3=67 Moving to Node #0,2 Current State: 68:[22, 20, 2], Operations: ['66-64=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20, 20] Generated Node #0,2,0: 68:[20, 20] Operation: 22-2=20 Exploring Operation: 22-20=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 68:[2, 2] Operation: 22-20=2 Exploring Operation: 20-2=18, Resulting Numbers: [22, 18] Generated Node #0,2,2: 68:[22, 18] Operation: 20-2=18 Moving to Node #0,0,0 Current State: 68:[2, 2], Operations: ['22-20=2', '66-64=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[2, 2], Operations: ['66-64=2', '22-20=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[66, 32], Operations: ['22-20=2', '64/2=32'] Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,68 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[66, 66], Operations: ['22-20=2', '64+2=66'] Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[20, 67], Operations: ['66/22=3', '64+3=67'] Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,68 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[64, 17], Operations: ['66/22=3', '20-3=17'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[22, 18], Operations: ['66-64=2', '20-2=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,68 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,68 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[20, 20], Operations: ['66-64=2', '22-2=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[20, 61], Operations: ['66/22=3', '64-3=61'] Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,68 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,68 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 59, 62, 5, 70 ]
35
[ "62-59=3", "5-3=2", "70/2=35" ]
Current State: 35:[59, 62, 5, 70], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [5, 70, 3] Generated Node #2: [5, 70, 3] from Operation: 62-59=3 Current State: 35:[5, 70, 3], Operations: ['62-59=3'] Exploring Operation: 5-3=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 5-3=2 Current State: 35:[70, 2], Operations: ['62-59=3', '5-3=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[59, 62, 5, 70], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [59, 62, 14] Generated Node #0,0: 35:[59, 62, 14] Operation: 70/5=14 Exploring Operation: 62-59=3, Resulting Numbers: [5, 70, 3] Generated Node #0,1: 35:[5, 70, 3] Operation: 62-59=3 Exploring Operation: 70-59=11, Resulting Numbers: [62, 5, 11] Generated Node #0,2: 35:[62, 5, 11] Operation: 70-59=11 Exploring Operation: 70-62=8, Resulting Numbers: [59, 5, 8] Generated Node #0,3: 35:[59, 5, 8] Operation: 70-62=8 Moving to Node #0,3 Current State: 35:[59, 5, 8], Operations: ['70-62=8'] Exploring Operation: 59-8=51, Resulting Numbers: [5, 51] Generated Node #0,3,0: 35:[5, 51] Operation: 59-8=51 Exploring Operation: 8-5=3, Resulting Numbers: [59, 3] Generated Node #0,3,1: 35:[59, 3] Operation: 8-5=3 Exploring Operation: 59-5=54, Resulting Numbers: [8, 54] Generated Node #0,3,2: 35:[8, 54] Operation: 59-5=54 Exploring Operation: 5*8=40, Resulting Numbers: [59, 40] Generated Node #0,3,3: 35:[59, 40] Operation: 5*8=40 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[5, 51], Operations: ['70-62=8', '59-8=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,35 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,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,3,2 Current State: 35:[8, 54], Operations: ['70-62=8', '59-5=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,35 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,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,3,1 Current State: 35:[59, 3], Operations: ['70-62=8', '8-5=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,35 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,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,3,3 Current State: 35:[59, 40], Operations: ['70-62=8', '5*8=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,35 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,35 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 35:[62, 5, 11], Operations: ['70-59=11'] Exploring Operation: 62-5=57, Resulting Numbers: [11, 57] Generated Node #0,2,0: 35:[11, 57] Operation: 62-5=57 Exploring Operation: 62+5=67, Resulting Numbers: [11, 67] Generated Node #0,2,1: 35:[11, 67] Operation: 62+5=67 Exploring Operation: 62-11=51, Resulting Numbers: [5, 51] Generated Node #0,2,2: 35:[5, 51] Operation: 62-11=51 Exploring Operation: 11-5=6, Resulting Numbers: [62, 6] Generated Node #0,2,3: 35:[62, 6] Operation: 11-5=6 Moving to Node #0,1 Current State: 35:[5, 70, 3], Operations: ['62-59=3'] Exploring Operation: 70-3=67, Resulting Numbers: [5, 67] Generated Node #0,1,0: 35:[5, 67] Operation: 70-3=67 Exploring Operation: 70-5=65, Resulting Numbers: [3, 65] Generated Node #0,1,1: 35:[3, 65] Operation: 70-5=65 Exploring Operation: 5+3=8, Resulting Numbers: [70, 8] Generated Node #0,1,2: 35:[70, 8] Operation: 5+3=8 Exploring Operation: 70/5=14, Resulting Numbers: [3, 14] Generated Node #0,1,3: 35:[3, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 35:[3, 14], Operations: ['62-59=3', '70/5=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[5, 67], Operations: ['62-59=3', '70-3=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,35 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[3, 65], Operations: ['62-59=3', '70-5=65'] Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,35 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[70, 8], Operations: ['62-59=3', '5+3=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,35 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: 35:[59, 62, 14], Operations: ['70/5=14'] Exploring Operation: 62-14=48, Resulting Numbers: [59, 48] Generated Node #0,0,0: 35:[59, 48] Operation: 62-14=48 Exploring Operation: 62-59=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 35:[14, 3] Operation: 62-59=3 Exploring Operation: 59+14=73, Resulting Numbers: [62, 73] Generated Node #0,0,2: 35:[62, 73] Operation: 59+14=73 Exploring Operation: 59-14=45, Resulting Numbers: [62, 45] Generated Node #0,0,3: 35:[62, 45] Operation: 59-14=45 Moving to Node #0,0,1 Current State: 35:[14, 3], Operations: ['70/5=14', '62-59=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[5, 51], Operations: ['70-59=11', '62-11=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[11, 57], Operations: ['70-59=11', '62-5=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 11*57=627, Resulting Numbers: [627] 627,35 unequal: No Solution Exploring Operation: 11+57=68, Resulting Numbers: [68] 68,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[62, 6], Operations: ['70-59=11', '11-5=6'] Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,35 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[11, 67], Operations: ['70-59=11', '62+5=67'] Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[59, 48], Operations: ['70/5=14', '62-14=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,35 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[62, 45], Operations: ['70/5=14', '59-14=45'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,35 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[62, 73], Operations: ['70/5=14', '59+14=73'] Exploring Operation: 62*73=4526, Resulting Numbers: [4526] 4526,35 unequal: No Solution Exploring Operation: 62+73=135, Resulting Numbers: [135] 135,35 unequal: No Solution Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,35 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 21, 88, 4 ]
77
[ "21-6=15", "88+4=92", "92-15=77" ]
Current State: 77:[6, 21, 88, 4], Operations: [] Exploring Operation: 21-6=15, Resulting Numbers: [88, 4, 15] Generated Node #2: [88, 4, 15] from Operation: 21-6=15 Current State: 77:[88, 4, 15], Operations: ['21-6=15'] Exploring Operation: 88+4=92, Resulting Numbers: [15, 92] Generated Node #3: [15, 92] from Operation: 88+4=92 Current State: 77:[15, 92], Operations: ['21-6=15', '88+4=92'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[6, 21, 88, 4], Operations: [] Exploring Operation: 88-21=67, Resulting Numbers: [6, 4, 67] Generated Node #0,0: 77:[6, 4, 67] Operation: 88-21=67 Exploring Operation: 21-6=15, Resulting Numbers: [88, 4, 15] Generated Node #0,1: 77:[88, 4, 15] Operation: 21-6=15 Moving to Node #0,0 Current State: 77:[6, 4, 67], Operations: ['88-21=67'] Exploring Operation: 4+67=71, Resulting Numbers: [6, 71] Generated Node #0,0,0: 77:[6, 71] Operation: 4+67=71 Exploring Operation: 6+67=73, Resulting Numbers: [4, 73] Generated Node #0,0,1: 77:[4, 73] Operation: 6+67=73 Moving to Node #0,1 Current State: 77:[88, 4, 15], Operations: ['21-6=15'] Exploring Operation: 88-4=84, Resulting Numbers: [15, 84] Generated Node #0,1,0: 77:[15, 84] Operation: 88-4=84 Exploring Operation: 88-15=73, Resulting Numbers: [4, 73] Generated Node #0,1,1: 77:[4, 73] Operation: 88-15=73 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[4, 73], Operations: ['21-6=15', '88-15=73'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[6, 21, 88, 4], Operations: [] Exploring Operation: 21-6=15, Resulting Numbers: [88, 4, 15] Generated Node #0,1: 77:[88, 4, 15] Operation: 21-6=15 Moving to Node #0,1 Current State: 77:[88, 4, 15], Operations: ['21-6=15'] Exploring Operation: 88-15=73, Resulting Numbers: [4, 73] Generated Node #0,1,1: 77:[4, 73] Operation: 88-15=73 Moving to Node #0,1,1 Current State: 77:[4, 73], Operations: ['21-6=15', '88-15=73'] Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 12, 86, 23, 6 ]
91
[ "86-12=74", "23-6=17", "74+17=91" ]
Current State: 91:[12, 86, 23, 6], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [23, 6, 74] Generated Node #2: [23, 6, 74] from Operation: 86-12=74 Current State: 91:[23, 6, 74], Operations: ['86-12=74'] Exploring Operation: 23-6=17, Resulting Numbers: [74, 17] Generated Node #3: [74, 17] from Operation: 23-6=17 Current State: 91:[74, 17], Operations: ['86-12=74', '23-6=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[12, 86, 23, 6], Operations: [] Exploring Operation: 23-6=17, Resulting Numbers: [12, 86, 17] Generated Node #0,0: 91:[12, 86, 17] Operation: 23-6=17 Exploring Operation: 12-6=6, Resulting Numbers: [86, 23, 6] Generated Node #0,1: 91:[86, 23, 6] Operation: 12-6=6 Exploring Operation: 12+86=98, Resulting Numbers: [23, 6, 98] Generated Node #0,2: 91:[23, 6, 98] Operation: 12+86=98 Exploring Operation: 86+6=92, Resulting Numbers: [12, 23, 92] Generated Node #0,3: 91:[12, 23, 92] Operation: 86+6=92 Exploring Operation: 23-12=11, Resulting Numbers: [86, 6, 11] Generated Node #0,4: 91:[86, 6, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[86, 6, 11], Operations: ['23-12=11'] Exploring Operation: 11-6=5, Resulting Numbers: [86, 5] Generated Node #0,4,0: 91:[86, 5] Operation: 11-6=5 Exploring Operation: 86+6=92, Resulting Numbers: [11, 92] Generated Node #0,4,1: 91:[11, 92] Operation: 86+6=92 Exploring Operation: 6+11=17, Resulting Numbers: [86, 17] Generated Node #0,4,2: 91:[86, 17] Operation: 6+11=17 Exploring Operation: 86-6=80, Resulting Numbers: [11, 80] Generated Node #0,4,3: 91:[11, 80] Operation: 86-6=80 Exploring Operation: 86+11=97, Resulting Numbers: [6, 97] Generated Node #0,4,4: 91:[6, 97] Operation: 86+11=97 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 91:[11, 92], Operations: ['23-12=11', '86+6=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,91 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 91:[86, 5], Operations: ['23-12=11', '11-6=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[12, 86, 23, 6], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [86, 6, 11] Generated Node #0,4: 91:[86, 6, 11] Operation: 23-12=11 Moving to Node #0,4 Current State: 91:[86, 6, 11], Operations: ['23-12=11'] Exploring Operation: 11-6=5, Resulting Numbers: [86, 5] Generated Node #0,4,0: 91:[86, 5] Operation: 11-6=5 Moving to Node #0,4,0 Current State: 91:[86, 5], Operations: ['23-12=11', '11-6=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 7, 4, 57, 86 ]
70
[ "7+57=64", "64/4=16", "86-16=70" ]
Current State: 70:[7, 4, 57, 86], Operations: [] Exploring Operation: 7+57=64, Resulting Numbers: [4, 86, 64] Generated Node #2: [4, 86, 64] from Operation: 7+57=64 Current State: 70:[4, 86, 64], Operations: ['7+57=64'] Exploring Operation: 64/4=16, Resulting Numbers: [86, 16] Generated Node #3: [86, 16] from Operation: 64/4=16 Current State: 70:[86, 16], Operations: ['7+57=64', '64/4=16'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[7, 4, 57, 86], Operations: [] Exploring Operation: 86-57=29, Resulting Numbers: [7, 4, 29] Generated Node #0,0: 70:[7, 4, 29] Operation: 86-57=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[7, 4, 29], Operations: ['86-57=29'] Exploring Operation: 7+29=36, Resulting Numbers: [4, 36] Generated Node #0,0,0: 70:[4, 36] Operation: 7+29=36 Moving to Node #0,0,0 Current State: 70:[4, 36], Operations: ['86-57=29', '7+29=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,70 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
[ 96, 6, 7, 48 ]
21
[ "96/6=16", "7*48=336", "336/16=21" ]
Current State: 21:[96, 6, 7, 48], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [7, 48, 16] Generated Node #2: [7, 48, 16] from Operation: 96/6=16 Current State: 21:[7, 48, 16], Operations: ['96/6=16'] Exploring Operation: 7*48=336, Resulting Numbers: [16, 336] Generated Node #3: [16, 336] from Operation: 7*48=336 Current State: 21:[16, 336], Operations: ['96/6=16', '7*48=336'] Exploring Operation: 336/16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[96, 6, 7, 48], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [7, 48, 16] Generated Node #0,0: 21:[7, 48, 16] Operation: 96/6=16 Exploring Operation: 96/48=2, Resulting Numbers: [6, 7, 2] Generated Node #0,1: 21:[6, 7, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [6, 7, 48] Generated Node #0,2: 21:[6, 7, 48] Operation: 96-48=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[6, 7, 2], Operations: ['96/48=2'] Exploring Operation: 6/2=3, Resulting Numbers: [7, 3] Generated Node #0,1,0: 21:[7, 3] Operation: 6/2=3 Exploring Operation: 6+2=8, Resulting Numbers: [7, 8] Generated Node #0,1,1: 21:[7, 8] Operation: 6+2=8 Exploring Operation: 6-2=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 21:[7, 4] Operation: 6-2=4 Moving to Node #0,1,0 Current State: 21:[7, 3], Operations: ['96/48=2', '6/2=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[96, 6, 7, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [6, 7, 2] Generated Node #0,1: 21:[6, 7, 2] Operation: 96/48=2 Moving to Node #0,1 Current State: 21:[6, 7, 2], Operations: ['96/48=2'] Exploring Operation: 6/2=3, Resulting Numbers: [7, 3] Generated Node #0,1,0: 21:[7, 3] Operation: 6/2=3 Moving to Node #0,1,0 Current State: 21:[7, 3], Operations: ['96/48=2', '6/2=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 91, 22, 93, 21 ]
86
[ "93-91=2", "22+21=43", "2*43=86" ]
Current State: 86:[91, 22, 93, 21], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [22, 21, 2] Generated Node #2: [22, 21, 2] from Operation: 93-91=2 Current State: 86:[22, 21, 2], Operations: ['93-91=2'] Exploring Operation: 22+21=43, Resulting Numbers: [2, 43] Generated Node #3: [2, 43] from Operation: 22+21=43 Current State: 86:[2, 43], Operations: ['93-91=2', '22+21=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[91, 22, 93, 21], Operations: [] Exploring Operation: 22+21=43, Resulting Numbers: [91, 93, 43] Generated Node #0,0: 86:[91, 93, 43] Operation: 22+21=43 Exploring Operation: 93-91=2, Resulting Numbers: [22, 21, 2] Generated Node #0,1: 86:[22, 21, 2] Operation: 93-91=2 Exploring Operation: 93-22=71, Resulting Numbers: [91, 21, 71] Generated Node #0,2: 86:[91, 21, 71] Operation: 93-22=71 Exploring Operation: 22-21=1, Resulting Numbers: [91, 93, 1] Generated Node #0,3: 86:[91, 93, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[91, 93, 43], Operations: ['22+21=43'] Exploring Operation: 93-91=2, Resulting Numbers: [43, 2] Generated Node #0,0,0: 86:[43, 2] Operation: 93-91=2 Exploring Operation: 93-43=50, Resulting Numbers: [91, 50] Generated Node #0,0,1: 86:[91, 50] Operation: 93-43=50 Exploring Operation: 91+43=134, Resulting Numbers: [93, 134] Generated Node #0,0,2: 86:[93, 134] Operation: 91+43=134 Exploring Operation: 91-43=48, Resulting Numbers: [93, 48] Generated Node #0,0,3: 86:[93, 48] Operation: 91-43=48 Moving to Node #0,0,0 Current State: 86:[43, 2], Operations: ['22+21=43', '93-91=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[91, 22, 93, 21], Operations: [] Exploring Operation: 22+21=43, Resulting Numbers: [91, 93, 43] Generated Node #0,0: 86:[91, 93, 43] Operation: 22+21=43 Moving to Node #0,0 Current State: 86:[91, 93, 43], Operations: ['22+21=43'] Exploring Operation: 93-91=2, Resulting Numbers: [43, 2] Generated Node #0,0,0: 86:[43, 2] Operation: 93-91=2 Moving to Node #0,0,0 Current State: 86:[43, 2], Operations: ['22+21=43', '93-91=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 34, 29, 15, 32 ]
57
[ "34-15=19", "32-29=3", "19*3=57" ]
Current State: 57:[34, 29, 15, 32], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [29, 32, 19] Generated Node #2: [29, 32, 19] from Operation: 34-15=19 Current State: 57:[29, 32, 19], Operations: ['34-15=19'] Exploring Operation: 32-29=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 32-29=3 Current State: 57:[19, 3], Operations: ['34-15=19', '32-29=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[34, 29, 15, 32], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [34, 15, 3] Generated Node #0,0: 57:[34, 15, 3] Operation: 32-29=3 Exploring Operation: 34-15=19, Resulting Numbers: [29, 32, 19] Generated Node #0,1: 57:[29, 32, 19] Operation: 34-15=19 Exploring Operation: 34-29=5, Resulting Numbers: [15, 32, 5] Generated Node #0,2: 57:[15, 32, 5] Operation: 34-29=5 Exploring Operation: 34+29=63, Resulting Numbers: [15, 32, 63] Generated Node #0,3: 57:[15, 32, 63] Operation: 34+29=63 Exploring Operation: 34-32=2, Resulting Numbers: [29, 15, 2] Generated Node #0,4: 57:[29, 15, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 57:[29, 15, 2], Operations: ['34-32=2'] Exploring Operation: 15+2=17, Resulting Numbers: [29, 17] Generated Node #0,4,0: 57:[29, 17] Operation: 15+2=17 Exploring Operation: 29-2=27, Resulting Numbers: [15, 27] Generated Node #0,4,1: 57:[15, 27] Operation: 29-2=27 Exploring Operation: 29*2=58, Resulting Numbers: [15, 58] Generated Node #0,4,2: 57:[15, 58] Operation: 29*2=58 Exploring Operation: 29-15=14, Resulting Numbers: [2, 14] Generated Node #0,4,3: 57:[2, 14] Operation: 29-15=14 Exploring Operation: 29+15=44, Resulting Numbers: [2, 44] Generated Node #0,4,4: 57:[2, 44] Operation: 29+15=44 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 57:[15, 58], Operations: ['34-32=2', '29*2=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,57 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 57:[2, 14], Operations: ['34-32=2', '29-15=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 57:[29, 17], Operations: ['34-32=2', '15+2=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,57 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 57:[15, 27], Operations: ['34-32=2', '29-2=27'] Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,57 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 57:[2, 44], Operations: ['34-32=2', '29+15=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,57 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[34, 15, 3], Operations: ['32-29=3'] Exploring Operation: 34+15=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 57:[3, 49] Operation: 34+15=49 Exploring Operation: 15+3=18, Resulting Numbers: [34, 18] Generated Node #0,0,1: 57:[34, 18] Operation: 15+3=18 Exploring Operation: 15/3=5, Resulting Numbers: [34, 5] Generated Node #0,0,2: 57:[34, 5] Operation: 15/3=5 Exploring Operation: 34-3=31, Resulting Numbers: [15, 31] Generated Node #0,0,3: 57:[15, 31] Operation: 34-3=31 Exploring Operation: 34-15=19, Resulting Numbers: [3, 19] Generated Node #0,0,4: 57:[3, 19] Operation: 34-15=19 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 57:[3, 19], Operations: ['32-29=3', '34-15=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[34, 29, 15, 32], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [34, 15, 3] Generated Node #0,0: 57:[34, 15, 3] Operation: 32-29=3 Moving to Node #0,0 Current State: 57:[34, 15, 3], Operations: ['32-29=3'] Exploring Operation: 34-15=19, Resulting Numbers: [3, 19] Generated Node #0,0,4: 57:[3, 19] Operation: 34-15=19 Moving to Node #0,0,4 Current State: 57:[3, 19], Operations: ['32-29=3', '34-15=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 83, 1, 27, 28 ]
28
[ "83*1=83", "27+28=55", "83-55=28" ]
Current State: 28:[83, 1, 27, 28], Operations: [] Exploring Operation: 83*1=83, Resulting Numbers: [27, 28, 83] Generated Node #2: [27, 28, 83] from Operation: 83*1=83 Current State: 28:[27, 28, 83], Operations: ['83*1=83'] Exploring Operation: 27+28=55, Resulting Numbers: [83, 55] Generated Node #3: [83, 55] from Operation: 27+28=55 Current State: 28:[83, 55], Operations: ['83*1=83', '27+28=55'] Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[83, 1, 27, 28], Operations: [] Exploring Operation: 83-28=55, Resulting Numbers: [1, 27, 55] Generated Node #0,0: 28:[1, 27, 55] Operation: 83-28=55 Exploring Operation: 83-1=82, Resulting Numbers: [27, 28, 82] Generated Node #0,1: 28:[27, 28, 82] Operation: 83-1=82 Exploring Operation: 83-27=56, Resulting Numbers: [1, 28, 56] Generated Node #0,2: 28:[1, 28, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[1, 27, 55], Operations: ['83-28=55'] Exploring Operation: 55-27=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 28:[1, 28] Operation: 55-27=28 Exploring Operation: 55-1=54, Resulting Numbers: [27, 54] Generated Node #0,0,1: 28:[27, 54] Operation: 55-1=54 Exploring Operation: 1+27=28, Resulting Numbers: [55, 28] Generated Node #0,0,2: 28:[55, 28] Operation: 1+27=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[1, 28], Operations: ['83-28=55', '55-27=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[83, 1, 27, 28], Operations: [] Exploring Operation: 83-28=55, Resulting Numbers: [1, 27, 55] Generated Node #0,0: 28:[1, 27, 55] Operation: 83-28=55 Moving to Node #0,0 Current State: 28:[1, 27, 55], Operations: ['83-28=55'] Exploring Operation: 55-27=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 28:[1, 28] Operation: 55-27=28 Moving to Node #0,0,0 Current State: 28:[1, 28], Operations: ['83-28=55', '55-27=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 57, 25, 59, 15 ]
80
[ "59-57=2", "25+15=40", "2*40=80" ]
Current State: 80:[57, 25, 59, 15], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [25, 15, 2] Generated Node #2: [25, 15, 2] from Operation: 59-57=2 Current State: 80:[25, 15, 2], Operations: ['59-57=2'] Exploring Operation: 25+15=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 25+15=40 Current State: 80:[2, 40], Operations: ['59-57=2', '25+15=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[57, 25, 59, 15], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [25, 15, 2] Generated Node #0,0: 80:[25, 15, 2] Operation: 59-57=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[25, 15, 2], Operations: ['59-57=2'] Exploring Operation: 25+15=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 80:[2, 40] Operation: 25+15=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[2, 40], Operations: ['59-57=2', '25+15=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[57, 25, 59, 15], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [25, 15, 2] Generated Node #0,0: 80:[25, 15, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 80:[25, 15, 2], Operations: ['59-57=2'] Exploring Operation: 25+15=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 80:[2, 40] Operation: 25+15=40 Moving to Node #0,0,0 Current State: 80:[2, 40], Operations: ['59-57=2', '25+15=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 85, 47, 37, 69 ]
68
[ "85-47=38", "37+69=106", "106-38=68" ]
Current State: 68:[85, 47, 37, 69], Operations: [] Exploring Operation: 85-47=38, Resulting Numbers: [37, 69, 38] Generated Node #2: [37, 69, 38] from Operation: 85-47=38 Current State: 68:[37, 69, 38], Operations: ['85-47=38'] Exploring Operation: 37+69=106, Resulting Numbers: [38, 106] Generated Node #3: [38, 106] from Operation: 37+69=106 Current State: 68:[38, 106], Operations: ['85-47=38', '37+69=106'] Exploring Operation: 106-38=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[85, 47, 37, 69], Operations: [] Exploring Operation: 85-47=38, Resulting Numbers: [37, 69, 38] Generated Node #0,0: 68:[37, 69, 38] Operation: 85-47=38 Exploring Operation: 85-69=16, Resulting Numbers: [47, 37, 16] Generated Node #0,1: 68:[47, 37, 16] Operation: 85-69=16 Exploring Operation: 47-37=10, Resulting Numbers: [85, 69, 10] Generated Node #0,2: 68:[85, 69, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[37, 69, 38], Operations: ['85-47=38'] Exploring Operation: 69-38=31, Resulting Numbers: [37, 31] Generated Node #0,0,0: 68:[37, 31] Operation: 69-38=31 Exploring Operation: 38-37=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 68:[69, 1] Operation: 38-37=1 Exploring Operation: 69-37=32, Resulting Numbers: [38, 32] Generated Node #0,0,2: 68:[38, 32] Operation: 69-37=32 Moving to Node #0,0,1 Current State: 68:[69, 1], Operations: ['85-47=38', '38-37=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[85, 47, 37, 69], Operations: [] Exploring Operation: 85-47=38, Resulting Numbers: [37, 69, 38] Generated Node #0,0: 68:[37, 69, 38] Operation: 85-47=38 Moving to Node #0,0 Current State: 68:[37, 69, 38], Operations: ['85-47=38'] Exploring Operation: 38-37=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 68:[69, 1] Operation: 38-37=1 Moving to Node #0,0,1 Current State: 68:[69, 1], Operations: ['85-47=38', '38-37=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 82, 87, 1, 59 ]
64
[ "87-82=5", "1*59=59", "5+59=64" ]
Current State: 64:[82, 87, 1, 59], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [1, 59, 5] Generated Node #2: [1, 59, 5] from Operation: 87-82=5 Current State: 64:[1, 59, 5], Operations: ['87-82=5'] Exploring Operation: 1*59=59, Resulting Numbers: [5, 59] Generated Node #3: [5, 59] from Operation: 1*59=59 Current State: 64:[5, 59], Operations: ['87-82=5', '1*59=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[82, 87, 1, 59], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [82, 1, 28] Generated Node #0,0: 64:[82, 1, 28] Operation: 87-59=28 Exploring Operation: 87-82=5, Resulting Numbers: [1, 59, 5] Generated Node #0,1: 64:[1, 59, 5] Operation: 87-82=5 Moving to Node #0,1 Current State: 64:[1, 59, 5], Operations: ['87-82=5'] Exploring Operation: 59+5=64, Resulting Numbers: [1, 64] Generated Node #0,1,0: 64:[1, 64] Operation: 59+5=64 Exploring Operation: 1+59=60, Resulting Numbers: [5, 60] Generated Node #0,1,1: 64:[5, 60] Operation: 1+59=60 Moving to Node #0,0 Current State: 64:[82, 1, 28], Operations: ['87-59=28'] Exploring Operation: 82-28=54, Resulting Numbers: [1, 54] Generated Node #0,0,0: 64:[1, 54] Operation: 82-28=54 Exploring Operation: 82-1=81, Resulting Numbers: [28, 81] Generated Node #0,0,1: 64:[28, 81] Operation: 82-1=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[1, 54], Operations: ['87-59=28', '82-28=54'] Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[28, 81], Operations: ['87-59=28', '82-1=81'] Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,64 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: 64:[1, 64], Operations: ['87-82=5', '59+5=64'] Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[82, 87, 1, 59], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [1, 59, 5] Generated Node #0,1: 64:[1, 59, 5] Operation: 87-82=5 Moving to Node #0,1 Current State: 64:[1, 59, 5], Operations: ['87-82=5'] Exploring Operation: 59+5=64, Resulting Numbers: [1, 64] Generated Node #0,1,0: 64:[1, 64] Operation: 59+5=64 Moving to Node #0,1,0 Current State: 64:[1, 64], Operations: ['87-82=5', '59+5=64'] Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 78, 6, 85, 50 ]
63
[ "78-6=72", "85+50=135", "135-72=63" ]
Current State: 63:[78, 6, 85, 50], Operations: [] Exploring Operation: 78-6=72, Resulting Numbers: [85, 50, 72] Generated Node #2: [85, 50, 72] from Operation: 78-6=72 Current State: 63:[85, 50, 72], Operations: ['78-6=72'] Exploring Operation: 85+50=135, Resulting Numbers: [72, 135] Generated Node #3: [72, 135] from Operation: 85+50=135 Current State: 63:[72, 135], Operations: ['78-6=72', '85+50=135'] Exploring Operation: 135-72=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[78, 6, 85, 50], Operations: [] Exploring Operation: 85-50=35, Resulting Numbers: [78, 6, 35] Generated Node #0,0: 63:[78, 6, 35] Operation: 85-50=35 Exploring Operation: 78-50=28, Resulting Numbers: [6, 85, 28] Generated Node #0,1: 63:[6, 85, 28] Operation: 78-50=28 Exploring Operation: 85-78=7, Resulting Numbers: [6, 50, 7] Generated Node #0,2: 63:[6, 50, 7] Operation: 85-78=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[6, 50, 7], Operations: ['85-78=7'] Exploring Operation: 6+50=56, Resulting Numbers: [7, 56] Generated Node #0,2,0: 63:[7, 56] Operation: 6+50=56 Exploring Operation: 7-6=1, Resulting Numbers: [50, 1] Generated Node #0,2,1: 63:[50, 1] Operation: 7-6=1 Exploring Operation: 50+7=57, Resulting Numbers: [6, 57] Generated Node #0,2,2: 63:[6, 57] Operation: 50+7=57 Moving to Node #0,2,0 Current State: 63:[7, 56], Operations: ['85-78=7', '6+50=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[78, 6, 85, 50], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [6, 50, 7] Generated Node #0,2: 63:[6, 50, 7] Operation: 85-78=7 Moving to Node #0,2 Current State: 63:[6, 50, 7], Operations: ['85-78=7'] Exploring Operation: 6+50=56, Resulting Numbers: [7, 56] Generated Node #0,2,0: 63:[7, 56] Operation: 6+50=56 Moving to Node #0,2,0 Current State: 63:[7, 56], Operations: ['85-78=7', '6+50=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 57, 45, 27, 6 ]
51
[ "45-27=18", "6*18=108", "108-57=51" ]
Current State: 51:[57, 45, 27, 6], Operations: [] Exploring Operation: 45-27=18, Resulting Numbers: [57, 6, 18] Generated Node #2: [57, 6, 18] from Operation: 45-27=18 Current State: 51:[57, 6, 18], Operations: ['45-27=18'] Exploring Operation: 6*18=108, Resulting Numbers: [57, 108] Generated Node #3: [57, 108] from Operation: 6*18=108 Current State: 51:[57, 108], Operations: ['45-27=18', '6*18=108'] Exploring Operation: 108-57=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[57, 45, 27, 6], Operations: [] Exploring Operation: 57-6=51, Resulting Numbers: [45, 27, 51] Generated Node #0,0: 51:[45, 27, 51] Operation: 57-6=51 Exploring Operation: 27-6=21, Resulting Numbers: [57, 45, 21] Generated Node #0,1: 51:[57, 45, 21] Operation: 27-6=21 Exploring Operation: 57-45=12, Resulting Numbers: [27, 6, 12] Generated Node #0,2: 51:[27, 6, 12] Operation: 57-45=12 Exploring Operation: 45+6=51, Resulting Numbers: [57, 27, 51] Generated Node #0,3: 51:[57, 27, 51] Operation: 45+6=51 Exploring Operation: 45-27=18, Resulting Numbers: [57, 6, 18] Generated Node #0,4: 51:[57, 6, 18] Operation: 45-27=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[57, 6, 18], Operations: ['45-27=18'] Exploring Operation: 6+18=24, Resulting Numbers: [57, 24] Generated Node #0,4,0: 51:[57, 24] Operation: 6+18=24 Exploring Operation: 57-6=51, Resulting Numbers: [18, 51] Generated Node #0,4,1: 51:[18, 51] Operation: 57-6=51 Exploring Operation: 57+6=63, Resulting Numbers: [18, 63] Generated Node #0,4,2: 51:[18, 63] Operation: 57+6=63 Exploring Operation: 18/6=3, Resulting Numbers: [57, 3] Generated Node #0,4,3: 51:[57, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [57, 12] Generated Node #0,4,4: 51:[57, 12] Operation: 18-6=12 Moving to Node #0,4,1 Current State: 51:[18, 51], Operations: ['45-27=18', '57-6=51'] Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[57, 3], Operations: ['45-27=18', '18/6=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,51 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[57, 12], Operations: ['45-27=18', '18-6=12'] Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[57, 24], Operations: ['45-27=18', '6+18=24'] Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,51 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[18, 63], Operations: ['45-27=18', '57+6=63'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,51 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,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 Current State: 51:[45, 27, 51], Operations: ['57-6=51'] Exploring Operation: 51-45=6, Resulting Numbers: [27, 6] Generated Node #0,0,0: 51:[27, 6] Operation: 51-45=6 Exploring Operation: 45-27=18, Resulting Numbers: [51, 18] Generated Node #0,0,1: 51:[51, 18] Operation: 45-27=18 Exploring Operation: 27+51=78, Resulting Numbers: [45, 78] Generated Node #0,0,2: 51:[45, 78] Operation: 27+51=78 Exploring Operation: 51-27=24, Resulting Numbers: [45, 24] Generated Node #0,0,3: 51:[45, 24] Operation: 51-27=24 Exploring Operation: 45+27=72, Resulting Numbers: [51, 72] Generated Node #0,0,4: 51:[51, 72] Operation: 45+27=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[51, 18], Operations: ['57-6=51', '45-27=18'] Exploring Operation: 51*18=918, Resulting Numbers: [918] 918,51 unequal: No Solution Exploring Operation: 51+18=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,51 unequal: No Solution No 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: 51:[27, 6], Operations: ['57-6=51', '51-45=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,51 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,51 unequal: No Solution No 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: 51:[45, 24], Operations: ['57-6=51', '51-27=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,51 unequal: No Solution No 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: 51:[51, 72], Operations: ['57-6=51', '45+27=72'] Exploring Operation: 51*72=3672, Resulting Numbers: [3672] 3672,51 unequal: No Solution Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,51 unequal: No Solution No 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: 51:[45, 78], Operations: ['57-6=51', '27+51=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,51 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: 51:[57, 45, 21], Operations: ['27-6=21'] Exploring Operation: 57+21=78, Resulting Numbers: [45, 78] Generated Node #0,1,0: 51:[45, 78] Operation: 57+21=78 Exploring Operation: 45+21=66, Resulting Numbers: [57, 66] Generated Node #0,1,1: 51:[57, 66] Operation: 45+21=66 Exploring Operation: 57-45=12, Resulting Numbers: [21, 12] Generated Node #0,1,2: 51:[21, 12] Operation: 57-45=12 Exploring Operation: 45-21=24, Resulting Numbers: [57, 24] Generated Node #0,1,3: 51:[57, 24] Operation: 45-21=24 Exploring Operation: 57-21=36, Resulting Numbers: [45, 36] Generated Node #0,1,4: 51:[45, 36] Operation: 57-21=36 Moving to Node #0,1,2 Current State: 51:[21, 12], Operations: ['27-6=21', '57-45=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[57, 24], Operations: ['27-6=21', '45-21=24'] Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,51 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[57, 66], Operations: ['27-6=21', '45+21=66'] Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,51 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[45, 36], Operations: ['27-6=21', '57-21=36'] Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,51 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[45, 78], Operations: ['27-6=21', '57+21=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,51 unequal: No Solution Exploring Operation: 78-45=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,3 Current State: 51:[57, 27, 51], Operations: ['45+6=51'] Exploring Operation: 51-27=24, Resulting Numbers: [57, 24] Generated Node #0,3,0: 51:[57, 24] Operation: 51-27=24 Exploring Operation: 57-51=6, Resulting Numbers: [27, 6] Generated Node #0,3,1: 51:[27, 6] Operation: 57-51=6 Exploring Operation: 27+51=78, Resulting Numbers: [57, 78] Generated Node #0,3,2: 51:[57, 78] Operation: 27+51=78 Exploring Operation: 57+27=84, Resulting Numbers: [51, 84] Generated Node #0,3,3: 51:[51, 84] Operation: 57+27=84 Exploring Operation: 57-27=30, Resulting Numbers: [51, 30] Generated Node #0,3,4: 51:[51, 30] Operation: 57-27=30 Moving to Node #0,3,0 Current State: 51:[57, 24], Operations: ['45+6=51', '51-27=24'] Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,51 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[51, 30], Operations: ['45+6=51', '57-27=30'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,51 unequal: No Solution Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[27, 6], Operations: ['45+6=51', '57-51=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[57, 78], Operations: ['45+6=51', '27+51=78'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 57+78=135, Resulting Numbers: [135] 135,51 unequal: No Solution Exploring Operation: 57*78=4446, Resulting Numbers: [4446] 4446,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[51, 84], Operations: ['45+6=51', '57+27=84'] Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,51 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,51 unequal: No Solution Exploring Operation: 84-51=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,2 Current State: 51:[27, 6, 12], Operations: ['57-45=12'] Exploring Operation: 12-6=6, Resulting Numbers: [27, 6] Generated Node #0,2,0: 51:[27, 6] Operation: 12-6=6 Exploring Operation: 6+12=18, Resulting Numbers: [27, 18] Generated Node #0,2,1: 51:[27, 18] Operation: 6+12=18 Exploring Operation: 12/6=2, Resulting Numbers: [27, 2] Generated Node #0,2,2: 51:[27, 2] Operation: 12/6=2 Exploring Operation: 27-6=21, Resulting Numbers: [12, 21] Generated Node #0,2,3: 51:[12, 21] Operation: 27-6=21 Exploring Operation: 27-12=15, Resulting Numbers: [6, 15] Generated Node #0,2,4: 51:[6, 15] Operation: 27-12=15 Moving to Node #0,2,4 Current State: 51:[6, 15], Operations: ['57-45=12', '27-12=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[12, 21], Operations: ['57-45=12', '27-6=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,51 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[27, 18], Operations: ['57-45=12', '6+12=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[27, 2], Operations: ['57-45=12', '12/6=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[27, 6], Operations: ['57-45=12', '12-6=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 50, 13, 79, 57 ]
12
[ "57-50=7", "13*7=91", "91-79=12" ]
Current State: 12:[50, 13, 79, 57], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [13, 79, 7] Generated Node #2: [13, 79, 7] from Operation: 57-50=7 Current State: 12:[13, 79, 7], Operations: ['57-50=7'] Exploring Operation: 13*7=91, Resulting Numbers: [79, 91] Generated Node #3: [79, 91] from Operation: 13*7=91 Current State: 12:[79, 91], Operations: ['57-50=7', '13*7=91'] Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[50, 13, 79, 57], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [13, 57, 29] Generated Node #0,0: 12:[13, 57, 29] Operation: 79-50=29 Exploring Operation: 57-50=7, Resulting Numbers: [13, 79, 7] Generated Node #0,1: 12:[13, 79, 7] Operation: 57-50=7 Exploring Operation: 79-57=22, Resulting Numbers: [50, 13, 22] Generated Node #0,2: 12:[50, 13, 22] Operation: 79-57=22 Moving to Node #0,2 Current State: 12:[50, 13, 22], Operations: ['79-57=22'] Exploring Operation: 50-13=37, Resulting Numbers: [22, 37] Generated Node #0,2,0: 12:[22, 37] Operation: 50-13=37 Exploring Operation: 22-13=9, Resulting Numbers: [50, 9] Generated Node #0,2,1: 12:[50, 9] Operation: 22-13=9 Exploring Operation: 50-22=28, Resulting Numbers: [13, 28] Generated Node #0,2,2: 12:[13, 28] Operation: 50-22=28 Moving to Node #0,0 Current State: 12:[13, 57, 29], Operations: ['79-50=29'] Exploring Operation: 57-13=44, Resulting Numbers: [29, 44] Generated Node #0,0,0: 12:[29, 44] Operation: 57-13=44 Exploring Operation: 29-13=16, Resulting Numbers: [57, 16] Generated Node #0,0,1: 12:[57, 16] Operation: 29-13=16 Exploring Operation: 57-29=28, Resulting Numbers: [13, 28] Generated Node #0,0,2: 12:[13, 28] Operation: 57-29=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[13, 28], Operations: ['79-50=29', '57-29=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,12 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[29, 44], Operations: ['79-50=29', '57-13=44'] Exploring Operation: 29*44=1276, Resulting Numbers: [1276] 1276,12 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 29+44=73, Resulting Numbers: [73] 73,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[57, 16], Operations: ['79-50=29', '29-13=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,12 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 12:[13, 79, 7], Operations: ['57-50=7'] Exploring Operation: 13-7=6, Resulting Numbers: [79, 6] Generated Node #0,1,0: 12:[79, 6] Operation: 13-7=6 Exploring Operation: 79-7=72, Resulting Numbers: [13, 72] Generated Node #0,1,1: 12:[13, 72] Operation: 79-7=72 Exploring Operation: 79-13=66, Resulting Numbers: [7, 66] Generated Node #0,1,2: 12:[7, 66] Operation: 79-13=66 Moving to Node #0,2,2 Current State: 12:[13, 28], Operations: ['79-57=22', '50-22=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[22, 37], Operations: ['79-57=22', '50-13=37'] Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 22*37=814, Resulting Numbers: [814] 814,12 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[50, 9], Operations: ['79-57=22', '22-13=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[7, 66], Operations: ['57-50=7', '79-13=66'] Exploring Operation: 7*66=462, Resulting Numbers: [462] 462,12 unequal: No Solution Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[13, 72], Operations: ['57-50=7', '79-7=72'] Exploring Operation: 13*72=936, Resulting Numbers: [936] 936,12 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[79, 6], Operations: ['57-50=7', '13-7=6'] Exploring Operation: 79*6=474, Resulting Numbers: [474] 474,12 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,12 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 28, 24, 32, 80 ]
38
[ "32-24=8", "80/8=10", "28+10=38" ]
Current State: 38:[28, 24, 32, 80], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [28, 80, 8] Generated Node #2: [28, 80, 8] from Operation: 32-24=8 Current State: 38:[28, 80, 8], Operations: ['32-24=8'] Exploring Operation: 80/8=10, Resulting Numbers: [28, 10] Generated Node #3: [28, 10] from Operation: 80/8=10 Current State: 38:[28, 10], Operations: ['32-24=8', '80/8=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[28, 24, 32, 80], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [24, 32, 52] Generated Node #0,0: 38:[24, 32, 52] Operation: 80-28=52 Exploring Operation: 80-32=48, Resulting Numbers: [28, 24, 48] Generated Node #0,1: 38:[28, 24, 48] Operation: 80-32=48 Exploring Operation: 80-24=56, Resulting Numbers: [28, 32, 56] Generated Node #0,2: 38:[28, 32, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[28, 24, 48], Operations: ['80-32=48'] Exploring Operation: 48/24=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 38:[28, 2] Operation: 48/24=2 Exploring Operation: 28-24=4, Resulting Numbers: [48, 4] Generated Node #0,1,1: 38:[48, 4] Operation: 28-24=4 Exploring Operation: 48-28=20, Resulting Numbers: [24, 20] Generated Node #0,1,2: 38:[24, 20] Operation: 48-28=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[24, 20], Operations: ['80-32=48', '48-28=20'] Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,38 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[28, 2], Operations: ['80-32=48', '48/24=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[48, 4], Operations: ['80-32=48', '28-24=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[24, 32, 52], Operations: ['80-28=52'] Exploring Operation: 52-32=20, Resulting Numbers: [24, 20] Generated Node #0,0,0: 38:[24, 20] Operation: 52-32=20 Exploring Operation: 52-24=28, Resulting Numbers: [32, 28] Generated Node #0,0,1: 38:[32, 28] Operation: 52-24=28 Exploring Operation: 32-24=8, Resulting Numbers: [52, 8] Generated Node #0,0,2: 38:[52, 8] Operation: 32-24=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[24, 20], Operations: ['80-28=52', '52-32=20'] Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,38 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[32, 28], Operations: ['80-28=52', '52-24=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[52, 8], Operations: ['80-28=52', '32-24=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,38 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[28, 32, 56], Operations: ['80-24=56'] Exploring Operation: 56-28=28, Resulting Numbers: [32, 28] Generated Node #0,2,0: 38:[32, 28] Operation: 56-28=28 Exploring Operation: 56-32=24, Resulting Numbers: [28, 24] Generated Node #0,2,1: 38:[28, 24] Operation: 56-32=24 Exploring Operation: 56/28=2, Resulting Numbers: [32, 2] Generated Node #0,2,2: 38:[32, 2] Operation: 56/28=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[32, 2], Operations: ['80-24=56', '56/28=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[28, 24], Operations: ['80-24=56', '56-32=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,38 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[32, 28], Operations: ['80-24=56', '56-28=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 54, 23, 60 ]
69
[ "3+54=57", "60-57=3", "23*3=69" ]
Current State: 69:[3, 54, 23, 60], Operations: [] Exploring Operation: 3+54=57, Resulting Numbers: [23, 60, 57] Generated Node #2: [23, 60, 57] from Operation: 3+54=57 Current State: 69:[23, 60, 57], Operations: ['3+54=57'] Exploring Operation: 60-57=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 60-57=3 Current State: 69:[23, 3], Operations: ['3+54=57', '60-57=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[3, 54, 23, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [3, 23, 6] Generated Node #0,0: 69:[3, 23, 6] Operation: 60-54=6 Exploring Operation: 54/3=18, Resulting Numbers: [23, 60, 18] Generated Node #0,1: 69:[23, 60, 18] Operation: 54/3=18 Exploring Operation: 54+23=77, Resulting Numbers: [3, 60, 77] Generated Node #0,2: 69:[3, 60, 77] Operation: 54+23=77 Moving to Node #0,0 Current State: 69:[3, 23, 6], Operations: ['60-54=6'] Exploring Operation: 6-3=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [23, 2] Generated Node #0,0,1: 69:[23, 2] Operation: 6/3=2 Exploring Operation: 3*23=69, Resulting Numbers: [6, 69] Generated Node #0,0,2: 69:[6, 69] Operation: 3*23=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['60-54=6', '6-3=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[3, 54, 23, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [3, 23, 6] Generated Node #0,0: 69:[3, 23, 6] Operation: 60-54=6 Moving to Node #0,0 Current State: 69:[3, 23, 6], Operations: ['60-54=6'] Exploring Operation: 6-3=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 6-3=3 Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['60-54=6', '6-3=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 49, 52, 4, 16 ]
76
[ "52-49=3", "16+3=19", "4*19=76" ]
Current State: 76:[49, 52, 4, 16], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [4, 16, 3] Generated Node #2: [4, 16, 3] from Operation: 52-49=3 Current State: 76:[4, 16, 3], Operations: ['52-49=3'] Exploring Operation: 16+3=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 16+3=19 Current State: 76:[4, 19], Operations: ['52-49=3', '16+3=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[49, 52, 4, 16], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [4, 16, 3] Generated Node #0,0: 76:[4, 16, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 76:[4, 16, 3], Operations: ['52-49=3'] Exploring Operation: 16+3=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 76:[4, 19] Operation: 16+3=19 Moving to Node #0,0,0 Current State: 76:[4, 19], Operations: ['52-49=3', '16+3=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[49, 52, 4, 16], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [4, 16, 3] Generated Node #0,0: 76:[4, 16, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 76:[4, 16, 3], Operations: ['52-49=3'] Exploring Operation: 16+3=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 76:[4, 19] Operation: 16+3=19 Moving to Node #0,0,0 Current State: 76:[4, 19], Operations: ['52-49=3', '16+3=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 87, 47, 2, 78 ]
76
[ "87-47=40", "78-40=38", "2*38=76" ]
Current State: 76:[87, 47, 2, 78], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [2, 78, 40] Generated Node #2: [2, 78, 40] from Operation: 87-47=40 Current State: 76:[2, 78, 40], Operations: ['87-47=40'] Exploring Operation: 78-40=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 78-40=38 Current State: 76:[2, 38], Operations: ['87-47=40', '78-40=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[87, 47, 2, 78], Operations: [] Exploring Operation: 47-2=45, Resulting Numbers: [87, 78, 45] Generated Node #0,0: 76:[87, 78, 45] Operation: 47-2=45 Exploring Operation: 78-47=31, Resulting Numbers: [87, 2, 31] Generated Node #0,1: 76:[87, 2, 31] Operation: 78-47=31 Exploring Operation: 87-2=85, Resulting Numbers: [47, 78, 85] Generated Node #0,2: 76:[47, 78, 85] Operation: 87-2=85 Exploring Operation: 87-47=40, Resulting Numbers: [2, 78, 40] Generated Node #0,3: 76:[2, 78, 40] Operation: 87-47=40 Exploring Operation: 87-78=9, Resulting Numbers: [47, 2, 9] Generated Node #0,4: 76:[47, 2, 9] Operation: 87-78=9 Moving to Node #0,3 Current State: 76:[2, 78, 40], Operations: ['87-47=40'] Exploring Operation: 78/2=39, Resulting Numbers: [40, 39] Generated Node #0,3,0: 76:[40, 39] Operation: 78/2=39 Exploring Operation: 40/2=20, Resulting Numbers: [78, 20] Generated Node #0,3,1: 76:[78, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [78, 38] Generated Node #0,3,2: 76:[78, 38] Operation: 40-2=38 Exploring Operation: 78-40=38, Resulting Numbers: [2, 38] Generated Node #0,3,3: 76:[2, 38] Operation: 78-40=38 Exploring Operation: 78-2=76, Resulting Numbers: [40, 76] Generated Node #0,3,4: 76:[40, 76] Operation: 78-2=76 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[2, 38], Operations: ['87-47=40', '78-40=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[87, 47, 2, 78], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [2, 78, 40] Generated Node #0,3: 76:[2, 78, 40] Operation: 87-47=40 Moving to Node #0,3 Current State: 76:[2, 78, 40], Operations: ['87-47=40'] Exploring Operation: 78-40=38, Resulting Numbers: [2, 38] Generated Node #0,3,3: 76:[2, 38] Operation: 78-40=38 Moving to Node #0,3,3 Current State: 76:[2, 38], Operations: ['87-47=40', '78-40=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 30, 72, 53, 72 ]
83
[ "30+72=102", "72-53=19", "102-19=83" ]
Current State: 83:[30, 72, 53, 72], Operations: [] Exploring Operation: 30+72=102, Resulting Numbers: [53, 102] Generated Node #2: [53, 102] from Operation: 30+72=102 Current State: 83:[53, 102], Operations: ['30+72=102'] Exploring Operation: 72-53=19, Resulting Numbers: [102, 19] Generated Node #3: [102, 19] from Operation: 72-53=19 Current State: 83:[102, 19], Operations: ['30+72=102', '72-53=19'] Exploring Operation: 102-19=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[30, 72, 53, 72], Operations: [] Exploring Operation: 30+53=83, Resulting Numbers: [72, 72, 83] Generated Node #0,0: 83:[72, 72, 83] Operation: 30+53=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[72, 72, 83], Operations: ['30+53=83'] Exploring Operation: 72+72=144, Resulting Numbers: [83, 144] Generated Node #0,0,0: 83:[83, 144] Operation: 72+72=144 Moving to Node #0,0,0 Current State: 83:[83, 144], Operations: ['30+53=83', '72+72=144'] Exploring Operation: 144-83=61, Resulting Numbers: [61] 61,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
[ 91, 7, 93, 54 ]
94
[ "93-91=2", "54-7=47", "2*47=94" ]
Current State: 94:[91, 7, 93, 54], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [7, 54, 2] Generated Node #2: [7, 54, 2] from Operation: 93-91=2 Current State: 94:[7, 54, 2], Operations: ['93-91=2'] Exploring Operation: 54-7=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 54-7=47 Current State: 94:[2, 47], Operations: ['93-91=2', '54-7=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[91, 7, 93, 54], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [91, 93, 47] Generated Node #0,0: 94:[91, 93, 47] Operation: 54-7=47 Moving to Node #0,0 Current State: 94:[91, 93, 47], Operations: ['54-7=47'] Exploring Operation: 93-91=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 94:[47, 2] Operation: 93-91=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[47, 2], Operations: ['54-7=47', '93-91=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[91, 7, 93, 54], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [91, 93, 47] Generated Node #0,0: 94:[91, 93, 47] Operation: 54-7=47 Moving to Node #0,0 Current State: 94:[91, 93, 47], Operations: ['54-7=47'] Exploring Operation: 93-91=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 94:[47, 2] Operation: 93-91=2 Moving to Node #0,0,0 Current State: 94:[47, 2], Operations: ['54-7=47', '93-91=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 90, 5, 29, 75 ]
35
[ "90*5=450", "450/75=6", "29+6=35" ]
Current State: 35:[90, 5, 29, 75], Operations: [] Exploring Operation: 90*5=450, Resulting Numbers: [29, 75, 450] Generated Node #2: [29, 75, 450] from Operation: 90*5=450 Current State: 35:[29, 75, 450], Operations: ['90*5=450'] Exploring Operation: 450/75=6, Resulting Numbers: [29, 6] Generated Node #3: [29, 6] from Operation: 450/75=6 Current State: 35:[29, 6], Operations: ['90*5=450', '450/75=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[90, 5, 29, 75], Operations: [] Exploring Operation: 75-29=46, Resulting Numbers: [90, 5, 46] Generated Node #0,0: 35:[90, 5, 46] Operation: 75-29=46 Exploring Operation: 90/5=18, Resulting Numbers: [29, 75, 18] Generated Node #0,1: 35:[29, 75, 18] Operation: 90/5=18 Exploring Operation: 90-29=61, Resulting Numbers: [5, 75, 61] Generated Node #0,2: 35:[5, 75, 61] Operation: 90-29=61 Exploring Operation: 90-75=15, Resulting Numbers: [5, 29, 15] Generated Node #0,3: 35:[5, 29, 15] Operation: 90-75=15 Moving to Node #0,3 Current State: 35:[5, 29, 15], Operations: ['90-75=15'] Exploring Operation: 5+29=34, Resulting Numbers: [15, 34] Generated Node #0,3,0: 35:[15, 34] Operation: 5+29=34 Exploring Operation: 15-5=10, Resulting Numbers: [29, 10] Generated Node #0,3,1: 35:[29, 10] Operation: 15-5=10 Exploring Operation: 29-15=14, Resulting Numbers: [5, 14] Generated Node #0,3,2: 35:[5, 14] Operation: 29-15=14 Exploring Operation: 15/5=3, Resulting Numbers: [29, 3] Generated Node #0,3,3: 35:[29, 3] Operation: 15/5=3 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[5, 14], Operations: ['90-75=15', '29-15=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,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,3,3 Current State: 35:[29, 3], Operations: ['90-75=15', '15/5=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,35 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,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,3,0 Current State: 35:[15, 34], Operations: ['90-75=15', '5+29=34'] Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,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,3,1 Current State: 35:[29, 10], Operations: ['90-75=15', '15-5=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,35 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: 35:[29, 75, 18], Operations: ['90/5=18'] Exploring Operation: 29-18=11, Resulting Numbers: [75, 11] Generated Node #0,1,0: 35:[75, 11] Operation: 29-18=11 Exploring Operation: 75-29=46, Resulting Numbers: [18, 46] Generated Node #0,1,1: 35:[18, 46] Operation: 75-29=46 Exploring Operation: 29+18=47, Resulting Numbers: [75, 47] Generated Node #0,1,2: 35:[75, 47] Operation: 29+18=47 Exploring Operation: 75-18=57, Resulting Numbers: [29, 57] Generated Node #0,1,3: 35:[29, 57] Operation: 75-18=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[18, 46], Operations: ['90/5=18', '75-29=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 35:[29, 57], Operations: ['90/5=18', '75-18=57'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,35 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[75, 11], Operations: ['90/5=18', '29-18=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,35 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[75, 47], Operations: ['90/5=18', '29+18=47'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,35 unequal: No Solution Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 35:[5, 75, 61], Operations: ['90-29=61'] Exploring Operation: 61-5=56, Resulting Numbers: [75, 56] Generated Node #0,2,0: 35:[75, 56] Operation: 61-5=56 Exploring Operation: 75-5=70, Resulting Numbers: [61, 70] Generated Node #0,2,1: 35:[61, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [61, 15] Generated Node #0,2,2: 35:[61, 15] Operation: 75/5=15 Exploring Operation: 75-61=14, Resulting Numbers: [5, 14] Generated Node #0,2,3: 35:[5, 14] Operation: 75-61=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 35:[5, 14], Operations: ['90-29=61', '75-61=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,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,2,2 Current State: 35:[61, 15], Operations: ['90-29=61', '75/5=15'] Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,35 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,35 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,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,2,0 Current State: 35:[75, 56], Operations: ['90-29=61', '61-5=56'] Exploring Operation: 75+56=131, Resulting Numbers: [131] 131,35 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 75*56=4200, Resulting Numbers: [4200] 4200,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,2,1 Current State: 35:[61, 70], Operations: ['90-29=61', '75-5=70'] Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,35 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,35 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: 35:[90, 5, 46], Operations: ['75-29=46'] Exploring Operation: 46-5=41, Resulting Numbers: [90, 41] Generated Node #0,0,0: 35:[90, 41] Operation: 46-5=41 Exploring Operation: 90/5=18, Resulting Numbers: [46, 18] Generated Node #0,0,1: 35:[46, 18] Operation: 90/5=18 Exploring Operation: 90-46=44, Resulting Numbers: [5, 44] Generated Node #0,0,2: 35:[5, 44] Operation: 90-46=44 Exploring Operation: 90-5=85, Resulting Numbers: [46, 85] Generated Node #0,0,3: 35:[46, 85] Operation: 90-5=85 Moving to Node #0,0,2 Current State: 35:[5, 44], Operations: ['75-29=46', '90-46=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,35 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[46, 18], Operations: ['75-29=46', '90/5=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[46, 85], Operations: ['75-29=46', '90-5=85'] Exploring Operation: 46*85=3910, Resulting Numbers: [3910] 3910,35 unequal: No Solution Exploring Operation: 46+85=131, Resulting Numbers: [131] 131,35 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[90, 41], Operations: ['75-29=46', '46-5=41'] Exploring Operation: 90*41=3690, Resulting Numbers: [3690] 3690,35 unequal: No Solution Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,35 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 21, 79, 84, 72 ]
97
[ "84/21=4", "72/4=18", "79+18=97" ]
Current State: 97:[21, 79, 84, 72], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [79, 72, 4] Generated Node #2: [79, 72, 4] from Operation: 84/21=4 Current State: 97:[79, 72, 4], Operations: ['84/21=4'] Exploring Operation: 72/4=18, Resulting Numbers: [79, 18] Generated Node #3: [79, 18] from Operation: 72/4=18 Current State: 97:[79, 18], Operations: ['84/21=4', '72/4=18'] Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[21, 79, 84, 72], Operations: [] Exploring Operation: 21+79=100, Resulting Numbers: [84, 72, 100] Generated Node #0,0: 97:[84, 72, 100] Operation: 21+79=100 Exploring Operation: 21+84=105, Resulting Numbers: [79, 72, 105] Generated Node #0,1: 97:[79, 72, 105] Operation: 21+84=105 Exploring Operation: 79-21=58, Resulting Numbers: [84, 72, 58] Generated Node #0,2: 97:[84, 72, 58] Operation: 79-21=58 Exploring Operation: 21+72=93, Resulting Numbers: [79, 84, 93] Generated Node #0,3: 97:[79, 84, 93] Operation: 21+72=93 Moving to Node #0,3 Current State: 97:[79, 84, 93], Operations: ['21+72=93'] Exploring Operation: 84-79=5, Resulting Numbers: [93, 5] Generated Node #0,3,0: 97:[93, 5] Operation: 84-79=5 Exploring Operation: 93-79=14, Resulting Numbers: [84, 14] Generated Node #0,3,1: 97:[84, 14] Operation: 93-79=14 Exploring Operation: 79+84=163, Resulting Numbers: [93, 163] Generated Node #0,3,2: 97:[93, 163] Operation: 79+84=163 Exploring Operation: 79+93=172, Resulting Numbers: [84, 172] Generated Node #0,3,3: 97:[84, 172] Operation: 79+93=172 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[93, 163], Operations: ['21+72=93', '79+84=163'] Exploring Operation: 93+163=256, Resulting Numbers: [256] 256,97 unequal: No Solution Exploring Operation: 93*163=15159, Resulting Numbers: [15159] 15159,97 unequal: No Solution Exploring Operation: 163-93=70, Resulting Numbers: [70] 70,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[84, 172], Operations: ['21+72=93', '79+93=172'] Exploring Operation: 84*172=14448, Resulting Numbers: [14448] 14448,97 unequal: No Solution Exploring Operation: 172-84=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 84+172=256, Resulting Numbers: [256] 256,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[93, 5], Operations: ['21+72=93', '84-79=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[84, 14], Operations: ['21+72=93', '93-79=14'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,97 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,97 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: 97:[84, 72, 100], Operations: ['21+79=100'] Exploring Operation: 72+100=172, Resulting Numbers: [84, 172] Generated Node #0,0,0: 97:[84, 172] Operation: 72+100=172 Exploring Operation: 84-72=12, Resulting Numbers: [100, 12] Generated Node #0,0,1: 97:[100, 12] Operation: 84-72=12 Exploring Operation: 100-72=28, Resulting Numbers: [84, 28] Generated Node #0,0,2: 97:[84, 28] Operation: 100-72=28 Exploring Operation: 84+72=156, Resulting Numbers: [100, 156] Generated Node #0,0,3: 97:[100, 156] Operation: 84+72=156 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[100, 156], Operations: ['21+79=100', '84+72=156'] Exploring Operation: 100+156=256, Resulting Numbers: [256] 256,97 unequal: No Solution Exploring Operation: 156-100=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 100*156=15600, Resulting Numbers: [15600] 15600,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[84, 28], Operations: ['21+79=100', '100-72=28'] Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[84, 172], Operations: ['21+79=100', '72+100=172'] Exploring Operation: 172-84=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 84*172=14448, Resulting Numbers: [14448] 14448,97 unequal: No Solution Exploring Operation: 84+172=256, Resulting Numbers: [256] 256,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[100, 12], Operations: ['21+79=100', '84-72=12'] Exploring Operation: 100*12=1200, Resulting Numbers: [1200] 1200,97 unequal: No Solution Exploring Operation: 100+12=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 100-12=88, Resulting Numbers: [88] 88,97 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: 97:[79, 72, 105], Operations: ['21+84=105'] Exploring Operation: 105-79=26, Resulting Numbers: [72, 26] Generated Node #0,1,0: 97:[72, 26] Operation: 105-79=26 Exploring Operation: 79+72=151, Resulting Numbers: [105, 151] Generated Node #0,1,1: 97:[105, 151] Operation: 79+72=151 Exploring Operation: 105-72=33, Resulting Numbers: [79, 33] Generated Node #0,1,2: 97:[79, 33] Operation: 105-72=33 Exploring Operation: 79-72=7, Resulting Numbers: [105, 7] Generated Node #0,1,3: 97:[105, 7] Operation: 79-72=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[105, 151], Operations: ['21+84=105', '79+72=151'] Exploring Operation: 105*151=15855, Resulting Numbers: [15855] 15855,97 unequal: No Solution Exploring Operation: 105+151=256, Resulting Numbers: [256] 256,97 unequal: No Solution Exploring Operation: 151-105=46, Resulting Numbers: [46] 46,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[79, 33], Operations: ['21+84=105', '105-72=33'] Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,97 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[72, 26], Operations: ['21+84=105', '105-79=26'] Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[105, 7], Operations: ['21+84=105', '79-72=7'] Exploring Operation: 105*7=735, Resulting Numbers: [735] 735,97 unequal: No Solution Exploring Operation: 105+7=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 105-7=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[84, 72, 58], Operations: ['79-21=58'] Exploring Operation: 72+58=130, Resulting Numbers: [84, 130] Generated Node #0,2,0: 97:[84, 130] Operation: 72+58=130 Exploring Operation: 84-58=26, Resulting Numbers: [72, 26] Generated Node #0,2,1: 97:[72, 26] Operation: 84-58=26 Exploring Operation: 72-58=14, Resulting Numbers: [84, 14] Generated Node #0,2,2: 97:[84, 14] Operation: 72-58=14 Exploring Operation: 84+58=142, Resulting Numbers: [72, 142] Generated Node #0,2,3: 97:[72, 142] Operation: 84+58=142 Moving to Node #0,2,0 Current State: 97:[84, 130], Operations: ['79-21=58', '72+58=130'] Exploring Operation: 130-84=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 84+130=214, Resulting Numbers: [214] 214,97 unequal: No Solution Exploring Operation: 84*130=10920, Resulting Numbers: [10920] 10920,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[72, 142], Operations: ['79-21=58', '84+58=142'] Exploring Operation: 72+142=214, Resulting Numbers: [214] 214,97 unequal: No Solution Exploring Operation: 142-72=70, Resulting Numbers: [70] 70,97 unequal: No Solution Exploring Operation: 72*142=10224, Resulting Numbers: [10224] 10224,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[84, 14], Operations: ['79-21=58', '72-58=14'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,97 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[72, 26], Operations: ['79-21=58', '84-58=26'] Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,97 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 1, 6, 65, 26 ]
84
[ "1+6=7", "65+26=91", "91-7=84" ]
Current State: 84:[1, 6, 65, 26], Operations: [] Exploring Operation: 1+6=7, Resulting Numbers: [65, 26, 7] Generated Node #2: [65, 26, 7] from Operation: 1+6=7 Current State: 84:[65, 26, 7], Operations: ['1+6=7'] Exploring Operation: 65+26=91, Resulting Numbers: [7, 91] Generated Node #3: [7, 91] from Operation: 65+26=91 Current State: 84:[7, 91], Operations: ['1+6=7', '65+26=91'] Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[1, 6, 65, 26], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [1, 6, 39] Generated Node #0,0: 84:[1, 6, 39] Operation: 65-26=39 Exploring Operation: 65+26=91, Resulting Numbers: [1, 6, 91] Generated Node #0,1: 84:[1, 6, 91] Operation: 65+26=91 Moving to Node #0,0 Current State: 84:[1, 6, 39], Operations: ['65-26=39'] Exploring Operation: 1+6=7, Resulting Numbers: [39, 7] Generated Node #0,0,0: 84:[39, 7] Operation: 1+6=7 Exploring Operation: 1+39=40, Resulting Numbers: [6, 40] Generated Node #0,0,1: 84:[6, 40] Operation: 1+39=40 Moving to Node #0,1 Current State: 84:[1, 6, 91], Operations: ['65+26=91'] Exploring Operation: 91-1=90, Resulting Numbers: [6, 90] Generated Node #0,1,0: 84:[6, 90] Operation: 91-1=90 Exploring Operation: 91-6=85, Resulting Numbers: [1, 85] Generated Node #0,1,1: 84:[1, 85] Operation: 91-6=85 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[1, 85], Operations: ['65+26=91', '91-6=85'] Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[1, 6, 65, 26], Operations: [] Exploring Operation: 65+26=91, Resulting Numbers: [1, 6, 91] Generated Node #0,1: 84:[1, 6, 91] Operation: 65+26=91 Moving to Node #0,1 Current State: 84:[1, 6, 91], Operations: ['65+26=91'] Exploring Operation: 91-6=85, Resulting Numbers: [1, 85] Generated Node #0,1,1: 84:[1, 85] Operation: 91-6=85 Moving to Node #0,1,1 Current State: 84:[1, 85], Operations: ['65+26=91', '91-6=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 31, 29, 3, 27 ]
11
[ "31+29=60", "60-27=33", "33/3=11" ]
Current State: 11:[31, 29, 3, 27], Operations: [] Exploring Operation: 31+29=60, Resulting Numbers: [3, 27, 60] Generated Node #2: [3, 27, 60] from Operation: 31+29=60 Current State: 11:[3, 27, 60], Operations: ['31+29=60'] Exploring Operation: 60-27=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 60-27=33 Current State: 11:[3, 33], Operations: ['31+29=60', '60-27=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[31, 29, 3, 27], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [31, 3, 2] Generated Node #0,0: 11:[31, 3, 2] Operation: 29-27=2 Exploring Operation: 31-29=2, Resulting Numbers: [3, 27, 2] Generated Node #0,1: 11:[3, 27, 2] Operation: 31-29=2 Exploring Operation: 27/3=9, Resulting Numbers: [31, 29, 9] Generated Node #0,2: 11:[31, 29, 9] Operation: 27/3=9 Exploring Operation: 31-27=4, Resulting Numbers: [29, 3, 4] Generated Node #0,3: 11:[29, 3, 4] Operation: 31-27=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[3, 27, 2], Operations: ['31-29=2'] Exploring Operation: 3+2=5, Resulting Numbers: [27, 5] Generated Node #0,1,0: 11:[27, 5] Operation: 3+2=5 Exploring Operation: 27-3=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 11:[2, 24] Operation: 27-3=24 Exploring Operation: 3*2=6, Resulting Numbers: [27, 6] Generated Node #0,1,2: 11:[27, 6] Operation: 3*2=6 Exploring Operation: 27/3=9, Resulting Numbers: [2, 9] Generated Node #0,1,3: 11:[2, 9] Operation: 27/3=9 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 11:[2, 9], Operations: ['31-29=2', '27/3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[31, 29, 3, 27], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [3, 27, 2] Generated Node #0,1: 11:[3, 27, 2] Operation: 31-29=2 Moving to Node #0,1 Current State: 11:[3, 27, 2], Operations: ['31-29=2'] Exploring Operation: 27/3=9, Resulting Numbers: [2, 9] Generated Node #0,1,3: 11:[2, 9] Operation: 27/3=9 Moving to Node #0,1,3 Current State: 11:[2, 9], Operations: ['31-29=2', '27/3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 20, 75, 49, 45 ]
39
[ "75-20=55", "49+45=94", "94-55=39" ]
Current State: 39:[20, 75, 49, 45], Operations: [] Exploring Operation: 75-20=55, Resulting Numbers: [49, 45, 55] Generated Node #2: [49, 45, 55] from Operation: 75-20=55 Current State: 39:[49, 45, 55], Operations: ['75-20=55'] Exploring Operation: 49+45=94, Resulting Numbers: [55, 94] Generated Node #3: [55, 94] from Operation: 49+45=94 Current State: 39:[55, 94], Operations: ['75-20=55', '49+45=94'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[20, 75, 49, 45], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [20, 49, 30] Generated Node #0,0: 39:[20, 49, 30] Operation: 75-45=30 Exploring Operation: 75-49=26, Resulting Numbers: [20, 45, 26] Generated Node #0,1: 39:[20, 45, 26] Operation: 75-49=26 Exploring Operation: 75-20=55, Resulting Numbers: [49, 45, 55] Generated Node #0,2: 39:[49, 45, 55] Operation: 75-20=55 Moving to Node #0,0 Current State: 39:[20, 49, 30], Operations: ['75-45=30'] Exploring Operation: 49-30=19, Resulting Numbers: [20, 19] Generated Node #0,0,0: 39:[20, 19] Operation: 49-30=19 Exploring Operation: 30-20=10, Resulting Numbers: [49, 10] Generated Node #0,0,1: 39:[49, 10] Operation: 30-20=10 Exploring Operation: 49-20=29, Resulting Numbers: [30, 29] Generated Node #0,0,2: 39:[30, 29] Operation: 49-20=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[20, 19], Operations: ['75-45=30', '49-30=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[20, 75, 49, 45], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [20, 49, 30] Generated Node #0,0: 39:[20, 49, 30] Operation: 75-45=30 Moving to Node #0,0 Current State: 39:[20, 49, 30], Operations: ['75-45=30'] Exploring Operation: 49-30=19, Resulting Numbers: [20, 19] Generated Node #0,0,0: 39:[20, 19] Operation: 49-30=19 Moving to Node #0,0,0 Current State: 39:[20, 19], Operations: ['75-45=30', '49-30=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 16, 16, 90, 29 ]
62
[ "16/16=1", "90-29=61", "1+61=62" ]
Current State: 62:[16, 16, 90, 29], Operations: [] Exploring Operation: 16/16=1, Resulting Numbers: [90, 29, 1] Generated Node #2: [90, 29, 1] from Operation: 16/16=1 Current State: 62:[90, 29, 1], Operations: ['16/16=1'] Exploring Operation: 90-29=61, Resulting Numbers: [1, 61] Generated Node #3: [1, 61] from Operation: 90-29=61 Current State: 62:[1, 61], Operations: ['16/16=1', '90-29=61'] Exploring Operation: 1+61=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[16, 16, 90, 29], Operations: [] Exploring Operation: 90-16=74, Resulting Numbers: [16, 29, 74] Generated Node #0,0: 62:[16, 29, 74] Operation: 90-16=74 Exploring Operation: 90-16=74, Resulting Numbers: [16, 29, 74] Generated Node #0,1: 62:[16, 29, 74] Operation: 90-16=74 Moving to Node #0,0 Current State: 62:[16, 29, 74], Operations: ['90-16=74'] Exploring Operation: 29-16=13, Resulting Numbers: [74, 13] Generated Node #0,0,0: 62:[74, 13] Operation: 29-16=13 Exploring Operation: 74-16=58, Resulting Numbers: [29, 58] Generated Node #0,0,1: 62:[29, 58] Operation: 74-16=58 Moving to Node #0,1 Current State: 62:[16, 29, 74], Operations: ['90-16=74'] Exploring Operation: 29-16=13, Resulting Numbers: [74, 13] Generated Node #0,1,0: 62:[74, 13] Operation: 29-16=13 Exploring Operation: 74-16=58, Resulting Numbers: [29, 58] Generated Node #0,1,1: 62:[29, 58] Operation: 74-16=58 Moving to Node #0,0,1 Current State: 62:[29, 58], Operations: ['90-16=74', '74-16=58'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[29, 58], Operations: ['90-16=74', '74-16=58'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[74, 13], Operations: ['90-16=74', '29-16=13'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[74, 13], Operations: ['90-16=74', '29-16=13'] Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,62 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,62 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 22, 74, 45, 63 ]
56
[ "74-22=52", "45+63=108", "108-52=56" ]
Current State: 56:[22, 74, 45, 63], Operations: [] Exploring Operation: 74-22=52, Resulting Numbers: [45, 63, 52] Generated Node #2: [45, 63, 52] from Operation: 74-22=52 Current State: 56:[45, 63, 52], Operations: ['74-22=52'] Exploring Operation: 45+63=108, Resulting Numbers: [52, 108] Generated Node #3: [52, 108] from Operation: 45+63=108 Current State: 56:[52, 108], Operations: ['74-22=52', '45+63=108'] Exploring Operation: 108-52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[22, 74, 45, 63], Operations: [] Exploring Operation: 74-45=29, Resulting Numbers: [22, 63, 29] Generated Node #0,0: 56:[22, 63, 29] Operation: 74-45=29 Exploring Operation: 74-22=52, Resulting Numbers: [45, 63, 52] Generated Node #0,1: 56:[45, 63, 52] Operation: 74-22=52 Exploring Operation: 74-63=11, Resulting Numbers: [22, 45, 11] Generated Node #0,2: 56:[22, 45, 11] Operation: 74-63=11 Moving to Node #0,0 Current State: 56:[22, 63, 29], Operations: ['74-45=29'] Exploring Operation: 22+29=51, Resulting Numbers: [63, 51] Generated Node #0,0,0: 56:[63, 51] Operation: 22+29=51 Exploring Operation: 63-29=34, Resulting Numbers: [22, 34] Generated Node #0,0,1: 56:[22, 34] Operation: 63-29=34 Exploring Operation: 29-22=7, Resulting Numbers: [63, 7] Generated Node #0,0,2: 56:[63, 7] Operation: 29-22=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[63, 7], Operations: ['74-45=29', '29-22=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[22, 74, 45, 63], Operations: [] Exploring Operation: 74-45=29, Resulting Numbers: [22, 63, 29] Generated Node #0,0: 56:[22, 63, 29] Operation: 74-45=29 Moving to Node #0,0 Current State: 56:[22, 63, 29], Operations: ['74-45=29'] Exploring Operation: 29-22=7, Resulting Numbers: [63, 7] Generated Node #0,0,2: 56:[63, 7] Operation: 29-22=7 Moving to Node #0,0,2 Current State: 56:[63, 7], Operations: ['74-45=29', '29-22=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 43, 82, 56, 46 ]
86
[ "46-43=3", "56*3=168", "168-82=86" ]
Current State: 86:[43, 82, 56, 46], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [82, 56, 3] Generated Node #2: [82, 56, 3] from Operation: 46-43=3 Current State: 86:[82, 56, 3], Operations: ['46-43=3'] Exploring Operation: 56*3=168, Resulting Numbers: [82, 168] Generated Node #3: [82, 168] from Operation: 56*3=168 Current State: 86:[82, 168], Operations: ['46-43=3', '56*3=168'] Exploring Operation: 168-82=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[43, 82, 56, 46], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [82, 46, 13] Generated Node #0,0: 86:[82, 46, 13] Operation: 56-43=13 Exploring Operation: 46-43=3, Resulting Numbers: [82, 56, 3] Generated Node #0,1: 86:[82, 56, 3] Operation: 46-43=3 Exploring Operation: 82-43=39, Resulting Numbers: [56, 46, 39] Generated Node #0,2: 86:[56, 46, 39] Operation: 82-43=39 Exploring Operation: 56-46=10, Resulting Numbers: [43, 82, 10] Generated Node #0,3: 86:[43, 82, 10] Operation: 56-46=10 Moving to Node #0,3 Current State: 86:[43, 82, 10], Operations: ['56-46=10'] Exploring Operation: 82-43=39, Resulting Numbers: [10, 39] Generated Node #0,3,0: 86:[10, 39] Operation: 82-43=39 Exploring Operation: 82+10=92, Resulting Numbers: [43, 92] Generated Node #0,3,1: 86:[43, 92] Operation: 82+10=92 Exploring Operation: 43-10=33, Resulting Numbers: [82, 33] Generated Node #0,3,2: 86:[82, 33] Operation: 43-10=33 Exploring Operation: 43+10=53, Resulting Numbers: [82, 53] Generated Node #0,3,3: 86:[82, 53] Operation: 43+10=53 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[43, 92], Operations: ['56-46=10', '82+10=92'] Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[10, 39], Operations: ['56-46=10', '82-43=39'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,86 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[82, 33], Operations: ['56-46=10', '43-10=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,86 unequal: No Solution Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[82, 53], Operations: ['56-46=10', '43+10=53'] Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,86 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: 86:[82, 56, 3], Operations: ['46-43=3'] Exploring Operation: 82-3=79, Resulting Numbers: [56, 79] Generated Node #0,1,0: 86:[56, 79] Operation: 82-3=79 Exploring Operation: 82+3=85, Resulting Numbers: [56, 85] Generated Node #0,1,1: 86:[56, 85] Operation: 82+3=85 Exploring Operation: 56-3=53, Resulting Numbers: [82, 53] Generated Node #0,1,2: 86:[82, 53] Operation: 56-3=53 Exploring Operation: 82-56=26, Resulting Numbers: [3, 26] Generated Node #0,1,3: 86:[3, 26] Operation: 82-56=26 Moving to Node #0,0 Current State: 86:[82, 46, 13], Operations: ['56-43=13'] Exploring Operation: 46-13=33, Resulting Numbers: [82, 33] Generated Node #0,0,0: 86:[82, 33] Operation: 46-13=33 Exploring Operation: 82-46=36, Resulting Numbers: [13, 36] Generated Node #0,0,1: 86:[13, 36] Operation: 82-46=36 Exploring Operation: 82+13=95, Resulting Numbers: [46, 95] Generated Node #0,0,2: 86:[46, 95] Operation: 82+13=95 Exploring Operation: 82-13=69, Resulting Numbers: [46, 69] Generated Node #0,0,3: 86:[46, 69] Operation: 82-13=69 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[46, 95], Operations: ['56-43=13', '82+13=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,86 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[82, 33], Operations: ['56-43=13', '46-13=33'] Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,86 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[13, 36], Operations: ['56-43=13', '82-46=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,86 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[46, 69], Operations: ['56-43=13', '82-13=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,86 unequal: No Solution Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,86 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: 86:[56, 46, 39], Operations: ['82-43=39'] Exploring Operation: 56-39=17, Resulting Numbers: [46, 17] Generated Node #0,2,0: 86:[46, 17] Operation: 56-39=17 Exploring Operation: 56+39=95, Resulting Numbers: [46, 95] Generated Node #0,2,1: 86:[46, 95] Operation: 56+39=95 Exploring Operation: 56-46=10, Resulting Numbers: [39, 10] Generated Node #0,2,2: 86:[39, 10] Operation: 56-46=10 Exploring Operation: 46+39=85, Resulting Numbers: [56, 85] Generated Node #0,2,3: 86:[56, 85] Operation: 46+39=85 Moving to Node #0,2,1 Current State: 86:[46, 95], Operations: ['82-43=39', '56+39=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,86 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[39, 10], Operations: ['82-43=39', '56-46=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,86 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[56, 85], Operations: ['82-43=39', '46+39=85'] Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 56+85=141, Resulting Numbers: [141] 141,86 unequal: No Solution Exploring Operation: 56*85=4760, Resulting Numbers: [4760] 4760,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[56, 85], Operations: ['46-43=3', '82+3=85'] Exploring Operation: 56+85=141, Resulting Numbers: [141] 141,86 unequal: No Solution Exploring Operation: 56*85=4760, Resulting Numbers: [4760] 4760,86 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[82, 53], Operations: ['46-43=3', '56-3=53'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,86 unequal: No Solution Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[3, 26], Operations: ['46-43=3', '82-56=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,86 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[46, 17], Operations: ['82-43=39', '56-39=17'] Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[56, 79], Operations: ['46-43=3', '82-3=79'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,86 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 49, 31, 17 ]
10
[ "31*17=527", "527-37=490", "490/49=10" ]
Current State: 10:[37, 49, 31, 17], Operations: [] Exploring Operation: 31*17=527, Resulting Numbers: [37, 49, 527] Generated Node #2: [37, 49, 527] from Operation: 31*17=527 Current State: 10:[37, 49, 527], Operations: ['31*17=527'] Exploring Operation: 527-37=490, Resulting Numbers: [49, 490] Generated Node #3: [49, 490] from Operation: 527-37=490 Current State: 10:[49, 490], Operations: ['31*17=527', '527-37=490'] Exploring Operation: 490/49=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[37, 49, 31, 17], Operations: [] Exploring Operation: 49-37=12, Resulting Numbers: [31, 17, 12] Generated Node #0,0: 10:[31, 17, 12] Operation: 49-37=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[31, 17, 12], Operations: ['49-37=12'] Exploring Operation: 31-17=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 10:[12, 14] Operation: 31-17=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[12, 14], Operations: ['49-37=12', '31-17=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 31, 26, 15, 77 ]
87
[ "31-26=5", "15+77=92", "92-5=87" ]
Current State: 87:[31, 26, 15, 77], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [15, 77, 5] Generated Node #2: [15, 77, 5] from Operation: 31-26=5 Current State: 87:[15, 77, 5], Operations: ['31-26=5'] Exploring Operation: 15+77=92, Resulting Numbers: [5, 92] Generated Node #3: [5, 92] from Operation: 15+77=92 Current State: 87:[5, 92], Operations: ['31-26=5', '15+77=92'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 26, 15, 77], Operations: [] Exploring Operation: 15+77=92, Resulting Numbers: [31, 26, 92] Generated Node #0,0: 87:[31, 26, 92] Operation: 15+77=92 Moving to Node #0,0 Current State: 87:[31, 26, 92], Operations: ['15+77=92'] Exploring Operation: 31-26=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 31-26=5 Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['15+77=92', '31-26=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[31, 26, 15, 77], Operations: [] Exploring Operation: 15+77=92, Resulting Numbers: [31, 26, 92] Generated Node #0,0: 87:[31, 26, 92] Operation: 15+77=92 Moving to Node #0,0 Current State: 87:[31, 26, 92], Operations: ['15+77=92'] Exploring Operation: 31-26=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 31-26=5 Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['15+77=92', '31-26=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 90, 82, 18, 47 ]
97
[ "90-82=8", "18*8=144", "144-47=97" ]
Current State: 97:[90, 82, 18, 47], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [18, 47, 8] Generated Node #2: [18, 47, 8] from Operation: 90-82=8 Current State: 97:[18, 47, 8], Operations: ['90-82=8'] Exploring Operation: 18*8=144, Resulting Numbers: [47, 144] Generated Node #3: [47, 144] from Operation: 18*8=144 Current State: 97:[47, 144], Operations: ['90-82=8', '18*8=144'] Exploring Operation: 144-47=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[90, 82, 18, 47], Operations: [] Exploring Operation: 18+47=65, Resulting Numbers: [90, 82, 65] Generated Node #0,0: 97:[90, 82, 65] Operation: 18+47=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[90, 82, 65], Operations: ['18+47=65'] Exploring Operation: 82+65=147, Resulting Numbers: [90, 147] Generated Node #0,0,0: 97:[90, 147] Operation: 82+65=147 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[90, 147], Operations: ['18+47=65', '82+65=147'] Exploring Operation: 147-90=57, Resulting Numbers: [57] 57,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 20, 7, 79, 28 ]
74
[ "20*7=140", "140/28=5", "79-5=74" ]
Current State: 74:[20, 7, 79, 28], Operations: [] Exploring Operation: 20*7=140, Resulting Numbers: [79, 28, 140] Generated Node #2: [79, 28, 140] from Operation: 20*7=140 Current State: 74:[79, 28, 140], Operations: ['20*7=140'] Exploring Operation: 140/28=5, Resulting Numbers: [79, 5] Generated Node #3: [79, 5] from Operation: 140/28=5 Current State: 74:[79, 5], Operations: ['20*7=140', '140/28=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[20, 7, 79, 28], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [7, 79, 8] Generated Node #0,0: 74:[7, 79, 8] Operation: 28-20=8 Moving to Node #0,0 Current State: 74:[7, 79, 8], Operations: ['28-20=8'] Exploring Operation: 8-7=1, Resulting Numbers: [79, 1] Generated Node #0,0,0: 74:[79, 1] Operation: 8-7=1 Moving to Node #0,0,0 Current State: 74:[79, 1], Operations: ['28-20=8', '8-7=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,74 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 62, 65, 9, 47 ]
100
[ "65-47=18", "9*18=162", "162-62=100" ]
Current State: 100:[62, 65, 9, 47], Operations: [] Exploring Operation: 65-47=18, Resulting Numbers: [62, 9, 18] Generated Node #2: [62, 9, 18] from Operation: 65-47=18 Current State: 100:[62, 9, 18], Operations: ['65-47=18'] Exploring Operation: 9*18=162, Resulting Numbers: [62, 162] Generated Node #3: [62, 162] from Operation: 9*18=162 Current State: 100:[62, 162], Operations: ['65-47=18', '9*18=162'] Exploring Operation: 162-62=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[62, 65, 9, 47], Operations: [] Exploring Operation: 65-47=18, Resulting Numbers: [62, 9, 18] Generated Node #0,0: 100:[62, 9, 18] Operation: 65-47=18 Exploring Operation: 65-62=3, Resulting Numbers: [9, 47, 3] Generated Node #0,1: 100:[9, 47, 3] Operation: 65-62=3 Moving to Node #0,1 Current State: 100:[9, 47, 3], Operations: ['65-62=3'] Exploring Operation: 9-3=6, Resulting Numbers: [47, 6] Generated Node #0,1,0: 100:[47, 6] Operation: 9-3=6 Exploring Operation: 47+3=50, Resulting Numbers: [9, 50] Generated Node #0,1,1: 100:[9, 50] Operation: 47+3=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[9, 50], Operations: ['65-62=3', '47+3=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[47, 6], Operations: ['65-62=3', '9-3=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[62, 9, 18], Operations: ['65-47=18'] Exploring Operation: 62-9=53, Resulting Numbers: [18, 53] Generated Node #0,0,0: 100:[18, 53] Operation: 62-9=53 Exploring Operation: 62-18=44, Resulting Numbers: [9, 44] Generated Node #0,0,1: 100:[9, 44] Operation: 62-18=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[18, 53], Operations: ['65-47=18', '62-9=53'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[9, 44], Operations: ['65-47=18', '62-18=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,100 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
[ 18, 45, 66, 90 ]
42
[ "18+66=84", "90/45=2", "84/2=42" ]
Current State: 42:[18, 45, 66, 90], Operations: [] Exploring Operation: 18+66=84, Resulting Numbers: [45, 90, 84] Generated Node #2: [45, 90, 84] from Operation: 18+66=84 Current State: 42:[45, 90, 84], Operations: ['18+66=84'] Exploring Operation: 90/45=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 90/45=2 Current State: 42:[84, 2], Operations: ['18+66=84', '90/45=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[18, 45, 66, 90], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [18, 66, 2] Generated Node #0,0: 42:[18, 66, 2] Operation: 90/45=2 Exploring Operation: 90/18=5, Resulting Numbers: [45, 66, 5] Generated Node #0,1: 42:[45, 66, 5] Operation: 90/18=5 Exploring Operation: 90-66=24, Resulting Numbers: [18, 45, 24] Generated Node #0,2: 42:[18, 45, 24] Operation: 90-66=24 Exploring Operation: 90-45=45, Resulting Numbers: [18, 66, 45] Generated Node #0,3: 42:[18, 66, 45] Operation: 90-45=45 Moving to Node #0,2 Current State: 42:[18, 45, 24], Operations: ['90-66=24'] Exploring Operation: 45-24=21, Resulting Numbers: [18, 21] Generated Node #0,2,0: 42:[18, 21] Operation: 45-24=21 Exploring Operation: 18+24=42, Resulting Numbers: [45, 42] Generated Node #0,2,1: 42:[45, 42] Operation: 18+24=42 Exploring Operation: 24-18=6, Resulting Numbers: [45, 6] Generated Node #0,2,2: 42:[45, 6] Operation: 24-18=6 Exploring Operation: 45-18=27, Resulting Numbers: [24, 27] Generated Node #0,2,3: 42:[24, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[18, 21], Operations: ['90-66=24', '45-24=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,42 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[45, 42], Operations: ['90-66=24', '18+24=42'] Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[45, 6], Operations: ['90-66=24', '24-18=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[24, 27], Operations: ['90-66=24', '45-18=27'] Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,42 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 42:[18, 66, 2], Operations: ['90/45=2'] Exploring Operation: 66-2=64, Resulting Numbers: [18, 64] Generated Node #0,0,0: 42:[18, 64] Operation: 66-2=64 Exploring Operation: 66-18=48, Resulting Numbers: [2, 48] Generated Node #0,0,1: 42:[2, 48] Operation: 66-18=48 Exploring Operation: 66/2=33, Resulting Numbers: [18, 33] Generated Node #0,0,2: 42:[18, 33] Operation: 66/2=33 Exploring Operation: 18+2=20, Resulting Numbers: [66, 20] Generated Node #0,0,3: 42:[66, 20] Operation: 18+2=20 Moving to Node #0,1 Current State: 42:[45, 66, 5], Operations: ['90/18=5'] Exploring Operation: 66-45=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 42:[5, 21] Operation: 66-45=21 Exploring Operation: 45/5=9, Resulting Numbers: [66, 9] Generated Node #0,1,1: 42:[66, 9] Operation: 45/5=9 Exploring Operation: 66-5=61, Resulting Numbers: [45, 61] Generated Node #0,1,2: 42:[45, 61] Operation: 66-5=61 Exploring Operation: 45-5=40, Resulting Numbers: [66, 40] Generated Node #0,1,3: 42:[66, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[5, 21], Operations: ['90/18=5', '66-45=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[45, 61], Operations: ['90/18=5', '66-5=61'] Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,42 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[66, 9], Operations: ['90/18=5', '45/5=9'] Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,42 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[66, 40], Operations: ['90/18=5', '45-5=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,42 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,42 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: 42:[18, 66, 45], Operations: ['90-45=45'] Exploring Operation: 45-18=27, Resulting Numbers: [66, 27] Generated Node #0,3,0: 42:[66, 27] Operation: 45-18=27 Exploring Operation: 66-18=48, Resulting Numbers: [45, 48] Generated Node #0,3,1: 42:[45, 48] Operation: 66-18=48 Exploring Operation: 18+66=84, Resulting Numbers: [45, 84] Generated Node #0,3,2: 42:[45, 84] Operation: 18+66=84 Exploring Operation: 66-45=21, Resulting Numbers: [18, 21] Generated Node #0,3,3: 42:[18, 21] Operation: 66-45=21 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[18, 21], Operations: ['90-45=45', '66-45=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,42 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,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,3,1 Current State: 42:[45, 48], Operations: ['90-45=45', '66-18=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,42 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,42 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,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,3,0 Current State: 42:[66, 27], Operations: ['90-45=45', '45-18=27'] Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,42 unequal: No Solution Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,42 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,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,3,2 Current State: 42:[45, 84], Operations: ['90-45=45', '18+66=84'] Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,42 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 42:[2, 48], Operations: ['90/45=2', '66-18=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[18, 33], Operations: ['90/45=2', '66/2=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[66, 20], Operations: ['90/45=2', '18+2=20'] Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,42 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[18, 64], Operations: ['90/45=2', '66-2=64'] Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,42 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,42 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 3, 46, 79, 43 ]
88
[ "46-43=3", "3*3=9", "79+9=88" ]
Current State: 88:[3, 46, 79, 43], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [3, 79, 3] Generated Node #2: [3, 79, 3] from Operation: 46-43=3 Current State: 88:[3, 79, 3], Operations: ['46-43=3'] Exploring Operation: 3*3=9, Resulting Numbers: [79, 9] Generated Node #3: [79, 9] from Operation: 3*3=9 Current State: 88:[79, 9], Operations: ['46-43=3', '3*3=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[3, 46, 79, 43], Operations: [] Exploring Operation: 3+79=82, Resulting Numbers: [46, 43, 82] Generated Node #0,0: 88:[46, 43, 82] Operation: 3+79=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[46, 43, 82], Operations: ['3+79=82'] Exploring Operation: 46+43=89, Resulting Numbers: [82, 89] Generated Node #0,0,0: 88:[82, 89] Operation: 46+43=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[82, 89], Operations: ['3+79=82', '46+43=89'] Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 78, 40, 76, 10 ]
12
[ "78-40=38", "76/38=2", "10+2=12" ]
Current State: 12:[78, 40, 76, 10], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [76, 10, 38] Generated Node #2: [76, 10, 38] from Operation: 78-40=38 Current State: 12:[76, 10, 38], Operations: ['78-40=38'] Exploring Operation: 76/38=2, Resulting Numbers: [10, 2] Generated Node #3: [10, 2] from Operation: 76/38=2 Current State: 12:[10, 2], Operations: ['78-40=38', '76/38=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[78, 40, 76, 10], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [76, 10, 38] Generated Node #0,0: 12:[76, 10, 38] Operation: 78-40=38 Exploring Operation: 78-76=2, Resulting Numbers: [40, 10, 2] Generated Node #0,1: 12:[40, 10, 2] Operation: 78-76=2 Exploring Operation: 76-40=36, Resulting Numbers: [78, 10, 36] Generated Node #0,2: 12:[78, 10, 36] Operation: 76-40=36 Moving to Node #0,1 Current State: 12:[40, 10, 2], Operations: ['78-76=2'] Exploring Operation: 40-10=30, Resulting Numbers: [2, 30] Generated Node #0,1,0: 12:[2, 30] Operation: 40-10=30 Exploring Operation: 40/2=20, Resulting Numbers: [10, 20] Generated Node #0,1,1: 12:[10, 20] Operation: 40/2=20 Exploring Operation: 40/10=4, Resulting Numbers: [2, 4] Generated Node #0,1,2: 12:[2, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[2, 4], Operations: ['78-76=2', '40/10=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[10, 20], Operations: ['78-76=2', '40/2=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[2, 30], Operations: ['78-76=2', '40-10=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,12 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: 12:[76, 10, 38], Operations: ['78-40=38'] Exploring Operation: 76/38=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 12:[10, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [10, 38] Generated Node #0,0,1: 12:[10, 38] Operation: 76-38=38 Exploring Operation: 76-10=66, Resulting Numbers: [38, 66] Generated Node #0,0,2: 12:[38, 66] Operation: 76-10=66 Moving to Node #0,2 Current State: 12:[78, 10, 36], Operations: ['76-40=36'] Exploring Operation: 78-10=68, Resulting Numbers: [36, 68] Generated Node #0,2,0: 12:[36, 68] Operation: 78-10=68 Exploring Operation: 36-10=26, Resulting Numbers: [78, 26] Generated Node #0,2,1: 12:[78, 26] Operation: 36-10=26 Exploring Operation: 78-36=42, Resulting Numbers: [10, 42] Generated Node #0,2,2: 12:[10, 42] Operation: 78-36=42 Moving to Node #0,0,0 Current State: 12:[10, 2], Operations: ['78-40=38', '76/38=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[78, 40, 76, 10], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [76, 10, 38] Generated Node #0,0: 12:[76, 10, 38] Operation: 78-40=38 Moving to Node #0,0 Current State: 12:[76, 10, 38], Operations: ['78-40=38'] Exploring Operation: 76/38=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 12:[10, 2] Operation: 76/38=2 Moving to Node #0,0,0 Current State: 12:[10, 2], Operations: ['78-40=38', '76/38=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 63, 21, 29, 81 ]
94
[ "63-21=42", "81-29=52", "42+52=94" ]
Current State: 94:[63, 21, 29, 81], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [29, 81, 42] Generated Node #2: [29, 81, 42] from Operation: 63-21=42 Current State: 94:[29, 81, 42], Operations: ['63-21=42'] Exploring Operation: 81-29=52, Resulting Numbers: [42, 52] Generated Node #3: [42, 52] from Operation: 81-29=52 Current State: 94:[42, 52], Operations: ['63-21=42', '81-29=52'] Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[63, 21, 29, 81], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [29, 81, 3] Generated Node #0,0: 94:[29, 81, 3] Operation: 63/21=3 Exploring Operation: 21+29=50, Resulting Numbers: [63, 81, 50] Generated Node #0,1: 94:[63, 81, 50] Operation: 21+29=50 Moving to Node #0,0 Current State: 94:[29, 81, 3], Operations: ['63/21=3'] Exploring Operation: 29+81=110, Resulting Numbers: [3, 110] Generated Node #0,0,0: 94:[3, 110] Operation: 29+81=110 Exploring Operation: 81-29=52, Resulting Numbers: [3, 52] Generated Node #0,0,1: 94:[3, 52] Operation: 81-29=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[3, 52], Operations: ['63/21=3', '81-29=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,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:[3, 110], Operations: ['63/21=3', '29+81=110'] Exploring Operation: 110-3=107, Resulting Numbers: [107] 107,94 unequal: No Solution Exploring Operation: 3+110=113, Resulting Numbers: [113] 113,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:[63, 81, 50], Operations: ['21+29=50'] Exploring Operation: 63-50=13, Resulting Numbers: [81, 13] Generated Node #0,1,0: 94:[81, 13] Operation: 63-50=13 Exploring Operation: 81-63=18, Resulting Numbers: [50, 18] Generated Node #0,1,1: 94:[50, 18] Operation: 81-63=18 Moving to Node #0,1,1 Current State: 94:[50, 18], Operations: ['21+29=50', '81-63=18'] Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[81, 13], Operations: ['21+29=50', '63-50=13'] Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[63, 21, 29, 81], Operations: [] Exploring Operation: 21+29=50, Resulting Numbers: [63, 81, 50] Generated Node #0,1: 94:[63, 81, 50] Operation: 21+29=50 Moving to Node #0,1 Current State: 94:[63, 81, 50], Operations: ['21+29=50'] Exploring Operation: 63-50=13, Resulting Numbers: [81, 13] Generated Node #0,1,0: 94:[81, 13] Operation: 63-50=13 Moving to Node #0,1,0 Current State: 94:[81, 13], Operations: ['21+29=50', '63-50=13'] Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 16, 69, 73, 13 ]
25
[ "16+69=85", "73-13=60", "85-60=25" ]
Current State: 25:[16, 69, 73, 13], Operations: [] Exploring Operation: 16+69=85, Resulting Numbers: [73, 13, 85] Generated Node #2: [73, 13, 85] from Operation: 16+69=85 Current State: 25:[73, 13, 85], Operations: ['16+69=85'] Exploring Operation: 73-13=60, Resulting Numbers: [85, 60] Generated Node #3: [85, 60] from Operation: 73-13=60 Current State: 25:[85, 60], Operations: ['16+69=85', '73-13=60'] Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[16, 69, 73, 13], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [16, 13, 4] Generated Node #0,0: 25:[16, 13, 4] Operation: 73-69=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[16, 13, 4], Operations: ['73-69=4'] Exploring Operation: 16-13=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 25:[4, 3] Operation: 16-13=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[4, 3], Operations: ['73-69=4', '16-13=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,25 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
[ 43, 44, 45, 18 ]
24
[ "43+44=87", "45+18=63", "87-63=24" ]
Current State: 24:[43, 44, 45, 18], Operations: [] Exploring Operation: 43+44=87, Resulting Numbers: [45, 18, 87] Generated Node #2: [45, 18, 87] from Operation: 43+44=87 Current State: 24:[45, 18, 87], Operations: ['43+44=87'] Exploring Operation: 45+18=63, Resulting Numbers: [87, 63] Generated Node #3: [87, 63] from Operation: 45+18=63 Current State: 24:[87, 63], Operations: ['43+44=87', '45+18=63'] Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[43, 44, 45, 18], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [43, 18, 1] Generated Node #0,0: 24:[43, 18, 1] Operation: 45-44=1 Exploring Operation: 44-18=26, Resulting Numbers: [43, 45, 26] Generated Node #0,1: 24:[43, 45, 26] Operation: 44-18=26 Exploring Operation: 44-43=1, Resulting Numbers: [45, 18, 1] Generated Node #0,2: 24:[45, 18, 1] Operation: 44-43=1 Exploring Operation: 43-18=25, Resulting Numbers: [44, 45, 25] Generated Node #0,3: 24:[44, 45, 25] Operation: 43-18=25 Exploring Operation: 45-43=2, Resulting Numbers: [44, 18, 2] Generated Node #0,4: 24:[44, 18, 2] Operation: 45-43=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[43, 18, 1], Operations: ['45-44=1'] Exploring Operation: 43*1=43, Resulting Numbers: [18, 43] Generated Node #0,0,0: 24:[18, 43] Operation: 43*1=43 Exploring Operation: 43-1=42, Resulting Numbers: [18, 42] Generated Node #0,0,1: 24:[18, 42] Operation: 43-1=42 Exploring Operation: 43-18=25, Resulting Numbers: [1, 25] Generated Node #0,0,2: 24:[1, 25] Operation: 43-18=25 Exploring Operation: 18-1=17, Resulting Numbers: [43, 17] Generated Node #0,0,3: 24:[43, 17] Operation: 18-1=17 Exploring Operation: 18+1=19, Resulting Numbers: [43, 19] Generated Node #0,0,4: 24:[43, 19] Operation: 18+1=19 Moving to Node #0,0,2 Current State: 24:[1, 25], Operations: ['45-44=1', '43-18=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[43, 44, 45, 18], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [43, 18, 1] Generated Node #0,0: 24:[43, 18, 1] Operation: 45-44=1 Moving to Node #0,0 Current State: 24:[43, 18, 1], Operations: ['45-44=1'] Exploring Operation: 43-18=25, Resulting Numbers: [1, 25] Generated Node #0,0,2: 24:[1, 25] Operation: 43-18=25 Moving to Node #0,0,2 Current State: 24:[1, 25], Operations: ['45-44=1', '43-18=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 23, 93, 2, 25 ]
60
[ "93-23=70", "70/2=35", "25+35=60" ]
Current State: 60:[23, 93, 2, 25], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [2, 25, 70] Generated Node #2: [2, 25, 70] from Operation: 93-23=70 Current State: 60:[2, 25, 70], Operations: ['93-23=70'] Exploring Operation: 70/2=35, Resulting Numbers: [25, 35] Generated Node #3: [25, 35] from Operation: 70/2=35 Current State: 60:[25, 35], Operations: ['93-23=70', '70/2=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[23, 93, 2, 25], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [2, 25, 70] Generated Node #0,0: 60:[2, 25, 70] Operation: 93-23=70 Exploring Operation: 23-2=21, Resulting Numbers: [93, 25, 21] Generated Node #0,1: 60:[93, 25, 21] Operation: 23-2=21 Exploring Operation: 93-25=68, Resulting Numbers: [23, 2, 68] Generated Node #0,2: 60:[23, 2, 68] Operation: 93-25=68 Exploring Operation: 25-23=2, Resulting Numbers: [93, 2, 2] Generated Node #0,3: 60:[93, 2, 2] Operation: 25-23=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[23, 2, 68], Operations: ['93-25=68'] Exploring Operation: 23+2=25, Resulting Numbers: [68, 25] Generated Node #0,2,0: 60:[68, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [68, 21] Generated Node #0,2,1: 60:[68, 21] Operation: 23-2=21 Exploring Operation: 68/2=34, Resulting Numbers: [23, 34] Generated Node #0,2,2: 60:[23, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [23, 66] Generated Node #0,2,3: 60:[23, 66] Operation: 68-2=66 Moving to Node #0,2,2 Current State: 60:[23, 34], Operations: ['93-25=68', '68/2=34'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 23*34=782, Resulting Numbers: [782] 782,60 unequal: No Solution Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[23, 66], Operations: ['93-25=68', '68-2=66'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,60 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[68, 21], Operations: ['93-25=68', '23-2=21'] Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,60 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[68, 25], Operations: ['93-25=68', '23+2=25'] Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,60 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[2, 25, 70], Operations: ['93-23=70'] Exploring Operation: 70/2=35, Resulting Numbers: [25, 35] Generated Node #0,0,0: 60:[25, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [25, 68] Generated Node #0,0,1: 60:[25, 68] Operation: 70-2=68 Exploring Operation: 2+25=27, Resulting Numbers: [70, 27] Generated Node #0,0,2: 60:[70, 27] Operation: 2+25=27 Exploring Operation: 25-2=23, Resulting Numbers: [70, 23] Generated Node #0,0,3: 60:[70, 23] Operation: 25-2=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[25, 35], Operations: ['93-23=70', '70/2=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[23, 93, 2, 25], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [2, 25, 70] Generated Node #0,0: 60:[2, 25, 70] Operation: 93-23=70 Moving to Node #0,0 Current State: 60:[2, 25, 70], Operations: ['93-23=70'] Exploring Operation: 70/2=35, Resulting Numbers: [25, 35] Generated Node #0,0,0: 60:[25, 35] Operation: 70/2=35 Moving to Node #0,0,0 Current State: 60:[25, 35], Operations: ['93-23=70', '70/2=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 76, 61, 33, 30 ]
45
[ "76-61=15", "33-30=3", "15*3=45" ]
Current State: 45:[76, 61, 33, 30], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [33, 30, 15] Generated Node #2: [33, 30, 15] from Operation: 76-61=15 Current State: 45:[33, 30, 15], Operations: ['76-61=15'] Exploring Operation: 33-30=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 33-30=3 Current State: 45:[15, 3], Operations: ['76-61=15', '33-30=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[76, 61, 33, 30], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [33, 30, 15] Generated Node #0,0: 45:[33, 30, 15] Operation: 76-61=15 Exploring Operation: 76-33=43, Resulting Numbers: [61, 30, 43] Generated Node #0,1: 45:[61, 30, 43] Operation: 76-33=43 Exploring Operation: 76-30=46, Resulting Numbers: [61, 33, 46] Generated Node #0,2: 45:[61, 33, 46] Operation: 76-30=46 Moving to Node #0,0 Current State: 45:[33, 30, 15], Operations: ['76-61=15'] Exploring Operation: 33-30=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 45:[15, 3] Operation: 33-30=3 Exploring Operation: 30+15=45, Resulting Numbers: [33, 45] Generated Node #0,0,1: 45:[33, 45] Operation: 30+15=45 Exploring Operation: 30-15=15, Resulting Numbers: [33, 15] Generated Node #0,0,2: 45:[33, 15] Operation: 30-15=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[15, 3], Operations: ['76-61=15', '33-30=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[76, 61, 33, 30], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [33, 30, 15] Generated Node #0,0: 45:[33, 30, 15] Operation: 76-61=15 Moving to Node #0,0 Current State: 45:[33, 30, 15], Operations: ['76-61=15'] Exploring Operation: 33-30=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 45:[15, 3] Operation: 33-30=3 Moving to Node #0,0,0 Current State: 45:[15, 3], Operations: ['76-61=15', '33-30=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 97, 99, 71, 90 ]
52
[ "99-97=2", "71*2=142", "142-90=52" ]
Current State: 52:[97, 99, 71, 90], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [71, 90, 2] Generated Node #2: [71, 90, 2] from Operation: 99-97=2 Current State: 52:[71, 90, 2], Operations: ['99-97=2'] Exploring Operation: 71*2=142, Resulting Numbers: [90, 142] Generated Node #3: [90, 142] from Operation: 71*2=142 Current State: 52:[90, 142], Operations: ['99-97=2', '71*2=142'] Exploring Operation: 142-90=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[97, 99, 71, 90], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [99, 90, 26] Generated Node #0,0: 52:[99, 90, 26] Operation: 97-71=26 Exploring Operation: 99-71=28, Resulting Numbers: [97, 90, 28] Generated Node #0,1: 52:[97, 90, 28] Operation: 99-71=28 Exploring Operation: 97-90=7, Resulting Numbers: [99, 71, 7] Generated Node #0,2: 52:[99, 71, 7] Operation: 97-90=7 Exploring Operation: 99-97=2, Resulting Numbers: [71, 90, 2] Generated Node #0,3: 52:[71, 90, 2] Operation: 99-97=2 Exploring Operation: 99-90=9, Resulting Numbers: [97, 71, 9] Generated Node #0,4: 52:[97, 71, 9] Operation: 99-90=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[71, 90, 2], Operations: ['99-97=2'] Exploring Operation: 71-2=69, Resulting Numbers: [90, 69] Generated Node #0,3,0: 52:[90, 69] Operation: 71-2=69 Exploring Operation: 90/2=45, Resulting Numbers: [71, 45] Generated Node #0,3,1: 52:[71, 45] Operation: 90/2=45 Exploring Operation: 90-2=88, Resulting Numbers: [71, 88] Generated Node #0,3,2: 52:[71, 88] Operation: 90-2=88 Exploring Operation: 71+2=73, Resulting Numbers: [90, 73] Generated Node #0,3,3: 52:[90, 73] Operation: 71+2=73 Exploring Operation: 90-71=19, Resulting Numbers: [2, 19] Generated Node #0,3,4: 52:[2, 19] Operation: 90-71=19 Moving to Node #0,3,4 Current State: 52:[2, 19], Operations: ['99-97=2', '90-71=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[71, 45], Operations: ['99-97=2', '90/2=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,52 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[90, 69], Operations: ['99-97=2', '71-2=69'] Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,52 unequal: No Solution Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[71, 88], Operations: ['99-97=2', '90-2=88'] Exploring Operation: 71*88=6248, Resulting Numbers: [6248] 6248,52 unequal: No Solution Exploring Operation: 71+88=159, Resulting Numbers: [159] 159,52 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[90, 73], Operations: ['99-97=2', '71+2=73'] Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,52 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[97, 71, 9], Operations: ['99-90=9'] Exploring Operation: 97-9=88, Resulting Numbers: [71, 88] Generated Node #0,4,0: 52:[71, 88] Operation: 97-9=88 Exploring Operation: 97+9=106, Resulting Numbers: [71, 106] Generated Node #0,4,1: 52:[71, 106] Operation: 97+9=106 Exploring Operation: 97-71=26, Resulting Numbers: [9, 26] Generated Node #0,4,2: 52:[9, 26] Operation: 97-71=26 Exploring Operation: 71+9=80, Resulting Numbers: [97, 80] Generated Node #0,4,3: 52:[97, 80] Operation: 71+9=80 Exploring Operation: 71-9=62, Resulting Numbers: [97, 62] Generated Node #0,4,4: 52:[97, 62] Operation: 71-9=62 Moving to Node #0,4,2 Current State: 52:[9, 26], Operations: ['99-90=9', '97-71=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,52 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[97, 62], Operations: ['99-90=9', '71-9=62'] Exploring Operation: 97+62=159, Resulting Numbers: [159] 159,52 unequal: No Solution Exploring Operation: 97*62=6014, Resulting Numbers: [6014] 6014,52 unequal: No Solution Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[71, 88], Operations: ['99-90=9', '97-9=88'] Exploring Operation: 71*88=6248, Resulting Numbers: [6248] 6248,52 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 71+88=159, Resulting Numbers: [159] 159,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[71, 106], Operations: ['99-90=9', '97+9=106'] Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,52 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[97, 80], Operations: ['99-90=9', '71+9=80'] Exploring Operation: 97+80=177, Resulting Numbers: [177] 177,52 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 97*80=7760, Resulting Numbers: [7760] 7760,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,2 Current State: 52:[99, 71, 7], Operations: ['97-90=7'] Exploring Operation: 99-71=28, Resulting Numbers: [7, 28] Generated Node #0,2,0: 52:[7, 28] Operation: 99-71=28 Exploring Operation: 71+7=78, Resulting Numbers: [99, 78] Generated Node #0,2,1: 52:[99, 78] Operation: 71+7=78 Exploring Operation: 99-7=92, Resulting Numbers: [71, 92] Generated Node #0,2,2: 52:[71, 92] Operation: 99-7=92 Exploring Operation: 99+7=106, Resulting Numbers: [71, 106] Generated Node #0,2,3: 52:[71, 106] Operation: 99+7=106 Exploring Operation: 71-7=64, Resulting Numbers: [99, 64] Generated Node #0,2,4: 52:[99, 64] Operation: 71-7=64 Moving to Node #0,2,0 Current State: 52:[7, 28], Operations: ['97-90=7', '99-71=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[99, 64], Operations: ['97-90=7', '71-7=64'] Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 99*64=6336, Resulting Numbers: [6336] 6336,52 unequal: No Solution Exploring Operation: 99+64=163, Resulting Numbers: [163] 163,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[71, 92], Operations: ['97-90=7', '99-7=92'] Exploring Operation: 71+92=163, Resulting Numbers: [163] 163,52 unequal: No Solution Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 71*92=6532, Resulting Numbers: [6532] 6532,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[99, 78], Operations: ['97-90=7', '71+7=78'] Exploring Operation: 99*78=7722, Resulting Numbers: [7722] 7722,52 unequal: No Solution Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 99+78=177, Resulting Numbers: [177] 177,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[71, 106], Operations: ['97-90=7', '99+7=106'] Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,52 unequal: No Solution Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,52 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[99, 90, 26], Operations: ['97-71=26'] Exploring Operation: 90+26=116, Resulting Numbers: [99, 116] Generated Node #0,0,0: 52:[99, 116] Operation: 90+26=116 Exploring Operation: 99-26=73, Resulting Numbers: [90, 73] Generated Node #0,0,1: 52:[90, 73] Operation: 99-26=73 Exploring Operation: 99-90=9, Resulting Numbers: [26, 9] Generated Node #0,0,2: 52:[26, 9] Operation: 99-90=9 Exploring Operation: 99+26=125, Resulting Numbers: [90, 125] Generated Node #0,0,3: 52:[90, 125] Operation: 99+26=125 Exploring Operation: 90-26=64, Resulting Numbers: [99, 64] Generated Node #0,0,4: 52:[99, 64] Operation: 90-26=64 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[26, 9], Operations: ['97-71=26', '99-90=9'] Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,52 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[90, 73], Operations: ['97-71=26', '99-26=73'] Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,52 unequal: No Solution Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,52 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[99, 64], Operations: ['97-71=26', '90-26=64'] Exploring Operation: 99+64=163, Resulting Numbers: [163] 163,52 unequal: No Solution Exploring Operation: 99*64=6336, Resulting Numbers: [6336] 6336,52 unequal: No Solution Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[99, 116], Operations: ['97-71=26', '90+26=116'] Exploring Operation: 99+116=215, Resulting Numbers: [215] 215,52 unequal: No Solution Exploring Operation: 99*116=11484, Resulting Numbers: [11484] 11484,52 unequal: No Solution Exploring Operation: 116-99=17, Resulting Numbers: [17] 17,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[90, 125], Operations: ['97-71=26', '99+26=125'] Exploring Operation: 90+125=215, Resulting Numbers: [215] 215,52 unequal: No Solution Exploring Operation: 90*125=11250, Resulting Numbers: [11250] 11250,52 unequal: No Solution Exploring Operation: 125-90=35, Resulting Numbers: [35] 35,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,1 Current State: 52:[97, 90, 28], Operations: ['99-71=28'] Exploring Operation: 90+28=118, Resulting Numbers: [97, 118] Generated Node #0,1,0: 52:[97, 118] Operation: 90+28=118 Exploring Operation: 97-28=69, Resulting Numbers: [90, 69] Generated Node #0,1,1: 52:[90, 69] Operation: 97-28=69 Exploring Operation: 90-28=62, Resulting Numbers: [97, 62] Generated Node #0,1,2: 52:[97, 62] Operation: 90-28=62 Exploring Operation: 97-90=7, Resulting Numbers: [28, 7] Generated Node #0,1,3: 52:[28, 7] Operation: 97-90=7 Exploring Operation: 97+28=125, Resulting Numbers: [90, 125] Generated Node #0,1,4: 52:[90, 125] Operation: 97+28=125 Moving to Node #0,1,3 Current State: 52:[28, 7], Operations: ['99-71=28', '97-90=7'] Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,52 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[97, 62], Operations: ['99-71=28', '90-28=62'] Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 97*62=6014, Resulting Numbers: [6014] 6014,52 unequal: No Solution Exploring Operation: 97+62=159, Resulting Numbers: [159] 159,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[90, 69], Operations: ['99-71=28', '97-28=69'] Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,52 unequal: No Solution Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[97, 118], Operations: ['99-71=28', '90+28=118'] Exploring Operation: 118-97=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 97+118=215, Resulting Numbers: [215] 215,52 unequal: No Solution Exploring Operation: 97*118=11446, Resulting Numbers: [11446] 11446,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[90, 125], Operations: ['99-71=28', '97+28=125'] Exploring Operation: 90*125=11250, Resulting Numbers: [11250] 11250,52 unequal: No Solution Exploring Operation: 90+125=215, Resulting Numbers: [215] 215,52 unequal: No Solution Exploring Operation: 125-90=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 44, 17, 87, 73 ]
51
[ "73-44=29", "17*87=1479", "1479/29=51" ]
Current State: 51:[44, 17, 87, 73], Operations: [] Exploring Operation: 73-44=29, Resulting Numbers: [17, 87, 29] Generated Node #2: [17, 87, 29] from Operation: 73-44=29 Current State: 51:[17, 87, 29], Operations: ['73-44=29'] Exploring Operation: 17*87=1479, Resulting Numbers: [29, 1479] Generated Node #3: [29, 1479] from Operation: 17*87=1479 Current State: 51:[29, 1479], Operations: ['73-44=29', '17*87=1479'] Exploring Operation: 1479/29=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[44, 17, 87, 73], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [17, 73, 43] Generated Node #0,0: 51:[17, 73, 43] Operation: 87-44=43 Exploring Operation: 87-73=14, Resulting Numbers: [44, 17, 14] Generated Node #0,1: 51:[44, 17, 14] Operation: 87-73=14 Moving to Node #0,1 Current State: 51:[44, 17, 14], Operations: ['87-73=14'] Exploring Operation: 17-14=3, Resulting Numbers: [44, 3] Generated Node #0,1,0: 51:[44, 3] Operation: 17-14=3 Exploring Operation: 44+14=58, Resulting Numbers: [17, 58] Generated Node #0,1,1: 51:[17, 58] Operation: 44+14=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[44, 3], Operations: ['87-73=14', '17-14=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[17, 58], Operations: ['87-73=14', '44+14=58'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,51 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: 51:[17, 73, 43], Operations: ['87-44=43'] Exploring Operation: 73-43=30, Resulting Numbers: [17, 30] Generated Node #0,0,0: 51:[17, 30] Operation: 73-43=30 Exploring Operation: 73-17=56, Resulting Numbers: [43, 56] Generated Node #0,0,1: 51:[43, 56] Operation: 73-17=56 Moving to Node #0,0,0 Current State: 51:[17, 30], Operations: ['87-44=43', '73-43=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[43, 56], Operations: ['87-44=43', '73-17=56'] Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,51 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 14, 33, 32, 6 ]
36
[ "32-14=18", "18/6=3", "33+3=36" ]
Current State: 36:[14, 33, 32, 6], Operations: [] Exploring Operation: 32-14=18, Resulting Numbers: [33, 6, 18] Generated Node #2: [33, 6, 18] from Operation: 32-14=18 Current State: 36:[33, 6, 18], Operations: ['32-14=18'] Exploring Operation: 18/6=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 18/6=3 Current State: 36:[33, 3], Operations: ['32-14=18', '18/6=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[14, 33, 32, 6], Operations: [] Exploring Operation: 32+6=38, Resulting Numbers: [14, 33, 38] Generated Node #0,0: 36:[14, 33, 38] Operation: 32+6=38 Exploring Operation: 32-14=18, Resulting Numbers: [33, 6, 18] Generated Node #0,1: 36:[33, 6, 18] Operation: 32-14=18 Exploring Operation: 33-14=19, Resulting Numbers: [32, 6, 19] Generated Node #0,2: 36:[32, 6, 19] Operation: 33-14=19 Exploring Operation: 33-32=1, Resulting Numbers: [14, 6, 1] Generated Node #0,3: 36:[14, 6, 1] Operation: 33-32=1 Moving to Node #0,1 Current State: 36:[33, 6, 18], Operations: ['32-14=18'] Exploring Operation: 33+6=39, Resulting Numbers: [18, 39] Generated Node #0,1,0: 36:[18, 39] Operation: 33+6=39 Exploring Operation: 18/6=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 36:[33, 3] Operation: 18/6=3 Exploring Operation: 33-18=15, Resulting Numbers: [6, 15] Generated Node #0,1,2: 36:[6, 15] Operation: 33-18=15 Exploring Operation: 18-6=12, Resulting Numbers: [33, 12] Generated Node #0,1,3: 36:[33, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[18, 39], Operations: ['32-14=18', '33+6=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[33, 3], Operations: ['32-14=18', '18/6=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[14, 33, 32, 6], Operations: [] Exploring Operation: 32-14=18, Resulting Numbers: [33, 6, 18] Generated Node #0,1: 36:[33, 6, 18] Operation: 32-14=18 Moving to Node #0,1 Current State: 36:[33, 6, 18], Operations: ['32-14=18'] Exploring Operation: 18/6=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 36:[33, 3] Operation: 18/6=3 Moving to Node #0,1,1 Current State: 36:[33, 3], Operations: ['32-14=18', '18/6=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 91, 50, 24, 71 ]
60
[ "91-71=20", "50*24=1200", "1200/20=60" ]
Current State: 60:[91, 50, 24, 71], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [50, 24, 20] Generated Node #2: [50, 24, 20] from Operation: 91-71=20 Current State: 60:[50, 24, 20], Operations: ['91-71=20'] Exploring Operation: 50*24=1200, Resulting Numbers: [20, 1200] Generated Node #3: [20, 1200] from Operation: 50*24=1200 Current State: 60:[20, 1200], Operations: ['91-71=20', '50*24=1200'] Exploring Operation: 1200/20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[91, 50, 24, 71], Operations: [] Exploring Operation: 71-50=21, Resulting Numbers: [91, 24, 21] Generated Node #0,0: 60:[91, 24, 21] Operation: 71-50=21 Exploring Operation: 91-24=67, Resulting Numbers: [50, 71, 67] Generated Node #0,1: 60:[50, 71, 67] Operation: 91-24=67 Exploring Operation: 91-71=20, Resulting Numbers: [50, 24, 20] Generated Node #0,2: 60:[50, 24, 20] Operation: 91-71=20 Exploring Operation: 91-50=41, Resulting Numbers: [24, 71, 41] Generated Node #0,3: 60:[24, 71, 41] Operation: 91-50=41 Exploring Operation: 50-24=26, Resulting Numbers: [91, 71, 26] Generated Node #0,4: 60:[91, 71, 26] Operation: 50-24=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[50, 24, 20], Operations: ['91-71=20'] Exploring Operation: 50-20=30, Resulting Numbers: [24, 30] Generated Node #0,2,0: 60:[24, 30] Operation: 50-20=30 Exploring Operation: 24-20=4, Resulting Numbers: [50, 4] Generated Node #0,2,1: 60:[50, 4] Operation: 24-20=4 Exploring Operation: 50-24=26, Resulting Numbers: [20, 26] Generated Node #0,2,2: 60:[20, 26] Operation: 50-24=26 Exploring Operation: 50+20=70, Resulting Numbers: [24, 70] Generated Node #0,2,3: 60:[24, 70] Operation: 50+20=70 Exploring Operation: 50+24=74, Resulting Numbers: [20, 74] Generated Node #0,2,4: 60:[20, 74] Operation: 50+24=74 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[24, 30], Operations: ['91-71=20', '50-20=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,60 unequal: No Solution No 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: 60:[20, 26], Operations: ['91-71=20', '50-24=26'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,60 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,60 unequal: No Solution No 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: 60:[50, 4], Operations: ['91-71=20', '24-20=4'] Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,60 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,60 unequal: No Solution No 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: 60:[24, 70], Operations: ['91-71=20', '50+20=70'] Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,60 unequal: No Solution Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,60 unequal: No Solution No 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: 60:[20, 74], Operations: ['91-71=20', '50+24=74'] Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,60 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: 60:[24, 71, 41], Operations: ['91-50=41'] Exploring Operation: 71-24=47, Resulting Numbers: [41, 47] Generated Node #0,3,0: 60:[41, 47] Operation: 71-24=47 Exploring Operation: 24+41=65, Resulting Numbers: [71, 65] Generated Node #0,3,1: 60:[71, 65] Operation: 24+41=65 Exploring Operation: 71-41=30, Resulting Numbers: [24, 30] Generated Node #0,3,2: 60:[24, 30] Operation: 71-41=30 Exploring Operation: 41-24=17, Resulting Numbers: [71, 17] Generated Node #0,3,3: 60:[71, 17] Operation: 41-24=17 Exploring Operation: 24+71=95, Resulting Numbers: [41, 95] Generated Node #0,3,4: 60:[41, 95] Operation: 24+71=95 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[24, 30], Operations: ['91-50=41', '71-41=30'] Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,60 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,60 unequal: No Solution No 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: 60:[71, 17], Operations: ['91-50=41', '41-24=17'] Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,60 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,60 unequal: No Solution No 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: 60:[71, 65], Operations: ['91-50=41', '24+41=65'] Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 71+65=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 71*65=4615, Resulting Numbers: [4615] 4615,60 unequal: No Solution No 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: 60:[41, 47], Operations: ['91-50=41', '71-24=47'] Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,60 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,60 unequal: No Solution No 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: 60:[41, 95], Operations: ['91-50=41', '24+71=95'] Exploring Operation: 41+95=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 41*95=3895, Resulting Numbers: [3895] 3895,60 unequal: No Solution Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,60 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: 60:[50, 71, 67], Operations: ['91-24=67'] Exploring Operation: 71-67=4, Resulting Numbers: [50, 4] Generated Node #0,1,0: 60:[50, 4] Operation: 71-67=4 Exploring Operation: 50+67=117, Resulting Numbers: [71, 117] Generated Node #0,1,1: 60:[71, 117] Operation: 50+67=117 Exploring Operation: 50+71=121, Resulting Numbers: [67, 121] Generated Node #0,1,2: 60:[67, 121] Operation: 50+71=121 Exploring Operation: 71-50=21, Resulting Numbers: [67, 21] Generated Node #0,1,3: 60:[67, 21] Operation: 71-50=21 Exploring Operation: 67-50=17, Resulting Numbers: [71, 17] Generated Node #0,1,4: 60:[71, 17] Operation: 67-50=17 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 60:[67, 21], Operations: ['91-24=67', '71-50=21'] Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,60 unequal: No Solution Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,60 unequal: No Solution No 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: 60:[50, 4], Operations: ['91-24=67', '71-67=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,60 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 60:[71, 17], Operations: ['91-24=67', '67-50=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,60 unequal: No Solution No 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: 60:[71, 117], Operations: ['91-24=67', '50+67=117'] Exploring Operation: 71*117=8307, Resulting Numbers: [8307] 8307,60 unequal: No Solution Exploring Operation: 117-71=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 71+117=188, Resulting Numbers: [188] 188,60 unequal: No Solution No 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: 60:[67, 121], Operations: ['91-24=67', '50+71=121'] Exploring Operation: 67*121=8107, Resulting Numbers: [8107] 8107,60 unequal: No Solution Exploring Operation: 121-67=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 67+121=188, Resulting Numbers: [188] 188,60 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: 60:[91, 24, 21], Operations: ['71-50=21'] Exploring Operation: 91-21=70, Resulting Numbers: [24, 70] Generated Node #0,0,0: 60:[24, 70] Operation: 91-21=70 Exploring Operation: 24-21=3, Resulting Numbers: [91, 3] Generated Node #0,0,1: 60:[91, 3] Operation: 24-21=3 Exploring Operation: 24+21=45, Resulting Numbers: [91, 45] Generated Node #0,0,2: 60:[91, 45] Operation: 24+21=45 Exploring Operation: 91+24=115, Resulting Numbers: [21, 115] Generated Node #0,0,3: 60:[21, 115] Operation: 91+24=115 Exploring Operation: 91-24=67, Resulting Numbers: [21, 67] Generated Node #0,0,4: 60:[21, 67] Operation: 91-24=67 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 60:[21, 67], Operations: ['71-50=21', '91-24=67'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,60 unequal: No Solution No 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: 60:[24, 70], Operations: ['71-50=21', '91-21=70'] Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,60 unequal: No Solution No 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: 60:[91, 3], Operations: ['71-50=21', '24-21=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,60 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,60 unequal: No Solution No 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: 60:[91, 45], Operations: ['71-50=21', '24+21=45'] Exploring Operation: 91*45=4095, Resulting Numbers: [4095] 4095,60 unequal: No Solution Exploring Operation: 91+45=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,60 unequal: No Solution No 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: 60:[21, 115], Operations: ['71-50=21', '91+24=115'] Exploring Operation: 21+115=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 115-21=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 21*115=2415, Resulting Numbers: [2415] 2415,60 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: 60:[91, 71, 26], Operations: ['50-24=26'] Exploring Operation: 91+26=117, Resulting Numbers: [71, 117] Generated Node #0,4,0: 60:[71, 117] Operation: 91+26=117 Exploring Operation: 71+26=97, Resulting Numbers: [91, 97] Generated Node #0,4,1: 60:[91, 97] Operation: 71+26=97 Exploring Operation: 91-71=20, Resulting Numbers: [26, 20] Generated Node #0,4,2: 60:[26, 20] Operation: 91-71=20 Exploring Operation: 71-26=45, Resulting Numbers: [91, 45] Generated Node #0,4,3: 60:[91, 45] Operation: 71-26=45 Exploring Operation: 91-26=65, Resulting Numbers: [71, 65] Generated Node #0,4,4: 60:[71, 65] Operation: 91-26=65 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 60:[26, 20], Operations: ['50-24=26', '91-71=20'] Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,60 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 60:[71, 65], Operations: ['50-24=26', '91-26=65'] Exploring Operation: 71+65=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 71*65=4615, Resulting Numbers: [4615] 4615,60 unequal: No Solution No 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: 60:[91, 45], Operations: ['50-24=26', '71-26=45'] Exploring Operation: 91*45=4095, Resulting Numbers: [4095] 4095,60 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 91+45=136, Resulting Numbers: [136] 136,60 unequal: No Solution No 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: 60:[71, 117], Operations: ['50-24=26', '91+26=117'] Exploring Operation: 117-71=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 71*117=8307, Resulting Numbers: [8307] 8307,60 unequal: No Solution Exploring Operation: 71+117=188, Resulting Numbers: [188] 188,60 unequal: No Solution No 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: 60:[91, 97], Operations: ['50-24=26', '71+26=97'] Exploring Operation: 91*97=8827, Resulting Numbers: [8827] 8827,60 unequal: No Solution Exploring Operation: 91+97=188, Resulting Numbers: [188] 188,60 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,60 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
[ 7, 6, 86, 72 ]
92
[ "86-72=14", "7*14=98", "98-6=92" ]
Current State: 92:[7, 6, 86, 72], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [7, 6, 14] Generated Node #2: [7, 6, 14] from Operation: 86-72=14 Current State: 92:[7, 6, 14], Operations: ['86-72=14'] Exploring Operation: 7*14=98, Resulting Numbers: [6, 98] Generated Node #3: [6, 98] from Operation: 7*14=98 Current State: 92:[6, 98], Operations: ['86-72=14', '7*14=98'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[7, 6, 86, 72], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [7, 6, 14] Generated Node #0,0: 92:[7, 6, 14] Operation: 86-72=14 Exploring Operation: 72/6=12, Resulting Numbers: [7, 86, 12] Generated Node #0,1: 92:[7, 86, 12] Operation: 72/6=12 Exploring Operation: 7+72=79, Resulting Numbers: [6, 86, 79] Generated Node #0,2: 92:[6, 86, 79] Operation: 7+72=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[7, 6, 14], Operations: ['86-72=14'] Exploring Operation: 14/7=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 92:[6, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 92:[6, 7] Operation: 14-7=7 Exploring Operation: 7+14=21, Resulting Numbers: [6, 21] Generated Node #0,0,2: 92:[6, 21] Operation: 7+14=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[6, 2], Operations: ['86-72=14', '14/7=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,92 unequal: No Solution No 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: 92:[6, 21], Operations: ['86-72=14', '7+14=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,92 unequal: No Solution No 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: 92:[6, 7], Operations: ['86-72=14', '14-7=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,92 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: 92:[7, 86, 12], Operations: ['72/6=12'] Exploring Operation: 7+86=93, Resulting Numbers: [12, 93] Generated Node #0,1,0: 92:[12, 93] Operation: 7+86=93 Exploring Operation: 12-7=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 92:[86, 5] Operation: 12-7=5 Exploring Operation: 86+12=98, Resulting Numbers: [7, 98] Generated Node #0,1,2: 92:[7, 98] Operation: 86+12=98 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[86, 5], Operations: ['72/6=12', '12-7=5'] Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,92 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,92 unequal: No Solution No 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: 92:[12, 93], Operations: ['72/6=12', '7+86=93'] Exploring Operation: 12*93=1116, Resulting Numbers: [1116] 1116,92 unequal: No Solution Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 12+93=105, Resulting Numbers: [105] 105,92 unequal: No Solution No 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: 92:[7, 98], Operations: ['72/6=12', '86+12=98'] Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 7+98=105, Resulting Numbers: [105] 105,92 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: 92:[6, 86, 79], Operations: ['7+72=79'] Exploring Operation: 6+79=85, Resulting Numbers: [86, 85] Generated Node #0,2,0: 92:[86, 85] Operation: 6+79=85 Exploring Operation: 6+86=92, Resulting Numbers: [79, 92] Generated Node #0,2,1: 92:[79, 92] Operation: 6+86=92 Exploring Operation: 86-79=7, Resulting Numbers: [6, 7] Generated Node #0,2,2: 92:[6, 7] Operation: 86-79=7 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[6, 7], Operations: ['7+72=79', '86-79=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,92 unequal: No Solution No 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: 92:[86, 85], Operations: ['7+72=79', '6+79=85'] Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 86*85=7310, Resulting Numbers: [7310] 7310,92 unequal: No Solution Exploring Operation: 86+85=171, Resulting Numbers: [171] 171,92 unequal: No Solution No 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: 92:[79, 92], Operations: ['7+72=79', '6+86=92'] Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,92 unequal: No Solution Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,92 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,92 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
[ 57, 77, 39, 12 ]
71
[ "77-57=20", "39+12=51", "20+51=71" ]
Current State: 71:[57, 77, 39, 12], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [39, 12, 20] Generated Node #2: [39, 12, 20] from Operation: 77-57=20 Current State: 71:[39, 12, 20], Operations: ['77-57=20'] Exploring Operation: 39+12=51, Resulting Numbers: [20, 51] Generated Node #3: [20, 51] from Operation: 39+12=51 Current State: 71:[20, 51], Operations: ['77-57=20', '39+12=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[57, 77, 39, 12], Operations: [] Exploring Operation: 57+12=69, Resulting Numbers: [77, 39, 69] Generated Node #0,0: 71:[77, 39, 69] Operation: 57+12=69 Exploring Operation: 39+12=51, Resulting Numbers: [57, 77, 51] Generated Node #0,1: 71:[57, 77, 51] Operation: 39+12=51 Exploring Operation: 77-12=65, Resulting Numbers: [57, 39, 65] Generated Node #0,2: 71:[57, 39, 65] Operation: 77-12=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[77, 39, 69], Operations: ['57+12=69'] Exploring Operation: 77+39=116, Resulting Numbers: [69, 116] Generated Node #0,0,0: 71:[69, 116] Operation: 77+39=116 Exploring Operation: 39+69=108, Resulting Numbers: [77, 108] Generated Node #0,0,1: 71:[77, 108] Operation: 39+69=108 Exploring Operation: 77-39=38, Resulting Numbers: [69, 38] Generated Node #0,0,2: 71:[69, 38] Operation: 77-39=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[69, 38], Operations: ['57+12=69', '77-39=38'] Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,71 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[77, 108], Operations: ['57+12=69', '39+69=108'] Exploring Operation: 77*108=8316, Resulting Numbers: [8316] 8316,71 unequal: No Solution Exploring Operation: 77+108=185, Resulting Numbers: [185] 185,71 unequal: No Solution Exploring Operation: 108-77=31, Resulting Numbers: [31] 31,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[69, 116], Operations: ['57+12=69', '77+39=116'] Exploring Operation: 69*116=8004, Resulting Numbers: [8004] 8004,71 unequal: No Solution Exploring Operation: 69+116=185, Resulting Numbers: [185] 185,71 unequal: No Solution Exploring Operation: 116-69=47, Resulting Numbers: [47] 47,71 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: 71:[57, 77, 51], Operations: ['39+12=51'] Exploring Operation: 77-51=26, Resulting Numbers: [57, 26] Generated Node #0,1,0: 71:[57, 26] Operation: 77-51=26 Exploring Operation: 77-57=20, Resulting Numbers: [51, 20] Generated Node #0,1,1: 71:[51, 20] Operation: 77-57=20 Exploring Operation: 57+51=108, Resulting Numbers: [77, 108] Generated Node #0,1,2: 71:[77, 108] Operation: 57+51=108 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[77, 108], Operations: ['39+12=51', '57+51=108'] Exploring Operation: 108-77=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 77+108=185, Resulting Numbers: [185] 185,71 unequal: No Solution Exploring Operation: 77*108=8316, Resulting Numbers: [8316] 8316,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[57, 26], Operations: ['39+12=51', '77-51=26'] Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,71 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[51, 20], Operations: ['39+12=51', '77-57=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,71 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[57, 77, 39, 12], Operations: [] Exploring Operation: 39+12=51, Resulting Numbers: [57, 77, 51] Generated Node #0,1: 71:[57, 77, 51] Operation: 39+12=51 Moving to Node #0,1 Current State: 71:[57, 77, 51], Operations: ['39+12=51'] Exploring Operation: 77-57=20, Resulting Numbers: [51, 20] Generated Node #0,1,1: 71:[51, 20] Operation: 77-57=20 Moving to Node #0,1,1 Current State: 71:[51, 20], Operations: ['39+12=51', '77-57=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 85, 4, 78, 59 ]
31
[ "85-78=7", "4*7=28", "59-28=31" ]
Current State: 31:[85, 4, 78, 59], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [4, 59, 7] Generated Node #2: [4, 59, 7] from Operation: 85-78=7 Current State: 31:[4, 59, 7], Operations: ['85-78=7'] Exploring Operation: 4*7=28, Resulting Numbers: [59, 28] Generated Node #3: [59, 28] from Operation: 4*7=28 Current State: 31:[59, 28], Operations: ['85-78=7', '4*7=28'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[85, 4, 78, 59], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [4, 59, 7] Generated Node #0,0: 31:[4, 59, 7] Operation: 85-78=7 Moving to Node #0,0 Current State: 31:[4, 59, 7], Operations: ['85-78=7'] Exploring Operation: 4*7=28, Resulting Numbers: [59, 28] Generated Node #0,0,0: 31:[59, 28] Operation: 4*7=28 Moving to Node #0,0,0 Current State: 31:[59, 28], Operations: ['85-78=7', '4*7=28'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[85, 4, 78, 59], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [4, 59, 7] Generated Node #0,0: 31:[4, 59, 7] Operation: 85-78=7 Moving to Node #0,0 Current State: 31:[4, 59, 7], Operations: ['85-78=7'] Exploring Operation: 4*7=28, Resulting Numbers: [59, 28] Generated Node #0,0,0: 31:[59, 28] Operation: 4*7=28 Moving to Node #0,0,0 Current State: 31:[59, 28], Operations: ['85-78=7', '4*7=28'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 67, 38, 99, 71 ]
25
[ "67*38=2546", "2546-71=2475", "2475/99=25" ]
Current State: 25:[67, 38, 99, 71], Operations: [] Exploring Operation: 67*38=2546, Resulting Numbers: [99, 71, 2546] Generated Node #2: [99, 71, 2546] from Operation: 67*38=2546 Current State: 25:[99, 71, 2546], Operations: ['67*38=2546'] Exploring Operation: 2546-71=2475, Resulting Numbers: [99, 2475] Generated Node #3: [99, 2475] from Operation: 2546-71=2475 Current State: 25:[99, 2475], Operations: ['67*38=2546', '2546-71=2475'] Exploring Operation: 2475/99=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[67, 38, 99, 71], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [67, 38, 28] Generated Node #0,0: 25:[67, 38, 28] Operation: 99-71=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[67, 38, 28], Operations: ['99-71=28'] Exploring Operation: 67-38=29, Resulting Numbers: [28, 29] Generated Node #0,0,0: 25:[28, 29] Operation: 67-38=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[28, 29], Operations: ['99-71=28', '67-38=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,25 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
[ 13, 52, 6, 33 ]
66
[ "52-13=39", "33-6=27", "39+27=66" ]
Current State: 66:[13, 52, 6, 33], Operations: [] Exploring Operation: 52-13=39, Resulting Numbers: [6, 33, 39] Generated Node #2: [6, 33, 39] from Operation: 52-13=39 Current State: 66:[6, 33, 39], Operations: ['52-13=39'] Exploring Operation: 33-6=27, Resulting Numbers: [39, 27] Generated Node #3: [39, 27] from Operation: 33-6=27 Current State: 66:[39, 27], Operations: ['52-13=39', '33-6=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[13, 52, 6, 33], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [6, 33, 4] Generated Node #0,0: 66:[6, 33, 4] Operation: 52/13=4 Exploring Operation: 13+52=65, Resulting Numbers: [6, 33, 65] Generated Node #0,1: 66:[6, 33, 65] Operation: 13+52=65 Exploring Operation: 52-33=19, Resulting Numbers: [13, 6, 19] Generated Node #0,2: 66:[13, 6, 19] Operation: 52-33=19 Moving to Node #0,0 Current State: 66:[6, 33, 4], Operations: ['52/13=4'] Exploring Operation: 6+4=10, Resulting Numbers: [33, 10] Generated Node #0,0,0: 66:[33, 10] Operation: 6+4=10 Exploring Operation: 6*4=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 66:[33, 24] Operation: 6*4=24 Exploring Operation: 6-4=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 66:[33, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[33, 2], Operations: ['52/13=4', '6-4=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[13, 52, 6, 33], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [6, 33, 4] Generated Node #0,0: 66:[6, 33, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 66:[6, 33, 4], Operations: ['52/13=4'] Exploring Operation: 6-4=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 66:[33, 2] Operation: 6-4=2 Moving to Node #0,0,2 Current State: 66:[33, 2], Operations: ['52/13=4', '6-4=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 36, 94, 4, 26 ]
39
[ "36+94=130", "26+130=156", "156/4=39" ]
Current State: 39:[36, 94, 4, 26], Operations: [] Exploring Operation: 36+94=130, Resulting Numbers: [4, 26, 130] Generated Node #2: [4, 26, 130] from Operation: 36+94=130 Current State: 39:[4, 26, 130], Operations: ['36+94=130'] Exploring Operation: 26+130=156, Resulting Numbers: [4, 156] Generated Node #3: [4, 156] from Operation: 26+130=156 Current State: 39:[4, 156], Operations: ['36+94=130', '26+130=156'] Exploring Operation: 156/4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[36, 94, 4, 26], Operations: [] Exploring Operation: 94-36=58, Resulting Numbers: [4, 26, 58] Generated Node #0,0: 39:[4, 26, 58] Operation: 94-36=58 Exploring Operation: 94-26=68, Resulting Numbers: [36, 4, 68] Generated Node #0,1: 39:[36, 4, 68] Operation: 94-26=68 Moving to Node #0,0 Current State: 39:[4, 26, 58], Operations: ['94-36=58'] Exploring Operation: 4+26=30, Resulting Numbers: [58, 30] Generated Node #0,0,0: 39:[58, 30] Operation: 4+26=30 Exploring Operation: 58-26=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 39:[4, 32] Operation: 58-26=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[4, 32], Operations: ['94-36=58', '58-26=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,39 unequal: No Solution No 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: 39:[58, 30], Operations: ['94-36=58', '4+26=30'] Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,39 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,39 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: 39:[36, 4, 68], Operations: ['94-26=68'] Exploring Operation: 68/4=17, Resulting Numbers: [36, 17] Generated Node #0,1,0: 39:[36, 17] Operation: 68/4=17 Exploring Operation: 68-36=32, Resulting Numbers: [4, 32] Generated Node #0,1,1: 39:[4, 32] Operation: 68-36=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[36, 17], Operations: ['94-26=68', '68/4=17'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,39 unequal: No Solution No solution 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: 39:[4, 32], Operations: ['94-26=68', '68-36=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,39 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, 35, 92, 35 ]
87
[ "92-4=88", "35/35=1", "88-1=87" ]
Current State: 87:[4, 35, 92, 35], Operations: [] Exploring Operation: 92-4=88, Resulting Numbers: [35, 35, 88] Generated Node #2: [35, 35, 88] from Operation: 92-4=88 Current State: 87:[35, 35, 88], Operations: ['92-4=88'] Exploring Operation: 35/35=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 35/35=1 Current State: 87:[88, 1], Operations: ['92-4=88', '35/35=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[4, 35, 92, 35], Operations: [] Exploring Operation: 35-4=31, Resulting Numbers: [92, 35, 31] Generated Node #0,0: 87:[92, 35, 31] Operation: 35-4=31 Exploring Operation: 35/35=1, Resulting Numbers: [4, 92, 1] Generated Node #0,1: 87:[4, 92, 1] Operation: 35/35=1 Exploring Operation: 35-35=0, Resulting Numbers: [4, 92, 0] Generated Node #0,2: 87:[4, 92, 0] Operation: 35-35=0 Moving to Node #0,1 Current State: 87:[4, 92, 1], Operations: ['35/35=1'] Exploring Operation: 92-1=91, Resulting Numbers: [4, 91] Generated Node #0,1,0: 87:[4, 91] Operation: 92-1=91 Exploring Operation: 92-4=88, Resulting Numbers: [1, 88] Generated Node #0,1,1: 87:[1, 88] Operation: 92-4=88 Exploring Operation: 4-1=3, Resulting Numbers: [92, 3] Generated Node #0,1,2: 87:[92, 3] Operation: 4-1=3 Moving to Node #0,2 Current State: 87:[4, 92, 0], Operations: ['35-35=0'] Exploring Operation: 92-4=88, Resulting Numbers: [0, 88] Generated Node #0,2,0: 87:[0, 88] Operation: 92-4=88 Exploring Operation: 92*0=0, Resulting Numbers: [4, 0] Generated Node #0,2,1: 87:[4, 0] Operation: 92*0=0 Exploring Operation: 4+0=4, Resulting Numbers: [92, 4] Generated Node #0,2,2: 87:[92, 4] Operation: 4+0=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[0, 88], Operations: ['35-35=0', '92-4=88'] Exploring Operation: 0+88=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 0*88=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 88-0=88, Resulting Numbers: [88] 88,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[4, 0], Operations: ['35-35=0', '92*0=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[92, 4], Operations: ['35-35=0', '4+0=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,87 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: 87:[92, 35, 31], Operations: ['35-4=31'] Exploring Operation: 92-35=57, Resulting Numbers: [31, 57] Generated Node #0,0,0: 87:[31, 57] Operation: 92-35=57 Exploring Operation: 35-31=4, Resulting Numbers: [92, 4] Generated Node #0,0,1: 87:[92, 4] Operation: 35-31=4 Exploring Operation: 35+31=66, Resulting Numbers: [92, 66] Generated Node #0,0,2: 87:[92, 66] Operation: 35+31=66 Moving to Node #0,1,1 Current State: 87:[1, 88], Operations: ['35/35=1', '92-4=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[4, 35, 92, 35], Operations: [] Exploring Operation: 35/35=1, Resulting Numbers: [4, 92, 1] Generated Node #0,1: 87:[4, 92, 1] Operation: 35/35=1 Moving to Node #0,1 Current State: 87:[4, 92, 1], Operations: ['35/35=1'] Exploring Operation: 92-4=88, Resulting Numbers: [1, 88] Generated Node #0,1,1: 87:[1, 88] Operation: 92-4=88 Moving to Node #0,1,1 Current State: 87:[1, 88], Operations: ['35/35=1', '92-4=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 76, 11, 18, 2 ]
81
[ "76-11=65", "18-2=16", "65+16=81" ]
Current State: 81:[76, 11, 18, 2], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [18, 2, 65] Generated Node #2: [18, 2, 65] from Operation: 76-11=65 Current State: 81:[18, 2, 65], Operations: ['76-11=65'] Exploring Operation: 18-2=16, Resulting Numbers: [65, 16] Generated Node #3: [65, 16] from Operation: 18-2=16 Current State: 81:[65, 16], Operations: ['76-11=65', '18-2=16'] Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[76, 11, 18, 2], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [76, 11, 9] Generated Node #0,0: 81:[76, 11, 9] Operation: 18/2=9 Moving to Node #0,0 Current State: 81:[76, 11, 9], Operations: ['18/2=9'] Exploring Operation: 76+11=87, Resulting Numbers: [9, 87] Generated Node #0,0,0: 81:[9, 87] Operation: 76+11=87 Moving to Node #0,0,0 Current State: 81:[9, 87], Operations: ['18/2=9', '76+11=87'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,81 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 36, 91, 47, 92 ]
54
[ "91+47=138", "36*138=4968", "4968/92=54" ]
Current State: 54:[36, 91, 47, 92], Operations: [] Exploring Operation: 91+47=138, Resulting Numbers: [36, 92, 138] Generated Node #2: [36, 92, 138] from Operation: 91+47=138 Current State: 54:[36, 92, 138], Operations: ['91+47=138'] Exploring Operation: 36*138=4968, Resulting Numbers: [92, 4968] Generated Node #3: [92, 4968] from Operation: 36*138=4968 Current State: 54:[92, 4968], Operations: ['91+47=138', '36*138=4968'] Exploring Operation: 4968/92=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[36, 91, 47, 92], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [36, 47, 1] Generated Node #0,0: 54:[36, 47, 1] Operation: 92-91=1 Moving to Node #0,0 Current State: 54:[36, 47, 1], Operations: ['92-91=1'] Exploring Operation: 47-36=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 54:[1, 11] Operation: 47-36=11 Moving to Node #0,0,0 Current State: 54:[1, 11], Operations: ['92-91=1', '47-36=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,54 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 23, 26, 43 ]
49
[ "9+23=32", "43-26=17", "32+17=49" ]
Current State: 49:[9, 23, 26, 43], Operations: [] Exploring Operation: 9+23=32, Resulting Numbers: [26, 43, 32] Generated Node #2: [26, 43, 32] from Operation: 9+23=32 Current State: 49:[26, 43, 32], Operations: ['9+23=32'] Exploring Operation: 43-26=17, Resulting Numbers: [32, 17] Generated Node #3: [32, 17] from Operation: 43-26=17 Current State: 49:[32, 17], Operations: ['9+23=32', '43-26=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[9, 23, 26, 43], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [9, 23, 17] Generated Node #0,0: 49:[9, 23, 17] Operation: 43-26=17 Exploring Operation: 26-23=3, Resulting Numbers: [9, 43, 3] Generated Node #0,1: 49:[9, 43, 3] Operation: 26-23=3 Exploring Operation: 23+26=49, Resulting Numbers: [9, 43, 49] Generated Node #0,2: 49:[9, 43, 49] Operation: 23+26=49 Moving to Node #0,2 Current State: 49:[9, 43, 49], Operations: ['23+26=49'] Exploring Operation: 43-9=34, Resulting Numbers: [49, 34] Generated Node #0,2,0: 49:[49, 34] Operation: 43-9=34 Exploring Operation: 9+43=52, Resulting Numbers: [49, 52] Generated Node #0,2,1: 49:[49, 52] Operation: 9+43=52 Exploring Operation: 49-43=6, Resulting Numbers: [9, 6] Generated Node #0,2,2: 49:[9, 6] Operation: 49-43=6 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[49, 52], Operations: ['23+26=49', '9+43=52'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,49 unequal: No Solution Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,49 unequal: No Solution No 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: 49:[9, 6], Operations: ['23+26=49', '49-43=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,49 unequal: No Solution No 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: 49:[49, 34], Operations: ['23+26=49', '43-9=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,49 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,49 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: 49:[9, 43, 3], Operations: ['26-23=3'] Exploring Operation: 43+3=46, Resulting Numbers: [9, 46] Generated Node #0,1,0: 49:[9, 46] Operation: 43+3=46 Exploring Operation: 9+43=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 49:[3, 52] Operation: 9+43=52 Exploring Operation: 9-3=6, Resulting Numbers: [43, 6] Generated Node #0,1,2: 49:[43, 6] Operation: 9-3=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[9, 46], Operations: ['26-23=3', '43+3=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,49 unequal: No Solution No solution 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: 49:[3, 52], Operations: ['26-23=3', '9+43=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[9, 23, 26, 43], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [9, 43, 3] Generated Node #0,1: 49:[9, 43, 3] Operation: 26-23=3 Moving to Node #0,1 Current State: 49:[9, 43, 3], Operations: ['26-23=3'] Exploring Operation: 9+43=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 49:[3, 52] Operation: 9+43=52 Moving to Node #0,1,1 Current State: 49:[3, 52], Operations: ['26-23=3', '9+43=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 28, 30, 89, 21 ]
47
[ "30-28=2", "21*2=42", "89-42=47" ]
Current State: 47:[28, 30, 89, 21], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [89, 21, 2] Generated Node #2: [89, 21, 2] from Operation: 30-28=2 Current State: 47:[89, 21, 2], Operations: ['30-28=2'] Exploring Operation: 21*2=42, Resulting Numbers: [89, 42] Generated Node #3: [89, 42] from Operation: 21*2=42 Current State: 47:[89, 42], Operations: ['30-28=2', '21*2=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[28, 30, 89, 21], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [28, 21, 59] Generated Node #0,0: 47:[28, 21, 59] Operation: 89-30=59 Exploring Operation: 89-28=61, Resulting Numbers: [30, 21, 61] Generated Node #0,1: 47:[30, 21, 61] Operation: 89-28=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[28, 21, 59], Operations: ['89-30=59'] Exploring Operation: 28+21=49, Resulting Numbers: [59, 49] Generated Node #0,0,0: 47:[59, 49] Operation: 28+21=49 Exploring Operation: 59-21=38, Resulting Numbers: [28, 38] Generated Node #0,0,1: 47:[28, 38] Operation: 59-21=38 Moving to Node #0,0,0 Current State: 47:[59, 49], Operations: ['89-30=59', '28+21=49'] Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,47 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[28, 38], Operations: ['89-30=59', '59-21=38'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[30, 21, 61], Operations: ['89-28=61'] Exploring Operation: 61-21=40, Resulting Numbers: [30, 40] Generated Node #0,1,0: 47:[30, 40] Operation: 61-21=40 Exploring Operation: 30+21=51, Resulting Numbers: [61, 51] Generated Node #0,1,1: 47:[61, 51] Operation: 30+21=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[61, 51], Operations: ['89-28=61', '30+21=51'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[30, 40], Operations: ['89-28=61', '61-21=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 97, 38, 80, 79 ]
58
[ "97-38=59", "80-79=1", "59-1=58" ]
Current State: 58:[97, 38, 80, 79], Operations: [] Exploring Operation: 97-38=59, Resulting Numbers: [80, 79, 59] Generated Node #2: [80, 79, 59] from Operation: 97-38=59 Current State: 58:[80, 79, 59], Operations: ['97-38=59'] Exploring Operation: 80-79=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 80-79=1 Current State: 58:[59, 1], Operations: ['97-38=59', '80-79=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[97, 38, 80, 79], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [97, 79, 42] Generated Node #0,0: 58:[97, 79, 42] Operation: 80-38=42 Exploring Operation: 97-79=18, Resulting Numbers: [38, 80, 18] Generated Node #0,1: 58:[38, 80, 18] Operation: 97-79=18 Exploring Operation: 97-80=17, Resulting Numbers: [38, 79, 17] Generated Node #0,2: 58:[38, 79, 17] Operation: 97-80=17 Exploring Operation: 80-79=1, Resulting Numbers: [97, 38, 1] Generated Node #0,3: 58:[97, 38, 1] Operation: 80-79=1 Exploring Operation: 97-38=59, Resulting Numbers: [80, 79, 59] Generated Node #0,4: 58:[80, 79, 59] Operation: 97-38=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[38, 80, 18], Operations: ['97-79=18'] Exploring Operation: 38-18=20, Resulting Numbers: [80, 20] Generated Node #0,1,0: 58:[80, 20] Operation: 38-18=20 Exploring Operation: 38+18=56, Resulting Numbers: [80, 56] Generated Node #0,1,1: 58:[80, 56] Operation: 38+18=56 Exploring Operation: 80-38=42, Resulting Numbers: [18, 42] Generated Node #0,1,2: 58:[18, 42] Operation: 80-38=42 Exploring Operation: 80-18=62, Resulting Numbers: [38, 62] Generated Node #0,1,3: 58:[38, 62] Operation: 80-18=62 Exploring Operation: 80+18=98, Resulting Numbers: [38, 98] Generated Node #0,1,4: 58:[38, 98] Operation: 80+18=98 Moving to Node #0,1,3 Current State: 58:[38, 62], Operations: ['97-79=18', '80-18=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,58 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[18, 42], Operations: ['97-79=18', '80-38=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[80, 56], Operations: ['97-79=18', '38+18=56'] Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,58 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[80, 20], Operations: ['97-79=18', '38-18=20'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,58 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[38, 98], Operations: ['97-79=18', '80+18=98'] Exploring Operation: 38+98=136, Resulting Numbers: [136] 136,58 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 38*98=3724, Resulting Numbers: [3724] 3724,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[38, 79, 17], Operations: ['97-80=17'] Exploring Operation: 79-17=62, Resulting Numbers: [38, 62] Generated Node #0,2,0: 58:[38, 62] Operation: 79-17=62 Exploring Operation: 38+17=55, Resulting Numbers: [79, 55] Generated Node #0,2,1: 58:[79, 55] Operation: 38+17=55 Exploring Operation: 38-17=21, Resulting Numbers: [79, 21] Generated Node #0,2,2: 58:[79, 21] Operation: 38-17=21 Exploring Operation: 79-38=41, Resulting Numbers: [17, 41] Generated Node #0,2,3: 58:[17, 41] Operation: 79-38=41 Exploring Operation: 79+17=96, Resulting Numbers: [38, 96] Generated Node #0,2,4: 58:[38, 96] Operation: 79+17=96 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 58:[38, 62], Operations: ['97-80=17', '79-17=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,58 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[79, 55], Operations: ['97-80=17', '38+17=55'] Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 79*55=4345, Resulting Numbers: [4345] 4345,58 unequal: No Solution Exploring Operation: 79+55=134, Resulting Numbers: [134] 134,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 58:[17, 41], Operations: ['97-80=17', '79-38=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[97, 38, 80, 79], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [38, 79, 17] Generated Node #0,2: 58:[38, 79, 17] Operation: 97-80=17 Moving to Node #0,2 Current State: 58:[38, 79, 17], Operations: ['97-80=17'] Exploring Operation: 79-38=41, Resulting Numbers: [17, 41] Generated Node #0,2,3: 58:[17, 41] Operation: 79-38=41 Moving to Node #0,2,3 Current State: 58:[17, 41], Operations: ['97-80=17', '79-38=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic