Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 46, 48, 59, 72 ]
50
[ "46+72=118", "118/59=2", "48+2=50" ]
Current State: 50:[46, 48, 59, 72], Operations: [] Exploring Operation: 46+72=118, Resulting Numbers: [48, 59, 118] Generated Node #2: [48, 59, 118] from Operation: 46+72=118 Current State: 50:[48, 59, 118], Operations: ['46+72=118'] Exploring Operation: 118/59=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 118/59=2 Current State: 50:[48, 2], Operations: ['46+72=118', '118/59=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[46, 48, 59, 72], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [46, 48, 13] Generated Node #0,0: 50:[46, 48, 13] Operation: 72-59=13 Exploring Operation: 72-46=26, Resulting Numbers: [48, 59, 26] Generated Node #0,1: 50:[48, 59, 26] Operation: 72-46=26 Exploring Operation: 59-46=13, Resulting Numbers: [48, 72, 13] Generated Node #0,2: 50:[48, 72, 13] Operation: 59-46=13 Exploring Operation: 72-48=24, Resulting Numbers: [46, 59, 24] Generated Node #0,3: 50:[46, 59, 24] Operation: 72-48=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[46, 48, 13], Operations: ['72-59=13'] Exploring Operation: 48-46=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 50:[13, 2] Operation: 48-46=2 Exploring Operation: 48-13=35, Resulting Numbers: [46, 35] Generated Node #0,0,1: 50:[46, 35] Operation: 48-13=35 Exploring Operation: 46+13=59, Resulting Numbers: [48, 59] Generated Node #0,0,2: 50:[48, 59] Operation: 46+13=59 Exploring Operation: 46-13=33, Resulting Numbers: [48, 33] Generated Node #0,0,3: 50:[48, 33] Operation: 46-13=33 Moving to Node #0,0,0 Current State: 50:[13, 2], Operations: ['72-59=13', '48-46=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[48, 33], Operations: ['72-59=13', '46-13=33'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[48, 59], Operations: ['72-59=13', '46+13=59'] Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,50 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[46, 35], Operations: ['72-59=13', '48-13=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,50 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[48, 59, 26], Operations: ['72-46=26'] Exploring Operation: 48+26=74, Resulting Numbers: [59, 74] Generated Node #0,1,0: 50:[59, 74] Operation: 48+26=74 Exploring Operation: 59-48=11, Resulting Numbers: [26, 11] Generated Node #0,1,1: 50:[26, 11] Operation: 59-48=11 Exploring Operation: 59-26=33, Resulting Numbers: [48, 33] Generated Node #0,1,2: 50:[48, 33] Operation: 59-26=33 Exploring Operation: 48-26=22, Resulting Numbers: [59, 22] Generated Node #0,1,3: 50:[59, 22] Operation: 48-26=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[26, 11], Operations: ['72-46=26', '59-48=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[48, 33], Operations: ['72-46=26', '59-26=33'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,50 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 50:[59, 22], Operations: ['72-46=26', '48-26=22'] Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,50 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[59, 74], Operations: ['72-46=26', '48+26=74'] Exploring Operation: 59*74=4366, Resulting Numbers: [4366] 4366,50 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 59+74=133, Resulting Numbers: [133] 133,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[46, 59, 24], Operations: ['72-48=24'] Exploring Operation: 46+24=70, Resulting Numbers: [59, 70] Generated Node #0,3,0: 50:[59, 70] Operation: 46+24=70 Exploring Operation: 59-24=35, Resulting Numbers: [46, 35] Generated Node #0,3,1: 50:[46, 35] Operation: 59-24=35 Exploring Operation: 59-46=13, Resulting Numbers: [24, 13] Generated Node #0,3,2: 50:[24, 13] Operation: 59-46=13 Exploring Operation: 46-24=22, Resulting Numbers: [59, 22] Generated Node #0,3,3: 50:[59, 22] Operation: 46-24=22 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 50:[24, 13], Operations: ['72-48=24', '59-46=13'] Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,50 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[59, 22], Operations: ['72-48=24', '46-24=22'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 50:[46, 35], Operations: ['72-48=24', '59-24=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,50 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[59, 70], Operations: ['72-48=24', '46+24=70'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 59+70=129, Resulting Numbers: [129] 129,50 unequal: No Solution Exploring Operation: 59*70=4130, Resulting Numbers: [4130] 4130,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[48, 72, 13], Operations: ['59-46=13'] Exploring Operation: 48+13=61, Resulting Numbers: [72, 61] Generated Node #0,2,0: 50:[72, 61] Operation: 48+13=61 Exploring Operation: 48-13=35, Resulting Numbers: [72, 35] Generated Node #0,2,1: 50:[72, 35] Operation: 48-13=35 Exploring Operation: 72-13=59, Resulting Numbers: [48, 59] Generated Node #0,2,2: 50:[48, 59] Operation: 72-13=59 Exploring Operation: 72-48=24, Resulting Numbers: [13, 24] Generated Node #0,2,3: 50:[13, 24] Operation: 72-48=24 Moving to Node #0,2,3 Current State: 50:[13, 24], Operations: ['59-46=13', '72-48=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,50 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[48, 59], Operations: ['59-46=13', '72-13=59'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,50 unequal: No Solution Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[72, 35], Operations: ['59-46=13', '48-13=35'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,50 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[72, 61], Operations: ['59-46=13', '48+13=61'] Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 72*61=4392, Resulting Numbers: [4392] 4392,50 unequal: No Solution Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 32, 78, 96 ]
21
[ "35-32=3", "96-78=18", "3+18=21" ]
Current State: 21:[35, 32, 78, 96], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [78, 96, 3] Generated Node #2: [78, 96, 3] from Operation: 35-32=3 Current State: 21:[78, 96, 3], Operations: ['35-32=3'] Exploring Operation: 96-78=18, Resulting Numbers: [3, 18] Generated Node #3: [3, 18] from Operation: 96-78=18 Current State: 21:[3, 18], Operations: ['35-32=3', '96-78=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 32, 78, 96], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [35, 32, 18] Generated Node #0,0: 21:[35, 32, 18] Operation: 96-78=18 Exploring Operation: 96/32=3, Resulting Numbers: [35, 78, 3] Generated Node #0,1: 21:[35, 78, 3] Operation: 96/32=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[35, 32, 18], Operations: ['96-78=18'] Exploring Operation: 35-32=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 21:[18, 3] Operation: 35-32=3 Exploring Operation: 35-18=17, Resulting Numbers: [32, 17] Generated Node #0,0,1: 21:[32, 17] Operation: 35-18=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[18, 3], Operations: ['96-78=18', '35-32=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[35, 32, 78, 96], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [35, 32, 18] Generated Node #0,0: 21:[35, 32, 18] Operation: 96-78=18 Moving to Node #0,0 Current State: 21:[35, 32, 18], Operations: ['96-78=18'] Exploring Operation: 35-32=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 21:[18, 3] Operation: 35-32=3 Moving to Node #0,0,0 Current State: 21:[18, 3], Operations: ['96-78=18', '35-32=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 66, 20, 4, 66 ]
52
[ "66+66=132", "20*4=80", "132-80=52" ]
Current State: 52:[66, 20, 4, 66], Operations: [] Exploring Operation: 66+66=132, Resulting Numbers: [20, 4, 132] Generated Node #2: [20, 4, 132] from Operation: 66+66=132 Current State: 52:[20, 4, 132], Operations: ['66+66=132'] Exploring Operation: 20*4=80, Resulting Numbers: [132, 80] Generated Node #3: [132, 80] from Operation: 20*4=80 Current State: 52:[132, 80], Operations: ['66+66=132', '20*4=80'] Exploring Operation: 132-80=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[66, 20, 4, 66], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [4, 66, 46] Generated Node #0,0: 52:[4, 66, 46] Operation: 66-20=46 Exploring Operation: 66-20=46, Resulting Numbers: [66, 4, 46] Generated Node #0,1: 52:[66, 4, 46] Operation: 66-20=46 Exploring Operation: 66-66=0, Resulting Numbers: [20, 4, 0] Generated Node #0,2: 52:[20, 4, 0] Operation: 66-66=0 Exploring Operation: 20/4=5, Resulting Numbers: [66, 66, 5] Generated Node #0,3: 52:[66, 66, 5] Operation: 20/4=5 Exploring Operation: 66/66=1, Resulting Numbers: [20, 4, 1] Generated Node #0,4: 52:[20, 4, 1] Operation: 66/66=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[20, 4, 1], Operations: ['66/66=1'] Exploring Operation: 20+4=24, Resulting Numbers: [1, 24] Generated Node #0,4,0: 52:[1, 24] Operation: 20+4=24 Exploring Operation: 20-4=16, Resulting Numbers: [1, 16] Generated Node #0,4,1: 52:[1, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [1, 5] Generated Node #0,4,2: 52:[1, 5] Operation: 20/4=5 Exploring Operation: 20+1=21, Resulting Numbers: [4, 21] Generated Node #0,4,3: 52:[4, 21] Operation: 20+1=21 Exploring Operation: 20*1=20, Resulting Numbers: [4, 20] Generated Node #0,4,4: 52:[4, 20] Operation: 20*1=20 Moving to Node #0,4,2 Current State: 52:[1, 5], Operations: ['66/66=1', '20/4=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[1, 24], Operations: ['66/66=1', '20+4=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[1, 16], Operations: ['66/66=1', '20-4=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[4, 21], Operations: ['66/66=1', '20+1=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[4, 20], Operations: ['66/66=1', '20*1=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[20, 4, 0], Operations: ['66-66=0'] Exploring Operation: 20+0=20, Resulting Numbers: [4, 20] Generated Node #0,2,0: 52:[4, 20] Operation: 20+0=20 Exploring Operation: 20*0=0, Resulting Numbers: [4, 0] Generated Node #0,2,1: 52:[4, 0] Operation: 20*0=0 Exploring Operation: 20/4=5, Resulting Numbers: [0, 5] Generated Node #0,2,2: 52:[0, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [0, 16] Generated Node #0,2,3: 52:[0, 16] Operation: 20-4=16 Exploring Operation: 20+4=24, Resulting Numbers: [0, 24] Generated Node #0,2,4: 52:[0, 24] Operation: 20+4=24 Moving to Node #0,2,1 Current State: 52:[4, 0], Operations: ['66-66=0', '20*0=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[0, 5], Operations: ['66-66=0', '20/4=5'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 0+5=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 0*5=0, Resulting Numbers: [0] 0,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[0, 24], Operations: ['66-66=0', '20+4=24'] Exploring Operation: 24-0=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 0*24=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 0+24=24, Resulting Numbers: [24] 24,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[0, 16], Operations: ['66-66=0', '20-4=16'] Exploring Operation: 0+16=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 0*16=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 16-0=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[4, 20], Operations: ['66-66=0', '20+0=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[4, 66, 46], Operations: ['66-20=46'] Exploring Operation: 66-4=62, Resulting Numbers: [46, 62] Generated Node #0,0,0: 52:[46, 62] Operation: 66-4=62 Exploring Operation: 4+66=70, Resulting Numbers: [46, 70] Generated Node #0,0,1: 52:[46, 70] Operation: 4+66=70 Exploring Operation: 66-46=20, Resulting Numbers: [4, 20] Generated Node #0,0,2: 52:[4, 20] Operation: 66-46=20 Exploring Operation: 4+46=50, Resulting Numbers: [66, 50] Generated Node #0,0,3: 52:[66, 50] Operation: 4+46=50 Exploring Operation: 46-4=42, Resulting Numbers: [66, 42] Generated Node #0,0,4: 52:[66, 42] Operation: 46-4=42 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[4, 20], Operations: ['66-20=46', '66-46=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[46, 62], Operations: ['66-20=46', '66-4=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[66, 50], Operations: ['66-20=46', '4+46=50'] Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[46, 70], Operations: ['66-20=46', '4+66=70'] Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[66, 42], Operations: ['66-20=46', '46-4=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[66, 4, 46], Operations: ['66-20=46'] Exploring Operation: 66-46=20, Resulting Numbers: [4, 20] Generated Node #0,1,0: 52:[4, 20] Operation: 66-46=20 Exploring Operation: 66+4=70, Resulting Numbers: [46, 70] Generated Node #0,1,1: 52:[46, 70] Operation: 66+4=70 Exploring Operation: 46-4=42, Resulting Numbers: [66, 42] Generated Node #0,1,2: 52:[66, 42] Operation: 46-4=42 Exploring Operation: 66-4=62, Resulting Numbers: [46, 62] Generated Node #0,1,3: 52:[46, 62] Operation: 66-4=62 Exploring Operation: 4+46=50, Resulting Numbers: [66, 50] Generated Node #0,1,4: 52:[66, 50] Operation: 4+46=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[4, 20], Operations: ['66-20=46', '66-46=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 52:[46, 62], Operations: ['66-20=46', '66-4=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 52:[66, 50], Operations: ['66-20=46', '4+46=50'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[46, 70], Operations: ['66-20=46', '66+4=70'] Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[66, 42], Operations: ['66-20=46', '46-4=42'] Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,52 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[66, 66, 5], Operations: ['20/4=5'] Exploring Operation: 66-66=0, Resulting Numbers: [5, 0] Generated Node #0,3,0: 52:[5, 0] Operation: 66-66=0 Exploring Operation: 66-5=61, Resulting Numbers: [66, 61] Generated Node #0,3,1: 52:[66, 61] Operation: 66-5=61 Exploring Operation: 66-5=61, Resulting Numbers: [66, 61] Generated Node #0,3,2: 52:[66, 61] Operation: 66-5=61 Exploring Operation: 66/66=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 52:[5, 1] Operation: 66/66=1 Exploring Operation: 66+5=71, Resulting Numbers: [66, 71] Generated Node #0,3,4: 52:[66, 71] Operation: 66+5=71 Moving to Node #0,3,3 Current State: 52:[5, 1], Operations: ['20/4=5', '66/66=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[5, 0], Operations: ['20/4=5', '66-66=0'] Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[66, 61], Operations: ['20/4=5', '66-5=61'] Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,52 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[66, 61], Operations: ['20/4=5', '66-5=61'] Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,52 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[66, 71], Operations: ['20/4=5', '66+5=71'] Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,52 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 65, 45, 17, 50 ]
90
[ "65-17=48", "50-48=2", "45*2=90" ]
Current State: 90:[65, 45, 17, 50], Operations: [] Exploring Operation: 65-17=48, Resulting Numbers: [45, 50, 48] Generated Node #2: [45, 50, 48] from Operation: 65-17=48 Current State: 90:[45, 50, 48], Operations: ['65-17=48'] Exploring Operation: 50-48=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 50-48=2 Current State: 90:[45, 2], Operations: ['65-17=48', '50-48=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[65, 45, 17, 50], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [45, 17, 15] Generated Node #0,0: 90:[45, 17, 15] Operation: 65-50=15 Exploring Operation: 65-17=48, Resulting Numbers: [45, 50, 48] Generated Node #0,1: 90:[45, 50, 48] Operation: 65-17=48 Exploring Operation: 65-45=20, Resulting Numbers: [17, 50, 20] Generated Node #0,2: 90:[17, 50, 20] Operation: 65-45=20 Moving to Node #0,0 Current State: 90:[45, 17, 15], Operations: ['65-50=15'] Exploring Operation: 45-15=30, Resulting Numbers: [17, 30] Generated Node #0,0,0: 90:[17, 30] Operation: 45-15=30 Exploring Operation: 17-15=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 90:[45, 2] Operation: 17-15=2 Exploring Operation: 45/15=3, Resulting Numbers: [17, 3] Generated Node #0,0,2: 90:[17, 3] Operation: 45/15=3 Moving to Node #0,1 Current State: 90:[45, 50, 48], Operations: ['65-17=48'] Exploring Operation: 50-45=5, Resulting Numbers: [48, 5] Generated Node #0,1,0: 90:[48, 5] Operation: 50-45=5 Exploring Operation: 50-48=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 90:[45, 2] Operation: 50-48=2 Exploring Operation: 48-45=3, Resulting Numbers: [50, 3] Generated Node #0,1,2: 90:[50, 3] Operation: 48-45=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[45, 2], Operations: ['65-17=48', '50-48=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[65, 45, 17, 50], Operations: [] Exploring Operation: 65-17=48, Resulting Numbers: [45, 50, 48] Generated Node #0,1: 90:[45, 50, 48] Operation: 65-17=48 Moving to Node #0,1 Current State: 90:[45, 50, 48], Operations: ['65-17=48'] Exploring Operation: 50-48=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 90:[45, 2] Operation: 50-48=2 Moving to Node #0,1,1 Current State: 90:[45, 2], Operations: ['65-17=48', '50-48=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 85, 94, 9, 80 ]
11
[ "85+94=179", "179-80=99", "99/9=11" ]
Current State: 11:[85, 94, 9, 80], Operations: [] Exploring Operation: 85+94=179, Resulting Numbers: [9, 80, 179] Generated Node #2: [9, 80, 179] from Operation: 85+94=179 Current State: 11:[9, 80, 179], Operations: ['85+94=179'] Exploring Operation: 179-80=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 179-80=99 Current State: 11:[9, 99], Operations: ['85+94=179', '179-80=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[85, 94, 9, 80], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [85, 9, 14] Generated Node #0,0: 11:[85, 9, 14] Operation: 94-80=14 Exploring Operation: 94-85=9, Resulting Numbers: [9, 80, 9] Generated Node #0,1: 11:[9, 80, 9] Operation: 94-85=9 Exploring Operation: 85-80=5, Resulting Numbers: [94, 9, 5] Generated Node #0,2: 11:[94, 9, 5] Operation: 85-80=5 Exploring Operation: 85-9=76, Resulting Numbers: [94, 80, 76] Generated Node #0,3: 11:[94, 80, 76] Operation: 85-9=76 Moving to Node #0,1 Current State: 11:[9, 80, 9], Operations: ['94-85=9'] Exploring Operation: 9+9=18, Resulting Numbers: [80, 18] Generated Node #0,1,0: 11:[80, 18] Operation: 9+9=18 Exploring Operation: 80-9=71, Resulting Numbers: [9, 71] Generated Node #0,1,1: 11:[9, 71] Operation: 80-9=71 Exploring Operation: 80-9=71, Resulting Numbers: [9, 71] Generated Node #0,1,2: 11:[9, 71] Operation: 80-9=71 Exploring Operation: 9/9=1, Resulting Numbers: [80, 1] Generated Node #0,1,3: 11:[80, 1] Operation: 9/9=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[9, 71], Operations: ['94-85=9', '80-9=71'] Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,11 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[9, 71], Operations: ['94-85=9', '80-9=71'] Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,11 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[80, 18], Operations: ['94-85=9', '9+9=18'] Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,11 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[80, 1], Operations: ['94-85=9', '9/9=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,11 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: 11:[85, 9, 14], Operations: ['94-80=14'] Exploring Operation: 85+9=94, Resulting Numbers: [14, 94] Generated Node #0,0,0: 11:[14, 94] Operation: 85+9=94 Exploring Operation: 85-14=71, Resulting Numbers: [9, 71] Generated Node #0,0,1: 11:[9, 71] Operation: 85-14=71 Exploring Operation: 14-9=5, Resulting Numbers: [85, 5] Generated Node #0,0,2: 11:[85, 5] Operation: 14-9=5 Exploring Operation: 85-9=76, Resulting Numbers: [14, 76] Generated Node #0,0,3: 11:[14, 76] Operation: 85-9=76 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[9, 71], Operations: ['94-80=14', '85-14=71'] Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,11 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[14, 76], Operations: ['94-80=14', '85-9=76'] Exploring Operation: 14+76=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 14*76=1064, Resulting Numbers: [1064] 1064,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[85, 5], Operations: ['94-80=14', '14-9=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,11 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[14, 94], Operations: ['94-80=14', '85+9=94'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,11 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: 11:[94, 9, 5], Operations: ['85-80=5'] Exploring Operation: 94+5=99, Resulting Numbers: [9, 99] Generated Node #0,2,0: 11:[9, 99] Operation: 94+5=99 Exploring Operation: 94-5=89, Resulting Numbers: [9, 89] Generated Node #0,2,1: 11:[9, 89] Operation: 94-5=89 Exploring Operation: 9+5=14, Resulting Numbers: [94, 14] Generated Node #0,2,2: 11:[94, 14] Operation: 9+5=14 Exploring Operation: 94-9=85, Resulting Numbers: [5, 85] Generated Node #0,2,3: 11:[5, 85] Operation: 94-9=85 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[9, 89], Operations: ['85-80=5', '94-5=89'] Exploring Operation: 9*89=801, Resulting Numbers: [801] 801,11 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[5, 85], Operations: ['85-80=5', '94-9=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,11 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[94, 14], Operations: ['85-80=5', '9+5=14'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,11 unequal: No Solution Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[9, 99], Operations: ['85-80=5', '94+5=99'] Exploring Operation: 9+99=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 9*99=891, Resulting Numbers: [891] 891,11 unequal: No Solution Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[85, 94, 9, 80], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [94, 9, 5] Generated Node #0,2: 11:[94, 9, 5] Operation: 85-80=5 Moving to Node #0,2 Current State: 11:[94, 9, 5], Operations: ['85-80=5'] Exploring Operation: 94+5=99, Resulting Numbers: [9, 99] Generated Node #0,2,0: 11:[9, 99] Operation: 94+5=99 Moving to Node #0,2,0 Current State: 11:[9, 99], Operations: ['85-80=5', '94+5=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_4
sum_heuristic
[ 98, 40, 4, 72 ]
62
[ "98+40=138", "4+72=76", "138-76=62" ]
Current State: 62:[98, 40, 4, 72], Operations: [] Exploring Operation: 98+40=138, Resulting Numbers: [4, 72, 138] Generated Node #2: [4, 72, 138] from Operation: 98+40=138 Current State: 62:[4, 72, 138], Operations: ['98+40=138'] Exploring Operation: 4+72=76, Resulting Numbers: [138, 76] Generated Node #3: [138, 76] from Operation: 4+72=76 Current State: 62:[138, 76], Operations: ['98+40=138', '4+72=76'] Exploring Operation: 138-76=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[98, 40, 4, 72], Operations: [] Exploring Operation: 72-40=32, Resulting Numbers: [98, 4, 32] Generated Node #0,0: 62:[98, 4, 32] Operation: 72-40=32 Exploring Operation: 98-40=58, Resulting Numbers: [4, 72, 58] Generated Node #0,1: 62:[4, 72, 58] Operation: 98-40=58 Exploring Operation: 98-4=94, Resulting Numbers: [40, 72, 94] Generated Node #0,2: 62:[40, 72, 94] Operation: 98-4=94 Exploring Operation: 98-72=26, Resulting Numbers: [40, 4, 26] Generated Node #0,3: 62:[40, 4, 26] Operation: 98-72=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[4, 72, 58], Operations: ['98-40=58'] Exploring Operation: 4+58=62, Resulting Numbers: [72, 62] Generated Node #0,1,0: 62:[72, 62] Operation: 4+58=62 Exploring Operation: 72/4=18, Resulting Numbers: [58, 18] Generated Node #0,1,1: 62:[58, 18] Operation: 72/4=18 Exploring Operation: 72-4=68, Resulting Numbers: [58, 68] Generated Node #0,1,2: 62:[58, 68] Operation: 72-4=68 Exploring Operation: 72-58=14, Resulting Numbers: [4, 14] Generated Node #0,1,3: 62:[4, 14] Operation: 72-58=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[72, 62], Operations: ['98-40=58', '4+58=62'] Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,62 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,62 unequal: No Solution Exploring Operation: 72*62=4464, Resulting Numbers: [4464] 4464,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[58, 68], Operations: ['98-40=58', '72-4=68'] Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,62 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,62 unequal: No Solution Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[4, 14], Operations: ['98-40=58', '72-58=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[58, 18], Operations: ['98-40=58', '72/4=18'] Exploring Operation: 58*18=1044, Resulting Numbers: [1044] 1044,62 unequal: No Solution Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[40, 4, 26], Operations: ['98-72=26'] Exploring Operation: 4+26=30, Resulting Numbers: [40, 30] Generated Node #0,3,0: 62:[40, 30] Operation: 4+26=30 Exploring Operation: 40+26=66, Resulting Numbers: [4, 66] Generated Node #0,3,1: 62:[4, 66] Operation: 40+26=66 Exploring Operation: 40-4=36, Resulting Numbers: [26, 36] Generated Node #0,3,2: 62:[26, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [26, 10] Generated Node #0,3,3: 62:[26, 10] Operation: 40/4=10 Moving to Node #0,3,1 Current State: 62:[4, 66], Operations: ['98-72=26', '40+26=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[98, 40, 4, 72], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [40, 4, 26] Generated Node #0,3: 62:[40, 4, 26] Operation: 98-72=26 Moving to Node #0,3 Current State: 62:[40, 4, 26], Operations: ['98-72=26'] Exploring Operation: 40+26=66, Resulting Numbers: [4, 66] Generated Node #0,3,1: 62:[4, 66] Operation: 40+26=66 Moving to Node #0,3,1 Current State: 62:[4, 66], Operations: ['98-72=26', '40+26=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 65, 61, 63, 32 ]
95
[ "65+61=126", "63-32=31", "126-31=95" ]
Current State: 95:[65, 61, 63, 32], Operations: [] Exploring Operation: 65+61=126, Resulting Numbers: [63, 32, 126] Generated Node #2: [63, 32, 126] from Operation: 65+61=126 Current State: 95:[63, 32, 126], Operations: ['65+61=126'] Exploring Operation: 63-32=31, Resulting Numbers: [126, 31] Generated Node #3: [126, 31] from Operation: 63-32=31 Current State: 95:[126, 31], Operations: ['65+61=126', '63-32=31'] Exploring Operation: 126-31=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[65, 61, 63, 32], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [65, 32, 2] Generated Node #0,0: 95:[65, 32, 2] Operation: 63-61=2 Exploring Operation: 65-61=4, Resulting Numbers: [63, 32, 4] Generated Node #0,1: 95:[63, 32, 4] Operation: 65-61=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[65, 32, 2], Operations: ['63-61=2'] Exploring Operation: 65+32=97, Resulting Numbers: [2, 97] Generated Node #0,0,0: 95:[2, 97] Operation: 65+32=97 Exploring Operation: 65-32=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 95:[2, 33] Operation: 65-32=33 Moving to Node #0,0,0 Current State: 95:[2, 97], Operations: ['63-61=2', '65+32=97'] Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[65, 61, 63, 32], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [65, 32, 2] Generated Node #0,0: 95:[65, 32, 2] Operation: 63-61=2 Moving to Node #0,0 Current State: 95:[65, 32, 2], Operations: ['63-61=2'] Exploring Operation: 65+32=97, Resulting Numbers: [2, 97] Generated Node #0,0,0: 95:[2, 97] Operation: 65+32=97 Moving to Node #0,0,0 Current State: 95:[2, 97], Operations: ['63-61=2', '65+32=97'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 70, 62, 5, 3 ]
79
[ "70/5=14", "62+3=65", "14+65=79" ]
Current State: 79:[70, 62, 5, 3], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [62, 3, 14] Generated Node #2: [62, 3, 14] from Operation: 70/5=14 Current State: 79:[62, 3, 14], Operations: ['70/5=14'] Exploring Operation: 62+3=65, Resulting Numbers: [14, 65] Generated Node #3: [14, 65] from Operation: 62+3=65 Current State: 79:[14, 65], Operations: ['70/5=14', '62+3=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[70, 62, 5, 3], Operations: [] Exploring Operation: 5*3=15, Resulting Numbers: [70, 62, 15] Generated Node #0,0: 79:[70, 62, 15] Operation: 5*3=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[70, 62, 15], Operations: ['5*3=15'] Exploring Operation: 62+15=77, Resulting Numbers: [70, 77] Generated Node #0,0,0: 79:[70, 77] Operation: 62+15=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[70, 77], Operations: ['5*3=15', '62+15=77'] Exploring Operation: 70+77=147, Resulting Numbers: [147] 147,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 18, 44, 63 ]
63
[ "27+18=45", "45-44=1", "63*1=63" ]
Current State: 63:[27, 18, 44, 63], Operations: [] Exploring Operation: 27+18=45, Resulting Numbers: [44, 63, 45] Generated Node #2: [44, 63, 45] from Operation: 27+18=45 Current State: 63:[44, 63, 45], Operations: ['27+18=45'] Exploring Operation: 45-44=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 45-44=1 Current State: 63:[63, 1], Operations: ['27+18=45', '45-44=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[27, 18, 44, 63], Operations: [] Exploring Operation: 27+44=71, Resulting Numbers: [18, 63, 71] Generated Node #0,0: 63:[18, 63, 71] Operation: 27+44=71 Exploring Operation: 44-18=26, Resulting Numbers: [27, 63, 26] Generated Node #0,1: 63:[27, 63, 26] Operation: 44-18=26 Exploring Operation: 44-27=17, Resulting Numbers: [18, 63, 17] Generated Node #0,2: 63:[18, 63, 17] Operation: 44-27=17 Exploring Operation: 18+44=62, Resulting Numbers: [27, 63, 62] Generated Node #0,3: 63:[27, 63, 62] Operation: 18+44=62 Moving to Node #0,2 Current State: 63:[18, 63, 17], Operations: ['44-27=17'] Exploring Operation: 18-17=1, Resulting Numbers: [63, 1] Generated Node #0,2,0: 63:[63, 1] Operation: 18-17=1 Exploring Operation: 18+17=35, Resulting Numbers: [63, 35] Generated Node #0,2,1: 63:[63, 35] Operation: 18+17=35 Exploring Operation: 63+17=80, Resulting Numbers: [18, 80] Generated Node #0,2,2: 63:[18, 80] Operation: 63+17=80 Exploring Operation: 63-17=46, Resulting Numbers: [18, 46] Generated Node #0,2,3: 63:[18, 46] Operation: 63-17=46 Moving to Node #0,3 Current State: 63:[27, 63, 62], Operations: ['18+44=62'] Exploring Operation: 63-27=36, Resulting Numbers: [62, 36] Generated Node #0,3,0: 63:[62, 36] Operation: 63-27=36 Exploring Operation: 63-62=1, Resulting Numbers: [27, 1] Generated Node #0,3,1: 63:[27, 1] Operation: 63-62=1 Exploring Operation: 62-27=35, Resulting Numbers: [63, 35] Generated Node #0,3,2: 63:[63, 35] Operation: 62-27=35 Exploring Operation: 27+62=89, Resulting Numbers: [63, 89] Generated Node #0,3,3: 63:[63, 89] Operation: 27+62=89 Moving to Node #0,1 Current State: 63:[27, 63, 26], Operations: ['44-18=26'] Exploring Operation: 27-26=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 63:[63, 1] Operation: 27-26=1 Exploring Operation: 63-27=36, Resulting Numbers: [26, 36] Generated Node #0,1,1: 63:[26, 36] Operation: 63-27=36 Exploring Operation: 63-26=37, Resulting Numbers: [27, 37] Generated Node #0,1,2: 63:[27, 37] Operation: 63-26=37 Exploring Operation: 27+26=53, Resulting Numbers: [63, 53] Generated Node #0,1,3: 63:[63, 53] Operation: 27+26=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[63, 1], Operations: ['44-18=26', '27-26=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[27, 18, 44, 63], Operations: [] Exploring Operation: 44-18=26, Resulting Numbers: [27, 63, 26] Generated Node #0,1: 63:[27, 63, 26] Operation: 44-18=26 Moving to Node #0,1 Current State: 63:[27, 63, 26], Operations: ['44-18=26'] Exploring Operation: 27-26=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 63:[63, 1] Operation: 27-26=1 Moving to Node #0,1,0 Current State: 63:[63, 1], Operations: ['44-18=26', '27-26=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 67, 74, 70, 59 ]
32
[ "67-59=8", "74-70=4", "8*4=32" ]
Current State: 32:[67, 74, 70, 59], Operations: [] Exploring Operation: 67-59=8, Resulting Numbers: [74, 70, 8] Generated Node #2: [74, 70, 8] from Operation: 67-59=8 Current State: 32:[74, 70, 8], Operations: ['67-59=8'] Exploring Operation: 74-70=4, Resulting Numbers: [8, 4] Generated Node #3: [8, 4] from Operation: 74-70=4 Current State: 32:[8, 4], Operations: ['67-59=8', '74-70=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[67, 74, 70, 59], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [70, 59, 7] Generated Node #0,0: 32:[70, 59, 7] Operation: 74-67=7 Exploring Operation: 74-70=4, Resulting Numbers: [67, 59, 4] Generated Node #0,1: 32:[67, 59, 4] Operation: 74-70=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[67, 59, 4], Operations: ['74-70=4'] Exploring Operation: 67-4=63, Resulting Numbers: [59, 63] Generated Node #0,1,0: 32:[59, 63] Operation: 67-4=63 Exploring Operation: 67-59=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 32:[4, 8] Operation: 67-59=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[4, 8], Operations: ['74-70=4', '67-59=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[67, 74, 70, 59], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [67, 59, 4] Generated Node #0,1: 32:[67, 59, 4] Operation: 74-70=4 Moving to Node #0,1 Current State: 32:[67, 59, 4], Operations: ['74-70=4'] Exploring Operation: 67-59=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 32:[4, 8] Operation: 67-59=8 Moving to Node #0,1,1 Current State: 32:[4, 8], Operations: ['74-70=4', '67-59=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 21, 75, 92, 3 ]
12
[ "21+75=96", "96-92=4", "3*4=12" ]
Current State: 12:[21, 75, 92, 3], Operations: [] Exploring Operation: 21+75=96, Resulting Numbers: [92, 3, 96] Generated Node #2: [92, 3, 96] from Operation: 21+75=96 Current State: 12:[92, 3, 96], Operations: ['21+75=96'] Exploring Operation: 96-92=4, Resulting Numbers: [3, 4] Generated Node #3: [3, 4] from Operation: 96-92=4 Current State: 12:[3, 4], Operations: ['21+75=96', '96-92=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[21, 75, 92, 3], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [21, 92, 25] Generated Node #0,0: 12:[21, 92, 25] Operation: 75/3=25 Exploring Operation: 92-75=17, Resulting Numbers: [21, 3, 17] Generated Node #0,1: 12:[21, 3, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 12:[21, 3, 17], Operations: ['92-75=17'] Exploring Operation: 21/3=7, Resulting Numbers: [17, 7] Generated Node #0,1,0: 12:[17, 7] Operation: 21/3=7 Exploring Operation: 21-17=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 12:[3, 4] Operation: 21-17=4 Moving to Node #0,0 Current State: 12:[21, 92, 25], Operations: ['75/3=25'] Exploring Operation: 92-21=71, Resulting Numbers: [25, 71] Generated Node #0,0,0: 12:[25, 71] Operation: 92-21=71 Exploring Operation: 92-25=67, Resulting Numbers: [21, 67] Generated Node #0,0,1: 12:[21, 67] Operation: 92-25=67 Moving to Node #0,1,1 Current State: 12:[3, 4], Operations: ['92-75=17', '21-17=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[21, 75, 92, 3], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [21, 3, 17] Generated Node #0,1: 12:[21, 3, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 12:[21, 3, 17], Operations: ['92-75=17'] Exploring Operation: 21-17=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 12:[3, 4] Operation: 21-17=4 Moving to Node #0,1,1 Current State: 12:[3, 4], Operations: ['92-75=17', '21-17=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 54, 62, 77, 98 ]
59
[ "54+62=116", "77+98=175", "175-116=59" ]
Current State: 59:[54, 62, 77, 98], Operations: [] Exploring Operation: 54+62=116, Resulting Numbers: [77, 98, 116] Generated Node #2: [77, 98, 116] from Operation: 54+62=116 Current State: 59:[77, 98, 116], Operations: ['54+62=116'] Exploring Operation: 77+98=175, Resulting Numbers: [116, 175] Generated Node #3: [116, 175] from Operation: 77+98=175 Current State: 59:[116, 175], Operations: ['54+62=116', '77+98=175'] Exploring Operation: 175-116=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[54, 62, 77, 98], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [62, 77, 44] Generated Node #0,0: 59:[62, 77, 44] Operation: 98-54=44 Exploring Operation: 98-77=21, Resulting Numbers: [54, 62, 21] Generated Node #0,1: 59:[54, 62, 21] Operation: 98-77=21 Exploring Operation: 98-62=36, Resulting Numbers: [54, 77, 36] Generated Node #0,2: 59:[54, 77, 36] Operation: 98-62=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[62, 77, 44], Operations: ['98-54=44'] Exploring Operation: 77-62=15, Resulting Numbers: [44, 15] Generated Node #0,0,0: 59:[44, 15] Operation: 77-62=15 Exploring Operation: 77-44=33, Resulting Numbers: [62, 33] Generated Node #0,0,1: 59:[62, 33] Operation: 77-44=33 Exploring Operation: 62-44=18, Resulting Numbers: [77, 18] Generated Node #0,0,2: 59:[77, 18] Operation: 62-44=18 Moving to Node #0,0,1 Current State: 59:[62, 33], Operations: ['98-54=44', '77-44=33'] Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,59 unequal: No Solution Exploring Operation: 62*33=2046, Resulting Numbers: [2046] 2046,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[44, 15], Operations: ['98-54=44', '77-62=15'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,59 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,59 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[54, 62, 77, 98], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [62, 77, 44] Generated Node #0,0: 59:[62, 77, 44] Operation: 98-54=44 Moving to Node #0,0 Current State: 59:[62, 77, 44], Operations: ['98-54=44'] Exploring Operation: 77-62=15, Resulting Numbers: [44, 15] Generated Node #0,0,0: 59:[44, 15] Operation: 77-62=15 Moving to Node #0,0,0 Current State: 59:[44, 15], Operations: ['98-54=44', '77-62=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 84, 70, 79, 41 ]
100
[ "79+41=120", "70*120=8400", "8400/84=100" ]
Current State: 100:[84, 70, 79, 41], Operations: [] Exploring Operation: 79+41=120, Resulting Numbers: [84, 70, 120] Generated Node #2: [84, 70, 120] from Operation: 79+41=120 Current State: 100:[84, 70, 120], Operations: ['79+41=120'] Exploring Operation: 70*120=8400, Resulting Numbers: [84, 8400] Generated Node #3: [84, 8400] from Operation: 70*120=8400 Current State: 100:[84, 8400], Operations: ['79+41=120', '70*120=8400'] Exploring Operation: 8400/84=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[84, 70, 79, 41], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [70, 41, 5] Generated Node #0,0: 100:[70, 41, 5] Operation: 84-79=5 Exploring Operation: 84-70=14, Resulting Numbers: [79, 41, 14] Generated Node #0,1: 100:[79, 41, 14] Operation: 84-70=14 Exploring Operation: 79-70=9, Resulting Numbers: [84, 41, 9] Generated Node #0,2: 100:[84, 41, 9] Operation: 79-70=9 Moving to Node #0,2 Current State: 100:[84, 41, 9], Operations: ['79-70=9'] Exploring Operation: 41+9=50, Resulting Numbers: [84, 50] Generated Node #0,2,0: 100:[84, 50] Operation: 41+9=50 Exploring Operation: 84-41=43, Resulting Numbers: [9, 43] Generated Node #0,2,1: 100:[9, 43] Operation: 84-41=43 Exploring Operation: 84+9=93, Resulting Numbers: [41, 93] Generated Node #0,2,2: 100:[41, 93] Operation: 84+9=93 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[9, 43], Operations: ['79-70=9', '84-41=43'] Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 9*43=387, Resulting Numbers: [387] 387,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,0 Current State: 100:[84, 50], Operations: ['79-70=9', '41+9=50'] Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,100 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,100 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[41, 93], Operations: ['79-70=9', '84+9=93'] Exploring Operation: 41+93=134, Resulting Numbers: [134] 134,100 unequal: No Solution Exploring Operation: 41*93=3813, Resulting Numbers: [3813] 3813,100 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[70, 41, 5], Operations: ['84-79=5'] Exploring Operation: 70+41=111, Resulting Numbers: [5, 111] Generated Node #0,0,0: 100:[5, 111] Operation: 70+41=111 Exploring Operation: 70-41=29, Resulting Numbers: [5, 29] Generated Node #0,0,1: 100:[5, 29] Operation: 70-41=29 Exploring Operation: 70/5=14, Resulting Numbers: [41, 14] Generated Node #0,0,2: 100:[41, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[5, 29], Operations: ['84-79=5', '70-41=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,100 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[5, 111], Operations: ['84-79=5', '70+41=111'] Exploring Operation: 5+111=116, Resulting Numbers: [116] 116,100 unequal: No Solution Exploring Operation: 111-5=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 5*111=555, Resulting Numbers: [555] 555,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[41, 14], Operations: ['84-79=5', '70/5=14'] Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,100 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,100 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: 100:[79, 41, 14], Operations: ['84-70=14'] Exploring Operation: 41-14=27, Resulting Numbers: [79, 27] Generated Node #0,1,0: 100:[79, 27] Operation: 41-14=27 Exploring Operation: 79-41=38, Resulting Numbers: [14, 38] Generated Node #0,1,1: 100:[14, 38] Operation: 79-41=38 Exploring Operation: 79+14=93, Resulting Numbers: [41, 93] Generated Node #0,1,2: 100:[41, 93] Operation: 79+14=93 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[14, 38], Operations: ['84-70=14', '79-41=38'] Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,100 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[41, 93], Operations: ['84-70=14', '79+14=93'] Exploring Operation: 41+93=134, Resulting Numbers: [134] 134,100 unequal: No Solution Exploring Operation: 41*93=3813, Resulting Numbers: [3813] 3813,100 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[79, 27], Operations: ['84-70=14', '41-14=27'] Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,100 unequal: No Solution Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,100 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
[ 41, 42, 60, 26 ]
38
[ "41-26=15", "60/15=4", "42-4=38" ]
Current State: 38:[41, 42, 60, 26], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [42, 60, 15] Generated Node #2: [42, 60, 15] from Operation: 41-26=15 Current State: 38:[42, 60, 15], Operations: ['41-26=15'] Exploring Operation: 60/15=4, Resulting Numbers: [42, 4] Generated Node #3: [42, 4] from Operation: 60/15=4 Current State: 38:[42, 4], Operations: ['41-26=15', '60/15=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[41, 42, 60, 26], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [41, 26, 18] Generated Node #0,0: 38:[41, 26, 18] Operation: 60-42=18 Exploring Operation: 60-41=19, Resulting Numbers: [42, 26, 19] Generated Node #0,1: 38:[42, 26, 19] Operation: 60-41=19 Exploring Operation: 60-26=34, Resulting Numbers: [41, 42, 34] Generated Node #0,2: 38:[41, 42, 34] Operation: 60-26=34 Exploring Operation: 42-26=16, Resulting Numbers: [41, 60, 16] Generated Node #0,3: 38:[41, 60, 16] Operation: 42-26=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[41, 26, 18], Operations: ['60-42=18'] Exploring Operation: 41-26=15, Resulting Numbers: [18, 15] Generated Node #0,0,0: 38:[18, 15] Operation: 41-26=15 Exploring Operation: 41-18=23, Resulting Numbers: [26, 23] Generated Node #0,0,1: 38:[26, 23] Operation: 41-18=23 Exploring Operation: 26+18=44, Resulting Numbers: [41, 44] Generated Node #0,0,2: 38:[41, 44] Operation: 26+18=44 Exploring Operation: 26-18=8, Resulting Numbers: [41, 8] Generated Node #0,0,3: 38:[41, 8] Operation: 26-18=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[18, 15], Operations: ['60-42=18', '41-26=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[41, 44], Operations: ['60-42=18', '26+18=44'] Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,38 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,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:[41, 8], Operations: ['60-42=18', '26-18=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[26, 23], Operations: ['60-42=18', '41-18=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[42, 26, 19], Operations: ['60-41=19'] Exploring Operation: 26+19=45, Resulting Numbers: [42, 45] Generated Node #0,1,0: 38:[42, 45] Operation: 26+19=45 Exploring Operation: 26-19=7, Resulting Numbers: [42, 7] Generated Node #0,1,1: 38:[42, 7] Operation: 26-19=7 Exploring Operation: 42-26=16, Resulting Numbers: [19, 16] Generated Node #0,1,2: 38:[19, 16] Operation: 42-26=16 Exploring Operation: 42-19=23, Resulting Numbers: [26, 23] Generated Node #0,1,3: 38:[26, 23] Operation: 42-19=23 Moving to Node #0,1,2 Current State: 38:[19, 16], Operations: ['60-41=19', '42-26=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,38 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[42, 7], Operations: ['60-41=19', '26-19=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[26, 23], Operations: ['60-41=19', '42-19=23'] Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,38 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[42, 45], Operations: ['60-41=19', '26+19=45'] Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,38 unequal: No Solution Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,38 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[41, 42, 34], Operations: ['60-26=34'] Exploring Operation: 41+34=75, Resulting Numbers: [42, 75] Generated Node #0,2,0: 38:[42, 75] Operation: 41+34=75 Exploring Operation: 42-41=1, Resulting Numbers: [34, 1] Generated Node #0,2,1: 38:[34, 1] Operation: 42-41=1 Exploring Operation: 42-34=8, Resulting Numbers: [41, 8] Generated Node #0,2,2: 38:[41, 8] Operation: 42-34=8 Exploring Operation: 41-34=7, Resulting Numbers: [42, 7] Generated Node #0,2,3: 38:[42, 7] Operation: 41-34=7 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[34, 1], Operations: ['60-26=34', '42-41=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[41, 8], Operations: ['60-26=34', '42-34=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,38 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[42, 7], Operations: ['60-26=34', '41-34=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,38 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[42, 75], Operations: ['60-26=34', '41+34=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,38 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[41, 60, 16], Operations: ['42-26=16'] Exploring Operation: 41-16=25, Resulting Numbers: [60, 25] Generated Node #0,3,0: 38:[60, 25] Operation: 41-16=25 Exploring Operation: 60-16=44, Resulting Numbers: [41, 44] Generated Node #0,3,1: 38:[41, 44] Operation: 60-16=44 Exploring Operation: 60-41=19, Resulting Numbers: [16, 19] Generated Node #0,3,2: 38:[16, 19] Operation: 60-41=19 Exploring Operation: 41+16=57, Resulting Numbers: [60, 57] Generated Node #0,3,3: 38:[60, 57] Operation: 41+16=57 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[16, 19], Operations: ['42-26=16', '60-41=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,38 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,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,3,1 Current State: 38:[41, 44], Operations: ['42-26=16', '60-16=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,38 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,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,3,0 Current State: 38:[60, 25], Operations: ['42-26=16', '41-16=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 60*25=1500, Resulting Numbers: [1500] 1500,38 unequal: No Solution Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,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,3,3 Current State: 38:[60, 57], Operations: ['42-26=16', '41+16=57'] Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,38 unequal: No Solution Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,38 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 38, 65, 31, 4 ]
77
[ "65-38=27", "4*27=108", "108-31=77" ]
Current State: 77:[38, 65, 31, 4], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [31, 4, 27] Generated Node #2: [31, 4, 27] from Operation: 65-38=27 Current State: 77:[31, 4, 27], Operations: ['65-38=27'] Exploring Operation: 4*27=108, Resulting Numbers: [31, 108] Generated Node #3: [31, 108] from Operation: 4*27=108 Current State: 77:[31, 108], Operations: ['65-38=27', '4*27=108'] Exploring Operation: 108-31=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[38, 65, 31, 4], Operations: [] Exploring Operation: 38-31=7, Resulting Numbers: [65, 4, 7] Generated Node #0,0: 77:[65, 4, 7] Operation: 38-31=7 Moving to Node #0,0 Current State: 77:[65, 4, 7], Operations: ['38-31=7'] Exploring Operation: 65+4=69, Resulting Numbers: [7, 69] Generated Node #0,0,0: 77:[7, 69] Operation: 65+4=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[7, 69], Operations: ['38-31=7', '65+4=69'] Exploring Operation: 7+69=76, Resulting Numbers: [76] 76,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 24, 9, 94, 7 ]
71
[ "9-7=2", "94/2=47", "24+47=71" ]
Current State: 71:[24, 9, 94, 7], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [24, 94, 2] Generated Node #2: [24, 94, 2] from Operation: 9-7=2 Current State: 71:[24, 94, 2], Operations: ['9-7=2'] Exploring Operation: 94/2=47, Resulting Numbers: [24, 47] Generated Node #3: [24, 47] from Operation: 94/2=47 Current State: 71:[24, 47], Operations: ['9-7=2', '94/2=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[24, 9, 94, 7], Operations: [] Exploring Operation: 24+7=31, Resulting Numbers: [9, 94, 31] Generated Node #0,0: 71:[9, 94, 31] Operation: 24+7=31 Exploring Operation: 24+9=33, Resulting Numbers: [94, 7, 33] Generated Node #0,1: 71:[94, 7, 33] Operation: 24+9=33 Exploring Operation: 9*7=63, Resulting Numbers: [24, 94, 63] Generated Node #0,2: 71:[24, 94, 63] Operation: 9*7=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[24, 94, 63], Operations: ['9*7=63'] Exploring Operation: 24+63=87, Resulting Numbers: [94, 87] Generated Node #0,2,0: 71:[94, 87] Operation: 24+63=87 Exploring Operation: 94-24=70, Resulting Numbers: [63, 70] Generated Node #0,2,1: 71:[63, 70] Operation: 94-24=70 Exploring Operation: 24+94=118, Resulting Numbers: [63, 118] Generated Node #0,2,2: 71:[63, 118] Operation: 24+94=118 Moving to Node #0,2,1 Current State: 71:[63, 70], Operations: ['9*7=63', '94-24=70'] Exploring Operation: 63*70=4410, Resulting Numbers: [4410] 4410,71 unequal: No Solution Exploring Operation: 63+70=133, Resulting Numbers: [133] 133,71 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[94, 87], Operations: ['9*7=63', '24+63=87'] Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 94*87=8178, Resulting Numbers: [8178] 8178,71 unequal: No Solution Exploring Operation: 94+87=181, Resulting Numbers: [181] 181,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[63, 118], Operations: ['9*7=63', '24+94=118'] Exploring Operation: 118-63=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 63+118=181, Resulting Numbers: [181] 181,71 unequal: No Solution Exploring Operation: 63*118=7434, Resulting Numbers: [7434] 7434,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[9, 94, 31], Operations: ['24+7=31'] Exploring Operation: 94-9=85, Resulting Numbers: [31, 85] Generated Node #0,0,0: 71:[31, 85] Operation: 94-9=85 Exploring Operation: 9+31=40, Resulting Numbers: [94, 40] Generated Node #0,0,1: 71:[94, 40] Operation: 9+31=40 Exploring Operation: 94-31=63, Resulting Numbers: [9, 63] Generated Node #0,0,2: 71:[9, 63] Operation: 94-31=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[31, 85], Operations: ['24+7=31', '94-9=85'] Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,71 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[94, 40], Operations: ['24+7=31', '9+31=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[9, 63], Operations: ['24+7=31', '94-31=63'] Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[94, 7, 33], Operations: ['24+9=33'] Exploring Operation: 94-7=87, Resulting Numbers: [33, 87] Generated Node #0,1,0: 71:[33, 87] Operation: 94-7=87 Exploring Operation: 94+7=101, Resulting Numbers: [33, 101] Generated Node #0,1,1: 71:[33, 101] Operation: 94+7=101 Exploring Operation: 7+33=40, Resulting Numbers: [94, 40] Generated Node #0,1,2: 71:[94, 40] Operation: 7+33=40 Moving to Node #0,1,0 Current State: 71:[33, 87], Operations: ['24+9=33', '94-7=87'] Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,71 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[94, 40], Operations: ['24+9=33', '7+33=40'] Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,71 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[33, 101], Operations: ['24+9=33', '94+7=101'] Exploring Operation: 33*101=3333, Resulting Numbers: [3333] 3333,71 unequal: No Solution Exploring Operation: 33+101=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 101-33=68, Resulting Numbers: [68] 68,71 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
[ 55, 20, 47, 79 ]
88
[ "79-47=32", "55*32=1760", "1760/20=88" ]
Current State: 88:[55, 20, 47, 79], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [55, 20, 32] Generated Node #2: [55, 20, 32] from Operation: 79-47=32 Current State: 88:[55, 20, 32], Operations: ['79-47=32'] Exploring Operation: 55*32=1760, Resulting Numbers: [20, 1760] Generated Node #3: [20, 1760] from Operation: 55*32=1760 Current State: 88:[20, 1760], Operations: ['79-47=32', '55*32=1760'] Exploring Operation: 1760/20=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[55, 20, 47, 79], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [20, 47, 24] Generated Node #0,0: 88:[20, 47, 24] Operation: 79-55=24 Moving to Node #0,0 Current State: 88:[20, 47, 24], Operations: ['79-55=24'] Exploring Operation: 20+24=44, Resulting Numbers: [47, 44] Generated Node #0,0,0: 88:[47, 44] Operation: 20+24=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[47, 44], Operations: ['79-55=24', '20+24=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 30, 35, 20 ]
90
[ "44-35=9", "30-20=10", "9*10=90" ]
Current State: 90:[44, 30, 35, 20], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [30, 20, 9] Generated Node #2: [30, 20, 9] from Operation: 44-35=9 Current State: 90:[30, 20, 9], Operations: ['44-35=9'] Exploring Operation: 30-20=10, Resulting Numbers: [9, 10] Generated Node #3: [9, 10] from Operation: 30-20=10 Current State: 90:[9, 10], Operations: ['44-35=9', '30-20=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[44, 30, 35, 20], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [30, 20, 9] Generated Node #0,0: 90:[30, 20, 9] Operation: 44-35=9 Exploring Operation: 35-20=15, Resulting Numbers: [44, 30, 15] Generated Node #0,1: 90:[44, 30, 15] Operation: 35-20=15 Exploring Operation: 35-30=5, Resulting Numbers: [44, 20, 5] Generated Node #0,2: 90:[44, 20, 5] Operation: 35-30=5 Moving to Node #0,1 Current State: 90:[44, 30, 15], Operations: ['35-20=15'] Exploring Operation: 30+15=45, Resulting Numbers: [44, 45] Generated Node #0,1,0: 90:[44, 45] Operation: 30+15=45 Exploring Operation: 44-15=29, Resulting Numbers: [30, 29] Generated Node #0,1,1: 90:[30, 29] Operation: 44-15=29 Exploring Operation: 44-30=14, Resulting Numbers: [15, 14] Generated Node #0,1,2: 90:[15, 14] Operation: 44-30=14 Moving to Node #0,0 Current State: 90:[30, 20, 9], Operations: ['44-35=9'] Exploring Operation: 20+9=29, Resulting Numbers: [30, 29] Generated Node #0,0,0: 90:[30, 29] Operation: 20+9=29 Exploring Operation: 30-20=10, Resulting Numbers: [9, 10] Generated Node #0,0,1: 90:[9, 10] Operation: 30-20=10 Exploring Operation: 20-9=11, Resulting Numbers: [30, 11] Generated Node #0,0,2: 90:[30, 11] Operation: 20-9=11 Moving to Node #0,2 Current State: 90:[44, 20, 5], Operations: ['35-30=5'] Exploring Operation: 20-5=15, Resulting Numbers: [44, 15] Generated Node #0,2,0: 90:[44, 15] Operation: 20-5=15 Exploring Operation: 44-20=24, Resulting Numbers: [5, 24] Generated Node #0,2,1: 90:[5, 24] Operation: 44-20=24 Exploring Operation: 20/5=4, Resulting Numbers: [44, 4] Generated Node #0,2,2: 90:[44, 4] Operation: 20/5=4 Moving to Node #0,0,1 Current State: 90:[9, 10], Operations: ['44-35=9', '30-20=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[44, 30, 35, 20], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [30, 20, 9] Generated Node #0,0: 90:[30, 20, 9] Operation: 44-35=9 Moving to Node #0,0 Current State: 90:[30, 20, 9], Operations: ['44-35=9'] Exploring Operation: 30-20=10, Resulting Numbers: [9, 10] Generated Node #0,0,1: 90:[9, 10] Operation: 30-20=10 Moving to Node #0,0,1 Current State: 90:[9, 10], Operations: ['44-35=9', '30-20=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 78, 44, 35, 63 ]
42
[ "78*35=2730", "44*63=2772", "2772-2730=42" ]
Current State: 42:[78, 44, 35, 63], Operations: [] Exploring Operation: 78*35=2730, Resulting Numbers: [44, 63, 2730] Generated Node #2: [44, 63, 2730] from Operation: 78*35=2730 Current State: 42:[44, 63, 2730], Operations: ['78*35=2730'] Exploring Operation: 44*63=2772, Resulting Numbers: [2730, 2772] Generated Node #3: [2730, 2772] from Operation: 44*63=2772 Current State: 42:[2730, 2772], Operations: ['78*35=2730', '44*63=2772'] Exploring Operation: 2772-2730=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[78, 44, 35, 63], Operations: [] Exploring Operation: 78-44=34, Resulting Numbers: [35, 63, 34] Generated Node #0,0: 42:[35, 63, 34] Operation: 78-44=34 Exploring Operation: 78-35=43, Resulting Numbers: [44, 63, 43] Generated Node #0,1: 42:[44, 63, 43] Operation: 78-35=43 Exploring Operation: 78-63=15, Resulting Numbers: [44, 35, 15] Generated Node #0,2: 42:[44, 35, 15] Operation: 78-63=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[44, 35, 15], Operations: ['78-63=15'] Exploring Operation: 35+15=50, Resulting Numbers: [44, 50] Generated Node #0,2,0: 42:[44, 50] Operation: 35+15=50 Exploring Operation: 44-35=9, Resulting Numbers: [15, 9] Generated Node #0,2,1: 42:[15, 9] Operation: 44-35=9 Exploring Operation: 35-15=20, Resulting Numbers: [44, 20] Generated Node #0,2,2: 42:[44, 20] Operation: 35-15=20 Moving to Node #0,2,1 Current State: 42:[15, 9], Operations: ['78-63=15', '44-35=9'] Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,42 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[44, 20], Operations: ['78-63=15', '35-15=20'] Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,42 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[44, 50], Operations: ['78-63=15', '35+15=50'] Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,42 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[44, 63, 43], Operations: ['78-35=43'] Exploring Operation: 63-43=20, Resulting Numbers: [44, 20] Generated Node #0,1,0: 42:[44, 20] Operation: 63-43=20 Exploring Operation: 44-43=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 42:[63, 1] Operation: 44-43=1 Exploring Operation: 63-44=19, Resulting Numbers: [43, 19] Generated Node #0,1,2: 42:[43, 19] Operation: 63-44=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[44, 20], Operations: ['78-35=43', '63-43=20'] Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,42 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[43, 19], Operations: ['78-35=43', '63-44=19'] Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,42 unequal: No Solution Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[63, 1], Operations: ['78-35=43', '44-43=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[35, 63, 34], Operations: ['78-44=34'] Exploring Operation: 63-34=29, Resulting Numbers: [35, 29] Generated Node #0,0,0: 42:[35, 29] Operation: 63-34=29 Exploring Operation: 63-35=28, Resulting Numbers: [34, 28] Generated Node #0,0,1: 42:[34, 28] Operation: 63-35=28 Exploring Operation: 35-34=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 42:[63, 1] Operation: 35-34=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[35, 29], Operations: ['78-44=34', '63-34=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,42 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[34, 28], Operations: ['78-44=34', '63-35=28'] Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,42 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[63, 1], Operations: ['78-44=34', '35-34=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 5, 67, 88, 47 ]
40
[ "88+47=135", "135/5=27", "67-27=40" ]
Current State: 40:[5, 67, 88, 47], Operations: [] Exploring Operation: 88+47=135, Resulting Numbers: [5, 67, 135] Generated Node #2: [5, 67, 135] from Operation: 88+47=135 Current State: 40:[5, 67, 135], Operations: ['88+47=135'] Exploring Operation: 135/5=27, Resulting Numbers: [67, 27] Generated Node #3: [67, 27] from Operation: 135/5=27 Current State: 40:[67, 27], Operations: ['88+47=135', '135/5=27'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[5, 67, 88, 47], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [5, 67, 41] Generated Node #0,0: 40:[5, 67, 41] Operation: 88-47=41 Exploring Operation: 67-5=62, Resulting Numbers: [88, 47, 62] Generated Node #0,1: 40:[88, 47, 62] Operation: 67-5=62 Exploring Operation: 67-47=20, Resulting Numbers: [5, 88, 20] Generated Node #0,2: 40:[5, 88, 20] Operation: 67-47=20 Exploring Operation: 88-67=21, Resulting Numbers: [5, 47, 21] Generated Node #0,3: 40:[5, 47, 21] Operation: 88-67=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[5, 47, 21], Operations: ['88-67=21'] Exploring Operation: 5+47=52, Resulting Numbers: [21, 52] Generated Node #0,3,0: 40:[21, 52] Operation: 5+47=52 Exploring Operation: 21-5=16, Resulting Numbers: [47, 16] Generated Node #0,3,1: 40:[47, 16] Operation: 21-5=16 Exploring Operation: 47-5=42, Resulting Numbers: [21, 42] Generated Node #0,3,2: 40:[21, 42] Operation: 47-5=42 Exploring Operation: 47-21=26, Resulting Numbers: [5, 26] Generated Node #0,3,3: 40:[5, 26] Operation: 47-21=26 Moving to Node #0,3,2 Current State: 40:[21, 42], Operations: ['88-67=21', '47-5=42'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[5, 26], Operations: ['88-67=21', '47-21=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[47, 16], Operations: ['88-67=21', '21-5=16'] Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[21, 52], Operations: ['88-67=21', '5+47=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 21*52=1092, Resulting Numbers: [1092] 1092,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[5, 67, 41], Operations: ['88-47=41'] Exploring Operation: 41-5=36, Resulting Numbers: [67, 36] Generated Node #0,0,0: 40:[67, 36] Operation: 41-5=36 Exploring Operation: 67-5=62, Resulting Numbers: [41, 62] Generated Node #0,0,1: 40:[41, 62] Operation: 67-5=62 Exploring Operation: 5+67=72, Resulting Numbers: [41, 72] Generated Node #0,0,2: 40:[41, 72] Operation: 5+67=72 Exploring Operation: 67-41=26, Resulting Numbers: [5, 26] Generated Node #0,0,3: 40:[5, 26] Operation: 67-41=26 Moving to Node #0,0,3 Current State: 40:[5, 26], Operations: ['88-47=41', '67-41=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[41, 62], Operations: ['88-47=41', '67-5=62'] Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,40 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[67, 36], Operations: ['88-47=41', '41-5=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[41, 72], Operations: ['88-47=41', '5+67=72'] Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,40 unequal: No Solution Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,40 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[5, 88, 20], Operations: ['67-47=20'] Exploring Operation: 5+88=93, Resulting Numbers: [20, 93] Generated Node #0,2,0: 40:[20, 93] Operation: 5+88=93 Exploring Operation: 20/5=4, Resulting Numbers: [88, 4] Generated Node #0,2,1: 40:[88, 4] Operation: 20/5=4 Exploring Operation: 88-5=83, Resulting Numbers: [20, 83] Generated Node #0,2,2: 40:[20, 83] Operation: 88-5=83 Exploring Operation: 88-20=68, Resulting Numbers: [5, 68] Generated Node #0,2,3: 40:[5, 68] Operation: 88-20=68 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[5, 68], Operations: ['67-47=20', '88-20=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[20, 83], Operations: ['67-47=20', '88-5=83'] Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[88, 4], Operations: ['67-47=20', '20/5=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,40 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,40 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[20, 93], Operations: ['67-47=20', '5+88=93'] Exploring Operation: 20+93=113, Resulting Numbers: [113] 113,40 unequal: No Solution Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 20*93=1860, Resulting Numbers: [1860] 1860,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[88, 47, 62], Operations: ['67-5=62'] Exploring Operation: 88+47=135, Resulting Numbers: [62, 135] Generated Node #0,1,0: 40:[62, 135] Operation: 88+47=135 Exploring Operation: 88-62=26, Resulting Numbers: [47, 26] Generated Node #0,1,1: 40:[47, 26] Operation: 88-62=26 Exploring Operation: 62-47=15, Resulting Numbers: [88, 15] Generated Node #0,1,2: 40:[88, 15] Operation: 62-47=15 Exploring Operation: 88-47=41, Resulting Numbers: [62, 41] Generated Node #0,1,3: 40:[62, 41] Operation: 88-47=41 Moving to Node #0,1,1 Current State: 40:[47, 26], Operations: ['67-5=62', '88-62=26'] Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,40 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[62, 41], Operations: ['67-5=62', '88-47=41'] Exploring Operation: 62*41=2542, Resulting Numbers: [2542] 2542,40 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 62+41=103, Resulting Numbers: [103] 103,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[88, 15], Operations: ['67-5=62', '62-47=15'] Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,40 unequal: No Solution Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[62, 135], Operations: ['67-5=62', '88+47=135'] Exploring Operation: 62+135=197, Resulting Numbers: [197] 197,40 unequal: No Solution Exploring Operation: 135-62=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 62*135=8370, Resulting Numbers: [8370] 8370,40 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
[ 11, 69, 48, 24 ]
40
[ "11+69=80", "48/24=2", "80/2=40" ]
Current State: 40:[11, 69, 48, 24], Operations: [] Exploring Operation: 11+69=80, Resulting Numbers: [48, 24, 80] Generated Node #2: [48, 24, 80] from Operation: 11+69=80 Current State: 40:[48, 24, 80], Operations: ['11+69=80'] Exploring Operation: 48/24=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 48/24=2 Current State: 40:[80, 2], Operations: ['11+69=80', '48/24=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[11, 69, 48, 24], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [11, 24, 21] Generated Node #0,0: 40:[11, 24, 21] Operation: 69-48=21 Exploring Operation: 69-24=45, Resulting Numbers: [11, 48, 45] Generated Node #0,1: 40:[11, 48, 45] Operation: 69-24=45 Moving to Node #0,0 Current State: 40:[11, 24, 21], Operations: ['69-48=21'] Exploring Operation: 24-11=13, Resulting Numbers: [21, 13] Generated Node #0,0,0: 40:[21, 13] Operation: 24-11=13 Exploring Operation: 24-21=3, Resulting Numbers: [11, 3] Generated Node #0,0,1: 40:[11, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[11, 3], Operations: ['69-48=21', '24-21=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[21, 13], Operations: ['69-48=21', '24-11=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 40:[11, 48, 45], Operations: ['69-24=45'] Exploring Operation: 48-45=3, Resulting Numbers: [11, 3] Generated Node #0,1,0: 40:[11, 3] Operation: 48-45=3 Exploring Operation: 48-11=37, Resulting Numbers: [45, 37] Generated Node #0,1,1: 40:[45, 37] Operation: 48-11=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[11, 3], Operations: ['69-24=45', '48-45=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[45, 37], Operations: ['69-24=45', '48-11=37'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 17, 20, 61, 89 ]
50
[ "20-17=3", "61+89=150", "150/3=50" ]
Current State: 50:[17, 20, 61, 89], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [61, 89, 3] Generated Node #2: [61, 89, 3] from Operation: 20-17=3 Current State: 50:[61, 89, 3], Operations: ['20-17=3'] Exploring Operation: 61+89=150, Resulting Numbers: [3, 150] Generated Node #3: [3, 150] from Operation: 61+89=150 Current State: 50:[3, 150], Operations: ['20-17=3', '61+89=150'] Exploring Operation: 150/3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[17, 20, 61, 89], Operations: [] Exploring Operation: 89-20=69, Resulting Numbers: [17, 61, 69] Generated Node #0,0: 50:[17, 61, 69] Operation: 89-20=69 Exploring Operation: 89-17=72, Resulting Numbers: [20, 61, 72] Generated Node #0,1: 50:[20, 61, 72] Operation: 89-17=72 Exploring Operation: 89-61=28, Resulting Numbers: [17, 20, 28] Generated Node #0,2: 50:[17, 20, 28] Operation: 89-61=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[17, 20, 28], Operations: ['89-61=28'] Exploring Operation: 28-17=11, Resulting Numbers: [20, 11] Generated Node #0,2,0: 50:[20, 11] Operation: 28-17=11 Exploring Operation: 20-17=3, Resulting Numbers: [28, 3] Generated Node #0,2,1: 50:[28, 3] Operation: 20-17=3 Exploring Operation: 20+28=48, Resulting Numbers: [17, 48] Generated Node #0,2,2: 50:[17, 48] Operation: 20+28=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[28, 3], Operations: ['89-61=28', '20-17=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[20, 11], Operations: ['89-61=28', '28-17=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,50 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[17, 48], Operations: ['89-61=28', '20+28=48'] Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,50 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[17, 61, 69], Operations: ['89-20=69'] Exploring Operation: 69-61=8, Resulting Numbers: [17, 8] Generated Node #0,0,0: 50:[17, 8] Operation: 69-61=8 Exploring Operation: 61-17=44, Resulting Numbers: [69, 44] Generated Node #0,0,1: 50:[69, 44] Operation: 61-17=44 Exploring Operation: 69-17=52, Resulting Numbers: [61, 52] Generated Node #0,0,2: 50:[61, 52] Operation: 69-17=52 Moving to Node #0,0,0 Current State: 50:[17, 8], Operations: ['89-20=69', '69-61=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[61, 52], Operations: ['89-20=69', '69-17=52'] Exploring Operation: 61*52=3172, Resulting Numbers: [3172] 3172,50 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[69, 44], Operations: ['89-20=69', '61-17=44'] Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,50 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[20, 61, 72], Operations: ['89-17=72'] Exploring Operation: 72-61=11, Resulting Numbers: [20, 11] Generated Node #0,1,0: 50:[20, 11] Operation: 72-61=11 Exploring Operation: 72-20=52, Resulting Numbers: [61, 52] Generated Node #0,1,1: 50:[61, 52] Operation: 72-20=52 Exploring Operation: 61-20=41, Resulting Numbers: [72, 41] Generated Node #0,1,2: 50:[72, 41] Operation: 61-20=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[20, 11], Operations: ['89-17=72', '72-61=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,50 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[61, 52], Operations: ['89-17=72', '72-20=52'] Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 61*52=3172, Resulting Numbers: [3172] 3172,50 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[72, 41], Operations: ['89-17=72', '61-20=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,50 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 53, 50, 9, 64 ]
25
[ "53+9=62", "64-62=2", "50/2=25" ]
Current State: 25:[53, 50, 9, 64], Operations: [] Exploring Operation: 53+9=62, Resulting Numbers: [50, 64, 62] Generated Node #2: [50, 64, 62] from Operation: 53+9=62 Current State: 25:[50, 64, 62], Operations: ['53+9=62'] Exploring Operation: 64-62=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 64-62=2 Current State: 25:[50, 2], Operations: ['53+9=62', '64-62=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[53, 50, 9, 64], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [9, 64, 3] Generated Node #0,0: 25:[9, 64, 3] Operation: 53-50=3 Exploring Operation: 53-9=44, Resulting Numbers: [50, 64, 44] Generated Node #0,1: 25:[50, 64, 44] Operation: 53-9=44 Exploring Operation: 64-53=11, Resulting Numbers: [50, 9, 11] Generated Node #0,2: 25:[50, 9, 11] Operation: 64-53=11 Exploring Operation: 64-50=14, Resulting Numbers: [53, 9, 14] Generated Node #0,3: 25:[53, 9, 14] Operation: 64-50=14 Exploring Operation: 50-9=41, Resulting Numbers: [53, 64, 41] Generated Node #0,4: 25:[53, 64, 41] Operation: 50-9=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[50, 9, 11], Operations: ['64-53=11'] Exploring Operation: 50+9=59, Resulting Numbers: [11, 59] Generated Node #0,2,0: 25:[11, 59] Operation: 50+9=59 Exploring Operation: 11-9=2, Resulting Numbers: [50, 2] Generated Node #0,2,1: 25:[50, 2] Operation: 11-9=2 Exploring Operation: 50-11=39, Resulting Numbers: [9, 39] Generated Node #0,2,2: 25:[9, 39] Operation: 50-11=39 Exploring Operation: 9+11=20, Resulting Numbers: [50, 20] Generated Node #0,2,3: 25:[50, 20] Operation: 9+11=20 Exploring Operation: 50-9=41, Resulting Numbers: [11, 41] Generated Node #0,2,4: 25:[11, 41] Operation: 50-9=41 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[9, 39], Operations: ['64-53=11', '50-11=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,25 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 25:[11, 41], Operations: ['64-53=11', '50-9=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,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:[50, 2], Operations: ['64-53=11', '11-9=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[53, 50, 9, 64], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [50, 9, 11] Generated Node #0,2: 25:[50, 9, 11] Operation: 64-53=11 Moving to Node #0,2 Current State: 25:[50, 9, 11], Operations: ['64-53=11'] Exploring Operation: 11-9=2, Resulting Numbers: [50, 2] Generated Node #0,2,1: 25:[50, 2] Operation: 11-9=2 Moving to Node #0,2,1 Current State: 25:[50, 2], Operations: ['64-53=11', '11-9=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 96, 6, 86, 77 ]
10
[ "96-6=90", "86-77=9", "90/9=10" ]
Current State: 10:[96, 6, 86, 77], Operations: [] Exploring Operation: 96-6=90, Resulting Numbers: [86, 77, 90] Generated Node #2: [86, 77, 90] from Operation: 96-6=90 Current State: 10:[86, 77, 90], Operations: ['96-6=90'] Exploring Operation: 86-77=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 86-77=9 Current State: 10:[90, 9], Operations: ['96-6=90', '86-77=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[96, 6, 86, 77], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [6, 77, 10] Generated Node #0,0: 10:[6, 77, 10] Operation: 96-86=10 Exploring Operation: 96-77=19, Resulting Numbers: [6, 86, 19] Generated Node #0,1: 10:[6, 86, 19] Operation: 96-77=19 Exploring Operation: 96/6=16, Resulting Numbers: [86, 77, 16] Generated Node #0,2: 10:[86, 77, 16] Operation: 96/6=16 Exploring Operation: 96-6=90, Resulting Numbers: [86, 77, 90] Generated Node #0,3: 10:[86, 77, 90] Operation: 96-6=90 Exploring Operation: 86-77=9, Resulting Numbers: [96, 6, 9] Generated Node #0,4: 10:[96, 6, 9] Operation: 86-77=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[6, 77, 10], Operations: ['96-86=10'] Exploring Operation: 77-6=71, Resulting Numbers: [10, 71] Generated Node #0,0,0: 10:[10, 71] Operation: 77-6=71 Exploring Operation: 77-10=67, Resulting Numbers: [6, 67] Generated Node #0,0,1: 10:[6, 67] Operation: 77-10=67 Exploring Operation: 10-6=4, Resulting Numbers: [77, 4] Generated Node #0,0,2: 10:[77, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [77, 16] Generated Node #0,0,3: 10:[77, 16] Operation: 6+10=16 Exploring Operation: 6+77=83, Resulting Numbers: [10, 83] Generated Node #0,0,4: 10:[10, 83] Operation: 6+77=83 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[6, 67], Operations: ['96-86=10', '77-10=67'] Exploring Operation: 6*67=402, Resulting Numbers: [402] 402,10 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,10 unequal: No Solution No 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: 10:[10, 71], Operations: ['96-86=10', '77-6=71'] Exploring Operation: 10*71=710, Resulting Numbers: [710] 710,10 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,10 unequal: No Solution No 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: 10:[77, 4], Operations: ['96-86=10', '10-6=4'] Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,10 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,10 unequal: No Solution No 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: 10:[77, 16], Operations: ['96-86=10', '6+10=16'] Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,10 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,10 unequal: No Solution No 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: 10:[10, 83], Operations: ['96-86=10', '6+77=83'] Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,10 unequal: No Solution Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,10 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[6, 86, 19], Operations: ['96-77=19'] Exploring Operation: 19-6=13, Resulting Numbers: [86, 13] Generated Node #0,1,0: 10:[86, 13] Operation: 19-6=13 Exploring Operation: 86-19=67, Resulting Numbers: [6, 67] Generated Node #0,1,1: 10:[6, 67] Operation: 86-19=67 Exploring Operation: 6+86=92, Resulting Numbers: [19, 92] Generated Node #0,1,2: 10:[19, 92] Operation: 6+86=92 Exploring Operation: 86-6=80, Resulting Numbers: [19, 80] Generated Node #0,1,3: 10:[19, 80] Operation: 86-6=80 Exploring Operation: 6+19=25, Resulting Numbers: [86, 25] Generated Node #0,1,4: 10:[86, 25] Operation: 6+19=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[6, 67], Operations: ['96-77=19', '86-19=67'] Exploring Operation: 6*67=402, Resulting Numbers: [402] 402,10 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,10 unequal: No Solution No 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: 10:[86, 13], Operations: ['96-77=19', '19-6=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,10 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,10 unequal: No Solution No 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: 10:[19, 80], Operations: ['96-77=19', '86-6=80'] Exploring Operation: 19*80=1520, Resulting Numbers: [1520] 1520,10 unequal: No Solution Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,10 unequal: No Solution No 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: 10:[19, 92], Operations: ['96-77=19', '6+86=92'] Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,10 unequal: No Solution Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,10 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,10 unequal: No Solution No 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: 10:[86, 25], Operations: ['96-77=19', '6+19=25'] Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,10 unequal: No Solution Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,10 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[96, 6, 9], Operations: ['86-77=9'] Exploring Operation: 6+9=15, Resulting Numbers: [96, 15] Generated Node #0,4,0: 10:[96, 15] Operation: 6+9=15 Exploring Operation: 96/6=16, Resulting Numbers: [9, 16] Generated Node #0,4,1: 10:[9, 16] Operation: 96/6=16 Exploring Operation: 96-6=90, Resulting Numbers: [9, 90] Generated Node #0,4,2: 10:[9, 90] Operation: 96-6=90 Exploring Operation: 96-9=87, Resulting Numbers: [6, 87] Generated Node #0,4,3: 10:[6, 87] Operation: 96-9=87 Exploring Operation: 9-6=3, Resulting Numbers: [96, 3] Generated Node #0,4,4: 10:[96, 3] Operation: 9-6=3 Moving to Node #0,4,1 Current State: 10:[9, 16], Operations: ['86-77=9', '96/6=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,10 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[6, 87], Operations: ['86-77=9', '96-9=87'] Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,10 unequal: No Solution Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,10 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[9, 90], Operations: ['86-77=9', '96-6=90'] Exploring Operation: 9*90=810, Resulting Numbers: [810] 810,10 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[96, 6, 86, 77], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [96, 6, 9] Generated Node #0,4: 10:[96, 6, 9] Operation: 86-77=9 Moving to Node #0,4 Current State: 10:[96, 6, 9], Operations: ['86-77=9'] Exploring Operation: 96-6=90, Resulting Numbers: [9, 90] Generated Node #0,4,2: 10:[9, 90] Operation: 96-6=90 Moving to Node #0,4,2 Current State: 10:[9, 90], Operations: ['86-77=9', '96-6=90'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 20, 92, 38, 54 ]
47
[ "20*92=1840", "1840-54=1786", "1786/38=47" ]
Current State: 47:[20, 92, 38, 54], Operations: [] Exploring Operation: 20*92=1840, Resulting Numbers: [38, 54, 1840] Generated Node #2: [38, 54, 1840] from Operation: 20*92=1840 Current State: 47:[38, 54, 1840], Operations: ['20*92=1840'] Exploring Operation: 1840-54=1786, Resulting Numbers: [38, 1786] Generated Node #3: [38, 1786] from Operation: 1840-54=1786 Current State: 47:[38, 1786], Operations: ['20*92=1840', '1840-54=1786'] Exploring Operation: 1786/38=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[20, 92, 38, 54], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [20, 54, 54] Generated Node #0,0: 47:[20, 54, 54] Operation: 92-38=54 Exploring Operation: 92-20=72, Resulting Numbers: [38, 54, 72] Generated Node #0,1: 47:[38, 54, 72] Operation: 92-20=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[20, 54, 54], Operations: ['92-38=54'] Exploring Operation: 54-20=34, Resulting Numbers: [54, 34] Generated Node #0,0,0: 47:[54, 34] Operation: 54-20=34 Exploring Operation: 54-20=34, Resulting Numbers: [54, 34] Generated Node #0,0,1: 47:[54, 34] Operation: 54-20=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[54, 34], Operations: ['92-38=54', '54-20=34'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,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:[54, 34], Operations: ['92-38=54', '54-20=34'] Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,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:[38, 54, 72], Operations: ['92-20=72'] Exploring Operation: 72-54=18, Resulting Numbers: [38, 18] Generated Node #0,1,0: 47:[38, 18] Operation: 72-54=18 Exploring Operation: 72-38=34, Resulting Numbers: [54, 34] Generated Node #0,1,1: 47:[54, 34] Operation: 72-38=34 Moving to Node #0,1,1 Current State: 47:[54, 34], Operations: ['92-20=72', '72-38=34'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[38, 18], Operations: ['92-20=72', '72-54=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 70, 58, 7, 2 ]
78
[ "70/7=10", "2*10=20", "58+20=78" ]
Current State: 78:[70, 58, 7, 2], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [58, 2, 10] Generated Node #2: [58, 2, 10] from Operation: 70/7=10 Current State: 78:[58, 2, 10], Operations: ['70/7=10'] Exploring Operation: 2*10=20, Resulting Numbers: [58, 20] Generated Node #3: [58, 20] from Operation: 2*10=20 Current State: 78:[58, 20], Operations: ['70/7=10', '2*10=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[70, 58, 7, 2], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [70, 7, 29] Generated Node #0,0: 78:[70, 7, 29] Operation: 58/2=29 Exploring Operation: 70-58=12, Resulting Numbers: [7, 2, 12] Generated Node #0,1: 78:[7, 2, 12] Operation: 70-58=12 Moving to Node #0,1 Current State: 78:[7, 2, 12], Operations: ['70-58=12'] Exploring Operation: 12/2=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 78:[7, 6] Operation: 12/2=6 Exploring Operation: 12-7=5, Resulting Numbers: [2, 5] Generated Node #0,1,1: 78:[2, 5] Operation: 12-7=5 Moving to Node #0,0 Current State: 78:[70, 7, 29], Operations: ['58/2=29'] Exploring Operation: 70-29=41, Resulting Numbers: [7, 41] Generated Node #0,0,0: 78:[7, 41] Operation: 70-29=41 Exploring Operation: 70+7=77, Resulting Numbers: [29, 77] Generated Node #0,0,1: 78:[29, 77] Operation: 70+7=77 Moving to Node #0,1,0 Current State: 78:[7, 6], Operations: ['70-58=12', '12/2=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[2, 5], Operations: ['70-58=12', '12-7=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[7, 41], Operations: ['58/2=29', '70-29=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[29, 77], Operations: ['58/2=29', '70+7=77'] Exploring Operation: 29+77=106, Resulting Numbers: [106] 106,78 unequal: No Solution Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 80, 93, 20, 1 ]
34
[ "93-80=13", "20+1=21", "13+21=34" ]
Current State: 34:[80, 93, 20, 1], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [20, 1, 13] Generated Node #2: [20, 1, 13] from Operation: 93-80=13 Current State: 34:[20, 1, 13], Operations: ['93-80=13'] Exploring Operation: 20+1=21, Resulting Numbers: [13, 21] Generated Node #3: [13, 21] from Operation: 20+1=21 Current State: 34:[13, 21], Operations: ['93-80=13', '20+1=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[80, 93, 20, 1], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [20, 1, 13] Generated Node #0,0: 34:[20, 1, 13] Operation: 93-80=13 Exploring Operation: 80/20=4, Resulting Numbers: [93, 1, 4] Generated Node #0,1: 34:[93, 1, 4] Operation: 80/20=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[20, 1, 13], Operations: ['93-80=13'] Exploring Operation: 20-1=19, Resulting Numbers: [13, 19] Generated Node #0,0,0: 34:[13, 19] Operation: 20-1=19 Exploring Operation: 20+13=33, Resulting Numbers: [1, 33] Generated Node #0,0,1: 34:[1, 33] Operation: 20+13=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[1, 33], Operations: ['93-80=13', '20+13=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[80, 93, 20, 1], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [20, 1, 13] Generated Node #0,0: 34:[20, 1, 13] Operation: 93-80=13 Moving to Node #0,0 Current State: 34:[20, 1, 13], Operations: ['93-80=13'] Exploring Operation: 20+13=33, Resulting Numbers: [1, 33] Generated Node #0,0,1: 34:[1, 33] Operation: 20+13=33 Moving to Node #0,0,1 Current State: 34:[1, 33], Operations: ['93-80=13', '20+13=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 5, 35, 39, 42 ]
100
[ "42-39=3", "35*3=105", "105-5=100" ]
Current State: 100:[5, 35, 39, 42], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [5, 35, 3] Generated Node #2: [5, 35, 3] from Operation: 42-39=3 Current State: 100:[5, 35, 3], Operations: ['42-39=3'] Exploring Operation: 35*3=105, Resulting Numbers: [5, 105] Generated Node #3: [5, 105] from Operation: 35*3=105 Current State: 100:[5, 105], Operations: ['42-39=3', '35*3=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[5, 35, 39, 42], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [5, 42, 4] Generated Node #0,0: 100:[5, 42, 4] Operation: 39-35=4 Exploring Operation: 42-39=3, Resulting Numbers: [5, 35, 3] Generated Node #0,1: 100:[5, 35, 3] Operation: 42-39=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[5, 42, 4], Operations: ['39-35=4'] Exploring Operation: 42+4=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 100:[5, 46] Operation: 42+4=46 Exploring Operation: 5+42=47, Resulting Numbers: [4, 47] Generated Node #0,0,1: 100:[4, 47] Operation: 5+42=47 Moving to Node #0,0,1 Current State: 100:[4, 47], Operations: ['39-35=4', '5+42=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[5, 46], Operations: ['39-35=4', '42+4=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[5, 35, 3], Operations: ['42-39=3'] Exploring Operation: 35/5=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 100:[3, 7] Operation: 35/5=7 Exploring Operation: 35*3=105, Resulting Numbers: [5, 105] Generated Node #0,1,1: 100:[5, 105] Operation: 35*3=105 Moving to Node #0,1,0 Current State: 100:[3, 7], Operations: ['42-39=3', '35/5=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[5, 105], Operations: ['42-39=3', '35*3=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[5, 35, 39, 42], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [5, 35, 3] Generated Node #0,1: 100:[5, 35, 3] Operation: 42-39=3 Moving to Node #0,1 Current State: 100:[5, 35, 3], Operations: ['42-39=3'] Exploring Operation: 35*3=105, Resulting Numbers: [5, 105] Generated Node #0,1,1: 100:[5, 105] Operation: 35*3=105 Moving to Node #0,1,1 Current State: 100:[5, 105], Operations: ['42-39=3', '35*3=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 38, 72, 18, 35 ]
42
[ "38-35=3", "72/3=24", "18+24=42" ]
Current State: 42:[38, 72, 18, 35], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [72, 18, 3] Generated Node #2: [72, 18, 3] from Operation: 38-35=3 Current State: 42:[72, 18, 3], Operations: ['38-35=3'] Exploring Operation: 72/3=24, Resulting Numbers: [18, 24] Generated Node #3: [18, 24] from Operation: 72/3=24 Current State: 42:[18, 24], Operations: ['38-35=3', '72/3=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[38, 72, 18, 35], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [38, 18, 37] Generated Node #0,0: 42:[38, 18, 37] Operation: 72-35=37 Exploring Operation: 72/18=4, Resulting Numbers: [38, 35, 4] Generated Node #0,1: 42:[38, 35, 4] Operation: 72/18=4 Exploring Operation: 72-38=34, Resulting Numbers: [18, 35, 34] Generated Node #0,2: 42:[18, 35, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[38, 18, 37], Operations: ['72-35=37'] Exploring Operation: 38-37=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 42:[18, 1] Operation: 38-37=1 Exploring Operation: 38-18=20, Resulting Numbers: [37, 20] Generated Node #0,0,1: 42:[37, 20] Operation: 38-18=20 Exploring Operation: 37-18=19, Resulting Numbers: [38, 19] Generated Node #0,0,2: 42:[38, 19] Operation: 37-18=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[18, 1], Operations: ['72-35=37', '38-37=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[37, 20], Operations: ['72-35=37', '38-18=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,42 unequal: No Solution Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[38, 19], Operations: ['72-35=37', '37-18=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[38, 35, 4], Operations: ['72/18=4'] Exploring Operation: 38+4=42, Resulting Numbers: [35, 42] Generated Node #0,1,0: 42:[35, 42] Operation: 38+4=42 Exploring Operation: 38-35=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 42:[4, 3] Operation: 38-35=3 Exploring Operation: 35+4=39, Resulting Numbers: [38, 39] Generated Node #0,1,2: 42:[38, 39] Operation: 35+4=39 Moving to Node #0,1,1 Current State: 42:[4, 3], Operations: ['72/18=4', '38-35=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[35, 42], Operations: ['72/18=4', '38+4=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[38, 39], Operations: ['72/18=4', '35+4=39'] Exploring Operation: 38*39=1482, Resulting Numbers: [1482] 1482,42 unequal: No Solution Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[18, 35, 34], Operations: ['72-38=34'] Exploring Operation: 35-18=17, Resulting Numbers: [34, 17] Generated Node #0,2,0: 42:[34, 17] Operation: 35-18=17 Exploring Operation: 35-34=1, Resulting Numbers: [18, 1] Generated Node #0,2,1: 42:[18, 1] Operation: 35-34=1 Exploring Operation: 34-18=16, Resulting Numbers: [35, 16] Generated Node #0,2,2: 42:[35, 16] Operation: 34-18=16 Moving to Node #0,2,1 Current State: 42:[18, 1], Operations: ['72-38=34', '35-34=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[35, 16], Operations: ['72-38=34', '34-18=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[34, 17], Operations: ['72-38=34', '35-18=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,42 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
[ 20, 40, 46, 15 ]
59
[ "40/20=2", "46+15=61", "61-2=59" ]
Current State: 59:[20, 40, 46, 15], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [46, 15, 2] Generated Node #2: [46, 15, 2] from Operation: 40/20=2 Current State: 59:[46, 15, 2], Operations: ['40/20=2'] Exploring Operation: 46+15=61, Resulting Numbers: [2, 61] Generated Node #3: [2, 61] from Operation: 46+15=61 Current State: 59:[2, 61], Operations: ['40/20=2', '46+15=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[20, 40, 46, 15], Operations: [] Exploring Operation: 20+15=35, Resulting Numbers: [40, 46, 35] Generated Node #0,0: 59:[40, 46, 35] Operation: 20+15=35 Exploring Operation: 40+15=55, Resulting Numbers: [20, 46, 55] Generated Node #0,1: 59:[20, 46, 55] Operation: 40+15=55 Moving to Node #0,0 Current State: 59:[40, 46, 35], Operations: ['20+15=35'] Exploring Operation: 40+35=75, Resulting Numbers: [46, 75] Generated Node #0,0,0: 59:[46, 75] Operation: 40+35=75 Exploring Operation: 46+35=81, Resulting Numbers: [40, 81] Generated Node #0,0,1: 59:[40, 81] Operation: 46+35=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[46, 75], Operations: ['20+15=35', '40+35=75'] Exploring Operation: 46+75=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[40, 81], Operations: ['20+15=35', '46+35=81'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[20, 46, 55], Operations: ['40+15=55'] Exploring Operation: 20+46=66, Resulting Numbers: [55, 66] Generated Node #0,1,0: 59:[55, 66] Operation: 20+46=66 Exploring Operation: 20+55=75, Resulting Numbers: [46, 75] Generated Node #0,1,1: 59:[46, 75] Operation: 20+55=75 Moving to Node #0,1,0 Current State: 59:[55, 66], Operations: ['40+15=55', '20+46=66'] Exploring Operation: 55+66=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[46, 75], Operations: ['40+15=55', '20+55=75'] Exploring Operation: 46+75=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 29, 3, 36 ]
48
[ "29+3=32", "54*32=1728", "1728/36=48" ]
Current State: 48:[54, 29, 3, 36], Operations: [] Exploring Operation: 29+3=32, Resulting Numbers: [54, 36, 32] Generated Node #2: [54, 36, 32] from Operation: 29+3=32 Current State: 48:[54, 36, 32], Operations: ['29+3=32'] Exploring Operation: 54*32=1728, Resulting Numbers: [36, 1728] Generated Node #3: [36, 1728] from Operation: 54*32=1728 Current State: 48:[36, 1728], Operations: ['29+3=32', '54*32=1728'] Exploring Operation: 1728/36=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[54, 29, 3, 36], Operations: [] Exploring Operation: 54-36=18, Resulting Numbers: [29, 3, 18] Generated Node #0,0: 48:[29, 3, 18] Operation: 54-36=18 Exploring Operation: 36-29=7, Resulting Numbers: [54, 3, 7] Generated Node #0,1: 48:[54, 3, 7] Operation: 36-29=7 Exploring Operation: 54-29=25, Resulting Numbers: [3, 36, 25] Generated Node #0,2: 48:[3, 36, 25] Operation: 54-29=25 Exploring Operation: 54/3=18, Resulting Numbers: [29, 36, 18] Generated Node #0,3: 48:[29, 36, 18] Operation: 54/3=18 Exploring Operation: 36/3=12, Resulting Numbers: [54, 29, 12] Generated Node #0,4: 48:[54, 29, 12] Operation: 36/3=12 Moving to Node #0,0 Current State: 48:[29, 3, 18], Operations: ['54-36=18'] Exploring Operation: 18/3=6, Resulting Numbers: [29, 6] Generated Node #0,0,0: 48:[29, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [29, 15] Generated Node #0,0,1: 48:[29, 15] Operation: 18-3=15 Exploring Operation: 29+18=47, Resulting Numbers: [3, 47] Generated Node #0,0,2: 48:[3, 47] Operation: 29+18=47 Exploring Operation: 29-18=11, Resulting Numbers: [3, 11] Generated Node #0,0,3: 48:[3, 11] Operation: 29-18=11 Exploring Operation: 29-3=26, Resulting Numbers: [18, 26] Generated Node #0,0,4: 48:[18, 26] Operation: 29-3=26 Moving to Node #0,1 Current State: 48:[54, 3, 7], Operations: ['36-29=7'] Exploring Operation: 54-7=47, Resulting Numbers: [3, 47] Generated Node #0,1,0: 48:[3, 47] Operation: 54-7=47 Exploring Operation: 54/3=18, Resulting Numbers: [7, 18] Generated Node #0,1,1: 48:[7, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [7, 51] Generated Node #0,1,2: 48:[7, 51] Operation: 54-3=51 Exploring Operation: 3+7=10, Resulting Numbers: [54, 10] Generated Node #0,1,3: 48:[54, 10] Operation: 3+7=10 Exploring Operation: 7-3=4, Resulting Numbers: [54, 4] Generated Node #0,1,4: 48:[54, 4] Operation: 7-3=4 Moving to Node #0,4 Current State: 48:[54, 29, 12], Operations: ['36/3=12'] Exploring Operation: 54-12=42, Resulting Numbers: [29, 42] Generated Node #0,4,0: 48:[29, 42] Operation: 54-12=42 Exploring Operation: 29+12=41, Resulting Numbers: [54, 41] Generated Node #0,4,1: 48:[54, 41] Operation: 29+12=41 Exploring Operation: 54-29=25, Resulting Numbers: [12, 25] Generated Node #0,4,2: 48:[12, 25] Operation: 54-29=25 Exploring Operation: 54+12=66, Resulting Numbers: [29, 66] Generated Node #0,4,3: 48:[29, 66] Operation: 54+12=66 Exploring Operation: 29-12=17, Resulting Numbers: [54, 17] Generated Node #0,4,4: 48:[54, 17] Operation: 29-12=17 Moving to Node #0,2 Current State: 48:[3, 36, 25], Operations: ['54-29=25'] Exploring Operation: 36+25=61, Resulting Numbers: [3, 61] Generated Node #0,2,0: 48:[3, 61] Operation: 36+25=61 Exploring Operation: 3+36=39, Resulting Numbers: [25, 39] Generated Node #0,2,1: 48:[25, 39] Operation: 3+36=39 Exploring Operation: 36/3=12, Resulting Numbers: [25, 12] Generated Node #0,2,2: 48:[25, 12] Operation: 36/3=12 Exploring Operation: 36-25=11, Resulting Numbers: [3, 11] Generated Node #0,2,3: 48:[3, 11] Operation: 36-25=11 Exploring Operation: 36-3=33, Resulting Numbers: [25, 33] Generated Node #0,2,4: 48:[25, 33] Operation: 36-3=33 Moving to Node #0,3 Current State: 48:[29, 36, 18], Operations: ['54/3=18'] Exploring Operation: 29+18=47, Resulting Numbers: [36, 47] Generated Node #0,3,0: 48:[36, 47] Operation: 29+18=47 Exploring Operation: 36-18=18, Resulting Numbers: [29, 18] Generated Node #0,3,1: 48:[29, 18] Operation: 36-18=18 Exploring Operation: 36+18=54, Resulting Numbers: [29, 54] Generated Node #0,3,2: 48:[29, 54] Operation: 36+18=54 Exploring Operation: 36/18=2, Resulting Numbers: [29, 2] Generated Node #0,3,3: 48:[29, 2] Operation: 36/18=2 Exploring Operation: 36-29=7, Resulting Numbers: [18, 7] Generated Node #0,3,4: 48:[18, 7] Operation: 36-29=7 Moving to Node #0,0,2 Current State: 48:[3, 47], Operations: ['54-36=18', '29+18=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[3, 47], Operations: ['36-29=7', '54-7=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[3, 11], Operations: ['54-36=18', '29-18=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[12, 25], Operations: ['36/3=12', '54-29=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,48 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[25, 12], Operations: ['54-29=25', '36/3=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[3, 11], Operations: ['54-29=25', '36-25=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[7, 18], Operations: ['36-29=7', '54/3=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[18, 7], Operations: ['54/3=18', '36-29=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[18, 26], Operations: ['54-36=18', '29-3=26'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,48 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[7, 51], Operations: ['36-29=7', '54-3=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,48 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[29, 2], Operations: ['54/3=18', '36/18=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,48 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[29, 6], Operations: ['54-36=18', '18/3=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,48 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[54, 4], Operations: ['36-29=7', '7-3=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[29, 15], Operations: ['54-36=18', '18-3=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[54, 17], Operations: ['36/3=12', '29-12=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,48 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[29, 18], Operations: ['54/3=18', '36-18=18'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[54, 10], Operations: ['36-29=7', '3+7=10'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 54*10=540, Resulting Numbers: [540] 540,48 unequal: No Solution Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[25, 39], Operations: ['54-29=25', '3+36=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,48 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,48 unequal: No Solution Moving to Node #0,2,4 Current State: 48:[25, 33], Operations: ['54-29=25', '36-3=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,48 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[29, 42], Operations: ['36/3=12', '54-12=42'] Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[29, 54], Operations: ['54/3=18', '36+18=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,48 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[54, 41], Operations: ['36/3=12', '29+12=41'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,48 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[36, 47], Operations: ['54/3=18', '29+18=47'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,48 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[3, 61], Operations: ['54-29=25', '36+25=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[29, 66], Operations: ['36/3=12', '54+12=66'] Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,48 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 47, 54, 2, 13 ]
40
[ "54-47=7", "13+7=20", "2*20=40" ]
Current State: 40:[47, 54, 2, 13], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [2, 13, 7] Generated Node #2: [2, 13, 7] from Operation: 54-47=7 Current State: 40:[2, 13, 7], Operations: ['54-47=7'] Exploring Operation: 13+7=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 13+7=20 Current State: 40:[2, 20], Operations: ['54-47=7', '13+7=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[47, 54, 2, 13], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [2, 13, 7] Generated Node #0,0: 40:[2, 13, 7] Operation: 54-47=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[2, 13, 7], Operations: ['54-47=7'] Exploring Operation: 13+7=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 40:[2, 20] Operation: 13+7=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[2, 20], Operations: ['54-47=7', '13+7=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[47, 54, 2, 13], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [2, 13, 7] Generated Node #0,0: 40:[2, 13, 7] Operation: 54-47=7 Moving to Node #0,0 Current State: 40:[2, 13, 7], Operations: ['54-47=7'] Exploring Operation: 13+7=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 40:[2, 20] Operation: 13+7=20 Moving to Node #0,0,0 Current State: 40:[2, 20], Operations: ['54-47=7', '13+7=20'] Exploring Operation: 2*20=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
sum_heuristic
[ 90, 67, 12, 19 ]
30
[ "90-67=23", "19-12=7", "23+7=30" ]
Current State: 30:[90, 67, 12, 19], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [12, 19, 23] Generated Node #2: [12, 19, 23] from Operation: 90-67=23 Current State: 30:[12, 19, 23], Operations: ['90-67=23'] Exploring Operation: 19-12=7, Resulting Numbers: [23, 7] Generated Node #3: [23, 7] from Operation: 19-12=7 Current State: 30:[23, 7], Operations: ['90-67=23', '19-12=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[90, 67, 12, 19], Operations: [] Exploring Operation: 67-19=48, Resulting Numbers: [90, 12, 48] Generated Node #0,0: 30:[90, 12, 48] Operation: 67-19=48 Exploring Operation: 90-19=71, Resulting Numbers: [67, 12, 71] Generated Node #0,1: 30:[67, 12, 71] Operation: 90-19=71 Exploring Operation: 90-67=23, Resulting Numbers: [12, 19, 23] Generated Node #0,2: 30:[12, 19, 23] Operation: 90-67=23 Moving to Node #0,2 Current State: 30:[12, 19, 23], Operations: ['90-67=23'] Exploring Operation: 12+19=31, Resulting Numbers: [23, 31] Generated Node #0,2,0: 30:[23, 31] Operation: 12+19=31 Exploring Operation: 23-19=4, Resulting Numbers: [12, 4] Generated Node #0,2,1: 30:[12, 4] Operation: 23-19=4 Exploring Operation: 23-12=11, Resulting Numbers: [19, 11] Generated Node #0,2,2: 30:[19, 11] Operation: 23-12=11 Moving to Node #0,0 Current State: 30:[90, 12, 48], Operations: ['67-19=48'] Exploring Operation: 48/12=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 30:[90, 4] Operation: 48/12=4 Exploring Operation: 90-12=78, Resulting Numbers: [48, 78] Generated Node #0,0,1: 30:[48, 78] Operation: 90-12=78 Exploring Operation: 90-48=42, Resulting Numbers: [12, 42] Generated Node #0,0,2: 30:[12, 42] Operation: 90-48=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[12, 42], Operations: ['67-19=48', '90-48=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[90, 67, 12, 19], Operations: [] Exploring Operation: 67-19=48, Resulting Numbers: [90, 12, 48] Generated Node #0,0: 30:[90, 12, 48] Operation: 67-19=48 Moving to Node #0,0 Current State: 30:[90, 12, 48], Operations: ['67-19=48'] Exploring Operation: 90-48=42, Resulting Numbers: [12, 42] Generated Node #0,0,2: 30:[12, 42] Operation: 90-48=42 Moving to Node #0,0,2 Current State: 30:[12, 42], Operations: ['67-19=48', '90-48=42'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 39, 93, 52, 23 ]
25
[ "93-39=54", "52-23=29", "54-29=25" ]
Current State: 25:[39, 93, 52, 23], Operations: [] Exploring Operation: 93-39=54, Resulting Numbers: [52, 23, 54] Generated Node #2: [52, 23, 54] from Operation: 93-39=54 Current State: 25:[52, 23, 54], Operations: ['93-39=54'] Exploring Operation: 52-23=29, Resulting Numbers: [54, 29] Generated Node #3: [54, 29] from Operation: 52-23=29 Current State: 25:[54, 29], Operations: ['93-39=54', '52-23=29'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[39, 93, 52, 23], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [39, 23, 41] Generated Node #0,0: 25:[39, 23, 41] Operation: 93-52=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[39, 23, 41], Operations: ['93-52=41'] Exploring Operation: 41-39=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 25:[23, 2] Operation: 41-39=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[23, 2], Operations: ['93-52=41', '41-39=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[39, 93, 52, 23], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [39, 23, 41] Generated Node #0,0: 25:[39, 23, 41] Operation: 93-52=41 Moving to Node #0,0 Current State: 25:[39, 23, 41], Operations: ['93-52=41'] Exploring Operation: 41-39=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 25:[23, 2] Operation: 41-39=2 Moving to Node #0,0,0 Current State: 25:[23, 2], Operations: ['93-52=41', '41-39=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 20, 60, 80, 46 ]
31
[ "20*60=1200", "1200/80=15", "46-15=31" ]
Current State: 31:[20, 60, 80, 46], Operations: [] Exploring Operation: 20*60=1200, Resulting Numbers: [80, 46, 1200] Generated Node #2: [80, 46, 1200] from Operation: 20*60=1200 Current State: 31:[80, 46, 1200], Operations: ['20*60=1200'] Exploring Operation: 1200/80=15, Resulting Numbers: [46, 15] Generated Node #3: [46, 15] from Operation: 1200/80=15 Current State: 31:[46, 15], Operations: ['20*60=1200', '1200/80=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 60, 80, 46], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [20, 60, 34] Generated Node #0,0: 31:[20, 60, 34] Operation: 80-46=34 Exploring Operation: 80-60=20, Resulting Numbers: [20, 46, 20] Generated Node #0,1: 31:[20, 46, 20] Operation: 80-60=20 Exploring Operation: 80/20=4, Resulting Numbers: [60, 46, 4] Generated Node #0,2: 31:[60, 46, 4] Operation: 80/20=4 Moving to Node #0,1 Current State: 31:[20, 46, 20], Operations: ['80-60=20'] Exploring Operation: 20+20=40, Resulting Numbers: [46, 40] Generated Node #0,1,0: 31:[46, 40] Operation: 20+20=40 Exploring Operation: 46-20=26, Resulting Numbers: [20, 26] Generated Node #0,1,1: 31:[20, 26] Operation: 46-20=26 Exploring Operation: 46-20=26, Resulting Numbers: [20, 26] Generated Node #0,1,2: 31:[20, 26] Operation: 46-20=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[20, 26], Operations: ['80-60=20', '46-20=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,31 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,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,1,2 Current State: 31:[20, 26], Operations: ['80-60=20', '46-20=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,31 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,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,1,0 Current State: 31:[46, 40], Operations: ['80-60=20', '20+20=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,31 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,31 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: 31:[20, 60, 34], Operations: ['80-46=34'] Exploring Operation: 60-20=40, Resulting Numbers: [34, 40] Generated Node #0,0,0: 31:[34, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [34, 3] Generated Node #0,0,1: 31:[34, 3] Operation: 60/20=3 Exploring Operation: 60-34=26, Resulting Numbers: [20, 26] Generated Node #0,0,2: 31:[20, 26] Operation: 60-34=26 Moving to Node #0,2 Current State: 31:[60, 46, 4], Operations: ['80/20=4'] Exploring Operation: 46-4=42, Resulting Numbers: [60, 42] Generated Node #0,2,0: 31:[60, 42] Operation: 46-4=42 Exploring Operation: 60/4=15, Resulting Numbers: [46, 15] Generated Node #0,2,1: 31:[46, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [46, 56] Generated Node #0,2,2: 31:[46, 56] Operation: 60-4=56 Moving to Node #0,0,0 Current State: 31:[34, 40], Operations: ['80-46=34', '60-20=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,31 unequal: No Solution Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,31 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[20, 26], Operations: ['80-46=34', '60-34=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,31 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[34, 3], Operations: ['80-46=34', '60/20=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[20, 60, 80, 46], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [20, 60, 34] Generated Node #0,0: 31:[20, 60, 34] Operation: 80-46=34 Moving to Node #0,0 Current State: 31:[20, 60, 34], Operations: ['80-46=34'] Exploring Operation: 60/20=3, Resulting Numbers: [34, 3] Generated Node #0,0,1: 31:[34, 3] Operation: 60/20=3 Moving to Node #0,0,1 Current State: 31:[34, 3], Operations: ['80-46=34', '60/20=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.971354
hs_3
mult_heuristic
[ 6, 87, 99, 3 ]
52
[ "6+99=105", "105/3=35", "87-35=52" ]
Current State: 52:[6, 87, 99, 3], Operations: [] Exploring Operation: 6+99=105, Resulting Numbers: [87, 3, 105] Generated Node #2: [87, 3, 105] from Operation: 6+99=105 Current State: 52:[87, 3, 105], Operations: ['6+99=105'] Exploring Operation: 105/3=35, Resulting Numbers: [87, 35] Generated Node #3: [87, 35] from Operation: 105/3=35 Current State: 52:[87, 35], Operations: ['6+99=105', '105/3=35'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[6, 87, 99, 3], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [6, 87, 33] Generated Node #0,0: 52:[6, 87, 33] Operation: 99/3=33 Exploring Operation: 87-6=81, Resulting Numbers: [99, 3, 81] Generated Node #0,1: 52:[99, 3, 81] Operation: 87-6=81 Exploring Operation: 87/3=29, Resulting Numbers: [6, 99, 29] Generated Node #0,2: 52:[6, 99, 29] Operation: 87/3=29 Exploring Operation: 99-87=12, Resulting Numbers: [6, 3, 12] Generated Node #0,3: 52:[6, 3, 12] Operation: 99-87=12 Moving to Node #0,3 Current State: 52:[6, 3, 12], Operations: ['99-87=12'] Exploring Operation: 6-3=3, Resulting Numbers: [12, 3] Generated Node #0,3,0: 52:[12, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [12, 2] Generated Node #0,3,1: 52:[12, 2] Operation: 6/3=2 Exploring Operation: 12/3=4, Resulting Numbers: [6, 4] Generated Node #0,3,2: 52:[6, 4] Operation: 12/3=4 Exploring Operation: 12/6=2, Resulting Numbers: [3, 2] Generated Node #0,3,3: 52:[3, 2] Operation: 12/6=2 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[12, 2], Operations: ['99-87=12', '6/3=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[3, 2], Operations: ['99-87=12', '12/6=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[12, 3], Operations: ['99-87=12', '6-3=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[6, 4], Operations: ['99-87=12', '12/3=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 52:[6, 87, 33], Operations: ['99/3=33'] Exploring Operation: 87-33=54, Resulting Numbers: [6, 54] Generated Node #0,0,0: 52:[6, 54] Operation: 87-33=54 Exploring Operation: 6+87=93, Resulting Numbers: [33, 93] Generated Node #0,0,1: 52:[33, 93] Operation: 6+87=93 Exploring Operation: 87-6=81, Resulting Numbers: [33, 81] Generated Node #0,0,2: 52:[33, 81] Operation: 87-6=81 Exploring Operation: 33-6=27, Resulting Numbers: [87, 27] Generated Node #0,0,3: 52:[87, 27] Operation: 33-6=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[6, 54], Operations: ['99/3=33', '87-33=54'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,52 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[33, 81], Operations: ['99/3=33', '87-6=81'] Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,52 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[87, 27], Operations: ['99/3=33', '33-6=27'] Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,52 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[33, 93], Operations: ['99/3=33', '6+87=93'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 33*93=3069, Resulting Numbers: [3069] 3069,52 unequal: No Solution Exploring Operation: 33+93=126, Resulting Numbers: [126] 126,52 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: 52:[6, 99, 29], Operations: ['87/3=29'] Exploring Operation: 99-29=70, Resulting Numbers: [6, 70] Generated Node #0,2,0: 52:[6, 70] Operation: 99-29=70 Exploring Operation: 29-6=23, Resulting Numbers: [99, 23] Generated Node #0,2,1: 52:[99, 23] Operation: 29-6=23 Exploring Operation: 99-6=93, Resulting Numbers: [29, 93] Generated Node #0,2,2: 52:[29, 93] Operation: 99-6=93 Exploring Operation: 6+99=105, Resulting Numbers: [29, 105] Generated Node #0,2,3: 52:[29, 105] Operation: 6+99=105 Moving to Node #0,1 Current State: 52:[99, 3, 81], Operations: ['87-6=81'] Exploring Operation: 99-81=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 52:[3, 18] Operation: 99-81=18 Exploring Operation: 99/3=33, Resulting Numbers: [81, 33] Generated Node #0,1,1: 52:[81, 33] Operation: 99/3=33 Exploring Operation: 99-3=96, Resulting Numbers: [81, 96] Generated Node #0,1,2: 52:[81, 96] Operation: 99-3=96 Exploring Operation: 81/3=27, Resulting Numbers: [99, 27] Generated Node #0,1,3: 52:[99, 27] Operation: 81/3=27 Moving to Node #0,1,0 Current State: 52:[3, 18], Operations: ['87-6=81', '99-81=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,52 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[6, 70], Operations: ['87/3=29', '99-29=70'] Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,52 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[81, 33], Operations: ['87-6=81', '99/3=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,52 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[29, 93], Operations: ['87/3=29', '99-6=93'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 29*93=2697, Resulting Numbers: [2697] 2697,52 unequal: No Solution Exploring Operation: 29+93=122, Resulting Numbers: [122] 122,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[99, 27], Operations: ['87-6=81', '81/3=27'] Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,52 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[99, 23], Operations: ['87/3=29', '29-6=23'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 99*23=2277, Resulting Numbers: [2277] 2277,52 unequal: No Solution Exploring Operation: 99+23=122, Resulting Numbers: [122] 122,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[29, 105], Operations: ['87/3=29', '6+99=105'] Exploring Operation: 29+105=134, Resulting Numbers: [134] 134,52 unequal: No Solution Exploring Operation: 105-29=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 29*105=3045, Resulting Numbers: [3045] 3045,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[81, 96], Operations: ['87-6=81', '99-3=96'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 81*96=7776, Resulting Numbers: [7776] 7776,52 unequal: No Solution Exploring Operation: 81+96=177, Resulting Numbers: [177] 177,52 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 58, 20, 48, 38 ]
19
[ "58-48=10", "20/10=2", "38/2=19" ]
Current State: 19:[58, 20, 48, 38], Operations: [] Exploring Operation: 58-48=10, Resulting Numbers: [20, 38, 10] Generated Node #2: [20, 38, 10] from Operation: 58-48=10 Current State: 19:[20, 38, 10], Operations: ['58-48=10'] Exploring Operation: 20/10=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 20/10=2 Current State: 19:[38, 2], Operations: ['58-48=10', '20/10=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[58, 20, 48, 38], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [20, 48, 20] Generated Node #0,0: 19:[20, 48, 20] Operation: 58-38=20 Exploring Operation: 48-38=10, Resulting Numbers: [58, 20, 10] Generated Node #0,1: 19:[58, 20, 10] Operation: 48-38=10 Exploring Operation: 58-48=10, Resulting Numbers: [20, 38, 10] Generated Node #0,2: 19:[20, 38, 10] Operation: 58-48=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[20, 38, 10], Operations: ['58-48=10'] Exploring Operation: 38-20=18, Resulting Numbers: [10, 18] Generated Node #0,2,0: 19:[10, 18] Operation: 38-20=18 Exploring Operation: 20-10=10, Resulting Numbers: [38, 10] Generated Node #0,2,1: 19:[38, 10] Operation: 20-10=10 Exploring Operation: 38-10=28, Resulting Numbers: [20, 28] Generated Node #0,2,2: 19:[20, 28] Operation: 38-10=28 Moving to Node #0,2,0 Current State: 19:[10, 18], Operations: ['58-48=10', '38-20=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,19 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[20, 28], Operations: ['58-48=10', '38-10=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[38, 10], Operations: ['58-48=10', '20-10=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,19 unequal: No Solution No 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: 19:[20, 48, 20], Operations: ['58-38=20'] Exploring Operation: 48-20=28, Resulting Numbers: [20, 28] Generated Node #0,0,0: 19:[20, 28] Operation: 48-20=28 Exploring Operation: 20/20=1, Resulting Numbers: [48, 1] Generated Node #0,0,1: 19:[48, 1] Operation: 20/20=1 Exploring Operation: 48-20=28, Resulting Numbers: [20, 28] Generated Node #0,0,2: 19:[20, 28] Operation: 48-20=28 Moving to Node #0,0,0 Current State: 19:[20, 28], Operations: ['58-38=20', '48-20=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[20, 28], Operations: ['58-38=20', '48-20=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[48, 1], Operations: ['58-38=20', '20/20=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,19 unequal: No Solution No solution 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: 19:[58, 20, 10], Operations: ['48-38=10'] Exploring Operation: 20-10=10, Resulting Numbers: [58, 10] Generated Node #0,1,0: 19:[58, 10] Operation: 20-10=10 Exploring Operation: 58-20=38, Resulting Numbers: [10, 38] Generated Node #0,1,1: 19:[10, 38] Operation: 58-20=38 Exploring Operation: 58-10=48, Resulting Numbers: [20, 48] Generated Node #0,1,2: 19:[20, 48] Operation: 58-10=48 Moving to Node #0,1,1 Current State: 19:[10, 38], Operations: ['48-38=10', '58-20=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,19 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[20, 48], Operations: ['48-38=10', '58-10=48'] Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,19 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,19 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[58, 10], Operations: ['48-38=10', '20-10=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,19 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,19 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
[ 22, 14, 11, 77 ]
74
[ "22-14=8", "77-11=66", "8+66=74" ]
Current State: 74:[22, 14, 11, 77], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [11, 77, 8] Generated Node #2: [11, 77, 8] from Operation: 22-14=8 Current State: 74:[11, 77, 8], Operations: ['22-14=8'] Exploring Operation: 77-11=66, Resulting Numbers: [8, 66] Generated Node #3: [8, 66] from Operation: 77-11=66 Current State: 74:[8, 66], Operations: ['22-14=8', '77-11=66'] Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[22, 14, 11, 77], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [14, 77, 2] Generated Node #0,0: 74:[14, 77, 2] Operation: 22/11=2 Exploring Operation: 22+14=36, Resulting Numbers: [11, 77, 36] Generated Node #0,1: 74:[11, 77, 36] Operation: 22+14=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[11, 77, 36], Operations: ['22+14=36'] Exploring Operation: 77-11=66, Resulting Numbers: [36, 66] Generated Node #0,1,0: 74:[36, 66] Operation: 77-11=66 Exploring Operation: 77/11=7, Resulting Numbers: [36, 7] Generated Node #0,1,1: 74:[36, 7] Operation: 77/11=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[36, 7], Operations: ['22+14=36', '77/11=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[36, 66], Operations: ['22+14=36', '77-11=66'] Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[14, 77, 2], Operations: ['22/11=2'] Exploring Operation: 77-14=63, Resulting Numbers: [2, 63] Generated Node #0,0,0: 74:[2, 63] Operation: 77-14=63 Exploring Operation: 14/2=7, Resulting Numbers: [77, 7] Generated Node #0,0,1: 74:[77, 7] Operation: 14/2=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[77, 7], Operations: ['22/11=2', '14/2=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[2, 63], Operations: ['22/11=2', '77-14=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 98, 42, 21, 42 ]
77
[ "98+42=140", "21+42=63", "140-63=77" ]
Current State: 77:[98, 42, 21, 42], Operations: [] Exploring Operation: 98+42=140, Resulting Numbers: [21, 140] Generated Node #2: [21, 140] from Operation: 98+42=140 Current State: 77:[21, 140], Operations: ['98+42=140'] Exploring Operation: 21+42=63, Resulting Numbers: [140, 63] Generated Node #3: [140, 63] from Operation: 21+42=63 Current State: 77:[140, 63], Operations: ['98+42=140', '21+42=63'] Exploring Operation: 140-63=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[98, 42, 21, 42], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [98, 21, 1] Generated Node #0,0: 77:[98, 21, 1] Operation: 42/42=1 Exploring Operation: 42/21=2, Resulting Numbers: [98, 42, 2] Generated Node #0,1: 77:[98, 42, 2] Operation: 42/21=2 Exploring Operation: 42-42=0, Resulting Numbers: [98, 21, 0] Generated Node #0,2: 77:[98, 21, 0] Operation: 42-42=0 Exploring Operation: 42+42=84, Resulting Numbers: [98, 21, 84] Generated Node #0,3: 77:[98, 21, 84] Operation: 42+42=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[98, 21, 1], Operations: ['42/42=1'] Exploring Operation: 98*1=98, Resulting Numbers: [21, 98] Generated Node #0,0,0: 77:[21, 98] Operation: 98*1=98 Exploring Operation: 21-1=20, Resulting Numbers: [98, 20] Generated Node #0,0,1: 77:[98, 20] Operation: 21-1=20 Exploring Operation: 98-1=97, Resulting Numbers: [21, 97] Generated Node #0,0,2: 77:[21, 97] Operation: 98-1=97 Exploring Operation: 98-21=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 77:[1, 77] Operation: 98-21=77 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 77:[1, 77], Operations: ['42/42=1', '98-21=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[98, 42, 21, 42], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [98, 21, 1] Generated Node #0,0: 77:[98, 21, 1] Operation: 42/42=1 Moving to Node #0,0 Current State: 77:[98, 21, 1], Operations: ['42/42=1'] Exploring Operation: 98-21=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 77:[1, 77] Operation: 98-21=77 Moving to Node #0,0,3 Current State: 77:[1, 77], Operations: ['42/42=1', '98-21=77'] Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 93, 86, 6, 29 ]
42
[ "93-86=7", "6+29=35", "7+35=42" ]
Current State: 42:[93, 86, 6, 29], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [6, 29, 7] Generated Node #2: [6, 29, 7] from Operation: 93-86=7 Current State: 42:[6, 29, 7], Operations: ['93-86=7'] Exploring Operation: 6+29=35, Resulting Numbers: [7, 35] Generated Node #3: [7, 35] from Operation: 6+29=35 Current State: 42:[7, 35], Operations: ['93-86=7', '6+29=35'] Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[93, 86, 6, 29], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [86, 6, 64] Generated Node #0,0: 42:[86, 6, 64] Operation: 93-29=64 Exploring Operation: 93-86=7, Resulting Numbers: [6, 29, 7] Generated Node #0,1: 42:[6, 29, 7] Operation: 93-86=7 Moving to Node #0,1 Current State: 42:[6, 29, 7], Operations: ['93-86=7'] Exploring Operation: 29-7=22, Resulting Numbers: [6, 22] Generated Node #0,1,0: 42:[6, 22] Operation: 29-7=22 Exploring Operation: 29-6=23, Resulting Numbers: [7, 23] Generated Node #0,1,1: 42:[7, 23] Operation: 29-6=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[6, 22], Operations: ['93-86=7', '29-7=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[7, 23], Operations: ['93-86=7', '29-6=23'] Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,42 unequal: No Solution 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 Moving to Node #0,0 Current State: 42:[86, 6, 64], Operations: ['93-29=64'] Exploring Operation: 86-6=80, Resulting Numbers: [64, 80] Generated Node #0,0,0: 42:[64, 80] Operation: 86-6=80 Exploring Operation: 86-64=22, Resulting Numbers: [6, 22] Generated Node #0,0,1: 42:[6, 22] Operation: 86-64=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[6, 22], Operations: ['93-29=64', '86-64=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[64, 80], Operations: ['93-29=64', '86-6=80'] Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,42 unequal: No Solution Exploring Operation: 80-64=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_2
mult_heuristic
[ 42, 32, 42, 4 ]
96
[ "42/42=1", "4-1=3", "32*3=96" ]
Current State: 96:[42, 32, 42, 4], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [32, 4, 1] Generated Node #2: [32, 4, 1] from Operation: 42/42=1 Current State: 96:[32, 4, 1], Operations: ['42/42=1'] Exploring Operation: 4-1=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 4-1=3 Current State: 96:[32, 3], Operations: ['42/42=1', '4-1=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[42, 32, 42, 4], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [32, 4, 1] Generated Node #0,0: 96:[32, 4, 1] Operation: 42/42=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[32, 4, 1], Operations: ['42/42=1'] Exploring Operation: 32*1=32, Resulting Numbers: [4, 32] Generated Node #0,0,0: 96:[4, 32] Operation: 32*1=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[4, 32], Operations: ['42/42=1', '32*1=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 33, 41, 85, 8 ]
85
[ "41-33=8", "85+8=93", "93-8=85" ]
Current State: 85:[33, 41, 85, 8], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [85, 8, 8] Generated Node #2: [85, 8, 8] from Operation: 41-33=8 Current State: 85:[85, 8, 8], Operations: ['41-33=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,85 equal: Goal Reached Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[33, 41, 85, 8], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [85, 8, 8] Generated Node #0,0: 85:[85, 8, 8] Operation: 41-33=8 Exploring Operation: 33-8=25, Resulting Numbers: [41, 85, 25] Generated Node #0,1: 85:[41, 85, 25] Operation: 33-8=25 Exploring Operation: 33+41=74, Resulting Numbers: [85, 8, 74] Generated Node #0,2: 85:[85, 8, 74] Operation: 33+41=74 Exploring Operation: 41-8=33, Resulting Numbers: [33, 85, 33] Generated Node #0,3: 85:[33, 85, 33] Operation: 41-8=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[85, 8, 8], Operations: ['41-33=8'] Exploring Operation: 8/8=1, Resulting Numbers: [85, 1] Generated Node #0,0,0: 85:[85, 1] Operation: 8/8=1 Exploring Operation: 85+8=93, Resulting Numbers: [8, 93] Generated Node #0,0,1: 85:[8, 93] Operation: 85+8=93 Exploring Operation: 8+8=16, Resulting Numbers: [85, 16] Generated Node #0,0,2: 85:[85, 16] Operation: 8+8=16 Exploring Operation: 8-8=0, Resulting Numbers: [85, 0] Generated Node #0,0,3: 85:[85, 0] Operation: 8-8=0 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[85, 16], Operations: ['41-33=8', '8+8=16'] Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 85*16=1360, Resulting Numbers: [1360] 1360,85 unequal: No Solution Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[85, 1], Operations: ['41-33=8', '8/8=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[33, 41, 85, 8], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [85, 8, 8] Generated Node #0,0: 85:[85, 8, 8] Operation: 41-33=8 Moving to Node #0,0 Current State: 85:[85, 8, 8], Operations: ['41-33=8'] Exploring Operation: 8/8=1, Resulting Numbers: [85, 1] Generated Node #0,0,0: 85:[85, 1] Operation: 8/8=1 Moving to Node #0,0,0 Current State: 85:[85, 1], Operations: ['41-33=8', '8/8=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 11, 78, 36, 41 ]
23
[ "41-36=5", "11*5=55", "78-55=23" ]
Current State: 23:[11, 78, 36, 41], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [11, 78, 5] Generated Node #2: [11, 78, 5] from Operation: 41-36=5 Current State: 23:[11, 78, 5], Operations: ['41-36=5'] Exploring Operation: 11*5=55, Resulting Numbers: [78, 55] Generated Node #3: [78, 55] from Operation: 11*5=55 Current State: 23:[78, 55], Operations: ['41-36=5', '11*5=55'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[11, 78, 36, 41], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [11, 41, 42] Generated Node #0,0: 23:[11, 41, 42] Operation: 78-36=42 Exploring Operation: 78-11=67, Resulting Numbers: [36, 41, 67] Generated Node #0,1: 23:[36, 41, 67] Operation: 78-11=67 Exploring Operation: 36-11=25, Resulting Numbers: [78, 41, 25] Generated Node #0,2: 23:[78, 41, 25] Operation: 36-11=25 Exploring Operation: 78-41=37, Resulting Numbers: [11, 36, 37] Generated Node #0,3: 23:[11, 36, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[11, 36, 37], Operations: ['78-41=37'] Exploring Operation: 11+36=47, Resulting Numbers: [37, 47] Generated Node #0,3,0: 23:[37, 47] Operation: 11+36=47 Exploring Operation: 37-11=26, Resulting Numbers: [36, 26] Generated Node #0,3,1: 23:[36, 26] Operation: 37-11=26 Exploring Operation: 37-36=1, Resulting Numbers: [11, 1] Generated Node #0,3,2: 23:[11, 1] Operation: 37-36=1 Exploring Operation: 36-11=25, Resulting Numbers: [37, 25] Generated Node #0,3,3: 23:[37, 25] Operation: 36-11=25 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[36, 26], Operations: ['78-41=37', '37-11=26'] Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,23 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 23:[37, 25], Operations: ['78-41=37', '36-11=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,23 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[11, 1], Operations: ['78-41=37', '37-36=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[37, 47], Operations: ['78-41=37', '11+36=47'] Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,23 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[11, 41, 42], Operations: ['78-36=42'] Exploring Operation: 11+41=52, Resulting Numbers: [42, 52] Generated Node #0,0,0: 23:[42, 52] Operation: 11+41=52 Exploring Operation: 41-11=30, Resulting Numbers: [42, 30] Generated Node #0,0,1: 23:[42, 30] Operation: 41-11=30 Exploring Operation: 42-11=31, Resulting Numbers: [41, 31] Generated Node #0,0,2: 23:[41, 31] Operation: 42-11=31 Exploring Operation: 42-41=1, Resulting Numbers: [11, 1] Generated Node #0,0,3: 23:[11, 1] Operation: 42-41=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[42, 30], Operations: ['78-36=42', '41-11=30'] Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[41, 31], Operations: ['78-36=42', '42-11=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,23 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 23:[11, 1], Operations: ['78-36=42', '42-41=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[42, 52], Operations: ['78-36=42', '11+41=52'] Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,23 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,23 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[36, 41, 67], Operations: ['78-11=67'] Exploring Operation: 36+41=77, Resulting Numbers: [67, 77] Generated Node #0,1,0: 23:[67, 77] Operation: 36+41=77 Exploring Operation: 41-36=5, Resulting Numbers: [67, 5] Generated Node #0,1,1: 23:[67, 5] Operation: 41-36=5 Exploring Operation: 67-36=31, Resulting Numbers: [41, 31] Generated Node #0,1,2: 23:[41, 31] Operation: 67-36=31 Exploring Operation: 67-41=26, Resulting Numbers: [36, 26] Generated Node #0,1,3: 23:[36, 26] Operation: 67-41=26 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 23:[36, 26], Operations: ['78-11=67', '67-41=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,23 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[41, 31], Operations: ['78-11=67', '67-36=31'] Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,23 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[67, 5], Operations: ['78-11=67', '41-36=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[67, 77], Operations: ['78-11=67', '36+41=77'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,23 unequal: No Solution Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[78, 41, 25], Operations: ['36-11=25'] Exploring Operation: 41-25=16, Resulting Numbers: [78, 16] Generated Node #0,2,0: 23:[78, 16] Operation: 41-25=16 Exploring Operation: 78-41=37, Resulting Numbers: [25, 37] Generated Node #0,2,1: 23:[25, 37] Operation: 78-41=37 Exploring Operation: 78+41=119, Resulting Numbers: [25, 119] Generated Node #0,2,2: 23:[25, 119] Operation: 78+41=119 Exploring Operation: 78-25=53, Resulting Numbers: [41, 53] Generated Node #0,2,3: 23:[41, 53] Operation: 78-25=53 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[25, 37], Operations: ['36-11=25', '78-41=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 23:[41, 53], Operations: ['36-11=25', '78-25=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,23 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[78, 16], Operations: ['36-11=25', '41-25=16'] Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,23 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[25, 119], Operations: ['36-11=25', '78+41=119'] Exploring Operation: 119-25=94, Resulting Numbers: [94] 94,23 unequal: No Solution Exploring Operation: 25+119=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 25*119=2975, Resulting Numbers: [2975] 2975,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 43, 74, 93, 74 ]
43
[ "74-74=0", "93*0=0", "43+0=43" ]
Current State: 43:[43, 74, 93, 74], Operations: [] Exploring Operation: 74-74=0, Resulting Numbers: [43, 93, 0] Generated Node #2: [43, 93, 0] from Operation: 74-74=0 Current State: 43:[43, 93, 0], Operations: ['74-74=0'] Exploring Operation: 93*0=0, Resulting Numbers: [43, 0] Generated Node #3: [43, 0] from Operation: 93*0=0 Current State: 43:[43, 0], Operations: ['74-74=0', '93*0=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[43, 74, 93, 74], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [74, 74, 50] Generated Node #0,0: 43:[74, 74, 50] Operation: 93-43=50 Exploring Operation: 93-74=19, Resulting Numbers: [43, 74, 19] Generated Node #0,1: 43:[43, 74, 19] Operation: 93-74=19 Exploring Operation: 93-74=19, Resulting Numbers: [43, 74, 19] Generated Node #0,2: 43:[43, 74, 19] Operation: 93-74=19 Moving to Node #0,1 Current State: 43:[43, 74, 19], Operations: ['93-74=19'] Exploring Operation: 43+19=62, Resulting Numbers: [74, 62] Generated Node #0,1,0: 43:[74, 62] Operation: 43+19=62 Exploring Operation: 74-19=55, Resulting Numbers: [43, 55] Generated Node #0,1,1: 43:[43, 55] Operation: 74-19=55 Exploring Operation: 74-43=31, Resulting Numbers: [19, 31] Generated Node #0,1,2: 43:[19, 31] Operation: 74-43=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[43, 55], Operations: ['93-74=19', '74-19=55'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 43*55=2365, Resulting Numbers: [2365] 2365,43 unequal: No Solution Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[19, 31], Operations: ['93-74=19', '74-43=31'] Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,43 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[74, 62], Operations: ['93-74=19', '43+19=62'] Exploring Operation: 74*62=4588, Resulting Numbers: [4588] 4588,43 unequal: No Solution Exploring Operation: 74+62=136, Resulting Numbers: [136] 136,43 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,43 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: 43:[43, 74, 19], Operations: ['93-74=19'] Exploring Operation: 74-43=31, Resulting Numbers: [19, 31] Generated Node #0,2,0: 43:[19, 31] Operation: 74-43=31 Exploring Operation: 74-19=55, Resulting Numbers: [43, 55] Generated Node #0,2,1: 43:[43, 55] Operation: 74-19=55 Exploring Operation: 43+19=62, Resulting Numbers: [74, 62] Generated Node #0,2,2: 43:[74, 62] Operation: 43+19=62 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[43, 55], Operations: ['93-74=19', '74-19=55'] Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 43*55=2365, Resulting Numbers: [2365] 2365,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,2,0 Current State: 43:[19, 31], Operations: ['93-74=19', '74-43=31'] Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,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,2,2 Current State: 43:[74, 62], Operations: ['93-74=19', '43+19=62'] Exploring Operation: 74+62=136, Resulting Numbers: [136] 136,43 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 74*62=4588, Resulting Numbers: [4588] 4588,43 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: 43:[74, 74, 50], Operations: ['93-43=50'] Exploring Operation: 74-74=0, Resulting Numbers: [50, 0] Generated Node #0,0,0: 43:[50, 0] Operation: 74-74=0 Exploring Operation: 74/74=1, Resulting Numbers: [50, 1] Generated Node #0,0,1: 43:[50, 1] Operation: 74/74=1 Exploring Operation: 74-50=24, Resulting Numbers: [74, 24] Generated Node #0,0,2: 43:[74, 24] Operation: 74-50=24 Moving to Node #0,0,1 Current State: 43:[50, 1], Operations: ['93-43=50', '74/74=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[50, 0], Operations: ['93-43=50', '74-74=0'] Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 50*0=0, Resulting Numbers: [0] 0,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[74, 24], Operations: ['93-43=50', '74-50=24'] Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,43 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 52, 79, 4 ]
81
[ "52-4=48", "48/24=2", "79+2=81" ]
Current State: 81:[24, 52, 79, 4], Operations: [] Exploring Operation: 52-4=48, Resulting Numbers: [24, 79, 48] Generated Node #2: [24, 79, 48] from Operation: 52-4=48 Current State: 81:[24, 79, 48], Operations: ['52-4=48'] Exploring Operation: 48/24=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 48/24=2 Current State: 81:[79, 2], Operations: ['52-4=48', '48/24=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[24, 52, 79, 4], Operations: [] Exploring Operation: 52-24=28, Resulting Numbers: [79, 4, 28] Generated Node #0,0: 81:[79, 4, 28] Operation: 52-24=28 Exploring Operation: 79-52=27, Resulting Numbers: [24, 4, 27] Generated Node #0,1: 81:[24, 4, 27] Operation: 79-52=27 Moving to Node #0,0 Current State: 81:[79, 4, 28], Operations: ['52-24=28'] Exploring Operation: 28/4=7, Resulting Numbers: [79, 7] Generated Node #0,0,0: 81:[79, 7] Operation: 28/4=7 Exploring Operation: 79+4=83, Resulting Numbers: [28, 83] Generated Node #0,0,1: 81:[28, 83] Operation: 79+4=83 Moving to Node #0,1 Current State: 81:[24, 4, 27], Operations: ['79-52=27'] Exploring Operation: 24+4=28, Resulting Numbers: [27, 28] Generated Node #0,1,0: 81:[27, 28] Operation: 24+4=28 Exploring Operation: 27-24=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 81:[4, 3] Operation: 27-24=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[27, 28], Operations: ['79-52=27', '24+4=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[4, 3], Operations: ['79-52=27', '27-24=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,81 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: 81:[28, 83], Operations: ['52-24=28', '79+4=83'] Exploring Operation: 28+83=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[79, 7], Operations: ['52-24=28', '28/4=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,81 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 9, 86, 87 ]
67
[ "75-9=66", "87-86=1", "66+1=67" ]
Current State: 67:[75, 9, 86, 87], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [86, 87, 66] Generated Node #2: [86, 87, 66] from Operation: 75-9=66 Current State: 67:[86, 87, 66], Operations: ['75-9=66'] Exploring Operation: 87-86=1, Resulting Numbers: [66, 1] Generated Node #3: [66, 1] from Operation: 87-86=1 Current State: 67:[66, 1], Operations: ['75-9=66', '87-86=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[75, 9, 86, 87], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [75, 86, 78] Generated Node #0,0: 67:[75, 86, 78] Operation: 87-9=78 Exploring Operation: 75-9=66, Resulting Numbers: [86, 87, 66] Generated Node #0,1: 67:[86, 87, 66] Operation: 75-9=66 Exploring Operation: 75+9=84, Resulting Numbers: [86, 87, 84] Generated Node #0,2: 67:[86, 87, 84] Operation: 75+9=84 Exploring Operation: 86-9=77, Resulting Numbers: [75, 87, 77] Generated Node #0,3: 67:[75, 87, 77] Operation: 86-9=77 Moving to Node #0,0 Current State: 67:[75, 86, 78], Operations: ['87-9=78'] Exploring Operation: 86-75=11, Resulting Numbers: [78, 11] Generated Node #0,0,0: 67:[78, 11] Operation: 86-75=11 Exploring Operation: 75+86=161, Resulting Numbers: [78, 161] Generated Node #0,0,1: 67:[78, 161] Operation: 75+86=161 Exploring Operation: 78-75=3, Resulting Numbers: [86, 3] Generated Node #0,0,2: 67:[86, 3] Operation: 78-75=3 Exploring Operation: 86-78=8, Resulting Numbers: [75, 8] Generated Node #0,0,3: 67:[75, 8] Operation: 86-78=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[78, 11], Operations: ['87-9=78', '86-75=11'] Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,67 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[75, 9, 86, 87], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [75, 86, 78] Generated Node #0,0: 67:[75, 86, 78] Operation: 87-9=78 Moving to Node #0,0 Current State: 67:[75, 86, 78], Operations: ['87-9=78'] Exploring Operation: 86-75=11, Resulting Numbers: [78, 11] Generated Node #0,0,0: 67:[78, 11] Operation: 86-75=11 Moving to Node #0,0,0 Current State: 67:[78, 11], Operations: ['87-9=78', '86-75=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 62, 25, 41, 10 ]
14
[ "62-25=37", "41+10=51", "51-37=14" ]
Current State: 14:[62, 25, 41, 10], Operations: [] Exploring Operation: 62-25=37, Resulting Numbers: [41, 10, 37] Generated Node #2: [41, 10, 37] from Operation: 62-25=37 Current State: 14:[41, 10, 37], Operations: ['62-25=37'] Exploring Operation: 41+10=51, Resulting Numbers: [37, 51] Generated Node #3: [37, 51] from Operation: 41+10=51 Current State: 14:[37, 51], Operations: ['62-25=37', '41+10=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[62, 25, 41, 10], Operations: [] Exploring Operation: 41-25=16, Resulting Numbers: [62, 10, 16] Generated Node #0,0: 14:[62, 10, 16] Operation: 41-25=16 Exploring Operation: 62-25=37, Resulting Numbers: [41, 10, 37] Generated Node #0,1: 14:[41, 10, 37] Operation: 62-25=37 Exploring Operation: 62-10=52, Resulting Numbers: [25, 41, 52] Generated Node #0,2: 14:[25, 41, 52] Operation: 62-10=52 Exploring Operation: 62-41=21, Resulting Numbers: [25, 10, 21] Generated Node #0,3: 14:[25, 10, 21] Operation: 62-41=21 Moving to Node #0,3 Current State: 14:[25, 10, 21], Operations: ['62-41=21'] Exploring Operation: 25-10=15, Resulting Numbers: [21, 15] Generated Node #0,3,0: 14:[21, 15] Operation: 25-10=15 Exploring Operation: 25-21=4, Resulting Numbers: [10, 4] Generated Node #0,3,1: 14:[10, 4] Operation: 25-21=4 Exploring Operation: 21-10=11, Resulting Numbers: [25, 11] Generated Node #0,3,2: 14:[25, 11] Operation: 21-10=11 Exploring Operation: 25+10=35, Resulting Numbers: [21, 35] Generated Node #0,3,3: 14:[21, 35] Operation: 25+10=35 Moving to Node #0,1 Current State: 14:[41, 10, 37], Operations: ['62-25=37'] Exploring Operation: 37-10=27, Resulting Numbers: [41, 27] Generated Node #0,1,0: 14:[41, 27] Operation: 37-10=27 Exploring Operation: 41+10=51, Resulting Numbers: [37, 51] Generated Node #0,1,1: 14:[37, 51] Operation: 41+10=51 Exploring Operation: 41-37=4, Resulting Numbers: [10, 4] Generated Node #0,1,2: 14:[10, 4] Operation: 41-37=4 Exploring Operation: 41-10=31, Resulting Numbers: [37, 31] Generated Node #0,1,3: 14:[37, 31] Operation: 41-10=31 Moving to Node #0,0 Current State: 14:[62, 10, 16], Operations: ['41-25=16'] Exploring Operation: 62+10=72, Resulting Numbers: [16, 72] Generated Node #0,0,0: 14:[16, 72] Operation: 62+10=72 Exploring Operation: 62-16=46, Resulting Numbers: [10, 46] Generated Node #0,0,1: 14:[10, 46] Operation: 62-16=46 Exploring Operation: 16-10=6, Resulting Numbers: [62, 6] Generated Node #0,0,2: 14:[62, 6] Operation: 16-10=6 Exploring Operation: 62-10=52, Resulting Numbers: [16, 52] Generated Node #0,0,3: 14:[16, 52] Operation: 62-10=52 Moving to Node #0,2 Current State: 14:[25, 41, 52], Operations: ['62-10=52'] Exploring Operation: 52-41=11, Resulting Numbers: [25, 11] Generated Node #0,2,0: 14:[25, 11] Operation: 52-41=11 Exploring Operation: 52-25=27, Resulting Numbers: [41, 27] Generated Node #0,2,1: 14:[41, 27] Operation: 52-25=27 Exploring Operation: 25+41=66, Resulting Numbers: [52, 66] Generated Node #0,2,2: 14:[52, 66] Operation: 25+41=66 Exploring Operation: 41-25=16, Resulting Numbers: [52, 16] Generated Node #0,2,3: 14:[52, 16] Operation: 41-25=16 Moving to Node #0,3,1 Current State: 14:[10, 4], Operations: ['62-41=21', '25-21=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[62, 25, 41, 10], Operations: [] Exploring Operation: 62-41=21, Resulting Numbers: [25, 10, 21] Generated Node #0,3: 14:[25, 10, 21] Operation: 62-41=21 Moving to Node #0,3 Current State: 14:[25, 10, 21], Operations: ['62-41=21'] Exploring Operation: 25-21=4, Resulting Numbers: [10, 4] Generated Node #0,3,1: 14:[10, 4] Operation: 25-21=4 Moving to Node #0,3,1 Current State: 14:[10, 4], Operations: ['62-41=21', '25-21=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.977431
hs_4
mult_heuristic
[ 48, 34, 46, 1 ]
69
[ "48-46=2", "34*2=68", "1+68=69" ]
Current State: 69:[48, 34, 46, 1], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [34, 1, 2] Generated Node #2: [34, 1, 2] from Operation: 48-46=2 Current State: 69:[34, 1, 2], Operations: ['48-46=2'] Exploring Operation: 34*2=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 34*2=68 Current State: 69:[1, 68], Operations: ['48-46=2', '34*2=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[48, 34, 46, 1], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [34, 1, 2] Generated Node #0,0: 69:[34, 1, 2] Operation: 48-46=2 Exploring Operation: 46-34=12, Resulting Numbers: [48, 1, 12] Generated Node #0,1: 69:[48, 1, 12] Operation: 46-34=12 Moving to Node #0,0 Current State: 69:[34, 1, 2], Operations: ['48-46=2'] Exploring Operation: 34*2=68, Resulting Numbers: [1, 68] Generated Node #0,0,0: 69:[1, 68] Operation: 34*2=68 Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,0,1: 69:[1, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[1, 68], Operations: ['48-46=2', '34*2=68'] Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[48, 34, 46, 1], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [34, 1, 2] Generated Node #0,0: 69:[34, 1, 2] Operation: 48-46=2 Moving to Node #0,0 Current State: 69:[34, 1, 2], Operations: ['48-46=2'] Exploring Operation: 34*2=68, Resulting Numbers: [1, 68] Generated Node #0,0,0: 69:[1, 68] Operation: 34*2=68 Moving to Node #0,0,0 Current State: 69:[1, 68], Operations: ['48-46=2', '34*2=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 15, 2, 71, 65 ]
83
[ "71+65=136", "136/2=68", "15+68=83" ]
Current State: 83:[15, 2, 71, 65], Operations: [] Exploring Operation: 71+65=136, Resulting Numbers: [15, 2, 136] Generated Node #2: [15, 2, 136] from Operation: 71+65=136 Current State: 83:[15, 2, 136], Operations: ['71+65=136'] Exploring Operation: 136/2=68, Resulting Numbers: [15, 68] Generated Node #3: [15, 68] from Operation: 136/2=68 Current State: 83:[15, 68], Operations: ['71+65=136', '136/2=68'] Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 2, 71, 65], Operations: [] Exploring Operation: 15+2=17, Resulting Numbers: [71, 65, 17] Generated Node #0,0: 83:[71, 65, 17] Operation: 15+2=17 Exploring Operation: 15*2=30, Resulting Numbers: [71, 65, 30] Generated Node #0,1: 83:[71, 65, 30] Operation: 15*2=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[71, 65, 30], Operations: ['15*2=30'] Exploring Operation: 71+30=101, Resulting Numbers: [65, 101] Generated Node #0,1,0: 83:[65, 101] Operation: 71+30=101 Exploring Operation: 65+30=95, Resulting Numbers: [71, 95] Generated Node #0,1,1: 83:[71, 95] Operation: 65+30=95 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[71, 95], Operations: ['15*2=30', '65+30=95'] Exploring Operation: 71+95=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[65, 101], Operations: ['15*2=30', '71+30=101'] Exploring Operation: 101-65=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 65+101=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[71, 65, 17], Operations: ['15+2=17'] Exploring Operation: 71+17=88, Resulting Numbers: [65, 88] Generated Node #0,0,0: 83:[65, 88] Operation: 71+17=88 Exploring Operation: 65+17=82, Resulting Numbers: [71, 82] Generated Node #0,0,1: 83:[71, 82] Operation: 65+17=82 Moving to Node #0,0,1 Current State: 83:[71, 82], Operations: ['15+2=17', '65+17=82'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[65, 88], Operations: ['15+2=17', '71+17=88'] Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 65+88=153, Resulting Numbers: [153] 153,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 89, 83, 86, 26 ]
28
[ "89+83=172", "172/86=2", "26+2=28" ]
Current State: 28:[89, 83, 86, 26], Operations: [] Exploring Operation: 89+83=172, Resulting Numbers: [86, 26, 172] Generated Node #2: [86, 26, 172] from Operation: 89+83=172 Current State: 28:[86, 26, 172], Operations: ['89+83=172'] Exploring Operation: 172/86=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 172/86=2 Current State: 28:[26, 2], Operations: ['89+83=172', '172/86=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[89, 83, 86, 26], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [83, 26, 3] Generated Node #0,0: 28:[83, 26, 3] Operation: 89-86=3 Exploring Operation: 86-83=3, Resulting Numbers: [89, 26, 3] Generated Node #0,1: 28:[89, 26, 3] Operation: 86-83=3 Exploring Operation: 89-83=6, Resulting Numbers: [86, 26, 6] Generated Node #0,2: 28:[86, 26, 6] Operation: 89-83=6 Exploring Operation: 89-26=63, Resulting Numbers: [83, 86, 63] Generated Node #0,3: 28:[83, 86, 63] Operation: 89-26=63 Moving to Node #0,0 Current State: 28:[83, 26, 3], Operations: ['89-86=3'] Exploring Operation: 83+3=86, Resulting Numbers: [26, 86] Generated Node #0,0,0: 28:[26, 86] Operation: 83+3=86 Exploring Operation: 26+3=29, Resulting Numbers: [83, 29] Generated Node #0,0,1: 28:[83, 29] Operation: 26+3=29 Exploring Operation: 83-26=57, Resulting Numbers: [3, 57] Generated Node #0,0,2: 28:[3, 57] Operation: 83-26=57 Exploring Operation: 83-3=80, Resulting Numbers: [26, 80] Generated Node #0,0,3: 28:[26, 80] Operation: 83-3=80 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[3, 57], Operations: ['89-86=3', '83-26=57'] Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,28 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[26, 80], Operations: ['89-86=3', '83-3=80'] Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,28 unequal: No Solution Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[83, 29], Operations: ['89-86=3', '26+3=29'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[26, 86], Operations: ['89-86=3', '83+3=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,28 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,28 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: 28:[86, 26, 6], Operations: ['89-83=6'] Exploring Operation: 26-6=20, Resulting Numbers: [86, 20] Generated Node #0,2,0: 28:[86, 20] Operation: 26-6=20 Exploring Operation: 26+6=32, Resulting Numbers: [86, 32] Generated Node #0,2,1: 28:[86, 32] Operation: 26+6=32 Exploring Operation: 86-6=80, Resulting Numbers: [26, 80] Generated Node #0,2,2: 28:[26, 80] Operation: 86-6=80 Exploring Operation: 86-26=60, Resulting Numbers: [6, 60] Generated Node #0,2,3: 28:[6, 60] Operation: 86-26=60 Moving to Node #0,1 Current State: 28:[89, 26, 3], Operations: ['86-83=3'] Exploring Operation: 89-26=63, Resulting Numbers: [3, 63] Generated Node #0,1,0: 28:[3, 63] Operation: 89-26=63 Exploring Operation: 26+3=29, Resulting Numbers: [89, 29] Generated Node #0,1,1: 28:[89, 29] Operation: 26+3=29 Exploring Operation: 89-3=86, Resulting Numbers: [26, 86] Generated Node #0,1,2: 28:[26, 86] Operation: 89-3=86 Exploring Operation: 89+3=92, Resulting Numbers: [26, 92] Generated Node #0,1,3: 28:[26, 92] Operation: 89+3=92 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[3, 63], Operations: ['86-83=3', '89-26=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[26, 86], Operations: ['86-83=3', '89-3=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,28 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[89, 29], Operations: ['86-83=3', '26+3=29'] Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,28 unequal: No Solution Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[26, 92], Operations: ['86-83=3', '89+3=92'] Exploring Operation: 26*92=2392, Resulting Numbers: [2392] 2392,28 unequal: No Solution Exploring Operation: 26+92=118, Resulting Numbers: [118] 118,28 unequal: No Solution Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,28 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: 28:[83, 86, 63], Operations: ['89-26=63'] Exploring Operation: 86-63=23, Resulting Numbers: [83, 23] Generated Node #0,3,0: 28:[83, 23] Operation: 86-63=23 Exploring Operation: 83-63=20, Resulting Numbers: [86, 20] Generated Node #0,3,1: 28:[86, 20] Operation: 83-63=20 Exploring Operation: 86-83=3, Resulting Numbers: [63, 3] Generated Node #0,3,2: 28:[63, 3] Operation: 86-83=3 Exploring Operation: 83+86=169, Resulting Numbers: [63, 169] Generated Node #0,3,3: 28:[63, 169] Operation: 83+86=169 Moving to Node #0,2,3 Current State: 28:[6, 60], Operations: ['89-83=6', '86-26=60'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[63, 3], Operations: ['89-26=63', '86-83=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 63*3=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[26, 80], Operations: ['89-83=6', '86-6=80'] Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[83, 23], Operations: ['89-26=63', '86-63=23'] Exploring Operation: 83+23=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 83*23=1909, Resulting Numbers: [1909] 1909,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[86, 32], Operations: ['89-83=6', '26+6=32'] Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,28 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[86, 20], Operations: ['89-83=6', '26-6=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[86, 20], Operations: ['89-26=63', '83-63=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[63, 169], Operations: ['89-26=63', '83+86=169'] Exploring Operation: 63*169=10647, Resulting Numbers: [10647] 10647,28 unequal: No Solution Exploring Operation: 169-63=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 63+169=232, Resulting Numbers: [232] 232,28 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 1, 2, 78, 5 ]
25
[ "5-2=3", "78/3=26", "26-1=25" ]
Current State: 25:[1, 2, 78, 5], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [1, 78, 3] Generated Node #2: [1, 78, 3] from Operation: 5-2=3 Current State: 25:[1, 78, 3], Operations: ['5-2=3'] Exploring Operation: 78/3=26, Resulting Numbers: [1, 26] Generated Node #3: [1, 26] from Operation: 78/3=26 Current State: 25:[1, 26], Operations: ['5-2=3', '78/3=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[1, 2, 78, 5], Operations: [] Exploring Operation: 78-2=76, Resulting Numbers: [1, 5, 76] Generated Node #0,0: 25:[1, 5, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [1, 5, 39] Generated Node #0,1: 25:[1, 5, 39] Operation: 78/2=39 Exploring Operation: 78-1=77, Resulting Numbers: [2, 5, 77] Generated Node #0,2: 25:[2, 5, 77] Operation: 78-1=77 Exploring Operation: 1+2=3, Resulting Numbers: [78, 5, 3] Generated Node #0,3: 25:[78, 5, 3] Operation: 1+2=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[1, 5, 39], Operations: ['78/2=39'] Exploring Operation: 39-1=38, Resulting Numbers: [5, 38] Generated Node #0,1,0: 25:[5, 38] Operation: 39-1=38 Exploring Operation: 1*5=5, Resulting Numbers: [39, 5] Generated Node #0,1,1: 25:[39, 5] Operation: 1*5=5 Exploring Operation: 39-5=34, Resulting Numbers: [1, 34] Generated Node #0,1,2: 25:[1, 34] Operation: 39-5=34 Exploring Operation: 5/1=5, Resulting Numbers: [39, 5] Generated Node #0,1,3: 25:[39, 5] Operation: 5/1=5 Moving to Node #0,1,0 Current State: 25:[5, 38], Operations: ['78/2=39', '39-1=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[1, 34], Operations: ['78/2=39', '39-5=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[39, 5], Operations: ['78/2=39', '5/1=5'] Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,25 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[39, 5], Operations: ['78/2=39', '1*5=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,25 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,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,0 Current State: 25:[1, 5, 76], Operations: ['78-2=76'] Exploring Operation: 1*5=5, Resulting Numbers: [76, 5] Generated Node #0,0,0: 25:[76, 5] Operation: 1*5=5 Exploring Operation: 76-5=71, Resulting Numbers: [1, 71] Generated Node #0,0,1: 25:[1, 71] Operation: 76-5=71 Exploring Operation: 5/1=5, Resulting Numbers: [76, 5] Generated Node #0,0,2: 25:[76, 5] Operation: 5/1=5 Exploring Operation: 76-1=75, Resulting Numbers: [5, 75] Generated Node #0,0,3: 25:[5, 75] Operation: 76-1=75 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[1, 71], Operations: ['78-2=76', '76-5=71'] Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[5, 75], Operations: ['78-2=76', '76-1=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,25 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[76, 5], Operations: ['78-2=76', '1*5=5'] Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,25 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[76, 5], Operations: ['78-2=76', '5/1=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,25 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,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,2 Current State: 25:[2, 5, 77], Operations: ['78-1=77'] Exploring Operation: 77-5=72, Resulting Numbers: [2, 72] Generated Node #0,2,0: 25:[2, 72] Operation: 77-5=72 Exploring Operation: 2+5=7, Resulting Numbers: [77, 7] Generated Node #0,2,1: 25:[77, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [77, 3] Generated Node #0,2,2: 25:[77, 3] Operation: 5-2=3 Exploring Operation: 77-2=75, Resulting Numbers: [5, 75] Generated Node #0,2,3: 25:[5, 75] Operation: 77-2=75 Moving to Node #0,2,0 Current State: 25:[2, 72], Operations: ['78-1=77', '77-5=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[5, 75], Operations: ['78-1=77', '77-2=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[77, 3], Operations: ['78-1=77', '5-2=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[77, 7], Operations: ['78-1=77', '2+5=7'] Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,25 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,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,3 Current State: 25:[78, 5, 3], Operations: ['1+2=3'] Exploring Operation: 78-3=75, Resulting Numbers: [5, 75] Generated Node #0,3,0: 25:[5, 75] Operation: 78-3=75 Exploring Operation: 78+3=81, Resulting Numbers: [5, 81] Generated Node #0,3,1: 25:[5, 81] Operation: 78+3=81 Exploring Operation: 78/3=26, Resulting Numbers: [5, 26] Generated Node #0,3,2: 25:[5, 26] Operation: 78/3=26 Exploring Operation: 78-5=73, Resulting Numbers: [3, 73] Generated Node #0,3,3: 25:[3, 73] Operation: 78-5=73 Moving to Node #0,3,2 Current State: 25:[5, 26], Operations: ['1+2=3', '78/3=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[3, 73], Operations: ['1+2=3', '78-5=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,25 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[5, 75], Operations: ['1+2=3', '78-3=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,25 unequal: No Solution Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[5, 81], Operations: ['1+2=3', '78+3=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,25 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 95, 33, 7, 99 ]
11
[ "95+7=102", "102-99=3", "33/3=11" ]
Current State: 11:[95, 33, 7, 99], Operations: [] Exploring Operation: 95+7=102, Resulting Numbers: [33, 99, 102] Generated Node #2: [33, 99, 102] from Operation: 95+7=102 Current State: 11:[33, 99, 102], Operations: ['95+7=102'] Exploring Operation: 102-99=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 102-99=3 Current State: 11:[33, 3], Operations: ['95+7=102', '102-99=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[95, 33, 7, 99], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [95, 7, 3] Generated Node #0,0: 11:[95, 7, 3] Operation: 99/33=3 Exploring Operation: 99-95=4, Resulting Numbers: [33, 7, 4] Generated Node #0,1: 11:[33, 7, 4] Operation: 99-95=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[33, 7, 4], Operations: ['99-95=4'] Exploring Operation: 33-4=29, Resulting Numbers: [7, 29] Generated Node #0,1,0: 11:[7, 29] Operation: 33-4=29 Exploring Operation: 33-7=26, Resulting Numbers: [4, 26] Generated Node #0,1,1: 11:[4, 26] Operation: 33-7=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[7, 29], Operations: ['99-95=4', '33-4=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,11 unequal: No Solution No 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: 11:[4, 26], Operations: ['99-95=4', '33-7=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,11 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: 11:[95, 7, 3], Operations: ['99/33=3'] Exploring Operation: 95-7=88, Resulting Numbers: [3, 88] Generated Node #0,0,0: 11:[3, 88] Operation: 95-7=88 Exploring Operation: 95-3=92, Resulting Numbers: [7, 92] Generated Node #0,0,1: 11:[7, 92] Operation: 95-3=92 Moving to Node #0,0,0 Current State: 11:[3, 88], Operations: ['99/33=3', '95-7=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[7, 92], Operations: ['99/33=3', '95-3=92'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 7+92=99, Resulting Numbers: [99] 99,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 1, 39, 1, 25 ]
62
[ "39-1=38", "25-1=24", "38+24=62" ]
Current State: 62:[1, 39, 1, 25], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [25, 38] Generated Node #2: [25, 38] from Operation: 39-1=38 Current State: 62:[25, 38], Operations: ['39-1=38'] Exploring Operation: 25-1=24, Resulting Numbers: [38, 24] Generated Node #3: [38, 24] from Operation: 25-1=24 Current State: 62:[38, 24], Operations: ['39-1=38', '25-1=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[1, 39, 1, 25], Operations: [] Exploring Operation: 39+25=64, Resulting Numbers: [1, 1, 64] Generated Node #0,0: 62:[1, 1, 64] Operation: 39+25=64 Exploring Operation: 39-1=38, Resulting Numbers: [1, 25, 38] Generated Node #0,1: 62:[1, 25, 38] Operation: 39-1=38 Exploring Operation: 1+1=2, Resulting Numbers: [39, 25, 2] Generated Node #0,2: 62:[39, 25, 2] Operation: 1+1=2 Moving to Node #0,0 Current State: 62:[1, 1, 64], Operations: ['39+25=64'] Exploring Operation: 64-1=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 62:[1, 63] Operation: 64-1=63 Exploring Operation: 64-1=63, Resulting Numbers: [1, 63] Generated Node #0,0,1: 62:[1, 63] Operation: 64-1=63 Exploring Operation: 1+1=2, Resulting Numbers: [64, 2] Generated Node #0,0,2: 62:[64, 2] Operation: 1+1=2 Moving to Node #0,1 Current State: 62:[1, 25, 38], Operations: ['39-1=38'] Exploring Operation: 1+25=26, Resulting Numbers: [38, 26] Generated Node #0,1,0: 62:[38, 26] Operation: 1+25=26 Exploring Operation: 38-1=37, Resulting Numbers: [25, 37] Generated Node #0,1,1: 62:[25, 37] Operation: 38-1=37 Exploring Operation: 25+38=63, Resulting Numbers: [1, 63] Generated Node #0,1,2: 62:[1, 63] Operation: 25+38=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[1, 63], Operations: ['39-1=38', '25+38=63'] Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[1, 39, 1, 25], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [1, 25, 38] Generated Node #0,1: 62:[1, 25, 38] Operation: 39-1=38 Moving to Node #0,1 Current State: 62:[1, 25, 38], Operations: ['39-1=38'] Exploring Operation: 25+38=63, Resulting Numbers: [1, 63] Generated Node #0,1,2: 62:[1, 63] Operation: 25+38=63 Moving to Node #0,1,2 Current State: 62:[1, 63], Operations: ['39-1=38', '25+38=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 24, 95, 98, 96 ]
73
[ "95-24=71", "98-96=2", "71+2=73" ]
Current State: 73:[24, 95, 98, 96], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [98, 96, 71] Generated Node #2: [98, 96, 71] from Operation: 95-24=71 Current State: 73:[98, 96, 71], Operations: ['95-24=71'] Exploring Operation: 98-96=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 98-96=2 Current State: 73:[71, 2], Operations: ['95-24=71', '98-96=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[24, 95, 98, 96], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [98, 96, 71] Generated Node #0,0: 73:[98, 96, 71] Operation: 95-24=71 Exploring Operation: 98-24=74, Resulting Numbers: [95, 96, 74] Generated Node #0,1: 73:[95, 96, 74] Operation: 98-24=74 Exploring Operation: 96-24=72, Resulting Numbers: [95, 98, 72] Generated Node #0,2: 73:[95, 98, 72] Operation: 96-24=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[95, 96, 74], Operations: ['98-24=74'] Exploring Operation: 96-95=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 73:[74, 1] Operation: 96-95=1 Exploring Operation: 95-74=21, Resulting Numbers: [96, 21] Generated Node #0,1,1: 73:[96, 21] Operation: 95-74=21 Exploring Operation: 96-74=22, Resulting Numbers: [95, 22] Generated Node #0,1,2: 73:[95, 22] Operation: 96-74=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[74, 1], Operations: ['98-24=74', '96-95=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[24, 95, 98, 96], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [95, 96, 74] Generated Node #0,1: 73:[95, 96, 74] Operation: 98-24=74 Moving to Node #0,1 Current State: 73:[95, 96, 74], Operations: ['98-24=74'] Exploring Operation: 96-95=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 73:[74, 1] Operation: 96-95=1 Moving to Node #0,1,0 Current State: 73:[74, 1], Operations: ['98-24=74', '96-95=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 75, 38, 22, 3 ]
94
[ "75+38=113", "22-3=19", "113-19=94" ]
Current State: 94:[75, 38, 22, 3], Operations: [] Exploring Operation: 75+38=113, Resulting Numbers: [22, 3, 113] Generated Node #2: [22, 3, 113] from Operation: 75+38=113 Current State: 94:[22, 3, 113], Operations: ['75+38=113'] Exploring Operation: 22-3=19, Resulting Numbers: [113, 19] Generated Node #3: [113, 19] from Operation: 22-3=19 Current State: 94:[113, 19], Operations: ['75+38=113', '22-3=19'] Exploring Operation: 113-19=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[75, 38, 22, 3], Operations: [] Exploring Operation: 75+22=97, Resulting Numbers: [38, 3, 97] Generated Node #0,0: 94:[38, 3, 97] Operation: 75+22=97 Moving to Node #0,0 Current State: 94:[38, 3, 97], Operations: ['75+22=97'] Exploring Operation: 38+3=41, Resulting Numbers: [97, 41] Generated Node #0,0,0: 94:[97, 41] Operation: 38+3=41 Moving to Node #0,0,0 Current State: 94:[97, 41], Operations: ['75+22=97', '38+3=41'] Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,94 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 86, 43, 34, 18 ]
27
[ "86-43=43", "34-18=16", "43-16=27" ]
Current State: 27:[86, 43, 34, 18], Operations: [] Exploring Operation: 86-43=43, Resulting Numbers: [34, 18, 43] Generated Node #2: [34, 18, 43] from Operation: 86-43=43 Current State: 27:[34, 18, 43], Operations: ['86-43=43'] Exploring Operation: 34-18=16, Resulting Numbers: [43, 16] Generated Node #3: [43, 16] from Operation: 34-18=16 Current State: 27:[43, 16], Operations: ['86-43=43', '34-18=16'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[86, 43, 34, 18], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [34, 18, 2] Generated Node #0,0: 27:[34, 18, 2] Operation: 86/43=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[34, 18, 2], Operations: ['86/43=2'] Exploring Operation: 18/2=9, Resulting Numbers: [34, 9] Generated Node #0,0,0: 27:[34, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[34, 9], Operations: ['86/43=2', '18/2=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 52, 56, 90 ]
99
[ "52-5=47", "56+90=146", "146-47=99" ]
Current State: 99:[5, 52, 56, 90], Operations: [] Exploring Operation: 52-5=47, Resulting Numbers: [56, 90, 47] Generated Node #2: [56, 90, 47] from Operation: 52-5=47 Current State: 99:[56, 90, 47], Operations: ['52-5=47'] Exploring Operation: 56+90=146, Resulting Numbers: [47, 146] Generated Node #3: [47, 146] from Operation: 56+90=146 Current State: 99:[47, 146], Operations: ['52-5=47', '56+90=146'] Exploring Operation: 146-47=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[5, 52, 56, 90], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [5, 56, 38] Generated Node #0,0: 99:[5, 56, 38] Operation: 90-52=38 Exploring Operation: 56-52=4, Resulting Numbers: [5, 90, 4] Generated Node #0,1: 99:[5, 90, 4] Operation: 56-52=4 Exploring Operation: 52+56=108, Resulting Numbers: [5, 90, 108] Generated Node #0,2: 99:[5, 90, 108] Operation: 52+56=108 Exploring Operation: 90-56=34, Resulting Numbers: [5, 52, 34] Generated Node #0,3: 99:[5, 52, 34] Operation: 90-56=34 Moving to Node #0,1 Current State: 99:[5, 90, 4], Operations: ['56-52=4'] Exploring Operation: 5+90=95, Resulting Numbers: [4, 95] Generated Node #0,1,0: 99:[4, 95] Operation: 5+90=95 Exploring Operation: 5+4=9, Resulting Numbers: [90, 9] Generated Node #0,1,1: 99:[90, 9] Operation: 5+4=9 Exploring Operation: 90/5=18, Resulting Numbers: [4, 18] Generated Node #0,1,2: 99:[4, 18] Operation: 90/5=18 Exploring Operation: 90+4=94, Resulting Numbers: [5, 94] Generated Node #0,1,3: 99:[5, 94] Operation: 90+4=94 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[4, 95], Operations: ['56-52=4', '5+90=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[5, 52, 56, 90], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [5, 90, 4] Generated Node #0,1: 99:[5, 90, 4] Operation: 56-52=4 Moving to Node #0,1 Current State: 99:[5, 90, 4], Operations: ['56-52=4'] Exploring Operation: 5+90=95, Resulting Numbers: [4, 95] Generated Node #0,1,0: 99:[4, 95] Operation: 5+90=95 Moving to Node #0,1,0 Current State: 99:[4, 95], Operations: ['56-52=4', '5+90=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 18, 68, 64, 8 ]
50
[ "68-64=4", "8*4=32", "18+32=50" ]
Current State: 50:[18, 68, 64, 8], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [18, 8, 4] Generated Node #2: [18, 8, 4] from Operation: 68-64=4 Current State: 50:[18, 8, 4], Operations: ['68-64=4'] Exploring Operation: 8*4=32, Resulting Numbers: [18, 32] Generated Node #3: [18, 32] from Operation: 8*4=32 Current State: 50:[18, 32], Operations: ['68-64=4', '8*4=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[18, 68, 64, 8], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [18, 8, 4] Generated Node #0,0: 50:[18, 8, 4] Operation: 68-64=4 Exploring Operation: 68-18=50, Resulting Numbers: [64, 8, 50] Generated Node #0,1: 50:[64, 8, 50] Operation: 68-18=50 Exploring Operation: 64-18=46, Resulting Numbers: [68, 8, 46] Generated Node #0,2: 50:[68, 8, 46] Operation: 64-18=46 Moving to Node #0,0 Current State: 50:[18, 8, 4], Operations: ['68-64=4'] Exploring Operation: 18+8=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 50:[4, 26] Operation: 18+8=26 Exploring Operation: 18-8=10, Resulting Numbers: [4, 10] Generated Node #0,0,1: 50:[4, 10] Operation: 18-8=10 Exploring Operation: 18+4=22, Resulting Numbers: [8, 22] Generated Node #0,0,2: 50:[8, 22] Operation: 18+4=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[4, 10], Operations: ['68-64=4', '18-8=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[4, 26], Operations: ['68-64=4', '18+8=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,50 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[8, 22], Operations: ['68-64=4', '18+4=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,50 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 50:[64, 8, 50], Operations: ['68-18=50'] Exploring Operation: 64-50=14, Resulting Numbers: [8, 14] Generated Node #0,1,0: 50:[8, 14] Operation: 64-50=14 Exploring Operation: 64/8=8, Resulting Numbers: [50, 8] Generated Node #0,1,1: 50:[50, 8] Operation: 64/8=8 Exploring Operation: 64-8=56, Resulting Numbers: [50, 56] Generated Node #0,1,2: 50:[50, 56] Operation: 64-8=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[50, 8], Operations: ['68-18=50', '64/8=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,50 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[8, 14], Operations: ['68-18=50', '64-50=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,50 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[50, 56], Operations: ['68-18=50', '64-8=56'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,50 unequal: No Solution Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,50 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: 50:[68, 8, 46], Operations: ['64-18=46'] Exploring Operation: 68-8=60, Resulting Numbers: [46, 60] Generated Node #0,2,0: 50:[46, 60] Operation: 68-8=60 Exploring Operation: 68-46=22, Resulting Numbers: [8, 22] Generated Node #0,2,1: 50:[8, 22] Operation: 68-46=22 Exploring Operation: 8+46=54, Resulting Numbers: [68, 54] Generated Node #0,2,2: 50:[68, 54] Operation: 8+46=54 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[8, 22], Operations: ['64-18=46', '68-46=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[46, 60], Operations: ['64-18=46', '68-8=60'] Exploring Operation: 46+60=106, Resulting Numbers: [106] 106,50 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 46*60=2760, Resulting Numbers: [2760] 2760,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[68, 54], Operations: ['64-18=46', '8+46=54'] Exploring Operation: 68*54=3672, Resulting Numbers: [3672] 3672,50 unequal: No Solution Exploring Operation: 68+54=122, Resulting Numbers: [122] 122,50 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,50 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
[ 16, 40, 13, 48 ]
56
[ "16-13=3", "48/3=16", "40+16=56" ]
Current State: 56:[16, 40, 13, 48], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [40, 48, 3] Generated Node #2: [40, 48, 3] from Operation: 16-13=3 Current State: 56:[40, 48, 3], Operations: ['16-13=3'] Exploring Operation: 48/3=16, Resulting Numbers: [40, 16] Generated Node #3: [40, 16] from Operation: 48/3=16 Current State: 56:[40, 16], Operations: ['16-13=3', '48/3=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[16, 40, 13, 48], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [16, 13, 8] Generated Node #0,0: 56:[16, 13, 8] Operation: 48-40=8 Exploring Operation: 16+40=56, Resulting Numbers: [13, 48, 56] Generated Node #0,1: 56:[13, 48, 56] Operation: 16+40=56 Moving to Node #0,0 Current State: 56:[16, 13, 8], Operations: ['48-40=8'] Exploring Operation: 16-13=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 56:[8, 3] Operation: 16-13=3 Exploring Operation: 16+13=29, Resulting Numbers: [8, 29] Generated Node #0,0,1: 56:[8, 29] Operation: 16+13=29 Moving to Node #0,1 Current State: 56:[13, 48, 56], Operations: ['16+40=56'] Exploring Operation: 56-48=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 56:[13, 8] Operation: 56-48=8 Exploring Operation: 13+48=61, Resulting Numbers: [56, 61] Generated Node #0,1,1: 56:[56, 61] Operation: 13+48=61 Moving to Node #0,0,0 Current State: 56:[8, 3], Operations: ['48-40=8', '16-13=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[13, 8], Operations: ['16+40=56', '56-48=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[8, 29], Operations: ['48-40=8', '16+13=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[56, 61], Operations: ['16+40=56', '13+48=61'] Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,56 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,56 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 9, 20, 9, 90 ]
69
[ "9/9=1", "90-20=70", "70-1=69" ]
Current State: 69:[9, 20, 9, 90], Operations: [] Exploring Operation: 9/9=1, Resulting Numbers: [20, 90, 1] Generated Node #2: [20, 90, 1] from Operation: 9/9=1 Current State: 69:[20, 90, 1], Operations: ['9/9=1'] Exploring Operation: 90-20=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 90-20=70 Current State: 69:[1, 70], Operations: ['9/9=1', '90-20=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[9, 20, 9, 90], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [20, 9, 10] Generated Node #0,0: 69:[20, 9, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [20, 9, 81] Generated Node #0,1: 69:[20, 9, 81] Operation: 90-9=81 Exploring Operation: 90/9=10, Resulting Numbers: [9, 20, 10] Generated Node #0,2: 69:[9, 20, 10] Operation: 90/9=10 Exploring Operation: 90-20=70, Resulting Numbers: [9, 9, 70] Generated Node #0,3: 69:[9, 9, 70] Operation: 90-20=70 Moving to Node #0,3 Current State: 69:[9, 9, 70], Operations: ['90-20=70'] Exploring Operation: 9-9=0, Resulting Numbers: [70, 0] Generated Node #0,3,0: 69:[70, 0] Operation: 9-9=0 Exploring Operation: 9*9=81, Resulting Numbers: [70, 81] Generated Node #0,3,1: 69:[70, 81] Operation: 9*9=81 Exploring Operation: 9+9=18, Resulting Numbers: [70, 18] Generated Node #0,3,2: 69:[70, 18] Operation: 9+9=18 Exploring Operation: 9/9=1, Resulting Numbers: [70, 1] Generated Node #0,3,3: 69:[70, 1] Operation: 9/9=1 Moving to Node #0,2 Current State: 69:[9, 20, 10], Operations: ['90/9=10'] Exploring Operation: 9+10=19, Resulting Numbers: [20, 19] Generated Node #0,2,0: 69:[20, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [20, 1] Generated Node #0,2,1: 69:[20, 1] Operation: 10-9=1 Exploring Operation: 9+20=29, Resulting Numbers: [10, 29] Generated Node #0,2,2: 69:[10, 29] Operation: 9+20=29 Exploring Operation: 20/10=2, Resulting Numbers: [9, 2] Generated Node #0,2,3: 69:[9, 2] Operation: 20/10=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[20, 1], Operations: ['90/9=10', '10-9=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[20, 19], Operations: ['90/9=10', '9+10=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,69 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[9, 2], Operations: ['90/9=10', '20/10=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[10, 29], Operations: ['90/9=10', '9+20=29'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,69 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,69 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: 69:[20, 9, 10], Operations: ['90/9=10'] Exploring Operation: 20/10=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 69:[9, 2] Operation: 20/10=2 Exploring Operation: 10-9=1, Resulting Numbers: [20, 1] Generated Node #0,0,1: 69:[20, 1] Operation: 10-9=1 Exploring Operation: 20+9=29, Resulting Numbers: [10, 29] Generated Node #0,0,2: 69:[10, 29] Operation: 20+9=29 Exploring Operation: 9+10=19, Resulting Numbers: [20, 19] Generated Node #0,0,3: 69:[20, 19] Operation: 9+10=19 Moving to Node #0,1 Current State: 69:[20, 9, 81], Operations: ['90-9=81'] Exploring Operation: 20+9=29, Resulting Numbers: [81, 29] Generated Node #0,1,0: 69:[81, 29] Operation: 20+9=29 Exploring Operation: 81-9=72, Resulting Numbers: [20, 72] Generated Node #0,1,1: 69:[20, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [20, 9] Generated Node #0,1,2: 69:[20, 9] Operation: 81/9=9 Exploring Operation: 81-20=61, Resulting Numbers: [9, 61] Generated Node #0,1,3: 69:[9, 61] Operation: 81-20=61 Moving to Node #0,3,3 Current State: 69:[70, 1], Operations: ['90-20=70', '9/9=1'] Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,69 unequal: No Solution Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[9, 20, 9, 90], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [9, 9, 70] Generated Node #0,3: 69:[9, 9, 70] Operation: 90-20=70 Moving to Node #0,3 Current State: 69:[9, 9, 70], Operations: ['90-20=70'] Exploring Operation: 9/9=1, Resulting Numbers: [70, 1] Generated Node #0,3,3: 69:[70, 1] Operation: 9/9=1 Moving to Node #0,3,3 Current State: 69:[70, 1], Operations: ['90-20=70', '9/9=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 14, 41, 75, 73 ]
53
[ "14+41=55", "75-73=2", "55-2=53" ]
Current State: 53:[14, 41, 75, 73], Operations: [] Exploring Operation: 14+41=55, Resulting Numbers: [75, 73, 55] Generated Node #2: [75, 73, 55] from Operation: 14+41=55 Current State: 53:[75, 73, 55], Operations: ['14+41=55'] Exploring Operation: 75-73=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 75-73=2 Current State: 53:[55, 2], Operations: ['14+41=55', '75-73=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[14, 41, 75, 73], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [41, 75, 59] Generated Node #0,0: 53:[41, 75, 59] Operation: 73-14=59 Exploring Operation: 14+41=55, Resulting Numbers: [75, 73, 55] Generated Node #0,1: 53:[75, 73, 55] Operation: 14+41=55 Exploring Operation: 75-14=61, Resulting Numbers: [41, 73, 61] Generated Node #0,2: 53:[41, 73, 61] Operation: 75-14=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[41, 75, 59], Operations: ['73-14=59'] Exploring Operation: 75-59=16, Resulting Numbers: [41, 16] Generated Node #0,0,0: 53:[41, 16] Operation: 75-59=16 Exploring Operation: 75-41=34, Resulting Numbers: [59, 34] Generated Node #0,0,1: 53:[59, 34] Operation: 75-41=34 Exploring Operation: 59-41=18, Resulting Numbers: [75, 18] Generated Node #0,0,2: 53:[75, 18] Operation: 59-41=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[59, 34], Operations: ['73-14=59', '75-41=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,53 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[41, 16], Operations: ['73-14=59', '75-59=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,53 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[75, 18], Operations: ['73-14=59', '59-41=18'] Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,53 unequal: No Solution Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[41, 73, 61], Operations: ['75-14=61'] Exploring Operation: 61-41=20, Resulting Numbers: [73, 20] Generated Node #0,2,0: 53:[73, 20] Operation: 61-41=20 Exploring Operation: 73-41=32, Resulting Numbers: [61, 32] Generated Node #0,2,1: 53:[61, 32] Operation: 73-41=32 Exploring Operation: 73-61=12, Resulting Numbers: [41, 12] Generated Node #0,2,2: 53:[41, 12] Operation: 73-61=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[61, 32], Operations: ['75-14=61', '73-41=32'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 61*32=1952, Resulting Numbers: [1952] 1952,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[73, 20], Operations: ['75-14=61', '61-41=20'] Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,53 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[14, 41, 75, 73], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [41, 73, 61] Generated Node #0,2: 53:[41, 73, 61] Operation: 75-14=61 Moving to Node #0,2 Current State: 53:[41, 73, 61], Operations: ['75-14=61'] Exploring Operation: 61-41=20, Resulting Numbers: [73, 20] Generated Node #0,2,0: 53:[73, 20] Operation: 61-41=20 Moving to Node #0,2,0 Current State: 53:[73, 20], Operations: ['75-14=61', '61-41=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 36, 66, 18, 10 ]
71
[ "36/18=2", "10/2=5", "66+5=71" ]
Current State: 71:[36, 66, 18, 10], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [66, 10, 2] Generated Node #2: [66, 10, 2] from Operation: 36/18=2 Current State: 71:[66, 10, 2], Operations: ['36/18=2'] Exploring Operation: 10/2=5, Resulting Numbers: [66, 5] Generated Node #3: [66, 5] from Operation: 10/2=5 Current State: 71:[66, 5], Operations: ['36/18=2', '10/2=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[36, 66, 18, 10], Operations: [] Exploring Operation: 36+10=46, Resulting Numbers: [66, 18, 46] Generated Node #0,0: 71:[66, 18, 46] Operation: 36+10=46 Exploring Operation: 36+18=54, Resulting Numbers: [66, 10, 54] Generated Node #0,1: 71:[66, 10, 54] Operation: 36+18=54 Moving to Node #0,0 Current State: 71:[66, 18, 46], Operations: ['36+10=46'] Exploring Operation: 66+18=84, Resulting Numbers: [46, 84] Generated Node #0,0,0: 71:[46, 84] Operation: 66+18=84 Exploring Operation: 18+46=64, Resulting Numbers: [66, 64] Generated Node #0,0,1: 71:[66, 64] Operation: 18+46=64 Moving to Node #0,1 Current State: 71:[66, 10, 54], Operations: ['36+18=54'] Exploring Operation: 10+54=64, Resulting Numbers: [66, 64] Generated Node #0,1,0: 71:[66, 64] Operation: 10+54=64 Exploring Operation: 66+10=76, Resulting Numbers: [54, 76] Generated Node #0,1,1: 71:[54, 76] Operation: 66+10=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[66, 64], Operations: ['36+18=54', '10+54=64'] Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[54, 76], Operations: ['36+18=54', '66+10=76'] Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,71 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: 71:[66, 64], Operations: ['36+10=46', '18+46=64'] Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[46, 84], Operations: ['36+10=46', '66+18=84'] Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,71 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 91, 2, 42, 86 ]
26
[ "91-86=5", "42/2=21", "5+21=26" ]
Current State: 26:[91, 2, 42, 86], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [2, 42, 5] Generated Node #2: [2, 42, 5] from Operation: 91-86=5 Current State: 26:[2, 42, 5], Operations: ['91-86=5'] Exploring Operation: 42/2=21, Resulting Numbers: [5, 21] Generated Node #3: [5, 21] from Operation: 42/2=21 Current State: 26:[5, 21], Operations: ['91-86=5', '42/2=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[91, 2, 42, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [91, 42, 43] Generated Node #0,0: 26:[91, 42, 43] Operation: 86/2=43 Exploring Operation: 86-42=44, Resulting Numbers: [91, 2, 44] Generated Node #0,1: 26:[91, 2, 44] Operation: 86-42=44 Exploring Operation: 91-42=49, Resulting Numbers: [2, 86, 49] Generated Node #0,2: 26:[2, 86, 49] Operation: 91-42=49 Exploring Operation: 91-86=5, Resulting Numbers: [2, 42, 5] Generated Node #0,3: 26:[2, 42, 5] Operation: 91-86=5 Moving to Node #0,3 Current State: 26:[2, 42, 5], Operations: ['91-86=5'] Exploring Operation: 42-2=40, Resulting Numbers: [5, 40] Generated Node #0,3,0: 26:[5, 40] Operation: 42-2=40 Exploring Operation: 42-5=37, Resulting Numbers: [2, 37] Generated Node #0,3,1: 26:[2, 37] Operation: 42-5=37 Exploring Operation: 42/2=21, Resulting Numbers: [5, 21] Generated Node #0,3,2: 26:[5, 21] Operation: 42/2=21 Exploring Operation: 5-2=3, Resulting Numbers: [42, 3] Generated Node #0,3,3: 26:[42, 3] Operation: 5-2=3 Moving to Node #0,2 Current State: 26:[2, 86, 49], Operations: ['91-42=49'] Exploring Operation: 86-2=84, Resulting Numbers: [49, 84] Generated Node #0,2,0: 26:[49, 84] Operation: 86-2=84 Exploring Operation: 86-49=37, Resulting Numbers: [2, 37] Generated Node #0,2,1: 26:[2, 37] Operation: 86-49=37 Exploring Operation: 49-2=47, Resulting Numbers: [86, 47] Generated Node #0,2,2: 26:[86, 47] Operation: 49-2=47 Exploring Operation: 86/2=43, Resulting Numbers: [49, 43] Generated Node #0,2,3: 26:[49, 43] Operation: 86/2=43 Moving to Node #0,1 Current State: 26:[91, 2, 44], Operations: ['86-42=44'] Exploring Operation: 91-2=89, Resulting Numbers: [44, 89] Generated Node #0,1,0: 26:[44, 89] Operation: 91-2=89 Exploring Operation: 44-2=42, Resulting Numbers: [91, 42] Generated Node #0,1,1: 26:[91, 42] Operation: 44-2=42 Exploring Operation: 91-44=47, Resulting Numbers: [2, 47] Generated Node #0,1,2: 26:[2, 47] Operation: 91-44=47 Exploring Operation: 44/2=22, Resulting Numbers: [91, 22] Generated Node #0,1,3: 26:[91, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[2, 47], Operations: ['86-42=44', '91-44=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 26:[91, 22], Operations: ['86-42=44', '44/2=22'] Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,26 unequal: No Solution Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[44, 89], Operations: ['86-42=44', '91-2=89'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 44*89=3916, Resulting Numbers: [3916] 3916,26 unequal: No Solution Exploring Operation: 44+89=133, Resulting Numbers: [133] 133,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[91, 42], Operations: ['86-42=44', '44-2=42'] Exploring Operation: 91-42=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 91*42=3822, Resulting Numbers: [3822] 3822,26 unequal: No Solution Exploring Operation: 91+42=133, Resulting Numbers: [133] 133,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 26:[91, 42, 43], Operations: ['86/2=43'] Exploring Operation: 43-42=1, Resulting Numbers: [91, 1] Generated Node #0,0,0: 26:[91, 1] Operation: 43-42=1 Exploring Operation: 91+42=133, Resulting Numbers: [43, 133] Generated Node #0,0,1: 26:[43, 133] Operation: 91+42=133 Exploring Operation: 91-43=48, Resulting Numbers: [42, 48] Generated Node #0,0,2: 26:[42, 48] Operation: 91-43=48 Exploring Operation: 91-42=49, Resulting Numbers: [43, 49] Generated Node #0,0,3: 26:[43, 49] Operation: 91-42=49 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[42, 48], Operations: ['86/2=43', '91-43=48'] Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,26 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,26 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[43, 49], Operations: ['86/2=43', '91-42=49'] Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,26 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[91, 1], Operations: ['86/2=43', '43-42=1'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,26 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,26 unequal: No Solution Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[43, 133], Operations: ['86/2=43', '91+42=133'] Exploring Operation: 43*133=5719, Resulting Numbers: [5719] 5719,26 unequal: No Solution Exploring Operation: 133-43=90, Resulting Numbers: [90] 90,26 unequal: No Solution Exploring Operation: 43+133=176, Resulting Numbers: [176] 176,26 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: 26:[5, 21], Operations: ['91-86=5', '42/2=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[91, 2, 42, 86], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [2, 42, 5] Generated Node #0,3: 26:[2, 42, 5] Operation: 91-86=5 Moving to Node #0,3 Current State: 26:[2, 42, 5], Operations: ['91-86=5'] Exploring Operation: 42/2=21, Resulting Numbers: [5, 21] Generated Node #0,3,2: 26:[5, 21] Operation: 42/2=21 Moving to Node #0,3,2 Current State: 26:[5, 21], Operations: ['91-86=5', '42/2=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.954861
hs_4
mult_heuristic
[ 4, 8, 25, 20 ]
28
[ "4+20=24", "24/8=3", "25+3=28" ]
Current State: 28:[4, 8, 25, 20], Operations: [] Exploring Operation: 4+20=24, Resulting Numbers: [8, 25, 24] Generated Node #2: [8, 25, 24] from Operation: 4+20=24 Current State: 28:[8, 25, 24], Operations: ['4+20=24'] Exploring Operation: 24/8=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 24/8=3 Current State: 28:[25, 3], Operations: ['4+20=24', '24/8=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[4, 8, 25, 20], Operations: [] Exploring Operation: 8+20=28, Resulting Numbers: [4, 25, 28] Generated Node #0,0: 28:[4, 25, 28] Operation: 8+20=28 Exploring Operation: 20/4=5, Resulting Numbers: [8, 25, 5] Generated Node #0,1: 28:[8, 25, 5] Operation: 20/4=5 Exploring Operation: 25-20=5, Resulting Numbers: [4, 8, 5] Generated Node #0,2: 28:[4, 8, 5] Operation: 25-20=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[4, 8, 5], Operations: ['25-20=5'] Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,2,0: 28:[5, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,2,1: 28:[5, 4] Operation: 8-4=4 Exploring Operation: 8+5=13, Resulting Numbers: [4, 13] Generated Node #0,2,2: 28:[4, 13] Operation: 8+5=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[5, 2], Operations: ['25-20=5', '8/4=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[5, 4], Operations: ['25-20=5', '8-4=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[4, 13], Operations: ['25-20=5', '8+5=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[4, 25, 28], Operations: ['8+20=28'] Exploring Operation: 28-25=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 28:[4, 3] Operation: 28-25=3 Exploring Operation: 4+25=29, Resulting Numbers: [28, 29] Generated Node #0,0,1: 28:[28, 29] Operation: 4+25=29 Exploring Operation: 28/4=7, Resulting Numbers: [25, 7] Generated Node #0,0,2: 28:[25, 7] Operation: 28/4=7 Moving to Node #0,0,0 Current State: 28:[4, 3], Operations: ['8+20=28', '28-25=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[28, 29], Operations: ['8+20=28', '4+25=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[25, 7], Operations: ['8+20=28', '28/4=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[8, 25, 5], Operations: ['20/4=5'] Exploring Operation: 25+5=30, Resulting Numbers: [8, 30] Generated Node #0,1,0: 28:[8, 30] Operation: 25+5=30 Exploring Operation: 25-8=17, Resulting Numbers: [5, 17] Generated Node #0,1,1: 28:[5, 17] Operation: 25-8=17 Exploring Operation: 25/5=5, Resulting Numbers: [8, 5] Generated Node #0,1,2: 28:[8, 5] Operation: 25/5=5 Moving to Node #0,1,2 Current State: 28:[8, 5], Operations: ['20/4=5', '25/5=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[8, 30], Operations: ['20/4=5', '25+5=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,28 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[5, 17], Operations: ['20/4=5', '25-8=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,28 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,28 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
[ 25, 18, 22, 10 ]
24
[ "25-22=3", "18-10=8", "3*8=24" ]
Current State: 24:[25, 18, 22, 10], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [18, 10, 3] Generated Node #2: [18, 10, 3] from Operation: 25-22=3 Current State: 24:[18, 10, 3], Operations: ['25-22=3'] Exploring Operation: 18-10=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 18-10=8 Current State: 24:[3, 8], Operations: ['25-22=3', '18-10=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[25, 18, 22, 10], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [25, 10, 4] Generated Node #0,0: 24:[25, 10, 4] Operation: 22-18=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[25, 10, 4], Operations: ['22-18=4'] Exploring Operation: 10-4=6, Resulting Numbers: [25, 6] Generated Node #0,0,0: 24:[25, 6] Operation: 10-4=6 Moving to Node #0,0,0 Current State: 24:[25, 6], Operations: ['22-18=4', '10-4=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,24 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
[ 69, 49, 34, 3 ]
16
[ "69+49=118", "34*3=102", "118-102=16" ]
Current State: 16:[69, 49, 34, 3], Operations: [] Exploring Operation: 69+49=118, Resulting Numbers: [34, 3, 118] Generated Node #2: [34, 3, 118] from Operation: 69+49=118 Current State: 16:[34, 3, 118], Operations: ['69+49=118'] Exploring Operation: 34*3=102, Resulting Numbers: [118, 102] Generated Node #3: [118, 102] from Operation: 34*3=102 Current State: 16:[118, 102], Operations: ['69+49=118', '34*3=102'] Exploring Operation: 118-102=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[69, 49, 34, 3], Operations: [] Exploring Operation: 69-3=66, Resulting Numbers: [49, 34, 66] Generated Node #0,0: 16:[49, 34, 66] Operation: 69-3=66 Exploring Operation: 49-34=15, Resulting Numbers: [69, 3, 15] Generated Node #0,1: 16:[69, 3, 15] Operation: 49-34=15 Exploring Operation: 69-34=35, Resulting Numbers: [49, 3, 35] Generated Node #0,2: 16:[49, 3, 35] Operation: 69-34=35 Exploring Operation: 69/3=23, Resulting Numbers: [49, 34, 23] Generated Node #0,3: 16:[49, 34, 23] Operation: 69/3=23 Exploring Operation: 69-49=20, Resulting Numbers: [34, 3, 20] Generated Node #0,4: 16:[34, 3, 20] Operation: 69-49=20 Moving to Node #0,4 Current State: 16:[34, 3, 20], Operations: ['69-49=20'] Exploring Operation: 34-3=31, Resulting Numbers: [20, 31] Generated Node #0,4,0: 16:[20, 31] Operation: 34-3=31 Exploring Operation: 34-20=14, Resulting Numbers: [3, 14] Generated Node #0,4,1: 16:[3, 14] Operation: 34-20=14 Exploring Operation: 3+20=23, Resulting Numbers: [34, 23] Generated Node #0,4,2: 16:[34, 23] Operation: 3+20=23 Exploring Operation: 20-3=17, Resulting Numbers: [34, 17] Generated Node #0,4,3: 16:[34, 17] Operation: 20-3=17 Exploring Operation: 34+3=37, Resulting Numbers: [20, 37] Generated Node #0,4,4: 16:[20, 37] Operation: 34+3=37 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 16:[3, 14], Operations: ['69-49=20', '34-20=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,16 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,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,4,0 Current State: 16:[20, 31], Operations: ['69-49=20', '34-3=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,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,4,3 Current State: 16:[34, 17], Operations: ['69-49=20', '20-3=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,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,4,2 Current State: 16:[34, 23], Operations: ['69-49=20', '3+20=23'] Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,16 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,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,4,4 Current State: 16:[20, 37], Operations: ['69-49=20', '34+3=37'] Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,16 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,16 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: 16:[49, 3, 35], Operations: ['69-34=35'] Exploring Operation: 3+35=38, Resulting Numbers: [49, 38] Generated Node #0,2,0: 16:[49, 38] Operation: 3+35=38 Exploring Operation: 49-35=14, Resulting Numbers: [3, 14] Generated Node #0,2,1: 16:[3, 14] Operation: 49-35=14 Exploring Operation: 49+3=52, Resulting Numbers: [35, 52] Generated Node #0,2,2: 16:[35, 52] Operation: 49+3=52 Exploring Operation: 35-3=32, Resulting Numbers: [49, 32] Generated Node #0,2,3: 16:[49, 32] Operation: 35-3=32 Exploring Operation: 49-3=46, Resulting Numbers: [35, 46] Generated Node #0,2,4: 16:[35, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[3, 14], Operations: ['69-34=35', '49-35=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,16 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,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,3 Current State: 16:[49, 32], Operations: ['69-34=35', '35-3=32'] Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,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,4 Current State: 16:[35, 46], Operations: ['69-34=35', '49-3=46'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,16 unequal: No Solution Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,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,0 Current State: 16:[49, 38], Operations: ['69-34=35', '3+35=38'] Exploring Operation: 49*38=1862, Resulting Numbers: [1862] 1862,16 unequal: No Solution Exploring Operation: 49+38=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,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:[35, 52], Operations: ['69-34=35', '49+3=52'] Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,16 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,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:[69, 3, 15], Operations: ['49-34=15'] Exploring Operation: 69-3=66, Resulting Numbers: [15, 66] Generated Node #0,1,0: 16:[15, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [15, 23] Generated Node #0,1,1: 16:[15, 23] Operation: 69/3=23 Exploring Operation: 15/3=5, Resulting Numbers: [69, 5] Generated Node #0,1,2: 16:[69, 5] Operation: 15/3=5 Exploring Operation: 69-15=54, Resulting Numbers: [3, 54] Generated Node #0,1,3: 16:[3, 54] Operation: 69-15=54 Exploring Operation: 3+15=18, Resulting Numbers: [69, 18] Generated Node #0,1,4: 16:[69, 18] Operation: 3+15=18 Moving to Node #0,3 Current State: 16:[49, 34, 23], Operations: ['69/3=23'] Exploring Operation: 34-23=11, Resulting Numbers: [49, 11] Generated Node #0,3,0: 16:[49, 11] Operation: 34-23=11 Exploring Operation: 49+34=83, Resulting Numbers: [23, 83] Generated Node #0,3,1: 16:[23, 83] Operation: 49+34=83 Exploring Operation: 49-23=26, Resulting Numbers: [34, 26] Generated Node #0,3,2: 16:[34, 26] Operation: 49-23=26 Exploring Operation: 49-34=15, Resulting Numbers: [23, 15] Generated Node #0,3,3: 16:[23, 15] Operation: 49-34=15 Exploring Operation: 49+23=72, Resulting Numbers: [34, 72] Generated Node #0,3,4: 16:[34, 72] Operation: 49+23=72 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[23, 15], Operations: ['69/3=23', '49-34=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,16 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 23-15=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,3,2 Current State: 16:[34, 26], Operations: ['69/3=23', '49-23=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,16 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 34-26=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,3,0 Current State: 16:[49, 11], Operations: ['69/3=23', '34-23=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,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,3,1 Current State: 16:[23, 83], Operations: ['69/3=23', '49+34=83'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 23+83=106, Resulting Numbers: [106] 106,16 unequal: No Solution Exploring Operation: 23*83=1909, Resulting Numbers: [1909] 1909,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,3,4 Current State: 16:[34, 72], Operations: ['69/3=23', '49+23=72'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,16 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,16 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: 16:[49, 34, 66], Operations: ['69-3=66'] Exploring Operation: 49-34=15, Resulting Numbers: [66, 15] Generated Node #0,0,0: 16:[66, 15] Operation: 49-34=15 Exploring Operation: 66-49=17, Resulting Numbers: [34, 17] Generated Node #0,0,1: 16:[34, 17] Operation: 66-49=17 Exploring Operation: 49+66=115, Resulting Numbers: [34, 115] Generated Node #0,0,2: 16:[34, 115] Operation: 49+66=115 Exploring Operation: 66-34=32, Resulting Numbers: [49, 32] Generated Node #0,0,3: 16:[49, 32] Operation: 66-34=32 Exploring Operation: 49+34=83, Resulting Numbers: [66, 83] Generated Node #0,0,4: 16:[66, 83] Operation: 49+34=83 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[34, 17], Operations: ['69-3=66', '66-49=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,16 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,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,3 Current State: 16:[49, 32], Operations: ['69-3=66', '66-34=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,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,0 Current State: 16:[66, 15], Operations: ['69-3=66', '49-34=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,16 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,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:[34, 115], Operations: ['69-3=66', '49+66=115'] Exploring Operation: 115-34=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 34*115=3910, Resulting Numbers: [3910] 3910,16 unequal: No Solution Exploring Operation: 34+115=149, Resulting Numbers: [149] 149,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,4 Current State: 16:[66, 83], Operations: ['69-3=66', '49+34=83'] Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,16 unequal: No Solution Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,16 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: 16:[15, 23], Operations: ['49-34=15', '69/3=23'] Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[3, 54], Operations: ['49-34=15', '69-15=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,16 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[15, 66], Operations: ['49-34=15', '69-3=66'] Exploring Operation: 15*66=990, Resulting Numbers: [990] 990,16 unequal: No Solution Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[69, 5], Operations: ['49-34=15', '15/3=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,16 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[69, 18], Operations: ['49-34=15', '3+15=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,16 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 88, 37, 44, 45 ]
16
[ "88/44=2", "45-37=8", "2*8=16" ]
Current State: 16:[88, 37, 44, 45], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [37, 45, 2] Generated Node #2: [37, 45, 2] from Operation: 88/44=2 Current State: 16:[37, 45, 2], Operations: ['88/44=2'] Exploring Operation: 45-37=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 45-37=8 Current State: 16:[2, 8], Operations: ['88/44=2', '45-37=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[88, 37, 44, 45], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [37, 45, 2] Generated Node #0,0: 16:[37, 45, 2] Operation: 88/44=2 Exploring Operation: 88-37=51, Resulting Numbers: [44, 45, 51] Generated Node #0,1: 16:[44, 45, 51] Operation: 88-37=51 Exploring Operation: 88-44=44, Resulting Numbers: [37, 45, 44] Generated Node #0,2: 16:[37, 45, 44] Operation: 88-44=44 Exploring Operation: 88-45=43, Resulting Numbers: [37, 44, 43] Generated Node #0,3: 16:[37, 44, 43] Operation: 88-45=43 Exploring Operation: 45-44=1, Resulting Numbers: [88, 37, 1] Generated Node #0,4: 16:[88, 37, 1] Operation: 45-44=1 Moving to Node #0,0 Current State: 16:[37, 45, 2], Operations: ['88/44=2'] Exploring Operation: 37-2=35, Resulting Numbers: [45, 35] Generated Node #0,0,0: 16:[45, 35] Operation: 37-2=35 Exploring Operation: 45+2=47, Resulting Numbers: [37, 47] Generated Node #0,0,1: 16:[37, 47] Operation: 45+2=47 Exploring Operation: 45-37=8, Resulting Numbers: [2, 8] Generated Node #0,0,2: 16:[2, 8] Operation: 45-37=8 Exploring Operation: 37+2=39, Resulting Numbers: [45, 39] Generated Node #0,0,3: 16:[45, 39] Operation: 37+2=39 Exploring Operation: 45-2=43, Resulting Numbers: [37, 43] Generated Node #0,0,4: 16:[37, 43] Operation: 45-2=43 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[2, 8], Operations: ['88/44=2', '45-37=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[88, 37, 44, 45], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [37, 45, 2] Generated Node #0,0: 16:[37, 45, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 16:[37, 45, 2], Operations: ['88/44=2'] Exploring Operation: 45-37=8, Resulting Numbers: [2, 8] Generated Node #0,0,2: 16:[2, 8] Operation: 45-37=8 Moving to Node #0,0,2 Current State: 16:[2, 8], Operations: ['88/44=2', '45-37=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 85, 43, 76, 81 ]
96
[ "85-81=4", "43*4=172", "172-76=96" ]
Current State: 96:[85, 43, 76, 81], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [43, 76, 4] Generated Node #2: [43, 76, 4] from Operation: 85-81=4 Current State: 96:[43, 76, 4], Operations: ['85-81=4'] Exploring Operation: 43*4=172, Resulting Numbers: [76, 172] Generated Node #3: [76, 172] from Operation: 43*4=172 Current State: 96:[76, 172], Operations: ['85-81=4', '43*4=172'] Exploring Operation: 172-76=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[85, 43, 76, 81], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [43, 81, 9] Generated Node #0,0: 96:[43, 81, 9] Operation: 85-76=9 Exploring Operation: 85-81=4, Resulting Numbers: [43, 76, 4] Generated Node #0,1: 96:[43, 76, 4] Operation: 85-81=4 Exploring Operation: 81-76=5, Resulting Numbers: [85, 43, 5] Generated Node #0,2: 96:[85, 43, 5] Operation: 81-76=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[85, 43, 5], Operations: ['81-76=5'] Exploring Operation: 85-43=42, Resulting Numbers: [5, 42] Generated Node #0,2,0: 96:[5, 42] Operation: 85-43=42 Exploring Operation: 85+5=90, Resulting Numbers: [43, 90] Generated Node #0,2,1: 96:[43, 90] Operation: 85+5=90 Exploring Operation: 85/5=17, Resulting Numbers: [43, 17] Generated Node #0,2,2: 96:[43, 17] Operation: 85/5=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[43, 17], Operations: ['81-76=5', '85/5=17'] Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,96 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[5, 42], Operations: ['81-76=5', '85-43=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,96 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[43, 90], Operations: ['81-76=5', '85+5=90'] Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,96 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,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:[43, 81, 9], Operations: ['85-76=9'] Exploring Operation: 81-43=38, Resulting Numbers: [9, 38] Generated Node #0,0,0: 96:[9, 38] Operation: 81-43=38 Exploring Operation: 81+9=90, Resulting Numbers: [43, 90] Generated Node #0,0,1: 96:[43, 90] Operation: 81+9=90 Exploring Operation: 81/9=9, Resulting Numbers: [43, 9] Generated Node #0,0,2: 96:[43, 9] Operation: 81/9=9 Moving to Node #0,0,2 Current State: 96:[43, 9], Operations: ['85-76=9', '81/9=9'] Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,96 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[9, 38], Operations: ['85-76=9', '81-43=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,96 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[43, 90], Operations: ['85-76=9', '81+9=90'] Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,96 unequal: No Solution Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,96 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[43, 76, 4], Operations: ['85-81=4'] Exploring Operation: 76-43=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 96:[4, 33] Operation: 76-43=33 Exploring Operation: 76/4=19, Resulting Numbers: [43, 19] Generated Node #0,1,1: 96:[43, 19] Operation: 76/4=19 Exploring Operation: 43+4=47, Resulting Numbers: [76, 47] Generated Node #0,1,2: 96:[76, 47] Operation: 43+4=47 Moving to Node #0,1,0 Current State: 96:[4, 33], Operations: ['85-81=4', '76-43=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,96 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[43, 19], Operations: ['85-81=4', '76/4=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,96 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[76, 47], Operations: ['85-81=4', '43+4=47'] Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 76*47=3572, Resulting Numbers: [3572] 3572,96 unequal: No Solution Exploring Operation: 76+47=123, Resulting Numbers: [123] 123,96 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
[ 73, 3, 67, 99 ]
38
[ "73-3=70", "99-67=32", "70-32=38" ]
Current State: 38:[73, 3, 67, 99], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [67, 99, 70] Generated Node #2: [67, 99, 70] from Operation: 73-3=70 Current State: 38:[67, 99, 70], Operations: ['73-3=70'] Exploring Operation: 99-67=32, Resulting Numbers: [70, 32] Generated Node #3: [70, 32] from Operation: 99-67=32 Current State: 38:[70, 32], Operations: ['73-3=70', '99-67=32'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[73, 3, 67, 99], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [3, 99, 6] Generated Node #0,0: 38:[3, 99, 6] Operation: 73-67=6 Exploring Operation: 99-73=26, Resulting Numbers: [3, 67, 26] Generated Node #0,1: 38:[3, 67, 26] Operation: 99-73=26 Exploring Operation: 99-67=32, Resulting Numbers: [73, 3, 32] Generated Node #0,2: 38:[73, 3, 32] Operation: 99-67=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[3, 67, 26], Operations: ['99-73=26'] Exploring Operation: 67-3=64, Resulting Numbers: [26, 64] Generated Node #0,1,0: 38:[26, 64] Operation: 67-3=64 Exploring Operation: 26-3=23, Resulting Numbers: [67, 23] Generated Node #0,1,1: 38:[67, 23] Operation: 26-3=23 Exploring Operation: 67-26=41, Resulting Numbers: [3, 41] Generated Node #0,1,2: 38:[3, 41] Operation: 67-26=41 Moving to Node #0,1,2 Current State: 38:[3, 41], Operations: ['99-73=26', '67-26=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,38 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[73, 3, 67, 99], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [3, 67, 26] Generated Node #0,1: 38:[3, 67, 26] Operation: 99-73=26 Moving to Node #0,1 Current State: 38:[3, 67, 26], Operations: ['99-73=26'] Exploring Operation: 67-26=41, Resulting Numbers: [3, 41] Generated Node #0,1,2: 38:[3, 41] Operation: 67-26=41 Moving to Node #0,1,2 Current State: 38:[3, 41], Operations: ['99-73=26', '67-26=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 4, 26, 26, 98 ]
44
[ "98-26=72", "72/4=18", "26+18=44" ]
Current State: 44:[4, 26, 26, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [4, 72] Generated Node #2: [4, 72] from Operation: 98-26=72 Current State: 44:[4, 72], Operations: ['98-26=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,44 equal: Goal Reached Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[4, 26, 26, 98], Operations: [] Exploring Operation: 26/26=1, Resulting Numbers: [4, 98, 1] Generated Node #0,0: 44:[4, 98, 1] Operation: 26/26=1 Exploring Operation: 98-26=72, Resulting Numbers: [4, 26, 72] Generated Node #0,1: 44:[4, 26, 72] Operation: 98-26=72 Exploring Operation: 26-26=0, Resulting Numbers: [4, 98, 0] Generated Node #0,2: 44:[4, 98, 0] Operation: 26-26=0 Exploring Operation: 98-26=72, Resulting Numbers: [4, 26, 72] Generated Node #0,3: 44:[4, 26, 72] Operation: 98-26=72 Exploring Operation: 26-4=22, Resulting Numbers: [26, 98, 22] Generated Node #0,4: 44:[26, 98, 22] Operation: 26-4=22 Moving to Node #0,1 Current State: 44:[4, 26, 72], Operations: ['98-26=72'] Exploring Operation: 72/4=18, Resulting Numbers: [26, 18] Generated Node #0,1,0: 44:[26, 18] Operation: 72/4=18 Exploring Operation: 72-26=46, Resulting Numbers: [4, 46] Generated Node #0,1,1: 44:[4, 46] Operation: 72-26=46 Exploring Operation: 4+26=30, Resulting Numbers: [72, 30] Generated Node #0,1,2: 44:[72, 30] Operation: 4+26=30 Exploring Operation: 26-4=22, Resulting Numbers: [72, 22] Generated Node #0,1,3: 44:[72, 22] Operation: 26-4=22 Exploring Operation: 72-4=68, Resulting Numbers: [26, 68] Generated Node #0,1,4: 44:[26, 68] Operation: 72-4=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[4, 46], Operations: ['98-26=72', '72-26=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,44 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[26, 18], Operations: ['98-26=72', '72/4=18'] Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,44 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[4, 26, 26, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [4, 26, 72] Generated Node #0,1: 44:[4, 26, 72] Operation: 98-26=72 Moving to Node #0,1 Current State: 44:[4, 26, 72], Operations: ['98-26=72'] Exploring Operation: 72/4=18, Resulting Numbers: [26, 18] Generated Node #0,1,0: 44:[26, 18] Operation: 72/4=18 Moving to Node #0,1,0 Current State: 44:[26, 18], Operations: ['98-26=72', '72/4=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 87, 21, 84, 18 ]
11
[ "87-84=3", "21/3=7", "18-7=11" ]
Current State: 11:[87, 21, 84, 18], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [21, 18, 3] Generated Node #2: [21, 18, 3] from Operation: 87-84=3 Current State: 11:[21, 18, 3], Operations: ['87-84=3'] Exploring Operation: 21/3=7, Resulting Numbers: [18, 7] Generated Node #3: [18, 7] from Operation: 21/3=7 Current State: 11:[18, 7], Operations: ['87-84=3', '21/3=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[87, 21, 84, 18], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [87, 18, 4] Generated Node #0,0: 11:[87, 18, 4] Operation: 84/21=4 Exploring Operation: 87-21=66, Resulting Numbers: [84, 18, 66] Generated Node #0,1: 11:[84, 18, 66] Operation: 87-21=66 Exploring Operation: 87-84=3, Resulting Numbers: [21, 18, 3] Generated Node #0,2: 11:[21, 18, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[21, 18, 3], Operations: ['87-84=3'] Exploring Operation: 21/3=7, Resulting Numbers: [18, 7] Generated Node #0,2,0: 11:[18, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [18, 18] Generated Node #0,2,1: 11:[18, 18] Operation: 21-3=18 Exploring Operation: 18-3=15, Resulting Numbers: [21, 15] Generated Node #0,2,2: 11:[21, 15] Operation: 18-3=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[18, 7], Operations: ['87-84=3', '21/3=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[87, 21, 84, 18], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [21, 18, 3] Generated Node #0,2: 11:[21, 18, 3] Operation: 87-84=3 Moving to Node #0,2 Current State: 11:[21, 18, 3], Operations: ['87-84=3'] Exploring Operation: 21/3=7, Resulting Numbers: [18, 7] Generated Node #0,2,0: 11:[18, 7] Operation: 21/3=7 Moving to Node #0,2,0 Current State: 11:[18, 7], Operations: ['87-84=3', '21/3=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 32, 11, 35, 75 ]
33
[ "75-11=64", "64/32=2", "35-2=33" ]
Current State: 33:[32, 11, 35, 75], Operations: [] Exploring Operation: 75-11=64, Resulting Numbers: [32, 35, 64] Generated Node #2: [32, 35, 64] from Operation: 75-11=64 Current State: 33:[32, 35, 64], Operations: ['75-11=64'] Exploring Operation: 64/32=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 64/32=2 Current State: 33:[35, 2], Operations: ['75-11=64', '64/32=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[32, 11, 35, 75], Operations: [] Exploring Operation: 75-35=40, Resulting Numbers: [32, 11, 40] Generated Node #0,0: 33:[32, 11, 40] Operation: 75-35=40 Exploring Operation: 35-32=3, Resulting Numbers: [11, 75, 3] Generated Node #0,1: 33:[11, 75, 3] Operation: 35-32=3 Exploring Operation: 75-32=43, Resulting Numbers: [11, 35, 43] Generated Node #0,2: 33:[11, 35, 43] Operation: 75-32=43 Exploring Operation: 75-11=64, Resulting Numbers: [32, 35, 64] Generated Node #0,3: 33:[32, 35, 64] Operation: 75-11=64 Exploring Operation: 35-11=24, Resulting Numbers: [32, 75, 24] Generated Node #0,4: 33:[32, 75, 24] Operation: 35-11=24 Moving to Node #0,0 Current State: 33:[32, 11, 40], Operations: ['75-35=40'] Exploring Operation: 32+11=43, Resulting Numbers: [40, 43] Generated Node #0,0,0: 33:[40, 43] Operation: 32+11=43 Exploring Operation: 40-11=29, Resulting Numbers: [32, 29] Generated Node #0,0,1: 33:[32, 29] Operation: 40-11=29 Exploring Operation: 40-32=8, Resulting Numbers: [11, 8] Generated Node #0,0,2: 33:[11, 8] Operation: 40-32=8 Exploring Operation: 11+40=51, Resulting Numbers: [32, 51] Generated Node #0,0,3: 33:[32, 51] Operation: 11+40=51 Exploring Operation: 32-11=21, Resulting Numbers: [40, 21] Generated Node #0,0,4: 33:[40, 21] Operation: 32-11=21 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[11, 8], Operations: ['75-35=40', '40-32=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[32, 29], Operations: ['75-35=40', '40-11=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,33 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[40, 43], Operations: ['75-35=40', '32+11=43'] Exploring Operation: 40*43=1720, Resulting Numbers: [1720] 1720,33 unequal: No Solution Exploring Operation: 40+43=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 33:[40, 21], Operations: ['75-35=40', '32-11=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,33 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,33 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[32, 51], Operations: ['75-35=40', '11+40=51'] Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,33 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,33 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: 33:[11, 35, 43], Operations: ['75-32=43'] Exploring Operation: 43-35=8, Resulting Numbers: [11, 8] Generated Node #0,2,0: 33:[11, 8] Operation: 43-35=8 Exploring Operation: 35-11=24, Resulting Numbers: [43, 24] Generated Node #0,2,1: 33:[43, 24] Operation: 35-11=24 Exploring Operation: 11+43=54, Resulting Numbers: [35, 54] Generated Node #0,2,2: 33:[35, 54] Operation: 11+43=54 Exploring Operation: 11+35=46, Resulting Numbers: [43, 46] Generated Node #0,2,3: 33:[43, 46] Operation: 11+35=46 Exploring Operation: 43-11=32, Resulting Numbers: [35, 32] Generated Node #0,2,4: 33:[35, 32] Operation: 43-11=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[11, 8], Operations: ['75-32=43', '43-35=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 33:[35, 32], Operations: ['75-32=43', '43-11=32'] Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,33 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[43, 24], Operations: ['75-32=43', '35-11=24'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,33 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[35, 54], Operations: ['75-32=43', '11+43=54'] Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,33 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[43, 46], Operations: ['75-32=43', '11+35=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,33 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 43*46=1978, Resulting Numbers: [1978] 1978,33 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: 33:[32, 35, 64], Operations: ['75-11=64'] Exploring Operation: 64-32=32, Resulting Numbers: [35, 32] Generated Node #0,3,0: 33:[35, 32] Operation: 64-32=32 Exploring Operation: 35-32=3, Resulting Numbers: [64, 3] Generated Node #0,3,1: 33:[64, 3] Operation: 35-32=3 Exploring Operation: 64-35=29, Resulting Numbers: [32, 29] Generated Node #0,3,2: 33:[32, 29] Operation: 64-35=29 Exploring Operation: 64/32=2, Resulting Numbers: [35, 2] Generated Node #0,3,3: 33:[35, 2] Operation: 64/32=2 Exploring Operation: 32+35=67, Resulting Numbers: [64, 67] Generated Node #0,3,4: 33:[64, 67] Operation: 32+35=67 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[35, 32], Operations: ['75-11=64', '64-32=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,33 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[35, 2], Operations: ['75-11=64', '64/32=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[32, 11, 35, 75], Operations: [] Exploring Operation: 75-11=64, Resulting Numbers: [32, 35, 64] Generated Node #0,3: 33:[32, 35, 64] Operation: 75-11=64 Moving to Node #0,3 Current State: 33:[32, 35, 64], Operations: ['75-11=64'] Exploring Operation: 64/32=2, Resulting Numbers: [35, 2] Generated Node #0,3,3: 33:[35, 2] Operation: 64/32=2 Moving to Node #0,3,3 Current State: 33:[35, 2], Operations: ['75-11=64', '64/32=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 44, 64, 44, 99 ]
72
[ "44+44=88", "64*99=6336", "6336/88=72" ]
Current State: 72:[44, 64, 44, 99], Operations: [] Exploring Operation: 44+44=88, Resulting Numbers: [64, 99, 88] Generated Node #2: [64, 99, 88] from Operation: 44+44=88 Current State: 72:[64, 99, 88], Operations: ['44+44=88'] Exploring Operation: 64*99=6336, Resulting Numbers: [88, 6336] Generated Node #3: [88, 6336] from Operation: 64*99=6336 Current State: 72:[88, 6336], Operations: ['44+44=88', '64*99=6336'] Exploring Operation: 6336/88=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[44, 64, 44, 99], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [44, 44, 35] Generated Node #0,0: 72:[44, 44, 35] Operation: 99-64=35 Exploring Operation: 99-44=55, Resulting Numbers: [64, 44, 55] Generated Node #0,1: 72:[64, 44, 55] Operation: 99-44=55 Moving to Node #0,0 Current State: 72:[44, 44, 35], Operations: ['99-64=35'] Exploring Operation: 44/44=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 72:[35, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [35, 0] Generated Node #0,0,1: 72:[35, 0] Operation: 44-44=0 Moving to Node #0,1 Current State: 72:[64, 44, 55], Operations: ['99-44=55'] Exploring Operation: 55-44=11, Resulting Numbers: [64, 11] Generated Node #0,1,0: 72:[64, 11] Operation: 55-44=11 Exploring Operation: 64-55=9, Resulting Numbers: [44, 9] Generated Node #0,1,1: 72:[44, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[44, 9], Operations: ['99-44=55', '64-55=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,72 unequal: No Solution No solution 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: 72:[64, 11], Operations: ['99-44=55', '55-44=11'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,72 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: 72:[35, 1], Operations: ['99-64=35', '44/44=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[35, 0], Operations: ['99-64=35', '44-44=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,72 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 2, 91, 99, 75 ]
85
[ "91-2=89", "99+75=174", "174-89=85" ]
Current State: 85:[2, 91, 99, 75], Operations: [] Exploring Operation: 91-2=89, Resulting Numbers: [99, 75, 89] Generated Node #2: [99, 75, 89] from Operation: 91-2=89 Current State: 85:[99, 75, 89], Operations: ['91-2=89'] Exploring Operation: 99+75=174, Resulting Numbers: [89, 174] Generated Node #3: [89, 174] from Operation: 99+75=174 Current State: 85:[89, 174], Operations: ['91-2=89', '99+75=174'] Exploring Operation: 174-89=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[2, 91, 99, 75], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [2, 91, 24] Generated Node #0,0: 85:[2, 91, 24] Operation: 99-75=24 Exploring Operation: 99-91=8, Resulting Numbers: [2, 75, 8] Generated Node #0,1: 85:[2, 75, 8] Operation: 99-91=8 Moving to Node #0,0 Current State: 85:[2, 91, 24], Operations: ['99-75=24'] Exploring Operation: 24-2=22, Resulting Numbers: [91, 22] Generated Node #0,0,0: 85:[91, 22] Operation: 24-2=22 Exploring Operation: 91-2=89, Resulting Numbers: [24, 89] Generated Node #0,0,1: 85:[24, 89] Operation: 91-2=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[91, 22], Operations: ['99-75=24', '24-2=22'] Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,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:[24, 89], Operations: ['99-75=24', '91-2=89'] Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,85 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,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:[2, 75, 8], Operations: ['99-91=8'] Exploring Operation: 2+75=77, Resulting Numbers: [8, 77] Generated Node #0,1,0: 85:[8, 77] Operation: 2+75=77 Exploring Operation: 75+8=83, Resulting Numbers: [2, 83] Generated Node #0,1,1: 85:[2, 83] Operation: 75+8=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[2, 83], Operations: ['99-91=8', '75+8=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[2, 91, 99, 75], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [2, 75, 8] Generated Node #0,1: 85:[2, 75, 8] Operation: 99-91=8 Moving to Node #0,1 Current State: 85:[2, 75, 8], Operations: ['99-91=8'] Exploring Operation: 75+8=83, Resulting Numbers: [2, 83] Generated Node #0,1,1: 85:[2, 83] Operation: 75+8=83 Moving to Node #0,1,1 Current State: 85:[2, 83], Operations: ['99-91=8', '75+8=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 5, 36, 11, 49 ]
44
[ "36-11=25", "25/5=5", "49-5=44" ]
Current State: 44:[5, 36, 11, 49], Operations: [] Exploring Operation: 36-11=25, Resulting Numbers: [5, 49, 25] Generated Node #2: [5, 49, 25] from Operation: 36-11=25 Current State: 44:[5, 49, 25], Operations: ['36-11=25'] Exploring Operation: 25/5=5, Resulting Numbers: [49, 5] Generated Node #3: [49, 5] from Operation: 25/5=5 Current State: 44:[49, 5], Operations: ['36-11=25', '25/5=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 36, 11, 49], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [11, 49, 41] Generated Node #0,0: 44:[11, 49, 41] Operation: 5+36=41 Exploring Operation: 36+11=47, Resulting Numbers: [5, 49, 47] Generated Node #0,1: 44:[5, 49, 47] Operation: 36+11=47 Exploring Operation: 36-11=25, Resulting Numbers: [5, 49, 25] Generated Node #0,2: 44:[5, 49, 25] Operation: 36-11=25 Exploring Operation: 49-5=44, Resulting Numbers: [36, 11, 44] Generated Node #0,3: 44:[36, 11, 44] Operation: 49-5=44 Exploring Operation: 49-36=13, Resulting Numbers: [5, 11, 13] Generated Node #0,4: 44:[5, 11, 13] Operation: 49-36=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[5, 11, 13], Operations: ['49-36=13'] Exploring Operation: 13-11=2, Resulting Numbers: [5, 2] Generated Node #0,4,0: 44:[5, 2] Operation: 13-11=2 Exploring Operation: 5+13=18, Resulting Numbers: [11, 18] Generated Node #0,4,1: 44:[11, 18] Operation: 5+13=18 Exploring Operation: 11+13=24, Resulting Numbers: [5, 24] Generated Node #0,4,2: 44:[5, 24] Operation: 11+13=24 Exploring Operation: 13-5=8, Resulting Numbers: [11, 8] Generated Node #0,4,3: 44:[11, 8] Operation: 13-5=8 Exploring Operation: 11-5=6, Resulting Numbers: [13, 6] Generated Node #0,4,4: 44:[13, 6] Operation: 11-5=6 Moving to Node #0,4,0 Current State: 44:[5, 2], Operations: ['49-36=13', '13-11=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,4,3 Current State: 44:[11, 8], Operations: ['49-36=13', '13-5=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,44 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[5, 24], Operations: ['49-36=13', '11+13=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,44 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[11, 18], Operations: ['49-36=13', '5+13=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,44 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,44 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,4,4 Current State: 44:[13, 6], Operations: ['49-36=13', '11-5=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,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,0 Current State: 44:[11, 49, 41], Operations: ['5+36=41'] Exploring Operation: 11+41=52, Resulting Numbers: [49, 52] Generated Node #0,0,0: 44:[49, 52] Operation: 11+41=52 Exploring Operation: 49-41=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 44:[11, 8] Operation: 49-41=8 Exploring Operation: 49-11=38, Resulting Numbers: [41, 38] Generated Node #0,0,2: 44:[41, 38] Operation: 49-11=38 Exploring Operation: 41-11=30, Resulting Numbers: [49, 30] Generated Node #0,0,3: 44:[49, 30] Operation: 41-11=30 Exploring Operation: 11+49=60, Resulting Numbers: [41, 60] Generated Node #0,0,4: 44:[41, 60] Operation: 11+49=60 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[11, 8], Operations: ['5+36=41', '49-41=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,44 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[41, 38], Operations: ['5+36=41', '49-11=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,44 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[49, 52], Operations: ['5+36=41', '11+41=52'] Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[49, 30], Operations: ['5+36=41', '41-11=30'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,44 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 44:[41, 60], Operations: ['5+36=41', '11+49=60'] Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,44 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,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,3 Current State: 44:[36, 11, 44], Operations: ['49-5=44'] Exploring Operation: 44-36=8, Resulting Numbers: [11, 8] Generated Node #0,3,0: 44:[11, 8] Operation: 44-36=8 Exploring Operation: 36+11=47, Resulting Numbers: [44, 47] Generated Node #0,3,1: 44:[44, 47] Operation: 36+11=47 Exploring Operation: 36-11=25, Resulting Numbers: [44, 25] Generated Node #0,3,2: 44:[44, 25] Operation: 36-11=25 Exploring Operation: 44/11=4, Resulting Numbers: [36, 4] Generated Node #0,3,3: 44:[36, 4] Operation: 44/11=4 Exploring Operation: 11+44=55, Resulting Numbers: [36, 55] Generated Node #0,3,4: 44:[36, 55] Operation: 11+44=55 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 44:[11, 8], Operations: ['49-5=44', '44-36=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,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,1 Current State: 44:[44, 47], Operations: ['49-5=44', '36+11=47'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,44 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,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:[44, 25], Operations: ['49-5=44', '36-11=25'] Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,44 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,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:[36, 4], Operations: ['49-5=44', '44/11=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,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,4 Current State: 44:[36, 55], Operations: ['49-5=44', '11+44=55'] Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,44 unequal: No Solution Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,44 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,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:[5, 49, 47], Operations: ['36+11=47'] Exploring Operation: 5+49=54, Resulting Numbers: [47, 54] Generated Node #0,1,0: 44:[47, 54] Operation: 5+49=54 Exploring Operation: 47-5=42, Resulting Numbers: [49, 42] Generated Node #0,1,1: 44:[49, 42] Operation: 47-5=42 Exploring Operation: 49-47=2, Resulting Numbers: [5, 2] Generated Node #0,1,2: 44:[5, 2] Operation: 49-47=2 Exploring Operation: 49-5=44, Resulting Numbers: [47, 44] Generated Node #0,1,3: 44:[47, 44] Operation: 49-5=44 Exploring Operation: 5+47=52, Resulting Numbers: [49, 52] Generated Node #0,1,4: 44:[49, 52] Operation: 5+47=52 Moving to Node #0,1,2 Current State: 44:[5, 2], Operations: ['36+11=47', '49-47=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[47, 44], Operations: ['36+11=47', '49-5=44'] Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,44 unequal: No Solution Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,44 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[49, 42], Operations: ['36+11=47', '47-5=42'] Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,44 unequal: No Solution Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[47, 54], Operations: ['36+11=47', '5+49=54'] Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,44 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[49, 52], Operations: ['36+11=47', '5+47=52'] Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,44 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,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:[5, 49, 25], Operations: ['36-11=25'] Exploring Operation: 5+49=54, Resulting Numbers: [25, 54] Generated Node #0,2,0: 44:[25, 54] Operation: 5+49=54 Exploring Operation: 25/5=5, Resulting Numbers: [49, 5] Generated Node #0,2,1: 44:[49, 5] Operation: 25/5=5 Exploring Operation: 49-5=44, Resulting Numbers: [25, 44] Generated Node #0,2,2: 44:[25, 44] Operation: 49-5=44 Exploring Operation: 25-5=20, Resulting Numbers: [49, 20] Generated Node #0,2,3: 44:[49, 20] Operation: 25-5=20 Exploring Operation: 49-25=24, Resulting Numbers: [5, 24] Generated Node #0,2,4: 44:[5, 24] Operation: 49-25=24 Moving to Node #0,2,2 Current State: 44:[25, 44], Operations: ['36-11=25', '49-5=44'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,44 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[5, 24], Operations: ['36-11=25', '49-25=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,44 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[49, 5], Operations: ['36-11=25', '25/5=5'] Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,44 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[5, 36, 11, 49], Operations: [] Exploring Operation: 36-11=25, Resulting Numbers: [5, 49, 25] Generated Node #0,2: 44:[5, 49, 25] Operation: 36-11=25 Moving to Node #0,2 Current State: 44:[5, 49, 25], Operations: ['36-11=25'] Exploring Operation: 25/5=5, Resulting Numbers: [49, 5] Generated Node #0,2,1: 44:[49, 5] Operation: 25/5=5 Moving to Node #0,2,1 Current State: 44:[49, 5], Operations: ['36-11=25', '25/5=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.909722
hs_5
mult_heuristic
[ 60, 6, 4, 55 ]
91
[ "60+55=115", "6*4=24", "115-24=91" ]
Current State: 91:[60, 6, 4, 55], Operations: [] Exploring Operation: 60+55=115, Resulting Numbers: [6, 4, 115] Generated Node #2: [6, 4, 115] from Operation: 60+55=115 Current State: 91:[6, 4, 115], Operations: ['60+55=115'] Exploring Operation: 6*4=24, Resulting Numbers: [115, 24] Generated Node #3: [115, 24] from Operation: 6*4=24 Current State: 91:[115, 24], Operations: ['60+55=115', '6*4=24'] Exploring Operation: 115-24=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[60, 6, 4, 55], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [6, 4, 5] Generated Node #0,0: 91:[6, 4, 5] Operation: 60-55=5 Moving to Node #0,0 Current State: 91:[6, 4, 5], Operations: ['60-55=5'] Exploring Operation: 4+5=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 91:[6, 9] Operation: 4+5=9 Moving to Node #0,0,0 Current State: 91:[6, 9], Operations: ['60-55=5', '4+5=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 86, 50, 13 ]
44
[ "86-79=7", "50-13=37", "7+37=44" ]
Current State: 44:[79, 86, 50, 13], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [50, 13, 7] Generated Node #2: [50, 13, 7] from Operation: 86-79=7 Current State: 44:[50, 13, 7], Operations: ['86-79=7'] Exploring Operation: 50-13=37, Resulting Numbers: [7, 37] Generated Node #3: [7, 37] from Operation: 50-13=37 Current State: 44:[7, 37], Operations: ['86-79=7', '50-13=37'] Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[79, 86, 50, 13], Operations: [] Exploring Operation: 86-50=36, Resulting Numbers: [79, 13, 36] Generated Node #0,0: 44:[79, 13, 36] Operation: 86-50=36 Exploring Operation: 79-50=29, Resulting Numbers: [86, 13, 29] Generated Node #0,1: 44:[86, 13, 29] Operation: 79-50=29 Exploring Operation: 86-79=7, Resulting Numbers: [50, 13, 7] Generated Node #0,2: 44:[50, 13, 7] Operation: 86-79=7 Moving to Node #0,2 Current State: 44:[50, 13, 7], Operations: ['86-79=7'] Exploring Operation: 13+7=20, Resulting Numbers: [50, 20] Generated Node #0,2,0: 44:[50, 20] Operation: 13+7=20 Exploring Operation: 13-7=6, Resulting Numbers: [50, 6] Generated Node #0,2,1: 44:[50, 6] Operation: 13-7=6 Exploring Operation: 50-7=43, Resulting Numbers: [13, 43] Generated Node #0,2,2: 44:[13, 43] Operation: 50-7=43 Moving to Node #0,0 Current State: 44:[79, 13, 36], Operations: ['86-50=36'] Exploring Operation: 79-36=43, Resulting Numbers: [13, 43] Generated Node #0,0,0: 44:[13, 43] Operation: 79-36=43 Exploring Operation: 36-13=23, Resulting Numbers: [79, 23] Generated Node #0,0,1: 44:[79, 23] Operation: 36-13=23 Exploring Operation: 79-13=66, Resulting Numbers: [36, 66] Generated Node #0,0,2: 44:[36, 66] Operation: 79-13=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[13, 43], Operations: ['86-50=36', '79-36=43'] Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,44 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,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,0,2 Current State: 44:[36, 66], Operations: ['86-50=36', '79-13=66'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 36*66=2376, Resulting Numbers: [2376] 2376,44 unequal: No Solution Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,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,0,1 Current State: 44:[79, 23], Operations: ['86-50=36', '36-13=23'] Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,44 unequal: No Solution Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,44 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,44 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: 44:[86, 13, 29], Operations: ['79-50=29'] Exploring Operation: 13+29=42, Resulting Numbers: [86, 42] Generated Node #0,1,0: 44:[86, 42] Operation: 13+29=42 Exploring Operation: 86-29=57, Resulting Numbers: [13, 57] Generated Node #0,1,1: 44:[13, 57] Operation: 86-29=57 Exploring Operation: 86-13=73, Resulting Numbers: [29, 73] Generated Node #0,1,2: 44:[29, 73] Operation: 86-13=73 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[13, 57], Operations: ['79-50=29', '86-29=57'] Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,44 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[79, 86, 50, 13], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [86, 13, 29] Generated Node #0,1: 44:[86, 13, 29] Operation: 79-50=29 Moving to Node #0,1 Current State: 44:[86, 13, 29], Operations: ['79-50=29'] Exploring Operation: 86-29=57, Resulting Numbers: [13, 57] Generated Node #0,1,1: 44:[13, 57] Operation: 86-29=57 Moving to Node #0,1,1 Current State: 44:[13, 57], Operations: ['79-50=29', '86-29=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 20, 31, 7, 19 ]
77
[ "20+31=51", "7+19=26", "51+26=77" ]
Current State: 77:[20, 31, 7, 19], Operations: [] Exploring Operation: 20+31=51, Resulting Numbers: [7, 19, 51] Generated Node #2: [7, 19, 51] from Operation: 20+31=51 Current State: 77:[7, 19, 51], Operations: ['20+31=51'] Exploring Operation: 7+19=26, Resulting Numbers: [51, 26] Generated Node #3: [51, 26] from Operation: 7+19=26 Current State: 77:[51, 26], Operations: ['20+31=51', '7+19=26'] Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[20, 31, 7, 19], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [7, 19, 11] Generated Node #0,0: 77:[7, 19, 11] Operation: 31-20=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[7, 19, 11], Operations: ['31-20=11'] Exploring Operation: 19-7=12, Resulting Numbers: [11, 12] Generated Node #0,0,0: 77:[11, 12] Operation: 19-7=12 Moving to Node #0,0,0 Current State: 77:[11, 12], Operations: ['31-20=11', '19-7=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 53, 36, 46, 24 ]
84
[ "53-46=7", "36-24=12", "7*12=84" ]
Current State: 84:[53, 36, 46, 24], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [36, 24, 7] Generated Node #2: [36, 24, 7] from Operation: 53-46=7 Current State: 84:[36, 24, 7], Operations: ['53-46=7'] Exploring Operation: 36-24=12, Resulting Numbers: [7, 12] Generated Node #3: [7, 12] from Operation: 36-24=12 Current State: 84:[7, 12], Operations: ['53-46=7', '36-24=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[53, 36, 46, 24], Operations: [] Exploring Operation: 53+36=89, Resulting Numbers: [46, 24, 89] Generated Node #0,0: 84:[46, 24, 89] Operation: 53+36=89 Exploring Operation: 36-24=12, Resulting Numbers: [53, 46, 12] Generated Node #0,1: 84:[53, 46, 12] Operation: 36-24=12 Exploring Operation: 53-46=7, Resulting Numbers: [36, 24, 7] Generated Node #0,2: 84:[36, 24, 7] Operation: 53-46=7 Exploring Operation: 53-24=29, Resulting Numbers: [36, 46, 29] Generated Node #0,3: 84:[36, 46, 29] Operation: 53-24=29 Exploring Operation: 53-36=17, Resulting Numbers: [46, 24, 17] Generated Node #0,4: 84:[46, 24, 17] Operation: 53-36=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[36, 24, 7], Operations: ['53-46=7'] Exploring Operation: 24+7=31, Resulting Numbers: [36, 31] Generated Node #0,2,0: 84:[36, 31] Operation: 24+7=31 Exploring Operation: 36+7=43, Resulting Numbers: [24, 43] Generated Node #0,2,1: 84:[24, 43] Operation: 36+7=43 Exploring Operation: 24-7=17, Resulting Numbers: [36, 17] Generated Node #0,2,2: 84:[36, 17] Operation: 24-7=17 Exploring Operation: 36-7=29, Resulting Numbers: [24, 29] Generated Node #0,2,3: 84:[24, 29] Operation: 36-7=29 Exploring Operation: 36-24=12, Resulting Numbers: [7, 12] Generated Node #0,2,4: 84:[7, 12] Operation: 36-24=12 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[7, 12], Operations: ['53-46=7', '36-24=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[53, 36, 46, 24], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [36, 24, 7] Generated Node #0,2: 84:[36, 24, 7] Operation: 53-46=7 Moving to Node #0,2 Current State: 84:[36, 24, 7], Operations: ['53-46=7'] Exploring Operation: 36-24=12, Resulting Numbers: [7, 12] Generated Node #0,2,4: 84:[7, 12] Operation: 36-24=12 Moving to Node #0,2,4 Current State: 84:[7, 12], Operations: ['53-46=7', '36-24=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 34, 14, 10 ]
90
[ "34-14=20", "10+20=30", "3*30=90" ]
Current State: 90:[3, 34, 14, 10], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [3, 10, 20] Generated Node #2: [3, 10, 20] from Operation: 34-14=20 Current State: 90:[3, 10, 20], Operations: ['34-14=20'] Exploring Operation: 10+20=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 10+20=30 Current State: 90:[3, 30], Operations: ['34-14=20', '10+20=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[3, 34, 14, 10], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [3, 10, 20] Generated Node #0,0: 90:[3, 10, 20] Operation: 34-14=20 Exploring Operation: 34-3=31, Resulting Numbers: [14, 10, 31] Generated Node #0,1: 90:[14, 10, 31] Operation: 34-3=31 Moving to Node #0,0 Current State: 90:[3, 10, 20], Operations: ['34-14=20'] Exploring Operation: 20-10=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 90:[3, 10] Operation: 20-10=10 Exploring Operation: 10+20=30, Resulting Numbers: [3, 30] Generated Node #0,0,1: 90:[3, 30] Operation: 10+20=30 Moving to Node #0,1 Current State: 90:[14, 10, 31], Operations: ['34-3=31'] Exploring Operation: 14+31=45, Resulting Numbers: [10, 45] Generated Node #0,1,0: 90:[10, 45] Operation: 14+31=45 Exploring Operation: 31-14=17, Resulting Numbers: [10, 17] Generated Node #0,1,1: 90:[10, 17] Operation: 31-14=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[10, 45], Operations: ['34-3=31', '14+31=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[10, 17], Operations: ['34-3=31', '31-14=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,90 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: 90:[3, 10], Operations: ['34-14=20', '20-10=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[3, 30], Operations: ['34-14=20', '10+20=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[3, 34, 14, 10], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [3, 10, 20] Generated Node #0,0: 90:[3, 10, 20] Operation: 34-14=20 Moving to Node #0,0 Current State: 90:[3, 10, 20], Operations: ['34-14=20'] Exploring Operation: 10+20=30, Resulting Numbers: [3, 30] Generated Node #0,0,1: 90:[3, 30] Operation: 10+20=30 Moving to Node #0,0,1 Current State: 90:[3, 30], Operations: ['34-14=20', '10+20=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 44, 91, 15, 4 ]
75
[ "44+91=135", "15*4=60", "135-60=75" ]
Current State: 75:[44, 91, 15, 4], Operations: [] Exploring Operation: 44+91=135, Resulting Numbers: [15, 4, 135] Generated Node #2: [15, 4, 135] from Operation: 44+91=135 Current State: 75:[15, 4, 135], Operations: ['44+91=135'] Exploring Operation: 15*4=60, Resulting Numbers: [135, 60] Generated Node #3: [135, 60] from Operation: 15*4=60 Current State: 75:[135, 60], Operations: ['44+91=135', '15*4=60'] Exploring Operation: 135-60=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[44, 91, 15, 4], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [91, 15, 11] Generated Node #0,0: 75:[91, 15, 11] Operation: 44/4=11 Exploring Operation: 44-15=29, Resulting Numbers: [91, 4, 29] Generated Node #0,1: 75:[91, 4, 29] Operation: 44-15=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[91, 15, 11], Operations: ['44/4=11'] Exploring Operation: 91-11=80, Resulting Numbers: [15, 80] Generated Node #0,0,0: 75:[15, 80] Operation: 91-11=80 Exploring Operation: 91-15=76, Resulting Numbers: [11, 76] Generated Node #0,0,1: 75:[11, 76] Operation: 91-15=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[15, 80], Operations: ['44/4=11', '91-11=80'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,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,0,1 Current State: 75:[11, 76], Operations: ['44/4=11', '91-15=76'] Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,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,1 Current State: 75:[91, 4, 29], Operations: ['44-15=29'] Exploring Operation: 91-29=62, Resulting Numbers: [4, 62] Generated Node #0,1,0: 75:[4, 62] Operation: 91-29=62 Exploring Operation: 91-4=87, Resulting Numbers: [29, 87] Generated Node #0,1,1: 75:[29, 87] Operation: 91-4=87 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[4, 62], Operations: ['44-15=29', '91-29=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,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:[29, 87], Operations: ['44-15=29', '91-4=87'] Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,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_2
mult_heuristic
[ 36, 26, 14, 53 ]
87
[ "36-26=10", "14*10=140", "140-53=87" ]
Current State: 87:[36, 26, 14, 53], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [14, 53, 10] Generated Node #2: [14, 53, 10] from Operation: 36-26=10 Current State: 87:[14, 53, 10], Operations: ['36-26=10'] Exploring Operation: 14*10=140, Resulting Numbers: [53, 140] Generated Node #3: [53, 140] from Operation: 14*10=140 Current State: 87:[53, 140], Operations: ['36-26=10', '14*10=140'] Exploring Operation: 140-53=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[36, 26, 14, 53], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [36, 26, 39] Generated Node #0,0: 87:[36, 26, 39] Operation: 53-14=39 Exploring Operation: 53-36=17, Resulting Numbers: [26, 14, 17] Generated Node #0,1: 87:[26, 14, 17] Operation: 53-36=17 Exploring Operation: 36+53=89, Resulting Numbers: [26, 14, 89] Generated Node #0,2: 87:[26, 14, 89] Operation: 36+53=89 Exploring Operation: 26+53=79, Resulting Numbers: [36, 14, 79] Generated Node #0,3: 87:[36, 14, 79] Operation: 26+53=79 Exploring Operation: 53-26=27, Resulting Numbers: [36, 14, 27] Generated Node #0,4: 87:[36, 14, 27] Operation: 53-26=27 Moving to Node #0,2 Current State: 87:[26, 14, 89], Operations: ['36+53=89'] Exploring Operation: 89-14=75, Resulting Numbers: [26, 75] Generated Node #0,2,0: 87:[26, 75] Operation: 89-14=75 Exploring Operation: 26-14=12, Resulting Numbers: [89, 12] Generated Node #0,2,1: 87:[89, 12] Operation: 26-14=12 Exploring Operation: 14+89=103, Resulting Numbers: [26, 103] Generated Node #0,2,2: 87:[26, 103] Operation: 14+89=103 Exploring Operation: 26+14=40, Resulting Numbers: [89, 40] Generated Node #0,2,3: 87:[89, 40] Operation: 26+14=40 Exploring Operation: 89-26=63, Resulting Numbers: [14, 63] Generated Node #0,2,4: 87:[14, 63] Operation: 89-26=63 Moving to Node #0,4 Current State: 87:[36, 14, 27], Operations: ['53-26=27'] Exploring Operation: 14+27=41, Resulting Numbers: [36, 41] Generated Node #0,4,0: 87:[36, 41] Operation: 14+27=41 Exploring Operation: 27-14=13, Resulting Numbers: [36, 13] Generated Node #0,4,1: 87:[36, 13] Operation: 27-14=13 Exploring Operation: 36+14=50, Resulting Numbers: [27, 50] Generated Node #0,4,2: 87:[27, 50] Operation: 36+14=50 Exploring Operation: 36-14=22, Resulting Numbers: [27, 22] Generated Node #0,4,3: 87:[27, 22] Operation: 36-14=22 Exploring Operation: 36-27=9, Resulting Numbers: [14, 9] Generated Node #0,4,4: 87:[14, 9] Operation: 36-27=9 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 87:[27, 22], Operations: ['53-26=27', '36-14=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 87:[36, 13], Operations: ['53-26=27', '27-14=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,87 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 87:[14, 9], Operations: ['53-26=27', '36-27=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 87:[36, 41], Operations: ['53-26=27', '14+27=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 87:[27, 50], Operations: ['53-26=27', '36+14=50'] Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,87 unequal: No Solution Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 87:[36, 26, 39], Operations: ['53-14=39'] Exploring Operation: 39-26=13, Resulting Numbers: [36, 13] Generated Node #0,0,0: 87:[36, 13] Operation: 39-26=13 Exploring Operation: 36-26=10, Resulting Numbers: [39, 10] Generated Node #0,0,1: 87:[39, 10] Operation: 36-26=10 Exploring Operation: 26+39=65, Resulting Numbers: [36, 65] Generated Node #0,0,2: 87:[36, 65] Operation: 26+39=65 Exploring Operation: 39-36=3, Resulting Numbers: [26, 3] Generated Node #0,0,3: 87:[26, 3] Operation: 39-36=3 Exploring Operation: 36+39=75, Resulting Numbers: [26, 75] Generated Node #0,0,4: 87:[26, 75] Operation: 36+39=75 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[26, 3], Operations: ['53-14=39', '39-36=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 87:[26, 75], Operations: ['53-14=39', '36+39=75'] Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,87 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[36, 13], Operations: ['53-14=39', '39-26=13'] Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,87 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[39, 10], Operations: ['53-14=39', '36-26=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,87 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[36, 65], Operations: ['53-14=39', '26+39=65'] Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,87 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,87 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: 87:[26, 14, 17], Operations: ['53-36=17'] Exploring Operation: 26+14=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 87:[17, 40] Operation: 26+14=40 Exploring Operation: 26-14=12, Resulting Numbers: [17, 12] Generated Node #0,1,1: 87:[17, 12] Operation: 26-14=12 Exploring Operation: 14+17=31, Resulting Numbers: [26, 31] Generated Node #0,1,2: 87:[26, 31] Operation: 14+17=31 Exploring Operation: 26-17=9, Resulting Numbers: [14, 9] Generated Node #0,1,3: 87:[14, 9] Operation: 26-17=9 Exploring Operation: 17-14=3, Resulting Numbers: [26, 3] Generated Node #0,1,4: 87:[26, 3] Operation: 17-14=3 Moving to Node #0,3 Current State: 87:[36, 14, 79], Operations: ['26+53=79'] Exploring Operation: 36+14=50, Resulting Numbers: [79, 50] Generated Node #0,3,0: 87:[79, 50] Operation: 36+14=50 Exploring Operation: 79-14=65, Resulting Numbers: [36, 65] Generated Node #0,3,1: 87:[36, 65] Operation: 79-14=65 Exploring Operation: 79-36=43, Resulting Numbers: [14, 43] Generated Node #0,3,2: 87:[14, 43] Operation: 79-36=43 Exploring Operation: 36-14=22, Resulting Numbers: [79, 22] Generated Node #0,3,3: 87:[79, 22] Operation: 36-14=22 Exploring Operation: 14+79=93, Resulting Numbers: [36, 93] Generated Node #0,3,4: 87:[36, 93] Operation: 14+79=93 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 87:[36, 93], Operations: ['26+53=79', '14+79=93'] Exploring Operation: 36+93=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 36*93=3348, Resulting Numbers: [3348] 3348,87 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[79, 22], Operations: ['26+53=79', '36-14=22'] Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,87 unequal: No Solution Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[14, 43], Operations: ['26+53=79', '79-36=43'] Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,87 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[79, 50], Operations: ['26+53=79', '36+14=50'] Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,87 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[36, 65], Operations: ['26+53=79', '79-14=65'] Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,87 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 87:[26, 3], Operations: ['53-36=17', '17-14=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[26, 31], Operations: ['53-36=17', '14+17=31'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[89, 12], Operations: ['36+53=89', '26-14=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,87 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[89, 40], Operations: ['36+53=89', '26+14=40'] Exploring Operation: 89*40=3560, Resulting Numbers: [3560] 3560,87 unequal: No Solution Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 89+40=129, Resulting Numbers: [129] 129,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[26, 75], Operations: ['36+53=89', '89-14=75'] Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,87 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[14, 9], Operations: ['53-36=17', '26-17=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[26, 103], Operations: ['36+53=89', '14+89=103'] Exploring Operation: 26+103=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 26*103=2678, Resulting Numbers: [2678] 2678,87 unequal: No Solution Exploring Operation: 103-26=77, Resulting Numbers: [77] 77,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[17, 12], Operations: ['53-36=17', '26-14=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[17, 40], Operations: ['53-36=17', '26+14=40'] Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,87 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,87 unequal: No Solution Moving to Node #0,2,4 Current State: 87:[14, 63], Operations: ['36+53=89', '89-26=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,87 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,87 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 13, 9, 53, 87 ]
23
[ "13*9=117", "53+87=140", "140-117=23" ]
Current State: 23:[13, 9, 53, 87], Operations: [] Exploring Operation: 13*9=117, Resulting Numbers: [53, 87, 117] Generated Node #2: [53, 87, 117] from Operation: 13*9=117 Current State: 23:[53, 87, 117], Operations: ['13*9=117'] Exploring Operation: 53+87=140, Resulting Numbers: [117, 140] Generated Node #3: [117, 140] from Operation: 53+87=140 Current State: 23:[117, 140], Operations: ['13*9=117', '53+87=140'] Exploring Operation: 140-117=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[13, 9, 53, 87], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [9, 87, 40] Generated Node #0,0: 23:[9, 87, 40] Operation: 53-13=40 Exploring Operation: 13+9=22, Resulting Numbers: [53, 87, 22] Generated Node #0,1: 23:[53, 87, 22] Operation: 13+9=22 Exploring Operation: 87-53=34, Resulting Numbers: [13, 9, 34] Generated Node #0,2: 23:[13, 9, 34] Operation: 87-53=34 Exploring Operation: 87-13=74, Resulting Numbers: [9, 53, 74] Generated Node #0,3: 23:[9, 53, 74] Operation: 87-13=74 Moving to Node #0,2 Current State: 23:[13, 9, 34], Operations: ['87-53=34'] Exploring Operation: 13+9=22, Resulting Numbers: [34, 22] Generated Node #0,2,0: 23:[34, 22] Operation: 13+9=22 Exploring Operation: 13-9=4, Resulting Numbers: [34, 4] Generated Node #0,2,1: 23:[34, 4] Operation: 13-9=4 Exploring Operation: 34-9=25, Resulting Numbers: [13, 25] Generated Node #0,2,2: 23:[13, 25] Operation: 34-9=25 Exploring Operation: 34-13=21, Resulting Numbers: [9, 21] Generated Node #0,2,3: 23:[9, 21] Operation: 34-13=21 Moving to Node #0,1 Current State: 23:[53, 87, 22], Operations: ['13+9=22'] Exploring Operation: 53+22=75, Resulting Numbers: [87, 75] Generated Node #0,1,0: 23:[87, 75] Operation: 53+22=75 Exploring Operation: 53-22=31, Resulting Numbers: [87, 31] Generated Node #0,1,1: 23:[87, 31] Operation: 53-22=31 Exploring Operation: 87-53=34, Resulting Numbers: [22, 34] Generated Node #0,1,2: 23:[22, 34] Operation: 87-53=34 Exploring Operation: 87-22=65, Resulting Numbers: [53, 65] Generated Node #0,1,3: 23:[53, 65] Operation: 87-22=65 Moving to Node #0,0 Current State: 23:[9, 87, 40], Operations: ['53-13=40'] Exploring Operation: 9+87=96, Resulting Numbers: [40, 96] Generated Node #0,0,0: 23:[40, 96] Operation: 9+87=96 Exploring Operation: 87-40=47, Resulting Numbers: [9, 47] Generated Node #0,0,1: 23:[9, 47] Operation: 87-40=47 Exploring Operation: 40-9=31, Resulting Numbers: [87, 31] Generated Node #0,0,2: 23:[87, 31] Operation: 40-9=31 Exploring Operation: 87-9=78, Resulting Numbers: [40, 78] Generated Node #0,0,3: 23:[40, 78] Operation: 87-9=78 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[9, 47], Operations: ['53-13=40', '87-40=47'] Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,23 unequal: No Solution Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[87, 31], Operations: ['53-13=40', '40-9=31'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,23 unequal: No Solution Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[40, 78], Operations: ['53-13=40', '87-9=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,23 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[40, 96], Operations: ['53-13=40', '9+87=96'] Exploring Operation: 40*96=3840, Resulting Numbers: [3840] 3840,23 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,23 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: 23:[9, 53, 74], Operations: ['87-13=74'] Exploring Operation: 9+53=62, Resulting Numbers: [74, 62] Generated Node #0,3,0: 23:[74, 62] Operation: 9+53=62 Exploring Operation: 74-9=65, Resulting Numbers: [53, 65] Generated Node #0,3,1: 23:[53, 65] Operation: 74-9=65 Exploring Operation: 74-53=21, Resulting Numbers: [9, 21] Generated Node #0,3,2: 23:[9, 21] Operation: 74-53=21 Exploring Operation: 53-9=44, Resulting Numbers: [74, 44] Generated Node #0,3,3: 23:[74, 44] Operation: 53-9=44 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 23:[9, 21], Operations: ['87-13=74', '74-53=21'] Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[53, 65], Operations: ['87-13=74', '74-9=65'] Exploring Operation: 53+65=118, Resulting Numbers: [118] 118,23 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 53*65=3445, Resulting Numbers: [3445] 3445,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[74, 44], Operations: ['87-13=74', '53-9=44'] Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,23 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,23 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[74, 62], Operations: ['87-13=74', '9+53=62'] Exploring Operation: 74+62=136, Resulting Numbers: [136] 136,23 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 74*62=4588, Resulting Numbers: [4588] 4588,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 23:[34, 22], Operations: ['87-53=34', '13+9=22'] Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,23 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[13, 25], Operations: ['87-53=34', '34-9=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,23 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[22, 34], Operations: ['13+9=22', '87-53=34'] Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[9, 21], Operations: ['87-53=34', '34-13=21'] Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[34, 4], Operations: ['87-53=34', '13-9=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,23 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[87, 31], Operations: ['13+9=22', '53-22=31'] Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,23 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[53, 65], Operations: ['13+9=22', '87-22=65'] Exploring Operation: 53*65=3445, Resulting Numbers: [3445] 3445,23 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 53+65=118, Resulting Numbers: [118] 118,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[87, 75], Operations: ['13+9=22', '53+22=75'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 87*75=6525, Resulting Numbers: [6525] 6525,23 unequal: No Solution Exploring Operation: 87+75=162, Resulting Numbers: [162] 162,23 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 29, 48, 30, 17 ]
90
[ "29+48=77", "30-17=13", "77+13=90" ]
Current State: 90:[29, 48, 30, 17], Operations: [] Exploring Operation: 29+48=77, Resulting Numbers: [30, 17, 77] Generated Node #2: [30, 17, 77] from Operation: 29+48=77 Current State: 90:[30, 17, 77], Operations: ['29+48=77'] Exploring Operation: 30-17=13, Resulting Numbers: [77, 13] Generated Node #3: [77, 13] from Operation: 30-17=13 Current State: 90:[77, 13], Operations: ['29+48=77', '30-17=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[29, 48, 30, 17], Operations: [] Exploring Operation: 48-29=19, Resulting Numbers: [30, 17, 19] Generated Node #0,0: 90:[30, 17, 19] Operation: 48-29=19 Exploring Operation: 48-30=18, Resulting Numbers: [29, 17, 18] Generated Node #0,1: 90:[29, 17, 18] Operation: 48-30=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[30, 17, 19], Operations: ['48-29=19'] Exploring Operation: 30-19=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 90:[17, 11] Operation: 30-19=11 Exploring Operation: 19-17=2, Resulting Numbers: [30, 2] Generated Node #0,0,1: 90:[30, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[30, 2], Operations: ['48-29=19', '19-17=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[17, 11], Operations: ['48-29=19', '30-19=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[29, 17, 18], Operations: ['48-30=18'] Exploring Operation: 29-17=12, Resulting Numbers: [18, 12] Generated Node #0,1,0: 90:[18, 12] Operation: 29-17=12 Exploring Operation: 29+17=46, Resulting Numbers: [18, 46] Generated Node #0,1,1: 90:[18, 46] Operation: 29+17=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[18, 46], Operations: ['48-30=18', '29+17=46'] Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,90 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[18, 12], Operations: ['48-30=18', '29-17=12'] Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 10, 75, 65 ]
69
[ "65-5=60", "60/10=6", "75-6=69" ]
Current State: 69:[5, 10, 75, 65], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [10, 75, 60] Generated Node #2: [10, 75, 60] from Operation: 65-5=60 Current State: 69:[10, 75, 60], Operations: ['65-5=60'] Exploring Operation: 60/10=6, Resulting Numbers: [75, 6] Generated Node #3: [75, 6] from Operation: 60/10=6 Current State: 69:[75, 6], Operations: ['65-5=60', '60/10=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[5, 10, 75, 65], Operations: [] Exploring Operation: 75-10=65, Resulting Numbers: [5, 65, 65] Generated Node #0,0: 69:[5, 65, 65] Operation: 75-10=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[5, 65, 65], Operations: ['75-10=65'] Exploring Operation: 65/65=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 69:[5, 1] Operation: 65/65=1 Moving to Node #0,0,0 Current State: 69:[5, 1], Operations: ['75-10=65', '65/65=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,69 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
[ 16, 36, 67, 72 ]
87
[ "16+36=52", "67+72=139", "139-52=87" ]
Current State: 87:[16, 36, 67, 72], Operations: [] Exploring Operation: 16+36=52, Resulting Numbers: [67, 72, 52] Generated Node #2: [67, 72, 52] from Operation: 16+36=52 Current State: 87:[67, 72, 52], Operations: ['16+36=52'] Exploring Operation: 67+72=139, Resulting Numbers: [52, 139] Generated Node #3: [52, 139] from Operation: 67+72=139 Current State: 87:[52, 139], Operations: ['16+36=52', '67+72=139'] Exploring Operation: 139-52=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[16, 36, 67, 72], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [16, 36, 5] Generated Node #0,0: 87:[16, 36, 5] Operation: 72-67=5 Exploring Operation: 16+72=88, Resulting Numbers: [36, 67, 88] Generated Node #0,1: 87:[36, 67, 88] Operation: 16+72=88 Exploring Operation: 16+67=83, Resulting Numbers: [36, 72, 83] Generated Node #0,2: 87:[36, 72, 83] Operation: 16+67=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[16, 36, 5], Operations: ['72-67=5'] Exploring Operation: 36-16=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 87:[5, 20] Operation: 36-16=20 Exploring Operation: 16*5=80, Resulting Numbers: [36, 80] Generated Node #0,0,1: 87:[36, 80] Operation: 16*5=80 Exploring Operation: 16+5=21, Resulting Numbers: [36, 21] Generated Node #0,0,2: 87:[36, 21] Operation: 16+5=21 Moving to Node #0,0,0 Current State: 87:[5, 20], Operations: ['72-67=5', '36-16=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[36, 80], Operations: ['72-67=5', '16*5=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,87 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[36, 21], Operations: ['72-67=5', '16+5=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,87 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[36, 72, 83], Operations: ['16+67=83'] Exploring Operation: 72/36=2, Resulting Numbers: [83, 2] Generated Node #0,2,0: 87:[83, 2] Operation: 72/36=2 Exploring Operation: 72-36=36, Resulting Numbers: [83, 36] Generated Node #0,2,1: 87:[83, 36] Operation: 72-36=36 Exploring Operation: 83-72=11, Resulting Numbers: [36, 11] Generated Node #0,2,2: 87:[36, 11] Operation: 83-72=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[83, 2], Operations: ['16+67=83', '72/36=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,87 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,87 unequal: No Solution No 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: 87:[83, 36], Operations: ['16+67=83', '72-36=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,87 unequal: No Solution No 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: 87:[36, 11], Operations: ['16+67=83', '83-72=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,87 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,87 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: 87:[36, 67, 88], Operations: ['16+72=88'] Exploring Operation: 36+67=103, Resulting Numbers: [88, 103] Generated Node #0,1,0: 87:[88, 103] Operation: 36+67=103 Exploring Operation: 67-36=31, Resulting Numbers: [88, 31] Generated Node #0,1,1: 87:[88, 31] Operation: 67-36=31 Exploring Operation: 88-67=21, Resulting Numbers: [36, 21] Generated Node #0,1,2: 87:[36, 21] Operation: 88-67=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[88, 31], Operations: ['16+72=88', '67-36=31'] Exploring Operation: 88+31=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 88*31=2728, Resulting Numbers: [2728] 2728,87 unequal: No Solution Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,87 unequal: No Solution No 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: 87:[36, 21], Operations: ['16+72=88', '88-67=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,87 unequal: No Solution No 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: 87:[88, 103], Operations: ['16+72=88', '36+67=103'] Exploring Operation: 103-88=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 88*103=9064, Resulting Numbers: [9064] 9064,87 unequal: No Solution Exploring Operation: 88+103=191, Resulting Numbers: [191] 191,87 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
[ 47, 16, 56, 33 ]
54
[ "47-16=31", "56-33=23", "31+23=54" ]
Current State: 54:[47, 16, 56, 33], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [56, 33, 31] Generated Node #2: [56, 33, 31] from Operation: 47-16=31 Current State: 54:[56, 33, 31], Operations: ['47-16=31'] Exploring Operation: 56-33=23, Resulting Numbers: [31, 23] Generated Node #3: [31, 23] from Operation: 56-33=23 Current State: 54:[31, 23], Operations: ['47-16=31', '56-33=23'] Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[47, 16, 56, 33], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [16, 33, 9] Generated Node #0,0: 54:[16, 33, 9] Operation: 56-47=9 Exploring Operation: 47-33=14, Resulting Numbers: [16, 56, 14] Generated Node #0,1: 54:[16, 56, 14] Operation: 47-33=14 Exploring Operation: 47-16=31, Resulting Numbers: [56, 33, 31] Generated Node #0,2: 54:[56, 33, 31] Operation: 47-16=31 Exploring Operation: 33-16=17, Resulting Numbers: [47, 56, 17] Generated Node #0,3: 54:[47, 56, 17] Operation: 33-16=17 Moving to Node #0,0 Current State: 54:[16, 33, 9], Operations: ['56-47=9'] Exploring Operation: 16-9=7, Resulting Numbers: [33, 7] Generated Node #0,0,0: 54:[33, 7] Operation: 16-9=7 Exploring Operation: 33-16=17, Resulting Numbers: [9, 17] Generated Node #0,0,1: 54:[9, 17] Operation: 33-16=17 Exploring Operation: 33-9=24, Resulting Numbers: [16, 24] Generated Node #0,0,2: 54:[16, 24] Operation: 33-9=24 Exploring Operation: 16+33=49, Resulting Numbers: [9, 49] Generated Node #0,0,3: 54:[9, 49] Operation: 16+33=49 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[9, 17], Operations: ['56-47=9', '33-16=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[16, 24], Operations: ['56-47=9', '33-9=24'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,54 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 54:[9, 49], Operations: ['56-47=9', '16+33=49'] Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,54 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[33, 7], Operations: ['56-47=9', '16-9=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,54 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,54 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: 54:[16, 56, 14], Operations: ['47-33=14'] Exploring Operation: 16-14=2, Resulting Numbers: [56, 2] Generated Node #0,1,0: 54:[56, 2] Operation: 16-14=2 Exploring Operation: 56/14=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 54:[16, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [16, 42] Generated Node #0,1,2: 54:[16, 42] Operation: 56-14=42 Exploring Operation: 16+14=30, Resulting Numbers: [56, 30] Generated Node #0,1,3: 54:[56, 30] Operation: 16+14=30 Moving to Node #0,3 Current State: 54:[47, 56, 17], Operations: ['33-16=17'] Exploring Operation: 56-17=39, Resulting Numbers: [47, 39] Generated Node #0,3,0: 54:[47, 39] Operation: 56-17=39 Exploring Operation: 56-47=9, Resulting Numbers: [17, 9] Generated Node #0,3,1: 54:[17, 9] Operation: 56-47=9 Exploring Operation: 47+17=64, Resulting Numbers: [56, 64] Generated Node #0,3,2: 54:[56, 64] Operation: 47+17=64 Exploring Operation: 47-17=30, Resulting Numbers: [56, 30] Generated Node #0,3,3: 54:[56, 30] Operation: 47-17=30 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[17, 9], Operations: ['33-16=17', '56-47=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[56, 30], Operations: ['33-16=17', '47-17=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,54 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[56, 64], Operations: ['33-16=17', '47+17=64'] Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,54 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[47, 39], Operations: ['33-16=17', '56-17=39'] Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,54 unequal: No Solution Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,54 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: 54:[56, 33, 31], Operations: ['47-16=31'] Exploring Operation: 33+31=64, Resulting Numbers: [56, 64] Generated Node #0,2,0: 54:[56, 64] Operation: 33+31=64 Exploring Operation: 56-33=23, Resulting Numbers: [31, 23] Generated Node #0,2,1: 54:[31, 23] Operation: 56-33=23 Exploring Operation: 33-31=2, Resulting Numbers: [56, 2] Generated Node #0,2,2: 54:[56, 2] Operation: 33-31=2 Exploring Operation: 56-31=25, Resulting Numbers: [33, 25] Generated Node #0,2,3: 54:[33, 25] Operation: 56-31=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[56, 2], Operations: ['47-16=31', '33-31=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[47, 16, 56, 33], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [56, 33, 31] Generated Node #0,2: 54:[56, 33, 31] Operation: 47-16=31 Moving to Node #0,2 Current State: 54:[56, 33, 31], Operations: ['47-16=31'] Exploring Operation: 33-31=2, Resulting Numbers: [56, 2] Generated Node #0,2,2: 54:[56, 2] Operation: 33-31=2 Moving to Node #0,2,2 Current State: 54:[56, 2], Operations: ['47-16=31', '33-31=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 90, 44, 86, 3 ]
56
[ "90-86=4", "3*4=12", "44+12=56" ]
Current State: 56:[90, 44, 86, 3], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [44, 3, 4] Generated Node #2: [44, 3, 4] from Operation: 90-86=4 Current State: 56:[44, 3, 4], Operations: ['90-86=4'] Exploring Operation: 3*4=12, Resulting Numbers: [44, 12] Generated Node #3: [44, 12] from Operation: 3*4=12 Current State: 56:[44, 12], Operations: ['90-86=4', '3*4=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[90, 44, 86, 3], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [86, 3, 46] Generated Node #0,0: 56:[86, 3, 46] Operation: 90-44=46 Exploring Operation: 90-86=4, Resulting Numbers: [44, 3, 4] Generated Node #0,1: 56:[44, 3, 4] Operation: 90-86=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[44, 3, 4], Operations: ['90-86=4'] Exploring Operation: 44+3=47, Resulting Numbers: [4, 47] Generated Node #0,1,0: 56:[4, 47] Operation: 44+3=47 Exploring Operation: 44/4=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 56:[3, 11] Operation: 44/4=11 Moving to Node #0,1,1 Current State: 56:[3, 11], Operations: ['90-86=4', '44/4=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[4, 47], Operations: ['90-86=4', '44+3=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[86, 3, 46], Operations: ['90-44=46'] Exploring Operation: 86-46=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 56:[3, 40] Operation: 86-46=40 Exploring Operation: 86-3=83, Resulting Numbers: [46, 83] Generated Node #0,0,1: 56:[46, 83] Operation: 86-3=83 Moving to Node #0,0,0 Current State: 56:[3, 40], Operations: ['90-44=46', '86-46=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[46, 83], Operations: ['90-44=46', '86-3=83'] Exploring Operation: 46+83=129, Resulting Numbers: [129] 129,56 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,56 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
[ 24, 44, 49, 39 ]
81
[ "49-44=5", "24*5=120", "120-39=81" ]
Current State: 81:[24, 44, 49, 39], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [24, 39, 5] Generated Node #2: [24, 39, 5] from Operation: 49-44=5 Current State: 81:[24, 39, 5], Operations: ['49-44=5'] Exploring Operation: 24*5=120, Resulting Numbers: [39, 120] Generated Node #3: [39, 120] from Operation: 24*5=120 Current State: 81:[39, 120], Operations: ['49-44=5', '24*5=120'] Exploring Operation: 120-39=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[24, 44, 49, 39], Operations: [] Exploring Operation: 49-39=10, Resulting Numbers: [24, 44, 10] Generated Node #0,0: 81:[24, 44, 10] Operation: 49-39=10 Exploring Operation: 44+49=93, Resulting Numbers: [24, 39, 93] Generated Node #0,1: 81:[24, 39, 93] Operation: 44+49=93 Exploring Operation: 49-44=5, Resulting Numbers: [24, 39, 5] Generated Node #0,2: 81:[24, 39, 5] Operation: 49-44=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[24, 39, 5], Operations: ['49-44=5'] Exploring Operation: 24+5=29, Resulting Numbers: [39, 29] Generated Node #0,2,0: 81:[39, 29] Operation: 24+5=29 Exploring Operation: 39-24=15, Resulting Numbers: [5, 15] Generated Node #0,2,1: 81:[5, 15] Operation: 39-24=15 Exploring Operation: 39-5=34, Resulting Numbers: [24, 34] Generated Node #0,2,2: 81:[24, 34] Operation: 39-5=34 Moving to Node #0,2,1 Current State: 81:[5, 15], Operations: ['49-44=5', '39-24=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[24, 34], Operations: ['49-44=5', '39-5=34'] Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,81 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[39, 29], Operations: ['49-44=5', '24+5=29'] Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,81 unequal: No Solution Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,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:[24, 44, 10], Operations: ['49-39=10'] Exploring Operation: 24+44=68, Resulting Numbers: [10, 68] Generated Node #0,0,0: 81:[10, 68] Operation: 24+44=68 Exploring Operation: 44-24=20, Resulting Numbers: [10, 20] Generated Node #0,0,1: 81:[10, 20] Operation: 44-24=20 Exploring Operation: 44-10=34, Resulting Numbers: [24, 34] Generated Node #0,0,2: 81:[24, 34] Operation: 44-10=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[10, 20], Operations: ['49-39=10', '44-24=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,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,0,2 Current State: 81:[24, 34], Operations: ['49-39=10', '44-10=34'] Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,81 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,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,0,0 Current State: 81:[10, 68], Operations: ['49-39=10', '24+44=68'] Exploring Operation: 10*68=680, Resulting Numbers: [680] 680,81 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,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:[24, 39, 93], Operations: ['44+49=93'] Exploring Operation: 24+39=63, Resulting Numbers: [93, 63] Generated Node #0,1,0: 81:[93, 63] Operation: 24+39=63 Exploring Operation: 39-24=15, Resulting Numbers: [93, 15] Generated Node #0,1,1: 81:[93, 15] Operation: 39-24=15 Exploring Operation: 93-24=69, Resulting Numbers: [39, 69] Generated Node #0,1,2: 81:[39, 69] Operation: 93-24=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[93, 15], Operations: ['44+49=93', '39-24=15'] Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,81 unequal: No Solution Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,81 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[39, 69], Operations: ['44+49=93', '93-24=69'] Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,81 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,81 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[93, 63], Operations: ['44+49=93', '24+39=63'] Exploring Operation: 93*63=5859, Resulting Numbers: [5859] 5859,81 unequal: No Solution Exploring Operation: 93+63=156, Resulting Numbers: [156] 156,81 unequal: No Solution Exploring Operation: 93-63=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 87, 29, 56, 77 ]
63
[ "87/29=3", "77-56=21", "3*21=63" ]
Current State: 63:[87, 29, 56, 77], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [56, 77, 3] Generated Node #2: [56, 77, 3] from Operation: 87/29=3 Current State: 63:[56, 77, 3], Operations: ['87/29=3'] Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 77-56=21 Current State: 63:[3, 21], Operations: ['87/29=3', '77-56=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[87, 29, 56, 77], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [56, 77, 58] Generated Node #0,0: 63:[56, 77, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [56, 77, 3] Generated Node #0,1: 63:[56, 77, 3] Operation: 87/29=3 Exploring Operation: 77-56=21, Resulting Numbers: [87, 29, 21] Generated Node #0,2: 63:[87, 29, 21] Operation: 77-56=21 Exploring Operation: 87-56=31, Resulting Numbers: [29, 77, 31] Generated Node #0,3: 63:[29, 77, 31] Operation: 87-56=31 Exploring Operation: 87-77=10, Resulting Numbers: [29, 56, 10] Generated Node #0,4: 63:[29, 56, 10] Operation: 87-77=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[29, 56, 10], Operations: ['87-77=10'] Exploring Operation: 29+10=39, Resulting Numbers: [56, 39] Generated Node #0,4,0: 63:[56, 39] Operation: 29+10=39 Exploring Operation: 29-10=19, Resulting Numbers: [56, 19] Generated Node #0,4,1: 63:[56, 19] Operation: 29-10=19 Exploring Operation: 56-29=27, Resulting Numbers: [10, 27] Generated Node #0,4,2: 63:[10, 27] Operation: 56-29=27 Exploring Operation: 56+10=66, Resulting Numbers: [29, 66] Generated Node #0,4,3: 63:[29, 66] Operation: 56+10=66 Exploring Operation: 29+56=85, Resulting Numbers: [10, 85] Generated Node #0,4,4: 63:[10, 85] Operation: 29+56=85 Moving to Node #0,4,2 Current State: 63:[10, 27], Operations: ['87-77=10', '56-29=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,63 unequal: No Solution Moving to Node #0,4,1 Current State: 63:[56, 19], Operations: ['87-77=10', '29-10=19'] Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[29, 66], Operations: ['87-77=10', '56+10=66'] Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,63 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,63 unequal: No Solution Moving to Node #0,4,4 Current State: 63:[10, 85], Operations: ['87-77=10', '29+56=85'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,63 unequal: No Solution Exploring Operation: 10*85=850, Resulting Numbers: [850] 850,63 unequal: No Solution Moving to Node #0,4,0 Current State: 63:[56, 39], Operations: ['87-77=10', '29+10=39'] Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,63 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,63 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[56, 77, 3], Operations: ['87/29=3'] Exploring Operation: 77+3=80, Resulting Numbers: [56, 80] Generated Node #0,1,0: 63:[56, 80] Operation: 77+3=80 Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 63:[3, 21] Operation: 77-56=21 Exploring Operation: 56-3=53, Resulting Numbers: [77, 53] Generated Node #0,1,2: 63:[77, 53] Operation: 56-3=53 Exploring Operation: 56+3=59, Resulting Numbers: [77, 59] Generated Node #0,1,3: 63:[77, 59] Operation: 56+3=59 Exploring Operation: 77-3=74, Resulting Numbers: [56, 74] Generated Node #0,1,4: 63:[56, 74] Operation: 77-3=74 Moving to Node #0,1,1 Current State: 63:[3, 21], Operations: ['87/29=3', '77-56=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[87, 29, 56, 77], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [56, 77, 3] Generated Node #0,1: 63:[56, 77, 3] Operation: 87/29=3 Moving to Node #0,1 Current State: 63:[56, 77, 3], Operations: ['87/29=3'] Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 63:[3, 21] Operation: 77-56=21 Moving to Node #0,1,1 Current State: 63:[3, 21], Operations: ['87/29=3', '77-56=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 51, 59, 5, 88 ]
94
[ "88-59=29", "5*29=145", "145-51=94" ]
Current State: 94:[51, 59, 5, 88], Operations: [] Exploring Operation: 88-59=29, Resulting Numbers: [51, 5, 29] Generated Node #2: [51, 5, 29] from Operation: 88-59=29 Current State: 94:[51, 5, 29], Operations: ['88-59=29'] Exploring Operation: 5*29=145, Resulting Numbers: [51, 145] Generated Node #3: [51, 145] from Operation: 5*29=145 Current State: 94:[51, 145], Operations: ['88-59=29', '5*29=145'] Exploring Operation: 145-51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[51, 59, 5, 88], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [59, 88, 46] Generated Node #0,0: 94:[59, 88, 46] Operation: 51-5=46 Exploring Operation: 59-5=54, Resulting Numbers: [51, 88, 54] Generated Node #0,1: 94:[51, 88, 54] Operation: 59-5=54 Exploring Operation: 59-51=8, Resulting Numbers: [5, 88, 8] Generated Node #0,2: 94:[5, 88, 8] Operation: 59-51=8 Exploring Operation: 5+88=93, Resulting Numbers: [51, 59, 93] Generated Node #0,3: 94:[51, 59, 93] Operation: 5+88=93 Moving to Node #0,2 Current State: 94:[5, 88, 8], Operations: ['59-51=8'] Exploring Operation: 88/8=11, Resulting Numbers: [5, 11] Generated Node #0,2,0: 94:[5, 11] Operation: 88/8=11 Exploring Operation: 5+88=93, Resulting Numbers: [8, 93] Generated Node #0,2,1: 94:[8, 93] Operation: 5+88=93 Exploring Operation: 8-5=3, Resulting Numbers: [88, 3] Generated Node #0,2,2: 94:[88, 3] Operation: 8-5=3 Exploring Operation: 88+8=96, Resulting Numbers: [5, 96] Generated Node #0,2,3: 94:[5, 96] Operation: 88+8=96 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[5, 96], Operations: ['59-51=8', '88+8=96'] Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,94 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[8, 93], Operations: ['59-51=8', '5+88=93'] Exploring Operation: 8+93=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 8*93=744, Resulting Numbers: [744] 744,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[88, 3], Operations: ['59-51=8', '8-5=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,94 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[5, 11], Operations: ['59-51=8', '88/8=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,94 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: 94:[51, 59, 93], Operations: ['5+88=93'] Exploring Operation: 93-51=42, Resulting Numbers: [59, 42] Generated Node #0,3,0: 94:[59, 42] Operation: 93-51=42 Exploring Operation: 51+59=110, Resulting Numbers: [93, 110] Generated Node #0,3,1: 94:[93, 110] Operation: 51+59=110 Exploring Operation: 93-59=34, Resulting Numbers: [51, 34] Generated Node #0,3,2: 94:[51, 34] Operation: 93-59=34 Exploring Operation: 59-51=8, Resulting Numbers: [93, 8] Generated Node #0,3,3: 94:[93, 8] Operation: 59-51=8 Moving to Node #0,1 Current State: 94:[51, 88, 54], Operations: ['59-5=54'] Exploring Operation: 88-54=34, Resulting Numbers: [51, 34] Generated Node #0,1,0: 94:[51, 34] Operation: 88-54=34 Exploring Operation: 54-51=3, Resulting Numbers: [88, 3] Generated Node #0,1,1: 94:[88, 3] Operation: 54-51=3 Exploring Operation: 51+54=105, Resulting Numbers: [88, 105] Generated Node #0,1,2: 94:[88, 105] Operation: 51+54=105 Exploring Operation: 88-51=37, Resulting Numbers: [54, 37] Generated Node #0,1,3: 94:[54, 37] Operation: 88-51=37 Moving to Node #0,0 Current State: 94:[59, 88, 46], Operations: ['51-5=46'] Exploring Operation: 59-46=13, Resulting Numbers: [88, 13] Generated Node #0,0,0: 94:[88, 13] Operation: 59-46=13 Exploring Operation: 88-46=42, Resulting Numbers: [59, 42] Generated Node #0,0,1: 94:[59, 42] Operation: 88-46=42 Exploring Operation: 59+46=105, Resulting Numbers: [88, 105] Generated Node #0,0,2: 94:[88, 105] Operation: 59+46=105 Exploring Operation: 88-59=29, Resulting Numbers: [46, 29] Generated Node #0,0,3: 94:[46, 29] Operation: 88-59=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[88, 13], Operations: ['51-5=46', '59-46=13'] Exploring Operation: 88*13=1144, Resulting Numbers: [1144] 1144,94 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,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,1 Current State: 94:[59, 42], Operations: ['51-5=46', '88-46=42'] Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,94 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[88, 105], Operations: ['51-5=46', '59+46=105'] Exploring Operation: 88+105=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 105-88=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 88*105=9240, Resulting Numbers: [9240] 9240,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,3 Current State: 94:[46, 29], Operations: ['51-5=46', '88-59=29'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,94 unequal: No Solution Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 94:[93, 8], Operations: ['5+88=93', '59-51=8'] Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[88, 3], Operations: ['59-5=54', '54-51=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,94 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[93, 110], Operations: ['5+88=93', '51+59=110'] Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,94 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[51, 34], Operations: ['59-5=54', '88-54=34'] Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,94 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[88, 105], Operations: ['59-5=54', '51+54=105'] Exploring Operation: 88+105=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 88*105=9240, Resulting Numbers: [9240] 9240,94 unequal: No Solution Exploring Operation: 105-88=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[54, 37], Operations: ['59-5=54', '88-51=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,94 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[59, 42], Operations: ['5+88=93', '93-51=42'] Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,94 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[51, 34], Operations: ['5+88=93', '93-59=34'] Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,94 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 79, 17, 12, 14 ]
43
[ "17-14=3", "12*3=36", "79-36=43" ]
Current State: 43:[79, 17, 12, 14], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [79, 12, 3] Generated Node #2: [79, 12, 3] from Operation: 17-14=3 Current State: 43:[79, 12, 3], Operations: ['17-14=3'] Exploring Operation: 12*3=36, Resulting Numbers: [79, 36] Generated Node #3: [79, 36] from Operation: 12*3=36 Current State: 43:[79, 36], Operations: ['17-14=3', '12*3=36'] Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[79, 17, 12, 14], Operations: [] Exploring Operation: 79-17=62, Resulting Numbers: [12, 14, 62] Generated Node #0,0: 43:[12, 14, 62] Operation: 79-17=62 Moving to Node #0,0 Current State: 43:[12, 14, 62], Operations: ['79-17=62'] Exploring Operation: 12+14=26, Resulting Numbers: [62, 26] Generated Node #0,0,0: 43:[62, 26] Operation: 12+14=26 Moving to Node #0,0,0 Current State: 43:[62, 26], Operations: ['79-17=62', '12+14=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 78, 2, 37, 7 ]
93
[ "37-7=30", "30/2=15", "78+15=93" ]
Current State: 93:[78, 2, 37, 7], Operations: [] Exploring Operation: 37-7=30, Resulting Numbers: [78, 2, 30] Generated Node #2: [78, 2, 30] from Operation: 37-7=30 Current State: 93:[78, 2, 30], Operations: ['37-7=30'] Exploring Operation: 30/2=15, Resulting Numbers: [78, 15] Generated Node #3: [78, 15] from Operation: 30/2=15 Current State: 93:[78, 15], Operations: ['37-7=30', '30/2=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[78, 2, 37, 7], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [2, 7, 41] Generated Node #0,0: 93:[2, 7, 41] Operation: 78-37=41 Exploring Operation: 78+7=85, Resulting Numbers: [2, 37, 85] Generated Node #0,1: 93:[2, 37, 85] Operation: 78+7=85 Exploring Operation: 78/2=39, Resulting Numbers: [37, 7, 39] Generated Node #0,2: 93:[37, 7, 39] Operation: 78/2=39 Exploring Operation: 37-7=30, Resulting Numbers: [78, 2, 30] Generated Node #0,3: 93:[78, 2, 30] Operation: 37-7=30 Moving to Node #0,0 Current State: 93:[2, 7, 41], Operations: ['78-37=41'] Exploring Operation: 2*41=82, Resulting Numbers: [7, 82] Generated Node #0,0,0: 93:[7, 82] Operation: 2*41=82 Exploring Operation: 7-2=5, Resulting Numbers: [41, 5] Generated Node #0,0,1: 93:[41, 5] Operation: 7-2=5 Exploring Operation: 41-7=34, Resulting Numbers: [2, 34] Generated Node #0,0,2: 93:[2, 34] Operation: 41-7=34 Exploring Operation: 41-2=39, Resulting Numbers: [7, 39] Generated Node #0,0,3: 93:[7, 39] Operation: 41-2=39 Moving to Node #0,1 Current State: 93:[2, 37, 85], Operations: ['78+7=85'] Exploring Operation: 85-2=83, Resulting Numbers: [37, 83] Generated Node #0,1,0: 93:[37, 83] Operation: 85-2=83 Exploring Operation: 2+85=87, Resulting Numbers: [37, 87] Generated Node #0,1,1: 93:[37, 87] Operation: 2+85=87 Exploring Operation: 37-2=35, Resulting Numbers: [85, 35] Generated Node #0,1,2: 93:[85, 35] Operation: 37-2=35 Exploring Operation: 2+37=39, Resulting Numbers: [85, 39] Generated Node #0,1,3: 93:[85, 39] Operation: 2+37=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[37, 87], Operations: ['78+7=85', '2+85=87'] Exploring Operation: 37*87=3219, Resulting Numbers: [3219] 3219,93 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 37+87=124, Resulting Numbers: [124] 124,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,2 Current State: 93:[85, 35], Operations: ['78+7=85', '37-2=35'] Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,93 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[37, 83], Operations: ['78+7=85', '85-2=83'] Exploring Operation: 37*83=3071, Resulting Numbers: [3071] 3071,93 unequal: No Solution Exploring Operation: 37+83=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,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,3 Current State: 93:[85, 39], Operations: ['78+7=85', '2+37=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,93 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,93 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: 93:[78, 2, 30], Operations: ['37-7=30'] Exploring Operation: 78+30=108, Resulting Numbers: [2, 108] Generated Node #0,3,0: 93:[2, 108] Operation: 78+30=108 Exploring Operation: 2+30=32, Resulting Numbers: [78, 32] Generated Node #0,3,1: 93:[78, 32] Operation: 2+30=32 Exploring Operation: 78+2=80, Resulting Numbers: [30, 80] Generated Node #0,3,2: 93:[30, 80] Operation: 78+2=80 Exploring Operation: 78/2=39, Resulting Numbers: [30, 39] Generated Node #0,3,3: 93:[30, 39] Operation: 78/2=39 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[30, 39], Operations: ['37-7=30', '78/2=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,93 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,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,3,2 Current State: 93:[30, 80], Operations: ['37-7=30', '78+2=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 30*80=2400, Resulting Numbers: [2400] 2400,93 unequal: No Solution Exploring Operation: 30+80=110, Resulting Numbers: [110] 110,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,3,0 Current State: 93:[2, 108], Operations: ['37-7=30', '78+30=108'] Exploring Operation: 108/2=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 108-2=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 2*108=216, Resulting Numbers: [216] 216,93 unequal: No Solution Exploring Operation: 2+108=110, Resulting Numbers: [110] 110,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,3,1 Current State: 93:[78, 32], Operations: ['37-7=30', '2+30=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,93 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,93 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: 93:[37, 7, 39], Operations: ['78/2=39'] Exploring Operation: 39-7=32, Resulting Numbers: [37, 32] Generated Node #0,2,0: 93:[37, 32] Operation: 39-7=32 Exploring Operation: 37+7=44, Resulting Numbers: [39, 44] Generated Node #0,2,1: 93:[39, 44] Operation: 37+7=44 Exploring Operation: 39-37=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 93:[7, 2] Operation: 39-37=2 Exploring Operation: 37-7=30, Resulting Numbers: [39, 30] Generated Node #0,2,3: 93:[39, 30] Operation: 37-7=30 Moving to Node #0,0,2 Current State: 93:[2, 34], Operations: ['78-37=41', '41-7=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[7, 2], Operations: ['78/2=39', '39-37=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[37, 32], Operations: ['78/2=39', '39-7=32'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[39, 30], Operations: ['78/2=39', '37-7=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,93 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[7, 39], Operations: ['78-37=41', '41-2=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,93 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[41, 5], Operations: ['78-37=41', '7-2=5'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,93 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[7, 82], Operations: ['78-37=41', '2*41=82'] Exploring Operation: 7+82=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 7*82=574, Resulting Numbers: [574] 574,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[39, 44], Operations: ['78/2=39', '37+7=44'] Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,93 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,93 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 92, 88, 78 ]
72
[ "92-88=4", "24/4=6", "78-6=72" ]
Current State: 72:[24, 92, 88, 78], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [24, 78, 4] Generated Node #2: [24, 78, 4] from Operation: 92-88=4 Current State: 72:[24, 78, 4], Operations: ['92-88=4'] Exploring Operation: 24/4=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 24/4=6 Current State: 72:[78, 6], Operations: ['92-88=4', '24/4=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[24, 92, 88, 78], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [24, 78, 4] Generated Node #0,0: 72:[24, 78, 4] Operation: 92-88=4 Exploring Operation: 88-78=10, Resulting Numbers: [24, 92, 10] Generated Node #0,1: 72:[24, 92, 10] Operation: 88-78=10 Exploring Operation: 88-24=64, Resulting Numbers: [92, 78, 64] Generated Node #0,2: 72:[92, 78, 64] Operation: 88-24=64 Exploring Operation: 92-24=68, Resulting Numbers: [88, 78, 68] Generated Node #0,3: 72:[88, 78, 68] Operation: 92-24=68 Exploring Operation: 92-78=14, Resulting Numbers: [24, 88, 14] Generated Node #0,4: 72:[24, 88, 14] Operation: 92-78=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[24, 78, 4], Operations: ['92-88=4'] Exploring Operation: 24+4=28, Resulting Numbers: [78, 28] Generated Node #0,0,0: 72:[78, 28] Operation: 24+4=28 Exploring Operation: 78-4=74, Resulting Numbers: [24, 74] Generated Node #0,0,1: 72:[24, 74] Operation: 78-4=74 Exploring Operation: 78+4=82, Resulting Numbers: [24, 82] Generated Node #0,0,2: 72:[24, 82] Operation: 78+4=82 Exploring Operation: 24-4=20, Resulting Numbers: [78, 20] Generated Node #0,0,3: 72:[78, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [78, 6] Generated Node #0,0,4: 72:[78, 6] Operation: 24/4=6 Moving to Node #0,0,1 Current State: 72:[24, 74], Operations: ['92-88=4', '78-4=74'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,72 unequal: No Solution Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[78, 6], Operations: ['92-88=4', '24/4=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,72 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[24, 92, 88, 78], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [24, 78, 4] Generated Node #0,0: 72:[24, 78, 4] Operation: 92-88=4 Moving to Node #0,0 Current State: 72:[24, 78, 4], Operations: ['92-88=4'] Exploring Operation: 24/4=6, Resulting Numbers: [78, 6] Generated Node #0,0,4: 72:[78, 6] Operation: 24/4=6 Moving to Node #0,0,4 Current State: 72:[78, 6], Operations: ['92-88=4', '24/4=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 80, 31, 23, 25 ]
15
[ "31-23=8", "80/8=10", "25-10=15" ]
Current State: 15:[80, 31, 23, 25], Operations: [] Exploring Operation: 31-23=8, Resulting Numbers: [80, 25, 8] Generated Node #2: [80, 25, 8] from Operation: 31-23=8 Current State: 15:[80, 25, 8], Operations: ['31-23=8'] Exploring Operation: 80/8=10, Resulting Numbers: [25, 10] Generated Node #3: [25, 10] from Operation: 80/8=10 Current State: 15:[25, 10], Operations: ['31-23=8', '80/8=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 31, 23, 25], Operations: [] Exploring Operation: 80-23=57, Resulting Numbers: [31, 25, 57] Generated Node #0,0: 15:[31, 25, 57] Operation: 80-23=57 Exploring Operation: 80-31=49, Resulting Numbers: [23, 25, 49] Generated Node #0,1: 15:[23, 25, 49] Operation: 80-31=49 Exploring Operation: 80-25=55, Resulting Numbers: [31, 23, 55] Generated Node #0,2: 15:[31, 23, 55] Operation: 80-25=55 Moving to Node #0,1 Current State: 15:[23, 25, 49], Operations: ['80-31=49'] Exploring Operation: 25-23=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 15:[49, 2] Operation: 25-23=2 Exploring Operation: 49-25=24, Resulting Numbers: [23, 24] Generated Node #0,1,1: 15:[23, 24] Operation: 49-25=24 Exploring Operation: 49-23=26, Resulting Numbers: [25, 26] Generated Node #0,1,2: 15:[25, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[23, 24], Operations: ['80-31=49', '49-25=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,15 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 24-23=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,2 Current State: 15:[25, 26], Operations: ['80-31=49', '49-23=26'] Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,15 unequal: No Solution Exploring Operation: 26-25=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,0 Current State: 15:[49, 2], Operations: ['80-31=49', '25-23=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,15 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,15 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: 15:[31, 23, 55], Operations: ['80-25=55'] Exploring Operation: 55-23=32, Resulting Numbers: [31, 32] Generated Node #0,2,0: 15:[31, 32] Operation: 55-23=32 Exploring Operation: 55-31=24, Resulting Numbers: [23, 24] Generated Node #0,2,1: 15:[23, 24] Operation: 55-31=24 Exploring Operation: 31-23=8, Resulting Numbers: [55, 8] Generated Node #0,2,2: 15:[55, 8] Operation: 31-23=8 Moving to Node #0,0 Current State: 15:[31, 25, 57], Operations: ['80-23=57'] Exploring Operation: 31-25=6, Resulting Numbers: [57, 6] Generated Node #0,0,0: 15:[57, 6] Operation: 31-25=6 Exploring Operation: 57-31=26, Resulting Numbers: [25, 26] Generated Node #0,0,1: 15:[25, 26] Operation: 57-31=26 Exploring Operation: 57-25=32, Resulting Numbers: [31, 32] Generated Node #0,0,2: 15:[31, 32] Operation: 57-25=32 Moving to Node #0,2,1 Current State: 15:[23, 24], Operations: ['80-25=55', '55-31=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,15 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[25, 26], Operations: ['80-23=57', '57-31=26'] Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[31, 32], Operations: ['80-23=57', '57-25=32'] Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,15 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[31, 32], Operations: ['80-25=55', '55-23=32'] Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[57, 6], Operations: ['80-23=57', '31-25=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,15 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[55, 8], Operations: ['80-25=55', '31-23=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,15 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 24, 22, 22, 34 ]
23
[ "24-22=2", "22/2=11", "34-11=23" ]
Current State: 23:[24, 22, 22, 34], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [34, 2] Generated Node #2: [34, 2] from Operation: 24-22=2 Current State: 23:[34, 2], Operations: ['24-22=2'] Exploring Operation: 22/2=11, Resulting Numbers: [34, 11] Generated Node #3: [34, 11] from Operation: 22/2=11 Current State: 23:[34, 11], Operations: ['24-22=2', '22/2=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[24, 22, 22, 34], Operations: [] Exploring Operation: 34-22=12, Resulting Numbers: [24, 22, 12] Generated Node #0,0: 23:[24, 22, 12] Operation: 34-22=12 Moving to Node #0,0 Current State: 23:[24, 22, 12], Operations: ['34-22=12'] Exploring Operation: 24-12=12, Resulting Numbers: [22, 12] Generated Node #0,0,0: 23:[22, 12] Operation: 24-12=12 Moving to Node #0,0,0 Current State: 23:[22, 12], Operations: ['34-22=12', '24-12=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,23 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 72, 66, 33, 13 ]
23
[ "72*33=2376", "2376/66=36", "36-13=23" ]
Current State: 23:[72, 66, 33, 13], Operations: [] Exploring Operation: 72*33=2376, Resulting Numbers: [66, 13, 2376] Generated Node #2: [66, 13, 2376] from Operation: 72*33=2376 Current State: 23:[66, 13, 2376], Operations: ['72*33=2376'] Exploring Operation: 2376/66=36, Resulting Numbers: [13, 36] Generated Node #3: [13, 36] from Operation: 2376/66=36 Current State: 23:[13, 36], Operations: ['72*33=2376', '2376/66=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 66, 33, 13], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [72, 13, 2] Generated Node #0,0: 23:[72, 13, 2] Operation: 66/33=2 Exploring Operation: 72-33=39, Resulting Numbers: [66, 13, 39] Generated Node #0,1: 23:[66, 13, 39] Operation: 72-33=39 Exploring Operation: 66-33=33, Resulting Numbers: [72, 13, 33] Generated Node #0,2: 23:[72, 13, 33] Operation: 66-33=33 Exploring Operation: 72-66=6, Resulting Numbers: [33, 13, 6] Generated Node #0,3: 23:[33, 13, 6] Operation: 72-66=6 Moving to Node #0,3 Current State: 23:[33, 13, 6], Operations: ['72-66=6'] Exploring Operation: 33+6=39, Resulting Numbers: [13, 39] Generated Node #0,3,0: 23:[13, 39] Operation: 33+6=39 Exploring Operation: 33-13=20, Resulting Numbers: [6, 20] Generated Node #0,3,1: 23:[6, 20] Operation: 33-13=20 Exploring Operation: 33-6=27, Resulting Numbers: [13, 27] Generated Node #0,3,2: 23:[13, 27] Operation: 33-6=27 Exploring Operation: 13+6=19, Resulting Numbers: [33, 19] Generated Node #0,3,3: 23:[33, 19] Operation: 13+6=19 Moving to Node #0,2 Current State: 23:[72, 13, 33], Operations: ['66-33=33'] Exploring Operation: 72+13=85, Resulting Numbers: [33, 85] Generated Node #0,2,0: 23:[33, 85] Operation: 72+13=85 Exploring Operation: 33-13=20, Resulting Numbers: [72, 20] Generated Node #0,2,1: 23:[72, 20] Operation: 33-13=20 Exploring Operation: 72-13=59, Resulting Numbers: [33, 59] Generated Node #0,2,2: 23:[33, 59] Operation: 72-13=59 Exploring Operation: 72-33=39, Resulting Numbers: [13, 39] Generated Node #0,2,3: 23:[13, 39] Operation: 72-33=39 Moving to Node #0,1 Current State: 23:[66, 13, 39], Operations: ['72-33=39'] Exploring Operation: 66-39=27, Resulting Numbers: [13, 27] Generated Node #0,1,0: 23:[13, 27] Operation: 66-39=27 Exploring Operation: 39-13=26, Resulting Numbers: [66, 26] Generated Node #0,1,1: 23:[66, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [66, 3] Generated Node #0,1,2: 23:[66, 3] Operation: 39/13=3 Exploring Operation: 66-13=53, Resulting Numbers: [39, 53] Generated Node #0,1,3: 23:[39, 53] Operation: 66-13=53 Moving to Node #0,0 Current State: 23:[72, 13, 2], Operations: ['66/33=2'] Exploring Operation: 13*2=26, Resulting Numbers: [72, 26] Generated Node #0,0,0: 23:[72, 26] Operation: 13*2=26 Exploring Operation: 72-2=70, Resulting Numbers: [13, 70] Generated Node #0,0,1: 23:[13, 70] Operation: 72-2=70 Exploring Operation: 72-13=59, Resulting Numbers: [2, 59] Generated Node #0,0,2: 23:[2, 59] Operation: 72-13=59 Exploring Operation: 72/2=36, Resulting Numbers: [13, 36] Generated Node #0,0,3: 23:[13, 36] Operation: 72/2=36 Moving to Node #0,3,2 Current State: 23:[13, 27], Operations: ['72-66=6', '33-6=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,23 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[33, 19], Operations: ['72-66=6', '13+6=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,23 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[13, 27], Operations: ['72-33=39', '66-39=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,23 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[6, 20], Operations: ['72-66=6', '33-13=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[13, 36], Operations: ['66/33=2', '72/2=36'] Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,23 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[72, 66, 33, 13], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [72, 13, 2] Generated Node #0,0: 23:[72, 13, 2] Operation: 66/33=2 Moving to Node #0,0 Current State: 23:[72, 13, 2], Operations: ['66/33=2'] Exploring Operation: 72/2=36, Resulting Numbers: [13, 36] Generated Node #0,0,3: 23:[13, 36] Operation: 72/2=36 Moving to Node #0,0,3 Current State: 23:[13, 36], Operations: ['66/33=2', '72/2=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 46, 2, 75, 91 ]
76
[ "46*2=92", "91-75=16", "92-16=76" ]
Current State: 76:[46, 2, 75, 91], Operations: [] Exploring Operation: 46*2=92, Resulting Numbers: [75, 91, 92] Generated Node #2: [75, 91, 92] from Operation: 46*2=92 Current State: 76:[75, 91, 92], Operations: ['46*2=92'] Exploring Operation: 91-75=16, Resulting Numbers: [92, 16] Generated Node #3: [92, 16] from Operation: 91-75=16 Current State: 76:[92, 16], Operations: ['46*2=92', '91-75=16'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[46, 2, 75, 91], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [46, 2, 16] Generated Node #0,0: 76:[46, 2, 16] Operation: 91-75=16 Exploring Operation: 91-46=45, Resulting Numbers: [2, 75, 45] Generated Node #0,1: 76:[2, 75, 45] Operation: 91-46=45 Moving to Node #0,1 Current State: 76:[2, 75, 45], Operations: ['91-46=45'] Exploring Operation: 45-2=43, Resulting Numbers: [75, 43] Generated Node #0,1,0: 76:[75, 43] Operation: 45-2=43 Exploring Operation: 2+75=77, Resulting Numbers: [45, 77] Generated Node #0,1,1: 76:[45, 77] Operation: 2+75=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[75, 43], Operations: ['91-46=45', '45-2=43'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[45, 77], Operations: ['91-46=45', '2+75=77'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 45+77=122, Resulting Numbers: [122] 122,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[46, 2, 16], Operations: ['91-75=16'] Exploring Operation: 46/2=23, Resulting Numbers: [16, 23] Generated Node #0,0,0: 76:[16, 23] Operation: 46/2=23 Exploring Operation: 46-16=30, Resulting Numbers: [2, 30] Generated Node #0,0,1: 76:[2, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[16, 23], Operations: ['91-75=16', '46/2=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[2, 30], Operations: ['91-75=16', '46-16=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,76 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
[ 65, 29, 33, 86 ]
89
[ "65-29=36", "86-33=53", "36+53=89" ]
Current State: 89:[65, 29, 33, 86], Operations: [] Exploring Operation: 65-29=36, Resulting Numbers: [33, 86, 36] Generated Node #2: [33, 86, 36] from Operation: 65-29=36 Current State: 89:[33, 86, 36], Operations: ['65-29=36'] Exploring Operation: 86-33=53, Resulting Numbers: [36, 53] Generated Node #3: [36, 53] from Operation: 86-33=53 Current State: 89:[36, 53], Operations: ['65-29=36', '86-33=53'] Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[65, 29, 33, 86], Operations: [] Exploring Operation: 29+33=62, Resulting Numbers: [65, 86, 62] Generated Node #0,0: 89:[65, 86, 62] Operation: 29+33=62 Exploring Operation: 65+29=94, Resulting Numbers: [33, 86, 94] Generated Node #0,1: 89:[33, 86, 94] Operation: 65+29=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[65, 86, 62], Operations: ['29+33=62'] Exploring Operation: 86+62=148, Resulting Numbers: [65, 148] Generated Node #0,0,0: 89:[65, 148] Operation: 86+62=148 Exploring Operation: 65+62=127, Resulting Numbers: [86, 127] Generated Node #0,0,1: 89:[86, 127] Operation: 65+62=127 Moving to Node #0,0,1 Current State: 89:[86, 127], Operations: ['29+33=62', '65+62=127'] Exploring Operation: 86+127=213, Resulting Numbers: [213] 213,89 unequal: No Solution Exploring Operation: 127-86=41, Resulting Numbers: [41] 41,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[65, 148], Operations: ['29+33=62', '86+62=148'] Exploring Operation: 65+148=213, Resulting Numbers: [213] 213,89 unequal: No Solution Exploring Operation: 148-65=83, Resulting Numbers: [83] 83,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[33, 86, 94], Operations: ['65+29=94'] Exploring Operation: 94-33=61, Resulting Numbers: [86, 61] Generated Node #0,1,0: 89:[86, 61] Operation: 94-33=61 Exploring Operation: 33+86=119, Resulting Numbers: [94, 119] Generated Node #0,1,1: 89:[94, 119] Operation: 33+86=119 Moving to Node #0,1,0 Current State: 89:[86, 61], Operations: ['65+29=94', '94-33=61'] Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[94, 119], Operations: ['65+29=94', '33+86=119'] Exploring Operation: 94+119=213, Resulting Numbers: [213] 213,89 unequal: No Solution Exploring Operation: 119-94=25, Resulting Numbers: [25] 25,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 88, 42, 69 ]
18
[ "12*69=828", "88-42=46", "828/46=18" ]
Current State: 18:[12, 88, 42, 69], Operations: [] Exploring Operation: 12*69=828, Resulting Numbers: [88, 42, 828] Generated Node #2: [88, 42, 828] from Operation: 12*69=828 Current State: 18:[88, 42, 828], Operations: ['12*69=828'] Exploring Operation: 88-42=46, Resulting Numbers: [828, 46] Generated Node #3: [828, 46] from Operation: 88-42=46 Current State: 18:[828, 46], Operations: ['12*69=828', '88-42=46'] Exploring Operation: 828/46=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[12, 88, 42, 69], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [12, 88, 27] Generated Node #0,0: 18:[12, 88, 27] Operation: 69-42=27 Exploring Operation: 88-42=46, Resulting Numbers: [12, 69, 46] Generated Node #0,1: 18:[12, 69, 46] Operation: 88-42=46 Exploring Operation: 88-69=19, Resulting Numbers: [12, 42, 19] Generated Node #0,2: 18:[12, 42, 19] Operation: 88-69=19 Exploring Operation: 88-12=76, Resulting Numbers: [42, 69, 76] Generated Node #0,3: 18:[42, 69, 76] Operation: 88-12=76 Moving to Node #0,2 Current State: 18:[12, 42, 19], Operations: ['88-69=19'] Exploring Operation: 42-12=30, Resulting Numbers: [19, 30] Generated Node #0,2,0: 18:[19, 30] Operation: 42-12=30 Exploring Operation: 12+42=54, Resulting Numbers: [19, 54] Generated Node #0,2,1: 18:[19, 54] Operation: 12+42=54 Exploring Operation: 19-12=7, Resulting Numbers: [42, 7] Generated Node #0,2,2: 18:[42, 7] Operation: 19-12=7 Exploring Operation: 42-19=23, Resulting Numbers: [12, 23] Generated Node #0,2,3: 18:[12, 23] Operation: 42-19=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[12, 23], Operations: ['88-69=19', '42-19=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,18 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,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:[19, 30], Operations: ['88-69=19', '42-12=30'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,18 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,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:[42, 7], Operations: ['88-69=19', '19-12=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[19, 54], Operations: ['88-69=19', '12+42=54'] Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,18 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[12, 69, 46], Operations: ['88-42=46'] Exploring Operation: 46-12=34, Resulting Numbers: [69, 34] Generated Node #0,1,0: 18:[69, 34] Operation: 46-12=34 Exploring Operation: 12+69=81, Resulting Numbers: [46, 81] Generated Node #0,1,1: 18:[46, 81] Operation: 12+69=81 Exploring Operation: 69-46=23, Resulting Numbers: [12, 23] Generated Node #0,1,2: 18:[12, 23] Operation: 69-46=23 Exploring Operation: 69-12=57, Resulting Numbers: [46, 57] Generated Node #0,1,3: 18:[46, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[12, 23], Operations: ['88-42=46', '69-46=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,18 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,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:[69, 34], Operations: ['88-42=46', '46-12=34'] Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,18 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,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,3 Current State: 18:[46, 57], Operations: ['88-42=46', '69-12=57'] Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,18 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,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,1 Current State: 18:[46, 81], Operations: ['88-42=46', '12+69=81'] Exploring Operation: 46*81=3726, Resulting Numbers: [3726] 3726,18 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 46+81=127, Resulting Numbers: [127] 127,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:[12, 88, 27], Operations: ['69-42=27'] Exploring Operation: 88-27=61, Resulting Numbers: [12, 61] Generated Node #0,0,0: 18:[12, 61] Operation: 88-27=61 Exploring Operation: 27-12=15, Resulting Numbers: [88, 15] Generated Node #0,0,1: 18:[88, 15] Operation: 27-12=15 Exploring Operation: 88-12=76, Resulting Numbers: [27, 76] Generated Node #0,0,2: 18:[27, 76] Operation: 88-12=76 Exploring Operation: 12+88=100, Resulting Numbers: [27, 100] Generated Node #0,0,3: 18:[27, 100] Operation: 12+88=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[12, 61], Operations: ['69-42=27', '88-27=61'] Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,18 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,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,0,2 Current State: 18:[27, 76], Operations: ['69-42=27', '88-12=76'] Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,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,0,1 Current State: 18:[88, 15], Operations: ['69-42=27', '27-12=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,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,0,3 Current State: 18:[27, 100], Operations: ['69-42=27', '12+88=100'] Exploring Operation: 27*100=2700, Resulting Numbers: [2700] 2700,18 unequal: No Solution Exploring Operation: 100-27=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 27+100=127, Resulting Numbers: [127] 127,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:[42, 69, 76], Operations: ['88-12=76'] Exploring Operation: 76-42=34, Resulting Numbers: [69, 34] Generated Node #0,3,0: 18:[69, 34] Operation: 76-42=34 Exploring Operation: 69-42=27, Resulting Numbers: [76, 27] Generated Node #0,3,1: 18:[76, 27] Operation: 69-42=27 Exploring Operation: 76-69=7, Resulting Numbers: [42, 7] Generated Node #0,3,2: 18:[42, 7] Operation: 76-69=7 Exploring Operation: 42+69=111, Resulting Numbers: [76, 111] Generated Node #0,3,3: 18:[76, 111] Operation: 42+69=111 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[42, 7], Operations: ['88-12=76', '76-69=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,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:[69, 34], Operations: ['88-12=76', '76-42=34'] Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,18 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,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:[76, 27], Operations: ['88-12=76', '69-42=27'] Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,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,3 Current State: 18:[76, 111], Operations: ['88-12=76', '42+69=111'] Exploring Operation: 76*111=8436, Resulting Numbers: [8436] 8436,18 unequal: No Solution Exploring Operation: 76+111=187, Resulting Numbers: [187] 187,18 unequal: No Solution Exploring Operation: 111-76=35, Resulting Numbers: [35] 35,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic