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
[ 54, 36, 62, 33 ]
80
[ "36-33=3", "54/3=18", "62+18=80" ]
Current State: 80:[54, 36, 62, 33], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [54, 62, 3] Generated Node #2: [54, 62, 3] from Operation: 36-33=3 Current State: 80:[54, 62, 3], Operations: ['36-33=3'] Exploring Operation: 54/3=18, Resulting Numbers: [62, 18] Generated Node #3: [62, 18] from Operation: 54/3=18 Current State: 80:[62, 18], Operations: ['36-33=3', '54/3=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[54, 36, 62, 33], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [36, 62, 21] Generated Node #0,0: 80:[36, 62, 21] Operation: 54-33=21 Exploring Operation: 62-54=8, Resulting Numbers: [36, 33, 8] Generated Node #0,1: 80:[36, 33, 8] Operation: 62-54=8 Exploring Operation: 54-36=18, Resulting Numbers: [62, 33, 18] Generated Node #0,2: 80:[62, 33, 18] Operation: 54-36=18 Moving to Node #0,1 Current State: 80:[36, 33, 8], Operations: ['62-54=8'] Exploring Operation: 36-33=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 80:[8, 3] Operation: 36-33=3 Exploring Operation: 33-8=25, Resulting Numbers: [36, 25] Generated Node #0,1,1: 80:[36, 25] Operation: 33-8=25 Exploring Operation: 33+8=41, Resulting Numbers: [36, 41] Generated Node #0,1,2: 80:[36, 41] Operation: 33+8=41 Moving to Node #0,0 Current State: 80:[36, 62, 21], Operations: ['54-33=21'] Exploring Operation: 62-36=26, Resulting Numbers: [21, 26] Generated Node #0,0,0: 80:[21, 26] Operation: 62-36=26 Exploring Operation: 62+21=83, Resulting Numbers: [36, 83] Generated Node #0,0,1: 80:[36, 83] Operation: 62+21=83 Exploring Operation: 62-21=41, Resulting Numbers: [36, 41] Generated Node #0,0,2: 80:[36, 41] Operation: 62-21=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[36, 41], Operations: ['54-33=21', '62-21=41'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,80 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[21, 26], Operations: ['54-33=21', '62-36=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[36, 83], Operations: ['54-33=21', '62+21=83'] Exploring Operation: 36*83=2988, Resulting Numbers: [2988] 2988,80 unequal: No Solution Exploring Operation: 36+83=119, Resulting Numbers: [119] 119,80 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[62, 33, 18], Operations: ['54-36=18'] Exploring Operation: 62-18=44, Resulting Numbers: [33, 44] Generated Node #0,2,0: 80:[33, 44] Operation: 62-18=44 Exploring Operation: 62-33=29, Resulting Numbers: [18, 29] Generated Node #0,2,1: 80:[18, 29] Operation: 62-33=29 Exploring Operation: 62+18=80, Resulting Numbers: [33, 80] Generated Node #0,2,2: 80:[33, 80] Operation: 62+18=80 Moving to Node #0,1,0 Current State: 80:[8, 3], Operations: ['62-54=8', '36-33=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[36, 41], Operations: ['62-54=8', '33+8=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,80 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[33, 80], Operations: ['54-36=18', '62+18=80'] Exploring Operation: 33*80=2640, Resulting Numbers: [2640] 2640,80 unequal: No Solution Exploring Operation: 33+80=113, Resulting Numbers: [113] 113,80 unequal: No Solution Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[36, 25], Operations: ['62-54=8', '33-8=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,80 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[18, 29], Operations: ['54-36=18', '62-33=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[33, 44], Operations: ['54-36=18', '62-18=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,80 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,80 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 41, 58, 15, 65 ]
18
[ "58+65=123", "123/41=3", "15+3=18" ]
Current State: 18:[41, 58, 15, 65], Operations: [] Exploring Operation: 58+65=123, Resulting Numbers: [41, 15, 123] Generated Node #2: [41, 15, 123] from Operation: 58+65=123 Current State: 18:[41, 15, 123], Operations: ['58+65=123'] Exploring Operation: 123/41=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 123/41=3 Current State: 18:[15, 3], Operations: ['58+65=123', '123/41=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[41, 58, 15, 65], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [41, 15, 7] Generated Node #0,0: 18:[41, 15, 7] Operation: 65-58=7 Exploring Operation: 65-41=24, Resulting Numbers: [58, 15, 24] Generated Node #0,1: 18:[58, 15, 24] Operation: 65-41=24 Moving to Node #0,0 Current State: 18:[41, 15, 7], Operations: ['65-58=7'] Exploring Operation: 41-15=26, Resulting Numbers: [7, 26] Generated Node #0,0,0: 18:[7, 26] Operation: 41-15=26 Exploring Operation: 41-7=34, Resulting Numbers: [15, 34] Generated Node #0,0,1: 18:[15, 34] Operation: 41-7=34 Moving to Node #0,1 Current State: 18:[58, 15, 24], Operations: ['65-41=24'] Exploring Operation: 58-15=43, Resulting Numbers: [24, 43] Generated Node #0,1,0: 18:[24, 43] Operation: 58-15=43 Exploring Operation: 58-24=34, Resulting Numbers: [15, 34] Generated Node #0,1,1: 18:[15, 34] Operation: 58-24=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[15, 34], Operations: ['65-41=24', '58-24=34'] Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[24, 43], Operations: ['65-41=24', '58-15=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 18:[7, 26], Operations: ['65-58=7', '41-15=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[15, 34], Operations: ['65-58=7', '41-7=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,18 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 93, 13, 71, 22 ]
13
[ "93+13=106", "71+22=93", "106-93=13" ]
Current State: 13:[93, 13, 71, 22], Operations: [] Exploring Operation: 93+13=106, Resulting Numbers: [71, 22, 106] Generated Node #2: [71, 22, 106] from Operation: 93+13=106 Current State: 13:[71, 22, 106], Operations: ['93+13=106'] Exploring Operation: 71+22=93, Resulting Numbers: [106, 93] Generated Node #3: [106, 93] from Operation: 71+22=93 Current State: 13:[106, 93], Operations: ['93+13=106', '71+22=93'] Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[93, 13, 71, 22], Operations: [] Exploring Operation: 93-22=71, Resulting Numbers: [13, 71, 71] Generated Node #0,0: 13:[13, 71, 71] Operation: 93-22=71 Exploring Operation: 93-71=22, Resulting Numbers: [13, 22, 22] Generated Node #0,1: 13:[13, 22, 22] Operation: 93-71=22 Exploring Operation: 71-22=49, Resulting Numbers: [93, 13, 49] Generated Node #0,2: 13:[93, 13, 49] Operation: 71-22=49 Exploring Operation: 71-13=58, Resulting Numbers: [93, 22, 58] Generated Node #0,3: 13:[93, 22, 58] Operation: 71-13=58 Exploring Operation: 93-13=80, Resulting Numbers: [71, 22, 80] Generated Node #0,4: 13:[71, 22, 80] Operation: 93-13=80 Moving to Node #0,1 Current State: 13:[13, 22, 22], Operations: ['93-71=22'] Exploring Operation: 22/22=1, Resulting Numbers: [13, 1] Generated Node #0,1,0: 13:[13, 1] Operation: 22/22=1 Exploring Operation: 22-22=0, Resulting Numbers: [13, 0] Generated Node #0,1,1: 13:[13, 0] Operation: 22-22=0 Exploring Operation: 22-13=9, Resulting Numbers: [22, 9] Generated Node #0,1,2: 13:[22, 9] Operation: 22-13=9 Exploring Operation: 13+22=35, Resulting Numbers: [22, 35] Generated Node #0,1,3: 13:[22, 35] Operation: 13+22=35 Exploring Operation: 22-13=9, Resulting Numbers: [22, 9] Generated Node #0,1,4: 13:[22, 9] Operation: 22-13=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[13, 1], Operations: ['93-71=22', '22/22=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[93, 13, 71, 22], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [13, 22, 22] Generated Node #0,1: 13:[13, 22, 22] Operation: 93-71=22 Moving to Node #0,1 Current State: 13:[13, 22, 22], Operations: ['93-71=22'] Exploring Operation: 22/22=1, Resulting Numbers: [13, 1] Generated Node #0,1,0: 13:[13, 1] Operation: 22/22=1 Moving to Node #0,1,0 Current State: 13:[13, 1], Operations: ['93-71=22', '22/22=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 46, 64, 56, 34 ]
88
[ "46+64=110", "56-34=22", "110-22=88" ]
Current State: 88:[46, 64, 56, 34], Operations: [] Exploring Operation: 46+64=110, Resulting Numbers: [56, 34, 110] Generated Node #2: [56, 34, 110] from Operation: 46+64=110 Current State: 88:[56, 34, 110], Operations: ['46+64=110'] Exploring Operation: 56-34=22, Resulting Numbers: [110, 22] Generated Node #3: [110, 22] from Operation: 56-34=22 Current State: 88:[110, 22], Operations: ['46+64=110', '56-34=22'] Exploring Operation: 110-22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[46, 64, 56, 34], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [46, 34, 8] Generated Node #0,0: 88:[46, 34, 8] Operation: 64-56=8 Exploring Operation: 56-34=22, Resulting Numbers: [46, 64, 22] Generated Node #0,1: 88:[46, 64, 22] Operation: 56-34=22 Exploring Operation: 64-34=30, Resulting Numbers: [46, 56, 30] Generated Node #0,2: 88:[46, 56, 30] Operation: 64-34=30 Exploring Operation: 64+34=98, Resulting Numbers: [46, 56, 98] Generated Node #0,3: 88:[46, 56, 98] Operation: 64+34=98 Moving to Node #0,0 Current State: 88:[46, 34, 8], Operations: ['64-56=8'] Exploring Operation: 34-8=26, Resulting Numbers: [46, 26] Generated Node #0,0,0: 88:[46, 26] Operation: 34-8=26 Exploring Operation: 46+34=80, Resulting Numbers: [8, 80] Generated Node #0,0,1: 88:[8, 80] Operation: 46+34=80 Exploring Operation: 34+8=42, Resulting Numbers: [46, 42] Generated Node #0,0,2: 88:[46, 42] Operation: 34+8=42 Exploring Operation: 46-34=12, Resulting Numbers: [8, 12] Generated Node #0,0,3: 88:[8, 12] Operation: 46-34=12 Moving to Node #0,2 Current State: 88:[46, 56, 30], Operations: ['64-34=30'] Exploring Operation: 56+30=86, Resulting Numbers: [46, 86] Generated Node #0,2,0: 88:[46, 86] Operation: 56+30=86 Exploring Operation: 56-46=10, Resulting Numbers: [30, 10] Generated Node #0,2,1: 88:[30, 10] Operation: 56-46=10 Exploring Operation: 46-30=16, Resulting Numbers: [56, 16] Generated Node #0,2,2: 88:[56, 16] Operation: 46-30=16 Exploring Operation: 56-30=26, Resulting Numbers: [46, 26] Generated Node #0,2,3: 88:[46, 26] Operation: 56-30=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[46, 86], Operations: ['64-34=30', '56+30=86'] Exploring Operation: 46*86=3956, Resulting Numbers: [3956] 3956,88 unequal: No Solution Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 46+86=132, Resulting Numbers: [132] 132,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[46, 26], Operations: ['64-34=30', '56-30=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,88 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[30, 10], Operations: ['64-34=30', '56-46=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,88 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[56, 16], Operations: ['64-34=30', '46-30=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 88:[46, 64, 22], Operations: ['56-34=22'] Exploring Operation: 64-46=18, Resulting Numbers: [22, 18] Generated Node #0,1,0: 88:[22, 18] Operation: 64-46=18 Exploring Operation: 46+64=110, Resulting Numbers: [22, 110] Generated Node #0,1,1: 88:[22, 110] Operation: 46+64=110 Exploring Operation: 64-22=42, Resulting Numbers: [46, 42] Generated Node #0,1,2: 88:[46, 42] Operation: 64-22=42 Exploring Operation: 64+22=86, Resulting Numbers: [46, 86] Generated Node #0,1,3: 88:[46, 86] Operation: 64+22=86 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[22, 18], Operations: ['56-34=22', '64-46=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,88 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[46, 42], Operations: ['56-34=22', '64-22=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,88 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[46, 64, 56, 34], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [46, 64, 22] Generated Node #0,1: 88:[46, 64, 22] Operation: 56-34=22 Moving to Node #0,1 Current State: 88:[46, 64, 22], Operations: ['56-34=22'] Exploring Operation: 64-22=42, Resulting Numbers: [46, 42] Generated Node #0,1,2: 88:[46, 42] Operation: 64-22=42 Moving to Node #0,1,2 Current State: 88:[46, 42], Operations: ['56-34=22', '64-22=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 50, 49, 7, 76 ]
25
[ "50+49=99", "76+99=175", "175/7=25" ]
Current State: 25:[50, 49, 7, 76], Operations: [] Exploring Operation: 50+49=99, Resulting Numbers: [7, 76, 99] Generated Node #2: [7, 76, 99] from Operation: 50+49=99 Current State: 25:[7, 76, 99], Operations: ['50+49=99'] Exploring Operation: 76+99=175, Resulting Numbers: [7, 175] Generated Node #3: [7, 175] from Operation: 76+99=175 Current State: 25:[7, 175], Operations: ['50+49=99', '76+99=175'] Exploring Operation: 175/7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[50, 49, 7, 76], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [49, 7, 26] Generated Node #0,0: 25:[49, 7, 26] Operation: 76-50=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[49, 7, 26], Operations: ['76-50=26'] Exploring Operation: 49/7=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 25:[26, 7] Operation: 49/7=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[26, 7], Operations: ['76-50=26', '49/7=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,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
sum_heuristic
[ 2, 17, 63, 67 ]
88
[ "2*67=134", "63-17=46", "134-46=88" ]
Current State: 88:[2, 17, 63, 67], Operations: [] Exploring Operation: 2*67=134, Resulting Numbers: [17, 63, 134] Generated Node #2: [17, 63, 134] from Operation: 2*67=134 Current State: 88:[17, 63, 134], Operations: ['2*67=134'] Exploring Operation: 63-17=46, Resulting Numbers: [134, 46] Generated Node #3: [134, 46] from Operation: 63-17=46 Current State: 88:[134, 46], Operations: ['2*67=134', '63-17=46'] Exploring Operation: 134-46=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[2, 17, 63, 67], Operations: [] Exploring Operation: 67-17=50, Resulting Numbers: [2, 63, 50] Generated Node #0,0: 88:[2, 63, 50] Operation: 67-17=50 Exploring Operation: 67-63=4, Resulting Numbers: [2, 17, 4] Generated Node #0,1: 88:[2, 17, 4] Operation: 67-63=4 Exploring Operation: 63-17=46, Resulting Numbers: [2, 67, 46] Generated Node #0,2: 88:[2, 67, 46] Operation: 63-17=46 Exploring Operation: 17+67=84, Resulting Numbers: [2, 63, 84] Generated Node #0,3: 88:[2, 63, 84] Operation: 17+67=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[2, 17, 4], Operations: ['67-63=4'] Exploring Operation: 17-4=13, Resulting Numbers: [2, 13] Generated Node #0,1,0: 88:[2, 13] Operation: 17-4=13 Exploring Operation: 2+17=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 88:[4, 19] Operation: 2+17=19 Exploring Operation: 17-2=15, Resulting Numbers: [4, 15] Generated Node #0,1,2: 88:[4, 15] Operation: 17-2=15 Exploring Operation: 17+4=21, Resulting Numbers: [2, 21] Generated Node #0,1,3: 88:[2, 21] Operation: 17+4=21 Moving to Node #0,1,3 Current State: 88:[2, 21], Operations: ['67-63=4', '17+4=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[2, 13], Operations: ['67-63=4', '17-4=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[4, 19], Operations: ['67-63=4', '2+17=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[4, 15], Operations: ['67-63=4', '17-2=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[2, 67, 46], Operations: ['63-17=46'] Exploring Operation: 67-46=21, Resulting Numbers: [2, 21] Generated Node #0,2,0: 88:[2, 21] Operation: 67-46=21 Exploring Operation: 46/2=23, Resulting Numbers: [67, 23] Generated Node #0,2,1: 88:[67, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [67, 44] Generated Node #0,2,2: 88:[67, 44] Operation: 46-2=44 Exploring Operation: 2+67=69, Resulting Numbers: [46, 69] Generated Node #0,2,3: 88:[46, 69] Operation: 2+67=69 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[2, 21], Operations: ['63-17=46', '67-46=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,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,2 Current State: 88:[67, 44], Operations: ['63-17=46', '46-2=44'] Exploring Operation: 67+44=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 67*44=2948, Resulting Numbers: [2948] 2948,88 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,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:[46, 69], Operations: ['63-17=46', '2+67=69'] Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,88 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,88 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,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:[67, 23], Operations: ['63-17=46', '46/2=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,88 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,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:[2, 63, 84], Operations: ['17+67=84'] Exploring Operation: 84-63=21, Resulting Numbers: [2, 21] Generated Node #0,3,0: 88:[2, 21] Operation: 84-63=21 Exploring Operation: 84/2=42, Resulting Numbers: [63, 42] Generated Node #0,3,1: 88:[63, 42] Operation: 84/2=42 Exploring Operation: 63-2=61, Resulting Numbers: [84, 61] Generated Node #0,3,2: 88:[84, 61] Operation: 63-2=61 Exploring Operation: 2+84=86, Resulting Numbers: [63, 86] Generated Node #0,3,3: 88:[63, 86] Operation: 2+84=86 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[2, 21], Operations: ['17+67=84', '84-63=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,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:[63, 42], Operations: ['17+67=84', '84/2=42'] Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,88 unequal: No Solution Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,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:[84, 61], Operations: ['17+67=84', '63-2=61'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,88 unequal: No Solution Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[63, 86], Operations: ['17+67=84', '2+84=86'] Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 63+86=149, Resulting Numbers: [149] 149,88 unequal: No Solution Exploring Operation: 63*86=5418, Resulting Numbers: [5418] 5418,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 63, 50], Operations: ['67-17=50'] Exploring Operation: 63-50=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 88:[2, 13] Operation: 63-50=13 Exploring Operation: 50-2=48, Resulting Numbers: [63, 48] Generated Node #0,0,1: 88:[63, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [63, 25] Generated Node #0,0,2: 88:[63, 25] Operation: 50/2=25 Exploring Operation: 63-2=61, Resulting Numbers: [50, 61] Generated Node #0,0,3: 88:[50, 61] Operation: 63-2=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[2, 13], Operations: ['67-17=50', '63-50=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,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:[63, 25], Operations: ['67-17=50', '50/2=25'] Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[2, 17, 63, 67], Operations: [] Exploring Operation: 67-17=50, Resulting Numbers: [2, 63, 50] Generated Node #0,0: 88:[2, 63, 50] Operation: 67-17=50 Moving to Node #0,0 Current State: 88:[2, 63, 50], Operations: ['67-17=50'] Exploring Operation: 50/2=25, Resulting Numbers: [63, 25] Generated Node #0,0,2: 88:[63, 25] Operation: 50/2=25 Moving to Node #0,0,2 Current State: 88:[63, 25], Operations: ['67-17=50', '50/2=25'] Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.944444
hs_4
sum_heuristic
[ 5, 20, 68, 16 ]
80
[ "20/5=4", "68+16=84", "84-4=80" ]
Current State: 80:[5, 20, 68, 16], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [68, 16, 4] Generated Node #2: [68, 16, 4] from Operation: 20/5=4 Current State: 80:[68, 16, 4], Operations: ['20/5=4'] Exploring Operation: 68+16=84, Resulting Numbers: [4, 84] Generated Node #3: [4, 84] from Operation: 68+16=84 Current State: 80:[4, 84], Operations: ['20/5=4', '68+16=84'] Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 20, 68, 16], Operations: [] Exploring Operation: 68+16=84, Resulting Numbers: [5, 20, 84] Generated Node #0,0: 80:[5, 20, 84] Operation: 68+16=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[5, 20, 84], Operations: ['68+16=84'] Exploring Operation: 84-5=79, Resulting Numbers: [20, 79] Generated Node #0,0,0: 80:[20, 79] Operation: 84-5=79 Moving to Node #0,0,0 Current State: 80:[20, 79], Operations: ['68+16=84', '84-5=79'] Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 60, 87, 72 ]
80
[ "5+60=65", "87-72=15", "65+15=80" ]
Current State: 80:[5, 60, 87, 72], Operations: [] Exploring Operation: 5+60=65, Resulting Numbers: [87, 72, 65] Generated Node #2: [87, 72, 65] from Operation: 5+60=65 Current State: 80:[87, 72, 65], Operations: ['5+60=65'] Exploring Operation: 87-72=15, Resulting Numbers: [65, 15] Generated Node #3: [65, 15] from Operation: 87-72=15 Current State: 80:[65, 15], Operations: ['5+60=65', '87-72=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 60, 87, 72], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [5, 60, 15] Generated Node #0,0: 80:[5, 60, 15] Operation: 87-72=15 Exploring Operation: 5+60=65, Resulting Numbers: [87, 72, 65] Generated Node #0,1: 80:[87, 72, 65] Operation: 5+60=65 Exploring Operation: 72-60=12, Resulting Numbers: [5, 87, 12] Generated Node #0,2: 80:[5, 87, 12] Operation: 72-60=12 Exploring Operation: 60/5=12, Resulting Numbers: [87, 72, 12] Generated Node #0,3: 80:[87, 72, 12] Operation: 60/5=12 Exploring Operation: 87-60=27, Resulting Numbers: [5, 72, 27] Generated Node #0,4: 80:[5, 72, 27] Operation: 87-60=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[5, 87, 12], Operations: ['72-60=12'] Exploring Operation: 87-12=75, Resulting Numbers: [5, 75] Generated Node #0,2,0: 80:[5, 75] Operation: 87-12=75 Exploring Operation: 5+87=92, Resulting Numbers: [12, 92] Generated Node #0,2,1: 80:[12, 92] Operation: 5+87=92 Exploring Operation: 87-5=82, Resulting Numbers: [12, 82] Generated Node #0,2,2: 80:[12, 82] Operation: 87-5=82 Exploring Operation: 12-5=7, Resulting Numbers: [87, 7] Generated Node #0,2,3: 80:[87, 7] Operation: 12-5=7 Exploring Operation: 5+12=17, Resulting Numbers: [87, 17] Generated Node #0,2,4: 80:[87, 17] Operation: 5+12=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[12, 82], Operations: ['72-60=12', '87-5=82'] Exploring Operation: 12+82=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 12*82=984, Resulting Numbers: [984] 984,80 unequal: No Solution Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[5, 75], Operations: ['72-60=12', '87-12=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[5, 60, 87, 72], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [5, 87, 12] Generated Node #0,2: 80:[5, 87, 12] Operation: 72-60=12 Moving to Node #0,2 Current State: 80:[5, 87, 12], Operations: ['72-60=12'] Exploring Operation: 87-12=75, Resulting Numbers: [5, 75] Generated Node #0,2,0: 80:[5, 75] Operation: 87-12=75 Moving to Node #0,2,0 Current State: 80:[5, 75], Operations: ['72-60=12', '87-12=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 34, 24, 55, 4 ]
15
[ "34-24=10", "4*10=40", "55-40=15" ]
Current State: 15:[34, 24, 55, 4], Operations: [] Exploring Operation: 34-24=10, Resulting Numbers: [55, 4, 10] Generated Node #2: [55, 4, 10] from Operation: 34-24=10 Current State: 15:[55, 4, 10], Operations: ['34-24=10'] Exploring Operation: 4*10=40, Resulting Numbers: [55, 40] Generated Node #3: [55, 40] from Operation: 4*10=40 Current State: 15:[55, 40], Operations: ['34-24=10', '4*10=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[34, 24, 55, 4], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [34, 4, 31] Generated Node #0,0: 15:[34, 4, 31] Operation: 55-24=31 Exploring Operation: 55-34=21, Resulting Numbers: [24, 4, 21] Generated Node #0,1: 15:[24, 4, 21] Operation: 55-34=21 Moving to Node #0,1 Current State: 15:[24, 4, 21], Operations: ['55-34=21'] Exploring Operation: 24-21=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 15:[4, 3] Operation: 24-21=3 Exploring Operation: 24/4=6, Resulting Numbers: [21, 6] Generated Node #0,1,1: 15:[21, 6] Operation: 24/4=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[4, 3], Operations: ['55-34=21', '24-21=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[21, 6], Operations: ['55-34=21', '24/4=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[34, 24, 55, 4], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [24, 4, 21] Generated Node #0,1: 15:[24, 4, 21] Operation: 55-34=21 Moving to Node #0,1 Current State: 15:[24, 4, 21], Operations: ['55-34=21'] Exploring Operation: 24/4=6, Resulting Numbers: [21, 6] Generated Node #0,1,1: 15:[21, 6] Operation: 24/4=6 Moving to Node #0,1,1 Current State: 15:[21, 6], Operations: ['55-34=21', '24/4=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 69, 75, 4, 49 ]
38
[ "75+49=124", "124/4=31", "69-31=38" ]
Current State: 38:[69, 75, 4, 49], Operations: [] Exploring Operation: 75+49=124, Resulting Numbers: [69, 4, 124] Generated Node #2: [69, 4, 124] from Operation: 75+49=124 Current State: 38:[69, 4, 124], Operations: ['75+49=124'] Exploring Operation: 124/4=31, Resulting Numbers: [69, 31] Generated Node #3: [69, 31] from Operation: 124/4=31 Current State: 38:[69, 31], Operations: ['75+49=124', '124/4=31'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[69, 75, 4, 49], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [4, 49, 6] Generated Node #0,0: 38:[4, 49, 6] Operation: 75-69=6 Moving to Node #0,0 Current State: 38:[4, 49, 6], Operations: ['75-69=6'] Exploring Operation: 49-6=43, Resulting Numbers: [4, 43] Generated Node #0,0,0: 38:[4, 43] Operation: 49-6=43 Moving to Node #0,0,0 Current State: 38:[4, 43], Operations: ['75-69=6', '49-6=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 77, 68, 40, 54 ]
85
[ "77-68=9", "40+54=94", "94-9=85" ]
Current State: 85:[77, 68, 40, 54], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [40, 54, 9] Generated Node #2: [40, 54, 9] from Operation: 77-68=9 Current State: 85:[40, 54, 9], Operations: ['77-68=9'] Exploring Operation: 40+54=94, Resulting Numbers: [9, 94] Generated Node #3: [9, 94] from Operation: 40+54=94 Current State: 85:[9, 94], Operations: ['77-68=9', '40+54=94'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[77, 68, 40, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [77, 68, 14] Generated Node #0,0: 85:[77, 68, 14] Operation: 54-40=14 Exploring Operation: 68-54=14, Resulting Numbers: [77, 40, 14] Generated Node #0,1: 85:[77, 40, 14] Operation: 68-54=14 Exploring Operation: 40+54=94, Resulting Numbers: [77, 68, 94] Generated Node #0,2: 85:[77, 68, 94] Operation: 40+54=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[77, 68, 14], Operations: ['54-40=14'] Exploring Operation: 77-68=9, Resulting Numbers: [14, 9] Generated Node #0,0,0: 85:[14, 9] Operation: 77-68=9 Exploring Operation: 77+14=91, Resulting Numbers: [68, 91] Generated Node #0,0,1: 85:[68, 91] Operation: 77+14=91 Exploring Operation: 68+14=82, Resulting Numbers: [77, 82] Generated Node #0,0,2: 85:[77, 82] Operation: 68+14=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[14, 9], Operations: ['54-40=14', '77-68=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,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,2 Current State: 85:[77, 82], Operations: ['54-40=14', '68+14=82'] Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 77+82=159, Resulting Numbers: [159] 159,85 unequal: No Solution Exploring Operation: 77*82=6314, Resulting Numbers: [6314] 6314,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:[68, 91], Operations: ['54-40=14', '77+14=91'] Exploring Operation: 68+91=159, Resulting Numbers: [159] 159,85 unequal: No Solution Exploring Operation: 68*91=6188, Resulting Numbers: [6188] 6188,85 unequal: No Solution Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,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:[77, 40, 14], Operations: ['68-54=14'] Exploring Operation: 40-14=26, Resulting Numbers: [77, 26] Generated Node #0,1,0: 85:[77, 26] Operation: 40-14=26 Exploring Operation: 77-40=37, Resulting Numbers: [14, 37] Generated Node #0,1,1: 85:[14, 37] Operation: 77-40=37 Exploring Operation: 77+14=91, Resulting Numbers: [40, 91] Generated Node #0,1,2: 85:[40, 91] Operation: 77+14=91 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[77, 26], Operations: ['68-54=14', '40-14=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,85 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,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:[14, 37], Operations: ['68-54=14', '77-40=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,85 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,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:[40, 91], Operations: ['68-54=14', '77+14=91'] Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,85 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,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:[77, 68, 94], Operations: ['40+54=94'] Exploring Operation: 94-68=26, Resulting Numbers: [77, 26] Generated Node #0,2,0: 85:[77, 26] Operation: 94-68=26 Exploring Operation: 94-77=17, Resulting Numbers: [68, 17] Generated Node #0,2,1: 85:[68, 17] Operation: 94-77=17 Exploring Operation: 77-68=9, Resulting Numbers: [94, 9] Generated Node #0,2,2: 85:[94, 9] Operation: 77-68=9 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[94, 9], Operations: ['40+54=94', '77-68=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[77, 68, 40, 54], Operations: [] Exploring Operation: 40+54=94, Resulting Numbers: [77, 68, 94] Generated Node #0,2: 85:[77, 68, 94] Operation: 40+54=94 Moving to Node #0,2 Current State: 85:[77, 68, 94], Operations: ['40+54=94'] Exploring Operation: 77-68=9, Resulting Numbers: [94, 9] Generated Node #0,2,2: 85:[94, 9] Operation: 77-68=9 Moving to Node #0,2,2 Current State: 85:[94, 9], Operations: ['40+54=94', '77-68=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 10, 63, 96, 2 ]
75
[ "10-2=8", "96/8=12", "63+12=75" ]
Current State: 75:[10, 63, 96, 2], Operations: [] Exploring Operation: 10-2=8, Resulting Numbers: [63, 96, 8] Generated Node #2: [63, 96, 8] from Operation: 10-2=8 Current State: 75:[63, 96, 8], Operations: ['10-2=8'] Exploring Operation: 96/8=12, Resulting Numbers: [63, 12] Generated Node #3: [63, 12] from Operation: 96/8=12 Current State: 75:[63, 12], Operations: ['10-2=8', '96/8=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[10, 63, 96, 2], Operations: [] Exploring Operation: 10+63=73, Resulting Numbers: [96, 2, 73] Generated Node #0,0: 75:[96, 2, 73] Operation: 10+63=73 Exploring Operation: 96-63=33, Resulting Numbers: [10, 2, 33] Generated Node #0,1: 75:[10, 2, 33] Operation: 96-63=33 Exploring Operation: 96-10=86, Resulting Numbers: [63, 2, 86] Generated Node #0,2: 75:[63, 2, 86] Operation: 96-10=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[10, 2, 33], Operations: ['96-63=33'] Exploring Operation: 10+2=12, Resulting Numbers: [33, 12] Generated Node #0,1,0: 75:[33, 12] Operation: 10+2=12 Exploring Operation: 10/2=5, Resulting Numbers: [33, 5] Generated Node #0,1,1: 75:[33, 5] Operation: 10/2=5 Exploring Operation: 33-10=23, Resulting Numbers: [2, 23] Generated Node #0,1,2: 75:[2, 23] Operation: 33-10=23 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[2, 23], Operations: ['96-63=33', '33-10=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,75 unequal: No Solution No 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: 75:[33, 5], Operations: ['96-63=33', '10/2=5'] Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,75 unequal: No Solution No 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: 75:[33, 12], Operations: ['96-63=33', '10+2=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,75 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,75 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: 75:[96, 2, 73], Operations: ['10+63=73'] Exploring Operation: 2+73=75, Resulting Numbers: [96, 75] Generated Node #0,0,0: 75:[96, 75] Operation: 2+73=75 Exploring Operation: 96-73=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 75:[2, 23] Operation: 96-73=23 Exploring Operation: 96-2=94, Resulting Numbers: [73, 94] Generated Node #0,0,2: 75:[73, 94] Operation: 96-2=94 Moving to Node #0,0,1 Current State: 75:[2, 23], Operations: ['10+63=73', '96-73=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[96, 75], Operations: ['10+63=73', '2+73=75'] Exploring Operation: 96*75=7200, Resulting Numbers: [7200] 7200,75 unequal: No Solution Exploring Operation: 96+75=171, Resulting Numbers: [171] 171,75 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[73, 94], Operations: ['10+63=73', '96-2=94'] Exploring Operation: 73*94=6862, Resulting Numbers: [6862] 6862,75 unequal: No Solution Exploring Operation: 73+94=167, Resulting Numbers: [167] 167,75 unequal: No Solution Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[63, 2, 86], Operations: ['96-10=86'] Exploring Operation: 63+2=65, Resulting Numbers: [86, 65] Generated Node #0,2,0: 75:[86, 65] Operation: 63+2=65 Exploring Operation: 86-2=84, Resulting Numbers: [63, 84] Generated Node #0,2,1: 75:[63, 84] Operation: 86-2=84 Exploring Operation: 86-63=23, Resulting Numbers: [2, 23] Generated Node #0,2,2: 75:[2, 23] Operation: 86-63=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[2, 23], Operations: ['96-10=86', '86-63=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,75 unequal: No Solution No 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: 75:[86, 65], Operations: ['96-10=86', '63+2=65'] Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,75 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,75 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,75 unequal: No Solution No 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: 75:[63, 84], Operations: ['96-10=86', '86-2=84'] Exploring Operation: 63+84=147, Resulting Numbers: [147] 147,75 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 63*84=5292, Resulting Numbers: [5292] 5292,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 4, 3, 7, 29 ]
41
[ "4*29=116", "7+116=123", "123/3=41" ]
Current State: 41:[4, 3, 7, 29], Operations: [] Exploring Operation: 4*29=116, Resulting Numbers: [3, 7, 116] Generated Node #2: [3, 7, 116] from Operation: 4*29=116 Current State: 41:[3, 7, 116], Operations: ['4*29=116'] Exploring Operation: 7+116=123, Resulting Numbers: [3, 123] Generated Node #3: [3, 123] from Operation: 7+116=123 Current State: 41:[3, 123], Operations: ['4*29=116', '7+116=123'] Exploring Operation: 123/3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[4, 3, 7, 29], Operations: [] Exploring Operation: 4*7=28, Resulting Numbers: [3, 29, 28] Generated Node #0,0: 41:[3, 29, 28] Operation: 4*7=28 Moving to Node #0,0 Current State: 41:[3, 29, 28], Operations: ['4*7=28'] Exploring Operation: 3+29=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 41:[28, 32] Operation: 3+29=32 Moving to Node #0,0,0 Current State: 41:[28, 32], Operations: ['4*7=28', '3+29=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 16, 54, 7 ]
42
[ "15*16=240", "54+240=294", "294/7=42" ]
Current State: 42:[15, 16, 54, 7], Operations: [] Exploring Operation: 15*16=240, Resulting Numbers: [54, 7, 240] Generated Node #2: [54, 7, 240] from Operation: 15*16=240 Current State: 42:[54, 7, 240], Operations: ['15*16=240'] Exploring Operation: 54+240=294, Resulting Numbers: [7, 294] Generated Node #3: [7, 294] from Operation: 54+240=294 Current State: 42:[7, 294], Operations: ['15*16=240', '54+240=294'] Exploring Operation: 294/7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[15, 16, 54, 7], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [16, 7, 39] Generated Node #0,0: 42:[16, 7, 39] Operation: 54-15=39 Moving to Node #0,0 Current State: 42:[16, 7, 39], Operations: ['54-15=39'] Exploring Operation: 39-16=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 42:[7, 23] Operation: 39-16=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[7, 23], Operations: ['54-15=39', '39-16=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,42 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
[ 18, 85, 23, 90 ]
96
[ "85+23=108", "108/18=6", "90+6=96" ]
Current State: 96:[18, 85, 23, 90], Operations: [] Exploring Operation: 85+23=108, Resulting Numbers: [18, 90, 108] Generated Node #2: [18, 90, 108] from Operation: 85+23=108 Current State: 96:[18, 90, 108], Operations: ['85+23=108'] Exploring Operation: 108/18=6, Resulting Numbers: [90, 6] Generated Node #3: [90, 6] from Operation: 108/18=6 Current State: 96:[90, 6], Operations: ['85+23=108', '108/18=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[18, 85, 23, 90], Operations: [] Exploring Operation: 90-85=5, Resulting Numbers: [18, 23, 5] Generated Node #0,0: 96:[18, 23, 5] Operation: 90-85=5 Moving to Node #0,0 Current State: 96:[18, 23, 5], Operations: ['90-85=5'] Exploring Operation: 23-18=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 96:[5, 5] Operation: 23-18=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[5, 5], Operations: ['90-85=5', '23-18=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 84, 36, 26, 76 ]
80
[ "84-76=8", "36-26=10", "8*10=80" ]
Current State: 80:[84, 36, 26, 76], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [36, 26, 8] Generated Node #2: [36, 26, 8] from Operation: 84-76=8 Current State: 80:[36, 26, 8], Operations: ['84-76=8'] Exploring Operation: 36-26=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 36-26=10 Current State: 80:[8, 10], Operations: ['84-76=8', '36-26=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[84, 36, 26, 76], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [84, 76, 10] Generated Node #0,0: 80:[84, 76, 10] Operation: 36-26=10 Moving to Node #0,0 Current State: 80:[84, 76, 10], Operations: ['36-26=10'] Exploring Operation: 84-76=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 80:[10, 8] Operation: 84-76=8 Moving to Node #0,0,0 Current State: 80:[10, 8], Operations: ['36-26=10', '84-76=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[84, 36, 26, 76], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [84, 76, 10] Generated Node #0,0: 80:[84, 76, 10] Operation: 36-26=10 Moving to Node #0,0 Current State: 80:[84, 76, 10], Operations: ['36-26=10'] Exploring Operation: 84-76=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 80:[10, 8] Operation: 84-76=8 Moving to Node #0,0,0 Current State: 80:[10, 8], Operations: ['36-26=10', '84-76=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 79, 99, 66, 13 ]
98
[ "79-66=13", "13/13=1", "99-1=98" ]
Current State: 98:[79, 99, 66, 13], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [99, 13, 13] Generated Node #2: [99, 13, 13] from Operation: 79-66=13 Current State: 98:[99, 13, 13], Operations: ['79-66=13'] Exploring Operation: 13/13=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 13/13=1 Current State: 98:[99, 1], Operations: ['79-66=13', '13/13=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[79, 99, 66, 13], Operations: [] Exploring Operation: 66-13=53, Resulting Numbers: [79, 99, 53] Generated Node #0,0: 98:[79, 99, 53] Operation: 66-13=53 Exploring Operation: 79-66=13, Resulting Numbers: [99, 13, 13] Generated Node #0,1: 98:[99, 13, 13] Operation: 79-66=13 Exploring Operation: 99-79=20, Resulting Numbers: [66, 13, 20] Generated Node #0,2: 98:[66, 13, 20] Operation: 99-79=20 Exploring Operation: 79+13=92, Resulting Numbers: [99, 66, 92] Generated Node #0,3: 98:[99, 66, 92] Operation: 79+13=92 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[99, 13, 13], Operations: ['79-66=13'] Exploring Operation: 99-13=86, Resulting Numbers: [13, 86] Generated Node #0,1,0: 98:[13, 86] Operation: 99-13=86 Exploring Operation: 13/13=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 98:[99, 1] Operation: 13/13=1 Exploring Operation: 13-13=0, Resulting Numbers: [99, 0] Generated Node #0,1,2: 98:[99, 0] Operation: 13-13=0 Exploring Operation: 99-13=86, Resulting Numbers: [13, 86] Generated Node #0,1,3: 98:[13, 86] Operation: 99-13=86 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[99, 1], Operations: ['79-66=13', '13/13=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[79, 99, 66, 13], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [99, 13, 13] Generated Node #0,1: 98:[99, 13, 13] Operation: 79-66=13 Moving to Node #0,1 Current State: 98:[99, 13, 13], Operations: ['79-66=13'] Exploring Operation: 13/13=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 98:[99, 1] Operation: 13/13=1 Moving to Node #0,1,1 Current State: 98:[99, 1], Operations: ['79-66=13', '13/13=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 98, 13, 22, 98 ]
36
[ "98/98=1", "13+22=35", "1+35=36" ]
Current State: 36:[98, 13, 22, 98], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [13, 22, 1] Generated Node #2: [13, 22, 1] from Operation: 98/98=1 Current State: 36:[13, 22, 1], Operations: ['98/98=1'] Exploring Operation: 13+22=35, Resulting Numbers: [1, 35] Generated Node #3: [1, 35] from Operation: 13+22=35 Current State: 36:[1, 35], Operations: ['98/98=1', '13+22=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[98, 13, 22, 98], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [13, 22, 1] Generated Node #0,0: 36:[13, 22, 1] Operation: 98/98=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[13, 22, 1], Operations: ['98/98=1'] Exploring Operation: 22-13=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 36:[1, 9] Operation: 22-13=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[1, 9], Operations: ['98/98=1', '22-13=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,36 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
[ 89, 58, 30, 35 ]
35
[ "89-58=31", "31-30=1", "35*1=35" ]
Current State: 35:[89, 58, 30, 35], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [30, 35, 31] Generated Node #2: [30, 35, 31] from Operation: 89-58=31 Current State: 35:[30, 35, 31], Operations: ['89-58=31'] Exploring Operation: 31-30=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 31-30=1 Current State: 35:[35, 1], Operations: ['89-58=31', '31-30=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[89, 58, 30, 35], Operations: [] Exploring Operation: 58-30=28, Resulting Numbers: [89, 35, 28] Generated Node #0,0: 35:[89, 35, 28] Operation: 58-30=28 Exploring Operation: 89-30=59, Resulting Numbers: [58, 35, 59] Generated Node #0,1: 35:[58, 35, 59] Operation: 89-30=59 Exploring Operation: 89-35=54, Resulting Numbers: [58, 30, 54] Generated Node #0,2: 35:[58, 30, 54] Operation: 89-35=54 Exploring Operation: 89-58=31, Resulting Numbers: [30, 35, 31] Generated Node #0,3: 35:[30, 35, 31] Operation: 89-58=31 Moving to Node #0,3 Current State: 35:[30, 35, 31], Operations: ['89-58=31'] Exploring Operation: 30+31=61, Resulting Numbers: [35, 61] Generated Node #0,3,0: 35:[35, 61] Operation: 30+31=61 Exploring Operation: 31-30=1, Resulting Numbers: [35, 1] Generated Node #0,3,1: 35:[35, 1] Operation: 31-30=1 Exploring Operation: 35-30=5, Resulting Numbers: [31, 5] Generated Node #0,3,2: 35:[31, 5] Operation: 35-30=5 Exploring Operation: 35-31=4, Resulting Numbers: [30, 4] Generated Node #0,3,3: 35:[30, 4] Operation: 35-31=4 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[35, 1], Operations: ['89-58=31', '31-30=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[89, 58, 30, 35], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [30, 35, 31] Generated Node #0,3: 35:[30, 35, 31] Operation: 89-58=31 Moving to Node #0,3 Current State: 35:[30, 35, 31], Operations: ['89-58=31'] Exploring Operation: 31-30=1, Resulting Numbers: [35, 1] Generated Node #0,3,1: 35:[35, 1] Operation: 31-30=1 Moving to Node #0,3,1 Current State: 35:[35, 1], Operations: ['89-58=31', '31-30=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 81, 27, 21, 30 ]
12
[ "81+27=108", "30-21=9", "108/9=12" ]
Current State: 12:[81, 27, 21, 30], Operations: [] Exploring Operation: 81+27=108, Resulting Numbers: [21, 30, 108] Generated Node #2: [21, 30, 108] from Operation: 81+27=108 Current State: 12:[21, 30, 108], Operations: ['81+27=108'] Exploring Operation: 30-21=9, Resulting Numbers: [108, 9] Generated Node #3: [108, 9] from Operation: 30-21=9 Current State: 12:[108, 9], Operations: ['81+27=108', '30-21=9'] Exploring Operation: 108/9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[81, 27, 21, 30], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [21, 30, 3] Generated Node #0,0: 12:[21, 30, 3] Operation: 81/27=3 Exploring Operation: 81-30=51, Resulting Numbers: [27, 21, 51] Generated Node #0,1: 12:[27, 21, 51] Operation: 81-30=51 Moving to Node #0,0 Current State: 12:[21, 30, 3], Operations: ['81/27=3'] Exploring Operation: 30/3=10, Resulting Numbers: [21, 10] Generated Node #0,0,0: 12:[21, 10] Operation: 30/3=10 Exploring Operation: 30-21=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 12:[3, 9] Operation: 30-21=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[3, 9], Operations: ['81/27=3', '30-21=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[81, 27, 21, 30], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [21, 30, 3] Generated Node #0,0: 12:[21, 30, 3] Operation: 81/27=3 Moving to Node #0,0 Current State: 12:[21, 30, 3], Operations: ['81/27=3'] Exploring Operation: 30-21=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 12:[3, 9] Operation: 30-21=9 Moving to Node #0,0,1 Current State: 12:[3, 9], Operations: ['81/27=3', '30-21=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 27, 14, 70, 38 ]
95
[ "27-14=13", "70+38=108", "108-13=95" ]
Current State: 95:[27, 14, 70, 38], Operations: [] Exploring Operation: 27-14=13, Resulting Numbers: [70, 38, 13] Generated Node #2: [70, 38, 13] from Operation: 27-14=13 Current State: 95:[70, 38, 13], Operations: ['27-14=13'] Exploring Operation: 70+38=108, Resulting Numbers: [13, 108] Generated Node #3: [13, 108] from Operation: 70+38=108 Current State: 95:[13, 108], Operations: ['27-14=13', '70+38=108'] Exploring Operation: 108-13=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[27, 14, 70, 38], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [27, 38, 5] Generated Node #0,0: 95:[27, 38, 5] Operation: 70/14=5 Exploring Operation: 27+70=97, Resulting Numbers: [14, 38, 97] Generated Node #0,1: 95:[14, 38, 97] Operation: 27+70=97 Exploring Operation: 70+38=108, Resulting Numbers: [27, 14, 108] Generated Node #0,2: 95:[27, 14, 108] Operation: 70+38=108 Exploring Operation: 70-38=32, Resulting Numbers: [27, 14, 32] Generated Node #0,3: 95:[27, 14, 32] Operation: 70-38=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[14, 38, 97], Operations: ['27+70=97'] Exploring Operation: 14+38=52, Resulting Numbers: [97, 52] Generated Node #0,1,0: 95:[97, 52] Operation: 14+38=52 Exploring Operation: 97-14=83, Resulting Numbers: [38, 83] Generated Node #0,1,1: 95:[38, 83] Operation: 97-14=83 Exploring Operation: 14+97=111, Resulting Numbers: [38, 111] Generated Node #0,1,2: 95:[38, 111] Operation: 14+97=111 Exploring Operation: 38-14=24, Resulting Numbers: [97, 24] Generated Node #0,1,3: 95:[97, 24] Operation: 38-14=24 Moving to Node #0,1,3 Current State: 95:[97, 24], Operations: ['27+70=97', '38-14=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,95 unequal: No Solution Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[38, 83], Operations: ['27+70=97', '97-14=83'] Exploring Operation: 38+83=121, Resulting Numbers: [121] 121,95 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 38*83=3154, Resulting Numbers: [3154] 3154,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[38, 111], Operations: ['27+70=97', '14+97=111'] Exploring Operation: 38*111=4218, Resulting Numbers: [4218] 4218,95 unequal: No Solution Exploring Operation: 111-38=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 38+111=149, Resulting Numbers: [149] 149,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[97, 52], Operations: ['27+70=97', '14+38=52'] Exploring Operation: 97+52=149, Resulting Numbers: [149] 149,95 unequal: No Solution Exploring Operation: 97*52=5044, Resulting Numbers: [5044] 5044,95 unequal: No Solution Exploring Operation: 97-52=45, Resulting Numbers: [45] 45,95 unequal: No Solution No 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: 95:[27, 14, 108], Operations: ['70+38=108'] Exploring Operation: 108-27=81, Resulting Numbers: [14, 81] Generated Node #0,2,0: 95:[14, 81] Operation: 108-27=81 Exploring Operation: 108-14=94, Resulting Numbers: [27, 94] Generated Node #0,2,1: 95:[27, 94] Operation: 108-14=94 Exploring Operation: 108/27=4, Resulting Numbers: [14, 4] Generated Node #0,2,2: 95:[14, 4] Operation: 108/27=4 Exploring Operation: 27-14=13, Resulting Numbers: [108, 13] Generated Node #0,2,3: 95:[108, 13] Operation: 27-14=13 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[14, 4], Operations: ['70+38=108', '108/27=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,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,2,1 Current State: 95:[27, 94], Operations: ['70+38=108', '108-14=94'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,95 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,95 unequal: No Solution Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,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,2,0 Current State: 95:[14, 81], Operations: ['70+38=108', '108-27=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,95 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,95 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[27, 14, 70, 38], Operations: [] Exploring Operation: 70+38=108, Resulting Numbers: [27, 14, 108] Generated Node #0,2: 95:[27, 14, 108] Operation: 70+38=108 Moving to Node #0,2 Current State: 95:[27, 14, 108], Operations: ['70+38=108'] Exploring Operation: 108-27=81, Resulting Numbers: [14, 81] Generated Node #0,2,0: 95:[14, 81] Operation: 108-27=81 Moving to Node #0,2,0 Current State: 95:[14, 81], Operations: ['70+38=108', '108-27=81'] Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 57, 92, 70, 58 ]
56
[ "92-57=35", "70/35=2", "58-2=56" ]
Current State: 56:[57, 92, 70, 58], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [70, 58, 35] Generated Node #2: [70, 58, 35] from Operation: 92-57=35 Current State: 56:[70, 58, 35], Operations: ['92-57=35'] Exploring Operation: 70/35=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 70/35=2 Current State: 56:[58, 2], Operations: ['92-57=35', '70/35=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[57, 92, 70, 58], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [92, 58, 13] Generated Node #0,0: 56:[92, 58, 13] Operation: 70-57=13 Exploring Operation: 92-58=34, Resulting Numbers: [57, 70, 34] Generated Node #0,1: 56:[57, 70, 34] Operation: 92-58=34 Exploring Operation: 92-70=22, Resulting Numbers: [57, 58, 22] Generated Node #0,2: 56:[57, 58, 22] Operation: 92-70=22 Exploring Operation: 92-57=35, Resulting Numbers: [70, 58, 35] Generated Node #0,3: 56:[70, 58, 35] Operation: 92-57=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[57, 58, 22], Operations: ['92-70=22'] Exploring Operation: 58-57=1, Resulting Numbers: [22, 1] Generated Node #0,2,0: 56:[22, 1] Operation: 58-57=1 Exploring Operation: 58-22=36, Resulting Numbers: [57, 36] Generated Node #0,2,1: 56:[57, 36] Operation: 58-22=36 Exploring Operation: 57+22=79, Resulting Numbers: [58, 79] Generated Node #0,2,2: 56:[58, 79] Operation: 57+22=79 Exploring Operation: 57-22=35, Resulting Numbers: [58, 35] Generated Node #0,2,3: 56:[58, 35] Operation: 57-22=35 Moving to Node #0,2,0 Current State: 56:[22, 1], Operations: ['92-70=22', '58-57=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[58, 35], Operations: ['92-70=22', '57-22=35'] Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,56 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,56 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[57, 36], Operations: ['92-70=22', '58-22=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,56 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,56 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[58, 79], Operations: ['92-70=22', '57+22=79'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 58*79=4582, Resulting Numbers: [4582] 4582,56 unequal: No Solution Exploring Operation: 58+79=137, Resulting Numbers: [137] 137,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[57, 70, 34], Operations: ['92-58=34'] Exploring Operation: 57+34=91, Resulting Numbers: [70, 91] Generated Node #0,1,0: 56:[70, 91] Operation: 57+34=91 Exploring Operation: 57-34=23, Resulting Numbers: [70, 23] Generated Node #0,1,1: 56:[70, 23] Operation: 57-34=23 Exploring Operation: 70-57=13, Resulting Numbers: [34, 13] Generated Node #0,1,2: 56:[34, 13] Operation: 70-57=13 Exploring Operation: 70-34=36, Resulting Numbers: [57, 36] Generated Node #0,1,3: 56:[57, 36] Operation: 70-34=36 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[34, 13], Operations: ['92-58=34', '70-57=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,56 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[57, 36], Operations: ['92-58=34', '70-34=36'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,56 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[70, 23], Operations: ['92-58=34', '57-34=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,56 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[70, 91], Operations: ['92-58=34', '57+34=91'] Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,56 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,56 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[70, 58, 35], Operations: ['92-57=35'] Exploring Operation: 70-58=12, Resulting Numbers: [35, 12] Generated Node #0,3,0: 56:[35, 12] Operation: 70-58=12 Exploring Operation: 70-35=35, Resulting Numbers: [58, 35] Generated Node #0,3,1: 56:[58, 35] Operation: 70-35=35 Exploring Operation: 70/35=2, Resulting Numbers: [58, 2] Generated Node #0,3,2: 56:[58, 2] Operation: 70/35=2 Exploring Operation: 58-35=23, Resulting Numbers: [70, 23] Generated Node #0,3,3: 56:[70, 23] Operation: 58-35=23 Moving to Node #0,3,2 Current State: 56:[58, 2], Operations: ['92-57=35', '70/35=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,56 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[57, 92, 70, 58], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [70, 58, 35] Generated Node #0,3: 56:[70, 58, 35] Operation: 92-57=35 Moving to Node #0,3 Current State: 56:[70, 58, 35], Operations: ['92-57=35'] Exploring Operation: 70/35=2, Resulting Numbers: [58, 2] Generated Node #0,3,2: 56:[58, 2] Operation: 70/35=2 Moving to Node #0,3,2 Current State: 56:[58, 2], Operations: ['92-57=35', '70/35=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 20, 97, 82, 38 ]
73
[ "20+97=117", "82-38=44", "117-44=73" ]
Current State: 73:[20, 97, 82, 38], Operations: [] Exploring Operation: 20+97=117, Resulting Numbers: [82, 38, 117] Generated Node #2: [82, 38, 117] from Operation: 20+97=117 Current State: 73:[82, 38, 117], Operations: ['20+97=117'] Exploring Operation: 82-38=44, Resulting Numbers: [117, 44] Generated Node #3: [117, 44] from Operation: 82-38=44 Current State: 73:[117, 44], Operations: ['20+97=117', '82-38=44'] Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[20, 97, 82, 38], Operations: [] Exploring Operation: 97-20=77, Resulting Numbers: [82, 38, 77] Generated Node #0,0: 73:[82, 38, 77] Operation: 97-20=77 Exploring Operation: 20+38=58, Resulting Numbers: [97, 82, 58] Generated Node #0,1: 73:[97, 82, 58] Operation: 20+38=58 Moving to Node #0,0 Current State: 73:[82, 38, 77], Operations: ['97-20=77'] Exploring Operation: 82-38=44, Resulting Numbers: [77, 44] Generated Node #0,0,0: 73:[77, 44] Operation: 82-38=44 Exploring Operation: 77-38=39, Resulting Numbers: [82, 39] Generated Node #0,0,1: 73:[82, 39] Operation: 77-38=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[77, 44], Operations: ['97-20=77', '82-38=44'] Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[82, 39], Operations: ['97-20=77', '77-38=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 82+39=121, Resulting Numbers: [121] 121,73 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: 73:[97, 82, 58], Operations: ['20+38=58'] Exploring Operation: 97-58=39, Resulting Numbers: [82, 39] Generated Node #0,1,0: 73:[82, 39] Operation: 97-58=39 Exploring Operation: 97-82=15, Resulting Numbers: [58, 15] Generated Node #0,1,1: 73:[58, 15] Operation: 97-82=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[82, 39], Operations: ['20+38=58', '97-58=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 82+39=121, Resulting Numbers: [121] 121,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[58, 15], Operations: ['20+38=58', '97-82=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[20, 97, 82, 38], Operations: [] Exploring Operation: 20+38=58, Resulting Numbers: [97, 82, 58] Generated Node #0,1: 73:[97, 82, 58] Operation: 20+38=58 Moving to Node #0,1 Current State: 73:[97, 82, 58], Operations: ['20+38=58'] Exploring Operation: 97-82=15, Resulting Numbers: [58, 15] Generated Node #0,1,1: 73:[58, 15] Operation: 97-82=15 Moving to Node #0,1,1 Current State: 73:[58, 15], Operations: ['20+38=58', '97-82=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 90, 37, 50, 29 ]
30
[ "90*29=2610", "37+50=87", "2610/87=30" ]
Current State: 30:[90, 37, 50, 29], Operations: [] Exploring Operation: 90*29=2610, Resulting Numbers: [37, 50, 2610] Generated Node #2: [37, 50, 2610] from Operation: 90*29=2610 Current State: 30:[37, 50, 2610], Operations: ['90*29=2610'] Exploring Operation: 37+50=87, Resulting Numbers: [2610, 87] Generated Node #3: [2610, 87] from Operation: 37+50=87 Current State: 30:[2610, 87], Operations: ['90*29=2610', '37+50=87'] Exploring Operation: 2610/87=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[90, 37, 50, 29], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [50, 29, 53] Generated Node #0,0: 30:[50, 29, 53] Operation: 90-37=53 Exploring Operation: 90-50=40, Resulting Numbers: [37, 29, 40] Generated Node #0,1: 30:[37, 29, 40] Operation: 90-50=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[37, 29, 40], Operations: ['90-50=40'] Exploring Operation: 40-37=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 30:[29, 3] Operation: 40-37=3 Exploring Operation: 40-29=11, Resulting Numbers: [37, 11] Generated Node #0,1,1: 30:[37, 11] Operation: 40-29=11 Moving to Node #0,1,0 Current State: 30:[29, 3], Operations: ['90-50=40', '40-37=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[37, 11], Operations: ['90-50=40', '40-29=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[50, 29, 53], Operations: ['90-37=53'] Exploring Operation: 53-29=24, Resulting Numbers: [50, 24] Generated Node #0,0,0: 30:[50, 24] Operation: 53-29=24 Exploring Operation: 53-50=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 30:[29, 3] Operation: 53-50=3 Moving to Node #0,0,1 Current State: 30:[29, 3], Operations: ['90-37=53', '53-50=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[50, 24], Operations: ['90-37=53', '53-29=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,30 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
[ 38, 7, 21, 35 ]
64
[ "38+21=59", "35/7=5", "59+5=64" ]
Current State: 64:[38, 7, 21, 35], Operations: [] Exploring Operation: 38+21=59, Resulting Numbers: [7, 35, 59] Generated Node #2: [7, 35, 59] from Operation: 38+21=59 Current State: 64:[7, 35, 59], Operations: ['38+21=59'] Exploring Operation: 35/7=5, Resulting Numbers: [59, 5] Generated Node #3: [59, 5] from Operation: 35/7=5 Current State: 64:[59, 5], Operations: ['38+21=59', '35/7=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[38, 7, 21, 35], Operations: [] Exploring Operation: 38-7=31, Resulting Numbers: [21, 35, 31] Generated Node #0,0: 64:[21, 35, 31] Operation: 38-7=31 Exploring Operation: 38-35=3, Resulting Numbers: [7, 21, 3] Generated Node #0,1: 64:[7, 21, 3] Operation: 38-35=3 Exploring Operation: 38+21=59, Resulting Numbers: [7, 35, 59] Generated Node #0,2: 64:[7, 35, 59] Operation: 38+21=59 Exploring Operation: 38-21=17, Resulting Numbers: [7, 35, 17] Generated Node #0,3: 64:[7, 35, 17] Operation: 38-21=17 Moving to Node #0,3 Current State: 64:[7, 35, 17], Operations: ['38-21=17'] Exploring Operation: 35-17=18, Resulting Numbers: [7, 18] Generated Node #0,3,0: 64:[7, 18] Operation: 35-17=18 Exploring Operation: 17-7=10, Resulting Numbers: [35, 10] Generated Node #0,3,1: 64:[35, 10] Operation: 17-7=10 Exploring Operation: 35-7=28, Resulting Numbers: [17, 28] Generated Node #0,3,2: 64:[17, 28] Operation: 35-7=28 Exploring Operation: 35/7=5, Resulting Numbers: [17, 5] Generated Node #0,3,3: 64:[17, 5] Operation: 35/7=5 Moving to Node #0,1 Current State: 64:[7, 21, 3], Operations: ['38-35=3'] Exploring Operation: 21/7=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 64:[3, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 64:[3, 14] Operation: 21-7=14 Exploring Operation: 21*3=63, Resulting Numbers: [7, 63] Generated Node #0,1,2: 64:[7, 63] Operation: 21*3=63 Exploring Operation: 21/3=7, Resulting Numbers: [7, 7] Generated Node #0,1,3: 64:[7, 7] Operation: 21/3=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[3, 3], Operations: ['38-35=3', '21/7=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[7, 63], Operations: ['38-35=3', '21*3=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,64 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[7, 7], Operations: ['38-35=3', '21/3=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,64 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[3, 14], Operations: ['38-35=3', '21-7=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[7, 35, 59], Operations: ['38+21=59'] Exploring Operation: 35/7=5, Resulting Numbers: [59, 5] Generated Node #0,2,0: 64:[59, 5] Operation: 35/7=5 Exploring Operation: 7+59=66, Resulting Numbers: [35, 66] Generated Node #0,2,1: 64:[35, 66] Operation: 7+59=66 Exploring Operation: 35-7=28, Resulting Numbers: [59, 28] Generated Node #0,2,2: 64:[59, 28] Operation: 35-7=28 Exploring Operation: 59-35=24, Resulting Numbers: [7, 24] Generated Node #0,2,3: 64:[7, 24] Operation: 59-35=24 Moving to Node #0,0 Current State: 64:[21, 35, 31], Operations: ['38-7=31'] Exploring Operation: 35+31=66, Resulting Numbers: [21, 66] Generated Node #0,0,0: 64:[21, 66] Operation: 35+31=66 Exploring Operation: 35-21=14, Resulting Numbers: [31, 14] Generated Node #0,0,1: 64:[31, 14] Operation: 35-21=14 Exploring Operation: 35-31=4, Resulting Numbers: [21, 4] Generated Node #0,0,2: 64:[21, 4] Operation: 35-31=4 Exploring Operation: 31-21=10, Resulting Numbers: [35, 10] Generated Node #0,0,3: 64:[35, 10] Operation: 31-21=10 Moving to Node #0,3,3 Current State: 64:[17, 5], Operations: ['38-21=17', '35/7=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[7, 18], Operations: ['38-21=17', '35-17=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[31, 14], Operations: ['38-7=31', '35-21=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[35, 10], Operations: ['38-21=17', '17-7=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,64 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[35, 10], Operations: ['38-7=31', '31-21=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,64 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[35, 66], Operations: ['38+21=59', '7+59=66'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,64 unequal: No Solution Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[21, 4], Operations: ['38-7=31', '35-31=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[17, 28], Operations: ['38-21=17', '35-7=28'] Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,64 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[59, 5], Operations: ['38+21=59', '35/7=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,64 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[38, 7, 21, 35], Operations: [] Exploring Operation: 38+21=59, Resulting Numbers: [7, 35, 59] Generated Node #0,2: 64:[7, 35, 59] Operation: 38+21=59 Moving to Node #0,2 Current State: 64:[7, 35, 59], Operations: ['38+21=59'] Exploring Operation: 35/7=5, Resulting Numbers: [59, 5] Generated Node #0,2,0: 64:[59, 5] Operation: 35/7=5 Moving to Node #0,2,0 Current State: 64:[59, 5], Operations: ['38+21=59', '35/7=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.942708
hs_4
mult_heuristic
[ 22, 52, 42, 98 ]
28
[ "22*98=2156", "52*42=2184", "2184-2156=28" ]
Current State: 28:[22, 52, 42, 98], Operations: [] Exploring Operation: 22*98=2156, Resulting Numbers: [52, 42, 2156] Generated Node #2: [52, 42, 2156] from Operation: 22*98=2156 Current State: 28:[52, 42, 2156], Operations: ['22*98=2156'] Exploring Operation: 52*42=2184, Resulting Numbers: [2156, 2184] Generated Node #3: [2156, 2184] from Operation: 52*42=2184 Current State: 28:[2156, 2184], Operations: ['22*98=2156', '52*42=2184'] Exploring Operation: 2184-2156=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[22, 52, 42, 98], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [22, 42, 46] Generated Node #0,0: 28:[22, 42, 46] Operation: 98-52=46 Moving to Node #0,0 Current State: 28:[22, 42, 46], Operations: ['98-52=46'] Exploring Operation: 46-42=4, Resulting Numbers: [22, 4] Generated Node #0,0,0: 28:[22, 4] Operation: 46-42=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[22, 4], Operations: ['98-52=46', '46-42=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,28 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, 89, 63, 6 ]
68
[ "7*6=42", "89-63=26", "42+26=68" ]
Current State: 68:[7, 89, 63, 6], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [89, 63, 42] Generated Node #2: [89, 63, 42] from Operation: 7*6=42 Current State: 68:[89, 63, 42], Operations: ['7*6=42'] Exploring Operation: 89-63=26, Resulting Numbers: [42, 26] Generated Node #3: [42, 26] from Operation: 89-63=26 Current State: 68:[42, 26], Operations: ['7*6=42', '89-63=26'] Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[7, 89, 63, 6], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [63, 6, 82] Generated Node #0,0: 68:[63, 6, 82] Operation: 89-7=82 Exploring Operation: 89-63=26, Resulting Numbers: [7, 6, 26] Generated Node #0,1: 68:[7, 6, 26] Operation: 89-63=26 Exploring Operation: 89-6=83, Resulting Numbers: [7, 63, 83] Generated Node #0,2: 68:[7, 63, 83] Operation: 89-6=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[7, 6, 26], Operations: ['89-63=26'] Exploring Operation: 6+26=32, Resulting Numbers: [7, 32] Generated Node #0,1,0: 68:[7, 32] Operation: 6+26=32 Exploring Operation: 7+26=33, Resulting Numbers: [6, 33] Generated Node #0,1,1: 68:[6, 33] Operation: 7+26=33 Exploring Operation: 26-7=19, Resulting Numbers: [6, 19] Generated Node #0,1,2: 68:[6, 19] Operation: 26-7=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[6, 33], Operations: ['89-63=26', '7+26=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,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,2 Current State: 68:[6, 19], Operations: ['89-63=26', '26-7=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,68 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,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,0 Current State: 68:[7, 32], Operations: ['89-63=26', '6+26=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,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,0 Current State: 68:[63, 6, 82], Operations: ['89-7=82'] Exploring Operation: 82-63=19, Resulting Numbers: [6, 19] Generated Node #0,0,0: 68:[6, 19] Operation: 82-63=19 Exploring Operation: 63+6=69, Resulting Numbers: [82, 69] Generated Node #0,0,1: 68:[82, 69] Operation: 63+6=69 Exploring Operation: 82-6=76, Resulting Numbers: [63, 76] Generated Node #0,0,2: 68:[63, 76] Operation: 82-6=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[6, 19], Operations: ['89-7=82', '82-63=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[63, 76], Operations: ['89-7=82', '82-6=76'] Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,68 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,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:[82, 69], Operations: ['89-7=82', '63+6=69'] Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,68 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,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,2 Current State: 68:[7, 63, 83], Operations: ['89-6=83'] Exploring Operation: 83-7=76, Resulting Numbers: [63, 76] Generated Node #0,2,0: 68:[63, 76] Operation: 83-7=76 Exploring Operation: 7+63=70, Resulting Numbers: [83, 70] Generated Node #0,2,1: 68:[83, 70] Operation: 7+63=70 Exploring Operation: 83-63=20, Resulting Numbers: [7, 20] Generated Node #0,2,2: 68:[7, 20] Operation: 83-63=20 Moving to Node #0,2,2 Current State: 68:[7, 20], Operations: ['89-6=83', '83-63=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[63, 76], Operations: ['89-6=83', '83-7=76'] Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,68 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[83, 70], Operations: ['89-6=83', '7+63=70'] Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,68 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 2, 70, 14, 83 ]
80
[ "2+83=85", "70/14=5", "85-5=80" ]
Current State: 80:[2, 70, 14, 83], Operations: [] Exploring Operation: 2+83=85, Resulting Numbers: [70, 14, 85] Generated Node #2: [70, 14, 85] from Operation: 2+83=85 Current State: 80:[70, 14, 85], Operations: ['2+83=85'] Exploring Operation: 70/14=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 70/14=5 Current State: 80:[85, 5], Operations: ['2+83=85', '70/14=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 70, 14, 83], Operations: [] Exploring Operation: 83-70=13, Resulting Numbers: [2, 14, 13] Generated Node #0,0: 80:[2, 14, 13] Operation: 83-70=13 Exploring Operation: 70/14=5, Resulting Numbers: [2, 83, 5] Generated Node #0,1: 80:[2, 83, 5] Operation: 70/14=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[2, 83, 5], Operations: ['70/14=5'] Exploring Operation: 83-2=81, Resulting Numbers: [5, 81] Generated Node #0,1,0: 80:[5, 81] Operation: 83-2=81 Exploring Operation: 83-5=78, Resulting Numbers: [2, 78] Generated Node #0,1,1: 80:[2, 78] Operation: 83-5=78 Moving to Node #0,1,0 Current State: 80:[5, 81], Operations: ['70/14=5', '83-2=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[2, 78], Operations: ['70/14=5', '83-5=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[2, 70, 14, 83], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [2, 83, 5] Generated Node #0,1: 80:[2, 83, 5] Operation: 70/14=5 Moving to Node #0,1 Current State: 80:[2, 83, 5], Operations: ['70/14=5'] Exploring Operation: 83-5=78, Resulting Numbers: [2, 78] Generated Node #0,1,1: 80:[2, 78] Operation: 83-5=78 Moving to Node #0,1,1 Current State: 80:[2, 78], Operations: ['70/14=5', '83-5=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 61, 15, 78, 55 ]
69
[ "61-15=46", "78-55=23", "46+23=69" ]
Current State: 69:[61, 15, 78, 55], Operations: [] Exploring Operation: 61-15=46, Resulting Numbers: [78, 55, 46] Generated Node #2: [78, 55, 46] from Operation: 61-15=46 Current State: 69:[78, 55, 46], Operations: ['61-15=46'] Exploring Operation: 78-55=23, Resulting Numbers: [46, 23] Generated Node #3: [46, 23] from Operation: 78-55=23 Current State: 69:[46, 23], Operations: ['61-15=46', '78-55=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[61, 15, 78, 55], Operations: [] Exploring Operation: 15+55=70, Resulting Numbers: [61, 78, 70] Generated Node #0,0: 69:[61, 78, 70] Operation: 15+55=70 Exploring Operation: 61-55=6, Resulting Numbers: [15, 78, 6] Generated Node #0,1: 69:[15, 78, 6] Operation: 61-55=6 Exploring Operation: 78-55=23, Resulting Numbers: [61, 15, 23] Generated Node #0,2: 69:[61, 15, 23] Operation: 78-55=23 Moving to Node #0,2 Current State: 69:[61, 15, 23], Operations: ['78-55=23'] Exploring Operation: 61-15=46, Resulting Numbers: [23, 46] Generated Node #0,2,0: 69:[23, 46] Operation: 61-15=46 Exploring Operation: 23-15=8, Resulting Numbers: [61, 8] Generated Node #0,2,1: 69:[61, 8] Operation: 23-15=8 Exploring Operation: 61+15=76, Resulting Numbers: [23, 76] Generated Node #0,2,2: 69:[23, 76] Operation: 61+15=76 Moving to Node #0,0 Current State: 69:[61, 78, 70], Operations: ['15+55=70'] Exploring Operation: 78-61=17, Resulting Numbers: [70, 17] Generated Node #0,0,0: 69:[70, 17] Operation: 78-61=17 Exploring Operation: 78-70=8, Resulting Numbers: [61, 8] Generated Node #0,0,1: 69:[61, 8] Operation: 78-70=8 Exploring Operation: 70-61=9, Resulting Numbers: [78, 9] Generated Node #0,0,2: 69:[78, 9] Operation: 70-61=9 Moving to Node #0,1 Current State: 69:[15, 78, 6], Operations: ['61-55=6'] Exploring Operation: 78-15=63, Resulting Numbers: [6, 63] Generated Node #0,1,0: 69:[6, 63] Operation: 78-15=63 Exploring Operation: 15+6=21, Resulting Numbers: [78, 21] Generated Node #0,1,1: 69:[78, 21] Operation: 15+6=21 Exploring Operation: 78-6=72, Resulting Numbers: [15, 72] Generated Node #0,1,2: 69:[15, 72] Operation: 78-6=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[6, 63], Operations: ['61-55=6', '78-15=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[61, 15, 78, 55], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [15, 78, 6] Generated Node #0,1: 69:[15, 78, 6] Operation: 61-55=6 Moving to Node #0,1 Current State: 69:[15, 78, 6], Operations: ['61-55=6'] Exploring Operation: 78-15=63, Resulting Numbers: [6, 63] Generated Node #0,1,0: 69:[6, 63] Operation: 78-15=63 Moving to Node #0,1,0 Current State: 69:[6, 63], Operations: ['61-55=6', '78-15=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 8, 2, 64, 89 ]
31
[ "8-2=6", "89-64=25", "6+25=31" ]
Current State: 31:[8, 2, 64, 89], Operations: [] Exploring Operation: 8-2=6, Resulting Numbers: [64, 89, 6] Generated Node #2: [64, 89, 6] from Operation: 8-2=6 Current State: 31:[64, 89, 6], Operations: ['8-2=6'] Exploring Operation: 89-64=25, Resulting Numbers: [6, 25] Generated Node #3: [6, 25] from Operation: 89-64=25 Current State: 31:[6, 25], Operations: ['8-2=6', '89-64=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[8, 2, 64, 89], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [8, 2, 25] Generated Node #0,0: 31:[8, 2, 25] Operation: 89-64=25 Exploring Operation: 8+2=10, Resulting Numbers: [64, 89, 10] Generated Node #0,1: 31:[64, 89, 10] Operation: 8+2=10 Exploring Operation: 8*2=16, Resulting Numbers: [64, 89, 16] Generated Node #0,2: 31:[64, 89, 16] Operation: 8*2=16 Exploring Operation: 64/2=32, Resulting Numbers: [8, 89, 32] Generated Node #0,3: 31:[8, 89, 32] Operation: 64/2=32 Exploring Operation: 64/8=8, Resulting Numbers: [2, 89, 8] Generated Node #0,4: 31:[2, 89, 8] Operation: 64/8=8 Moving to Node #0,0 Current State: 31:[8, 2, 25], Operations: ['89-64=25'] Exploring Operation: 8-2=6, Resulting Numbers: [25, 6] Generated Node #0,0,0: 31:[25, 6] Operation: 8-2=6 Exploring Operation: 8*2=16, Resulting Numbers: [25, 16] Generated Node #0,0,1: 31:[25, 16] Operation: 8*2=16 Exploring Operation: 2+25=27, Resulting Numbers: [8, 27] Generated Node #0,0,2: 31:[8, 27] Operation: 2+25=27 Exploring Operation: 8+2=10, Resulting Numbers: [25, 10] Generated Node #0,0,3: 31:[25, 10] Operation: 8+2=10 Exploring Operation: 8+25=33, Resulting Numbers: [2, 33] Generated Node #0,0,4: 31:[2, 33] Operation: 8+25=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[25, 16], Operations: ['89-64=25', '8*2=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,31 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,31 unequal: No Solution No 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: 31:[8, 27], Operations: ['89-64=25', '2+25=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,31 unequal: No Solution No 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: 31:[25, 10], Operations: ['89-64=25', '8+2=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,31 unequal: No Solution No 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: 31:[25, 6], Operations: ['89-64=25', '8-2=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[8, 2, 64, 89], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [8, 2, 25] Generated Node #0,0: 31:[8, 2, 25] Operation: 89-64=25 Moving to Node #0,0 Current State: 31:[8, 2, 25], Operations: ['89-64=25'] Exploring Operation: 8-2=6, Resulting Numbers: [25, 6] Generated Node #0,0,0: 31:[25, 6] Operation: 8-2=6 Moving to Node #0,0,0 Current State: 31:[25, 6], Operations: ['89-64=25', '8-2=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 62, 24, 58, 65 ]
50
[ "65-62=3", "24/3=8", "58-8=50" ]
Current State: 50:[62, 24, 58, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [24, 58, 3] Generated Node #2: [24, 58, 3] from Operation: 65-62=3 Current State: 50:[24, 58, 3], Operations: ['65-62=3'] Exploring Operation: 24/3=8, Resulting Numbers: [58, 8] Generated Node #3: [58, 8] from Operation: 24/3=8 Current State: 50:[58, 8], Operations: ['65-62=3', '24/3=8'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[62, 24, 58, 65], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [62, 24, 7] Generated Node #0,0: 50:[62, 24, 7] Operation: 65-58=7 Exploring Operation: 65-62=3, Resulting Numbers: [24, 58, 3] Generated Node #0,1: 50:[24, 58, 3] Operation: 65-62=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[24, 58, 3], Operations: ['65-62=3'] Exploring Operation: 58-24=34, Resulting Numbers: [3, 34] Generated Node #0,1,0: 50:[3, 34] Operation: 58-24=34 Exploring Operation: 58-3=55, Resulting Numbers: [24, 55] Generated Node #0,1,1: 50:[24, 55] Operation: 58-3=55 Moving to Node #0,1,1 Current State: 50:[24, 55], Operations: ['65-62=3', '58-3=55'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[3, 34], Operations: ['65-62=3', '58-24=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[62, 24, 7], Operations: ['65-58=7'] Exploring Operation: 62-24=38, Resulting Numbers: [7, 38] Generated Node #0,0,0: 50:[7, 38] Operation: 62-24=38 Exploring Operation: 62-7=55, Resulting Numbers: [24, 55] Generated Node #0,0,1: 50:[24, 55] Operation: 62-7=55 Moving to Node #0,0,1 Current State: 50:[24, 55], Operations: ['65-58=7', '62-7=55'] Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,50 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[7, 38], Operations: ['65-58=7', '62-24=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,50 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
[ 19, 78, 2, 5 ]
51
[ "19+78=97", "5+97=102", "102/2=51" ]
Current State: 51:[19, 78, 2, 5], Operations: [] Exploring Operation: 19+78=97, Resulting Numbers: [2, 5, 97] Generated Node #2: [2, 5, 97] from Operation: 19+78=97 Current State: 51:[2, 5, 97], Operations: ['19+78=97'] Exploring Operation: 5+97=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 5+97=102 Current State: 51:[2, 102], Operations: ['19+78=97', '5+97=102'] Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[19, 78, 2, 5], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [19, 2, 73] Generated Node #0,0: 51:[19, 2, 73] Operation: 78-5=73 Exploring Operation: 19-2=17, Resulting Numbers: [78, 5, 17] Generated Node #0,1: 51:[78, 5, 17] Operation: 19-2=17 Exploring Operation: 78/2=39, Resulting Numbers: [19, 5, 39] Generated Node #0,2: 51:[19, 5, 39] Operation: 78/2=39 Exploring Operation: 78-19=59, Resulting Numbers: [2, 5, 59] Generated Node #0,3: 51:[2, 5, 59] Operation: 78-19=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[2, 5, 59], Operations: ['78-19=59'] Exploring Operation: 59-2=57, Resulting Numbers: [5, 57] Generated Node #0,3,0: 51:[5, 57] Operation: 59-2=57 Exploring Operation: 5-2=3, Resulting Numbers: [59, 3] Generated Node #0,3,1: 51:[59, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [59, 7] Generated Node #0,3,2: 51:[59, 7] Operation: 2+5=7 Exploring Operation: 59-5=54, Resulting Numbers: [2, 54] Generated Node #0,3,3: 51:[2, 54] Operation: 59-5=54 Moving to Node #0,3,3 Current State: 51:[2, 54], Operations: ['78-19=59', '59-5=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[59, 3], Operations: ['78-19=59', '5-2=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,51 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[5, 57], Operations: ['78-19=59', '59-2=57'] Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,51 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[59, 7], Operations: ['78-19=59', '2+5=7'] Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,51 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,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:[19, 5, 39], Operations: ['78/2=39'] Exploring Operation: 19-5=14, Resulting Numbers: [39, 14] Generated Node #0,2,0: 51:[39, 14] Operation: 19-5=14 Exploring Operation: 39-19=20, Resulting Numbers: [5, 20] Generated Node #0,2,1: 51:[5, 20] Operation: 39-19=20 Exploring Operation: 19+39=58, Resulting Numbers: [5, 58] Generated Node #0,2,2: 51:[5, 58] Operation: 19+39=58 Exploring Operation: 5+39=44, Resulting Numbers: [19, 44] Generated Node #0,2,3: 51:[19, 44] Operation: 5+39=44 Moving to Node #0,2,1 Current State: 51:[5, 20], Operations: ['78/2=39', '39-19=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[19, 44], Operations: ['78/2=39', '5+39=44'] Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,51 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[5, 58], Operations: ['78/2=39', '19+39=58'] Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,51 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[39, 14], Operations: ['78/2=39', '19-5=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,51 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,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:[19, 2, 73], Operations: ['78-5=73'] Exploring Operation: 73-19=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 51:[2, 54] Operation: 73-19=54 Exploring Operation: 73-2=71, Resulting Numbers: [19, 71] Generated Node #0,0,1: 51:[19, 71] Operation: 73-2=71 Exploring Operation: 19-2=17, Resulting Numbers: [73, 17] Generated Node #0,0,2: 51:[73, 17] Operation: 19-2=17 Exploring Operation: 19+2=21, Resulting Numbers: [73, 21] Generated Node #0,0,3: 51:[73, 21] Operation: 19+2=21 Moving to Node #0,0,0 Current State: 51:[2, 54], Operations: ['78-5=73', '73-19=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[73, 17], Operations: ['78-5=73', '19-2=17'] Exploring Operation: 73*17=1241, Resulting Numbers: [1241] 1241,51 unequal: No Solution Exploring Operation: 73+17=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[19, 71], Operations: ['78-5=73', '73-2=71'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[73, 21], Operations: ['78-5=73', '19+2=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,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 Current State: 51:[78, 5, 17], Operations: ['19-2=17'] Exploring Operation: 78+5=83, Resulting Numbers: [17, 83] Generated Node #0,1,0: 51:[17, 83] Operation: 78+5=83 Exploring Operation: 78-5=73, Resulting Numbers: [17, 73] Generated Node #0,1,1: 51:[17, 73] Operation: 78-5=73 Exploring Operation: 5+17=22, Resulting Numbers: [78, 22] Generated Node #0,1,2: 51:[78, 22] Operation: 5+17=22 Exploring Operation: 78-17=61, Resulting Numbers: [5, 61] Generated Node #0,1,3: 51:[5, 61] Operation: 78-17=61 Moving to Node #0,1,3 Current State: 51:[5, 61], Operations: ['19-2=17', '78-17=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,51 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[17, 73], Operations: ['19-2=17', '78-5=73'] Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,51 unequal: No Solution Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[78, 22], Operations: ['19-2=17', '5+17=22'] Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,51 unequal: No Solution Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[17, 83], Operations: ['19-2=17', '78+5=83'] Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,51 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
[ 35, 10, 70, 73 ]
81
[ "70/35=2", "10+73=83", "83-2=81" ]
Current State: 81:[35, 10, 70, 73], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [10, 73, 2] Generated Node #2: [10, 73, 2] from Operation: 70/35=2 Current State: 81:[10, 73, 2], Operations: ['70/35=2'] Exploring Operation: 10+73=83, Resulting Numbers: [2, 83] Generated Node #3: [2, 83] from Operation: 10+73=83 Current State: 81:[2, 83], Operations: ['70/35=2', '10+73=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[35, 10, 70, 73], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [35, 10, 3] Generated Node #0,0: 81:[35, 10, 3] Operation: 73-70=3 Exploring Operation: 10+70=80, Resulting Numbers: [35, 73, 80] Generated Node #0,1: 81:[35, 73, 80] Operation: 10+70=80 Exploring Operation: 70/10=7, Resulting Numbers: [35, 73, 7] Generated Node #0,2: 81:[35, 73, 7] Operation: 70/10=7 Exploring Operation: 70-35=35, Resulting Numbers: [10, 73, 35] Generated Node #0,3: 81:[10, 73, 35] Operation: 70-35=35 Exploring Operation: 70/35=2, Resulting Numbers: [10, 73, 2] Generated Node #0,4: 81:[10, 73, 2] Operation: 70/35=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[35, 10, 3], Operations: ['73-70=3'] Exploring Operation: 35-3=32, Resulting Numbers: [10, 32] Generated Node #0,0,0: 81:[10, 32] Operation: 35-3=32 Exploring Operation: 10-3=7, Resulting Numbers: [35, 7] Generated Node #0,0,1: 81:[35, 7] Operation: 10-3=7 Exploring Operation: 35-10=25, Resulting Numbers: [3, 25] Generated Node #0,0,2: 81:[3, 25] Operation: 35-10=25 Exploring Operation: 35+3=38, Resulting Numbers: [10, 38] Generated Node #0,0,3: 81:[10, 38] Operation: 35+3=38 Exploring Operation: 10*3=30, Resulting Numbers: [35, 30] Generated Node #0,0,4: 81:[35, 30] Operation: 10*3=30 Moving to Node #0,0,2 Current State: 81:[3, 25], Operations: ['73-70=3', '35-10=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[10, 32], Operations: ['73-70=3', '35-3=32'] Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,81 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[35, 7], Operations: ['73-70=3', '10-3=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,81 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[35, 30], Operations: ['73-70=3', '10*3=30'] Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,81 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[10, 38], Operations: ['73-70=3', '35+3=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[10, 73, 2], Operations: ['70/35=2'] Exploring Operation: 10+2=12, Resulting Numbers: [73, 12] Generated Node #0,4,0: 81:[73, 12] Operation: 10+2=12 Exploring Operation: 10+73=83, Resulting Numbers: [2, 83] Generated Node #0,4,1: 81:[2, 83] Operation: 10+73=83 Exploring Operation: 73+2=75, Resulting Numbers: [10, 75] Generated Node #0,4,2: 81:[10, 75] Operation: 73+2=75 Exploring Operation: 10/2=5, Resulting Numbers: [73, 5] Generated Node #0,4,3: 81:[73, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [73, 8] Generated Node #0,4,4: 81:[73, 8] Operation: 10-2=8 Moving to Node #0,4,1 Current State: 81:[2, 83], Operations: ['70/35=2', '10+73=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[35, 10, 70, 73], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [10, 73, 2] Generated Node #0,4: 81:[10, 73, 2] Operation: 70/35=2 Moving to Node #0,4 Current State: 81:[10, 73, 2], Operations: ['70/35=2'] Exploring Operation: 10+73=83, Resulting Numbers: [2, 83] Generated Node #0,4,1: 81:[2, 83] Operation: 10+73=83 Moving to Node #0,4,1 Current State: 81:[2, 83], Operations: ['70/35=2', '10+73=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 40, 5, 10, 19 ]
37
[ "40/5=8", "10+19=29", "8+29=37" ]
Current State: 37:[40, 5, 10, 19], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [10, 19, 8] Generated Node #2: [10, 19, 8] from Operation: 40/5=8 Current State: 37:[10, 19, 8], Operations: ['40/5=8'] Exploring Operation: 10+19=29, Resulting Numbers: [8, 29] Generated Node #3: [8, 29] from Operation: 10+19=29 Current State: 37:[8, 29], Operations: ['40/5=8', '10+19=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[40, 5, 10, 19], Operations: [] Exploring Operation: 10+19=29, Resulting Numbers: [40, 5, 29] Generated Node #0,0: 37:[40, 5, 29] Operation: 10+19=29 Exploring Operation: 5+10=15, Resulting Numbers: [40, 19, 15] Generated Node #0,1: 37:[40, 19, 15] Operation: 5+10=15 Exploring Operation: 5+19=24, Resulting Numbers: [40, 10, 24] Generated Node #0,2: 37:[40, 10, 24] Operation: 5+19=24 Exploring Operation: 5*10=50, Resulting Numbers: [40, 19, 50] Generated Node #0,3: 37:[40, 19, 50] Operation: 5*10=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[40, 19, 50], Operations: ['5*10=50'] Exploring Operation: 40+19=59, Resulting Numbers: [50, 59] Generated Node #0,3,0: 37:[50, 59] Operation: 40+19=59 Exploring Operation: 40-19=21, Resulting Numbers: [50, 21] Generated Node #0,3,1: 37:[50, 21] Operation: 40-19=21 Exploring Operation: 50-19=31, Resulting Numbers: [40, 31] Generated Node #0,3,2: 37:[40, 31] Operation: 50-19=31 Exploring Operation: 19+50=69, Resulting Numbers: [40, 69] Generated Node #0,3,3: 37:[40, 69] Operation: 19+50=69 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[40, 31], Operations: ['5*10=50', '50-19=31'] Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,37 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,37 unequal: No Solution No 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: 37:[50, 21], Operations: ['5*10=50', '40-19=21'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,37 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,37 unequal: No Solution No 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: 37:[50, 59], Operations: ['5*10=50', '40+19=59'] Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,37 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,37 unequal: No Solution No 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: 37:[40, 69], Operations: ['5*10=50', '19+50=69'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 40*69=2760, Resulting Numbers: [2760] 2760,37 unequal: No Solution Exploring Operation: 40+69=109, Resulting Numbers: [109] 109,37 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: 37:[40, 5, 29], Operations: ['10+19=29'] Exploring Operation: 5+29=34, Resulting Numbers: [40, 34] Generated Node #0,0,0: 37:[40, 34] Operation: 5+29=34 Exploring Operation: 40-5=35, Resulting Numbers: [29, 35] Generated Node #0,0,1: 37:[29, 35] Operation: 40-5=35 Exploring Operation: 40+5=45, Resulting Numbers: [29, 45] Generated Node #0,0,2: 37:[29, 45] Operation: 40+5=45 Exploring Operation: 29-5=24, Resulting Numbers: [40, 24] Generated Node #0,0,3: 37:[40, 24] Operation: 29-5=24 Moving to Node #0,0,0 Current State: 37:[40, 34], Operations: ['10+19=29', '5+29=34'] Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,37 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[29, 35], Operations: ['10+19=29', '40-5=35'] Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,37 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[40, 24], Operations: ['10+19=29', '29-5=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[29, 45], Operations: ['10+19=29', '40+5=45'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,37 unequal: No Solution No solution 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: 37:[40, 19, 15], Operations: ['5+10=15'] Exploring Operation: 19+15=34, Resulting Numbers: [40, 34] Generated Node #0,1,0: 37:[40, 34] Operation: 19+15=34 Exploring Operation: 19-15=4, Resulting Numbers: [40, 4] Generated Node #0,1,1: 37:[40, 4] Operation: 19-15=4 Exploring Operation: 40-15=25, Resulting Numbers: [19, 25] Generated Node #0,1,2: 37:[19, 25] Operation: 40-15=25 Exploring Operation: 40+15=55, Resulting Numbers: [19, 55] Generated Node #0,1,3: 37:[19, 55] Operation: 40+15=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[40, 34], Operations: ['5+10=15', '19+15=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,37 unequal: No Solution No 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: 37:[19, 25], Operations: ['5+10=15', '40-15=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,37 unequal: No Solution No 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: 37:[40, 4], Operations: ['5+10=15', '19-15=4'] Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,37 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,37 unequal: No Solution No 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: 37:[19, 55], Operations: ['5+10=15', '40+15=55'] Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,37 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: 37:[40, 10, 24], Operations: ['5+19=24'] Exploring Operation: 40+10=50, Resulting Numbers: [24, 50] Generated Node #0,2,0: 37:[24, 50] Operation: 40+10=50 Exploring Operation: 40-10=30, Resulting Numbers: [24, 30] Generated Node #0,2,1: 37:[24, 30] Operation: 40-10=30 Exploring Operation: 24-10=14, Resulting Numbers: [40, 14] Generated Node #0,2,2: 37:[40, 14] Operation: 24-10=14 Exploring Operation: 10+24=34, Resulting Numbers: [40, 34] Generated Node #0,2,3: 37:[40, 34] Operation: 10+24=34 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[40, 34], Operations: ['5+19=24', '10+24=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,37 unequal: No Solution No 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: 37:[24, 30], Operations: ['5+19=24', '40-10=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,37 unequal: No Solution No 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: 37:[24, 50], Operations: ['5+19=24', '40+10=50'] Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,37 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,37 unequal: No Solution No 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: 37:[40, 14], Operations: ['5+19=24', '24-10=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,37 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 44, 19, 33, 66 ]
41
[ "44*33=1452", "1452/66=22", "19+22=41" ]
Current State: 41:[44, 19, 33, 66], Operations: [] Exploring Operation: 44*33=1452, Resulting Numbers: [19, 66, 1452] Generated Node #2: [19, 66, 1452] from Operation: 44*33=1452 Current State: 41:[19, 66, 1452], Operations: ['44*33=1452'] Exploring Operation: 1452/66=22, Resulting Numbers: [19, 22] Generated Node #3: [19, 22] from Operation: 1452/66=22 Current State: 41:[19, 22], Operations: ['44*33=1452', '1452/66=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[44, 19, 33, 66], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [44, 19, 33] Generated Node #0,0: 41:[44, 19, 33] Operation: 66-33=33 Exploring Operation: 66-19=47, Resulting Numbers: [44, 33, 47] Generated Node #0,1: 41:[44, 33, 47] Operation: 66-19=47 Exploring Operation: 19+33=52, Resulting Numbers: [44, 66, 52] Generated Node #0,2: 41:[44, 66, 52] Operation: 19+33=52 Moving to Node #0,1 Current State: 41:[44, 33, 47], Operations: ['66-19=47'] Exploring Operation: 44-33=11, Resulting Numbers: [47, 11] Generated Node #0,1,0: 41:[47, 11] Operation: 44-33=11 Exploring Operation: 47-33=14, Resulting Numbers: [44, 14] Generated Node #0,1,1: 41:[44, 14] Operation: 47-33=14 Exploring Operation: 44+33=77, Resulting Numbers: [47, 77] Generated Node #0,1,2: 41:[47, 77] Operation: 44+33=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[44, 14], Operations: ['66-19=47', '47-33=14'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[47, 11], Operations: ['66-19=47', '44-33=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[47, 77], Operations: ['66-19=47', '44+33=77'] Exploring Operation: 47+77=124, Resulting Numbers: [124] 124,41 unequal: No Solution Exploring Operation: 47*77=3619, Resulting Numbers: [3619] 3619,41 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,41 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: 41:[44, 19, 33], Operations: ['66-33=33'] Exploring Operation: 19+33=52, Resulting Numbers: [44, 52] Generated Node #0,0,0: 41:[44, 52] Operation: 19+33=52 Exploring Operation: 44-19=25, Resulting Numbers: [33, 25] Generated Node #0,0,1: 41:[33, 25] Operation: 44-19=25 Exploring Operation: 44+19=63, Resulting Numbers: [33, 63] Generated Node #0,0,2: 41:[33, 63] Operation: 44+19=63 Moving to Node #0,2 Current State: 41:[44, 66, 52], Operations: ['19+33=52'] Exploring Operation: 66-44=22, Resulting Numbers: [52, 22] Generated Node #0,2,0: 41:[52, 22] Operation: 66-44=22 Exploring Operation: 66-52=14, Resulting Numbers: [44, 14] Generated Node #0,2,1: 41:[44, 14] Operation: 66-52=14 Exploring Operation: 52-44=8, Resulting Numbers: [66, 8] Generated Node #0,2,2: 41:[66, 8] Operation: 52-44=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[52, 22], Operations: ['19+33=52', '66-44=22'] Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,41 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[44, 14], Operations: ['19+33=52', '66-52=14'] Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[66, 8], Operations: ['19+33=52', '52-44=8'] Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,41 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 41:[44, 52], Operations: ['66-33=33', '19+33=52'] Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,41 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[33, 25], Operations: ['66-33=33', '44-19=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,41 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[33, 63], Operations: ['66-33=33', '44+19=63'] Exploring Operation: 33+63=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 33*63=2079, Resulting Numbers: [2079] 2079,41 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 87, 43, 56, 26 ]
61
[ "87+43=130", "130/26=5", "56+5=61" ]
Current State: 61:[87, 43, 56, 26], Operations: [] Exploring Operation: 87+43=130, Resulting Numbers: [56, 26, 130] Generated Node #2: [56, 26, 130] from Operation: 87+43=130 Current State: 61:[56, 26, 130], Operations: ['87+43=130'] Exploring Operation: 130/26=5, Resulting Numbers: [56, 5] Generated Node #3: [56, 5] from Operation: 130/26=5 Current State: 61:[56, 5], Operations: ['87+43=130', '130/26=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[87, 43, 56, 26], Operations: [] Exploring Operation: 87-43=44, Resulting Numbers: [56, 26, 44] Generated Node #0,0: 61:[56, 26, 44] Operation: 87-43=44 Exploring Operation: 43+26=69, Resulting Numbers: [87, 56, 69] Generated Node #0,1: 61:[87, 56, 69] Operation: 43+26=69 Exploring Operation: 87+26=113, Resulting Numbers: [43, 56, 113] Generated Node #0,2: 61:[43, 56, 113] Operation: 87+26=113 Exploring Operation: 56+26=82, Resulting Numbers: [87, 43, 82] Generated Node #0,3: 61:[87, 43, 82] Operation: 56+26=82 Exploring Operation: 87-26=61, Resulting Numbers: [43, 56, 61] Generated Node #0,4: 61:[43, 56, 61] Operation: 87-26=61 Moving to Node #0,4 Current State: 61:[43, 56, 61], Operations: ['87-26=61'] Exploring Operation: 43+56=99, Resulting Numbers: [61, 99] Generated Node #0,4,0: 61:[61, 99] Operation: 43+56=99 Exploring Operation: 43+61=104, Resulting Numbers: [56, 104] Generated Node #0,4,1: 61:[56, 104] Operation: 43+61=104 Exploring Operation: 56-43=13, Resulting Numbers: [61, 13] Generated Node #0,4,2: 61:[61, 13] Operation: 56-43=13 Exploring Operation: 61-43=18, Resulting Numbers: [56, 18] Generated Node #0,4,3: 61:[56, 18] Operation: 61-43=18 Exploring Operation: 56+61=117, Resulting Numbers: [43, 117] Generated Node #0,4,4: 61:[43, 117] Operation: 56+61=117 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[61, 99], Operations: ['87-26=61', '43+56=99'] Exploring Operation: 61+99=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 61*99=6039, Resulting Numbers: [6039] 6039,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[56, 104], Operations: ['87-26=61', '43+61=104'] Exploring Operation: 56*104=5824, Resulting Numbers: [5824] 5824,61 unequal: No Solution Exploring Operation: 104-56=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 56+104=160, Resulting Numbers: [160] 160,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[61, 13], Operations: ['87-26=61', '56-43=13'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[56, 18], Operations: ['87-26=61', '61-43=18'] Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,61 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 61:[43, 117], Operations: ['87-26=61', '56+61=117'] Exploring Operation: 43+117=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 117-43=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 43*117=5031, Resulting Numbers: [5031] 5031,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:[87, 56, 69], Operations: ['43+26=69'] Exploring Operation: 69-56=13, Resulting Numbers: [87, 13] Generated Node #0,1,0: 61:[87, 13] Operation: 69-56=13 Exploring Operation: 56+69=125, Resulting Numbers: [87, 125] Generated Node #0,1,1: 61:[87, 125] Operation: 56+69=125 Exploring Operation: 87-69=18, Resulting Numbers: [56, 18] Generated Node #0,1,2: 61:[56, 18] Operation: 87-69=18 Exploring Operation: 87-56=31, Resulting Numbers: [69, 31] Generated Node #0,1,3: 61:[69, 31] Operation: 87-56=31 Exploring Operation: 87+56=143, Resulting Numbers: [69, 143] Generated Node #0,1,4: 61:[69, 143] Operation: 87+56=143 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[69, 31], Operations: ['43+26=69', '87-56=31'] Exploring Operation: 69*31=2139, Resulting Numbers: [2139] 2139,61 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[56, 18], Operations: ['43+26=69', '87-69=18'] Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,61 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[87, 13], Operations: ['43+26=69', '69-56=13'] Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[87, 125], Operations: ['43+26=69', '56+69=125'] Exploring Operation: 87*125=10875, Resulting Numbers: [10875] 10875,61 unequal: No Solution Exploring Operation: 87+125=212, Resulting Numbers: [212] 212,61 unequal: No Solution Exploring Operation: 125-87=38, Resulting Numbers: [38] 38,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[69, 143], Operations: ['43+26=69', '87+56=143'] Exploring Operation: 69*143=9867, Resulting Numbers: [9867] 9867,61 unequal: No Solution Exploring Operation: 69+143=212, Resulting Numbers: [212] 212,61 unequal: No Solution Exploring Operation: 143-69=74, Resulting Numbers: [74] 74,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[56, 26, 44], Operations: ['87-43=44'] Exploring Operation: 26+44=70, Resulting Numbers: [56, 70] Generated Node #0,0,0: 61:[56, 70] Operation: 26+44=70 Exploring Operation: 56+44=100, Resulting Numbers: [26, 100] Generated Node #0,0,1: 61:[26, 100] Operation: 56+44=100 Exploring Operation: 56-26=30, Resulting Numbers: [44, 30] Generated Node #0,0,2: 61:[44, 30] Operation: 56-26=30 Exploring Operation: 56+26=82, Resulting Numbers: [44, 82] Generated Node #0,0,3: 61:[44, 82] Operation: 56+26=82 Exploring Operation: 44-26=18, Resulting Numbers: [56, 18] Generated Node #0,0,4: 61:[56, 18] Operation: 44-26=18 Moving to Node #0,3 Current State: 61:[87, 43, 82], Operations: ['56+26=82'] Exploring Operation: 87-82=5, Resulting Numbers: [43, 5] Generated Node #0,3,0: 61:[43, 5] Operation: 87-82=5 Exploring Operation: 87-43=44, Resulting Numbers: [82, 44] Generated Node #0,3,1: 61:[82, 44] Operation: 87-43=44 Exploring Operation: 43+82=125, Resulting Numbers: [87, 125] Generated Node #0,3,2: 61:[87, 125] Operation: 43+82=125 Exploring Operation: 87+43=130, Resulting Numbers: [82, 130] Generated Node #0,3,3: 61:[82, 130] Operation: 87+43=130 Exploring Operation: 82-43=39, Resulting Numbers: [87, 39] Generated Node #0,3,4: 61:[87, 39] Operation: 82-43=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[82, 44], Operations: ['56+26=82', '87-43=44'] Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,61 unequal: No Solution Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 61:[87, 39], Operations: ['56+26=82', '82-43=39'] Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 87*39=3393, Resulting Numbers: [3393] 3393,61 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[43, 5], Operations: ['56+26=82', '87-82=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,61 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[87, 125], Operations: ['56+26=82', '43+82=125'] Exploring Operation: 87+125=212, Resulting Numbers: [212] 212,61 unequal: No Solution Exploring Operation: 125-87=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 87*125=10875, Resulting Numbers: [10875] 10875,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[82, 130], Operations: ['56+26=82', '87+43=130'] Exploring Operation: 130-82=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 82*130=10660, Resulting Numbers: [10660] 10660,61 unequal: No Solution Exploring Operation: 82+130=212, Resulting Numbers: [212] 212,61 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: 61:[43, 56, 113], Operations: ['87+26=113'] Exploring Operation: 43+113=156, Resulting Numbers: [56, 156] Generated Node #0,2,0: 61:[56, 156] Operation: 43+113=156 Exploring Operation: 56-43=13, Resulting Numbers: [113, 13] Generated Node #0,2,1: 61:[113, 13] Operation: 56-43=13 Exploring Operation: 43+56=99, Resulting Numbers: [113, 99] Generated Node #0,2,2: 61:[113, 99] Operation: 43+56=99 Exploring Operation: 113-56=57, Resulting Numbers: [43, 57] Generated Node #0,2,3: 61:[43, 57] Operation: 113-56=57 Exploring Operation: 113-43=70, Resulting Numbers: [56, 70] Generated Node #0,2,4: 61:[56, 70] Operation: 113-43=70 Moving to Node #0,0,0 Current State: 61:[56, 70], Operations: ['87-43=44', '26+44=70'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,61 unequal: No Solution Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[56, 70], Operations: ['87+26=113', '113-43=70'] Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[43, 57], Operations: ['87+26=113', '113-56=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[44, 82], Operations: ['87-43=44', '56+26=82'] Exploring Operation: 44*82=3608, Resulting Numbers: [3608] 3608,61 unequal: No Solution Exploring Operation: 44+82=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[44, 30], Operations: ['87-43=44', '56-26=30'] Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[56, 18], Operations: ['87-43=44', '44-26=18'] Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,61 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[26, 100], Operations: ['87-43=44', '56+44=100'] Exploring Operation: 100-26=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 26*100=2600, Resulting Numbers: [2600] 2600,61 unequal: No Solution Exploring Operation: 26+100=126, Resulting Numbers: [126] 126,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[113, 99], Operations: ['87+26=113', '43+56=99'] Exploring Operation: 113-99=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 113+99=212, Resulting Numbers: [212] 212,61 unequal: No Solution Exploring Operation: 113*99=11187, Resulting Numbers: [11187] 11187,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[113, 13], Operations: ['87+26=113', '56-43=13'] Exploring Operation: 113-13=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 113+13=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 113*13=1469, Resulting Numbers: [1469] 1469,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[56, 156], Operations: ['87+26=113', '43+113=156'] Exploring Operation: 56+156=212, Resulting Numbers: [212] 212,61 unequal: No Solution Exploring Operation: 56*156=8736, Resulting Numbers: [8736] 8736,61 unequal: No Solution Exploring Operation: 156-56=100, Resulting Numbers: [100] 100,61 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 60, 11, 91 ]
53
[ "2+11=13", "91/13=7", "60-7=53" ]
Current State: 53:[2, 60, 11, 91], Operations: [] Exploring Operation: 2+11=13, Resulting Numbers: [60, 91, 13] Generated Node #2: [60, 91, 13] from Operation: 2+11=13 Current State: 53:[60, 91, 13], Operations: ['2+11=13'] Exploring Operation: 91/13=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 91/13=7 Current State: 53:[60, 7], Operations: ['2+11=13', '91/13=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 60, 11, 91], Operations: [] Exploring Operation: 2*11=22, Resulting Numbers: [60, 91, 22] Generated Node #0,0: 53:[60, 91, 22] Operation: 2*11=22 Exploring Operation: 91-2=89, Resulting Numbers: [60, 11, 89] Generated Node #0,1: 53:[60, 11, 89] Operation: 91-2=89 Exploring Operation: 60-2=58, Resulting Numbers: [11, 91, 58] Generated Node #0,2: 53:[11, 91, 58] Operation: 60-2=58 Exploring Operation: 2+11=13, Resulting Numbers: [60, 91, 13] Generated Node #0,3: 53:[60, 91, 13] Operation: 2+11=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[60, 91, 22], Operations: ['2*11=22'] Exploring Operation: 60-22=38, Resulting Numbers: [91, 38] Generated Node #0,0,0: 53:[91, 38] Operation: 60-22=38 Exploring Operation: 91-60=31, Resulting Numbers: [22, 31] Generated Node #0,0,1: 53:[22, 31] Operation: 91-60=31 Exploring Operation: 60+22=82, Resulting Numbers: [91, 82] Generated Node #0,0,2: 53:[91, 82] Operation: 60+22=82 Exploring Operation: 91-22=69, Resulting Numbers: [60, 69] Generated Node #0,0,3: 53:[60, 69] Operation: 91-22=69 Moving to Node #0,0,3 Current State: 53:[60, 69], Operations: ['2*11=22', '91-22=69'] Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,53 unequal: No Solution Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[22, 31], Operations: ['2*11=22', '91-60=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[2, 60, 11, 91], Operations: [] Exploring Operation: 2*11=22, Resulting Numbers: [60, 91, 22] Generated Node #0,0: 53:[60, 91, 22] Operation: 2*11=22 Moving to Node #0,0 Current State: 53:[60, 91, 22], Operations: ['2*11=22'] Exploring Operation: 91-60=31, Resulting Numbers: [22, 31] Generated Node #0,0,1: 53:[22, 31] Operation: 91-60=31 Moving to Node #0,0,1 Current State: 53:[22, 31], Operations: ['2*11=22', '91-60=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 71, 67, 48, 63 ]
61
[ "71-63=8", "48/8=6", "67-6=61" ]
Current State: 61:[71, 67, 48, 63], Operations: [] Exploring Operation: 71-63=8, Resulting Numbers: [67, 48, 8] Generated Node #2: [67, 48, 8] from Operation: 71-63=8 Current State: 61:[67, 48, 8], Operations: ['71-63=8'] Exploring Operation: 48/8=6, Resulting Numbers: [67, 6] Generated Node #3: [67, 6] from Operation: 48/8=6 Current State: 61:[67, 6], Operations: ['71-63=8', '48/8=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[71, 67, 48, 63], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [67, 63, 23] Generated Node #0,0: 61:[67, 63, 23] Operation: 71-48=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[67, 63, 23], Operations: ['71-48=23'] Exploring Operation: 67-23=44, Resulting Numbers: [63, 44] Generated Node #0,0,0: 61:[63, 44] Operation: 67-23=44 Moving to Node #0,0,0 Current State: 61:[63, 44], Operations: ['71-48=23', '67-23=44'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,61 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
[ 6, 35, 19, 21 ]
27
[ "35-6=29", "21-19=2", "29-2=27" ]
Current State: 27:[6, 35, 19, 21], Operations: [] Exploring Operation: 35-6=29, Resulting Numbers: [19, 21, 29] Generated Node #2: [19, 21, 29] from Operation: 35-6=29 Current State: 27:[19, 21, 29], Operations: ['35-6=29'] Exploring Operation: 21-19=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 21-19=2 Current State: 27:[29, 2], Operations: ['35-6=29', '21-19=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[6, 35, 19, 21], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [6, 35, 2] Generated Node #0,0: 27:[6, 35, 2] Operation: 21-19=2 Exploring Operation: 35-6=29, Resulting Numbers: [19, 21, 29] Generated Node #0,1: 27:[19, 21, 29] Operation: 35-6=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[6, 35, 2], Operations: ['21-19=2'] Exploring Operation: 6/2=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 27:[35, 3] Operation: 6/2=3 Exploring Operation: 35-6=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 27:[2, 29] Operation: 35-6=29 Moving to Node #0,0,1 Current State: 27:[2, 29], Operations: ['21-19=2', '35-6=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[6, 35, 19, 21], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [6, 35, 2] Generated Node #0,0: 27:[6, 35, 2] Operation: 21-19=2 Moving to Node #0,0 Current State: 27:[6, 35, 2], Operations: ['21-19=2'] Exploring Operation: 35-6=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 27:[2, 29] Operation: 35-6=29 Moving to Node #0,0,1 Current State: 27:[2, 29], Operations: ['21-19=2', '35-6=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 95, 74, 90, 72 ]
85
[ "74-72=2", "90*2=180", "180-95=85" ]
Current State: 85:[95, 74, 90, 72], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [95, 90, 2] Generated Node #2: [95, 90, 2] from Operation: 74-72=2 Current State: 85:[95, 90, 2], Operations: ['74-72=2'] Exploring Operation: 90*2=180, Resulting Numbers: [95, 180] Generated Node #3: [95, 180] from Operation: 90*2=180 Current State: 85:[95, 180], Operations: ['74-72=2', '90*2=180'] Exploring Operation: 180-95=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[95, 74, 90, 72], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [74, 72, 5] Generated Node #0,0: 85:[74, 72, 5] Operation: 95-90=5 Exploring Operation: 95-74=21, Resulting Numbers: [90, 72, 21] Generated Node #0,1: 85:[90, 72, 21] Operation: 95-74=21 Exploring Operation: 90-72=18, Resulting Numbers: [95, 74, 18] Generated Node #0,2: 85:[95, 74, 18] Operation: 90-72=18 Exploring Operation: 74-72=2, Resulting Numbers: [95, 90, 2] Generated Node #0,3: 85:[95, 90, 2] Operation: 74-72=2 Exploring Operation: 95-72=23, Resulting Numbers: [74, 90, 23] Generated Node #0,4: 85:[74, 90, 23] Operation: 95-72=23 Moving to Node #0,3 Current State: 85:[95, 90, 2], Operations: ['74-72=2'] Exploring Operation: 95-2=93, Resulting Numbers: [90, 93] Generated Node #0,3,0: 85:[90, 93] Operation: 95-2=93 Exploring Operation: 90-2=88, Resulting Numbers: [95, 88] Generated Node #0,3,1: 85:[95, 88] Operation: 90-2=88 Exploring Operation: 95-90=5, Resulting Numbers: [2, 5] Generated Node #0,3,2: 85:[2, 5] Operation: 95-90=5 Exploring Operation: 95+2=97, Resulting Numbers: [90, 97] Generated Node #0,3,3: 85:[90, 97] Operation: 95+2=97 Exploring Operation: 90+2=92, Resulting Numbers: [95, 92] Generated Node #0,3,4: 85:[95, 92] Operation: 90+2=92 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[2, 5], Operations: ['74-72=2', '95-90=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,3,0 Current State: 85:[90, 93], Operations: ['74-72=2', '95-2=93'] Exploring Operation: 90+93=183, Resulting Numbers: [183] 183,85 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 90*93=8370, Resulting Numbers: [8370] 8370,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,3,1 Current State: 85:[95, 88], Operations: ['74-72=2', '90-2=88'] Exploring Operation: 95-88=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 95*88=8360, Resulting Numbers: [8360] 8360,85 unequal: No Solution Exploring Operation: 95+88=183, Resulting Numbers: [183] 183,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,3,3 Current State: 85:[90, 97], Operations: ['74-72=2', '95+2=97'] Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,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,3,4 Current State: 85:[95, 92], Operations: ['74-72=2', '90+2=92'] Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,85 unequal: No Solution Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,85 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: 85:[95, 74, 18], Operations: ['90-72=18'] Exploring Operation: 74-18=56, Resulting Numbers: [95, 56] Generated Node #0,2,0: 85:[95, 56] Operation: 74-18=56 Exploring Operation: 95-18=77, Resulting Numbers: [74, 77] Generated Node #0,2,1: 85:[74, 77] Operation: 95-18=77 Exploring Operation: 74+18=92, Resulting Numbers: [95, 92] Generated Node #0,2,2: 85:[95, 92] Operation: 74+18=92 Exploring Operation: 95+18=113, Resulting Numbers: [74, 113] Generated Node #0,2,3: 85:[74, 113] Operation: 95+18=113 Exploring Operation: 95-74=21, Resulting Numbers: [18, 21] Generated Node #0,2,4: 85:[18, 21] Operation: 95-74=21 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 85:[18, 21], Operations: ['90-72=18', '95-74=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,85 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,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,2,2 Current State: 85:[95, 92], Operations: ['90-72=18', '74+18=92'] Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,85 unequal: No Solution Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,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,2,1 Current State: 85:[74, 77], Operations: ['90-72=18', '95-18=77'] Exploring Operation: 74*77=5698, Resulting Numbers: [5698] 5698,85 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 74+77=151, Resulting Numbers: [151] 151,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,2,0 Current State: 85:[95, 56], Operations: ['90-72=18', '74-18=56'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 95*56=5320, Resulting Numbers: [5320] 5320,85 unequal: No Solution Exploring Operation: 95+56=151, Resulting Numbers: [151] 151,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,2,3 Current State: 85:[74, 113], Operations: ['90-72=18', '95+18=113'] Exploring Operation: 74+113=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 74*113=8362, Resulting Numbers: [8362] 8362,85 unequal: No Solution Exploring Operation: 113-74=39, Resulting Numbers: [39] 39,85 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: 85:[90, 72, 21], Operations: ['95-74=21'] Exploring Operation: 72-21=51, Resulting Numbers: [90, 51] Generated Node #0,1,0: 85:[90, 51] Operation: 72-21=51 Exploring Operation: 90-21=69, Resulting Numbers: [72, 69] Generated Node #0,1,1: 85:[72, 69] Operation: 90-21=69 Exploring Operation: 72+21=93, Resulting Numbers: [90, 93] Generated Node #0,1,2: 85:[90, 93] Operation: 72+21=93 Exploring Operation: 90+21=111, Resulting Numbers: [72, 111] Generated Node #0,1,3: 85:[72, 111] Operation: 90+21=111 Exploring Operation: 90-72=18, Resulting Numbers: [21, 18] Generated Node #0,1,4: 85:[21, 18] Operation: 90-72=18 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 85:[21, 18], Operations: ['95-74=21', '90-72=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,85 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,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,1,2 Current State: 85:[90, 93], Operations: ['95-74=21', '72+21=93'] Exploring Operation: 90*93=8370, Resulting Numbers: [8370] 8370,85 unequal: No Solution Exploring Operation: 90+93=183, Resulting Numbers: [183] 183,85 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,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,1,1 Current State: 85:[72, 69], Operations: ['95-74=21', '90-21=69'] Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 72+69=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 72*69=4968, Resulting Numbers: [4968] 4968,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,1,0 Current State: 85:[90, 51], Operations: ['95-74=21', '72-21=51'] Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,85 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,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,1,3 Current State: 85:[72, 111], Operations: ['95-74=21', '90+21=111'] Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,85 unequal: No Solution Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,85 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: 85:[74, 90, 23], Operations: ['95-72=23'] Exploring Operation: 74+23=97, Resulting Numbers: [90, 97] Generated Node #0,4,0: 85:[90, 97] Operation: 74+23=97 Exploring Operation: 90-74=16, Resulting Numbers: [23, 16] Generated Node #0,4,1: 85:[23, 16] Operation: 90-74=16 Exploring Operation: 90-23=67, Resulting Numbers: [74, 67] Generated Node #0,4,2: 85:[74, 67] Operation: 90-23=67 Exploring Operation: 74-23=51, Resulting Numbers: [90, 51] Generated Node #0,4,3: 85:[90, 51] Operation: 74-23=51 Exploring Operation: 90+23=113, Resulting Numbers: [74, 113] Generated Node #0,4,4: 85:[74, 113] Operation: 90+23=113 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 85:[23, 16], Operations: ['95-72=23', '90-74=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,85 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,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,4,0 Current State: 85:[90, 97], Operations: ['95-72=23', '74+23=97'] Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,85 unequal: No Solution Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,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,4,2 Current State: 85:[74, 67], Operations: ['95-72=23', '90-23=67'] Exploring Operation: 74*67=4958, Resulting Numbers: [4958] 4958,85 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 74+67=141, Resulting Numbers: [141] 141,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,4,3 Current State: 85:[90, 51], Operations: ['95-72=23', '74-23=51'] Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,85 unequal: No Solution Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,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,4,4 Current State: 85:[74, 113], Operations: ['95-72=23', '90+23=113'] Exploring Operation: 113-74=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 74*113=8362, Resulting Numbers: [8362] 8362,85 unequal: No Solution Exploring Operation: 74+113=187, Resulting Numbers: [187] 187,85 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: 85:[74, 72, 5], Operations: ['95-90=5'] Exploring Operation: 72+5=77, Resulting Numbers: [74, 77] Generated Node #0,0,0: 85:[74, 77] Operation: 72+5=77 Exploring Operation: 74+5=79, Resulting Numbers: [72, 79] Generated Node #0,0,1: 85:[72, 79] Operation: 74+5=79 Exploring Operation: 74-72=2, Resulting Numbers: [5, 2] Generated Node #0,0,2: 85:[5, 2] Operation: 74-72=2 Exploring Operation: 72-5=67, Resulting Numbers: [74, 67] Generated Node #0,0,3: 85:[74, 67] Operation: 72-5=67 Exploring Operation: 74-5=69, Resulting Numbers: [72, 69] Generated Node #0,0,4: 85:[72, 69] Operation: 74-5=69 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[5, 2], Operations: ['95-90=5', '74-72=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,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,0 Current State: 85:[74, 77], Operations: ['95-90=5', '72+5=77'] Exploring Operation: 74*77=5698, Resulting Numbers: [5698] 5698,85 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 74+77=151, Resulting Numbers: [151] 151,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,1 Current State: 85:[72, 79], Operations: ['95-90=5', '74+5=79'] Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,85 unequal: No Solution Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,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,3 Current State: 85:[74, 67], Operations: ['95-90=5', '72-5=67'] Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 74*67=4958, Resulting Numbers: [4958] 4958,85 unequal: No Solution Exploring Operation: 74+67=141, Resulting Numbers: [141] 141,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,4 Current State: 85:[72, 69], Operations: ['95-90=5', '74-5=69'] Exploring Operation: 72+69=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 72*69=4968, Resulting Numbers: [4968] 4968,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
mult_heuristic
[ 23, 19, 22, 24 ]
93
[ "22-19=3", "23*3=69", "24+69=93" ]
Current State: 93:[23, 19, 22, 24], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [23, 24, 3] Generated Node #2: [23, 24, 3] from Operation: 22-19=3 Current State: 93:[23, 24, 3], Operations: ['22-19=3'] Exploring Operation: 23*3=69, Resulting Numbers: [24, 69] Generated Node #3: [24, 69] from Operation: 23*3=69 Current State: 93:[24, 69], Operations: ['22-19=3', '23*3=69'] Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[23, 19, 22, 24], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [22, 24, 4] Generated Node #0,0: 93:[22, 24, 4] Operation: 23-19=4 Exploring Operation: 23-22=1, Resulting Numbers: [19, 24, 1] Generated Node #0,1: 93:[19, 24, 1] Operation: 23-22=1 Exploring Operation: 24-19=5, Resulting Numbers: [23, 22, 5] Generated Node #0,2: 93:[23, 22, 5] Operation: 24-19=5 Exploring Operation: 22-19=3, Resulting Numbers: [23, 24, 3] Generated Node #0,3: 93:[23, 24, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[23, 24, 3], Operations: ['22-19=3'] Exploring Operation: 24+3=27, Resulting Numbers: [23, 27] Generated Node #0,3,0: 93:[23, 27] Operation: 24+3=27 Exploring Operation: 23+3=26, Resulting Numbers: [24, 26] Generated Node #0,3,1: 93:[24, 26] Operation: 23+3=26 Exploring Operation: 24-23=1, Resulting Numbers: [3, 1] Generated Node #0,3,2: 93:[3, 1] Operation: 24-23=1 Exploring Operation: 24/3=8, Resulting Numbers: [23, 8] Generated Node #0,3,3: 93:[23, 8] Operation: 24/3=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[3, 1], Operations: ['22-19=3', '24-23=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[23, 27], Operations: ['22-19=3', '24+3=27'] Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,93 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[24, 26], Operations: ['22-19=3', '23+3=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[23, 8], Operations: ['22-19=3', '24/3=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[22, 24, 4], Operations: ['23-19=4'] Exploring Operation: 24+4=28, Resulting Numbers: [22, 28] Generated Node #0,0,0: 93:[22, 28] Operation: 24+4=28 Exploring Operation: 22+4=26, Resulting Numbers: [24, 26] Generated Node #0,0,1: 93:[24, 26] Operation: 22+4=26 Exploring Operation: 24-22=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 93:[4, 2] Operation: 24-22=2 Exploring Operation: 22*4=88, Resulting Numbers: [24, 88] Generated Node #0,0,3: 93:[24, 88] Operation: 22*4=88 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[4, 2], Operations: ['23-19=4', '24-22=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[22, 28], Operations: ['23-19=4', '24+4=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[24, 26], Operations: ['23-19=4', '22+4=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,93 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[24, 88], Operations: ['23-19=4', '22*4=88'] Exploring Operation: 24+88=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 24*88=2112, Resulting Numbers: [2112] 2112,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[23, 22, 5], Operations: ['24-19=5'] Exploring Operation: 23+22=45, Resulting Numbers: [5, 45] Generated Node #0,2,0: 93:[5, 45] Operation: 23+22=45 Exploring Operation: 23-22=1, Resulting Numbers: [5, 1] Generated Node #0,2,1: 93:[5, 1] Operation: 23-22=1 Exploring Operation: 23+5=28, Resulting Numbers: [22, 28] Generated Node #0,2,2: 93:[22, 28] Operation: 23+5=28 Exploring Operation: 22+5=27, Resulting Numbers: [23, 27] Generated Node #0,2,3: 93:[23, 27] Operation: 22+5=27 Moving to Node #0,2,1 Current State: 93:[5, 1], Operations: ['24-19=5', '23-22=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[23, 27], Operations: ['24-19=5', '22+5=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[22, 28], Operations: ['24-19=5', '23+5=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,93 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[5, 45], Operations: ['24-19=5', '23+22=45'] Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,93 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[19, 24, 1], Operations: ['23-22=1'] Exploring Operation: 19+24=43, Resulting Numbers: [1, 43] Generated Node #0,1,0: 93:[1, 43] Operation: 19+24=43 Exploring Operation: 24-19=5, Resulting Numbers: [1, 5] Generated Node #0,1,1: 93:[1, 5] Operation: 24-19=5 Exploring Operation: 24+1=25, Resulting Numbers: [19, 25] Generated Node #0,1,2: 93:[19, 25] Operation: 24+1=25 Exploring Operation: 19+1=20, Resulting Numbers: [24, 20] Generated Node #0,1,3: 93:[24, 20] Operation: 19+1=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[1, 5], Operations: ['23-22=1', '24-19=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[1, 43], Operations: ['23-22=1', '19+24=43'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[19, 25], Operations: ['23-22=1', '24+1=25'] Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,93 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[24, 20], Operations: ['23-22=1', '19+1=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,93 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 54, 34, 87, 45 ]
22
[ "54-34=20", "87-45=42", "42-20=22" ]
Current State: 22:[54, 34, 87, 45], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [87, 45, 20] Generated Node #2: [87, 45, 20] from Operation: 54-34=20 Current State: 22:[87, 45, 20], Operations: ['54-34=20'] Exploring Operation: 87-45=42, Resulting Numbers: [20, 42] Generated Node #3: [20, 42] from Operation: 87-45=42 Current State: 22:[20, 42], Operations: ['54-34=20', '87-45=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[54, 34, 87, 45], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [34, 45, 33] Generated Node #0,0: 22:[34, 45, 33] Operation: 87-54=33 Exploring Operation: 87-45=42, Resulting Numbers: [54, 34, 42] Generated Node #0,1: 22:[54, 34, 42] Operation: 87-45=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[34, 45, 33], Operations: ['87-54=33'] Exploring Operation: 45-34=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 22:[33, 11] Operation: 45-34=11 Exploring Operation: 45-33=12, Resulting Numbers: [34, 12] Generated Node #0,0,1: 22:[34, 12] Operation: 45-33=12 Moving to Node #0,0,0 Current State: 22:[33, 11], Operations: ['87-54=33', '45-34=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[54, 34, 87, 45], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [34, 45, 33] Generated Node #0,0: 22:[34, 45, 33] Operation: 87-54=33 Moving to Node #0,0 Current State: 22:[34, 45, 33], Operations: ['87-54=33'] Exploring Operation: 45-34=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 22:[33, 11] Operation: 45-34=11 Moving to Node #0,0,0 Current State: 22:[33, 11], Operations: ['87-54=33', '45-34=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 34, 32, 96, 69 ]
25
[ "34-32=2", "96-69=27", "27-2=25" ]
Current State: 25:[34, 32, 96, 69], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [96, 69, 2] Generated Node #2: [96, 69, 2] from Operation: 34-32=2 Current State: 25:[96, 69, 2], Operations: ['34-32=2'] Exploring Operation: 96-69=27, Resulting Numbers: [2, 27] Generated Node #3: [2, 27] from Operation: 96-69=27 Current State: 25:[2, 27], Operations: ['34-32=2', '96-69=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[34, 32, 96, 69], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [34, 32, 27] Generated Node #0,0: 25:[34, 32, 27] Operation: 96-69=27 Exploring Operation: 96/32=3, Resulting Numbers: [34, 69, 3] Generated Node #0,1: 25:[34, 69, 3] Operation: 96/32=3 Moving to Node #0,0 Current State: 25:[34, 32, 27], Operations: ['96-69=27'] Exploring Operation: 34-32=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 25:[27, 2] Operation: 34-32=2 Exploring Operation: 34-27=7, Resulting Numbers: [32, 7] Generated Node #0,0,1: 25:[32, 7] Operation: 34-27=7 Moving to Node #0,1 Current State: 25:[34, 69, 3], Operations: ['96/32=3'] Exploring Operation: 69-34=35, Resulting Numbers: [3, 35] Generated Node #0,1,0: 25:[3, 35] Operation: 69-34=35 Exploring Operation: 69/3=23, Resulting Numbers: [34, 23] Generated Node #0,1,1: 25:[34, 23] Operation: 69/3=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[34, 23], Operations: ['96/32=3', '69/3=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[3, 35], Operations: ['96/32=3', '69-34=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 25:[27, 2], Operations: ['96-69=27', '34-32=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[34, 32, 96, 69], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [34, 32, 27] Generated Node #0,0: 25:[34, 32, 27] Operation: 96-69=27 Moving to Node #0,0 Current State: 25:[34, 32, 27], Operations: ['96-69=27'] Exploring Operation: 34-32=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 25:[27, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 25:[27, 2], Operations: ['96-69=27', '34-32=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 26, 69, 92, 44 ]
92
[ "69-26=43", "44-43=1", "92*1=92" ]
Current State: 92:[26, 69, 92, 44], Operations: [] Exploring Operation: 69-26=43, Resulting Numbers: [92, 44, 43] Generated Node #2: [92, 44, 43] from Operation: 69-26=43 Current State: 92:[92, 44, 43], Operations: ['69-26=43'] Exploring Operation: 44-43=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 44-43=1 Current State: 92:[92, 1], Operations: ['69-26=43', '44-43=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[26, 69, 92, 44], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [26, 44, 23] Generated Node #0,0: 92:[26, 44, 23] Operation: 92-69=23 Exploring Operation: 26+69=95, Resulting Numbers: [92, 44, 95] Generated Node #0,1: 92:[92, 44, 95] Operation: 26+69=95 Exploring Operation: 69+44=113, Resulting Numbers: [26, 92, 113] Generated Node #0,2: 92:[26, 92, 113] Operation: 69+44=113 Exploring Operation: 69-26=43, Resulting Numbers: [92, 44, 43] Generated Node #0,3: 92:[92, 44, 43] Operation: 69-26=43 Exploring Operation: 69-44=25, Resulting Numbers: [26, 92, 25] Generated Node #0,4: 92:[26, 92, 25] Operation: 69-44=25 Moving to Node #0,0 Current State: 92:[26, 44, 23], Operations: ['92-69=23'] Exploring Operation: 44-26=18, Resulting Numbers: [23, 18] Generated Node #0,0,0: 92:[23, 18] Operation: 44-26=18 Exploring Operation: 26+23=49, Resulting Numbers: [44, 49] Generated Node #0,0,1: 92:[44, 49] Operation: 26+23=49 Exploring Operation: 26+44=70, Resulting Numbers: [23, 70] Generated Node #0,0,2: 92:[23, 70] Operation: 26+44=70 Exploring Operation: 26-23=3, Resulting Numbers: [44, 3] Generated Node #0,0,3: 92:[44, 3] Operation: 26-23=3 Exploring Operation: 44-23=21, Resulting Numbers: [26, 21] Generated Node #0,0,4: 92:[26, 21] Operation: 44-23=21 Moving to Node #0,3 Current State: 92:[92, 44, 43], Operations: ['69-26=43'] Exploring Operation: 44-43=1, Resulting Numbers: [92, 1] Generated Node #0,3,0: 92:[92, 1] Operation: 44-43=1 Exploring Operation: 92-43=49, Resulting Numbers: [44, 49] Generated Node #0,3,1: 92:[44, 49] Operation: 92-43=49 Exploring Operation: 44+43=87, Resulting Numbers: [92, 87] Generated Node #0,3,2: 92:[92, 87] Operation: 44+43=87 Exploring Operation: 92+43=135, Resulting Numbers: [44, 135] Generated Node #0,3,3: 92:[44, 135] Operation: 92+43=135 Exploring Operation: 92-44=48, Resulting Numbers: [43, 48] Generated Node #0,3,4: 92:[43, 48] Operation: 92-44=48 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[92, 1], Operations: ['69-26=43', '44-43=1'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[26, 69, 92, 44], Operations: [] Exploring Operation: 69-26=43, Resulting Numbers: [92, 44, 43] Generated Node #0,3: 92:[92, 44, 43] Operation: 69-26=43 Moving to Node #0,3 Current State: 92:[92, 44, 43], Operations: ['69-26=43'] Exploring Operation: 44-43=1, Resulting Numbers: [92, 1] Generated Node #0,3,0: 92:[92, 1] Operation: 44-43=1 Moving to Node #0,3,0 Current State: 92:[92, 1], Operations: ['69-26=43', '44-43=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 75, 87, 94, 71 ]
28
[ "75-71=4", "94-87=7", "4*7=28" ]
Current State: 28:[75, 87, 94, 71], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [87, 94, 4] Generated Node #2: [87, 94, 4] from Operation: 75-71=4 Current State: 28:[87, 94, 4], Operations: ['75-71=4'] Exploring Operation: 94-87=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 94-87=7 Current State: 28:[4, 7], Operations: ['75-71=4', '94-87=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[75, 87, 94, 71], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [87, 71, 19] Generated Node #0,0: 28:[87, 71, 19] Operation: 94-75=19 Exploring Operation: 94-87=7, Resulting Numbers: [75, 71, 7] Generated Node #0,1: 28:[75, 71, 7] Operation: 94-87=7 Exploring Operation: 87-75=12, Resulting Numbers: [94, 71, 12] Generated Node #0,2: 28:[94, 71, 12] Operation: 87-75=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[75, 71, 7], Operations: ['94-87=7'] Exploring Operation: 71-7=64, Resulting Numbers: [75, 64] Generated Node #0,1,0: 28:[75, 64] Operation: 71-7=64 Exploring Operation: 75-7=68, Resulting Numbers: [71, 68] Generated Node #0,1,1: 28:[71, 68] Operation: 75-7=68 Exploring Operation: 75-71=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 28:[7, 4] Operation: 75-71=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[7, 4], Operations: ['94-87=7', '75-71=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[75, 87, 94, 71], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [75, 71, 7] Generated Node #0,1: 28:[75, 71, 7] Operation: 94-87=7 Moving to Node #0,1 Current State: 28:[75, 71, 7], Operations: ['94-87=7'] Exploring Operation: 75-71=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 28:[7, 4] Operation: 75-71=4 Moving to Node #0,1,2 Current State: 28:[7, 4], Operations: ['94-87=7', '75-71=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 57, 63, 36, 82 ]
40
[ "63-57=6", "82-36=46", "46-6=40" ]
Current State: 40:[57, 63, 36, 82], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [36, 82, 6] Generated Node #2: [36, 82, 6] from Operation: 63-57=6 Current State: 40:[36, 82, 6], Operations: ['63-57=6'] Exploring Operation: 82-36=46, Resulting Numbers: [6, 46] Generated Node #3: [6, 46] from Operation: 82-36=46 Current State: 40:[6, 46], Operations: ['63-57=6', '82-36=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[57, 63, 36, 82], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [57, 36, 19] Generated Node #0,0: 40:[57, 36, 19] Operation: 82-63=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[57, 36, 19], Operations: ['82-63=19'] Exploring Operation: 57-36=21, Resulting Numbers: [19, 21] Generated Node #0,0,0: 40:[19, 21] Operation: 57-36=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[19, 21], Operations: ['82-63=19', '57-36=21'] Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[57, 63, 36, 82], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [57, 36, 19] Generated Node #0,0: 40:[57, 36, 19] Operation: 82-63=19 Moving to Node #0,0 Current State: 40:[57, 36, 19], Operations: ['82-63=19'] Exploring Operation: 57-36=21, Resulting Numbers: [19, 21] Generated Node #0,0,0: 40:[19, 21] Operation: 57-36=21 Moving to Node #0,0,0 Current State: 40:[19, 21], Operations: ['82-63=19', '57-36=21'] Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 94, 55, 52, 60 ]
45
[ "94-55=39", "60*39=2340", "2340/52=45" ]
Current State: 45:[94, 55, 52, 60], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [52, 60, 39] Generated Node #2: [52, 60, 39] from Operation: 94-55=39 Current State: 45:[52, 60, 39], Operations: ['94-55=39'] Exploring Operation: 60*39=2340, Resulting Numbers: [52, 2340] Generated Node #3: [52, 2340] from Operation: 60*39=2340 Current State: 45:[52, 2340], Operations: ['94-55=39', '60*39=2340'] Exploring Operation: 2340/52=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[94, 55, 52, 60], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [52, 60, 39] Generated Node #0,0: 45:[52, 60, 39] Operation: 94-55=39 Exploring Operation: 94-52=42, Resulting Numbers: [55, 60, 42] Generated Node #0,1: 45:[55, 60, 42] Operation: 94-52=42 Moving to Node #0,0 Current State: 45:[52, 60, 39], Operations: ['94-55=39'] Exploring Operation: 60-52=8, Resulting Numbers: [39, 8] Generated Node #0,0,0: 45:[39, 8] Operation: 60-52=8 Exploring Operation: 60-39=21, Resulting Numbers: [52, 21] Generated Node #0,0,1: 45:[52, 21] Operation: 60-39=21 Moving to Node #0,1 Current State: 45:[55, 60, 42], Operations: ['94-52=42'] Exploring Operation: 60-42=18, Resulting Numbers: [55, 18] Generated Node #0,1,0: 45:[55, 18] Operation: 60-42=18 Exploring Operation: 60-55=5, Resulting Numbers: [42, 5] Generated Node #0,1,1: 45:[42, 5] Operation: 60-55=5 Moving to Node #0,1,1 Current State: 45:[42, 5], Operations: ['94-52=42', '60-55=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[39, 8], Operations: ['94-55=39', '60-52=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[52, 21], Operations: ['94-55=39', '60-39=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[55, 18], Operations: ['94-52=42', '60-42=18'] Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,45 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 17, 79, 19, 68 ]
25
[ "79-17=62", "19+68=87", "87-62=25" ]
Current State: 25:[17, 79, 19, 68], Operations: [] Exploring Operation: 79-17=62, Resulting Numbers: [19, 68, 62] Generated Node #2: [19, 68, 62] from Operation: 79-17=62 Current State: 25:[19, 68, 62], Operations: ['79-17=62'] Exploring Operation: 19+68=87, Resulting Numbers: [62, 87] Generated Node #3: [62, 87] from Operation: 19+68=87 Current State: 25:[62, 87], Operations: ['79-17=62', '19+68=87'] Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[17, 79, 19, 68], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [17, 19, 11] Generated Node #0,0: 25:[17, 19, 11] Operation: 79-68=11 Exploring Operation: 68/17=4, Resulting Numbers: [79, 19, 4] Generated Node #0,1: 25:[79, 19, 4] Operation: 68/17=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[17, 19, 11], Operations: ['79-68=11'] Exploring Operation: 17-11=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 25:[19, 6] Operation: 17-11=6 Exploring Operation: 19-17=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 25:[11, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[19, 6], Operations: ['79-68=11', '17-11=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[17, 79, 19, 68], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [17, 19, 11] Generated Node #0,0: 25:[17, 19, 11] Operation: 79-68=11 Moving to Node #0,0 Current State: 25:[17, 19, 11], Operations: ['79-68=11'] Exploring Operation: 17-11=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 25:[19, 6] Operation: 17-11=6 Moving to Node #0,0,0 Current State: 25:[19, 6], Operations: ['79-68=11', '17-11=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 66, 45, 75, 45 ]
39
[ "66*45=2970", "2970-45=2925", "2925/75=39" ]
Current State: 39:[66, 45, 75, 45], Operations: [] Exploring Operation: 66*45=2970, Resulting Numbers: [75, 2970] Generated Node #2: [75, 2970] from Operation: 66*45=2970 Current State: 39:[75, 2970], Operations: ['66*45=2970'] Exploring Operation: 2970-45=2925, Resulting Numbers: [75, 2925] Generated Node #3: [75, 2925] from Operation: 2970-45=2925 Current State: 39:[75, 2925], Operations: ['66*45=2970', '2970-45=2925'] Exploring Operation: 2925/75=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[66, 45, 75, 45], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [66, 45, 30] Generated Node #0,0: 39:[66, 45, 30] Operation: 75-45=30 Exploring Operation: 75-45=30, Resulting Numbers: [66, 45, 30] Generated Node #0,1: 39:[66, 45, 30] Operation: 75-45=30 Exploring Operation: 66-45=21, Resulting Numbers: [75, 45, 21] Generated Node #0,2: 39:[75, 45, 21] Operation: 66-45=21 Exploring Operation: 75-66=9, Resulting Numbers: [45, 45, 9] Generated Node #0,3: 39:[45, 45, 9] Operation: 75-66=9 Moving to Node #0,3 Current State: 39:[45, 45, 9], Operations: ['75-66=9'] Exploring Operation: 45/9=5, Resulting Numbers: [45, 5] Generated Node #0,3,0: 39:[45, 5] Operation: 45/9=5 Exploring Operation: 45-45=0, Resulting Numbers: [9, 0] Generated Node #0,3,1: 39:[9, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [9, 1] Generated Node #0,3,2: 39:[9, 1] Operation: 45/45=1 Exploring Operation: 45/9=5, Resulting Numbers: [45, 5] Generated Node #0,3,3: 39:[45, 5] Operation: 45/9=5 Moving to Node #0,1 Current State: 39:[66, 45, 30], Operations: ['75-45=30'] Exploring Operation: 45-30=15, Resulting Numbers: [66, 15] Generated Node #0,1,0: 39:[66, 15] Operation: 45-30=15 Exploring Operation: 66+30=96, Resulting Numbers: [45, 96] Generated Node #0,1,1: 39:[45, 96] Operation: 66+30=96 Exploring Operation: 66-45=21, Resulting Numbers: [30, 21] Generated Node #0,1,2: 39:[30, 21] Operation: 66-45=21 Exploring Operation: 66-30=36, Resulting Numbers: [45, 36] Generated Node #0,1,3: 39:[45, 36] Operation: 66-30=36 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[45, 36], Operations: ['75-45=30', '66-30=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,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,2 Current State: 39:[30, 21], Operations: ['75-45=30', '66-45=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,39 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,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,0 Current State: 39:[66, 15], Operations: ['75-45=30', '45-30=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,39 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,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:[45, 96], Operations: ['75-45=30', '66+30=96'] Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,39 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,39 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: 39:[66, 45, 30], Operations: ['75-45=30'] Exploring Operation: 66-30=36, Resulting Numbers: [45, 36] Generated Node #0,0,0: 39:[45, 36] Operation: 66-30=36 Exploring Operation: 66-45=21, Resulting Numbers: [30, 21] Generated Node #0,0,1: 39:[30, 21] Operation: 66-45=21 Exploring Operation: 45-30=15, Resulting Numbers: [66, 15] Generated Node #0,0,2: 39:[66, 15] Operation: 45-30=15 Exploring Operation: 66+30=96, Resulting Numbers: [45, 96] Generated Node #0,0,3: 39:[45, 96] Operation: 66+30=96 Moving to Node #0,2 Current State: 39:[75, 45, 21], Operations: ['66-45=21'] Exploring Operation: 75-21=54, Resulting Numbers: [45, 54] Generated Node #0,2,0: 39:[45, 54] Operation: 75-21=54 Exploring Operation: 75-45=30, Resulting Numbers: [21, 30] Generated Node #0,2,1: 39:[21, 30] Operation: 75-45=30 Exploring Operation: 75+21=96, Resulting Numbers: [45, 96] Generated Node #0,2,2: 39:[45, 96] Operation: 75+21=96 Exploring Operation: 45-21=24, Resulting Numbers: [75, 24] Generated Node #0,2,3: 39:[75, 24] Operation: 45-21=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[21, 30], Operations: ['66-45=21', '75-45=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,39 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,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:[45, 54], Operations: ['66-45=21', '75-21=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,39 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,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:[75, 24], Operations: ['66-45=21', '45-21=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,39 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,39 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,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:[45, 96], Operations: ['66-45=21', '75+21=96'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,39 unequal: No Solution Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,39 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: 39:[9, 1], Operations: ['75-66=9', '45/45=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[9, 0], Operations: ['75-66=9', '45-45=0'] Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[45, 5], Operations: ['75-66=9', '45/9=5'] Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,39 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,39 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[45, 5], Operations: ['75-66=9', '45/9=5'] Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,39 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,39 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[45, 36], Operations: ['75-45=30', '66-30=36'] Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[30, 21], Operations: ['75-45=30', '66-45=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,39 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[66, 15], Operations: ['75-45=30', '45-30=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,39 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[45, 96], Operations: ['75-45=30', '66+30=96'] Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,39 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,39 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 10, 2, 29, 25 ]
41
[ "10+25=35", "2*35=70", "70-29=41" ]
Current State: 41:[10, 2, 29, 25], Operations: [] Exploring Operation: 10+25=35, Resulting Numbers: [2, 29, 35] Generated Node #2: [2, 29, 35] from Operation: 10+25=35 Current State: 41:[2, 29, 35], Operations: ['10+25=35'] Exploring Operation: 2*35=70, Resulting Numbers: [29, 70] Generated Node #3: [29, 70] from Operation: 2*35=70 Current State: 41:[29, 70], Operations: ['10+25=35', '2*35=70'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[10, 2, 29, 25], Operations: [] Exploring Operation: 10+29=39, Resulting Numbers: [2, 25, 39] Generated Node #0,0: 41:[2, 25, 39] Operation: 10+29=39 Exploring Operation: 10+2=12, Resulting Numbers: [29, 25, 12] Generated Node #0,1: 41:[29, 25, 12] Operation: 10+2=12 Exploring Operation: 10+25=35, Resulting Numbers: [2, 29, 35] Generated Node #0,2: 41:[2, 29, 35] Operation: 10+25=35 Exploring Operation: 10*2=20, Resulting Numbers: [29, 25, 20] Generated Node #0,3: 41:[29, 25, 20] Operation: 10*2=20 Exploring Operation: 2*25=50, Resulting Numbers: [10, 29, 50] Generated Node #0,4: 41:[10, 29, 50] Operation: 2*25=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[29, 25, 20], Operations: ['10*2=20'] Exploring Operation: 29+25=54, Resulting Numbers: [20, 54] Generated Node #0,3,0: 41:[20, 54] Operation: 29+25=54 Exploring Operation: 29+20=49, Resulting Numbers: [25, 49] Generated Node #0,3,1: 41:[25, 49] Operation: 29+20=49 Exploring Operation: 29-20=9, Resulting Numbers: [25, 9] Generated Node #0,3,2: 41:[25, 9] Operation: 29-20=9 Exploring Operation: 25+20=45, Resulting Numbers: [29, 45] Generated Node #0,3,3: 41:[29, 45] Operation: 25+20=45 Exploring Operation: 25-20=5, Resulting Numbers: [29, 5] Generated Node #0,3,4: 41:[29, 5] Operation: 25-20=5 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[29, 45], Operations: ['10*2=20', '25+20=45'] Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,41 unequal: No Solution No 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: 41:[25, 49], Operations: ['10*2=20', '29+20=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,41 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,41 unequal: No Solution No 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: 41:[20, 54], Operations: ['10*2=20', '29+25=54'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,41 unequal: No Solution No 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: 41:[25, 9], Operations: ['10*2=20', '29-20=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,41 unequal: No Solution No 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: 41:[29, 5], Operations: ['10*2=20', '25-20=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,41 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: 41:[10, 29, 50], Operations: ['2*25=50'] Exploring Operation: 50/10=5, Resulting Numbers: [29, 5] Generated Node #0,4,0: 41:[29, 5] Operation: 50/10=5 Exploring Operation: 29-10=19, Resulting Numbers: [50, 19] Generated Node #0,4,1: 41:[50, 19] Operation: 29-10=19 Exploring Operation: 10+29=39, Resulting Numbers: [50, 39] Generated Node #0,4,2: 41:[50, 39] Operation: 10+29=39 Exploring Operation: 10+50=60, Resulting Numbers: [29, 60] Generated Node #0,4,3: 41:[29, 60] Operation: 10+50=60 Exploring Operation: 50-10=40, Resulting Numbers: [29, 40] Generated Node #0,4,4: 41:[29, 40] Operation: 50-10=40 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 41:[50, 39], Operations: ['2*25=50', '10+29=39'] Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,41 unequal: No Solution Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,41 unequal: No Solution No 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: 41:[29, 40], Operations: ['2*25=50', '50-10=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,41 unequal: No Solution No 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: 41:[50, 19], Operations: ['2*25=50', '29-10=19'] Exploring Operation: 50*19=950, Resulting Numbers: [950] 950,41 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,41 unequal: No Solution No 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: 41:[29, 60], Operations: ['2*25=50', '10+50=60'] Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,41 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,41 unequal: No Solution No 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: 41:[29, 5], Operations: ['2*25=50', '50/10=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,41 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: 41:[2, 25, 39], Operations: ['10+29=39'] Exploring Operation: 2*25=50, Resulting Numbers: [39, 50] Generated Node #0,0,0: 41:[39, 50] Operation: 2*25=50 Exploring Operation: 2+39=41, Resulting Numbers: [25, 41] Generated Node #0,0,1: 41:[25, 41] Operation: 2+39=41 Exploring Operation: 39-2=37, Resulting Numbers: [25, 37] Generated Node #0,0,2: 41:[25, 37] Operation: 39-2=37 Exploring Operation: 25-2=23, Resulting Numbers: [39, 23] Generated Node #0,0,3: 41:[39, 23] Operation: 25-2=23 Exploring Operation: 2+25=27, Resulting Numbers: [39, 27] Generated Node #0,0,4: 41:[39, 27] Operation: 2+25=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[39, 50], Operations: ['10+29=39', '2*25=50'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 39*50=1950, Resulting Numbers: [1950] 1950,41 unequal: No Solution No 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: 41:[25, 41], Operations: ['10+29=39', '2+39=41'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,41 unequal: No Solution Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,41 unequal: No Solution No 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: 41:[39, 27], Operations: ['10+29=39', '2+25=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,41 unequal: No Solution No 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: 41:[25, 37], Operations: ['10+29=39', '39-2=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,41 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,41 unequal: No Solution No 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: 41:[39, 23], Operations: ['10+29=39', '25-2=23'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,41 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,41 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: 41:[29, 25, 12], Operations: ['10+2=12'] Exploring Operation: 29+12=41, Resulting Numbers: [25, 41] Generated Node #0,1,0: 41:[25, 41] Operation: 29+12=41 Exploring Operation: 29+25=54, Resulting Numbers: [12, 54] Generated Node #0,1,1: 41:[12, 54] Operation: 29+25=54 Exploring Operation: 25+12=37, Resulting Numbers: [29, 37] Generated Node #0,1,2: 41:[29, 37] Operation: 25+12=37 Exploring Operation: 25-12=13, Resulting Numbers: [29, 13] Generated Node #0,1,3: 41:[29, 13] Operation: 25-12=13 Exploring Operation: 29-12=17, Resulting Numbers: [25, 17] Generated Node #0,1,4: 41:[25, 17] Operation: 29-12=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[25, 41], Operations: ['10+2=12', '29+12=41'] Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,41 unequal: No Solution No 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: 41:[29, 37], Operations: ['10+2=12', '25+12=37'] Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,41 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,41 unequal: No Solution No 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: 41:[29, 13], Operations: ['10+2=12', '25-12=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,41 unequal: No Solution No 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: 41:[25, 17], Operations: ['10+2=12', '29-12=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,41 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,41 unequal: No Solution No 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: 41:[12, 54], Operations: ['10+2=12', '29+25=54'] Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,41 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,41 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: 41:[2, 29, 35], Operations: ['10+25=35'] Exploring Operation: 2+29=31, Resulting Numbers: [35, 31] Generated Node #0,2,0: 41:[35, 31] Operation: 2+29=31 Exploring Operation: 2+35=37, Resulting Numbers: [29, 37] Generated Node #0,2,1: 41:[29, 37] Operation: 2+35=37 Exploring Operation: 29-2=27, Resulting Numbers: [35, 27] Generated Node #0,2,2: 41:[35, 27] Operation: 29-2=27 Exploring Operation: 35-2=33, Resulting Numbers: [29, 33] Generated Node #0,2,3: 41:[29, 33] Operation: 35-2=33 Exploring Operation: 2*29=58, Resulting Numbers: [35, 58] Generated Node #0,2,4: 41:[35, 58] Operation: 2*29=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[35, 31], Operations: ['10+25=35', '2+29=31'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,41 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,41 unequal: No Solution No 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: 41:[29, 37], Operations: ['10+25=35', '2+35=37'] Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,41 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,41 unequal: No Solution No 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: 41:[35, 27], Operations: ['10+25=35', '29-2=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,41 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,41 unequal: No Solution No 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: 41:[29, 33], Operations: ['10+25=35', '35-2=33'] Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,41 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,41 unequal: No Solution No 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: 41:[35, 58], Operations: ['10+25=35', '2*29=58'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,41 unequal: No Solution Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 39, 25, 17, 56 ]
21
[ "39-25=14", "56/14=4", "17+4=21" ]
Current State: 21:[39, 25, 17, 56], Operations: [] Exploring Operation: 39-25=14, Resulting Numbers: [17, 56, 14] Generated Node #2: [17, 56, 14] from Operation: 39-25=14 Current State: 21:[17, 56, 14], Operations: ['39-25=14'] Exploring Operation: 56/14=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 56/14=4 Current State: 21:[17, 4], Operations: ['39-25=14', '56/14=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[39, 25, 17, 56], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [25, 17, 17] Generated Node #0,0: 21:[25, 17, 17] Operation: 56-39=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[25, 17, 17], Operations: ['56-39=17'] Exploring Operation: 25-17=8, Resulting Numbers: [17, 8] Generated Node #0,0,0: 21:[17, 8] Operation: 25-17=8 Moving to Node #0,0,0 Current State: 21:[17, 8], Operations: ['56-39=17', '25-17=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,21 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
[ 25, 93, 32, 13 ]
99
[ "25+93=118", "32-13=19", "118-19=99" ]
Current State: 99:[25, 93, 32, 13], Operations: [] Exploring Operation: 25+93=118, Resulting Numbers: [32, 13, 118] Generated Node #2: [32, 13, 118] from Operation: 25+93=118 Current State: 99:[32, 13, 118], Operations: ['25+93=118'] Exploring Operation: 32-13=19, Resulting Numbers: [118, 19] Generated Node #3: [118, 19] from Operation: 32-13=19 Current State: 99:[118, 19], Operations: ['25+93=118', '32-13=19'] Exploring Operation: 118-19=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[25, 93, 32, 13], Operations: [] Exploring Operation: 93+13=106, Resulting Numbers: [25, 32, 106] Generated Node #0,0: 99:[25, 32, 106] Operation: 93+13=106 Exploring Operation: 32-25=7, Resulting Numbers: [93, 13, 7] Generated Node #0,1: 99:[93, 13, 7] Operation: 32-25=7 Exploring Operation: 25-13=12, Resulting Numbers: [93, 32, 12] Generated Node #0,2: 99:[93, 32, 12] Operation: 25-13=12 Exploring Operation: 25+13=38, Resulting Numbers: [93, 32, 38] Generated Node #0,3: 99:[93, 32, 38] Operation: 25+13=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[93, 32, 12], Operations: ['25-13=12'] Exploring Operation: 32-12=20, Resulting Numbers: [93, 20] Generated Node #0,2,0: 99:[93, 20] Operation: 32-12=20 Exploring Operation: 93-12=81, Resulting Numbers: [32, 81] Generated Node #0,2,1: 99:[32, 81] Operation: 93-12=81 Exploring Operation: 32+12=44, Resulting Numbers: [93, 44] Generated Node #0,2,2: 99:[93, 44] Operation: 32+12=44 Exploring Operation: 93+12=105, Resulting Numbers: [32, 105] Generated Node #0,2,3: 99:[32, 105] Operation: 93+12=105 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[32, 105], Operations: ['25-13=12', '93+12=105'] Exploring Operation: 105-32=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 32+105=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 32*105=3360, Resulting Numbers: [3360] 3360,99 unequal: No Solution No 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: 99:[93, 20], Operations: ['25-13=12', '32-12=20'] Exploring Operation: 93+20=113, Resulting Numbers: [113] 113,99 unequal: No Solution Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 93*20=1860, Resulting Numbers: [1860] 1860,99 unequal: No Solution No 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: 99:[93, 44], Operations: ['25-13=12', '32+12=44'] Exploring Operation: 93*44=4092, Resulting Numbers: [4092] 4092,99 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 93+44=137, Resulting Numbers: [137] 137,99 unequal: No Solution No 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: 99:[32, 81], Operations: ['25-13=12', '93-12=81'] Exploring Operation: 32*81=2592, Resulting Numbers: [2592] 2592,99 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 32+81=113, Resulting Numbers: [113] 113,99 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: 99:[93, 13, 7], Operations: ['32-25=7'] Exploring Operation: 93+7=100, Resulting Numbers: [13, 100] Generated Node #0,1,0: 99:[13, 100] Operation: 93+7=100 Exploring Operation: 13*7=91, Resulting Numbers: [93, 91] Generated Node #0,1,1: 99:[93, 91] Operation: 13*7=91 Exploring Operation: 13-7=6, Resulting Numbers: [93, 6] Generated Node #0,1,2: 99:[93, 6] Operation: 13-7=6 Exploring Operation: 93+13=106, Resulting Numbers: [7, 106] Generated Node #0,1,3: 99:[7, 106] Operation: 93+13=106 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[13, 100], Operations: ['32-25=7', '93+7=100'] Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,99 unequal: No Solution Exploring Operation: 13*100=1300, Resulting Numbers: [1300] 1300,99 unequal: No Solution Exploring Operation: 13+100=113, Resulting Numbers: [113] 113,99 unequal: No Solution No 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: 99:[93, 6], Operations: ['32-25=7', '13-7=6'] Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,99 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[25, 93, 32, 13], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [93, 13, 7] Generated Node #0,1: 99:[93, 13, 7] Operation: 32-25=7 Moving to Node #0,1 Current State: 99:[93, 13, 7], Operations: ['32-25=7'] Exploring Operation: 13-7=6, Resulting Numbers: [93, 6] Generated Node #0,1,2: 99:[93, 6] Operation: 13-7=6 Moving to Node #0,1,2 Current State: 99:[93, 6], Operations: ['32-25=7', '13-7=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 40, 64, 52, 88 ]
44
[ "40+64=104", "52*88=4576", "4576/104=44" ]
Current State: 44:[40, 64, 52, 88], Operations: [] Exploring Operation: 40+64=104, Resulting Numbers: [52, 88, 104] Generated Node #2: [52, 88, 104] from Operation: 40+64=104 Current State: 44:[52, 88, 104], Operations: ['40+64=104'] Exploring Operation: 52*88=4576, Resulting Numbers: [104, 4576] Generated Node #3: [104, 4576] from Operation: 52*88=4576 Current State: 44:[104, 4576], Operations: ['40+64=104', '52*88=4576'] Exploring Operation: 4576/104=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[40, 64, 52, 88], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [40, 64, 36] Generated Node #0,0: 44:[40, 64, 36] Operation: 88-52=36 Exploring Operation: 64-52=12, Resulting Numbers: [40, 88, 12] Generated Node #0,1: 44:[40, 88, 12] Operation: 64-52=12 Exploring Operation: 88-40=48, Resulting Numbers: [64, 52, 48] Generated Node #0,2: 44:[64, 52, 48] Operation: 88-40=48 Exploring Operation: 88-64=24, Resulting Numbers: [40, 52, 24] Generated Node #0,3: 44:[40, 52, 24] Operation: 88-64=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[40, 52, 24], Operations: ['88-64=24'] Exploring Operation: 40+24=64, Resulting Numbers: [52, 64] Generated Node #0,3,0: 44:[52, 64] Operation: 40+24=64 Exploring Operation: 52-40=12, Resulting Numbers: [24, 12] Generated Node #0,3,1: 44:[24, 12] Operation: 52-40=12 Exploring Operation: 52-24=28, Resulting Numbers: [40, 28] Generated Node #0,3,2: 44:[40, 28] Operation: 52-24=28 Exploring Operation: 40-24=16, Resulting Numbers: [52, 16] Generated Node #0,3,3: 44:[52, 16] Operation: 40-24=16 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 44:[24, 12], Operations: ['88-64=24', '52-40=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,44 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,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,3,2 Current State: 44:[40, 28], Operations: ['88-64=24', '52-24=28'] Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,44 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,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,3,3 Current State: 44:[52, 16], Operations: ['88-64=24', '40-24=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,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,3,0 Current State: 44:[52, 64], Operations: ['88-64=24', '40+24=64'] Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,44 unequal: No Solution Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,44 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,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:[40, 64, 36], Operations: ['88-52=36'] Exploring Operation: 40-36=4, Resulting Numbers: [64, 4] Generated Node #0,0,0: 44:[64, 4] Operation: 40-36=4 Exploring Operation: 64-40=24, Resulting Numbers: [36, 24] Generated Node #0,0,1: 44:[36, 24] Operation: 64-40=24 Exploring Operation: 64-36=28, Resulting Numbers: [40, 28] Generated Node #0,0,2: 44:[40, 28] Operation: 64-36=28 Exploring Operation: 40+36=76, Resulting Numbers: [64, 76] Generated Node #0,0,3: 44:[64, 76] Operation: 40+36=76 Moving to Node #0,0,1 Current State: 44:[36, 24], Operations: ['88-52=36', '64-40=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[40, 28], Operations: ['88-52=36', '64-36=28'] Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[64, 4], Operations: ['88-52=36', '40-36=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,44 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[64, 76], Operations: ['88-52=36', '40+36=76'] Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,44 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[64, 52, 48], Operations: ['88-40=48'] Exploring Operation: 52-48=4, Resulting Numbers: [64, 4] Generated Node #0,2,0: 44:[64, 4] Operation: 52-48=4 Exploring Operation: 64-48=16, Resulting Numbers: [52, 16] Generated Node #0,2,1: 44:[52, 16] Operation: 64-48=16 Exploring Operation: 64+52=116, Resulting Numbers: [48, 116] Generated Node #0,2,2: 44:[48, 116] Operation: 64+52=116 Exploring Operation: 64-52=12, Resulting Numbers: [48, 12] Generated Node #0,2,3: 44:[48, 12] Operation: 64-52=12 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 44:[48, 12], Operations: ['88-40=48', '64-52=12'] Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 44:[52, 16], Operations: ['88-40=48', '64-48=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,44 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 44:[64, 4], Operations: ['88-40=48', '52-48=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 44:[48, 116], Operations: ['88-40=48', '64+52=116'] Exploring Operation: 116-48=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 48*116=5568, Resulting Numbers: [5568] 5568,44 unequal: No Solution Exploring Operation: 48+116=164, Resulting Numbers: [164] 164,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[40, 88, 12], Operations: ['64-52=12'] Exploring Operation: 40-12=28, Resulting Numbers: [88, 28] Generated Node #0,1,0: 44:[88, 28] Operation: 40-12=28 Exploring Operation: 40+12=52, Resulting Numbers: [88, 52] Generated Node #0,1,1: 44:[88, 52] Operation: 40+12=52 Exploring Operation: 88-40=48, Resulting Numbers: [12, 48] Generated Node #0,1,2: 44:[12, 48] Operation: 88-40=48 Exploring Operation: 88-12=76, Resulting Numbers: [40, 76] Generated Node #0,1,3: 44:[40, 76] Operation: 88-12=76 Moving to Node #0,1,2 Current State: 44:[12, 48], Operations: ['64-52=12', '88-40=48'] Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 12*48=576, Resulting Numbers: [576] 576,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[40, 76], Operations: ['64-52=12', '88-12=76'] Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,44 unequal: No Solution Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[88, 28], Operations: ['64-52=12', '40-12=28'] Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,44 unequal: No Solution Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,44 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[88, 52], Operations: ['64-52=12', '40+12=52'] Exploring Operation: 88*52=4576, Resulting Numbers: [4576] 4576,44 unequal: No Solution Exploring Operation: 88+52=140, Resulting Numbers: [140] 140,44 unequal: No Solution Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,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
[ 21, 81, 6, 64 ]
81
[ "21+81=102", "102/6=17", "64+17=81" ]
Current State: 81:[21, 81, 6, 64], Operations: [] Exploring Operation: 21+81=102, Resulting Numbers: [6, 64, 102] Generated Node #2: [6, 64, 102] from Operation: 21+81=102 Current State: 81:[6, 64, 102], Operations: ['21+81=102'] Exploring Operation: 102/6=17, Resulting Numbers: [64, 17] Generated Node #3: [64, 17] from Operation: 102/6=17 Current State: 81:[64, 17], Operations: ['21+81=102', '102/6=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[21, 81, 6, 64], Operations: [] Exploring Operation: 21+64=85, Resulting Numbers: [81, 6, 85] Generated Node #0,0: 81:[81, 6, 85] Operation: 21+64=85 Moving to Node #0,0 Current State: 81:[81, 6, 85], Operations: ['21+64=85'] Exploring Operation: 85-6=79, Resulting Numbers: [81, 79] Generated Node #0,0,0: 81:[81, 79] Operation: 85-6=79 Moving to Node #0,0,0 Current State: 81:[81, 79], Operations: ['21+64=85', '85-6=79'] Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,81 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 28, 38, 24, 11 ]
18
[ "28+38=66", "66/11=6", "24-6=18" ]
Current State: 18:[28, 38, 24, 11], Operations: [] Exploring Operation: 28+38=66, Resulting Numbers: [24, 11, 66] Generated Node #2: [24, 11, 66] from Operation: 28+38=66 Current State: 18:[24, 11, 66], Operations: ['28+38=66'] Exploring Operation: 66/11=6, Resulting Numbers: [24, 6] Generated Node #3: [24, 6] from Operation: 66/11=6 Current State: 18:[24, 6], Operations: ['28+38=66', '66/11=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[28, 38, 24, 11], Operations: [] Exploring Operation: 38-11=27, Resulting Numbers: [28, 24, 27] Generated Node #0,0: 18:[28, 24, 27] Operation: 38-11=27 Exploring Operation: 28-11=17, Resulting Numbers: [38, 24, 17] Generated Node #0,1: 18:[38, 24, 17] Operation: 28-11=17 Exploring Operation: 38-28=10, Resulting Numbers: [24, 11, 10] Generated Node #0,2: 18:[24, 11, 10] Operation: 38-28=10 Exploring Operation: 28-24=4, Resulting Numbers: [38, 11, 4] Generated Node #0,3: 18:[38, 11, 4] Operation: 28-24=4 Exploring Operation: 38-24=14, Resulting Numbers: [28, 11, 14] Generated Node #0,4: 18:[28, 11, 14] Operation: 38-24=14 Moving to Node #0,2 Current State: 18:[24, 11, 10], Operations: ['38-28=10'] Exploring Operation: 24+11=35, Resulting Numbers: [10, 35] Generated Node #0,2,0: 18:[10, 35] Operation: 24+11=35 Exploring Operation: 24-11=13, Resulting Numbers: [10, 13] Generated Node #0,2,1: 18:[10, 13] Operation: 24-11=13 Exploring Operation: 11-10=1, Resulting Numbers: [24, 1] Generated Node #0,2,2: 18:[24, 1] Operation: 11-10=1 Exploring Operation: 24-10=14, Resulting Numbers: [11, 14] Generated Node #0,2,3: 18:[11, 14] Operation: 24-10=14 Exploring Operation: 11+10=21, Resulting Numbers: [24, 21] Generated Node #0,2,4: 18:[24, 21] Operation: 11+10=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[10, 13], Operations: ['38-28=10', '24-11=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[11, 14], Operations: ['38-28=10', '24-10=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,18 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[24, 1], Operations: ['38-28=10', '11-10=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[24, 21], Operations: ['38-28=10', '11+10=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[10, 35], Operations: ['38-28=10', '24+11=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,18 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,18 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: 18:[28, 11, 14], Operations: ['38-24=14'] Exploring Operation: 28-14=14, Resulting Numbers: [11, 14] Generated Node #0,4,0: 18:[11, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [11, 2] Generated Node #0,4,1: 18:[11, 2] Operation: 28/14=2 Exploring Operation: 28-11=17, Resulting Numbers: [14, 17] Generated Node #0,4,2: 18:[14, 17] Operation: 28-11=17 Exploring Operation: 11+14=25, Resulting Numbers: [28, 25] Generated Node #0,4,3: 18:[28, 25] Operation: 11+14=25 Exploring Operation: 14-11=3, Resulting Numbers: [28, 3] Generated Node #0,4,4: 18:[28, 3] Operation: 14-11=3 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[11, 2], Operations: ['38-24=14', '28/14=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[14, 17], Operations: ['38-24=14', '28-11=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,18 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[11, 14], Operations: ['38-24=14', '28-14=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 18:[28, 3], Operations: ['38-24=14', '14-11=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 18:[28, 25], Operations: ['38-24=14', '11+14=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,18 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: 18:[38, 11, 4], Operations: ['28-24=4'] Exploring Operation: 11+4=15, Resulting Numbers: [38, 15] Generated Node #0,3,0: 18:[38, 15] Operation: 11+4=15 Exploring Operation: 38-4=34, Resulting Numbers: [11, 34] Generated Node #0,3,1: 18:[11, 34] Operation: 38-4=34 Exploring Operation: 38+4=42, Resulting Numbers: [11, 42] Generated Node #0,3,2: 18:[11, 42] Operation: 38+4=42 Exploring Operation: 38-11=27, Resulting Numbers: [4, 27] Generated Node #0,3,3: 18:[4, 27] Operation: 38-11=27 Exploring Operation: 11-4=7, Resulting Numbers: [38, 7] Generated Node #0,3,4: 18:[38, 7] Operation: 11-4=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[4, 27], Operations: ['28-24=4', '38-11=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[11, 34], Operations: ['28-24=4', '38-4=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[38, 7], Operations: ['28-24=4', '11-4=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,18 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[38, 15], Operations: ['28-24=4', '11+4=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,18 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[11, 42], Operations: ['28-24=4', '38+4=42'] Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,18 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: 18:[28, 24, 27], Operations: ['38-11=27'] Exploring Operation: 28+27=55, Resulting Numbers: [24, 55] Generated Node #0,0,0: 18:[24, 55] Operation: 28+27=55 Exploring Operation: 28+24=52, Resulting Numbers: [27, 52] Generated Node #0,0,1: 18:[27, 52] Operation: 28+24=52 Exploring Operation: 28-27=1, Resulting Numbers: [24, 1] Generated Node #0,0,2: 18:[24, 1] Operation: 28-27=1 Exploring Operation: 27-24=3, Resulting Numbers: [28, 3] Generated Node #0,0,3: 18:[28, 3] Operation: 27-24=3 Exploring Operation: 28-24=4, Resulting Numbers: [27, 4] Generated Node #0,0,4: 18:[27, 4] Operation: 28-24=4 Moving to Node #0,1 Current State: 18:[38, 24, 17], Operations: ['28-11=17'] Exploring Operation: 24-17=7, Resulting Numbers: [38, 7] Generated Node #0,1,0: 18:[38, 7] Operation: 24-17=7 Exploring Operation: 24+17=41, Resulting Numbers: [38, 41] Generated Node #0,1,1: 18:[38, 41] Operation: 24+17=41 Exploring Operation: 38-17=21, Resulting Numbers: [24, 21] Generated Node #0,1,2: 18:[24, 21] Operation: 38-17=21 Exploring Operation: 38-24=14, Resulting Numbers: [17, 14] Generated Node #0,1,3: 18:[17, 14] Operation: 38-24=14 Exploring Operation: 38+17=55, Resulting Numbers: [24, 55] Generated Node #0,1,4: 18:[24, 55] Operation: 38+17=55 Moving to Node #0,1,3 Current State: 18:[17, 14], Operations: ['28-11=17', '38-24=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,18 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[24, 1], Operations: ['38-11=27', '28-27=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[24, 21], Operations: ['28-11=17', '38-17=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[27, 4], Operations: ['38-11=27', '28-24=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[28, 3], Operations: ['38-11=27', '27-24=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[38, 7], Operations: ['28-11=17', '24-17=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[24, 55], Operations: ['28-11=17', '38+17=55'] Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,18 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[38, 41], Operations: ['28-11=17', '24+17=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,18 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[27, 52], Operations: ['38-11=27', '28+24=52'] Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,18 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[24, 55], Operations: ['38-11=27', '28+27=55'] Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,18 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 15, 3, 57, 90 ]
34
[ "57+90=147", "147/3=49", "49-15=34" ]
Current State: 34:[15, 3, 57, 90], Operations: [] Exploring Operation: 57+90=147, Resulting Numbers: [15, 3, 147] Generated Node #2: [15, 3, 147] from Operation: 57+90=147 Current State: 34:[15, 3, 147], Operations: ['57+90=147'] Exploring Operation: 147/3=49, Resulting Numbers: [15, 49] Generated Node #3: [15, 49] from Operation: 147/3=49 Current State: 34:[15, 49], Operations: ['57+90=147', '147/3=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 3, 57, 90], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [3, 57, 6] Generated Node #0,0: 34:[3, 57, 6] Operation: 90/15=6 Exploring Operation: 57/3=19, Resulting Numbers: [15, 90, 19] Generated Node #0,1: 34:[15, 90, 19] Operation: 57/3=19 Exploring Operation: 90/3=30, Resulting Numbers: [15, 57, 30] Generated Node #0,2: 34:[15, 57, 30] Operation: 90/3=30 Exploring Operation: 90-57=33, Resulting Numbers: [15, 3, 33] Generated Node #0,3: 34:[15, 3, 33] Operation: 90-57=33 Exploring Operation: 57-15=42, Resulting Numbers: [3, 90, 42] Generated Node #0,4: 34:[3, 90, 42] Operation: 57-15=42 Moving to Node #0,3 Current State: 34:[15, 3, 33], Operations: ['90-57=33'] Exploring Operation: 3+33=36, Resulting Numbers: [15, 36] Generated Node #0,3,0: 34:[15, 36] Operation: 3+33=36 Exploring Operation: 15-3=12, Resulting Numbers: [33, 12] Generated Node #0,3,1: 34:[33, 12] Operation: 15-3=12 Exploring Operation: 15+3=18, Resulting Numbers: [33, 18] Generated Node #0,3,2: 34:[33, 18] Operation: 15+3=18 Exploring Operation: 33-15=18, Resulting Numbers: [3, 18] Generated Node #0,3,3: 34:[3, 18] Operation: 33-15=18 Exploring Operation: 15/3=5, Resulting Numbers: [33, 5] Generated Node #0,3,4: 34:[33, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[33, 18], Operations: ['90-57=33', '15+3=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,34 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[3, 18], Operations: ['90-57=33', '33-15=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[15, 36], Operations: ['90-57=33', '3+33=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[33, 5], Operations: ['90-57=33', '15/3=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[33, 12], Operations: ['90-57=33', '15-3=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,34 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: 34:[3, 57, 6], Operations: ['90/15=6'] Exploring Operation: 6/3=2, Resulting Numbers: [57, 2] Generated Node #0,0,0: 34:[57, 2] Operation: 6/3=2 Exploring Operation: 57/3=19, Resulting Numbers: [6, 19] Generated Node #0,0,1: 34:[6, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [6, 54] Generated Node #0,0,2: 34:[6, 54] Operation: 57-3=54 Exploring Operation: 57-6=51, Resulting Numbers: [3, 51] Generated Node #0,0,3: 34:[3, 51] Operation: 57-6=51 Exploring Operation: 3*6=18, Resulting Numbers: [57, 18] Generated Node #0,0,4: 34:[57, 18] Operation: 3*6=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[6, 19], Operations: ['90/15=6', '57/3=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[3, 51], Operations: ['90/15=6', '57-6=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,34 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[57, 2], Operations: ['90/15=6', '6/3=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[6, 54], Operations: ['90/15=6', '57-3=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,34 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 34:[57, 18], Operations: ['90/15=6', '3*6=18'] Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,34 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: 34:[15, 57, 30], Operations: ['90/3=30'] Exploring Operation: 57-30=27, Resulting Numbers: [15, 27] Generated Node #0,2,0: 34:[15, 27] Operation: 57-30=27 Exploring Operation: 30/15=2, Resulting Numbers: [57, 2] Generated Node #0,2,1: 34:[57, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [57, 15] Generated Node #0,2,2: 34:[57, 15] Operation: 30-15=15 Exploring Operation: 15+30=45, Resulting Numbers: [57, 45] Generated Node #0,2,3: 34:[57, 45] Operation: 15+30=45 Exploring Operation: 57-15=42, Resulting Numbers: [30, 42] Generated Node #0,2,4: 34:[30, 42] Operation: 57-15=42 Moving to Node #0,1 Current State: 34:[15, 90, 19], Operations: ['57/3=19'] Exploring Operation: 90-15=75, Resulting Numbers: [19, 75] Generated Node #0,1,0: 34:[19, 75] Operation: 90-15=75 Exploring Operation: 19-15=4, Resulting Numbers: [90, 4] Generated Node #0,1,1: 34:[90, 4] Operation: 19-15=4 Exploring Operation: 90-19=71, Resulting Numbers: [15, 71] Generated Node #0,1,2: 34:[15, 71] Operation: 90-19=71 Exploring Operation: 90/15=6, Resulting Numbers: [19, 6] Generated Node #0,1,3: 34:[19, 6] Operation: 90/15=6 Exploring Operation: 15+19=34, Resulting Numbers: [90, 34] Generated Node #0,1,4: 34:[90, 34] Operation: 15+19=34 Moving to Node #0,4 Current State: 34:[3, 90, 42], Operations: ['57-15=42'] Exploring Operation: 42-3=39, Resulting Numbers: [90, 39] Generated Node #0,4,0: 34:[90, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [90, 14] Generated Node #0,4,1: 34:[90, 14] Operation: 42/3=14 Exploring Operation: 90/3=30, Resulting Numbers: [42, 30] Generated Node #0,4,2: 34:[42, 30] Operation: 90/3=30 Exploring Operation: 90-42=48, Resulting Numbers: [3, 48] Generated Node #0,4,3: 34:[3, 48] Operation: 90-42=48 Exploring Operation: 90-3=87, Resulting Numbers: [42, 87] Generated Node #0,4,4: 34:[42, 87] Operation: 90-3=87 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 34:[42, 30], Operations: ['57-15=42', '90/3=30'] Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 34:[3, 48], Operations: ['57-15=42', '90-42=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,34 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[90, 14], Operations: ['57-15=42', '42/3=14'] Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,34 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,34 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 34:[90, 39], Operations: ['57-15=42', '42-3=39'] Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,34 unequal: No Solution Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[42, 87], Operations: ['57-15=42', '90-3=87'] Exploring Operation: 42+87=129, Resulting Numbers: [129] 129,34 unequal: No Solution Exploring Operation: 42*87=3654, Resulting Numbers: [3654] 3654,34 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 34:[19, 6], Operations: ['57/3=19', '90/15=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[15, 27], Operations: ['90/3=30', '57-30=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,34 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[30, 42], Operations: ['90/3=30', '57-15=42'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,34 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[57, 2], Operations: ['90/3=30', '30/15=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[57, 15], Operations: ['90/3=30', '30-15=15'] Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,34 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[57, 45], Operations: ['90/3=30', '15+30=45'] Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,34 unequal: No Solution Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[15, 71], Operations: ['57/3=19', '90-19=71'] Exploring Operation: 15*71=1065, Resulting Numbers: [1065] 1065,34 unequal: No Solution Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[19, 75], Operations: ['57/3=19', '90-15=75'] Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 19*75=1425, Resulting Numbers: [1425] 1425,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[90, 34], Operations: ['57/3=19', '15+19=34'] Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,34 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[90, 4], Operations: ['57/3=19', '19-15=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,34 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 6, 57, 20, 27 ]
100
[ "57-27=30", "30/6=5", "20*5=100" ]
Current State: 100:[6, 57, 20, 27], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [6, 20, 30] Generated Node #2: [6, 20, 30] from Operation: 57-27=30 Current State: 100:[6, 20, 30], Operations: ['57-27=30'] Exploring Operation: 30/6=5, Resulting Numbers: [20, 5] Generated Node #3: [20, 5] from Operation: 30/6=5 Current State: 100:[20, 5], Operations: ['57-27=30', '30/6=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[6, 57, 20, 27], Operations: [] Exploring Operation: 6+20=26, Resulting Numbers: [57, 27, 26] Generated Node #0,0: 100:[57, 27, 26] Operation: 6+20=26 Exploring Operation: 27-6=21, Resulting Numbers: [57, 20, 21] Generated Node #0,1: 100:[57, 20, 21] Operation: 27-6=21 Exploring Operation: 57-27=30, Resulting Numbers: [6, 20, 30] Generated Node #0,2: 100:[6, 20, 30] Operation: 57-27=30 Exploring Operation: 57-6=51, Resulting Numbers: [20, 27, 51] Generated Node #0,3: 100:[20, 27, 51] Operation: 57-6=51 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[20, 27, 51], Operations: ['57-6=51'] Exploring Operation: 51-20=31, Resulting Numbers: [27, 31] Generated Node #0,3,0: 100:[27, 31] Operation: 51-20=31 Exploring Operation: 20+27=47, Resulting Numbers: [51, 47] Generated Node #0,3,1: 100:[51, 47] Operation: 20+27=47 Exploring Operation: 27-20=7, Resulting Numbers: [51, 7] Generated Node #0,3,2: 100:[51, 7] Operation: 27-20=7 Exploring Operation: 51-27=24, Resulting Numbers: [20, 24] Generated Node #0,3,3: 100:[20, 24] Operation: 51-27=24 Moving to Node #0,3,3 Current State: 100:[20, 24], Operations: ['57-6=51', '51-27=24'] Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[51, 7], Operations: ['57-6=51', '27-20=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[51, 47], Operations: ['57-6=51', '20+27=47'] Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,100 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[27, 31], Operations: ['57-6=51', '51-20=31'] Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,100 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[6, 20, 30], Operations: ['57-27=30'] Exploring Operation: 20+30=50, Resulting Numbers: [6, 50] Generated Node #0,2,0: 100:[6, 50] Operation: 20+30=50 Exploring Operation: 30-6=24, Resulting Numbers: [20, 24] Generated Node #0,2,1: 100:[20, 24] Operation: 30-6=24 Exploring Operation: 30/6=5, Resulting Numbers: [20, 5] Generated Node #0,2,2: 100:[20, 5] Operation: 30/6=5 Exploring Operation: 30-20=10, Resulting Numbers: [6, 10] Generated Node #0,2,3: 100:[6, 10] Operation: 30-20=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[20, 5], Operations: ['57-27=30', '30/6=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[6, 57, 20, 27], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [6, 20, 30] Generated Node #0,2: 100:[6, 20, 30] Operation: 57-27=30 Moving to Node #0,2 Current State: 100:[6, 20, 30], Operations: ['57-27=30'] Exploring Operation: 30/6=5, Resulting Numbers: [20, 5] Generated Node #0,2,2: 100:[20, 5] Operation: 30/6=5 Moving to Node #0,2,2 Current State: 100:[20, 5], Operations: ['57-27=30', '30/6=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 41, 38, 94, 18 ]
73
[ "41-38=3", "94-18=76", "76-3=73" ]
Current State: 73:[41, 38, 94, 18], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [94, 18, 3] Generated Node #2: [94, 18, 3] from Operation: 41-38=3 Current State: 73:[94, 18, 3], Operations: ['41-38=3'] Exploring Operation: 94-18=76, Resulting Numbers: [3, 76] Generated Node #3: [3, 76] from Operation: 94-18=76 Current State: 73:[3, 76], Operations: ['41-38=3', '94-18=76'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[41, 38, 94, 18], Operations: [] Exploring Operation: 38+18=56, Resulting Numbers: [41, 94, 56] Generated Node #0,0: 73:[41, 94, 56] Operation: 38+18=56 Exploring Operation: 41+18=59, Resulting Numbers: [38, 94, 59] Generated Node #0,1: 73:[38, 94, 59] Operation: 41+18=59 Exploring Operation: 94-18=76, Resulting Numbers: [41, 38, 76] Generated Node #0,2: 73:[41, 38, 76] Operation: 94-18=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[41, 94, 56], Operations: ['38+18=56'] Exploring Operation: 41+56=97, Resulting Numbers: [94, 97] Generated Node #0,0,0: 73:[94, 97] Operation: 41+56=97 Exploring Operation: 94-56=38, Resulting Numbers: [41, 38] Generated Node #0,0,1: 73:[41, 38] Operation: 94-56=38 Exploring Operation: 94-41=53, Resulting Numbers: [56, 53] Generated Node #0,0,2: 73:[56, 53] Operation: 94-41=53 Moving to Node #0,0,2 Current State: 73:[56, 53], Operations: ['38+18=56', '94-41=53'] Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,73 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[94, 97], Operations: ['38+18=56', '41+56=97'] Exploring Operation: 97-94=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 94+97=191, Resulting Numbers: [191] 191,73 unequal: No Solution Exploring Operation: 94*97=9118, Resulting Numbers: [9118] 9118,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[41, 38], Operations: ['38+18=56', '94-56=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,73 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[38, 94, 59], Operations: ['41+18=59'] Exploring Operation: 38+94=132, Resulting Numbers: [59, 132] Generated Node #0,1,0: 73:[59, 132] Operation: 38+94=132 Exploring Operation: 94-38=56, Resulting Numbers: [59, 56] Generated Node #0,1,1: 73:[59, 56] Operation: 94-38=56 Exploring Operation: 38+59=97, Resulting Numbers: [94, 97] Generated Node #0,1,2: 73:[94, 97] Operation: 38+59=97 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[59, 56], Operations: ['41+18=59', '94-38=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,73 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[94, 97], Operations: ['41+18=59', '38+59=97'] Exploring Operation: 97-94=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 94+97=191, Resulting Numbers: [191] 191,73 unequal: No Solution Exploring Operation: 94*97=9118, Resulting Numbers: [9118] 9118,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[59, 132], Operations: ['41+18=59', '38+94=132'] Exploring Operation: 59+132=191, Resulting Numbers: [191] 191,73 unequal: No Solution Exploring Operation: 59*132=7788, Resulting Numbers: [7788] 7788,73 unequal: No Solution Exploring Operation: 132-59=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[41, 38, 94, 18], Operations: [] Exploring Operation: 41+18=59, Resulting Numbers: [38, 94, 59] Generated Node #0,1: 73:[38, 94, 59] Operation: 41+18=59 Moving to Node #0,1 Current State: 73:[38, 94, 59], Operations: ['41+18=59'] Exploring Operation: 38+94=132, Resulting Numbers: [59, 132] Generated Node #0,1,0: 73:[59, 132] Operation: 38+94=132 Moving to Node #0,1,0 Current State: 73:[59, 132], Operations: ['41+18=59', '38+94=132'] Exploring Operation: 132-59=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 16, 34, 62, 64 ]
52
[ "16+34=50", "64-62=2", "50+2=52" ]
Current State: 52:[16, 34, 62, 64], Operations: [] Exploring Operation: 16+34=50, Resulting Numbers: [62, 64, 50] Generated Node #2: [62, 64, 50] from Operation: 16+34=50 Current State: 52:[62, 64, 50], Operations: ['16+34=50'] Exploring Operation: 64-62=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 64-62=2 Current State: 52:[50, 2], Operations: ['16+34=50', '64-62=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[16, 34, 62, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [16, 34, 2] Generated Node #0,0: 52:[16, 34, 2] Operation: 64-62=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[16, 34, 2], Operations: ['64-62=2'] Exploring Operation: 16+34=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 52:[2, 50] Operation: 16+34=50 Moving to Node #0,0,0 Current State: 52:[2, 50], Operations: ['64-62=2', '16+34=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[16, 34, 62, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [16, 34, 2] Generated Node #0,0: 52:[16, 34, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 52:[16, 34, 2], Operations: ['64-62=2'] Exploring Operation: 16+34=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 52:[2, 50] Operation: 16+34=50 Moving to Node #0,0,0 Current State: 52:[2, 50], Operations: ['64-62=2', '16+34=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 31, 55, 5, 15 ]
14
[ "55-31=24", "15-5=10", "24-10=14" ]
Current State: 14:[31, 55, 5, 15], Operations: [] Exploring Operation: 55-31=24, Resulting Numbers: [5, 15, 24] Generated Node #2: [5, 15, 24] from Operation: 55-31=24 Current State: 14:[5, 15, 24], Operations: ['55-31=24'] Exploring Operation: 15-5=10, Resulting Numbers: [24, 10] Generated Node #3: [24, 10] from Operation: 15-5=10 Current State: 14:[24, 10], Operations: ['55-31=24', '15-5=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[31, 55, 5, 15], Operations: [] Exploring Operation: 55/5=11, Resulting Numbers: [31, 15, 11] Generated Node #0,0: 14:[31, 15, 11] Operation: 55/5=11 Exploring Operation: 31-5=26, Resulting Numbers: [55, 15, 26] Generated Node #0,1: 14:[55, 15, 26] Operation: 31-5=26 Exploring Operation: 31-15=16, Resulting Numbers: [55, 5, 16] Generated Node #0,2: 14:[55, 5, 16] Operation: 31-15=16 Exploring Operation: 55-31=24, Resulting Numbers: [5, 15, 24] Generated Node #0,3: 14:[5, 15, 24] Operation: 55-31=24 Exploring Operation: 55-15=40, Resulting Numbers: [31, 5, 40] Generated Node #0,4: 14:[31, 5, 40] Operation: 55-15=40 Moving to Node #0,3 Current State: 14:[5, 15, 24], Operations: ['55-31=24'] Exploring Operation: 5+15=20, Resulting Numbers: [24, 20] Generated Node #0,3,0: 14:[24, 20] Operation: 5+15=20 Exploring Operation: 24-15=9, Resulting Numbers: [5, 9] Generated Node #0,3,1: 14:[5, 9] Operation: 24-15=9 Exploring Operation: 15-5=10, Resulting Numbers: [24, 10] Generated Node #0,3,2: 14:[24, 10] Operation: 15-5=10 Exploring Operation: 24-5=19, Resulting Numbers: [15, 19] Generated Node #0,3,3: 14:[15, 19] Operation: 24-5=19 Exploring Operation: 15/5=3, Resulting Numbers: [24, 3] Generated Node #0,3,4: 14:[24, 3] Operation: 15/5=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[5, 9], Operations: ['55-31=24', '24-15=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[31, 55, 5, 15], Operations: [] Exploring Operation: 55-31=24, Resulting Numbers: [5, 15, 24] Generated Node #0,3: 14:[5, 15, 24] Operation: 55-31=24 Moving to Node #0,3 Current State: 14:[5, 15, 24], Operations: ['55-31=24'] Exploring Operation: 24-15=9, Resulting Numbers: [5, 9] Generated Node #0,3,1: 14:[5, 9] Operation: 24-15=9 Moving to Node #0,3,1 Current State: 14:[5, 9], Operations: ['55-31=24', '24-15=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 20, 53, 92, 71 ]
54
[ "53-20=33", "92-71=21", "33+21=54" ]
Current State: 54:[20, 53, 92, 71], Operations: [] Exploring Operation: 53-20=33, Resulting Numbers: [92, 71, 33] Generated Node #2: [92, 71, 33] from Operation: 53-20=33 Current State: 54:[92, 71, 33], Operations: ['53-20=33'] Exploring Operation: 92-71=21, Resulting Numbers: [33, 21] Generated Node #3: [33, 21] from Operation: 92-71=21 Current State: 54:[33, 21], Operations: ['53-20=33', '92-71=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[20, 53, 92, 71], Operations: [] Exploring Operation: 71-53=18, Resulting Numbers: [20, 92, 18] Generated Node #0,0: 54:[20, 92, 18] Operation: 71-53=18 Exploring Operation: 92-53=39, Resulting Numbers: [20, 71, 39] Generated Node #0,1: 54:[20, 71, 39] Operation: 92-53=39 Exploring Operation: 92-71=21, Resulting Numbers: [20, 53, 21] Generated Node #0,2: 54:[20, 53, 21] Operation: 92-71=21 Exploring Operation: 71-20=51, Resulting Numbers: [53, 92, 51] Generated Node #0,3: 54:[53, 92, 51] Operation: 71-20=51 Exploring Operation: 92-20=72, Resulting Numbers: [53, 71, 72] Generated Node #0,4: 54:[53, 71, 72] Operation: 92-20=72 Moving to Node #0,2 Current State: 54:[20, 53, 21], Operations: ['92-71=21'] Exploring Operation: 20+53=73, Resulting Numbers: [21, 73] Generated Node #0,2,0: 54:[21, 73] Operation: 20+53=73 Exploring Operation: 20+21=41, Resulting Numbers: [53, 41] Generated Node #0,2,1: 54:[53, 41] Operation: 20+21=41 Exploring Operation: 53-21=32, Resulting Numbers: [20, 32] Generated Node #0,2,2: 54:[20, 32] Operation: 53-21=32 Exploring Operation: 21-20=1, Resulting Numbers: [53, 1] Generated Node #0,2,3: 54:[53, 1] Operation: 21-20=1 Exploring Operation: 53-20=33, Resulting Numbers: [21, 33] Generated Node #0,2,4: 54:[21, 33] Operation: 53-20=33 Moving to Node #0,1 Current State: 54:[20, 71, 39], Operations: ['92-53=39'] Exploring Operation: 20+39=59, Resulting Numbers: [71, 59] Generated Node #0,1,0: 54:[71, 59] Operation: 20+39=59 Exploring Operation: 20+71=91, Resulting Numbers: [39, 91] Generated Node #0,1,1: 54:[39, 91] Operation: 20+71=91 Exploring Operation: 71-39=32, Resulting Numbers: [20, 32] Generated Node #0,1,2: 54:[20, 32] Operation: 71-39=32 Exploring Operation: 39-20=19, Resulting Numbers: [71, 19] Generated Node #0,1,3: 54:[71, 19] Operation: 39-20=19 Exploring Operation: 71-20=51, Resulting Numbers: [39, 51] Generated Node #0,1,4: 54:[39, 51] Operation: 71-20=51 Moving to Node #0,4 Current State: 54:[53, 71, 72], Operations: ['92-20=72'] Exploring Operation: 53+71=124, Resulting Numbers: [72, 124] Generated Node #0,4,0: 54:[72, 124] Operation: 53+71=124 Exploring Operation: 72-71=1, Resulting Numbers: [53, 1] Generated Node #0,4,1: 54:[53, 1] Operation: 72-71=1 Exploring Operation: 53+72=125, Resulting Numbers: [71, 125] Generated Node #0,4,2: 54:[71, 125] Operation: 53+72=125 Exploring Operation: 72-53=19, Resulting Numbers: [71, 19] Generated Node #0,4,3: 54:[71, 19] Operation: 72-53=19 Exploring Operation: 71-53=18, Resulting Numbers: [72, 18] Generated Node #0,4,4: 54:[72, 18] Operation: 71-53=18 Moving to Node #0,0 Current State: 54:[20, 92, 18], Operations: ['71-53=18'] Exploring Operation: 92-20=72, Resulting Numbers: [18, 72] Generated Node #0,0,0: 54:[18, 72] Operation: 92-20=72 Exploring Operation: 20+92=112, Resulting Numbers: [18, 112] Generated Node #0,0,1: 54:[18, 112] Operation: 20+92=112 Exploring Operation: 92-18=74, Resulting Numbers: [20, 74] Generated Node #0,0,2: 54:[20, 74] Operation: 92-18=74 Exploring Operation: 20+18=38, Resulting Numbers: [92, 38] Generated Node #0,0,3: 54:[92, 38] Operation: 20+18=38 Exploring Operation: 20-18=2, Resulting Numbers: [92, 2] Generated Node #0,0,4: 54:[92, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[18, 72], Operations: ['71-53=18', '92-20=72'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[20, 53, 92, 71], Operations: [] Exploring Operation: 71-53=18, Resulting Numbers: [20, 92, 18] Generated Node #0,0: 54:[20, 92, 18] Operation: 71-53=18 Moving to Node #0,0 Current State: 54:[20, 92, 18], Operations: ['71-53=18'] Exploring Operation: 92-20=72, Resulting Numbers: [18, 72] Generated Node #0,0,0: 54:[18, 72] Operation: 92-20=72 Moving to Node #0,0,0 Current State: 54:[18, 72], Operations: ['71-53=18', '92-20=72'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 61, 30, 15, 42 ]
88
[ "61-30=31", "15+42=57", "31+57=88" ]
Current State: 88:[61, 30, 15, 42], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [15, 42, 31] Generated Node #2: [15, 42, 31] from Operation: 61-30=31 Current State: 88:[15, 42, 31], Operations: ['61-30=31'] Exploring Operation: 15+42=57, Resulting Numbers: [31, 57] Generated Node #3: [31, 57] from Operation: 15+42=57 Current State: 88:[31, 57], Operations: ['61-30=31', '15+42=57'] Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[61, 30, 15, 42], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [15, 42, 31] Generated Node #0,0: 88:[15, 42, 31] Operation: 61-30=31 Exploring Operation: 61-15=46, Resulting Numbers: [30, 42, 46] Generated Node #0,1: 88:[30, 42, 46] Operation: 61-15=46 Exploring Operation: 61+30=91, Resulting Numbers: [15, 42, 91] Generated Node #0,2: 88:[15, 42, 91] Operation: 61+30=91 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[15, 42, 91], Operations: ['61+30=91'] Exploring Operation: 91-42=49, Resulting Numbers: [15, 49] Generated Node #0,2,0: 88:[15, 49] Operation: 91-42=49 Exploring Operation: 42-15=27, Resulting Numbers: [91, 27] Generated Node #0,2,1: 88:[91, 27] Operation: 42-15=27 Exploring Operation: 91-15=76, Resulting Numbers: [42, 76] Generated Node #0,2,2: 88:[42, 76] Operation: 91-15=76 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[91, 27], Operations: ['61+30=91', '42-15=27'] Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,88 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,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:[15, 49], Operations: ['61+30=91', '91-42=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,88 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,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,2 Current State: 88:[42, 76], Operations: ['61+30=91', '91-15=76'] Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 42*76=3192, Resulting Numbers: [3192] 3192,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:[30, 42, 46], Operations: ['61-15=46'] Exploring Operation: 42+46=88, Resulting Numbers: [30, 88] Generated Node #0,1,0: 88:[30, 88] Operation: 42+46=88 Exploring Operation: 42-30=12, Resulting Numbers: [46, 12] Generated Node #0,1,1: 88:[46, 12] Operation: 42-30=12 Exploring Operation: 46-30=16, Resulting Numbers: [42, 16] Generated Node #0,1,2: 88:[42, 16] Operation: 46-30=16 Moving to Node #0,1,1 Current State: 88:[46, 12], Operations: ['61-15=46', '42-30=12'] Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,88 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[42, 16], Operations: ['61-15=46', '46-30=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[30, 88], Operations: ['61-15=46', '42+46=88'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,88 unequal: No Solution Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[15, 42, 31], Operations: ['61-30=31'] Exploring Operation: 42-31=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 88:[15, 11] Operation: 42-31=11 Exploring Operation: 31-15=16, Resulting Numbers: [42, 16] Generated Node #0,0,1: 88:[42, 16] Operation: 31-15=16 Exploring Operation: 15+31=46, Resulting Numbers: [42, 46] Generated Node #0,0,2: 88:[42, 46] Operation: 15+31=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[15, 11], Operations: ['61-30=31', '42-31=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,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:[42, 46], Operations: ['61-30=31', '15+31=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[61, 30, 15, 42], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [15, 42, 31] Generated Node #0,0: 88:[15, 42, 31] Operation: 61-30=31 Moving to Node #0,0 Current State: 88:[15, 42, 31], Operations: ['61-30=31'] Exploring Operation: 15+31=46, Resulting Numbers: [42, 46] Generated Node #0,0,2: 88:[42, 46] Operation: 15+31=46 Moving to Node #0,0,2 Current State: 88:[42, 46], Operations: ['61-30=31', '15+31=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_3
mult_heuristic
[ 12, 21, 48, 20 ]
60
[ "12+48=60", "21-20=1", "60*1=60" ]
Current State: 60:[12, 21, 48, 20], Operations: [] Exploring Operation: 12+48=60, Resulting Numbers: [21, 20, 60] Generated Node #2: [21, 20, 60] from Operation: 12+48=60 Current State: 60:[21, 20, 60], Operations: ['12+48=60'] Exploring Operation: 21-20=1, Resulting Numbers: [60, 1] Generated Node #3: [60, 1] from Operation: 21-20=1 Current State: 60:[60, 1], Operations: ['12+48=60', '21-20=1'] Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[12, 21, 48, 20], Operations: [] Exploring Operation: 12+48=60, Resulting Numbers: [21, 20, 60] Generated Node #0,0: 60:[21, 20, 60] Operation: 12+48=60 Exploring Operation: 48-21=27, Resulting Numbers: [12, 20, 27] Generated Node #0,1: 60:[12, 20, 27] Operation: 48-21=27 Exploring Operation: 48/12=4, Resulting Numbers: [21, 20, 4] Generated Node #0,2: 60:[21, 20, 4] Operation: 48/12=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[21, 20, 60], Operations: ['12+48=60'] Exploring Operation: 21-20=1, Resulting Numbers: [60, 1] Generated Node #0,0,0: 60:[60, 1] Operation: 21-20=1 Exploring Operation: 60-21=39, Resulting Numbers: [20, 39] Generated Node #0,0,1: 60:[20, 39] Operation: 60-21=39 Exploring Operation: 60/20=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 60:[21, 3] Operation: 60/20=3 Moving to Node #0,0,0 Current State: 60:[60, 1], Operations: ['12+48=60', '21-20=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[12, 21, 48, 20], Operations: [] Exploring Operation: 12+48=60, Resulting Numbers: [21, 20, 60] Generated Node #0,0: 60:[21, 20, 60] Operation: 12+48=60 Moving to Node #0,0 Current State: 60:[21, 20, 60], Operations: ['12+48=60'] Exploring Operation: 21-20=1, Resulting Numbers: [60, 1] Generated Node #0,0,0: 60:[60, 1] Operation: 21-20=1 Moving to Node #0,0,0 Current State: 60:[60, 1], Operations: ['12+48=60', '21-20=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 6, 50, 36, 2 ]
40
[ "6+50=56", "56-36=20", "2*20=40" ]
Current State: 40:[6, 50, 36, 2], Operations: [] Exploring Operation: 6+50=56, Resulting Numbers: [36, 2, 56] Generated Node #2: [36, 2, 56] from Operation: 6+50=56 Current State: 40:[36, 2, 56], Operations: ['6+50=56'] Exploring Operation: 56-36=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 56-36=20 Current State: 40:[2, 20], Operations: ['6+50=56', '56-36=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[6, 50, 36, 2], Operations: [] Exploring Operation: 50-6=44, Resulting Numbers: [36, 2, 44] Generated Node #0,0: 40:[36, 2, 44] Operation: 50-6=44 Exploring Operation: 50-36=14, Resulting Numbers: [6, 2, 14] Generated Node #0,1: 40:[6, 2, 14] Operation: 50-36=14 Moving to Node #0,1 Current State: 40:[6, 2, 14], Operations: ['50-36=14'] Exploring Operation: 6+14=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 40:[2, 20] Operation: 6+14=20 Exploring Operation: 14-6=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 40:[2, 8] Operation: 14-6=8 Moving to Node #0,0 Current State: 40:[36, 2, 44], Operations: ['50-6=44'] Exploring Operation: 44-36=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 40:[2, 8] Operation: 44-36=8 Exploring Operation: 36+2=38, Resulting Numbers: [44, 38] Generated Node #0,0,1: 40:[44, 38] Operation: 36+2=38 Moving to Node #0,1,0 Current State: 40:[2, 20], Operations: ['50-36=14', '6+14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[6, 50, 36, 2], Operations: [] Exploring Operation: 50-36=14, Resulting Numbers: [6, 2, 14] Generated Node #0,1: 40:[6, 2, 14] Operation: 50-36=14 Moving to Node #0,1 Current State: 40:[6, 2, 14], Operations: ['50-36=14'] Exploring Operation: 6+14=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 40:[2, 20] Operation: 6+14=20 Moving to Node #0,1,0 Current State: 40:[2, 20], Operations: ['50-36=14', '6+14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 9, 92, 25, 75 ]
80
[ "92-9=83", "75/25=3", "83-3=80" ]
Current State: 80:[9, 92, 25, 75], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [25, 75, 83] Generated Node #2: [25, 75, 83] from Operation: 92-9=83 Current State: 80:[25, 75, 83], Operations: ['92-9=83'] Exploring Operation: 75/25=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 75/25=3 Current State: 80:[83, 3], Operations: ['92-9=83', '75/25=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[9, 92, 25, 75], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [92, 75, 16] Generated Node #0,0: 80:[92, 75, 16] Operation: 25-9=16 Exploring Operation: 75/25=3, Resulting Numbers: [9, 92, 3] Generated Node #0,1: 80:[9, 92, 3] Operation: 75/25=3 Exploring Operation: 92-9=83, Resulting Numbers: [25, 75, 83] Generated Node #0,2: 80:[25, 75, 83] Operation: 92-9=83 Exploring Operation: 92-75=17, Resulting Numbers: [9, 25, 17] Generated Node #0,3: 80:[9, 25, 17] Operation: 92-75=17 Exploring Operation: 92-25=67, Resulting Numbers: [9, 75, 67] Generated Node #0,4: 80:[9, 75, 67] Operation: 92-25=67 Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[9, 25, 17], Operations: ['92-75=17'] Exploring Operation: 17-9=8, Resulting Numbers: [25, 8] Generated Node #0,3,0: 80:[25, 8] Operation: 17-9=8 Exploring Operation: 25+17=42, Resulting Numbers: [9, 42] Generated Node #0,3,1: 80:[9, 42] Operation: 25+17=42 Exploring Operation: 25-17=8, Resulting Numbers: [9, 8] Generated Node #0,3,2: 80:[9, 8] Operation: 25-17=8 Exploring Operation: 9+25=34, Resulting Numbers: [17, 34] Generated Node #0,3,3: 80:[17, 34] Operation: 9+25=34 Exploring Operation: 25-9=16, Resulting Numbers: [17, 16] Generated Node #0,3,4: 80:[17, 16] Operation: 25-9=16 Moving to Node #0,3,2 Current State: 80:[9, 8], Operations: ['92-75=17', '25-17=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[17, 16], Operations: ['92-75=17', '25-9=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,80 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[9, 42], Operations: ['92-75=17', '25+17=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,80 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[25, 8], Operations: ['92-75=17', '17-9=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,80 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[17, 34], Operations: ['92-75=17', '9+25=34'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,80 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[25, 75, 83], Operations: ['92-9=83'] Exploring Operation: 83-75=8, Resulting Numbers: [25, 8] Generated Node #0,2,0: 80:[25, 8] Operation: 83-75=8 Exploring Operation: 75-25=50, Resulting Numbers: [83, 50] Generated Node #0,2,1: 80:[83, 50] Operation: 75-25=50 Exploring Operation: 83-25=58, Resulting Numbers: [75, 58] Generated Node #0,2,2: 80:[75, 58] Operation: 83-25=58 Exploring Operation: 25+75=100, Resulting Numbers: [83, 100] Generated Node #0,2,3: 80:[83, 100] Operation: 25+75=100 Exploring Operation: 75/25=3, Resulting Numbers: [83, 3] Generated Node #0,2,4: 80:[83, 3] Operation: 75/25=3 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 80:[83, 3], Operations: ['92-9=83', '75/25=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,80 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[9, 92, 25, 75], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [25, 75, 83] Generated Node #0,2: 80:[25, 75, 83] Operation: 92-9=83 Moving to Node #0,2 Current State: 80:[25, 75, 83], Operations: ['92-9=83'] Exploring Operation: 75/25=3, Resulting Numbers: [83, 3] Generated Node #0,2,4: 80:[83, 3] Operation: 75/25=3 Moving to Node #0,2,4 Current State: 80:[83, 3], Operations: ['92-9=83', '75/25=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 37, 81, 29, 33 ]
13
[ "37-33=4", "81-29=52", "52/4=13" ]
Current State: 13:[37, 81, 29, 33], Operations: [] Exploring Operation: 37-33=4, Resulting Numbers: [81, 29, 4] Generated Node #2: [81, 29, 4] from Operation: 37-33=4 Current State: 13:[81, 29, 4], Operations: ['37-33=4'] Exploring Operation: 81-29=52, Resulting Numbers: [4, 52] Generated Node #3: [4, 52] from Operation: 81-29=52 Current State: 13:[4, 52], Operations: ['37-33=4', '81-29=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[37, 81, 29, 33], Operations: [] Exploring Operation: 81-37=44, Resulting Numbers: [29, 33, 44] Generated Node #0,0: 13:[29, 33, 44] Operation: 81-37=44 Exploring Operation: 81-33=48, Resulting Numbers: [37, 29, 48] Generated Node #0,1: 13:[37, 29, 48] Operation: 81-33=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[29, 33, 44], Operations: ['81-37=44'] Exploring Operation: 44-29=15, Resulting Numbers: [33, 15] Generated Node #0,0,0: 13:[33, 15] Operation: 44-29=15 Exploring Operation: 44-33=11, Resulting Numbers: [29, 11] Generated Node #0,0,1: 13:[29, 11] Operation: 44-33=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[29, 11], Operations: ['81-37=44', '44-33=11'] Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[33, 15], Operations: ['81-37=44', '44-29=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[37, 29, 48], Operations: ['81-33=48'] Exploring Operation: 48-37=11, Resulting Numbers: [29, 11] Generated Node #0,1,0: 13:[29, 11] Operation: 48-37=11 Exploring Operation: 48-29=19, Resulting Numbers: [37, 19] Generated Node #0,1,1: 13:[37, 19] Operation: 48-29=19 Moving to Node #0,1,0 Current State: 13:[29, 11], Operations: ['81-33=48', '48-37=11'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[37, 19], Operations: ['81-33=48', '48-29=19'] Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 79, 93, 21, 69 ]
34
[ "93-79=14", "69-21=48", "48-14=34" ]
Current State: 34:[79, 93, 21, 69], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [21, 69, 14] Generated Node #2: [21, 69, 14] from Operation: 93-79=14 Current State: 34:[21, 69, 14], Operations: ['93-79=14'] Exploring Operation: 69-21=48, Resulting Numbers: [14, 48] Generated Node #3: [14, 48] from Operation: 69-21=48 Current State: 34:[14, 48], Operations: ['93-79=14', '69-21=48'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[79, 93, 21, 69], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [21, 69, 14] Generated Node #0,0: 34:[21, 69, 14] Operation: 93-79=14 Moving to Node #0,0 Current State: 34:[21, 69, 14], Operations: ['93-79=14'] Exploring Operation: 69-21=48, Resulting Numbers: [14, 48] Generated Node #0,0,0: 34:[14, 48] Operation: 69-21=48 Moving to Node #0,0,0 Current State: 34:[14, 48], Operations: ['93-79=14', '69-21=48'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[79, 93, 21, 69], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [21, 69, 14] Generated Node #0,0: 34:[21, 69, 14] Operation: 93-79=14 Moving to Node #0,0 Current State: 34:[21, 69, 14], Operations: ['93-79=14'] Exploring Operation: 69-21=48, Resulting Numbers: [14, 48] Generated Node #0,0,0: 34:[14, 48] Operation: 69-21=48 Moving to Node #0,0,0 Current State: 34:[14, 48], Operations: ['93-79=14', '69-21=48'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 2, 21, 43, 41 ]
85
[ "43-21=22", "2*22=44", "41+44=85" ]
Current State: 85:[2, 21, 43, 41], Operations: [] Exploring Operation: 43-21=22, Resulting Numbers: [2, 41, 22] Generated Node #2: [2, 41, 22] from Operation: 43-21=22 Current State: 85:[2, 41, 22], Operations: ['43-21=22'] Exploring Operation: 2*22=44, Resulting Numbers: [41, 44] Generated Node #3: [41, 44] from Operation: 2*22=44 Current State: 85:[41, 44], Operations: ['43-21=22', '2*22=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[2, 21, 43, 41], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [2, 21, 2] Generated Node #0,0: 85:[2, 21, 2] Operation: 43-41=2 Exploring Operation: 2*43=86, Resulting Numbers: [21, 41, 86] Generated Node #0,1: 85:[21, 41, 86] Operation: 2*43=86 Exploring Operation: 43+41=84, Resulting Numbers: [2, 21, 84] Generated Node #0,2: 85:[2, 21, 84] Operation: 43+41=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[2, 21, 84], Operations: ['43+41=84'] Exploring Operation: 21-2=19, Resulting Numbers: [84, 19] Generated Node #0,2,0: 85:[84, 19] Operation: 21-2=19 Exploring Operation: 84/21=4, Resulting Numbers: [2, 4] Generated Node #0,2,1: 85:[2, 4] Operation: 84/21=4 Exploring Operation: 2+84=86, Resulting Numbers: [21, 86] Generated Node #0,2,2: 85:[21, 86] Operation: 2+84=86 Moving to Node #0,2,0 Current State: 85:[84, 19], Operations: ['43+41=84', '21-2=19'] Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,85 unequal: No Solution Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,85 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[2, 4], Operations: ['43+41=84', '84/21=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[21, 86], Operations: ['43+41=84', '2+84=86'] Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,85 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,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:[2, 21, 2], Operations: ['43-41=2'] Exploring Operation: 2*2=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 85:[21, 4] Operation: 2*2=4 Exploring Operation: 2+2=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 85:[21, 4] Operation: 2+2=4 Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,0,2: 85:[2, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[21, 4], Operations: ['43-41=2', '2*2=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,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:[21, 4], Operations: ['43-41=2', '2+2=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,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,2 Current State: 85:[2, 19], Operations: ['43-41=2', '21-2=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,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:[21, 41, 86], Operations: ['2*43=86'] Exploring Operation: 86-41=45, Resulting Numbers: [21, 45] Generated Node #0,1,0: 85:[21, 45] Operation: 86-41=45 Exploring Operation: 21+41=62, Resulting Numbers: [86, 62] Generated Node #0,1,1: 85:[86, 62] Operation: 21+41=62 Exploring Operation: 41-21=20, Resulting Numbers: [86, 20] Generated Node #0,1,2: 85:[86, 20] Operation: 41-21=20 Moving to Node #0,1,2 Current State: 85:[86, 20], Operations: ['2*43=86', '41-21=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[86, 62], Operations: ['2*43=86', '21+41=62'] Exploring Operation: 86*62=5332, Resulting Numbers: [5332] 5332,85 unequal: No Solution Exploring Operation: 86-62=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 86+62=148, Resulting Numbers: [148] 148,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[21, 45], Operations: ['2*43=86', '86-41=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,85 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 26, 7, 2, 40 ]
99
[ "26-7=19", "2*40=80", "19+80=99" ]
Current State: 99:[26, 7, 2, 40], Operations: [] Exploring Operation: 26-7=19, Resulting Numbers: [2, 40, 19] Generated Node #2: [2, 40, 19] from Operation: 26-7=19 Current State: 99:[2, 40, 19], Operations: ['26-7=19'] Exploring Operation: 2*40=80, Resulting Numbers: [19, 80] Generated Node #3: [19, 80] from Operation: 2*40=80 Current State: 99:[19, 80], Operations: ['26-7=19', '2*40=80'] Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[26, 7, 2, 40], Operations: [] Exploring Operation: 26+7=33, Resulting Numbers: [2, 40, 33] Generated Node #0,0: 99:[2, 40, 33] Operation: 26+7=33 Exploring Operation: 40-7=33, Resulting Numbers: [26, 2, 33] Generated Node #0,1: 99:[26, 2, 33] Operation: 40-7=33 Exploring Operation: 40-26=14, Resulting Numbers: [7, 2, 14] Generated Node #0,2: 99:[7, 2, 14] Operation: 40-26=14 Exploring Operation: 26/2=13, Resulting Numbers: [7, 40, 13] Generated Node #0,3: 99:[7, 40, 13] Operation: 26/2=13 Moving to Node #0,2 Current State: 99:[7, 2, 14], Operations: ['40-26=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 99:[2, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [2, 7] Generated Node #0,2,1: 99:[2, 7] Operation: 14-7=7 Exploring Operation: 7+2=9, Resulting Numbers: [14, 9] Generated Node #0,2,2: 99:[14, 9] Operation: 7+2=9 Exploring Operation: 7*14=98, Resulting Numbers: [2, 98] Generated Node #0,2,3: 99:[2, 98] Operation: 7*14=98 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[2, 2], Operations: ['40-26=14', '14/7=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,99 unequal: No Solution No 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: 99:[2, 98], Operations: ['40-26=14', '7*14=98'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,99 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,99 unequal: No Solution No 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: 99:[2, 7], Operations: ['40-26=14', '14-7=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,99 unequal: No Solution No 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: 99:[14, 9], Operations: ['40-26=14', '7+2=9'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,99 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: 99:[26, 2, 33], Operations: ['40-7=33'] Exploring Operation: 33-26=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 99:[2, 7] Operation: 33-26=7 Exploring Operation: 26-2=24, Resulting Numbers: [33, 24] Generated Node #0,1,1: 99:[33, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [33, 13] Generated Node #0,1,2: 99:[33, 13] Operation: 26/2=13 Exploring Operation: 26+2=28, Resulting Numbers: [33, 28] Generated Node #0,1,3: 99:[33, 28] Operation: 26+2=28 Moving to Node #0,0 Current State: 99:[2, 40, 33], Operations: ['26+7=33'] Exploring Operation: 40-2=38, Resulting Numbers: [33, 38] Generated Node #0,0,0: 99:[33, 38] Operation: 40-2=38 Exploring Operation: 40/2=20, Resulting Numbers: [33, 20] Generated Node #0,0,1: 99:[33, 20] Operation: 40/2=20 Exploring Operation: 2+40=42, Resulting Numbers: [33, 42] Generated Node #0,0,2: 99:[33, 42] Operation: 2+40=42 Exploring Operation: 40-33=7, Resulting Numbers: [2, 7] Generated Node #0,0,3: 99:[2, 7] Operation: 40-33=7 Moving to Node #0,3 Current State: 99:[7, 40, 13], Operations: ['26/2=13'] Exploring Operation: 40-13=27, Resulting Numbers: [7, 27] Generated Node #0,3,0: 99:[7, 27] Operation: 40-13=27 Exploring Operation: 7*13=91, Resulting Numbers: [40, 91] Generated Node #0,3,1: 99:[40, 91] Operation: 7*13=91 Exploring Operation: 13-7=6, Resulting Numbers: [40, 6] Generated Node #0,3,2: 99:[40, 6] Operation: 13-7=6 Exploring Operation: 40-7=33, Resulting Numbers: [13, 33] Generated Node #0,3,3: 99:[13, 33] Operation: 40-7=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[13, 33], Operations: ['26/2=13', '40-7=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,99 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,99 unequal: No Solution No 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: 99:[7, 27], Operations: ['26/2=13', '40-13=27'] Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,99 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,99 unequal: No Solution No 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: 99:[40, 6], Operations: ['26/2=13', '13-7=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,99 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,99 unequal: No Solution No 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: 99:[40, 91], Operations: ['26/2=13', '7*13=91'] Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,99 unequal: No Solution Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,99 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 99:[33, 13], Operations: ['40-7=33', '26/2=13'] Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,99 unequal: No Solution Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[2, 7], Operations: ['40-7=33', '33-26=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[2, 7], Operations: ['26+7=33', '40-33=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[33, 28], Operations: ['40-7=33', '26+2=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[33, 38], Operations: ['26+7=33', '40-2=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,99 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[33, 20], Operations: ['26+7=33', '40/2=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,99 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[33, 42], Operations: ['26+7=33', '2+40=42'] Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[33, 24], Operations: ['40-7=33', '26-2=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,99 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 2, 66, 54, 64 ]
46
[ "64-54=10", "2*10=20", "66-20=46" ]
Current State: 46:[2, 66, 54, 64], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [2, 66, 10] Generated Node #2: [2, 66, 10] from Operation: 64-54=10 Current State: 46:[2, 66, 10], Operations: ['64-54=10'] Exploring Operation: 2*10=20, Resulting Numbers: [66, 20] Generated Node #3: [66, 20] from Operation: 2*10=20 Current State: 46:[66, 20], Operations: ['64-54=10', '2*10=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[2, 66, 54, 64], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [2, 66, 10] Generated Node #0,0: 46:[2, 66, 10] Operation: 64-54=10 Exploring Operation: 64/2=32, Resulting Numbers: [66, 54, 32] Generated Node #0,1: 46:[66, 54, 32] Operation: 64/2=32 Exploring Operation: 66-54=12, Resulting Numbers: [2, 64, 12] Generated Node #0,2: 46:[2, 64, 12] Operation: 66-54=12 Exploring Operation: 66/2=33, Resulting Numbers: [54, 64, 33] Generated Node #0,3: 46:[54, 64, 33] Operation: 66/2=33 Exploring Operation: 66-64=2, Resulting Numbers: [2, 54, 2] Generated Node #0,4: 46:[2, 54, 2] Operation: 66-64=2 Moving to Node #0,4 Current State: 46:[2, 54, 2], Operations: ['66-64=2'] Exploring Operation: 2/2=1, Resulting Numbers: [54, 1] Generated Node #0,4,0: 46:[54, 1] Operation: 2/2=1 Exploring Operation: 54/2=27, Resulting Numbers: [2, 27] Generated Node #0,4,1: 46:[2, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [2, 52] Generated Node #0,4,2: 46:[2, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [2, 27] Generated Node #0,4,3: 46:[2, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [2, 52] Generated Node #0,4,4: 46:[2, 52] Operation: 54-2=52 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[2, 27], Operations: ['66-64=2', '54/2=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[2, 27], Operations: ['66-64=2', '54/2=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[2, 52], Operations: ['66-64=2', '54-2=52'] Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[2, 52], Operations: ['66-64=2', '54-2=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[54, 1], Operations: ['66-64=2', '2/2=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,46 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: 46:[2, 64, 12], Operations: ['66-54=12'] Exploring Operation: 12/2=6, Resulting Numbers: [64, 6] Generated Node #0,2,0: 46:[64, 6] Operation: 12/2=6 Exploring Operation: 64-12=52, Resulting Numbers: [2, 52] Generated Node #0,2,1: 46:[2, 52] Operation: 64-12=52 Exploring Operation: 64-2=62, Resulting Numbers: [12, 62] Generated Node #0,2,2: 46:[12, 62] Operation: 64-2=62 Exploring Operation: 2*12=24, Resulting Numbers: [64, 24] Generated Node #0,2,3: 46:[64, 24] Operation: 2*12=24 Exploring Operation: 64/2=32, Resulting Numbers: [12, 32] Generated Node #0,2,4: 46:[12, 32] Operation: 64/2=32 Moving to Node #0,0 Current State: 46:[2, 66, 10], Operations: ['64-54=10'] Exploring Operation: 2*10=20, Resulting Numbers: [66, 20] Generated Node #0,0,0: 46:[66, 20] Operation: 2*10=20 Exploring Operation: 66/2=33, Resulting Numbers: [10, 33] Generated Node #0,0,1: 46:[10, 33] Operation: 66/2=33 Exploring Operation: 10/2=5, Resulting Numbers: [66, 5] Generated Node #0,0,2: 46:[66, 5] Operation: 10/2=5 Exploring Operation: 66-10=56, Resulting Numbers: [2, 56] Generated Node #0,0,3: 46:[2, 56] Operation: 66-10=56 Exploring Operation: 66-2=64, Resulting Numbers: [10, 64] Generated Node #0,0,4: 46:[10, 64] Operation: 66-2=64 Moving to Node #0,3 Current State: 46:[54, 64, 33], Operations: ['66/2=33'] Exploring Operation: 54+33=87, Resulting Numbers: [64, 87] Generated Node #0,3,0: 46:[64, 87] Operation: 54+33=87 Exploring Operation: 64-54=10, Resulting Numbers: [33, 10] Generated Node #0,3,1: 46:[33, 10] Operation: 64-54=10 Exploring Operation: 64+33=97, Resulting Numbers: [54, 97] Generated Node #0,3,2: 46:[54, 97] Operation: 64+33=97 Exploring Operation: 64-33=31, Resulting Numbers: [54, 31] Generated Node #0,3,3: 46:[54, 31] Operation: 64-33=31 Exploring Operation: 54-33=21, Resulting Numbers: [64, 21] Generated Node #0,3,4: 46:[64, 21] Operation: 54-33=21 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[54, 31], Operations: ['66/2=33', '64-33=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,46 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[33, 10], Operations: ['66/2=33', '64-54=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,46 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[64, 21], Operations: ['66/2=33', '54-33=21'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,46 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[64, 87], Operations: ['66/2=33', '54+33=87'] Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,46 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[54, 97], Operations: ['66/2=33', '64+33=97'] Exploring Operation: 54*97=5238, Resulting Numbers: [5238] 5238,46 unequal: No Solution Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 54+97=151, Resulting Numbers: [151] 151,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[66, 54, 32], Operations: ['64/2=32'] Exploring Operation: 66-32=34, Resulting Numbers: [54, 34] Generated Node #0,1,0: 46:[54, 34] Operation: 66-32=34 Exploring Operation: 66+32=98, Resulting Numbers: [54, 98] Generated Node #0,1,1: 46:[54, 98] Operation: 66+32=98 Exploring Operation: 54+32=86, Resulting Numbers: [66, 86] Generated Node #0,1,2: 46:[66, 86] Operation: 54+32=86 Exploring Operation: 54-32=22, Resulting Numbers: [66, 22] Generated Node #0,1,3: 46:[66, 22] Operation: 54-32=22 Exploring Operation: 66-54=12, Resulting Numbers: [32, 12] Generated Node #0,1,4: 46:[32, 12] Operation: 66-54=12 Moving to Node #0,2,1 Current State: 46:[2, 52], Operations: ['66-54=12', '64-12=52'] Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[2, 56], Operations: ['64-54=10', '66-10=56'] Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,46 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[10, 33], Operations: ['64-54=10', '66/2=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[12, 32], Operations: ['66-54=12', '64/2=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[32, 12], Operations: ['64/2=32', '66-54=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,46 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[64, 24], Operations: ['66-54=12', '2*12=24'] Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,46 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[54, 34], Operations: ['64/2=32', '66-32=34'] Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,46 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[66, 22], Operations: ['64/2=32', '54-32=22'] Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 66*22=1452, Resulting Numbers: [1452] 1452,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[64, 6], Operations: ['66-54=12', '12/2=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[66, 5], Operations: ['64-54=10', '10/2=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[66, 20], Operations: ['64-54=10', '2*10=20'] Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,46 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[2, 66, 54, 64], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [2, 66, 10] Generated Node #0,0: 46:[2, 66, 10] Operation: 64-54=10 Moving to Node #0,0 Current State: 46:[2, 66, 10], Operations: ['64-54=10'] Exploring Operation: 2*10=20, Resulting Numbers: [66, 20] Generated Node #0,0,0: 46:[66, 20] Operation: 2*10=20 Moving to Node #0,0,0 Current State: 46:[66, 20], Operations: ['64-54=10', '2*10=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.911458
hs_5
sum_heuristic
[ 19, 29, 75, 46 ]
39
[ "29-19=10", "75-46=29", "10+29=39" ]
Current State: 39:[19, 29, 75, 46], Operations: [] Exploring Operation: 29-19=10, Resulting Numbers: [75, 46, 10] Generated Node #2: [75, 46, 10] from Operation: 29-19=10 Current State: 39:[75, 46, 10], Operations: ['29-19=10'] Exploring Operation: 75-46=29, Resulting Numbers: [10, 29] Generated Node #3: [10, 29] from Operation: 75-46=29 Current State: 39:[10, 29], Operations: ['29-19=10', '75-46=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[19, 29, 75, 46], Operations: [] Exploring Operation: 75-29=46, Resulting Numbers: [19, 46, 46] Generated Node #0,0: 39:[19, 46, 46] Operation: 75-29=46 Exploring Operation: 75-46=29, Resulting Numbers: [19, 29, 29] Generated Node #0,1: 39:[19, 29, 29] Operation: 75-46=29 Exploring Operation: 75-19=56, Resulting Numbers: [29, 46, 56] Generated Node #0,2: 39:[29, 46, 56] Operation: 75-19=56 Moving to Node #0,0 Current State: 39:[19, 46, 46], Operations: ['75-29=46'] Exploring Operation: 46-19=27, Resulting Numbers: [46, 27] Generated Node #0,0,0: 39:[46, 27] Operation: 46-19=27 Exploring Operation: 46-46=0, Resulting Numbers: [19, 0] Generated Node #0,0,1: 39:[19, 0] Operation: 46-46=0 Exploring Operation: 46/46=1, Resulting Numbers: [19, 1] Generated Node #0,0,2: 39:[19, 1] Operation: 46/46=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[19, 1], Operations: ['75-29=46', '46/46=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,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:[19, 0], Operations: ['75-29=46', '46-46=0'] Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,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:[46, 27], Operations: ['75-29=46', '46-19=27'] Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,39 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,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:[19, 29, 29], Operations: ['75-46=29'] Exploring Operation: 29/29=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 39:[19, 1] Operation: 29/29=1 Exploring Operation: 29-29=0, Resulting Numbers: [19, 0] Generated Node #0,1,1: 39:[19, 0] Operation: 29-29=0 Exploring Operation: 29-19=10, Resulting Numbers: [29, 10] Generated Node #0,1,2: 39:[29, 10] Operation: 29-19=10 Moving to Node #0,2 Current State: 39:[29, 46, 56], Operations: ['75-19=56'] Exploring Operation: 56-29=27, Resulting Numbers: [46, 27] Generated Node #0,2,0: 39:[46, 27] Operation: 56-29=27 Exploring Operation: 46-29=17, Resulting Numbers: [56, 17] Generated Node #0,2,1: 39:[56, 17] Operation: 46-29=17 Exploring Operation: 56-46=10, Resulting Numbers: [29, 10] Generated Node #0,2,2: 39:[29, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[29, 10], Operations: ['75-19=56', '56-46=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[19, 29, 75, 46], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [29, 46, 56] Generated Node #0,2: 39:[29, 46, 56] Operation: 75-19=56 Moving to Node #0,2 Current State: 39:[29, 46, 56], Operations: ['75-19=56'] Exploring Operation: 56-46=10, Resulting Numbers: [29, 10] Generated Node #0,2,2: 39:[29, 10] Operation: 56-46=10 Moving to Node #0,2,2 Current State: 39:[29, 10], Operations: ['75-19=56', '56-46=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 27, 12, 16, 64 ]
35
[ "27+12=39", "64/16=4", "39-4=35" ]
Current State: 35:[27, 12, 16, 64], Operations: [] Exploring Operation: 27+12=39, Resulting Numbers: [16, 64, 39] Generated Node #2: [16, 64, 39] from Operation: 27+12=39 Current State: 35:[16, 64, 39], Operations: ['27+12=39'] Exploring Operation: 64/16=4, Resulting Numbers: [39, 4] Generated Node #3: [39, 4] from Operation: 64/16=4 Current State: 35:[39, 4], Operations: ['27+12=39', '64/16=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[27, 12, 16, 64], Operations: [] Exploring Operation: 64-27=37, Resulting Numbers: [12, 16, 37] Generated Node #0,0: 35:[12, 16, 37] Operation: 64-27=37 Exploring Operation: 64/16=4, Resulting Numbers: [27, 12, 4] Generated Node #0,1: 35:[27, 12, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[27, 12, 4], Operations: ['64/16=4'] Exploring Operation: 27+12=39, Resulting Numbers: [4, 39] Generated Node #0,1,0: 35:[4, 39] Operation: 27+12=39 Exploring Operation: 27-12=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 35:[4, 15] Operation: 27-12=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[4, 39], Operations: ['64/16=4', '27+12=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[27, 12, 16, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [27, 12, 4] Generated Node #0,1: 35:[27, 12, 4] Operation: 64/16=4 Moving to Node #0,1 Current State: 35:[27, 12, 4], Operations: ['64/16=4'] Exploring Operation: 27+12=39, Resulting Numbers: [4, 39] Generated Node #0,1,0: 35:[4, 39] Operation: 27+12=39 Moving to Node #0,1,0 Current State: 35:[4, 39], Operations: ['64/16=4', '27+12=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 71, 19, 9, 75 ]
40
[ "75-71=4", "19-9=10", "4*10=40" ]
Current State: 40:[71, 19, 9, 75], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [19, 9, 4] Generated Node #2: [19, 9, 4] from Operation: 75-71=4 Current State: 40:[19, 9, 4], Operations: ['75-71=4'] Exploring Operation: 19-9=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 19-9=10 Current State: 40:[4, 10], Operations: ['75-71=4', '19-9=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[71, 19, 9, 75], Operations: [] Exploring Operation: 71-19=52, Resulting Numbers: [9, 75, 52] Generated Node #0,0: 40:[9, 75, 52] Operation: 71-19=52 Exploring Operation: 75-71=4, Resulting Numbers: [19, 9, 4] Generated Node #0,1: 40:[19, 9, 4] Operation: 75-71=4 Exploring Operation: 75-19=56, Resulting Numbers: [71, 9, 56] Generated Node #0,2: 40:[71, 9, 56] Operation: 75-19=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[19, 9, 4], Operations: ['75-71=4'] Exploring Operation: 19-9=10, Resulting Numbers: [4, 10] Generated Node #0,1,0: 40:[4, 10] Operation: 19-9=10 Exploring Operation: 19+4=23, Resulting Numbers: [9, 23] Generated Node #0,1,1: 40:[9, 23] Operation: 19+4=23 Exploring Operation: 9-4=5, Resulting Numbers: [19, 5] Generated Node #0,1,2: 40:[19, 5] Operation: 9-4=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[4, 10], Operations: ['75-71=4', '19-9=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[71, 19, 9, 75], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [19, 9, 4] Generated Node #0,1: 40:[19, 9, 4] Operation: 75-71=4 Moving to Node #0,1 Current State: 40:[19, 9, 4], Operations: ['75-71=4'] Exploring Operation: 19-9=10, Resulting Numbers: [4, 10] Generated Node #0,1,0: 40:[4, 10] Operation: 19-9=10 Moving to Node #0,1,0 Current State: 40:[4, 10], Operations: ['75-71=4', '19-9=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 43, 56, 92, 50 ]
29
[ "56-43=13", "92-50=42", "42-13=29" ]
Current State: 29:[43, 56, 92, 50], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [92, 50, 13] Generated Node #2: [92, 50, 13] from Operation: 56-43=13 Current State: 29:[92, 50, 13], Operations: ['56-43=13'] Exploring Operation: 92-50=42, Resulting Numbers: [13, 42] Generated Node #3: [13, 42] from Operation: 92-50=42 Current State: 29:[13, 42], Operations: ['56-43=13', '92-50=42'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[43, 56, 92, 50], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [43, 50, 36] Generated Node #0,0: 29:[43, 50, 36] Operation: 92-56=36 Exploring Operation: 92-50=42, Resulting Numbers: [43, 56, 42] Generated Node #0,1: 29:[43, 56, 42] Operation: 92-50=42 Moving to Node #0,0 Current State: 29:[43, 50, 36], Operations: ['92-56=36'] Exploring Operation: 50-43=7, Resulting Numbers: [36, 7] Generated Node #0,0,0: 29:[36, 7] Operation: 50-43=7 Exploring Operation: 50-36=14, Resulting Numbers: [43, 14] Generated Node #0,0,1: 29:[43, 14] Operation: 50-36=14 Moving to Node #0,1 Current State: 29:[43, 56, 42], Operations: ['92-50=42'] Exploring Operation: 56-42=14, Resulting Numbers: [43, 14] Generated Node #0,1,0: 29:[43, 14] Operation: 56-42=14 Exploring Operation: 56-43=13, Resulting Numbers: [42, 13] Generated Node #0,1,1: 29:[42, 13] Operation: 56-43=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[43, 14], Operations: ['92-50=42', '56-42=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[43, 56, 92, 50], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [43, 56, 42] Generated Node #0,1: 29:[43, 56, 42] Operation: 92-50=42 Moving to Node #0,1 Current State: 29:[43, 56, 42], Operations: ['92-50=42'] Exploring Operation: 56-42=14, Resulting Numbers: [43, 14] Generated Node #0,1,0: 29:[43, 14] Operation: 56-42=14 Moving to Node #0,1,0 Current State: 29:[43, 14], Operations: ['92-50=42', '56-42=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 9, 27, 48, 39 ]
13
[ "39-27=12", "48/12=4", "9+4=13" ]
Current State: 13:[9, 27, 48, 39], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [9, 48, 12] Generated Node #2: [9, 48, 12] from Operation: 39-27=12 Current State: 13:[9, 48, 12], Operations: ['39-27=12'] Exploring Operation: 48/12=4, Resulting Numbers: [9, 4] Generated Node #3: [9, 4] from Operation: 48/12=4 Current State: 13:[9, 4], Operations: ['39-27=12', '48/12=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[9, 27, 48, 39], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [9, 27, 9] Generated Node #0,0: 13:[9, 27, 9] Operation: 48-39=9 Exploring Operation: 39-27=12, Resulting Numbers: [9, 48, 12] Generated Node #0,1: 13:[9, 48, 12] Operation: 39-27=12 Exploring Operation: 48-27=21, Resulting Numbers: [9, 39, 21] Generated Node #0,2: 13:[9, 39, 21] Operation: 48-27=21 Exploring Operation: 27-9=18, Resulting Numbers: [48, 39, 18] Generated Node #0,3: 13:[48, 39, 18] Operation: 27-9=18 Moving to Node #0,0 Current State: 13:[9, 27, 9], Operations: ['48-39=9'] Exploring Operation: 27-9=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 13:[9, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [9, 3] Generated Node #0,0,1: 13:[9, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [9, 18] Generated Node #0,0,2: 13:[9, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 13:[9, 3] Operation: 27/9=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[9, 18], Operations: ['48-39=9', '27-9=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,13 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[9, 18], Operations: ['48-39=9', '27-9=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,13 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[9, 3], Operations: ['48-39=9', '27/9=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 9-3=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,0,3 Current State: 13:[9, 3], Operations: ['48-39=9', '27/9=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 13:[9, 39, 21], Operations: ['48-27=21'] Exploring Operation: 39-9=30, Resulting Numbers: [21, 30] Generated Node #0,2,0: 13:[21, 30] Operation: 39-9=30 Exploring Operation: 9+39=48, Resulting Numbers: [21, 48] Generated Node #0,2,1: 13:[21, 48] Operation: 9+39=48 Exploring Operation: 39-21=18, Resulting Numbers: [9, 18] Generated Node #0,2,2: 13:[9, 18] Operation: 39-21=18 Exploring Operation: 21-9=12, Resulting Numbers: [39, 12] Generated Node #0,2,3: 13:[39, 12] Operation: 21-9=12 Moving to Node #0,1 Current State: 13:[9, 48, 12], Operations: ['39-27=12'] Exploring Operation: 48-9=39, Resulting Numbers: [12, 39] Generated Node #0,1,0: 13:[12, 39] Operation: 48-9=39 Exploring Operation: 48/12=4, Resulting Numbers: [9, 4] Generated Node #0,1,1: 13:[9, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [9, 36] Generated Node #0,1,2: 13:[9, 36] Operation: 48-12=36 Exploring Operation: 9+12=21, Resulting Numbers: [48, 21] Generated Node #0,1,3: 13:[48, 21] Operation: 9+12=21 Moving to Node #0,3 Current State: 13:[48, 39, 18], Operations: ['27-9=18'] Exploring Operation: 48+39=87, Resulting Numbers: [18, 87] Generated Node #0,3,0: 13:[18, 87] Operation: 48+39=87 Exploring Operation: 48-39=9, Resulting Numbers: [18, 9] Generated Node #0,3,1: 13:[18, 9] Operation: 48-39=9 Exploring Operation: 39-18=21, Resulting Numbers: [48, 21] Generated Node #0,3,2: 13:[48, 21] Operation: 39-18=21 Exploring Operation: 48-18=30, Resulting Numbers: [39, 30] Generated Node #0,3,3: 13:[39, 30] Operation: 48-18=30 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[18, 9], Operations: ['27-9=18', '48-39=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,13 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[48, 21], Operations: ['27-9=18', '39-18=21'] Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,13 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[39, 30], Operations: ['27-9=18', '48-18=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,13 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,13 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[18, 87], Operations: ['27-9=18', '48+39=87'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,13 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,13 unequal: No Solution Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 13:[9, 18], Operations: ['48-27=21', '39-21=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[9, 4], Operations: ['39-27=12', '48/12=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[9, 27, 48, 39], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [9, 48, 12] Generated Node #0,1: 13:[9, 48, 12] Operation: 39-27=12 Moving to Node #0,1 Current State: 13:[9, 48, 12], Operations: ['39-27=12'] Exploring Operation: 48/12=4, Resulting Numbers: [9, 4] Generated Node #0,1,1: 13:[9, 4] Operation: 48/12=4 Moving to Node #0,1,1 Current State: 13:[9, 4], Operations: ['39-27=12', '48/12=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.948785
hs_4
mult_heuristic
[ 33, 15, 4, 5 ]
47
[ "33+15=48", "5-4=1", "48-1=47" ]
Current State: 47:[33, 15, 4, 5], Operations: [] Exploring Operation: 33+15=48, Resulting Numbers: [4, 5, 48] Generated Node #2: [4, 5, 48] from Operation: 33+15=48 Current State: 47:[4, 5, 48], Operations: ['33+15=48'] Exploring Operation: 5-4=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 5-4=1 Current State: 47:[48, 1], Operations: ['33+15=48', '5-4=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[33, 15, 4, 5], Operations: [] Exploring Operation: 15*4=60, Resulting Numbers: [33, 5, 60] Generated Node #0,0: 47:[33, 5, 60] Operation: 15*4=60 Exploring Operation: 4*5=20, Resulting Numbers: [33, 15, 20] Generated Node #0,1: 47:[33, 15, 20] Operation: 4*5=20 Exploring Operation: 33+4=37, Resulting Numbers: [15, 5, 37] Generated Node #0,2: 47:[15, 5, 37] Operation: 33+4=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[33, 5, 60], Operations: ['15*4=60'] Exploring Operation: 60-5=55, Resulting Numbers: [33, 55] Generated Node #0,0,0: 47:[33, 55] Operation: 60-5=55 Exploring Operation: 33+5=38, Resulting Numbers: [60, 38] Generated Node #0,0,1: 47:[60, 38] Operation: 33+5=38 Exploring Operation: 33-5=28, Resulting Numbers: [60, 28] Generated Node #0,0,2: 47:[60, 28] Operation: 33-5=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[33, 55], Operations: ['15*4=60', '60-5=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[60, 38], Operations: ['15*4=60', '33+5=38'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[60, 28], Operations: ['15*4=60', '33-5=28'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,47 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[33, 15, 20], Operations: ['4*5=20'] Exploring Operation: 33+20=53, Resulting Numbers: [15, 53] Generated Node #0,1,0: 47:[15, 53] Operation: 33+20=53 Exploring Operation: 15+20=35, Resulting Numbers: [33, 35] Generated Node #0,1,1: 47:[33, 35] Operation: 15+20=35 Exploring Operation: 33+15=48, Resulting Numbers: [20, 48] Generated Node #0,1,2: 47:[20, 48] Operation: 33+15=48 Moving to Node #0,1,1 Current State: 47:[33, 35], Operations: ['4*5=20', '15+20=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[20, 48], Operations: ['4*5=20', '33+15=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[15, 53], Operations: ['4*5=20', '33+20=53'] Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,47 unequal: No Solution Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,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,2 Current State: 47:[15, 5, 37], Operations: ['33+4=37'] Exploring Operation: 15+5=20, Resulting Numbers: [37, 20] Generated Node #0,2,0: 47:[37, 20] Operation: 15+5=20 Exploring Operation: 5+37=42, Resulting Numbers: [15, 42] Generated Node #0,2,1: 47:[15, 42] Operation: 5+37=42 Exploring Operation: 15*5=75, Resulting Numbers: [37, 75] Generated Node #0,2,2: 47:[37, 75] Operation: 15*5=75 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[37, 20], Operations: ['33+4=37', '15+5=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,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,2,1 Current State: 47:[15, 42], Operations: ['33+4=37', '5+37=42'] Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,47 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,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,2,2 Current State: 47:[37, 75], Operations: ['33+4=37', '15*5=75'] Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,47 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,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_3
sum_heuristic
[ 37, 4, 12, 63 ]
97
[ "37*4=148", "63-12=51", "148-51=97" ]
Current State: 97:[37, 4, 12, 63], Operations: [] Exploring Operation: 37*4=148, Resulting Numbers: [12, 63, 148] Generated Node #2: [12, 63, 148] from Operation: 37*4=148 Current State: 97:[12, 63, 148], Operations: ['37*4=148'] Exploring Operation: 63-12=51, Resulting Numbers: [148, 51] Generated Node #3: [148, 51] from Operation: 63-12=51 Current State: 97:[148, 51], Operations: ['37*4=148', '63-12=51'] Exploring Operation: 148-51=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[37, 4, 12, 63], Operations: [] Exploring Operation: 4*12=48, Resulting Numbers: [37, 63, 48] Generated Node #0,0: 97:[37, 63, 48] Operation: 4*12=48 Exploring Operation: 4+12=16, Resulting Numbers: [37, 63, 16] Generated Node #0,1: 97:[37, 63, 16] Operation: 4+12=16 Exploring Operation: 37+4=41, Resulting Numbers: [12, 63, 41] Generated Node #0,2: 97:[12, 63, 41] Operation: 37+4=41 Exploring Operation: 37*4=148, Resulting Numbers: [12, 63, 148] Generated Node #0,3: 97:[12, 63, 148] Operation: 37*4=148 Exploring Operation: 37+12=49, Resulting Numbers: [4, 63, 49] Generated Node #0,4: 97:[4, 63, 49] Operation: 37+12=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[37, 63, 48], Operations: ['4*12=48'] Exploring Operation: 48-37=11, Resulting Numbers: [63, 11] Generated Node #0,0,0: 97:[63, 11] Operation: 48-37=11 Exploring Operation: 37+48=85, Resulting Numbers: [63, 85] Generated Node #0,0,1: 97:[63, 85] Operation: 37+48=85 Exploring Operation: 63+48=111, Resulting Numbers: [37, 111] Generated Node #0,0,2: 97:[37, 111] Operation: 63+48=111 Exploring Operation: 63-37=26, Resulting Numbers: [48, 26] Generated Node #0,0,3: 97:[48, 26] Operation: 63-37=26 Exploring Operation: 37+63=100, Resulting Numbers: [48, 100] Generated Node #0,0,4: 97:[48, 100] Operation: 37+63=100 Moving to Node #0,0,1 Current State: 97:[63, 85], Operations: ['4*12=48', '37+48=85'] Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 63*85=5355, Resulting Numbers: [5355] 5355,97 unequal: No Solution Exploring Operation: 63+85=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[48, 100], Operations: ['4*12=48', '37+63=100'] Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,97 unequal: No Solution Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[37, 111], Operations: ['4*12=48', '63+48=111'] Exploring Operation: 111-37=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 37*111=4107, Resulting Numbers: [4107] 4107,97 unequal: No Solution Exploring Operation: 111/37=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 37+111=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[63, 11], Operations: ['4*12=48', '48-37=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,97 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[48, 26], Operations: ['4*12=48', '63-37=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,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 Current State: 97:[12, 63, 148], Operations: ['37*4=148'] Exploring Operation: 12+148=160, Resulting Numbers: [63, 160] Generated Node #0,3,0: 97:[63, 160] Operation: 12+148=160 Exploring Operation: 148-12=136, Resulting Numbers: [63, 136] Generated Node #0,3,1: 97:[63, 136] Operation: 148-12=136 Exploring Operation: 12+63=75, Resulting Numbers: [148, 75] Generated Node #0,3,2: 97:[148, 75] Operation: 12+63=75 Exploring Operation: 148-63=85, Resulting Numbers: [12, 85] Generated Node #0,3,3: 97:[12, 85] Operation: 148-63=85 Exploring Operation: 63-12=51, Resulting Numbers: [148, 51] Generated Node #0,3,4: 97:[148, 51] Operation: 63-12=51 Moving to Node #0,3,1 Current State: 97:[63, 136], Operations: ['37*4=148', '148-12=136'] Exploring Operation: 136-63=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 63+136=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 63*136=8568, Resulting Numbers: [8568] 8568,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[148, 75], Operations: ['37*4=148', '12+63=75'] Exploring Operation: 148-75=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 148+75=223, Resulting Numbers: [223] 223,97 unequal: No Solution Exploring Operation: 148*75=11100, Resulting Numbers: [11100] 11100,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[63, 160], Operations: ['37*4=148', '12+148=160'] Exploring Operation: 160-63=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[37, 4, 12, 63], Operations: [] Exploring Operation: 37*4=148, Resulting Numbers: [12, 63, 148] Generated Node #0,3: 97:[12, 63, 148] Operation: 37*4=148 Moving to Node #0,3 Current State: 97:[12, 63, 148], Operations: ['37*4=148'] Exploring Operation: 12+148=160, Resulting Numbers: [63, 160] Generated Node #0,3,0: 97:[63, 160] Operation: 12+148=160 Moving to Node #0,3,0 Current State: 97:[63, 160], Operations: ['37*4=148', '12+148=160'] Exploring Operation: 160-63=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 69, 71, 80, 15 ]
94
[ "80-69=11", "15*11=165", "165-71=94" ]
Current State: 94:[69, 71, 80, 15], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [71, 15, 11] Generated Node #2: [71, 15, 11] from Operation: 80-69=11 Current State: 94:[71, 15, 11], Operations: ['80-69=11'] Exploring Operation: 15*11=165, Resulting Numbers: [71, 165] Generated Node #3: [71, 165] from Operation: 15*11=165 Current State: 94:[71, 165], Operations: ['80-69=11', '15*11=165'] Exploring Operation: 165-71=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[69, 71, 80, 15], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [80, 15, 2] Generated Node #0,0: 94:[80, 15, 2] Operation: 71-69=2 Exploring Operation: 80-71=9, Resulting Numbers: [69, 15, 9] Generated Node #0,1: 94:[69, 15, 9] Operation: 80-71=9 Moving to Node #0,0 Current State: 94:[80, 15, 2], Operations: ['71-69=2'] Exploring Operation: 80-15=65, Resulting Numbers: [2, 65] Generated Node #0,0,0: 94:[2, 65] Operation: 80-15=65 Exploring Operation: 80+15=95, Resulting Numbers: [2, 95] Generated Node #0,0,1: 94:[2, 95] Operation: 80+15=95 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[2, 95], Operations: ['71-69=2', '80+15=95'] Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,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:[2, 65], Operations: ['71-69=2', '80-15=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,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:[69, 15, 9], Operations: ['80-71=9'] Exploring Operation: 69-15=54, Resulting Numbers: [9, 54] Generated Node #0,1,0: 94:[9, 54] Operation: 69-15=54 Exploring Operation: 69+15=84, Resulting Numbers: [9, 84] Generated Node #0,1,1: 94:[9, 84] Operation: 69+15=84 Moving to Node #0,1,0 Current State: 94:[9, 54], Operations: ['80-71=9', '69-15=54'] Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[9, 84], Operations: ['80-71=9', '69+15=84'] Exploring Operation: 9+84=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 30, 27, 54 ]
27
[ "63-54=9", "30-27=3", "9*3=27" ]
Current State: 27:[63, 30, 27, 54], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [30, 27, 9] Generated Node #2: [30, 27, 9] from Operation: 63-54=9 Current State: 27:[30, 27, 9], Operations: ['63-54=9'] Exploring Operation: 30-27=3, Resulting Numbers: [9, 3] Generated Node #3: [9, 3] from Operation: 30-27=3 Current State: 27:[9, 3], Operations: ['63-54=9', '30-27=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[63, 30, 27, 54], Operations: [] Exploring Operation: 63-30=33, Resulting Numbers: [27, 54, 33] Generated Node #0,0: 27:[27, 54, 33] Operation: 63-30=33 Exploring Operation: 63-54=9, Resulting Numbers: [30, 27, 9] Generated Node #0,1: 27:[30, 27, 9] Operation: 63-54=9 Moving to Node #0,1 Current State: 27:[30, 27, 9], Operations: ['63-54=9'] Exploring Operation: 27/9=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 27:[30, 3] Operation: 27/9=3 Exploring Operation: 30-27=3, Resulting Numbers: [9, 3] Generated Node #0,1,1: 27:[9, 3] Operation: 30-27=3 Moving to Node #0,0 Current State: 27:[27, 54, 33], Operations: ['63-30=33'] Exploring Operation: 54-33=21, Resulting Numbers: [27, 21] Generated Node #0,0,0: 27:[27, 21] Operation: 54-33=21 Exploring Operation: 54-27=27, Resulting Numbers: [33, 27] Generated Node #0,0,1: 27:[33, 27] Operation: 54-27=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[27, 21], Operations: ['63-30=33', '54-33=21'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[33, 27], Operations: ['63-30=33', '54-27=27'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 27:[9, 3], Operations: ['63-54=9', '30-27=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[63, 30, 27, 54], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [30, 27, 9] Generated Node #0,1: 27:[30, 27, 9] Operation: 63-54=9 Moving to Node #0,1 Current State: 27:[30, 27, 9], Operations: ['63-54=9'] Exploring Operation: 30-27=3, Resulting Numbers: [9, 3] Generated Node #0,1,1: 27:[9, 3] Operation: 30-27=3 Moving to Node #0,1,1 Current State: 27:[9, 3], Operations: ['63-54=9', '30-27=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 47, 27, 12, 64 ]
22
[ "47+27=74", "64-12=52", "74-52=22" ]
Current State: 22:[47, 27, 12, 64], Operations: [] Exploring Operation: 47+27=74, Resulting Numbers: [12, 64, 74] Generated Node #2: [12, 64, 74] from Operation: 47+27=74 Current State: 22:[12, 64, 74], Operations: ['47+27=74'] Exploring Operation: 64-12=52, Resulting Numbers: [74, 52] Generated Node #3: [74, 52] from Operation: 64-12=52 Current State: 22:[74, 52], Operations: ['47+27=74', '64-12=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[47, 27, 12, 64], Operations: [] Exploring Operation: 64-47=17, Resulting Numbers: [27, 12, 17] Generated Node #0,0: 22:[27, 12, 17] Operation: 64-47=17 Exploring Operation: 47-27=20, Resulting Numbers: [12, 64, 20] Generated Node #0,1: 22:[12, 64, 20] Operation: 47-27=20 Exploring Operation: 64-27=37, Resulting Numbers: [47, 12, 37] Generated Node #0,2: 22:[47, 12, 37] Operation: 64-27=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[27, 12, 17], Operations: ['64-47=17'] Exploring Operation: 17-12=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 22:[27, 5] Operation: 17-12=5 Exploring Operation: 27-17=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 22:[12, 10] Operation: 27-17=10 Exploring Operation: 27-12=15, Resulting Numbers: [17, 15] Generated Node #0,0,2: 22:[17, 15] Operation: 27-12=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[12, 10], Operations: ['64-47=17', '27-17=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[47, 27, 12, 64], Operations: [] Exploring Operation: 64-47=17, Resulting Numbers: [27, 12, 17] Generated Node #0,0: 22:[27, 12, 17] Operation: 64-47=17 Moving to Node #0,0 Current State: 22:[27, 12, 17], Operations: ['64-47=17'] Exploring Operation: 27-17=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 22:[12, 10] Operation: 27-17=10 Moving to Node #0,0,1 Current State: 22:[12, 10], Operations: ['64-47=17', '27-17=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 59, 43, 29, 13 ]
59
[ "43-29=14", "14-13=1", "59*1=59" ]
Current State: 59:[59, 43, 29, 13], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [59, 13, 14] Generated Node #2: [59, 13, 14] from Operation: 43-29=14 Current State: 59:[59, 13, 14], Operations: ['43-29=14'] Exploring Operation: 14-13=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 14-13=1 Current State: 59:[59, 1], Operations: ['43-29=14', '14-13=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[59, 43, 29, 13], Operations: [] Exploring Operation: 59+13=72, Resulting Numbers: [43, 29, 72] Generated Node #0,0: 59:[43, 29, 72] Operation: 59+13=72 Exploring Operation: 43+13=56, Resulting Numbers: [59, 29, 56] Generated Node #0,1: 59:[59, 29, 56] Operation: 43+13=56 Exploring Operation: 43+29=72, Resulting Numbers: [59, 13, 72] Generated Node #0,2: 59:[59, 13, 72] Operation: 43+29=72 Exploring Operation: 29+13=42, Resulting Numbers: [59, 43, 42] Generated Node #0,3: 59:[59, 43, 42] Operation: 29+13=42 Exploring Operation: 59-13=46, Resulting Numbers: [43, 29, 46] Generated Node #0,4: 59:[43, 29, 46] Operation: 59-13=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[59, 29, 56], Operations: ['43+13=56'] Exploring Operation: 56-29=27, Resulting Numbers: [59, 27] Generated Node #0,1,0: 59:[59, 27] Operation: 56-29=27 Exploring Operation: 59+56=115, Resulting Numbers: [29, 115] Generated Node #0,1,1: 59:[29, 115] Operation: 59+56=115 Exploring Operation: 59+29=88, Resulting Numbers: [56, 88] Generated Node #0,1,2: 59:[56, 88] Operation: 59+29=88 Exploring Operation: 29+56=85, Resulting Numbers: [59, 85] Generated Node #0,1,3: 59:[59, 85] Operation: 29+56=85 Exploring Operation: 59-29=30, Resulting Numbers: [56, 30] Generated Node #0,1,4: 59:[56, 30] Operation: 59-29=30 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[59, 85], Operations: ['43+13=56', '29+56=85'] Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,59 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[59, 27], Operations: ['43+13=56', '56-29=27'] Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,59 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[56, 88], Operations: ['43+13=56', '59+29=88'] Exploring Operation: 56*88=4928, Resulting Numbers: [4928] 4928,59 unequal: No Solution Exploring Operation: 56+88=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 59:[56, 30], Operations: ['43+13=56', '59-29=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,59 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[29, 115], Operations: ['43+13=56', '59+56=115'] Exploring Operation: 115-29=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 29*115=3335, Resulting Numbers: [3335] 3335,59 unequal: No Solution Exploring Operation: 29+115=144, Resulting Numbers: [144] 144,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[59, 43, 42], Operations: ['29+13=42'] Exploring Operation: 59+42=101, Resulting Numbers: [43, 101] Generated Node #0,3,0: 59:[43, 101] Operation: 59+42=101 Exploring Operation: 59-42=17, Resulting Numbers: [43, 17] Generated Node #0,3,1: 59:[43, 17] Operation: 59-42=17 Exploring Operation: 43-42=1, Resulting Numbers: [59, 1] Generated Node #0,3,2: 59:[59, 1] Operation: 43-42=1 Exploring Operation: 59+43=102, Resulting Numbers: [42, 102] Generated Node #0,3,3: 59:[42, 102] Operation: 59+43=102 Exploring Operation: 43+42=85, Resulting Numbers: [59, 85] Generated Node #0,3,4: 59:[59, 85] Operation: 43+42=85 Moving to Node #0,3,4 Current State: 59:[59, 85], Operations: ['29+13=42', '43+42=85'] Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,59 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[43, 17], Operations: ['29+13=42', '59-42=17'] Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,59 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[43, 101], Operations: ['29+13=42', '59+42=101'] Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,59 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[59, 1], Operations: ['29+13=42', '43-42=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[59, 43, 29, 13], Operations: [] Exploring Operation: 29+13=42, Resulting Numbers: [59, 43, 42] Generated Node #0,3: 59:[59, 43, 42] Operation: 29+13=42 Moving to Node #0,3 Current State: 59:[59, 43, 42], Operations: ['29+13=42'] Exploring Operation: 43-42=1, Resulting Numbers: [59, 1] Generated Node #0,3,2: 59:[59, 1] Operation: 43-42=1 Moving to Node #0,3,2 Current State: 59:[59, 1], Operations: ['29+13=42', '43-42=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 32, 16, 32, 4 ]
16
[ "32/16=2", "32/4=8", "2*8=16" ]
Current State: 16:[32, 16, 32, 4], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [4, 2] Generated Node #2: [4, 2] from Operation: 32/16=2 Current State: 16:[4, 2], Operations: ['32/16=2'] Exploring Operation: 32/4=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 32/4=8 Current State: 16:[2, 8], Operations: ['32/16=2', '32/4=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[32, 16, 32, 4], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [32, 4, 16] Generated Node #0,0: 16:[32, 4, 16] Operation: 32-16=16 Exploring Operation: 32-32=0, Resulting Numbers: [16, 4, 0] Generated Node #0,1: 16:[16, 4, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [16, 4, 1] Generated Node #0,2: 16:[16, 4, 1] Operation: 32/32=1 Moving to Node #0,2 Current State: 16:[16, 4, 1], Operations: ['32/32=1'] Exploring Operation: 16*1=16, Resulting Numbers: [4, 16] Generated Node #0,2,0: 16:[4, 16] Operation: 16*1=16 Exploring Operation: 16/1=16, Resulting Numbers: [4, 16] Generated Node #0,2,1: 16:[4, 16] Operation: 16/1=16 Exploring Operation: 4*1=4, Resulting Numbers: [16, 4] Generated Node #0,2,2: 16:[16, 4] Operation: 4*1=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[4, 16], Operations: ['32/32=1', '16*1=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[4, 16], Operations: ['32/32=1', '16/1=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[16, 4], Operations: ['32/32=1', '4*1=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 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: 16:[16, 4, 0], Operations: ['32-32=0'] Exploring Operation: 16-0=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 16:[4, 16] Operation: 16-0=16 Exploring Operation: 16+0=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 16:[4, 16] Operation: 16+0=16 Exploring Operation: 4+0=4, Resulting Numbers: [16, 4] Generated Node #0,1,2: 16:[16, 4] Operation: 4+0=4 Moving to Node #0,0 Current State: 16:[32, 4, 16], Operations: ['32-16=16'] Exploring Operation: 32/4=8, Resulting Numbers: [16, 8] Generated Node #0,0,0: 16:[16, 8] Operation: 32/4=8 Exploring Operation: 32-16=16, Resulting Numbers: [4, 16] Generated Node #0,0,1: 16:[4, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 16:[4, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[16, 8], Operations: ['32-16=16', '32/4=8'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[4, 16], Operations: ['32-16=16', '32-16=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[4, 2], Operations: ['32-16=16', '32/16=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,16 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: 16:[4, 16], Operations: ['32-32=0', '16-0=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[4, 16], Operations: ['32-32=0', '16+0=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[16, 4], Operations: ['32-32=0', '4+0=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 17, 28, 38, 27 ]
76
[ "28-17=11", "38+27=65", "11+65=76" ]
Current State: 76:[17, 28, 38, 27], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [38, 27, 11] Generated Node #2: [38, 27, 11] from Operation: 28-17=11 Current State: 76:[38, 27, 11], Operations: ['28-17=11'] Exploring Operation: 38+27=65, Resulting Numbers: [11, 65] Generated Node #3: [11, 65] from Operation: 38+27=65 Current State: 76:[11, 65], Operations: ['28-17=11', '38+27=65'] Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[17, 28, 38, 27], Operations: [] Exploring Operation: 17+27=44, Resulting Numbers: [28, 38, 44] Generated Node #0,0: 76:[28, 38, 44] Operation: 17+27=44 Exploring Operation: 17+28=45, Resulting Numbers: [38, 27, 45] Generated Node #0,1: 76:[38, 27, 45] Operation: 17+28=45 Exploring Operation: 28-17=11, Resulting Numbers: [38, 27, 11] Generated Node #0,2: 76:[38, 27, 11] Operation: 28-17=11 Exploring Operation: 28-27=1, Resulting Numbers: [17, 38, 1] Generated Node #0,3: 76:[17, 38, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[17, 38, 1], Operations: ['28-27=1'] Exploring Operation: 17+1=18, Resulting Numbers: [38, 18] Generated Node #0,3,0: 76:[38, 18] Operation: 17+1=18 Exploring Operation: 17*1=17, Resulting Numbers: [38, 17] Generated Node #0,3,1: 76:[38, 17] Operation: 17*1=17 Exploring Operation: 17/1=17, Resulting Numbers: [38, 17] Generated Node #0,3,2: 76:[38, 17] Operation: 17/1=17 Exploring Operation: 38*1=38, Resulting Numbers: [17, 38] Generated Node #0,3,3: 76:[17, 38] Operation: 38*1=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[38, 18], Operations: ['28-27=1', '17+1=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,76 unequal: No Solution No 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: 76:[38, 17], Operations: ['28-27=1', '17*1=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,76 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,76 unequal: No Solution No 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: 76:[38, 17], Operations: ['28-27=1', '17/1=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,76 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,76 unequal: No Solution No 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: 76:[17, 38], Operations: ['28-27=1', '38*1=38'] Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,76 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,76 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: 76:[28, 38, 44], Operations: ['17+27=44'] Exploring Operation: 28+44=72, Resulting Numbers: [38, 72] Generated Node #0,0,0: 76:[38, 72] Operation: 28+44=72 Exploring Operation: 44-28=16, Resulting Numbers: [38, 16] Generated Node #0,0,1: 76:[38, 16] Operation: 44-28=16 Exploring Operation: 38-28=10, Resulting Numbers: [44, 10] Generated Node #0,0,2: 76:[44, 10] Operation: 38-28=10 Exploring Operation: 44-38=6, Resulting Numbers: [28, 6] Generated Node #0,0,3: 76:[28, 6] Operation: 44-38=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[38, 16], Operations: ['17+27=44', '44-28=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,76 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,76 unequal: No Solution No 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: 76:[38, 72], Operations: ['17+27=44', '28+44=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,76 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,76 unequal: No Solution No 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: 76:[28, 6], Operations: ['17+27=44', '44-38=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,76 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,76 unequal: No Solution No 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: 76:[44, 10], Operations: ['17+27=44', '38-28=10'] Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,76 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,76 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: 76:[38, 27, 45], Operations: ['17+28=45'] Exploring Operation: 45-38=7, Resulting Numbers: [27, 7] Generated Node #0,1,0: 76:[27, 7] Operation: 45-38=7 Exploring Operation: 27+45=72, Resulting Numbers: [38, 72] Generated Node #0,1,1: 76:[38, 72] Operation: 27+45=72 Exploring Operation: 45-27=18, Resulting Numbers: [38, 18] Generated Node #0,1,2: 76:[38, 18] Operation: 45-27=18 Exploring Operation: 38-27=11, Resulting Numbers: [45, 11] Generated Node #0,1,3: 76:[45, 11] Operation: 38-27=11 Moving to Node #0,1,2 Current State: 76:[38, 18], Operations: ['17+28=45', '45-27=18'] Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,76 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[38, 72], Operations: ['17+28=45', '27+45=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[27, 7], Operations: ['17+28=45', '45-38=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,76 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[45, 11], Operations: ['17+28=45', '38-27=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,76 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[38, 27, 11], Operations: ['28-17=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38, 38] Generated Node #0,2,0: 76:[38, 38] Operation: 27+11=38 Exploring Operation: 38-27=11, Resulting Numbers: [11, 11] Generated Node #0,2,1: 76:[11, 11] Operation: 38-27=11 Exploring Operation: 38-11=27, Resulting Numbers: [27, 27] Generated Node #0,2,2: 76:[27, 27] Operation: 38-11=27 Exploring Operation: 27-11=16, Resulting Numbers: [38, 16] Generated Node #0,2,3: 76:[38, 16] Operation: 27-11=16 Moving to Node #0,2,0 Current State: 76:[38, 38], Operations: ['28-17=11', '27+11=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[17, 28, 38, 27], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [38, 27, 11] Generated Node #0,2: 76:[38, 27, 11] Operation: 28-17=11 Moving to Node #0,2 Current State: 76:[38, 27, 11], Operations: ['28-17=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38, 38] Generated Node #0,2,0: 76:[38, 38] Operation: 27+11=38 Moving to Node #0,2,0 Current State: 76:[38, 38], Operations: ['28-17=11', '27+11=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_4
mult_heuristic
[ 29, 20, 25, 8 ]
47
[ "29-20=9", "8*9=72", "72-25=47" ]
Current State: 47:[29, 20, 25, 8], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [25, 8, 9] Generated Node #2: [25, 8, 9] from Operation: 29-20=9 Current State: 47:[25, 8, 9], Operations: ['29-20=9'] Exploring Operation: 8*9=72, Resulting Numbers: [25, 72] Generated Node #3: [25, 72] from Operation: 8*9=72 Current State: 47:[25, 72], Operations: ['29-20=9', '8*9=72'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[29, 20, 25, 8], Operations: [] Exploring Operation: 29+8=37, Resulting Numbers: [20, 25, 37] Generated Node #0,0: 47:[20, 25, 37] Operation: 29+8=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[20, 25, 37], Operations: ['29+8=37'] Exploring Operation: 20+25=45, Resulting Numbers: [37, 45] Generated Node #0,0,0: 47:[37, 45] Operation: 20+25=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[37, 45], Operations: ['29+8=37', '20+25=45'] Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,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_1
sum_heuristic
[ 77, 86, 33, 77 ]
54
[ "77/77=1", "86-33=53", "1+53=54" ]
Current State: 54:[77, 86, 33, 77], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [86, 33, 1] Generated Node #2: [86, 33, 1] from Operation: 77/77=1 Current State: 54:[86, 33, 1], Operations: ['77/77=1'] Exploring Operation: 86-33=53, Resulting Numbers: [1, 53] Generated Node #3: [1, 53] from Operation: 86-33=53 Current State: 54:[1, 53], Operations: ['77/77=1', '86-33=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[77, 86, 33, 77], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [33, 77, 9] Generated Node #0,0: 54:[33, 77, 9] Operation: 86-77=9 Moving to Node #0,0 Current State: 54:[33, 77, 9], Operations: ['86-77=9'] Exploring Operation: 77-33=44, Resulting Numbers: [9, 44] Generated Node #0,0,0: 54:[9, 44] Operation: 77-33=44 Moving to Node #0,0,0 Current State: 54:[9, 44], Operations: ['86-77=9', '77-33=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,54 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 5, 22, 17, 4 ]
25
[ "17-5=12", "12/4=3", "22+3=25" ]
Current State: 25:[5, 22, 17, 4], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [22, 4, 12] Generated Node #2: [22, 4, 12] from Operation: 17-5=12 Current State: 25:[22, 4, 12], Operations: ['17-5=12'] Exploring Operation: 12/4=3, Resulting Numbers: [22, 3] Generated Node #3: [22, 3] from Operation: 12/4=3 Current State: 25:[22, 3], Operations: ['17-5=12', '12/4=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 22, 17, 4], Operations: [] Exploring Operation: 5+17=22, Resulting Numbers: [22, 4, 22] Generated Node #0,0: 25:[22, 4, 22] Operation: 5+17=22 Exploring Operation: 17+4=21, Resulting Numbers: [5, 22, 21] Generated Node #0,1: 25:[5, 22, 21] Operation: 17+4=21 Exploring Operation: 22-17=5, Resulting Numbers: [5, 4, 5] Generated Node #0,2: 25:[5, 4, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[5, 4, 5], Operations: ['22-17=5'] Exploring Operation: 5*5=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 25:[4, 25] Operation: 5*5=25 Exploring Operation: 5+4=9, Resulting Numbers: [5, 9] Generated Node #0,2,1: 25:[5, 9] Operation: 5+4=9 Exploring Operation: 5-4=1, Resulting Numbers: [5, 1] Generated Node #0,2,2: 25:[5, 1] Operation: 5-4=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[4, 25], Operations: ['22-17=5', '5*5=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,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,2,1 Current State: 25:[5, 9], Operations: ['22-17=5', '5+4=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,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,2,2 Current State: 25:[5, 1], Operations: ['22-17=5', '5-4=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[22, 4, 22], Operations: ['5+17=22'] Exploring Operation: 22+4=26, Resulting Numbers: [22, 26] Generated Node #0,0,0: 25:[22, 26] Operation: 22+4=26 Exploring Operation: 22/22=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 25:[4, 1] Operation: 22/22=1 Exploring Operation: 4+22=26, Resulting Numbers: [22, 26] Generated Node #0,0,2: 25:[22, 26] Operation: 4+22=26 Moving to Node #0,0,0 Current State: 25:[22, 26], Operations: ['5+17=22', '22+4=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,25 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[22, 26], Operations: ['5+17=22', '4+22=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[4, 1], Operations: ['5+17=22', '22/22=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[5, 22, 21], Operations: ['17+4=21'] Exploring Operation: 22-21=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 25:[5, 1] Operation: 22-21=1 Exploring Operation: 5+22=27, Resulting Numbers: [21, 27] Generated Node #0,1,1: 25:[21, 27] Operation: 5+22=27 Exploring Operation: 5+21=26, Resulting Numbers: [22, 26] Generated Node #0,1,2: 25:[22, 26] Operation: 5+21=26 Moving to Node #0,1,0 Current State: 25:[5, 1], Operations: ['17+4=21', '22-21=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[22, 26], Operations: ['17+4=21', '5+21=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,25 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[21, 27], Operations: ['17+4=21', '5+22=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 40, 92, 36, 52 ]
68
[ "92-40=52", "52-36=16", "52+16=68" ]
Current State: 68:[40, 92, 36, 52], Operations: [] Exploring Operation: 92-40=52, Resulting Numbers: [36, 52, 52] Generated Node #2: [36, 52, 52] from Operation: 92-40=52 Current State: 68:[36, 52, 52], Operations: ['92-40=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,68 equal: Goal Reached Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[40, 92, 36, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [40, 92, 16] Generated Node #0,0: 68:[40, 92, 16] Operation: 52-36=16 Exploring Operation: 52-40=12, Resulting Numbers: [92, 36, 12] Generated Node #0,1: 68:[92, 36, 12] Operation: 52-40=12 Exploring Operation: 92-52=40, Resulting Numbers: [40, 36, 40] Generated Node #0,2: 68:[40, 36, 40] Operation: 92-52=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[40, 36, 40], Operations: ['92-52=40'] Exploring Operation: 40-36=4, Resulting Numbers: [40, 4] Generated Node #0,2,0: 68:[40, 4] Operation: 40-36=4 Exploring Operation: 40/40=1, Resulting Numbers: [36, 1] Generated Node #0,2,1: 68:[36, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [36, 0] Generated Node #0,2,2: 68:[36, 0] Operation: 40-40=0 Moving to Node #0,2,1 Current State: 68:[36, 1], Operations: ['92-52=40', '40/40=1'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[36, 0], Operations: ['92-52=40', '40-40=0'] Exploring Operation: 36*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[40, 4], Operations: ['92-52=40', '40-36=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[40, 92, 16], Operations: ['52-36=16'] Exploring Operation: 92-16=76, Resulting Numbers: [40, 76] Generated Node #0,0,0: 68:[40, 76] Operation: 92-16=76 Exploring Operation: 92-40=52, Resulting Numbers: [16, 52] Generated Node #0,0,1: 68:[16, 52] Operation: 92-40=52 Exploring Operation: 40-16=24, Resulting Numbers: [92, 24] Generated Node #0,0,2: 68:[92, 24] Operation: 40-16=24 Moving to Node #0,0,0 Current State: 68:[40, 76], Operations: ['52-36=16', '92-16=76'] Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,68 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,68 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[16, 52], Operations: ['52-36=16', '92-40=52'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,68 unequal: No Solution Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[40, 92, 36, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [40, 92, 16] Generated Node #0,0: 68:[40, 92, 16] Operation: 52-36=16 Moving to Node #0,0 Current State: 68:[40, 92, 16], Operations: ['52-36=16'] Exploring Operation: 92-40=52, Resulting Numbers: [16, 52] Generated Node #0,0,1: 68:[16, 52] Operation: 92-40=52 Moving to Node #0,0,1 Current State: 68:[16, 52], Operations: ['52-36=16', '92-40=52'] Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 88, 42, 7, 94 ]
84
[ "94-88=6", "7*6=42", "42+42=84" ]
Current State: 84:[88, 42, 7, 94], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [42, 7, 6] Generated Node #2: [42, 7, 6] from Operation: 94-88=6 Current State: 84:[42, 7, 6], Operations: ['94-88=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42, 42] Generated Node #3: [42, 42] from Operation: 7*6=42 Current State: 84:[42, 42], Operations: ['94-88=6', '7*6=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[88, 42, 7, 94], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [42, 94, 81] Generated Node #0,0: 84:[42, 94, 81] Operation: 88-7=81 Exploring Operation: 42/7=6, Resulting Numbers: [88, 94, 6] Generated Node #0,1: 84:[88, 94, 6] Operation: 42/7=6 Exploring Operation: 94-88=6, Resulting Numbers: [42, 7, 6] Generated Node #0,2: 84:[42, 7, 6] Operation: 94-88=6 Exploring Operation: 94-7=87, Resulting Numbers: [88, 42, 87] Generated Node #0,3: 84:[88, 42, 87] Operation: 94-7=87 Exploring Operation: 88-42=46, Resulting Numbers: [7, 94, 46] Generated Node #0,4: 84:[7, 94, 46] Operation: 88-42=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[42, 7, 6], Operations: ['94-88=6'] Exploring Operation: 42/6=7, Resulting Numbers: [7, 7] Generated Node #0,2,0: 84:[7, 7] Operation: 42/6=7 Exploring Operation: 7*6=42, Resulting Numbers: [42, 42] Generated Node #0,2,1: 84:[42, 42] Operation: 7*6=42 Exploring Operation: 7+6=13, Resulting Numbers: [42, 13] Generated Node #0,2,2: 84:[42, 13] Operation: 7+6=13 Exploring Operation: 42/7=6, Resulting Numbers: [6, 6] Generated Node #0,2,3: 84:[6, 6] Operation: 42/7=6 Exploring Operation: 7-6=1, Resulting Numbers: [42, 1] Generated Node #0,2,4: 84:[42, 1] Operation: 7-6=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[7, 7], Operations: ['94-88=6', '42/6=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[42, 42], Operations: ['94-88=6', '7*6=42'] Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,84 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[88, 42, 7, 94], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [42, 7, 6] Generated Node #0,2: 84:[42, 7, 6] Operation: 94-88=6 Moving to Node #0,2 Current State: 84:[42, 7, 6], Operations: ['94-88=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42, 42] Generated Node #0,2,1: 84:[42, 42] Operation: 7*6=42 Moving to Node #0,2,1 Current State: 84:[42, 42], Operations: ['94-88=6', '7*6=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 32, 55, 77, 39 ]
66
[ "39-32=7", "77/7=11", "55+11=66" ]
Current State: 66:[32, 55, 77, 39], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [55, 77, 7] Generated Node #2: [55, 77, 7] from Operation: 39-32=7 Current State: 66:[55, 77, 7], Operations: ['39-32=7'] Exploring Operation: 77/7=11, Resulting Numbers: [55, 11] Generated Node #3: [55, 11] from Operation: 77/7=11 Current State: 66:[55, 11], Operations: ['39-32=7', '77/7=11'] Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[32, 55, 77, 39], Operations: [] Exploring Operation: 77-55=22, Resulting Numbers: [32, 39, 22] Generated Node #0,0: 66:[32, 39, 22] Operation: 77-55=22 Moving to Node #0,0 Current State: 66:[32, 39, 22], Operations: ['77-55=22'] Exploring Operation: 39-32=7, Resulting Numbers: [22, 7] Generated Node #0,0,0: 66:[22, 7] Operation: 39-32=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[22, 7], Operations: ['77-55=22', '39-32=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,66 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
[ 92, 55, 72, 4 ]
56
[ "92+72=164", "55*4=220", "220-164=56" ]
Current State: 56:[92, 55, 72, 4], Operations: [] Exploring Operation: 92+72=164, Resulting Numbers: [55, 4, 164] Generated Node #2: [55, 4, 164] from Operation: 92+72=164 Current State: 56:[55, 4, 164], Operations: ['92+72=164'] Exploring Operation: 55*4=220, Resulting Numbers: [164, 220] Generated Node #3: [164, 220] from Operation: 55*4=220 Current State: 56:[164, 220], Operations: ['92+72=164', '55*4=220'] Exploring Operation: 220-164=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[92, 55, 72, 4], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [55, 4, 20] Generated Node #0,0: 56:[55, 4, 20] Operation: 92-72=20 Exploring Operation: 92/4=23, Resulting Numbers: [55, 72, 23] Generated Node #0,1: 56:[55, 72, 23] Operation: 92/4=23 Exploring Operation: 92-55=37, Resulting Numbers: [72, 4, 37] Generated Node #0,2: 56:[72, 4, 37] Operation: 92-55=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[55, 4, 20], Operations: ['92-72=20'] Exploring Operation: 20-4=16, Resulting Numbers: [55, 16] Generated Node #0,0,0: 56:[55, 16] Operation: 20-4=16 Exploring Operation: 4+20=24, Resulting Numbers: [55, 24] Generated Node #0,0,1: 56:[55, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [55, 5] Generated Node #0,0,2: 56:[55, 5] Operation: 20/4=5 Moving to Node #0,0,2 Current State: 56:[55, 5], Operations: ['92-72=20', '20/4=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[55, 16], Operations: ['92-72=20', '20-4=16'] Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,56 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[55, 24], Operations: ['92-72=20', '4+20=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,56 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[55, 72, 23], Operations: ['92/4=23'] Exploring Operation: 55-23=32, Resulting Numbers: [72, 32] Generated Node #0,1,0: 56:[72, 32] Operation: 55-23=32 Exploring Operation: 72-55=17, Resulting Numbers: [23, 17] Generated Node #0,1,1: 56:[23, 17] Operation: 72-55=17 Exploring Operation: 72-23=49, Resulting Numbers: [55, 49] Generated Node #0,1,2: 56:[55, 49] Operation: 72-23=49 Moving to Node #0,1,1 Current State: 56:[23, 17], Operations: ['92/4=23', '72-55=17'] Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,56 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[55, 49], Operations: ['92/4=23', '72-23=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,56 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,56 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[72, 32], Operations: ['92/4=23', '55-23=32'] Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,56 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[72, 4, 37], Operations: ['92-55=37'] Exploring Operation: 72-4=68, Resulting Numbers: [37, 68] Generated Node #0,2,0: 56:[37, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [37, 18] Generated Node #0,2,1: 56:[37, 18] Operation: 72/4=18 Exploring Operation: 72-37=35, Resulting Numbers: [4, 35] Generated Node #0,2,2: 56:[4, 35] Operation: 72-37=35 Moving to Node #0,2,2 Current State: 56:[4, 35], Operations: ['92-55=37', '72-37=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[37, 18], Operations: ['92-55=37', '72/4=18'] Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,56 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[37, 68], Operations: ['92-55=37', '72-4=68'] Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,56 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 89, 15, 69, 20 ]
25
[ "89-15=74", "69-20=49", "74-49=25" ]
Current State: 25:[89, 15, 69, 20], Operations: [] Exploring Operation: 89-15=74, Resulting Numbers: [69, 20, 74] Generated Node #2: [69, 20, 74] from Operation: 89-15=74 Current State: 25:[69, 20, 74], Operations: ['89-15=74'] Exploring Operation: 69-20=49, Resulting Numbers: [74, 49] Generated Node #3: [74, 49] from Operation: 69-20=49 Current State: 25:[74, 49], Operations: ['89-15=74', '69-20=49'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[89, 15, 69, 20], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [15, 20, 20] Generated Node #0,0: 25:[15, 20, 20] Operation: 89-69=20 Exploring Operation: 89-15=74, Resulting Numbers: [69, 20, 74] Generated Node #0,1: 25:[69, 20, 74] Operation: 89-15=74 Moving to Node #0,0 Current State: 25:[15, 20, 20], Operations: ['89-69=20'] Exploring Operation: 20-15=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 25:[20, 5] Operation: 20-15=5 Exploring Operation: 20-15=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 25:[20, 5] Operation: 20-15=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[20, 5], Operations: ['89-69=20', '20-15=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[89, 15, 69, 20], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [15, 20, 20] Generated Node #0,0: 25:[15, 20, 20] Operation: 89-69=20 Moving to Node #0,0 Current State: 25:[15, 20, 20], Operations: ['89-69=20'] Exploring Operation: 20-15=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 25:[20, 5] Operation: 20-15=5 Moving to Node #0,0,0 Current State: 25:[20, 5], Operations: ['89-69=20', '20-15=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 52, 22, 6, 30 ]
38
[ "52+22=74", "6+30=36", "74-36=38" ]
Current State: 38:[52, 22, 6, 30], Operations: [] Exploring Operation: 52+22=74, Resulting Numbers: [6, 30, 74] Generated Node #2: [6, 30, 74] from Operation: 52+22=74 Current State: 38:[6, 30, 74], Operations: ['52+22=74'] Exploring Operation: 6+30=36, Resulting Numbers: [74, 36] Generated Node #3: [74, 36] from Operation: 6+30=36 Current State: 38:[74, 36], Operations: ['52+22=74', '6+30=36'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[52, 22, 6, 30], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [22, 6, 22] Generated Node #0,0: 38:[22, 6, 22] Operation: 52-30=22 Moving to Node #0,0 Current State: 38:[22, 6, 22], Operations: ['52-30=22'] Exploring Operation: 22/22=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 38:[6, 1] Operation: 22/22=1 Moving to Node #0,0,0 Current State: 38:[6, 1], Operations: ['52-30=22', '22/22=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 75, 61, 18, 5 ]
27
[ "75-61=14", "18-5=13", "14+13=27" ]
Current State: 27:[75, 61, 18, 5], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [18, 5, 14] Generated Node #2: [18, 5, 14] from Operation: 75-61=14 Current State: 27:[18, 5, 14], Operations: ['75-61=14'] Exploring Operation: 18-5=13, Resulting Numbers: [14, 13] Generated Node #3: [14, 13] from Operation: 18-5=13 Current State: 27:[14, 13], Operations: ['75-61=14', '18-5=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[75, 61, 18, 5], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [18, 5, 14] Generated Node #0,0: 27:[18, 5, 14] Operation: 75-61=14 Exploring Operation: 75/5=15, Resulting Numbers: [61, 18, 15] Generated Node #0,1: 27:[61, 18, 15] Operation: 75/5=15 Exploring Operation: 75-18=57, Resulting Numbers: [61, 5, 57] Generated Node #0,2: 27:[61, 5, 57] Operation: 75-18=57 Moving to Node #0,0 Current State: 27:[18, 5, 14], Operations: ['75-61=14'] Exploring Operation: 18+5=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 27:[14, 23] Operation: 18+5=23 Exploring Operation: 18-14=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 27:[5, 4] Operation: 18-14=4 Exploring Operation: 18+14=32, Resulting Numbers: [5, 32] Generated Node #0,0,2: 27:[5, 32] Operation: 18+14=32 Moving to Node #0,1 Current State: 27:[61, 18, 15], Operations: ['75/5=15'] Exploring Operation: 18-15=3, Resulting Numbers: [61, 3] Generated Node #0,1,0: 27:[61, 3] Operation: 18-15=3 Exploring Operation: 61-15=46, Resulting Numbers: [18, 46] Generated Node #0,1,1: 27:[18, 46] Operation: 61-15=46 Exploring Operation: 61-18=43, Resulting Numbers: [15, 43] Generated Node #0,1,2: 27:[15, 43] Operation: 61-18=43 Moving to Node #0,2 Current State: 27:[61, 5, 57], Operations: ['75-18=57'] Exploring Operation: 61-5=56, Resulting Numbers: [57, 56] Generated Node #0,2,0: 27:[57, 56] Operation: 61-5=56 Exploring Operation: 57-5=52, Resulting Numbers: [61, 52] Generated Node #0,2,1: 27:[61, 52] Operation: 57-5=52 Exploring Operation: 61-57=4, Resulting Numbers: [5, 4] Generated Node #0,2,2: 27:[5, 4] Operation: 61-57=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[5, 4], Operations: ['75-18=57', '61-57=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[57, 56], Operations: ['75-18=57', '61-5=56'] Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,27 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[61, 52], Operations: ['75-18=57', '57-5=52'] Exploring Operation: 61*52=3172, Resulting Numbers: [3172] 3172,27 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,27 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: 27:[5, 4], Operations: ['75-61=14', '18-14=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[5, 32], Operations: ['75-61=14', '18+14=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,27 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[75, 61, 18, 5], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [18, 5, 14] Generated Node #0,0: 27:[18, 5, 14] Operation: 75-61=14 Moving to Node #0,0 Current State: 27:[18, 5, 14], Operations: ['75-61=14'] Exploring Operation: 18+14=32, Resulting Numbers: [5, 32] Generated Node #0,0,2: 27:[5, 32] Operation: 18+14=32 Moving to Node #0,0,2 Current State: 27:[5, 32], Operations: ['75-61=14', '18+14=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 63, 3, 11, 75 ]
81
[ "63+3=66", "66/11=6", "75+6=81" ]
Current State: 81:[63, 3, 11, 75], Operations: [] Exploring Operation: 63+3=66, Resulting Numbers: [11, 75, 66] Generated Node #2: [11, 75, 66] from Operation: 63+3=66 Current State: 81:[11, 75, 66], Operations: ['63+3=66'] Exploring Operation: 66/11=6, Resulting Numbers: [75, 6] Generated Node #3: [75, 6] from Operation: 66/11=6 Current State: 81:[75, 6], Operations: ['63+3=66', '66/11=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[63, 3, 11, 75], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [11, 75, 21] Generated Node #0,0: 81:[11, 75, 21] Operation: 63/3=21 Exploring Operation: 63+11=74, Resulting Numbers: [3, 75, 74] Generated Node #0,1: 81:[3, 75, 74] Operation: 63+11=74 Exploring Operation: 75-63=12, Resulting Numbers: [3, 11, 12] Generated Node #0,2: 81:[3, 11, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[3, 11, 12], Operations: ['75-63=12'] Exploring Operation: 12/3=4, Resulting Numbers: [11, 4] Generated Node #0,2,0: 81:[11, 4] Operation: 12/3=4 Exploring Operation: 12-11=1, Resulting Numbers: [3, 1] Generated Node #0,2,1: 81:[3, 1] Operation: 12-11=1 Exploring Operation: 12-3=9, Resulting Numbers: [11, 9] Generated Node #0,2,2: 81:[11, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[3, 1], Operations: ['75-63=12', '12-11=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[11, 9], Operations: ['75-63=12', '12-3=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[11, 4], Operations: ['75-63=12', '12/3=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[3, 75, 74], Operations: ['63+11=74'] Exploring Operation: 3+75=78, Resulting Numbers: [74, 78] Generated Node #0,1,0: 81:[74, 78] Operation: 3+75=78 Exploring Operation: 75/3=25, Resulting Numbers: [74, 25] Generated Node #0,1,1: 81:[74, 25] Operation: 75/3=25 Exploring Operation: 75-74=1, Resulting Numbers: [3, 1] Generated Node #0,1,2: 81:[3, 1] Operation: 75-74=1 Moving to Node #0,1,2 Current State: 81:[3, 1], Operations: ['63+11=74', '75-74=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[74, 25], Operations: ['63+11=74', '75/3=25'] Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,81 unequal: No Solution Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[74, 78], Operations: ['63+11=74', '3+75=78'] Exploring Operation: 74+78=152, Resulting Numbers: [152] 152,81 unequal: No Solution Exploring Operation: 74*78=5772, Resulting Numbers: [5772] 5772,81 unequal: No Solution Exploring Operation: 78-74=4, Resulting Numbers: [4] 4,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[11, 75, 21], Operations: ['63/3=21'] Exploring Operation: 21-11=10, Resulting Numbers: [75, 10] Generated Node #0,0,0: 81:[75, 10] Operation: 21-11=10 Exploring Operation: 11+75=86, Resulting Numbers: [21, 86] Generated Node #0,0,1: 81:[21, 86] Operation: 11+75=86 Exploring Operation: 11+21=32, Resulting Numbers: [75, 32] Generated Node #0,0,2: 81:[75, 32] Operation: 11+21=32 Moving to Node #0,0,0 Current State: 81:[75, 10], Operations: ['63/3=21', '21-11=10'] Exploring Operation: 75*10=750, Resulting Numbers: [750] 750,81 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[21, 86], Operations: ['63/3=21', '11+75=86'] Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,81 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[75, 32], Operations: ['63/3=21', '11+21=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,81 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 38, 96, 59, 22 ]
96
[ "59-38=21", "22-21=1", "96*1=96" ]
Current State: 96:[38, 96, 59, 22], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [96, 22, 21] Generated Node #2: [96, 22, 21] from Operation: 59-38=21 Current State: 96:[96, 22, 21], Operations: ['59-38=21'] Exploring Operation: 22-21=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 22-21=1 Current State: 96:[96, 1], Operations: ['59-38=21', '22-21=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[38, 96, 59, 22], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [96, 22, 21] Generated Node #0,0: 96:[96, 22, 21] Operation: 59-38=21 Exploring Operation: 38-22=16, Resulting Numbers: [96, 59, 16] Generated Node #0,1: 96:[96, 59, 16] Operation: 38-22=16 Exploring Operation: 96-59=37, Resulting Numbers: [38, 22, 37] Generated Node #0,2: 96:[38, 22, 37] Operation: 96-59=37 Exploring Operation: 59-22=37, Resulting Numbers: [38, 96, 37] Generated Node #0,3: 96:[38, 96, 37] Operation: 59-22=37 Exploring Operation: 38+59=97, Resulting Numbers: [96, 22, 97] Generated Node #0,4: 96:[96, 22, 97] Operation: 38+59=97 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[96, 22, 97], Operations: ['38+59=97'] Exploring Operation: 96+22=118, Resulting Numbers: [97, 118] Generated Node #0,4,0: 96:[97, 118] Operation: 96+22=118 Exploring Operation: 97-22=75, Resulting Numbers: [96, 75] Generated Node #0,4,1: 96:[96, 75] Operation: 97-22=75 Exploring Operation: 96-22=74, Resulting Numbers: [97, 74] Generated Node #0,4,2: 96:[97, 74] Operation: 96-22=74 Exploring Operation: 97-96=1, Resulting Numbers: [22, 1] Generated Node #0,4,3: 96:[22, 1] Operation: 97-96=1 Exploring Operation: 22+97=119, Resulting Numbers: [96, 119] Generated Node #0,4,4: 96:[96, 119] Operation: 22+97=119 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 96:[22, 1], Operations: ['38+59=97', '97-96=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 96:[96, 75], Operations: ['38+59=97', '97-22=75'] Exploring Operation: 96*75=7200, Resulting Numbers: [7200] 7200,96 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 96+75=171, Resulting Numbers: [171] 171,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 96:[97, 118], Operations: ['38+59=97', '96+22=118'] Exploring Operation: 97*118=11446, Resulting Numbers: [11446] 11446,96 unequal: No Solution Exploring Operation: 118-97=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 97+118=215, Resulting Numbers: [215] 215,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 96:[97, 74], Operations: ['38+59=97', '96-22=74'] Exploring Operation: 97*74=7178, Resulting Numbers: [7178] 7178,96 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 97+74=171, Resulting Numbers: [171] 171,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[96, 119], Operations: ['38+59=97', '22+97=119'] Exploring Operation: 119-96=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 96+119=215, Resulting Numbers: [215] 215,96 unequal: No Solution Exploring Operation: 96*119=11424, Resulting Numbers: [11424] 11424,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[96, 22, 21], Operations: ['59-38=21'] Exploring Operation: 96-21=75, Resulting Numbers: [22, 75] Generated Node #0,0,0: 96:[22, 75] Operation: 96-21=75 Exploring Operation: 96+22=118, Resulting Numbers: [21, 118] Generated Node #0,0,1: 96:[21, 118] Operation: 96+22=118 Exploring Operation: 22+21=43, Resulting Numbers: [96, 43] Generated Node #0,0,2: 96:[96, 43] Operation: 22+21=43 Exploring Operation: 22-21=1, Resulting Numbers: [96, 1] Generated Node #0,0,3: 96:[96, 1] Operation: 22-21=1 Exploring Operation: 96+21=117, Resulting Numbers: [22, 117] Generated Node #0,0,4: 96:[22, 117] Operation: 96+21=117 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[96, 1], Operations: ['59-38=21', '22-21=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[38, 96, 59, 22], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [96, 22, 21] Generated Node #0,0: 96:[96, 22, 21] Operation: 59-38=21 Moving to Node #0,0 Current State: 96:[96, 22, 21], Operations: ['59-38=21'] Exploring Operation: 22-21=1, Resulting Numbers: [96, 1] Generated Node #0,0,3: 96:[96, 1] Operation: 22-21=1 Moving to Node #0,0,3 Current State: 96:[96, 1], Operations: ['59-38=21', '22-21=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 85, 30, 53, 86 ]
23
[ "86-85=1", "53-30=23", "1*23=23" ]
Current State: 23:[85, 30, 53, 86], Operations: [] Exploring Operation: 86-85=1, Resulting Numbers: [30, 53, 1] Generated Node #2: [30, 53, 1] from Operation: 86-85=1 Current State: 23:[30, 53, 1], Operations: ['86-85=1'] Exploring Operation: 53-30=23, Resulting Numbers: [1, 23] Generated Node #3: [1, 23] from Operation: 53-30=23 Current State: 23:[1, 23], Operations: ['86-85=1', '53-30=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[85, 30, 53, 86], Operations: [] Exploring Operation: 86-85=1, Resulting Numbers: [30, 53, 1] Generated Node #0,0: 23:[30, 53, 1] Operation: 86-85=1 Moving to Node #0,0 Current State: 23:[30, 53, 1], Operations: ['86-85=1'] Exploring Operation: 53-30=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 23:[1, 23] Operation: 53-30=23 Moving to Node #0,0,0 Current State: 23:[1, 23], Operations: ['86-85=1', '53-30=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[85, 30, 53, 86], Operations: [] Exploring Operation: 86-85=1, Resulting Numbers: [30, 53, 1] Generated Node #0,0: 23:[30, 53, 1] Operation: 86-85=1 Moving to Node #0,0 Current State: 23:[30, 53, 1], Operations: ['86-85=1'] Exploring Operation: 53-30=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 23:[1, 23] Operation: 53-30=23 Moving to Node #0,0,0 Current State: 23:[1, 23], Operations: ['86-85=1', '53-30=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 8, 75, 92, 23 ]
43
[ "8*92=736", "736/23=32", "75-32=43" ]
Current State: 43:[8, 75, 92, 23], Operations: [] Exploring Operation: 8*92=736, Resulting Numbers: [75, 23, 736] Generated Node #2: [75, 23, 736] from Operation: 8*92=736 Current State: 43:[75, 23, 736], Operations: ['8*92=736'] Exploring Operation: 736/23=32, Resulting Numbers: [75, 32] Generated Node #3: [75, 32] from Operation: 736/23=32 Current State: 43:[75, 32], Operations: ['8*92=736', '736/23=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[8, 75, 92, 23], Operations: [] Exploring Operation: 75-8=67, Resulting Numbers: [92, 23, 67] Generated Node #0,0: 43:[92, 23, 67] Operation: 75-8=67 Exploring Operation: 92-75=17, Resulting Numbers: [8, 23, 17] Generated Node #0,1: 43:[8, 23, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 43:[8, 23, 17], Operations: ['92-75=17'] Exploring Operation: 8+17=25, Resulting Numbers: [23, 25] Generated Node #0,1,0: 43:[23, 25] Operation: 8+17=25 Exploring Operation: 8+23=31, Resulting Numbers: [17, 31] Generated Node #0,1,1: 43:[17, 31] Operation: 8+23=31 Moving to Node #0,0 Current State: 43:[92, 23, 67], Operations: ['75-8=67'] Exploring Operation: 92-23=69, Resulting Numbers: [67, 69] Generated Node #0,0,0: 43:[67, 69] Operation: 92-23=69 Exploring Operation: 92-67=25, Resulting Numbers: [23, 25] Generated Node #0,0,1: 43:[23, 25] Operation: 92-67=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[23, 25], Operations: ['75-8=67', '92-67=25'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,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:[67, 69], Operations: ['75-8=67', '92-23=69'] Exploring Operation: 67+69=136, Resulting Numbers: [136] 136,43 unequal: No Solution Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,43 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: 43:[23, 25], Operations: ['92-75=17', '8+17=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[17, 31], Operations: ['92-75=17', '8+23=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 63, 27, 4, 73 ]
82
[ "63-27=36", "36/4=9", "73+9=82" ]
Current State: 82:[63, 27, 4, 73], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [4, 73, 36] Generated Node #2: [4, 73, 36] from Operation: 63-27=36 Current State: 82:[4, 73, 36], Operations: ['63-27=36'] Exploring Operation: 36/4=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 36/4=9 Current State: 82:[73, 9], Operations: ['63-27=36', '36/4=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[63, 27, 4, 73], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [4, 73, 36] Generated Node #0,0: 82:[4, 73, 36] Operation: 63-27=36 Exploring Operation: 73-63=10, Resulting Numbers: [27, 4, 10] Generated Node #0,1: 82:[27, 4, 10] Operation: 73-63=10 Exploring Operation: 63+27=90, Resulting Numbers: [4, 73, 90] Generated Node #0,2: 82:[4, 73, 90] Operation: 63+27=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[4, 73, 36], Operations: ['63-27=36'] Exploring Operation: 4+73=77, Resulting Numbers: [36, 77] Generated Node #0,0,0: 82:[36, 77] Operation: 4+73=77 Exploring Operation: 4+36=40, Resulting Numbers: [73, 40] Generated Node #0,0,1: 82:[73, 40] Operation: 4+36=40 Exploring Operation: 73-36=37, Resulting Numbers: [4, 37] Generated Node #0,0,2: 82:[4, 37] Operation: 73-36=37 Moving to Node #0,0,2 Current State: 82:[4, 37], Operations: ['63-27=36', '73-36=37'] Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,82 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[36, 77], Operations: ['63-27=36', '4+73=77'] Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,82 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[73, 40], Operations: ['63-27=36', '4+36=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[4, 73, 90], Operations: ['63+27=90'] Exploring Operation: 90-73=17, Resulting Numbers: [4, 17] Generated Node #0,2,0: 82:[4, 17] Operation: 90-73=17 Exploring Operation: 4+73=77, Resulting Numbers: [90, 77] Generated Node #0,2,1: 82:[90, 77] Operation: 4+73=77 Exploring Operation: 90-4=86, Resulting Numbers: [73, 86] Generated Node #0,2,2: 82:[73, 86] Operation: 90-4=86 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[90, 77], Operations: ['63+27=90', '4+73=77'] Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,82 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,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:[73, 86], Operations: ['63+27=90', '90-4=86'] Exploring Operation: 73*86=6278, Resulting Numbers: [6278] 6278,82 unequal: No Solution Exploring Operation: 73+86=159, Resulting Numbers: [159] 159,82 unequal: No Solution Exploring Operation: 86-73=13, Resulting Numbers: [13] 13,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,0 Current State: 82:[4, 17], Operations: ['63+27=90', '90-73=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,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:[27, 4, 10], Operations: ['73-63=10'] Exploring Operation: 27-10=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 82:[4, 17] Operation: 27-10=17 Exploring Operation: 4*10=40, Resulting Numbers: [27, 40] Generated Node #0,1,1: 82:[27, 40] Operation: 4*10=40 Exploring Operation: 27+10=37, Resulting Numbers: [4, 37] Generated Node #0,1,2: 82:[4, 37] Operation: 27+10=37 Moving to Node #0,1,2 Current State: 82:[4, 37], Operations: ['73-63=10', '27+10=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,82 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[27, 40], Operations: ['73-63=10', '4*10=40'] Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[4, 17], Operations: ['73-63=10', '27-10=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 15, 70, 90, 34 ]
98
[ "90/15=6", "70+34=104", "104-6=98" ]
Current State: 98:[15, 70, 90, 34], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [70, 34, 6] Generated Node #2: [70, 34, 6] from Operation: 90/15=6 Current State: 98:[70, 34, 6], Operations: ['90/15=6'] Exploring Operation: 70+34=104, Resulting Numbers: [6, 104] Generated Node #3: [6, 104] from Operation: 70+34=104 Current State: 98:[6, 104], Operations: ['90/15=6', '70+34=104'] Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[15, 70, 90, 34], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [15, 90, 36] Generated Node #0,0: 98:[15, 90, 36] Operation: 70-34=36 Exploring Operation: 70-15=55, Resulting Numbers: [90, 34, 55] Generated Node #0,1: 98:[90, 34, 55] Operation: 70-15=55 Exploring Operation: 90-70=20, Resulting Numbers: [15, 34, 20] Generated Node #0,2: 98:[15, 34, 20] Operation: 90-70=20 Exploring Operation: 70+34=104, Resulting Numbers: [15, 90, 104] Generated Node #0,3: 98:[15, 90, 104] Operation: 70+34=104 Moving to Node #0,3 Current State: 98:[15, 90, 104], Operations: ['70+34=104'] Exploring Operation: 90/15=6, Resulting Numbers: [104, 6] Generated Node #0,3,0: 98:[104, 6] Operation: 90/15=6 Exploring Operation: 104-15=89, Resulting Numbers: [90, 89] Generated Node #0,3,1: 98:[90, 89] Operation: 104-15=89 Exploring Operation: 15+90=105, Resulting Numbers: [104, 105] Generated Node #0,3,2: 98:[104, 105] Operation: 15+90=105 Exploring Operation: 104-90=14, Resulting Numbers: [15, 14] Generated Node #0,3,3: 98:[15, 14] Operation: 104-90=14 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[15, 14], Operations: ['70+34=104', '104-90=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,98 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[104, 6], Operations: ['70+34=104', '90/15=6'] Exploring Operation: 104+6=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[15, 70, 90, 34], Operations: [] Exploring Operation: 70+34=104, Resulting Numbers: [15, 90, 104] Generated Node #0,3: 98:[15, 90, 104] Operation: 70+34=104 Moving to Node #0,3 Current State: 98:[15, 90, 104], Operations: ['70+34=104'] Exploring Operation: 90/15=6, Resulting Numbers: [104, 6] Generated Node #0,3,0: 98:[104, 6] Operation: 90/15=6 Moving to Node #0,3,0 Current State: 98:[104, 6], Operations: ['70+34=104', '90/15=6'] Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 57, 88, 76, 92 ]
38
[ "92-88=4", "76/4=19", "57-19=38" ]
Current State: 38:[57, 88, 76, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [57, 76, 4] Generated Node #2: [57, 76, 4] from Operation: 92-88=4 Current State: 38:[57, 76, 4], Operations: ['92-88=4'] Exploring Operation: 76/4=19, Resulting Numbers: [57, 19] Generated Node #3: [57, 19] from Operation: 76/4=19 Current State: 38:[57, 19], Operations: ['92-88=4', '76/4=19'] Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[57, 88, 76, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [57, 76, 4] Generated Node #0,0: 38:[57, 76, 4] Operation: 92-88=4 Exploring Operation: 92-57=35, Resulting Numbers: [88, 76, 35] Generated Node #0,1: 38:[88, 76, 35] Operation: 92-57=35 Exploring Operation: 88-76=12, Resulting Numbers: [57, 92, 12] Generated Node #0,2: 38:[57, 92, 12] Operation: 88-76=12 Exploring Operation: 92-76=16, Resulting Numbers: [57, 88, 16] Generated Node #0,3: 38:[57, 88, 16] Operation: 92-76=16 Exploring Operation: 88-57=31, Resulting Numbers: [76, 92, 31] Generated Node #0,4: 38:[76, 92, 31] Operation: 88-57=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[57, 76, 4], Operations: ['92-88=4'] Exploring Operation: 57-4=53, Resulting Numbers: [76, 53] Generated Node #0,0,0: 38:[76, 53] Operation: 57-4=53 Exploring Operation: 57+4=61, Resulting Numbers: [76, 61] Generated Node #0,0,1: 38:[76, 61] Operation: 57+4=61 Exploring Operation: 76-4=72, Resulting Numbers: [57, 72] Generated Node #0,0,2: 38:[57, 72] Operation: 76-4=72 Exploring Operation: 76/4=19, Resulting Numbers: [57, 19] Generated Node #0,0,3: 38:[57, 19] Operation: 76/4=19 Exploring Operation: 76-57=19, Resulting Numbers: [4, 19] Generated Node #0,0,4: 38:[4, 19] Operation: 76-57=19 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 38:[4, 19], Operations: ['92-88=4', '76-57=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,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,3 Current State: 38:[57, 19], Operations: ['92-88=4', '76/4=19'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,38 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[57, 88, 76, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [57, 76, 4] Generated Node #0,0: 38:[57, 76, 4] Operation: 92-88=4 Moving to Node #0,0 Current State: 38:[57, 76, 4], Operations: ['92-88=4'] Exploring Operation: 76/4=19, Resulting Numbers: [57, 19] Generated Node #0,0,3: 38:[57, 19] Operation: 76/4=19 Moving to Node #0,0,3 Current State: 38:[57, 19], Operations: ['92-88=4', '76/4=19'] Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic