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
[ 55, 19, 48, 58 ]
46
[ "55-19=36", "58-48=10", "36+10=46" ]
Current State: 46:[55, 19, 48, 58], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [48, 58, 36] Generated Node #2: [48, 58, 36] from Operation: 55-19=36 Current State: 46:[48, 58, 36], Operations: ['55-19=36'] Exploring Operation: 58-48=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 58-48=10 Current State: 46:[36, 10], Operations: ['55-19=36', '58-48=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[55, 19, 48, 58], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [19, 48, 3] Generated Node #0,0: 46:[19, 48, 3] Operation: 58-55=3 Moving to Node #0,0 Current State: 46:[19, 48, 3], Operations: ['58-55=3'] Exploring Operation: 19+3=22, Resulting Numbers: [48, 22] Generated Node #0,0,0: 46:[48, 22] Operation: 19+3=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[48, 22], Operations: ['58-55=3', '19+3=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,46 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, 25, 75, 61 ]
80
[ "16+61=77", "75/25=3", "77+3=80" ]
Current State: 80:[16, 25, 75, 61], Operations: [] Exploring Operation: 16+61=77, Resulting Numbers: [25, 75, 77] Generated Node #2: [25, 75, 77] from Operation: 16+61=77 Current State: 80:[25, 75, 77], Operations: ['16+61=77'] Exploring Operation: 75/25=3, Resulting Numbers: [77, 3] Generated Node #3: [77, 3] from Operation: 75/25=3 Current State: 80:[77, 3], Operations: ['16+61=77', '75/25=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[16, 25, 75, 61], Operations: [] Exploring Operation: 25+61=86, Resulting Numbers: [16, 75, 86] Generated Node #0,0: 80:[16, 75, 86] Operation: 25+61=86 Exploring Operation: 61-25=36, Resulting Numbers: [16, 75, 36] Generated Node #0,1: 80:[16, 75, 36] Operation: 61-25=36 Exploring Operation: 75-61=14, Resulting Numbers: [16, 25, 14] Generated Node #0,2: 80:[16, 25, 14] Operation: 75-61=14 Moving to Node #0,2 Current State: 80:[16, 25, 14], Operations: ['75-61=14'] Exploring Operation: 25+14=39, Resulting Numbers: [16, 39] Generated Node #0,2,0: 80:[16, 39] Operation: 25+14=39 Exploring Operation: 25-14=11, Resulting Numbers: [16, 11] Generated Node #0,2,1: 80:[16, 11] Operation: 25-14=11 Exploring Operation: 16+25=41, Resulting Numbers: [14, 41] Generated Node #0,2,2: 80:[14, 41] Operation: 16+25=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[16, 39], Operations: ['75-61=14', '25+14=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[16, 11], Operations: ['75-61=14', '25-14=11'] Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,80 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[14, 41], Operations: ['75-61=14', '16+25=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,80 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,80 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: 80:[16, 75, 36], Operations: ['61-25=36'] Exploring Operation: 16+75=91, Resulting Numbers: [36, 91] Generated Node #0,1,0: 80:[36, 91] Operation: 16+75=91 Exploring Operation: 36-16=20, Resulting Numbers: [75, 20] Generated Node #0,1,1: 80:[75, 20] Operation: 36-16=20 Exploring Operation: 75-36=39, Resulting Numbers: [16, 39] Generated Node #0,1,2: 80:[16, 39] Operation: 75-36=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[16, 39], Operations: ['61-25=36', '75-36=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[75, 20], Operations: ['61-25=36', '36-16=20'] Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,80 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[36, 91], Operations: ['61-25=36', '16+75=91'] Exploring Operation: 36+91=127, Resulting Numbers: [127] 127,80 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 36*91=3276, Resulting Numbers: [3276] 3276,80 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: 80:[16, 75, 86], Operations: ['25+61=86'] Exploring Operation: 16+75=91, Resulting Numbers: [86, 91] Generated Node #0,0,0: 80:[86, 91] Operation: 16+75=91 Exploring Operation: 86-75=11, Resulting Numbers: [16, 11] Generated Node #0,0,1: 80:[16, 11] Operation: 86-75=11 Exploring Operation: 86-16=70, Resulting Numbers: [75, 70] Generated Node #0,0,2: 80:[75, 70] Operation: 86-16=70 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[16, 11], Operations: ['25+61=86', '86-75=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[75, 70], Operations: ['25+61=86', '86-16=70'] Exploring Operation: 75*70=5250, Resulting Numbers: [5250] 5250,80 unequal: No Solution Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 75+70=145, Resulting Numbers: [145] 145,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[86, 91], Operations: ['25+61=86', '16+75=91'] Exploring Operation: 86+91=177, Resulting Numbers: [177] 177,80 unequal: No Solution Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 86*91=7826, Resulting Numbers: [7826] 7826,80 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
[ 57, 13, 55, 87 ]
76
[ "57-13=44", "87-55=32", "44+32=76" ]
Current State: 76:[57, 13, 55, 87], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [55, 87, 44] Generated Node #2: [55, 87, 44] from Operation: 57-13=44 Current State: 76:[55, 87, 44], Operations: ['57-13=44'] Exploring Operation: 87-55=32, Resulting Numbers: [44, 32] Generated Node #3: [44, 32] from Operation: 87-55=32 Current State: 76:[44, 32], Operations: ['57-13=44', '87-55=32'] Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[57, 13, 55, 87], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [55, 87, 44] Generated Node #0,0: 76:[55, 87, 44] Operation: 57-13=44 Exploring Operation: 57-55=2, Resulting Numbers: [13, 87, 2] Generated Node #0,1: 76:[13, 87, 2] Operation: 57-55=2 Exploring Operation: 87-55=32, Resulting Numbers: [57, 13, 32] Generated Node #0,2: 76:[57, 13, 32] Operation: 87-55=32 Exploring Operation: 57+13=70, Resulting Numbers: [55, 87, 70] Generated Node #0,3: 76:[55, 87, 70] Operation: 57+13=70 Exploring Operation: 87-57=30, Resulting Numbers: [13, 55, 30] Generated Node #0,4: 76:[13, 55, 30] Operation: 87-57=30 Moving to Node #0,1 Current State: 76:[13, 87, 2], Operations: ['57-55=2'] Exploring Operation: 13*2=26, Resulting Numbers: [87, 26] Generated Node #0,1,0: 76:[87, 26] Operation: 13*2=26 Exploring Operation: 87-13=74, Resulting Numbers: [2, 74] Generated Node #0,1,1: 76:[2, 74] Operation: 87-13=74 Exploring Operation: 13-2=11, Resulting Numbers: [87, 11] Generated Node #0,1,2: 76:[87, 11] Operation: 13-2=11 Exploring Operation: 13+2=15, Resulting Numbers: [87, 15] Generated Node #0,1,3: 76:[87, 15] Operation: 13+2=15 Exploring Operation: 87-2=85, Resulting Numbers: [13, 85] Generated Node #0,1,4: 76:[13, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[2, 74], Operations: ['57-55=2', '87-13=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,76 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[57, 13, 55, 87], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [13, 87, 2] Generated Node #0,1: 76:[13, 87, 2] Operation: 57-55=2 Moving to Node #0,1 Current State: 76:[13, 87, 2], Operations: ['57-55=2'] Exploring Operation: 87-13=74, Resulting Numbers: [2, 74] Generated Node #0,1,1: 76:[2, 74] Operation: 87-13=74 Moving to Node #0,1,1 Current State: 76:[2, 74], Operations: ['57-55=2', '87-13=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 1, 5, 44, 19 ]
11
[ "1+19=20", "5*44=220", "220/20=11" ]
Current State: 11:[1, 5, 44, 19], Operations: [] Exploring Operation: 1+19=20, Resulting Numbers: [5, 44, 20] Generated Node #2: [5, 44, 20] from Operation: 1+19=20 Current State: 11:[5, 44, 20], Operations: ['1+19=20'] Exploring Operation: 5*44=220, Resulting Numbers: [20, 220] Generated Node #3: [20, 220] from Operation: 5*44=220 Current State: 11:[20, 220], Operations: ['1+19=20', '5*44=220'] Exploring Operation: 220/20=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[1, 5, 44, 19], Operations: [] Exploring Operation: 1+5=6, Resulting Numbers: [44, 19, 6] Generated Node #0,0: 11:[44, 19, 6] Operation: 1+5=6 Exploring Operation: 44-19=25, Resulting Numbers: [1, 5, 25] Generated Node #0,1: 11:[1, 5, 25] Operation: 44-19=25 Exploring Operation: 44-1=43, Resulting Numbers: [5, 19, 43] Generated Node #0,2: 11:[5, 19, 43] Operation: 44-1=43 Exploring Operation: 19-1=18, Resulting Numbers: [5, 44, 18] Generated Node #0,3: 11:[5, 44, 18] Operation: 19-1=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[1, 5, 25], Operations: ['44-19=25'] Exploring Operation: 25-5=20, Resulting Numbers: [1, 20] Generated Node #0,1,0: 11:[1, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [1, 5] Generated Node #0,1,1: 11:[1, 5] Operation: 25/5=5 Exploring Operation: 25-1=24, Resulting Numbers: [5, 24] Generated Node #0,1,2: 11:[5, 24] Operation: 25-1=24 Exploring Operation: 1+5=6, Resulting Numbers: [25, 6] Generated Node #0,1,3: 11:[25, 6] Operation: 1+5=6 Moving to Node #0,1,1 Current State: 11:[1, 5], Operations: ['44-19=25', '25/5=5'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[5, 24], Operations: ['44-19=25', '25-1=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[1, 20], Operations: ['44-19=25', '25-5=20'] Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[25, 6], Operations: ['44-19=25', '1+5=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,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 Current State: 11:[44, 19, 6], Operations: ['1+5=6'] Exploring Operation: 44-6=38, Resulting Numbers: [19, 38] Generated Node #0,0,0: 11:[19, 38] Operation: 44-6=38 Exploring Operation: 19-6=13, Resulting Numbers: [44, 13] Generated Node #0,0,1: 11:[44, 13] Operation: 19-6=13 Exploring Operation: 44+6=50, Resulting Numbers: [19, 50] Generated Node #0,0,2: 11:[19, 50] Operation: 44+6=50 Exploring Operation: 44-19=25, Resulting Numbers: [6, 25] Generated Node #0,0,3: 11:[6, 25] Operation: 44-19=25 Moving to Node #0,0,3 Current State: 11:[6, 25], Operations: ['1+5=6', '44-19=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[44, 13], Operations: ['1+5=6', '19-6=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,11 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[19, 38], Operations: ['1+5=6', '44-6=38'] Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,11 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[19, 50], Operations: ['1+5=6', '44+6=50'] Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 19*50=950, Resulting Numbers: [950] 950,11 unequal: No Solution Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,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 Current State: 11:[5, 19, 43], Operations: ['44-1=43'] Exploring Operation: 43-19=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 11:[5, 24] Operation: 43-19=24 Exploring Operation: 19-5=14, Resulting Numbers: [43, 14] Generated Node #0,2,1: 11:[43, 14] Operation: 19-5=14 Exploring Operation: 5+19=24, Resulting Numbers: [43, 24] Generated Node #0,2,2: 11:[43, 24] Operation: 5+19=24 Exploring Operation: 43-5=38, Resulting Numbers: [19, 38] Generated Node #0,2,3: 11:[19, 38] Operation: 43-5=38 Moving to Node #0,2,0 Current State: 11:[5, 24], Operations: ['44-1=43', '43-19=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[19, 38], Operations: ['44-1=43', '43-5=38'] Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[43, 14], Operations: ['44-1=43', '19-5=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[43, 24], Operations: ['44-1=43', '5+19=24'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,11 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,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,3 Current State: 11:[5, 44, 18], Operations: ['19-1=18'] Exploring Operation: 44-18=26, Resulting Numbers: [5, 26] Generated Node #0,3,0: 11:[5, 26] Operation: 44-18=26 Exploring Operation: 18-5=13, Resulting Numbers: [44, 13] Generated Node #0,3,1: 11:[44, 13] Operation: 18-5=13 Exploring Operation: 5+44=49, Resulting Numbers: [18, 49] Generated Node #0,3,2: 11:[18, 49] Operation: 5+44=49 Exploring Operation: 44-5=39, Resulting Numbers: [18, 39] Generated Node #0,3,3: 11:[18, 39] Operation: 44-5=39 Moving to Node #0,3,0 Current State: 11:[5, 26], Operations: ['19-1=18', '44-18=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[18, 39], Operations: ['19-1=18', '44-5=39'] Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,11 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[44, 13], Operations: ['19-1=18', '18-5=13'] Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,11 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[18, 49], Operations: ['19-1=18', '5+44=49'] Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,11 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
[ 95, 24, 26, 98 ]
53
[ "95-24=71", "26+98=124", "124-71=53" ]
Current State: 53:[95, 24, 26, 98], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [26, 98, 71] Generated Node #2: [26, 98, 71] from Operation: 95-24=71 Current State: 53:[26, 98, 71], Operations: ['95-24=71'] Exploring Operation: 26+98=124, Resulting Numbers: [71, 124] Generated Node #3: [71, 124] from Operation: 26+98=124 Current State: 53:[71, 124], Operations: ['95-24=71', '26+98=124'] Exploring Operation: 124-71=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[95, 24, 26, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [95, 24, 72] Generated Node #0,0: 53:[95, 24, 72] Operation: 98-26=72 Exploring Operation: 95-26=69, Resulting Numbers: [24, 98, 69] Generated Node #0,1: 53:[24, 98, 69] Operation: 95-26=69 Exploring Operation: 98-24=74, Resulting Numbers: [95, 26, 74] Generated Node #0,2: 53:[95, 26, 74] Operation: 98-24=74 Exploring Operation: 24+26=50, Resulting Numbers: [95, 98, 50] Generated Node #0,3: 53:[95, 98, 50] Operation: 24+26=50 Exploring Operation: 95-24=71, Resulting Numbers: [26, 98, 71] Generated Node #0,4: 53:[26, 98, 71] Operation: 95-24=71 Moving to Node #0,0 Current State: 53:[95, 24, 72], Operations: ['98-26=72'] Exploring Operation: 72-24=48, Resulting Numbers: [95, 48] Generated Node #0,0,0: 53:[95, 48] Operation: 72-24=48 Exploring Operation: 95-72=23, Resulting Numbers: [24, 23] Generated Node #0,0,1: 53:[24, 23] Operation: 95-72=23 Exploring Operation: 95-24=71, Resulting Numbers: [72, 71] Generated Node #0,0,2: 53:[72, 71] Operation: 95-24=71 Exploring Operation: 24+72=96, Resulting Numbers: [95, 96] Generated Node #0,0,3: 53:[95, 96] Operation: 24+72=96 Exploring Operation: 95+24=119, Resulting Numbers: [72, 119] Generated Node #0,0,4: 53:[72, 119] Operation: 95+24=119 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[72, 71], Operations: ['98-26=72', '95-24=71'] Exploring Operation: 72+71=143, Resulting Numbers: [143] 143,53 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 72*71=5112, Resulting Numbers: [5112] 5112,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[95, 48], Operations: ['98-26=72', '72-24=48'] Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 95+48=143, Resulting Numbers: [143] 143,53 unequal: No Solution Exploring Operation: 95*48=4560, Resulting Numbers: [4560] 4560,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[24, 23], Operations: ['98-26=72', '95-72=23'] Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,53 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[95, 96], Operations: ['98-26=72', '24+72=96'] Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,53 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 95*96=9120, Resulting Numbers: [9120] 9120,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[72, 119], Operations: ['98-26=72', '95+24=119'] Exploring Operation: 119-72=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 72*119=8568, Resulting Numbers: [8568] 8568,53 unequal: No Solution Exploring Operation: 72+119=191, Resulting Numbers: [191] 191,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 53:[95, 26, 74], Operations: ['98-24=74'] Exploring Operation: 95-26=69, Resulting Numbers: [74, 69] Generated Node #0,2,0: 53:[74, 69] Operation: 95-26=69 Exploring Operation: 26+74=100, Resulting Numbers: [95, 100] Generated Node #0,2,1: 53:[95, 100] Operation: 26+74=100 Exploring Operation: 95-74=21, Resulting Numbers: [26, 21] Generated Node #0,2,2: 53:[26, 21] Operation: 95-74=21 Exploring Operation: 74-26=48, Resulting Numbers: [95, 48] Generated Node #0,2,3: 53:[95, 48] Operation: 74-26=48 Exploring Operation: 95+26=121, Resulting Numbers: [74, 121] Generated Node #0,2,4: 53:[74, 121] Operation: 95+26=121 Moving to Node #0,4 Current State: 53:[26, 98, 71], Operations: ['95-24=71'] Exploring Operation: 98-26=72, Resulting Numbers: [71, 72] Generated Node #0,4,0: 53:[71, 72] Operation: 98-26=72 Exploring Operation: 98-71=27, Resulting Numbers: [26, 27] Generated Node #0,4,1: 53:[26, 27] Operation: 98-71=27 Exploring Operation: 26+71=97, Resulting Numbers: [98, 97] Generated Node #0,4,2: 53:[98, 97] Operation: 26+71=97 Exploring Operation: 26+98=124, Resulting Numbers: [71, 124] Generated Node #0,4,3: 53:[71, 124] Operation: 26+98=124 Exploring Operation: 71-26=45, Resulting Numbers: [98, 45] Generated Node #0,4,4: 53:[98, 45] Operation: 71-26=45 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[71, 72], Operations: ['95-24=71', '98-26=72'] Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,53 unequal: No Solution Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[26, 27], Operations: ['95-24=71', '98-71=27'] Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,53 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[95, 24, 26, 98], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [26, 98, 71] Generated Node #0,4: 53:[26, 98, 71] Operation: 95-24=71 Moving to Node #0,4 Current State: 53:[26, 98, 71], Operations: ['95-24=71'] Exploring Operation: 98-71=27, Resulting Numbers: [26, 27] Generated Node #0,4,1: 53:[26, 27] Operation: 98-71=27 Moving to Node #0,4,1 Current State: 53:[26, 27], Operations: ['95-24=71', '98-71=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic
[ 88, 30, 52, 36 ]
29
[ "88-52=36", "36/36=1", "30-1=29" ]
Current State: 29:[88, 30, 52, 36], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [30, 36, 36] Generated Node #2: [30, 36, 36] from Operation: 88-52=36 Current State: 29:[30, 36, 36], Operations: ['88-52=36'] Exploring Operation: 36/36=1, Resulting Numbers: [30, 1] Generated Node #3: [30, 1] from Operation: 36/36=1 Current State: 29:[30, 1], Operations: ['88-52=36', '36/36=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[88, 30, 52, 36], Operations: [] Exploring Operation: 88-36=52, Resulting Numbers: [30, 52, 52] Generated Node #0,0: 29:[30, 52, 52] Operation: 88-36=52 Exploring Operation: 88-52=36, Resulting Numbers: [30, 36, 36] Generated Node #0,1: 29:[30, 36, 36] Operation: 88-52=36 Exploring Operation: 88-30=58, Resulting Numbers: [52, 36, 58] Generated Node #0,2: 29:[52, 36, 58] Operation: 88-30=58 Moving to Node #0,1 Current State: 29:[30, 36, 36], Operations: ['88-52=36'] Exploring Operation: 36/36=1, Resulting Numbers: [30, 1] Generated Node #0,1,0: 29:[30, 1] Operation: 36/36=1 Exploring Operation: 36-30=6, Resulting Numbers: [36, 6] Generated Node #0,1,1: 29:[36, 6] Operation: 36-30=6 Exploring Operation: 36-30=6, Resulting Numbers: [36, 6] Generated Node #0,1,2: 29:[36, 6] Operation: 36-30=6 Moving to Node #0,0 Current State: 29:[30, 52, 52], Operations: ['88-36=52'] Exploring Operation: 52-30=22, Resulting Numbers: [52, 22] Generated Node #0,0,0: 29:[52, 22] Operation: 52-30=22 Exploring Operation: 52-30=22, Resulting Numbers: [52, 22] Generated Node #0,0,1: 29:[52, 22] Operation: 52-30=22 Exploring Operation: 52/52=1, Resulting Numbers: [30, 1] Generated Node #0,0,2: 29:[30, 1] Operation: 52/52=1 Moving to Node #0,2 Current State: 29:[52, 36, 58], Operations: ['88-30=58'] Exploring Operation: 58-52=6, Resulting Numbers: [36, 6] Generated Node #0,2,0: 29:[36, 6] Operation: 58-52=6 Exploring Operation: 52-36=16, Resulting Numbers: [58, 16] Generated Node #0,2,1: 29:[58, 16] Operation: 52-36=16 Exploring Operation: 58-36=22, Resulting Numbers: [52, 22] Generated Node #0,2,2: 29:[52, 22] Operation: 58-36=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[36, 6], Operations: ['88-30=58', '58-52=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[52, 22], Operations: ['88-30=58', '58-36=22'] Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,29 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[58, 16], Operations: ['88-30=58', '52-36=16'] Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,29 unequal: No Solution Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 29:[30, 1], Operations: ['88-52=36', '36/36=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[88, 30, 52, 36], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [30, 36, 36] Generated Node #0,1: 29:[30, 36, 36] Operation: 88-52=36 Moving to Node #0,1 Current State: 29:[30, 36, 36], Operations: ['88-52=36'] Exploring Operation: 36/36=1, Resulting Numbers: [30, 1] Generated Node #0,1,0: 29:[30, 1] Operation: 36/36=1 Moving to Node #0,1,0 Current State: 29:[30, 1], Operations: ['88-52=36', '36/36=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 85, 19, 12, 93 ]
77
[ "93-85=8", "12*8=96", "96-19=77" ]
Current State: 77:[85, 19, 12, 93], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [19, 12, 8] Generated Node #2: [19, 12, 8] from Operation: 93-85=8 Current State: 77:[19, 12, 8], Operations: ['93-85=8'] Exploring Operation: 12*8=96, Resulting Numbers: [19, 96] Generated Node #3: [19, 96] from Operation: 12*8=96 Current State: 77:[19, 96], Operations: ['93-85=8', '12*8=96'] Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[85, 19, 12, 93], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [19, 12, 8] Generated Node #0,0: 77:[19, 12, 8] Operation: 93-85=8 Exploring Operation: 93-12=81, Resulting Numbers: [85, 19, 81] Generated Node #0,1: 77:[85, 19, 81] Operation: 93-12=81 Exploring Operation: 93-19=74, Resulting Numbers: [85, 12, 74] Generated Node #0,2: 77:[85, 12, 74] Operation: 93-19=74 Exploring Operation: 19-12=7, Resulting Numbers: [85, 93, 7] Generated Node #0,3: 77:[85, 93, 7] Operation: 19-12=7 Moving to Node #0,0 Current State: 77:[19, 12, 8], Operations: ['93-85=8'] Exploring Operation: 19-12=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 77:[8, 7] Operation: 19-12=7 Exploring Operation: 12-8=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 77:[19, 4] Operation: 12-8=4 Exploring Operation: 19-8=11, Resulting Numbers: [12, 11] Generated Node #0,0,2: 77:[12, 11] Operation: 19-8=11 Exploring Operation: 19+8=27, Resulting Numbers: [12, 27] Generated Node #0,0,3: 77:[12, 27] Operation: 19+8=27 Moving to Node #0,2 Current State: 77:[85, 12, 74], Operations: ['93-19=74'] Exploring Operation: 85-12=73, Resulting Numbers: [74, 73] Generated Node #0,2,0: 77:[74, 73] Operation: 85-12=73 Exploring Operation: 85+12=97, Resulting Numbers: [74, 97] Generated Node #0,2,1: 77:[74, 97] Operation: 85+12=97 Exploring Operation: 85-74=11, Resulting Numbers: [12, 11] Generated Node #0,2,2: 77:[12, 11] Operation: 85-74=11 Exploring Operation: 12+74=86, Resulting Numbers: [85, 86] Generated Node #0,2,3: 77:[85, 86] Operation: 12+74=86 Moving to Node #0,1 Current State: 77:[85, 19, 81], Operations: ['93-12=81'] Exploring Operation: 81-19=62, Resulting Numbers: [85, 62] Generated Node #0,1,0: 77:[85, 62] Operation: 81-19=62 Exploring Operation: 85+19=104, Resulting Numbers: [81, 104] Generated Node #0,1,1: 77:[81, 104] Operation: 85+19=104 Exploring Operation: 85-19=66, Resulting Numbers: [81, 66] Generated Node #0,1,2: 77:[81, 66] Operation: 85-19=66 Exploring Operation: 85-81=4, Resulting Numbers: [19, 4] Generated Node #0,1,3: 77:[19, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[19, 4], Operations: ['93-12=81', '85-81=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[81, 66], Operations: ['93-12=81', '85-19=66'] Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,77 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[85, 62], Operations: ['93-12=81', '81-19=62'] Exploring Operation: 85+62=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 85*62=5270, Resulting Numbers: [5270] 5270,77 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[81, 104], Operations: ['93-12=81', '85+19=104'] Exploring Operation: 104-81=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 81*104=8424, Resulting Numbers: [8424] 8424,77 unequal: No Solution Exploring Operation: 81+104=185, Resulting Numbers: [185] 185,77 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: 77:[85, 93, 7], Operations: ['19-12=7'] Exploring Operation: 85+7=92, Resulting Numbers: [93, 92] Generated Node #0,3,0: 77:[93, 92] Operation: 85+7=92 Exploring Operation: 93-7=86, Resulting Numbers: [85, 86] Generated Node #0,3,1: 77:[85, 86] Operation: 93-7=86 Exploring Operation: 85-7=78, Resulting Numbers: [93, 78] Generated Node #0,3,2: 77:[93, 78] Operation: 85-7=78 Exploring Operation: 93-85=8, Resulting Numbers: [7, 8] Generated Node #0,3,3: 77:[7, 8] Operation: 93-85=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[7, 8], Operations: ['19-12=7', '93-85=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[85, 86], Operations: ['19-12=7', '93-7=86'] Exploring Operation: 85*86=7310, Resulting Numbers: [7310] 7310,77 unequal: No Solution Exploring Operation: 85+86=171, Resulting Numbers: [171] 171,77 unequal: No Solution Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[93, 78], Operations: ['19-12=7', '85-7=78'] Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 93*78=7254, Resulting Numbers: [7254] 7254,77 unequal: No Solution Exploring Operation: 93+78=171, Resulting Numbers: [171] 171,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[93, 92], Operations: ['19-12=7', '85+7=92'] Exploring Operation: 93+92=185, Resulting Numbers: [185] 185,77 unequal: No Solution Exploring Operation: 93-92=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 93*92=8556, Resulting Numbers: [8556] 8556,77 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: 77:[8, 7], Operations: ['93-85=8', '19-12=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[12, 11], Operations: ['93-85=8', '19-8=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,77 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[12, 11], Operations: ['93-19=74', '85-74=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[74, 73], Operations: ['93-19=74', '85-12=73'] Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[19, 4], Operations: ['93-85=8', '12-8=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[12, 27], Operations: ['93-85=8', '19+8=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,77 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[85, 86], Operations: ['93-19=74', '12+74=86'] Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 85+86=171, Resulting Numbers: [171] 171,77 unequal: No Solution Exploring Operation: 85*86=7310, Resulting Numbers: [7310] 7310,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[74, 97], Operations: ['93-19=74', '85+12=97'] Exploring Operation: 74*97=7178, Resulting Numbers: [7178] 7178,77 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 74+97=171, Resulting Numbers: [171] 171,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 22, 53, 4, 59 ]
11
[ "53+4=57", "59-57=2", "22/2=11" ]
Current State: 11:[22, 53, 4, 59], Operations: [] Exploring Operation: 53+4=57, Resulting Numbers: [22, 59, 57] Generated Node #2: [22, 59, 57] from Operation: 53+4=57 Current State: 11:[22, 59, 57], Operations: ['53+4=57'] Exploring Operation: 59-57=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 59-57=2 Current State: 11:[22, 2], Operations: ['53+4=57', '59-57=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[22, 53, 4, 59], Operations: [] Exploring Operation: 53-22=31, Resulting Numbers: [4, 59, 31] Generated Node #0,0: 11:[4, 59, 31] Operation: 53-22=31 Exploring Operation: 59-22=37, Resulting Numbers: [53, 4, 37] Generated Node #0,1: 11:[53, 4, 37] Operation: 59-22=37 Exploring Operation: 59-53=6, Resulting Numbers: [22, 4, 6] Generated Node #0,2: 11:[22, 4, 6] Operation: 59-53=6 Moving to Node #0,2 Current State: 11:[22, 4, 6], Operations: ['59-53=6'] Exploring Operation: 22-4=18, Resulting Numbers: [6, 18] Generated Node #0,2,0: 11:[6, 18] Operation: 22-4=18 Exploring Operation: 22-6=16, Resulting Numbers: [4, 16] Generated Node #0,2,1: 11:[4, 16] Operation: 22-6=16 Exploring Operation: 4+6=10, Resulting Numbers: [22, 10] Generated Node #0,2,2: 11:[22, 10] Operation: 4+6=10 Moving to Node #0,0 Current State: 11:[4, 59, 31], Operations: ['53-22=31'] Exploring Operation: 59-4=55, Resulting Numbers: [31, 55] Generated Node #0,0,0: 11:[31, 55] Operation: 59-4=55 Exploring Operation: 31-4=27, Resulting Numbers: [59, 27] Generated Node #0,0,1: 11:[59, 27] Operation: 31-4=27 Exploring Operation: 59-31=28, Resulting Numbers: [4, 28] Generated Node #0,0,2: 11:[4, 28] Operation: 59-31=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[4, 28], Operations: ['53-22=31', '59-31=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,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:[31, 55], Operations: ['53-22=31', '59-4=55'] Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,11 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,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,1 Current State: 11:[59, 27], Operations: ['53-22=31', '31-4=27'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,11 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,11 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: 11:[53, 4, 37], Operations: ['59-22=37'] Exploring Operation: 37-4=33, Resulting Numbers: [53, 33] Generated Node #0,1,0: 11:[53, 33] Operation: 37-4=33 Exploring Operation: 53-37=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 11:[4, 16] Operation: 53-37=16 Exploring Operation: 53-4=49, Resulting Numbers: [37, 49] Generated Node #0,1,2: 11:[37, 49] Operation: 53-4=49 Moving to Node #0,2,0 Current State: 11:[6, 18], Operations: ['59-53=6', '22-4=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[22, 10], Operations: ['59-53=6', '4+6=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[4, 16], Operations: ['59-53=6', '22-6=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[4, 16], Operations: ['59-22=37', '53-37=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[53, 33], Operations: ['59-22=37', '37-4=33'] Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[37, 49], Operations: ['59-22=37', '53-4=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,11 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 20, 35, 81, 73 ]
14
[ "81-73=8", "35*8=280", "280/20=14" ]
Current State: 14:[20, 35, 81, 73], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [20, 35, 8] Generated Node #2: [20, 35, 8] from Operation: 81-73=8 Current State: 14:[20, 35, 8], Operations: ['81-73=8'] Exploring Operation: 35*8=280, Resulting Numbers: [20, 280] Generated Node #3: [20, 280] from Operation: 35*8=280 Current State: 14:[20, 280], Operations: ['81-73=8', '35*8=280'] Exploring Operation: 280/20=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[20, 35, 81, 73], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [20, 35, 8] Generated Node #0,0: 14:[20, 35, 8] Operation: 81-73=8 Exploring Operation: 81-35=46, Resulting Numbers: [20, 73, 46] Generated Node #0,1: 14:[20, 73, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[20, 35, 8], Operations: ['81-73=8'] Exploring Operation: 35-20=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 14:[8, 15] Operation: 35-20=15 Exploring Operation: 35-8=27, Resulting Numbers: [20, 27] Generated Node #0,0,1: 14:[20, 27] Operation: 35-8=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[8, 15], Operations: ['81-73=8', '35-20=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[20, 27], Operations: ['81-73=8', '35-8=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[20, 73, 46], Operations: ['81-35=46'] Exploring Operation: 73-46=27, Resulting Numbers: [20, 27] Generated Node #0,1,0: 14:[20, 27] Operation: 73-46=27 Exploring Operation: 73-20=53, Resulting Numbers: [46, 53] Generated Node #0,1,1: 14:[46, 53] Operation: 73-20=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[20, 27], Operations: ['81-35=46', '73-46=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[46, 53], Operations: ['81-35=46', '73-20=53'] Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,14 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 28, 26, 64, 11 ]
51
[ "28-26=2", "64-11=53", "53-2=51" ]
Current State: 51:[28, 26, 64, 11], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [64, 11, 2] Generated Node #2: [64, 11, 2] from Operation: 28-26=2 Current State: 51:[64, 11, 2], Operations: ['28-26=2'] Exploring Operation: 64-11=53, Resulting Numbers: [2, 53] Generated Node #3: [2, 53] from Operation: 64-11=53 Current State: 51:[2, 53], Operations: ['28-26=2', '64-11=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[28, 26, 64, 11], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [64, 11, 2] Generated Node #0,0: 51:[64, 11, 2] Operation: 28-26=2 Exploring Operation: 28+26=54, Resulting Numbers: [64, 11, 54] Generated Node #0,1: 51:[64, 11, 54] Operation: 28+26=54 Exploring Operation: 28-11=17, Resulting Numbers: [26, 64, 17] Generated Node #0,2: 51:[26, 64, 17] Operation: 28-11=17 Exploring Operation: 64-11=53, Resulting Numbers: [28, 26, 53] Generated Node #0,3: 51:[28, 26, 53] Operation: 64-11=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[64, 11, 2], Operations: ['28-26=2'] Exploring Operation: 11*2=22, Resulting Numbers: [64, 22] Generated Node #0,0,0: 51:[64, 22] Operation: 11*2=22 Exploring Operation: 64-11=53, Resulting Numbers: [2, 53] Generated Node #0,0,1: 51:[2, 53] Operation: 64-11=53 Exploring Operation: 11+2=13, Resulting Numbers: [64, 13] Generated Node #0,0,2: 51:[64, 13] Operation: 11+2=13 Exploring Operation: 64-2=62, Resulting Numbers: [11, 62] Generated Node #0,0,3: 51:[11, 62] Operation: 64-2=62 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[2, 53], Operations: ['28-26=2', '64-11=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[28, 26, 64, 11], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [64, 11, 2] Generated Node #0,0: 51:[64, 11, 2] Operation: 28-26=2 Moving to Node #0,0 Current State: 51:[64, 11, 2], Operations: ['28-26=2'] Exploring Operation: 64-11=53, Resulting Numbers: [2, 53] Generated Node #0,0,1: 51:[2, 53] Operation: 64-11=53 Moving to Node #0,0,1 Current State: 51:[2, 53], Operations: ['28-26=2', '64-11=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 8, 11, 89, 30 ]
56
[ "11-8=3", "89-30=59", "59-3=56" ]
Current State: 56:[8, 11, 89, 30], Operations: [] Exploring Operation: 11-8=3, Resulting Numbers: [89, 30, 3] Generated Node #2: [89, 30, 3] from Operation: 11-8=3 Current State: 56:[89, 30, 3], Operations: ['11-8=3'] Exploring Operation: 89-30=59, Resulting Numbers: [3, 59] Generated Node #3: [3, 59] from Operation: 89-30=59 Current State: 56:[3, 59], Operations: ['11-8=3', '89-30=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[8, 11, 89, 30], Operations: [] Exploring Operation: 89-11=78, Resulting Numbers: [8, 30, 78] Generated Node #0,0: 56:[8, 30, 78] Operation: 89-11=78 Exploring Operation: 89-8=81, Resulting Numbers: [11, 30, 81] Generated Node #0,1: 56:[11, 30, 81] Operation: 89-8=81 Exploring Operation: 89-30=59, Resulting Numbers: [8, 11, 59] Generated Node #0,2: 56:[8, 11, 59] Operation: 89-30=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[8, 11, 59], Operations: ['89-30=59'] Exploring Operation: 11-8=3, Resulting Numbers: [59, 3] Generated Node #0,2,0: 56:[59, 3] Operation: 11-8=3 Exploring Operation: 8+11=19, Resulting Numbers: [59, 19] Generated Node #0,2,1: 56:[59, 19] Operation: 8+11=19 Exploring Operation: 59-8=51, Resulting Numbers: [11, 51] Generated Node #0,2,2: 56:[11, 51] Operation: 59-8=51 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[59, 3], Operations: ['89-30=59', '11-8=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,56 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[8, 11, 89, 30], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [8, 11, 59] Generated Node #0,2: 56:[8, 11, 59] Operation: 89-30=59 Moving to Node #0,2 Current State: 56:[8, 11, 59], Operations: ['89-30=59'] Exploring Operation: 11-8=3, Resulting Numbers: [59, 3] Generated Node #0,2,0: 56:[59, 3] Operation: 11-8=3 Moving to Node #0,2,0 Current State: 56:[59, 3], Operations: ['89-30=59', '11-8=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 93, 71, 51, 27 ]
46
[ "93-71=22", "51-27=24", "22+24=46" ]
Current State: 46:[93, 71, 51, 27], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [51, 27, 22] Generated Node #2: [51, 27, 22] from Operation: 93-71=22 Current State: 46:[51, 27, 22], Operations: ['93-71=22'] Exploring Operation: 51-27=24, Resulting Numbers: [22, 24] Generated Node #3: [22, 24] from Operation: 51-27=24 Current State: 46:[22, 24], Operations: ['93-71=22', '51-27=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[93, 71, 51, 27], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [51, 27, 22] Generated Node #0,0: 46:[51, 27, 22] Operation: 93-71=22 Exploring Operation: 93-51=42, Resulting Numbers: [71, 27, 42] Generated Node #0,1: 46:[71, 27, 42] Operation: 93-51=42 Exploring Operation: 71-27=44, Resulting Numbers: [93, 51, 44] Generated Node #0,2: 46:[93, 51, 44] Operation: 71-27=44 Exploring Operation: 93-27=66, Resulting Numbers: [71, 51, 66] Generated Node #0,3: 46:[71, 51, 66] Operation: 93-27=66 Exploring Operation: 71-51=20, Resulting Numbers: [93, 27, 20] Generated Node #0,4: 46:[93, 27, 20] Operation: 71-51=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[51, 27, 22], Operations: ['93-71=22'] Exploring Operation: 27-22=5, Resulting Numbers: [51, 5] Generated Node #0,0,0: 46:[51, 5] Operation: 27-22=5 Exploring Operation: 51-27=24, Resulting Numbers: [22, 24] Generated Node #0,0,1: 46:[22, 24] Operation: 51-27=24 Exploring Operation: 27+22=49, Resulting Numbers: [51, 49] Generated Node #0,0,2: 46:[51, 49] Operation: 27+22=49 Exploring Operation: 51+22=73, Resulting Numbers: [27, 73] Generated Node #0,0,3: 46:[27, 73] Operation: 51+22=73 Exploring Operation: 51-22=29, Resulting Numbers: [27, 29] Generated Node #0,0,4: 46:[27, 29] Operation: 51-22=29 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[22, 24], Operations: ['93-71=22', '51-27=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[93, 71, 51, 27], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [51, 27, 22] Generated Node #0,0: 46:[51, 27, 22] Operation: 93-71=22 Moving to Node #0,0 Current State: 46:[51, 27, 22], Operations: ['93-71=22'] Exploring Operation: 51-27=24, Resulting Numbers: [22, 24] Generated Node #0,0,1: 46:[22, 24] Operation: 51-27=24 Moving to Node #0,0,1 Current State: 46:[22, 24], Operations: ['93-71=22', '51-27=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 21, 50, 75, 19 ]
33
[ "21*50=1050", "1050/75=14", "19+14=33" ]
Current State: 33:[21, 50, 75, 19], Operations: [] Exploring Operation: 21*50=1050, Resulting Numbers: [75, 19, 1050] Generated Node #2: [75, 19, 1050] from Operation: 21*50=1050 Current State: 33:[75, 19, 1050], Operations: ['21*50=1050'] Exploring Operation: 1050/75=14, Resulting Numbers: [19, 14] Generated Node #3: [19, 14] from Operation: 1050/75=14 Current State: 33:[19, 14], Operations: ['21*50=1050', '1050/75=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[21, 50, 75, 19], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [21, 50, 56] Generated Node #0,0: 33:[21, 50, 56] Operation: 75-19=56 Exploring Operation: 50-21=29, Resulting Numbers: [75, 19, 29] Generated Node #0,1: 33:[75, 19, 29] Operation: 50-21=29 Exploring Operation: 75-50=25, Resulting Numbers: [21, 19, 25] Generated Node #0,2: 33:[21, 19, 25] Operation: 75-50=25 Exploring Operation: 75-21=54, Resulting Numbers: [50, 19, 54] Generated Node #0,3: 33:[50, 19, 54] Operation: 75-21=54 Moving to Node #0,2 Current State: 33:[21, 19, 25], Operations: ['75-50=25'] Exploring Operation: 21-19=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 33:[25, 2] Operation: 21-19=2 Exploring Operation: 25-21=4, Resulting Numbers: [19, 4] Generated Node #0,2,1: 33:[19, 4] Operation: 25-21=4 Exploring Operation: 21+19=40, Resulting Numbers: [25, 40] Generated Node #0,2,2: 33:[25, 40] Operation: 21+19=40 Exploring Operation: 25-19=6, Resulting Numbers: [21, 6] Generated Node #0,2,3: 33:[21, 6] Operation: 25-19=6 Moving to Node #0,3 Current State: 33:[50, 19, 54], Operations: ['75-21=54'] Exploring Operation: 50-19=31, Resulting Numbers: [54, 31] Generated Node #0,3,0: 33:[54, 31] Operation: 50-19=31 Exploring Operation: 54-19=35, Resulting Numbers: [50, 35] Generated Node #0,3,1: 33:[50, 35] Operation: 54-19=35 Exploring Operation: 54-50=4, Resulting Numbers: [19, 4] Generated Node #0,3,2: 33:[19, 4] Operation: 54-50=4 Exploring Operation: 50+19=69, Resulting Numbers: [54, 69] Generated Node #0,3,3: 33:[54, 69] Operation: 50+19=69 Moving to Node #0,0 Current State: 33:[21, 50, 56], Operations: ['75-19=56'] Exploring Operation: 56-21=35, Resulting Numbers: [50, 35] Generated Node #0,0,0: 33:[50, 35] Operation: 56-21=35 Exploring Operation: 56-50=6, Resulting Numbers: [21, 6] Generated Node #0,0,1: 33:[21, 6] Operation: 56-50=6 Exploring Operation: 21+50=71, Resulting Numbers: [56, 71] Generated Node #0,0,2: 33:[56, 71] Operation: 21+50=71 Exploring Operation: 50-21=29, Resulting Numbers: [56, 29] Generated Node #0,0,3: 33:[56, 29] Operation: 50-21=29 Moving to Node #0,1 Current State: 33:[75, 19, 29], Operations: ['50-21=29'] Exploring Operation: 19+29=48, Resulting Numbers: [75, 48] Generated Node #0,1,0: 33:[75, 48] Operation: 19+29=48 Exploring Operation: 75-19=56, Resulting Numbers: [29, 56] Generated Node #0,1,1: 33:[29, 56] Operation: 75-19=56 Exploring Operation: 29-19=10, Resulting Numbers: [75, 10] Generated Node #0,1,2: 33:[75, 10] Operation: 29-19=10 Exploring Operation: 75-29=46, Resulting Numbers: [19, 46] Generated Node #0,1,3: 33:[19, 46] Operation: 75-29=46 Moving to Node #0,2,0 Current State: 33:[25, 2], Operations: ['75-50=25', '21-19=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[19, 4], Operations: ['75-50=25', '25-21=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[19, 4], Operations: ['75-21=54', '54-50=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[21, 6], Operations: ['75-50=25', '25-19=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,33 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[21, 6], Operations: ['75-19=56', '56-50=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,33 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[25, 40], Operations: ['75-50=25', '21+19=40'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[50, 35], Operations: ['75-21=54', '54-19=35'] Exploring Operation: 50+35=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 50*35=1750, Resulting Numbers: [1750] 1750,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[50, 35], Operations: ['75-19=56', '56-21=35'] Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 50+35=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 50*35=1750, Resulting Numbers: [1750] 1750,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[19, 46], Operations: ['50-21=29', '75-29=46'] Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 19*46=874, Resulting Numbers: [874] 874,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[54, 31], Operations: ['75-21=54', '50-19=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,33 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[56, 29], Operations: ['75-19=56', '50-21=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,33 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[29, 56], Operations: ['50-21=29', '75-19=56'] Exploring Operation: 29+56=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 29*56=1624, Resulting Numbers: [1624] 1624,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[75, 10], Operations: ['50-21=29', '29-19=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 75*10=750, Resulting Numbers: [750] 750,33 unequal: No Solution Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[75, 48], Operations: ['50-21=29', '19+29=48'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,33 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[54, 69], Operations: ['75-21=54', '50+19=69'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,33 unequal: No Solution Exploring Operation: 54*69=3726, Resulting Numbers: [3726] 3726,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[56, 71], Operations: ['75-19=56', '21+50=71'] Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,33 unequal: No Solution Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,33 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 88, 68, 82, 54 ]
59
[ "88-82=6", "54/6=9", "68-9=59" ]
Current State: 59:[88, 68, 82, 54], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [68, 54, 6] Generated Node #2: [68, 54, 6] from Operation: 88-82=6 Current State: 59:[68, 54, 6], Operations: ['88-82=6'] Exploring Operation: 54/6=9, Resulting Numbers: [68, 9] Generated Node #3: [68, 9] from Operation: 54/6=9 Current State: 59:[68, 9], Operations: ['88-82=6', '54/6=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[88, 68, 82, 54], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [68, 54, 6] Generated Node #0,0: 59:[68, 54, 6] Operation: 88-82=6 Exploring Operation: 88-54=34, Resulting Numbers: [68, 82, 34] Generated Node #0,1: 59:[68, 82, 34] Operation: 88-54=34 Exploring Operation: 88-68=20, Resulting Numbers: [82, 54, 20] Generated Node #0,2: 59:[82, 54, 20] Operation: 88-68=20 Exploring Operation: 82-54=28, Resulting Numbers: [88, 68, 28] Generated Node #0,3: 59:[88, 68, 28] Operation: 82-54=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[68, 82, 34], Operations: ['88-54=34'] Exploring Operation: 82+34=116, Resulting Numbers: [68, 116] Generated Node #0,1,0: 59:[68, 116] Operation: 82+34=116 Exploring Operation: 82-34=48, Resulting Numbers: [68, 48] Generated Node #0,1,1: 59:[68, 48] Operation: 82-34=48 Exploring Operation: 68-34=34, Resulting Numbers: [82, 34] Generated Node #0,1,2: 59:[82, 34] Operation: 68-34=34 Exploring Operation: 68+34=102, Resulting Numbers: [82, 102] Generated Node #0,1,3: 59:[82, 102] Operation: 68+34=102 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[68, 48], Operations: ['88-54=34', '82-34=48'] Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[82, 34], Operations: ['88-54=34', '68-34=34'] Exploring Operation: 82+34=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 82*34=2788, Resulting Numbers: [2788] 2788,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[68, 116], Operations: ['88-54=34', '82+34=116'] Exploring Operation: 68+116=184, Resulting Numbers: [184] 184,59 unequal: No Solution Exploring Operation: 68*116=7888, Resulting Numbers: [7888] 7888,59 unequal: No Solution Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[82, 102], Operations: ['88-54=34', '68+34=102'] Exploring Operation: 82*102=8364, Resulting Numbers: [8364] 8364,59 unequal: No Solution Exploring Operation: 102-82=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 82+102=184, Resulting Numbers: [184] 184,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[68, 54, 6], Operations: ['88-82=6'] Exploring Operation: 54-6=48, Resulting Numbers: [68, 48] Generated Node #0,0,0: 59:[68, 48] Operation: 54-6=48 Exploring Operation: 68+6=74, Resulting Numbers: [54, 74] Generated Node #0,0,1: 59:[54, 74] Operation: 68+6=74 Exploring Operation: 54+6=60, Resulting Numbers: [68, 60] Generated Node #0,0,2: 59:[68, 60] Operation: 54+6=60 Exploring Operation: 68-6=62, Resulting Numbers: [54, 62] Generated Node #0,0,3: 59:[54, 62] Operation: 68-6=62 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[54, 62], Operations: ['88-82=6', '68-6=62'] Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,59 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[68, 60], Operations: ['88-82=6', '54+6=60'] Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[68, 48], Operations: ['88-82=6', '54-6=48'] Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,59 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[54, 74], Operations: ['88-82=6', '68+6=74'] Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,59 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[82, 54, 20], Operations: ['88-68=20'] Exploring Operation: 54-20=34, Resulting Numbers: [82, 34] Generated Node #0,2,0: 59:[82, 34] Operation: 54-20=34 Exploring Operation: 82+20=102, Resulting Numbers: [54, 102] Generated Node #0,2,1: 59:[54, 102] Operation: 82+20=102 Exploring Operation: 82-20=62, Resulting Numbers: [54, 62] Generated Node #0,2,2: 59:[54, 62] Operation: 82-20=62 Exploring Operation: 54+20=74, Resulting Numbers: [82, 74] Generated Node #0,2,3: 59:[82, 74] Operation: 54+20=74 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[54, 62], Operations: ['88-68=20', '82-20=62'] Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,59 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[82, 74], Operations: ['88-68=20', '54+20=74'] Exploring Operation: 82*74=6068, Resulting Numbers: [6068] 6068,59 unequal: No Solution Exploring Operation: 82+74=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[82, 34], Operations: ['88-68=20', '54-20=34'] Exploring Operation: 82*34=2788, Resulting Numbers: [2788] 2788,59 unequal: No Solution Exploring Operation: 82+34=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[54, 102], Operations: ['88-68=20', '82+20=102'] Exploring Operation: 54*102=5508, Resulting Numbers: [5508] 5508,59 unequal: No Solution Exploring Operation: 54+102=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[88, 68, 28], Operations: ['82-54=28'] Exploring Operation: 88-28=60, Resulting Numbers: [68, 60] Generated Node #0,3,0: 59:[68, 60] Operation: 88-28=60 Exploring Operation: 68-28=40, Resulting Numbers: [88, 40] Generated Node #0,3,1: 59:[88, 40] Operation: 68-28=40 Exploring Operation: 68+28=96, Resulting Numbers: [88, 96] Generated Node #0,3,2: 59:[88, 96] Operation: 68+28=96 Exploring Operation: 88+28=116, Resulting Numbers: [68, 116] Generated Node #0,3,3: 59:[68, 116] Operation: 88+28=116 Moving to Node #0,3,0 Current State: 59:[68, 60], Operations: ['82-54=28', '88-28=60'] Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[88, 40], Operations: ['82-54=28', '68-28=40'] Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 88*40=3520, Resulting Numbers: [3520] 3520,59 unequal: No Solution Exploring Operation: 88+40=128, Resulting Numbers: [128] 128,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[68, 116], Operations: ['82-54=28', '88+28=116'] Exploring Operation: 68*116=7888, Resulting Numbers: [7888] 7888,59 unequal: No Solution Exploring Operation: 68+116=184, Resulting Numbers: [184] 184,59 unequal: No Solution Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[88, 96], Operations: ['82-54=28', '68+28=96'] Exploring Operation: 96-88=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 88+96=184, Resulting Numbers: [184] 184,59 unequal: No Solution Exploring Operation: 88*96=8448, Resulting Numbers: [8448] 8448,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 67, 88, 19, 18 ]
58
[ "88-67=21", "19+18=37", "21+37=58" ]
Current State: 58:[67, 88, 19, 18], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [19, 18, 21] Generated Node #2: [19, 18, 21] from Operation: 88-67=21 Current State: 58:[19, 18, 21], Operations: ['88-67=21'] Exploring Operation: 19+18=37, Resulting Numbers: [21, 37] Generated Node #3: [21, 37] from Operation: 19+18=37 Current State: 58:[21, 37], Operations: ['88-67=21', '19+18=37'] Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[67, 88, 19, 18], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [19, 18, 21] Generated Node #0,0: 58:[19, 18, 21] Operation: 88-67=21 Exploring Operation: 88-19=69, Resulting Numbers: [67, 18, 69] Generated Node #0,1: 58:[67, 18, 69] Operation: 88-19=69 Exploring Operation: 19-18=1, Resulting Numbers: [67, 88, 1] Generated Node #0,2: 58:[67, 88, 1] Operation: 19-18=1 Exploring Operation: 88-18=70, Resulting Numbers: [67, 19, 70] Generated Node #0,3: 58:[67, 19, 70] Operation: 88-18=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[19, 18, 21], Operations: ['88-67=21'] Exploring Operation: 19+18=37, Resulting Numbers: [21, 37] Generated Node #0,0,0: 58:[21, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [21, 1] Generated Node #0,0,1: 58:[21, 1] Operation: 19-18=1 Exploring Operation: 21-19=2, Resulting Numbers: [18, 2] Generated Node #0,0,2: 58:[18, 2] Operation: 21-19=2 Exploring Operation: 21-18=3, Resulting Numbers: [19, 3] Generated Node #0,0,3: 58:[19, 3] Operation: 21-18=3 Moving to Node #0,0,1 Current State: 58:[21, 1], Operations: ['88-67=21', '19-18=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[19, 3], Operations: ['88-67=21', '21-18=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[18, 2], Operations: ['88-67=21', '21-19=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[21, 37], Operations: ['88-67=21', '19+18=37'] Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,58 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[67, 88, 19, 18], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [19, 18, 21] Generated Node #0,0: 58:[19, 18, 21] Operation: 88-67=21 Moving to Node #0,0 Current State: 58:[19, 18, 21], Operations: ['88-67=21'] Exploring Operation: 19+18=37, Resulting Numbers: [21, 37] Generated Node #0,0,0: 58:[21, 37] Operation: 19+18=37 Moving to Node #0,0,0 Current State: 58:[21, 37], Operations: ['88-67=21', '19+18=37'] Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 89, 63, 46, 40 ]
91
[ "63-40=23", "46/23=2", "89+2=91" ]
Current State: 91:[89, 63, 46, 40], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [89, 46, 23] Generated Node #2: [89, 46, 23] from Operation: 63-40=23 Current State: 91:[89, 46, 23], Operations: ['63-40=23'] Exploring Operation: 46/23=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 46/23=2 Current State: 91:[89, 2], Operations: ['63-40=23', '46/23=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[89, 63, 46, 40], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [89, 63, 6] Generated Node #0,0: 91:[89, 63, 6] Operation: 46-40=6 Exploring Operation: 46+40=86, Resulting Numbers: [89, 63, 86] Generated Node #0,1: 91:[89, 63, 86] Operation: 46+40=86 Exploring Operation: 63-46=17, Resulting Numbers: [89, 40, 17] Generated Node #0,2: 91:[89, 40, 17] Operation: 63-46=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[89, 63, 6], Operations: ['46-40=6'] Exploring Operation: 63+6=69, Resulting Numbers: [89, 69] Generated Node #0,0,0: 91:[89, 69] Operation: 63+6=69 Exploring Operation: 89-63=26, Resulting Numbers: [6, 26] Generated Node #0,0,1: 91:[6, 26] Operation: 89-63=26 Exploring Operation: 89+6=95, Resulting Numbers: [63, 95] Generated Node #0,0,2: 91:[63, 95] Operation: 89+6=95 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[6, 26], Operations: ['46-40=6', '89-63=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,91 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[89, 69], Operations: ['46-40=6', '63+6=69'] Exploring Operation: 89*69=6141, Resulting Numbers: [6141] 6141,91 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 89+69=158, Resulting Numbers: [158] 158,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[63, 95], Operations: ['46-40=6', '89+6=95'] Exploring Operation: 63*95=5985, Resulting Numbers: [5985] 5985,91 unequal: No Solution Exploring Operation: 63+95=158, Resulting Numbers: [158] 158,91 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,91 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: 91:[89, 40, 17], Operations: ['63-46=17'] Exploring Operation: 89-40=49, Resulting Numbers: [17, 49] Generated Node #0,2,0: 91:[17, 49] Operation: 89-40=49 Exploring Operation: 40+17=57, Resulting Numbers: [89, 57] Generated Node #0,2,1: 91:[89, 57] Operation: 40+17=57 Exploring Operation: 40-17=23, Resulting Numbers: [89, 23] Generated Node #0,2,2: 91:[89, 23] Operation: 40-17=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[89, 23], Operations: ['63-46=17', '40-17=23'] Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,91 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[89, 57], Operations: ['63-46=17', '40+17=57'] Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,91 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[17, 49], Operations: ['63-46=17', '89-40=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,91 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: 91:[89, 63, 86], Operations: ['46+40=86'] Exploring Operation: 89-63=26, Resulting Numbers: [86, 26] Generated Node #0,1,0: 91:[86, 26] Operation: 89-63=26 Exploring Operation: 89-86=3, Resulting Numbers: [63, 3] Generated Node #0,1,1: 91:[63, 3] Operation: 89-86=3 Exploring Operation: 86-63=23, Resulting Numbers: [89, 23] Generated Node #0,1,2: 91:[89, 23] Operation: 86-63=23 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[89, 23], Operations: ['46+40=86', '86-63=23'] Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,91 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[86, 26], Operations: ['46+40=86', '89-63=26'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[63, 3], Operations: ['46+40=86', '89-86=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 72, 35, 83, 89 ]
47
[ "89-83=6", "72/6=12", "35+12=47" ]
Current State: 47:[72, 35, 83, 89], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [72, 35, 6] Generated Node #2: [72, 35, 6] from Operation: 89-83=6 Current State: 47:[72, 35, 6], Operations: ['89-83=6'] Exploring Operation: 72/6=12, Resulting Numbers: [35, 12] Generated Node #3: [35, 12] from Operation: 72/6=12 Current State: 47:[35, 12], Operations: ['89-83=6', '72/6=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[72, 35, 83, 89], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [72, 89, 48] Generated Node #0,0: 47:[72, 89, 48] Operation: 83-35=48 Exploring Operation: 89-35=54, Resulting Numbers: [72, 83, 54] Generated Node #0,1: 47:[72, 83, 54] Operation: 89-35=54 Moving to Node #0,0 Current State: 47:[72, 89, 48], Operations: ['83-35=48'] Exploring Operation: 89-72=17, Resulting Numbers: [48, 17] Generated Node #0,0,0: 47:[48, 17] Operation: 89-72=17 Exploring Operation: 89-48=41, Resulting Numbers: [72, 41] Generated Node #0,0,1: 47:[72, 41] Operation: 89-48=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[48, 17], Operations: ['83-35=48', '89-72=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[72, 41], Operations: ['83-35=48', '89-48=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,47 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: 47:[72, 83, 54], Operations: ['89-35=54'] Exploring Operation: 83-54=29, Resulting Numbers: [72, 29] Generated Node #0,1,0: 47:[72, 29] Operation: 83-54=29 Exploring Operation: 83-72=11, Resulting Numbers: [54, 11] Generated Node #0,1,1: 47:[54, 11] Operation: 83-72=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[72, 29], Operations: ['89-35=54', '83-54=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[54, 11], Operations: ['89-35=54', '83-72=11'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,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
[ 24, 86, 19, 47 ]
45
[ "24+19=43", "86/43=2", "47-2=45" ]
Current State: 45:[24, 86, 19, 47], Operations: [] Exploring Operation: 24+19=43, Resulting Numbers: [86, 47, 43] Generated Node #2: [86, 47, 43] from Operation: 24+19=43 Current State: 45:[86, 47, 43], Operations: ['24+19=43'] Exploring Operation: 86/43=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 86/43=2 Current State: 45:[47, 2], Operations: ['24+19=43', '86/43=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[24, 86, 19, 47], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [86, 47, 5] Generated Node #0,0: 45:[86, 47, 5] Operation: 24-19=5 Exploring Operation: 86-47=39, Resulting Numbers: [24, 19, 39] Generated Node #0,1: 45:[24, 19, 39] Operation: 86-47=39 Exploring Operation: 86-19=67, Resulting Numbers: [24, 47, 67] Generated Node #0,2: 45:[24, 47, 67] Operation: 86-19=67 Exploring Operation: 86-24=62, Resulting Numbers: [19, 47, 62] Generated Node #0,3: 45:[19, 47, 62] Operation: 86-24=62 Moving to Node #0,1 Current State: 45:[24, 19, 39], Operations: ['86-47=39'] Exploring Operation: 39-19=20, Resulting Numbers: [24, 20] Generated Node #0,1,0: 45:[24, 20] Operation: 39-19=20 Exploring Operation: 39-24=15, Resulting Numbers: [19, 15] Generated Node #0,1,1: 45:[19, 15] Operation: 39-24=15 Exploring Operation: 24+19=43, Resulting Numbers: [39, 43] Generated Node #0,1,2: 45:[39, 43] Operation: 24+19=43 Exploring Operation: 24-19=5, Resulting Numbers: [39, 5] Generated Node #0,1,3: 45:[39, 5] Operation: 24-19=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[19, 15], Operations: ['86-47=39', '39-24=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[39, 5], Operations: ['86-47=39', '24-19=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,45 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[39, 43], Operations: ['86-47=39', '24+19=43'] Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,45 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[24, 20], Operations: ['86-47=39', '39-19=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,45 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,45 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: 45:[19, 47, 62], Operations: ['86-24=62'] Exploring Operation: 62-19=43, Resulting Numbers: [47, 43] Generated Node #0,3,0: 45:[47, 43] Operation: 62-19=43 Exploring Operation: 62-47=15, Resulting Numbers: [19, 15] Generated Node #0,3,1: 45:[19, 15] Operation: 62-47=15 Exploring Operation: 47-19=28, Resulting Numbers: [62, 28] Generated Node #0,3,2: 45:[62, 28] Operation: 47-19=28 Exploring Operation: 19+47=66, Resulting Numbers: [62, 66] Generated Node #0,3,3: 45:[62, 66] Operation: 19+47=66 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 45:[47, 43], Operations: ['86-24=62', '62-19=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,45 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 45:[19, 15], Operations: ['86-24=62', '62-47=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,45 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 45:[62, 28], Operations: ['86-24=62', '47-19=28'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[62, 66], Operations: ['86-24=62', '19+47=66'] Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,45 unequal: No Solution Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,45 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: 45:[24, 47, 67], Operations: ['86-19=67'] Exploring Operation: 24+47=71, Resulting Numbers: [67, 71] Generated Node #0,2,0: 45:[67, 71] Operation: 24+47=71 Exploring Operation: 67-24=43, Resulting Numbers: [47, 43] Generated Node #0,2,1: 45:[47, 43] Operation: 67-24=43 Exploring Operation: 47-24=23, Resulting Numbers: [67, 23] Generated Node #0,2,2: 45:[67, 23] Operation: 47-24=23 Exploring Operation: 67-47=20, Resulting Numbers: [24, 20] Generated Node #0,2,3: 45:[24, 20] Operation: 67-47=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[47, 43], Operations: ['86-19=67', '67-24=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,45 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[24, 20], Operations: ['86-19=67', '67-47=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,45 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[67, 23], Operations: ['86-19=67', '47-24=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[67, 71], Operations: ['86-19=67', '24+47=71'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 67*71=4757, Resulting Numbers: [4757] 4757,45 unequal: No Solution Exploring Operation: 67+71=138, Resulting Numbers: [138] 138,45 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: 45:[86, 47, 5], Operations: ['24-19=5'] Exploring Operation: 86-5=81, Resulting Numbers: [47, 81] Generated Node #0,0,0: 45:[47, 81] Operation: 86-5=81 Exploring Operation: 86+5=91, Resulting Numbers: [47, 91] Generated Node #0,0,1: 45:[47, 91] Operation: 86+5=91 Exploring Operation: 86-47=39, Resulting Numbers: [5, 39] Generated Node #0,0,2: 45:[5, 39] Operation: 86-47=39 Exploring Operation: 47-5=42, Resulting Numbers: [86, 42] Generated Node #0,0,3: 45:[86, 42] Operation: 47-5=42 Moving to Node #0,0,2 Current State: 45:[5, 39], Operations: ['24-19=5', '86-47=39'] Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,45 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[47, 81], Operations: ['24-19=5', '86-5=81'] Exploring Operation: 47*81=3807, Resulting Numbers: [3807] 3807,45 unequal: No Solution Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,45 unequal: No Solution Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[86, 42], Operations: ['24-19=5', '47-5=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,45 unequal: No Solution Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[47, 91], Operations: ['24-19=5', '86+5=91'] Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 47*91=4277, Resulting Numbers: [4277] 4277,45 unequal: No Solution Exploring Operation: 47+91=138, Resulting Numbers: [138] 138,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 53, 26, 78, 14 ]
24
[ "53-14=39", "78/39=2", "26-2=24" ]
Current State: 24:[53, 26, 78, 14], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [26, 78, 39] Generated Node #2: [26, 78, 39] from Operation: 53-14=39 Current State: 24:[26, 78, 39], Operations: ['53-14=39'] Exploring Operation: 78/39=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 78/39=2 Current State: 24:[26, 2], Operations: ['53-14=39', '78/39=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[53, 26, 78, 14], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [26, 14, 25] Generated Node #0,0: 24:[26, 14, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 24:[26, 14, 25], Operations: ['78-53=25'] Exploring Operation: 26-14=12, Resulting Numbers: [25, 12] Generated Node #0,0,0: 24:[25, 12] Operation: 26-14=12 Moving to Node #0,0,0 Current State: 24:[25, 12], Operations: ['78-53=25', '26-14=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,24 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 85, 66, 66 ]
90
[ "6+85=91", "66/66=1", "91-1=90" ]
Current State: 90:[6, 85, 66, 66], Operations: [] Exploring Operation: 6+85=91, Resulting Numbers: [66, 66, 91] Generated Node #2: [66, 66, 91] from Operation: 6+85=91 Current State: 90:[66, 66, 91], Operations: ['6+85=91'] Exploring Operation: 66/66=1, Resulting Numbers: [91, 1] Generated Node #3: [91, 1] from Operation: 66/66=1 Current State: 90:[91, 1], Operations: ['6+85=91', '66/66=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[6, 85, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [6, 85, 1] Generated Node #0,0: 90:[6, 85, 1] Operation: 66/66=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[6, 85, 1], Operations: ['66/66=1'] Exploring Operation: 6+85=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 90:[1, 91] Operation: 6+85=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[1, 91], Operations: ['66/66=1', '6+85=91'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[6, 85, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [6, 85, 1] Generated Node #0,0: 90:[6, 85, 1] Operation: 66/66=1 Moving to Node #0,0 Current State: 90:[6, 85, 1], Operations: ['66/66=1'] Exploring Operation: 6+85=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 90:[1, 91] Operation: 6+85=91 Moving to Node #0,0,0 Current State: 90:[1, 91], Operations: ['66/66=1', '6+85=91'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 64, 65, 35 ]
34
[ "2+64=66", "65+35=100", "100-66=34" ]
Current State: 34:[2, 64, 65, 35], Operations: [] Exploring Operation: 2+64=66, Resulting Numbers: [65, 35, 66] Generated Node #2: [65, 35, 66] from Operation: 2+64=66 Current State: 34:[65, 35, 66], Operations: ['2+64=66'] Exploring Operation: 65+35=100, Resulting Numbers: [66, 100] Generated Node #3: [66, 100] from Operation: 65+35=100 Current State: 34:[66, 100], Operations: ['2+64=66', '65+35=100'] Exploring Operation: 100-66=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 64, 65, 35], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [2, 35, 1] Generated Node #0,0: 34:[2, 35, 1] Operation: 65-64=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[2, 35, 1], Operations: ['65-64=1'] Exploring Operation: 35-1=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 34:[2, 34] Operation: 35-1=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[2, 34], Operations: ['65-64=1', '35-1=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 89, 32, 7, 9 ]
41
[ "89-32=57", "7+9=16", "57-16=41" ]
Current State: 41:[89, 32, 7, 9], Operations: [] Exploring Operation: 89-32=57, Resulting Numbers: [7, 9, 57] Generated Node #2: [7, 9, 57] from Operation: 89-32=57 Current State: 41:[7, 9, 57], Operations: ['89-32=57'] Exploring Operation: 7+9=16, Resulting Numbers: [57, 16] Generated Node #3: [57, 16] from Operation: 7+9=16 Current State: 41:[57, 16], Operations: ['89-32=57', '7+9=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[89, 32, 7, 9], Operations: [] Exploring Operation: 89-32=57, Resulting Numbers: [7, 9, 57] Generated Node #0,0: 41:[7, 9, 57] Operation: 89-32=57 Exploring Operation: 89-7=82, Resulting Numbers: [32, 9, 82] Generated Node #0,1: 41:[32, 9, 82] Operation: 89-7=82 Exploring Operation: 7*9=63, Resulting Numbers: [89, 32, 63] Generated Node #0,2: 41:[89, 32, 63] Operation: 7*9=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[89, 32, 63], Operations: ['7*9=63'] Exploring Operation: 63-32=31, Resulting Numbers: [89, 31] Generated Node #0,2,0: 41:[89, 31] Operation: 63-32=31 Exploring Operation: 89-32=57, Resulting Numbers: [63, 57] Generated Node #0,2,1: 41:[63, 57] Operation: 89-32=57 Exploring Operation: 89-63=26, Resulting Numbers: [32, 26] Generated Node #0,2,2: 41:[32, 26] Operation: 89-63=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[32, 26], Operations: ['7*9=63', '89-63=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[63, 57], Operations: ['7*9=63', '89-32=57'] Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,41 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[89, 31], Operations: ['7*9=63', '63-32=31'] Exploring Operation: 89*31=2759, Resulting Numbers: [2759] 2759,41 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 89+31=120, Resulting Numbers: [120] 120,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[7, 9, 57], Operations: ['89-32=57'] Exploring Operation: 7*9=63, Resulting Numbers: [57, 63] Generated Node #0,0,0: 41:[57, 63] Operation: 7*9=63 Exploring Operation: 57-7=50, Resulting Numbers: [9, 50] Generated Node #0,0,1: 41:[9, 50] Operation: 57-7=50 Exploring Operation: 7+9=16, Resulting Numbers: [57, 16] Generated Node #0,0,2: 41:[57, 16] Operation: 7+9=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[57, 63], Operations: ['89-32=57', '7*9=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,41 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[9, 50], Operations: ['89-32=57', '57-7=50'] Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,41 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[89, 32, 7, 9], Operations: [] Exploring Operation: 89-32=57, Resulting Numbers: [7, 9, 57] Generated Node #0,0: 41:[7, 9, 57] Operation: 89-32=57 Moving to Node #0,0 Current State: 41:[7, 9, 57], Operations: ['89-32=57'] Exploring Operation: 57-7=50, Resulting Numbers: [9, 50] Generated Node #0,0,1: 41:[9, 50] Operation: 57-7=50 Moving to Node #0,0,1 Current State: 41:[9, 50], Operations: ['89-32=57', '57-7=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 90, 17, 80, 44 ]
24
[ "44-17=27", "80*27=2160", "2160/90=24" ]
Current State: 24:[90, 17, 80, 44], Operations: [] Exploring Operation: 44-17=27, Resulting Numbers: [90, 80, 27] Generated Node #2: [90, 80, 27] from Operation: 44-17=27 Current State: 24:[90, 80, 27], Operations: ['44-17=27'] Exploring Operation: 80*27=2160, Resulting Numbers: [90, 2160] Generated Node #3: [90, 2160] from Operation: 80*27=2160 Current State: 24:[90, 2160], Operations: ['44-17=27', '80*27=2160'] Exploring Operation: 2160/90=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[90, 17, 80, 44], Operations: [] Exploring Operation: 90-17=73, Resulting Numbers: [80, 44, 73] Generated Node #0,0: 24:[80, 44, 73] Operation: 90-17=73 Exploring Operation: 90-80=10, Resulting Numbers: [17, 44, 10] Generated Node #0,1: 24:[17, 44, 10] Operation: 90-80=10 Exploring Operation: 90-44=46, Resulting Numbers: [17, 80, 46] Generated Node #0,2: 24:[17, 80, 46] Operation: 90-44=46 Exploring Operation: 80-44=36, Resulting Numbers: [90, 17, 36] Generated Node #0,3: 24:[90, 17, 36] Operation: 80-44=36 Moving to Node #0,1 Current State: 24:[17, 44, 10], Operations: ['90-80=10'] Exploring Operation: 44-17=27, Resulting Numbers: [10, 27] Generated Node #0,1,0: 24:[10, 27] Operation: 44-17=27 Exploring Operation: 44-10=34, Resulting Numbers: [17, 34] Generated Node #0,1,1: 24:[17, 34] Operation: 44-10=34 Exploring Operation: 17-10=7, Resulting Numbers: [44, 7] Generated Node #0,1,2: 24:[44, 7] Operation: 17-10=7 Exploring Operation: 17+10=27, Resulting Numbers: [44, 27] Generated Node #0,1,3: 24:[44, 27] Operation: 17+10=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[10, 27], Operations: ['90-80=10', '44-17=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[17, 34], Operations: ['90-80=10', '44-10=34'] Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,24 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[44, 7], Operations: ['90-80=10', '17-10=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[44, 27], Operations: ['90-80=10', '17+10=27'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,24 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,24 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: 24:[90, 17, 36], Operations: ['80-44=36'] Exploring Operation: 90+17=107, Resulting Numbers: [36, 107] Generated Node #0,3,0: 24:[36, 107] Operation: 90+17=107 Exploring Operation: 90-17=73, Resulting Numbers: [36, 73] Generated Node #0,3,1: 24:[36, 73] Operation: 90-17=73 Exploring Operation: 36-17=19, Resulting Numbers: [90, 19] Generated Node #0,3,2: 24:[90, 19] Operation: 36-17=19 Exploring Operation: 90-36=54, Resulting Numbers: [17, 54] Generated Node #0,3,3: 24:[17, 54] Operation: 90-36=54 Moving to Node #0,2 Current State: 24:[17, 80, 46], Operations: ['90-44=46'] Exploring Operation: 80-17=63, Resulting Numbers: [46, 63] Generated Node #0,2,0: 24:[46, 63] Operation: 80-17=63 Exploring Operation: 17+80=97, Resulting Numbers: [46, 97] Generated Node #0,2,1: 24:[46, 97] Operation: 17+80=97 Exploring Operation: 46-17=29, Resulting Numbers: [80, 29] Generated Node #0,2,2: 24:[80, 29] Operation: 46-17=29 Exploring Operation: 80-46=34, Resulting Numbers: [17, 34] Generated Node #0,2,3: 24:[17, 34] Operation: 80-46=34 Moving to Node #0,0 Current State: 24:[80, 44, 73], Operations: ['90-17=73'] Exploring Operation: 80-73=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 24:[44, 7] Operation: 80-73=7 Exploring Operation: 73-44=29, Resulting Numbers: [80, 29] Generated Node #0,0,1: 24:[80, 29] Operation: 73-44=29 Exploring Operation: 80-44=36, Resulting Numbers: [73, 36] Generated Node #0,0,2: 24:[73, 36] Operation: 80-44=36 Exploring Operation: 80+44=124, Resulting Numbers: [73, 124] Generated Node #0,0,3: 24:[73, 124] Operation: 80+44=124 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[44, 7], Operations: ['90-17=73', '80-73=7'] Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,24 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[80, 29], Operations: ['90-17=73', '73-44=29'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,24 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[73, 36], Operations: ['90-17=73', '80-44=36'] Exploring Operation: 73*36=2628, Resulting Numbers: [2628] 2628,24 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 73+36=109, Resulting Numbers: [109] 109,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[73, 124], Operations: ['90-17=73', '80+44=124'] Exploring Operation: 73+124=197, Resulting Numbers: [197] 197,24 unequal: No Solution Exploring Operation: 73*124=9052, Resulting Numbers: [9052] 9052,24 unequal: No Solution Exploring Operation: 124-73=51, Resulting Numbers: [51] 51,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 24:[17, 34], Operations: ['90-44=46', '80-46=34'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,24 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[17, 54], Operations: ['80-44=36', '90-36=54'] Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[46, 63], Operations: ['90-44=46', '80-17=63'] Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,24 unequal: No Solution Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[80, 29], Operations: ['90-44=46', '46-17=29'] Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,24 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,24 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[36, 73], Operations: ['80-44=36', '90-17=73'] Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,24 unequal: No Solution Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,24 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[90, 19], Operations: ['80-44=36', '36-17=19'] Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,24 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,24 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[36, 107], Operations: ['80-44=36', '90+17=107'] Exploring Operation: 36+107=143, Resulting Numbers: [143] 143,24 unequal: No Solution Exploring Operation: 36*107=3852, Resulting Numbers: [3852] 3852,24 unequal: No Solution Exploring Operation: 107-36=71, Resulting Numbers: [71] 71,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[46, 97], Operations: ['90-44=46', '17+80=97'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 46*97=4462, Resulting Numbers: [4462] 4462,24 unequal: No Solution Exploring Operation: 46+97=143, Resulting Numbers: [143] 143,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 41, 14, 83, 79 ]
31
[ "41-14=27", "83-79=4", "27+4=31" ]
Current State: 31:[41, 14, 83, 79], Operations: [] Exploring Operation: 41-14=27, Resulting Numbers: [83, 79, 27] Generated Node #2: [83, 79, 27] from Operation: 41-14=27 Current State: 31:[83, 79, 27], Operations: ['41-14=27'] Exploring Operation: 83-79=4, Resulting Numbers: [27, 4] Generated Node #3: [27, 4] from Operation: 83-79=4 Current State: 31:[27, 4], Operations: ['41-14=27', '83-79=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[41, 14, 83, 79], Operations: [] Exploring Operation: 83-41=42, Resulting Numbers: [14, 79, 42] Generated Node #0,0: 31:[14, 79, 42] Operation: 83-41=42 Exploring Operation: 79-41=38, Resulting Numbers: [14, 83, 38] Generated Node #0,1: 31:[14, 83, 38] Operation: 79-41=38 Exploring Operation: 83-79=4, Resulting Numbers: [41, 14, 4] Generated Node #0,2: 31:[41, 14, 4] Operation: 83-79=4 Moving to Node #0,2 Current State: 31:[41, 14, 4], Operations: ['83-79=4'] Exploring Operation: 14+4=18, Resulting Numbers: [41, 18] Generated Node #0,2,0: 31:[41, 18] Operation: 14+4=18 Exploring Operation: 41-14=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 31:[4, 27] Operation: 41-14=27 Exploring Operation: 41-4=37, Resulting Numbers: [14, 37] Generated Node #0,2,2: 31:[14, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[41, 18], Operations: ['83-79=4', '14+4=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,31 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,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,2,2 Current State: 31:[14, 37], Operations: ['83-79=4', '41-4=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,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,2,1 Current State: 31:[4, 27], Operations: ['83-79=4', '41-14=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[41, 14, 83, 79], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [41, 14, 4] Generated Node #0,2: 31:[41, 14, 4] Operation: 83-79=4 Moving to Node #0,2 Current State: 31:[41, 14, 4], Operations: ['83-79=4'] Exploring Operation: 41-14=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 31:[4, 27] Operation: 41-14=27 Moving to Node #0,2,1 Current State: 31:[4, 27], Operations: ['83-79=4', '41-14=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 51, 99, 35, 24 ]
70
[ "99-51=48", "35*48=1680", "1680/24=70" ]
Current State: 70:[51, 99, 35, 24], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [35, 24, 48] Generated Node #2: [35, 24, 48] from Operation: 99-51=48 Current State: 70:[35, 24, 48], Operations: ['99-51=48'] Exploring Operation: 35*48=1680, Resulting Numbers: [24, 1680] Generated Node #3: [24, 1680] from Operation: 35*48=1680 Current State: 70:[24, 1680], Operations: ['99-51=48', '35*48=1680'] Exploring Operation: 1680/24=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[51, 99, 35, 24], Operations: [] Exploring Operation: 99-35=64, Resulting Numbers: [51, 24, 64] Generated Node #0,0: 70:[51, 24, 64] Operation: 99-35=64 Exploring Operation: 99-51=48, Resulting Numbers: [35, 24, 48] Generated Node #0,1: 70:[35, 24, 48] Operation: 99-51=48 Exploring Operation: 51+24=75, Resulting Numbers: [99, 35, 75] Generated Node #0,2: 70:[99, 35, 75] Operation: 51+24=75 Exploring Operation: 99-24=75, Resulting Numbers: [51, 35, 75] Generated Node #0,3: 70:[51, 35, 75] Operation: 99-24=75 Moving to Node #0,3 Current State: 70:[51, 35, 75], Operations: ['99-24=75'] Exploring Operation: 51-35=16, Resulting Numbers: [75, 16] Generated Node #0,3,0: 70:[75, 16] Operation: 51-35=16 Exploring Operation: 51+35=86, Resulting Numbers: [75, 86] Generated Node #0,3,1: 70:[75, 86] Operation: 51+35=86 Exploring Operation: 75-35=40, Resulting Numbers: [51, 40] Generated Node #0,3,2: 70:[51, 40] Operation: 75-35=40 Exploring Operation: 75-51=24, Resulting Numbers: [35, 24] Generated Node #0,3,3: 70:[35, 24] Operation: 75-51=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[75, 16], Operations: ['99-24=75', '51-35=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,70 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[35, 24], Operations: ['99-24=75', '75-51=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,70 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[75, 86], Operations: ['99-24=75', '51+35=86'] Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 75*86=6450, Resulting Numbers: [6450] 6450,70 unequal: No Solution Exploring Operation: 75+86=161, Resulting Numbers: [161] 161,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[51, 40], Operations: ['99-24=75', '75-35=40'] Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,70 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,70 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: 70:[35, 24, 48], Operations: ['99-51=48'] Exploring Operation: 48-24=24, Resulting Numbers: [35, 24] Generated Node #0,1,0: 70:[35, 24] Operation: 48-24=24 Exploring Operation: 48-35=13, Resulting Numbers: [24, 13] Generated Node #0,1,1: 70:[24, 13] Operation: 48-35=13 Exploring Operation: 24+48=72, Resulting Numbers: [35, 72] Generated Node #0,1,2: 70:[35, 72] Operation: 24+48=72 Exploring Operation: 48/24=2, Resulting Numbers: [35, 2] Generated Node #0,1,3: 70:[35, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 70:[51, 24, 64], Operations: ['99-35=64'] Exploring Operation: 64-51=13, Resulting Numbers: [24, 13] Generated Node #0,0,0: 70:[24, 13] Operation: 64-51=13 Exploring Operation: 51+24=75, Resulting Numbers: [64, 75] Generated Node #0,0,1: 70:[64, 75] Operation: 51+24=75 Exploring Operation: 51-24=27, Resulting Numbers: [64, 27] Generated Node #0,0,2: 70:[64, 27] Operation: 51-24=27 Exploring Operation: 64-24=40, Resulting Numbers: [51, 40] Generated Node #0,0,3: 70:[51, 40] Operation: 64-24=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[24, 13], Operations: ['99-35=64', '64-51=13'] Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,70 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[64, 75], Operations: ['99-35=64', '51+24=75'] Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,70 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[64, 27], Operations: ['99-35=64', '51-24=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,70 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[51, 40], Operations: ['99-35=64', '64-24=40'] Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,70 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 70:[99, 35, 75], Operations: ['51+24=75'] Exploring Operation: 75-35=40, Resulting Numbers: [99, 40] Generated Node #0,2,0: 70:[99, 40] Operation: 75-35=40 Exploring Operation: 99-75=24, Resulting Numbers: [35, 24] Generated Node #0,2,1: 70:[35, 24] Operation: 99-75=24 Exploring Operation: 99+35=134, Resulting Numbers: [75, 134] Generated Node #0,2,2: 70:[75, 134] Operation: 99+35=134 Exploring Operation: 99-35=64, Resulting Numbers: [75, 64] Generated Node #0,2,3: 70:[75, 64] Operation: 99-35=64 Moving to Node #0,1,3 Current State: 70:[35, 2], Operations: ['99-51=48', '48/24=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[51, 99, 35, 24], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [35, 24, 48] Generated Node #0,1: 70:[35, 24, 48] Operation: 99-51=48 Moving to Node #0,1 Current State: 70:[35, 24, 48], Operations: ['99-51=48'] Exploring Operation: 48/24=2, Resulting Numbers: [35, 2] Generated Node #0,1,3: 70:[35, 2] Operation: 48/24=2 Moving to Node #0,1,3 Current State: 70:[35, 2], Operations: ['99-51=48', '48/24=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 29, 8, 53, 18 ]
21
[ "53-29=24", "24/8=3", "18+3=21" ]
Current State: 21:[29, 8, 53, 18], Operations: [] Exploring Operation: 53-29=24, Resulting Numbers: [8, 18, 24] Generated Node #2: [8, 18, 24] from Operation: 53-29=24 Current State: 21:[8, 18, 24], Operations: ['53-29=24'] Exploring Operation: 24/8=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 24/8=3 Current State: 21:[18, 3], Operations: ['53-29=24', '24/8=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[29, 8, 53, 18], Operations: [] Exploring Operation: 53-29=24, Resulting Numbers: [8, 18, 24] Generated Node #0,0: 21:[8, 18, 24] Operation: 53-29=24 Exploring Operation: 53-18=35, Resulting Numbers: [29, 8, 35] Generated Node #0,1: 21:[29, 8, 35] Operation: 53-18=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[8, 18, 24], Operations: ['53-29=24'] Exploring Operation: 24-18=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 21:[8, 6] Operation: 24-18=6 Exploring Operation: 24/8=3, Resulting Numbers: [18, 3] Generated Node #0,0,1: 21:[18, 3] Operation: 24/8=3 Moving to Node #0,0,0 Current State: 21:[8, 6], Operations: ['53-29=24', '24-18=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[18, 3], Operations: ['53-29=24', '24/8=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:[29, 8, 53, 18], Operations: [] Exploring Operation: 53-29=24, Resulting Numbers: [8, 18, 24] Generated Node #0,0: 21:[8, 18, 24] Operation: 53-29=24 Moving to Node #0,0 Current State: 21:[8, 18, 24], Operations: ['53-29=24'] Exploring Operation: 24/8=3, Resulting Numbers: [18, 3] Generated Node #0,0,1: 21:[18, 3] Operation: 24/8=3 Moving to Node #0,0,1 Current State: 21:[18, 3], Operations: ['53-29=24', '24/8=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 83, 51, 72, 11 ]
70
[ "83-72=11", "11*11=121", "121-51=70" ]
Current State: 70:[83, 51, 72, 11], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [51, 11, 11] Generated Node #2: [51, 11, 11] from Operation: 83-72=11 Current State: 70:[51, 11, 11], Operations: ['83-72=11'] Exploring Operation: 11*11=121, Resulting Numbers: [51, 121] Generated Node #3: [51, 121] from Operation: 11*11=121 Current State: 70:[51, 121], Operations: ['83-72=11', '11*11=121'] Exploring Operation: 121-51=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[83, 51, 72, 11], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [51, 11, 11] Generated Node #0,0: 70:[51, 11, 11] Operation: 83-72=11 Exploring Operation: 83-51=32, Resulting Numbers: [72, 11, 32] Generated Node #0,1: 70:[72, 11, 32] Operation: 83-51=32 Exploring Operation: 83-11=72, Resulting Numbers: [51, 72, 72] Generated Node #0,2: 70:[51, 72, 72] Operation: 83-11=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[72, 11, 32], Operations: ['83-51=32'] Exploring Operation: 72-32=40, Resulting Numbers: [11, 40] Generated Node #0,1,0: 70:[11, 40] Operation: 72-32=40 Exploring Operation: 11+32=43, Resulting Numbers: [72, 43] Generated Node #0,1,1: 70:[72, 43] Operation: 11+32=43 Exploring Operation: 32-11=21, Resulting Numbers: [72, 21] Generated Node #0,1,2: 70:[72, 21] Operation: 32-11=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[11, 40], Operations: ['83-51=32', '72-32=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,70 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,70 unequal: No Solution No 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: 70:[72, 21], Operations: ['83-51=32', '32-11=21'] Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,70 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,70 unequal: No Solution No 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: 70:[72, 43], Operations: ['83-51=32', '11+32=43'] Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 72*43=3096, Resulting Numbers: [3096] 3096,70 unequal: No Solution Exploring Operation: 72+43=115, Resulting Numbers: [115] 115,70 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: 70:[51, 11, 11], Operations: ['83-72=11'] Exploring Operation: 51-11=40, Resulting Numbers: [11, 40] Generated Node #0,0,0: 70:[11, 40] Operation: 51-11=40 Exploring Operation: 51+11=62, Resulting Numbers: [11, 62] Generated Node #0,0,1: 70:[11, 62] Operation: 51+11=62 Exploring Operation: 51-11=40, Resulting Numbers: [11, 40] Generated Node #0,0,2: 70:[11, 40] Operation: 51-11=40 Moving to Node #0,0,0 Current State: 70:[11, 40], Operations: ['83-72=11', '51-11=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[11, 40], Operations: ['83-72=11', '51-11=40'] Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,70 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[11, 62], Operations: ['83-72=11', '51+11=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,70 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[51, 72, 72], Operations: ['83-11=72'] Exploring Operation: 72/72=1, Resulting Numbers: [51, 1] Generated Node #0,2,0: 70:[51, 1] Operation: 72/72=1 Exploring Operation: 72-51=21, Resulting Numbers: [72, 21] Generated Node #0,2,1: 70:[72, 21] Operation: 72-51=21 Exploring Operation: 72-51=21, Resulting Numbers: [72, 21] Generated Node #0,2,2: 70:[72, 21] Operation: 72-51=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[72, 21], Operations: ['83-11=72', '72-51=21'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,70 unequal: No Solution Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,70 unequal: No Solution No 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: 70:[72, 21], Operations: ['83-11=72', '72-51=21'] Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,70 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,70 unequal: No Solution No 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: 70:[51, 1], Operations: ['83-11=72', '72/72=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,70 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
[ 7, 51, 21, 58 ]
10
[ "21/7=3", "58-51=7", "3+7=10" ]
Current State: 10:[7, 51, 21, 58], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [51, 58, 3] Generated Node #2: [51, 58, 3] from Operation: 21/7=3 Current State: 10:[51, 58, 3], Operations: ['21/7=3'] Exploring Operation: 58-51=7, Resulting Numbers: [3, 7] Generated Node #3: [3, 7] from Operation: 58-51=7 Current State: 10:[3, 7], Operations: ['21/7=3', '58-51=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[7, 51, 21, 58], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [7, 21, 7] Generated Node #0,0: 10:[7, 21, 7] Operation: 58-51=7 Moving to Node #0,0 Current State: 10:[7, 21, 7], Operations: ['58-51=7'] Exploring Operation: 21/7=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 10:[7, 3] Operation: 21/7=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[7, 3], Operations: ['58-51=7', '21/7=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[7, 51, 21, 58], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [7, 21, 7] Generated Node #0,0: 10:[7, 21, 7] Operation: 58-51=7 Moving to Node #0,0 Current State: 10:[7, 21, 7], Operations: ['58-51=7'] Exploring Operation: 21/7=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 10:[7, 3] Operation: 21/7=3 Moving to Node #0,0,0 Current State: 10:[7, 3], Operations: ['58-51=7', '21/7=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 13, 79, 1, 91 ]
85
[ "91/13=7", "79-1=78", "7+78=85" ]
Current State: 85:[13, 79, 1, 91], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [79, 1, 7] Generated Node #2: [79, 1, 7] from Operation: 91/13=7 Current State: 85:[79, 1, 7], Operations: ['91/13=7'] Exploring Operation: 79-1=78, Resulting Numbers: [7, 78] Generated Node #3: [7, 78] from Operation: 79-1=78 Current State: 85:[7, 78], Operations: ['91/13=7', '79-1=78'] Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[13, 79, 1, 91], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [79, 1, 7] Generated Node #0,0: 85:[79, 1, 7] Operation: 91/13=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[79, 1, 7], Operations: ['91/13=7'] Exploring Operation: 79+7=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 85:[1, 86] Operation: 79+7=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[1, 86], Operations: ['91/13=7', '79+7=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[13, 79, 1, 91], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [79, 1, 7] Generated Node #0,0: 85:[79, 1, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 85:[79, 1, 7], Operations: ['91/13=7'] Exploring Operation: 79+7=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 85:[1, 86] Operation: 79+7=86 Moving to Node #0,0,0 Current State: 85:[1, 86], Operations: ['91/13=7', '79+7=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 6, 68, 2 ]
54
[ "68-38=30", "2*30=60", "60-6=54" ]
Current State: 54:[38, 6, 68, 2], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [6, 2, 30] Generated Node #2: [6, 2, 30] from Operation: 68-38=30 Current State: 54:[6, 2, 30], Operations: ['68-38=30'] Exploring Operation: 2*30=60, Resulting Numbers: [6, 60] Generated Node #3: [6, 60] from Operation: 2*30=60 Current State: 54:[6, 60], Operations: ['68-38=30', '2*30=60'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[38, 6, 68, 2], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [68, 2, 32] Generated Node #0,0: 54:[68, 2, 32] Operation: 38-6=32 Exploring Operation: 68-38=30, Resulting Numbers: [6, 2, 30] Generated Node #0,1: 54:[6, 2, 30] Operation: 68-38=30 Exploring Operation: 68/2=34, Resulting Numbers: [38, 6, 34] Generated Node #0,2: 54:[38, 6, 34] Operation: 68/2=34 Exploring Operation: 38/2=19, Resulting Numbers: [6, 68, 19] Generated Node #0,3: 54:[6, 68, 19] Operation: 38/2=19 Exploring Operation: 68-6=62, Resulting Numbers: [38, 2, 62] Generated Node #0,4: 54:[38, 2, 62] Operation: 68-6=62 Moving to Node #0,1 Current State: 54:[6, 2, 30], Operations: ['68-38=30'] Exploring Operation: 30/2=15, Resulting Numbers: [6, 15] Generated Node #0,1,0: 54:[6, 15] Operation: 30/2=15 Exploring Operation: 30/6=5, Resulting Numbers: [2, 5] Generated Node #0,1,1: 54:[2, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [2, 24] Generated Node #0,1,2: 54:[2, 24] Operation: 30-6=24 Exploring Operation: 6/2=3, Resulting Numbers: [30, 3] Generated Node #0,1,3: 54:[30, 3] Operation: 6/2=3 Exploring Operation: 30-2=28, Resulting Numbers: [6, 28] Generated Node #0,1,4: 54:[6, 28] Operation: 30-2=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[2, 5], Operations: ['68-38=30', '30/6=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,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,1,4 Current State: 54:[6, 28], Operations: ['68-38=30', '30-2=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,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,1,0 Current State: 54:[6, 15], Operations: ['68-38=30', '30/2=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,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,1,2 Current State: 54:[2, 24], Operations: ['68-38=30', '30-6=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 54:[30, 3], Operations: ['68-38=30', '6/2=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,54 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: 54:[6, 68, 19], Operations: ['38/2=19'] Exploring Operation: 68-6=62, Resulting Numbers: [19, 62] Generated Node #0,3,0: 54:[19, 62] Operation: 68-6=62 Exploring Operation: 6+68=74, Resulting Numbers: [19, 74] Generated Node #0,3,1: 54:[19, 74] Operation: 6+68=74 Exploring Operation: 19-6=13, Resulting Numbers: [68, 13] Generated Node #0,3,2: 54:[68, 13] Operation: 19-6=13 Exploring Operation: 68-19=49, Resulting Numbers: [6, 49] Generated Node #0,3,3: 54:[6, 49] Operation: 68-19=49 Exploring Operation: 6+19=25, Resulting Numbers: [68, 25] Generated Node #0,3,4: 54:[68, 25] Operation: 6+19=25 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[6, 49], Operations: ['38/2=19', '68-19=49'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,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:[19, 62], Operations: ['38/2=19', '68-6=62'] Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,54 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,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,4 Current State: 54:[68, 25], Operations: ['38/2=19', '6+19=25'] Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,54 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,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:[68, 13], Operations: ['38/2=19', '19-6=13'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,54 unequal: No Solution Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,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,1 Current State: 54:[19, 74], Operations: ['38/2=19', '6+68=74'] Exploring Operation: 19+74=93, Resulting Numbers: [93] 93,54 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 19*74=1406, Resulting Numbers: [1406] 1406,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:[38, 6, 34], Operations: ['68/2=34'] Exploring Operation: 34-6=28, Resulting Numbers: [38, 28] Generated Node #0,2,0: 54:[38, 28] Operation: 34-6=28 Exploring Operation: 38+6=44, Resulting Numbers: [34, 44] Generated Node #0,2,1: 54:[34, 44] Operation: 38+6=44 Exploring Operation: 38+34=72, Resulting Numbers: [6, 72] Generated Node #0,2,2: 54:[6, 72] Operation: 38+34=72 Exploring Operation: 38-6=32, Resulting Numbers: [34, 32] Generated Node #0,2,3: 54:[34, 32] Operation: 38-6=32 Exploring Operation: 38-34=4, Resulting Numbers: [6, 4] Generated Node #0,2,4: 54:[6, 4] Operation: 38-34=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 54:[6, 4], Operations: ['68/2=34', '38-34=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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,2,0 Current State: 54:[38, 28], Operations: ['68/2=34', '34-6=28'] Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,54 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,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,2,3 Current State: 54:[34, 32], Operations: ['68/2=34', '38-6=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,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,2,1 Current State: 54:[34, 44], Operations: ['68/2=34', '38+6=44'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,54 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,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,2,2 Current State: 54:[6, 72], Operations: ['68/2=34', '38+34=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,54 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,54 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: 54:[68, 2, 32], Operations: ['38-6=32'] Exploring Operation: 68/2=34, Resulting Numbers: [32, 34] Generated Node #0,0,0: 54:[32, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [32, 66] Generated Node #0,0,1: 54:[32, 66] Operation: 68-2=66 Exploring Operation: 32/2=16, Resulting Numbers: [68, 16] Generated Node #0,0,2: 54:[68, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [68, 30] Generated Node #0,0,3: 54:[68, 30] Operation: 32-2=30 Exploring Operation: 68-32=36, Resulting Numbers: [2, 36] Generated Node #0,0,4: 54:[2, 36] Operation: 68-32=36 Moving to Node #0,4 Current State: 54:[38, 2, 62], Operations: ['68-6=62'] Exploring Operation: 62-38=24, Resulting Numbers: [2, 24] Generated Node #0,4,0: 54:[2, 24] Operation: 62-38=24 Exploring Operation: 62-2=60, Resulting Numbers: [38, 60] Generated Node #0,4,1: 54:[38, 60] Operation: 62-2=60 Exploring Operation: 38-2=36, Resulting Numbers: [62, 36] Generated Node #0,4,2: 54:[62, 36] Operation: 38-2=36 Exploring Operation: 62/2=31, Resulting Numbers: [38, 31] Generated Node #0,4,3: 54:[38, 31] Operation: 62/2=31 Exploring Operation: 38/2=19, Resulting Numbers: [62, 19] Generated Node #0,4,4: 54:[62, 19] Operation: 38/2=19 Moving to Node #0,4,0 Current State: 54:[2, 24], Operations: ['68-6=62', '62-38=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[2, 36], Operations: ['38-6=32', '68-32=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,54 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[62, 19], Operations: ['68-6=62', '38/2=19'] Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,54 unequal: No Solution Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,54 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[32, 34], Operations: ['38-6=32', '68/2=34'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 32+34=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 32*34=1088, Resulting Numbers: [1088] 1088,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[38, 31], Operations: ['68-6=62', '62/2=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,54 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[68, 16], Operations: ['38-6=32', '32/2=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,54 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[38, 60], Operations: ['68-6=62', '62-2=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,54 unequal: No Solution Exploring Operation: 38*60=2280, Resulting Numbers: [2280] 2280,54 unequal: No Solution Moving to Node #0,4,2 Current State: 54:[62, 36], Operations: ['68-6=62', '38-2=36'] Exploring Operation: 62+36=98, Resulting Numbers: [98] 98,54 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 62*36=2232, Resulting Numbers: [2232] 2232,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[68, 30], Operations: ['38-6=32', '32-2=30'] Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,54 unequal: No Solution Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,54 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[32, 66], Operations: ['38-6=32', '68-2=66'] Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,54 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,54 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 44, 65, 6, 95 ]
26
[ "44-6=38", "65*38=2470", "2470/95=26" ]
Current State: 26:[44, 65, 6, 95], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [65, 95, 38] Generated Node #2: [65, 95, 38] from Operation: 44-6=38 Current State: 26:[65, 95, 38], Operations: ['44-6=38'] Exploring Operation: 65*38=2470, Resulting Numbers: [95, 2470] Generated Node #3: [95, 2470] from Operation: 65*38=2470 Current State: 26:[95, 2470], Operations: ['44-6=38', '65*38=2470'] Exploring Operation: 2470/95=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[44, 65, 6, 95], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [44, 6, 30] Generated Node #0,0: 26:[44, 6, 30] Operation: 95-65=30 Exploring Operation: 95-44=51, Resulting Numbers: [65, 6, 51] Generated Node #0,1: 26:[65, 6, 51] Operation: 95-44=51 Moving to Node #0,0 Current State: 26:[44, 6, 30], Operations: ['95-65=30'] Exploring Operation: 44-30=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 26:[6, 14] Operation: 44-30=14 Exploring Operation: 44-6=38, Resulting Numbers: [30, 38] Generated Node #0,0,1: 26:[30, 38] Operation: 44-6=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[6, 14], Operations: ['95-65=30', '44-30=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,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:[30, 38], Operations: ['95-65=30', '44-6=38'] Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,26 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,26 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: 26:[65, 6, 51], Operations: ['95-44=51'] Exploring Operation: 65-6=59, Resulting Numbers: [51, 59] Generated Node #0,1,0: 26:[51, 59] Operation: 65-6=59 Exploring Operation: 65-51=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 26:[6, 14] Operation: 65-51=14 Moving to Node #0,1,1 Current State: 26:[6, 14], Operations: ['95-44=51', '65-51=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[51, 59], Operations: ['95-44=51', '65-6=59'] Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,26 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,26 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 50, 73, 79 ]
55
[ "50*79=3950", "65+3950=4015", "4015/73=55" ]
Current State: 55:[65, 50, 73, 79], Operations: [] Exploring Operation: 50*79=3950, Resulting Numbers: [65, 73, 3950] Generated Node #2: [65, 73, 3950] from Operation: 50*79=3950 Current State: 55:[65, 73, 3950], Operations: ['50*79=3950'] Exploring Operation: 65+3950=4015, Resulting Numbers: [73, 4015] Generated Node #3: [73, 4015] from Operation: 65+3950=4015 Current State: 55:[73, 4015], Operations: ['50*79=3950', '65+3950=4015'] Exploring Operation: 4015/73=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[65, 50, 73, 79], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [65, 50, 6] Generated Node #0,0: 55:[65, 50, 6] Operation: 79-73=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[65, 50, 6], Operations: ['79-73=6'] Exploring Operation: 65-50=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 55:[6, 15] Operation: 65-50=15 Moving to Node #0,0,0 Current State: 55:[6, 15], Operations: ['79-73=6', '65-50=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 69, 1, 6 ]
15
[ "1+6=7", "12*7=84", "84-69=15" ]
Current State: 15:[12, 69, 1, 6], Operations: [] Exploring Operation: 1+6=7, Resulting Numbers: [12, 69, 7] Generated Node #2: [12, 69, 7] from Operation: 1+6=7 Current State: 15:[12, 69, 7], Operations: ['1+6=7'] Exploring Operation: 12*7=84, Resulting Numbers: [69, 84] Generated Node #3: [69, 84] from Operation: 12*7=84 Current State: 15:[69, 84], Operations: ['1+6=7', '12*7=84'] Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[12, 69, 1, 6], Operations: [] Exploring Operation: 69-6=63, Resulting Numbers: [12, 1, 63] Generated Node #0,0: 15:[12, 1, 63] Operation: 69-6=63 Exploring Operation: 12/6=2, Resulting Numbers: [69, 1, 2] Generated Node #0,1: 15:[69, 1, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [69, 1, 6] Generated Node #0,2: 15:[69, 1, 6] Operation: 12-6=6 Exploring Operation: 12+1=13, Resulting Numbers: [69, 6, 13] Generated Node #0,3: 15:[69, 6, 13] Operation: 12+1=13 Exploring Operation: 69-12=57, Resulting Numbers: [1, 6, 57] Generated Node #0,4: 15:[1, 6, 57] Operation: 69-12=57 Moving to Node #0,4 Current State: 15:[1, 6, 57], Operations: ['69-12=57'] Exploring Operation: 1*6=6, Resulting Numbers: [57, 6] Generated Node #0,4,0: 15:[57, 6] Operation: 1*6=6 Exploring Operation: 57-6=51, Resulting Numbers: [1, 51] Generated Node #0,4,1: 15:[1, 51] Operation: 57-6=51 Exploring Operation: 57-1=56, Resulting Numbers: [6, 56] Generated Node #0,4,2: 15:[6, 56] Operation: 57-1=56 Exploring Operation: 6-1=5, Resulting Numbers: [57, 5] Generated Node #0,4,3: 15:[57, 5] Operation: 6-1=5 Exploring Operation: 6/1=6, Resulting Numbers: [57, 6] Generated Node #0,4,4: 15:[57, 6] Operation: 6/1=6 Moving to Node #0,0 Current State: 15:[12, 1, 63], Operations: ['69-6=63'] Exploring Operation: 12*1=12, Resulting Numbers: [63, 12] Generated Node #0,0,0: 15:[63, 12] Operation: 12*1=12 Exploring Operation: 12+1=13, Resulting Numbers: [63, 13] Generated Node #0,0,1: 15:[63, 13] Operation: 12+1=13 Exploring Operation: 63-12=51, Resulting Numbers: [1, 51] Generated Node #0,0,2: 15:[1, 51] Operation: 63-12=51 Exploring Operation: 12/1=12, Resulting Numbers: [63, 12] Generated Node #0,0,3: 15:[63, 12] Operation: 12/1=12 Exploring Operation: 63-1=62, Resulting Numbers: [12, 62] Generated Node #0,0,4: 15:[12, 62] Operation: 63-1=62 Moving to Node #0,1 Current State: 15:[69, 1, 2], Operations: ['12/6=2'] Exploring Operation: 1+2=3, Resulting Numbers: [69, 3] Generated Node #0,1,0: 15:[69, 3] Operation: 1+2=3 Exploring Operation: 69-1=68, Resulting Numbers: [2, 68] Generated Node #0,1,1: 15:[2, 68] Operation: 69-1=68 Exploring Operation: 69-2=67, Resulting Numbers: [1, 67] Generated Node #0,1,2: 15:[1, 67] Operation: 69-2=67 Exploring Operation: 69/1=69, Resulting Numbers: [2, 69] Generated Node #0,1,3: 15:[2, 69] Operation: 69/1=69 Exploring Operation: 69*1=69, Resulting Numbers: [2, 69] Generated Node #0,1,4: 15:[2, 69] Operation: 69*1=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[69, 3], Operations: ['12/6=2', '1+2=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,15 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[2, 68], Operations: ['12/6=2', '69-1=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,15 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,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:[1, 67], Operations: ['12/6=2', '69-2=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 1+67=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 1*67=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,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,3 Current State: 15:[2, 69], Operations: ['12/6=2', '69/1=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,15 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,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,4 Current State: 15:[2, 69], Operations: ['12/6=2', '69*1=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,15 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,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:[69, 1, 6], Operations: ['12-6=6'] Exploring Operation: 69-1=68, Resulting Numbers: [6, 68] Generated Node #0,2,0: 15:[6, 68] Operation: 69-1=68 Exploring Operation: 69-6=63, Resulting Numbers: [1, 63] Generated Node #0,2,1: 15:[1, 63] Operation: 69-6=63 Exploring Operation: 6-1=5, Resulting Numbers: [69, 5] Generated Node #0,2,2: 15:[69, 5] Operation: 6-1=5 Exploring Operation: 69/1=69, Resulting Numbers: [6, 69] Generated Node #0,2,3: 15:[6, 69] Operation: 69/1=69 Exploring Operation: 69*1=69, Resulting Numbers: [6, 69] Generated Node #0,2,4: 15:[6, 69] Operation: 69*1=69 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[1, 63], Operations: ['12-6=6', '69-6=63'] Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,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,2,0 Current State: 15:[6, 68], Operations: ['12-6=6', '69-1=68'] Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,15 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,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,2,2 Current State: 15:[69, 5], Operations: ['12-6=6', '6-1=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,15 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,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,2,3 Current State: 15:[6, 69], Operations: ['12-6=6', '69/1=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,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,2,4 Current State: 15:[6, 69], Operations: ['12-6=6', '69*1=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,15 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,15 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: 15:[69, 6, 13], Operations: ['12+1=13'] Exploring Operation: 69-6=63, Resulting Numbers: [13, 63] Generated Node #0,3,0: 15:[13, 63] Operation: 69-6=63 Exploring Operation: 69+6=75, Resulting Numbers: [13, 75] Generated Node #0,3,1: 15:[13, 75] Operation: 69+6=75 Exploring Operation: 13-6=7, Resulting Numbers: [69, 7] Generated Node #0,3,2: 15:[69, 7] Operation: 13-6=7 Exploring Operation: 6+13=19, Resulting Numbers: [69, 19] Generated Node #0,3,3: 15:[69, 19] Operation: 6+13=19 Exploring Operation: 69-13=56, Resulting Numbers: [6, 56] Generated Node #0,3,4: 15:[6, 56] Operation: 69-13=56 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[6, 56], Operations: ['12+1=13', '69-13=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,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,3,0 Current State: 15:[13, 63], Operations: ['12+1=13', '69-6=63'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,15 unequal: No Solution Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,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,3,2 Current State: 15:[69, 7], Operations: ['12+1=13', '13-6=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,15 unequal: No Solution Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,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,3,3 Current State: 15:[69, 19], Operations: ['12+1=13', '6+13=19'] Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,15 unequal: No Solution Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,15 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,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,3,1 Current State: 15:[13, 75], Operations: ['12+1=13', '69+6=75'] Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,15 unequal: No Solution Exploring Operation: 13*75=975, Resulting Numbers: [975] 975,15 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 15:[1, 51], Operations: ['69-12=57', '57-6=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[1, 51], Operations: ['69-6=63', '63-12=51'] Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,4,3 Current State: 15:[57, 5], Operations: ['69-12=57', '6-1=5'] Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,15 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,15 unequal: No Solution Moving to Node #0,4,2 Current State: 15:[6, 56], Operations: ['69-12=57', '57-1=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,15 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,15 unequal: No Solution Moving to Node #0,4,4 Current State: 15:[57, 6], Operations: ['69-12=57', '6/1=6'] Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,15 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,15 unequal: No Solution Moving to Node #0,4,0 Current State: 15:[57, 6], Operations: ['69-12=57', '1*6=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,15 unequal: No Solution 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 Moving to Node #0,0,1 Current State: 15:[63, 13], Operations: ['69-6=63', '12+1=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,15 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[12, 62], Operations: ['69-6=63', '63-1=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,15 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,15 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[63, 12], Operations: ['69-6=63', '12*1=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,15 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[63, 12], Operations: ['69-6=63', '12/1=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,15 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,15 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 97, 94, 75, 96 ]
43
[ "97-94=3", "96/3=32", "75-32=43" ]
Current State: 43:[97, 94, 75, 96], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [75, 96, 3] Generated Node #2: [75, 96, 3] from Operation: 97-94=3 Current State: 43:[75, 96, 3], Operations: ['97-94=3'] Exploring Operation: 96/3=32, Resulting Numbers: [75, 32] Generated Node #3: [75, 32] from Operation: 96/3=32 Current State: 43:[75, 32], Operations: ['97-94=3', '96/3=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[97, 94, 75, 96], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [75, 96, 3] Generated Node #0,0: 43:[75, 96, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 43:[75, 96, 3], Operations: ['97-94=3'] Exploring Operation: 96/3=32, Resulting Numbers: [75, 32] Generated Node #0,0,0: 43:[75, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[75, 32], Operations: ['97-94=3', '96/3=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[97, 94, 75, 96], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [75, 96, 3] Generated Node #0,0: 43:[75, 96, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 43:[75, 96, 3], Operations: ['97-94=3'] Exploring Operation: 96/3=32, Resulting Numbers: [75, 32] Generated Node #0,0,0: 43:[75, 32] Operation: 96/3=32 Moving to Node #0,0,0 Current State: 43:[75, 32], Operations: ['97-94=3', '96/3=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 96, 2, 9, 50 ]
28
[ "96-50=46", "2*9=18", "46-18=28" ]
Current State: 28:[96, 2, 9, 50], Operations: [] Exploring Operation: 96-50=46, Resulting Numbers: [2, 9, 46] Generated Node #2: [2, 9, 46] from Operation: 96-50=46 Current State: 28:[2, 9, 46], Operations: ['96-50=46'] Exploring Operation: 2*9=18, Resulting Numbers: [46, 18] Generated Node #3: [46, 18] from Operation: 2*9=18 Current State: 28:[46, 18], Operations: ['96-50=46', '2*9=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[96, 2, 9, 50], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [9, 50, 48] Generated Node #0,0: 28:[9, 50, 48] Operation: 96/2=48 Exploring Operation: 96-50=46, Resulting Numbers: [2, 9, 46] Generated Node #0,1: 28:[2, 9, 46] Operation: 96-50=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[2, 9, 46], Operations: ['96-50=46'] Exploring Operation: 46/2=23, Resulting Numbers: [9, 23] Generated Node #0,1,0: 28:[9, 23] Operation: 46/2=23 Exploring Operation: 46-9=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 28:[2, 37] Operation: 46-9=37 Moving to Node #0,1,0 Current State: 28:[9, 23], Operations: ['96-50=46', '46/2=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[2, 37], Operations: ['96-50=46', '46-9=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,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 Current State: 28:[9, 50, 48], Operations: ['96/2=48'] Exploring Operation: 50-48=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 28:[9, 2] Operation: 50-48=2 Exploring Operation: 50-9=41, Resulting Numbers: [48, 41] Generated Node #0,0,1: 28:[48, 41] Operation: 50-9=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[9, 2], Operations: ['96/2=48', '50-48=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,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,0,1 Current State: 28:[48, 41], Operations: ['96/2=48', '50-9=41'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,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 No solution found.
0
hs_2
mult_heuristic
[ 85, 63, 66, 80 ]
15
[ "85-80=5", "66-63=3", "5*3=15" ]
Current State: 15:[85, 63, 66, 80], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [63, 66, 5] Generated Node #2: [63, 66, 5] from Operation: 85-80=5 Current State: 15:[63, 66, 5], Operations: ['85-80=5'] Exploring Operation: 66-63=3, Resulting Numbers: [5, 3] Generated Node #3: [5, 3] from Operation: 66-63=3 Current State: 15:[5, 3], Operations: ['85-80=5', '66-63=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[85, 63, 66, 80], Operations: [] Exploring Operation: 85-63=22, Resulting Numbers: [66, 80, 22] Generated Node #0,0: 15:[66, 80, 22] Operation: 85-63=22 Exploring Operation: 80-63=17, Resulting Numbers: [85, 66, 17] Generated Node #0,1: 15:[85, 66, 17] Operation: 80-63=17 Exploring Operation: 80-66=14, Resulting Numbers: [85, 63, 14] Generated Node #0,2: 15:[85, 63, 14] Operation: 80-66=14 Exploring Operation: 85-66=19, Resulting Numbers: [63, 80, 19] Generated Node #0,3: 15:[63, 80, 19] Operation: 85-66=19 Exploring Operation: 85-80=5, Resulting Numbers: [63, 66, 5] Generated Node #0,4: 15:[63, 66, 5] Operation: 85-80=5 Moving to Node #0,4 Current State: 15:[63, 66, 5], Operations: ['85-80=5'] Exploring Operation: 63-5=58, Resulting Numbers: [66, 58] Generated Node #0,4,0: 15:[66, 58] Operation: 63-5=58 Exploring Operation: 63+5=68, Resulting Numbers: [66, 68] Generated Node #0,4,1: 15:[66, 68] Operation: 63+5=68 Exploring Operation: 66-63=3, Resulting Numbers: [5, 3] Generated Node #0,4,2: 15:[5, 3] Operation: 66-63=3 Exploring Operation: 66+5=71, Resulting Numbers: [63, 71] Generated Node #0,4,3: 15:[63, 71] Operation: 66+5=71 Exploring Operation: 66-5=61, Resulting Numbers: [63, 61] Generated Node #0,4,4: 15:[63, 61] Operation: 66-5=61 Moving to Node #0,3 Current State: 15:[63, 80, 19], Operations: ['85-66=19'] Exploring Operation: 80-63=17, Resulting Numbers: [19, 17] Generated Node #0,3,0: 15:[19, 17] Operation: 80-63=17 Exploring Operation: 80-19=61, Resulting Numbers: [63, 61] Generated Node #0,3,1: 15:[63, 61] Operation: 80-19=61 Exploring Operation: 63-19=44, Resulting Numbers: [80, 44] Generated Node #0,3,2: 15:[80, 44] Operation: 63-19=44 Exploring Operation: 63+80=143, Resulting Numbers: [19, 143] Generated Node #0,3,3: 15:[19, 143] Operation: 63+80=143 Exploring Operation: 63+19=82, Resulting Numbers: [80, 82] Generated Node #0,3,4: 15:[80, 82] Operation: 63+19=82 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[19, 17], Operations: ['85-66=19', '80-63=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,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,3,1 Current State: 15:[63, 61], Operations: ['85-66=19', '80-19=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 63*61=3843, Resulting Numbers: [3843] 3843,15 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,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,3,2 Current State: 15:[80, 44], Operations: ['85-66=19', '63-19=44'] Exploring Operation: 80*44=3520, Resulting Numbers: [3520] 3520,15 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 80+44=124, Resulting Numbers: [124] 124,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,3,3 Current State: 15:[19, 143], Operations: ['85-66=19', '63+80=143'] Exploring Operation: 19+143=162, Resulting Numbers: [162] 162,15 unequal: No Solution Exploring Operation: 19*143=2717, Resulting Numbers: [2717] 2717,15 unequal: No Solution Exploring Operation: 143-19=124, Resulting Numbers: [124] 124,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,3,4 Current State: 15:[80, 82], Operations: ['85-66=19', '63+19=82'] Exploring Operation: 80+82=162, Resulting Numbers: [162] 162,15 unequal: No Solution Exploring Operation: 80*82=6560, Resulting Numbers: [6560] 6560,15 unequal: No Solution Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,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:[85, 63, 14], Operations: ['80-66=14'] Exploring Operation: 85-63=22, Resulting Numbers: [14, 22] Generated Node #0,2,0: 15:[14, 22] Operation: 85-63=22 Exploring Operation: 63+14=77, Resulting Numbers: [85, 77] Generated Node #0,2,1: 15:[85, 77] Operation: 63+14=77 Exploring Operation: 63-14=49, Resulting Numbers: [85, 49] Generated Node #0,2,2: 15:[85, 49] Operation: 63-14=49 Exploring Operation: 85+14=99, Resulting Numbers: [63, 99] Generated Node #0,2,3: 15:[63, 99] Operation: 85+14=99 Exploring Operation: 85-14=71, Resulting Numbers: [63, 71] Generated Node #0,2,4: 15:[63, 71] Operation: 85-14=71 Moving to Node #0,0 Current State: 15:[66, 80, 22], Operations: ['85-63=22'] Exploring Operation: 66-22=44, Resulting Numbers: [80, 44] Generated Node #0,0,0: 15:[80, 44] Operation: 66-22=44 Exploring Operation: 66+80=146, Resulting Numbers: [22, 146] Generated Node #0,0,1: 15:[22, 146] Operation: 66+80=146 Exploring Operation: 80-66=14, Resulting Numbers: [22, 14] Generated Node #0,0,2: 15:[22, 14] Operation: 80-66=14 Exploring Operation: 66/22=3, Resulting Numbers: [80, 3] Generated Node #0,0,3: 15:[80, 3] Operation: 66/22=3 Exploring Operation: 80-22=58, Resulting Numbers: [66, 58] Generated Node #0,0,4: 15:[66, 58] Operation: 80-22=58 Moving to Node #0,1 Current State: 15:[85, 66, 17], Operations: ['80-63=17'] Exploring Operation: 85/17=5, Resulting Numbers: [66, 5] Generated Node #0,1,0: 15:[66, 5] Operation: 85/17=5 Exploring Operation: 66-17=49, Resulting Numbers: [85, 49] Generated Node #0,1,1: 15:[85, 49] Operation: 66-17=49 Exploring Operation: 85-17=68, Resulting Numbers: [66, 68] Generated Node #0,1,2: 15:[66, 68] Operation: 85-17=68 Exploring Operation: 85-66=19, Resulting Numbers: [17, 19] Generated Node #0,1,3: 15:[17, 19] Operation: 85-66=19 Exploring Operation: 85+66=151, Resulting Numbers: [17, 151] Generated Node #0,1,4: 15:[17, 151] Operation: 85+66=151 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[17, 19], Operations: ['80-63=17', '85-66=19'] Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,15 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[66, 5], Operations: ['80-63=17', '85/17=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,15 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[85, 49], Operations: ['80-63=17', '66-17=49'] Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,15 unequal: No Solution Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,15 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[66, 68], Operations: ['80-63=17', '85-17=68'] Exploring Operation: 66*68=4488, Resulting Numbers: [4488] 4488,15 unequal: No Solution Exploring Operation: 66+68=134, Resulting Numbers: [134] 134,15 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,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,4 Current State: 15:[17, 151], Operations: ['80-63=17', '85+66=151'] Exploring Operation: 151-17=134, Resulting Numbers: [134] 134,15 unequal: No Solution Exploring Operation: 17*151=2567, Resulting Numbers: [2567] 2567,15 unequal: No Solution Exploring Operation: 17+151=168, Resulting Numbers: [168] 168,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 15:[5, 3], Operations: ['85-80=5', '66-63=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[85, 63, 66, 80], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [63, 66, 5] Generated Node #0,4: 15:[63, 66, 5] Operation: 85-80=5 Moving to Node #0,4 Current State: 15:[63, 66, 5], Operations: ['85-80=5'] Exploring Operation: 66-63=3, Resulting Numbers: [5, 3] Generated Node #0,4,2: 15:[5, 3] Operation: 66-63=3 Moving to Node #0,4,2 Current State: 15:[5, 3], Operations: ['85-80=5', '66-63=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 36, 34, 14, 44 ]
16
[ "36-34=2", "14*2=28", "44-28=16" ]
Current State: 16:[36, 34, 14, 44], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [14, 44, 2] Generated Node #2: [14, 44, 2] from Operation: 36-34=2 Current State: 16:[14, 44, 2], Operations: ['36-34=2'] Exploring Operation: 14*2=28, Resulting Numbers: [44, 28] Generated Node #3: [44, 28] from Operation: 14*2=28 Current State: 16:[44, 28], Operations: ['36-34=2', '14*2=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[36, 34, 14, 44], Operations: [] Exploring Operation: 36-14=22, Resulting Numbers: [34, 44, 22] Generated Node #0,0: 16:[34, 44, 22] Operation: 36-14=22 Exploring Operation: 44-36=8, Resulting Numbers: [34, 14, 8] Generated Node #0,1: 16:[34, 14, 8] Operation: 44-36=8 Exploring Operation: 36-34=2, Resulting Numbers: [14, 44, 2] Generated Node #0,2: 16:[14, 44, 2] Operation: 36-34=2 Exploring Operation: 44-34=10, Resulting Numbers: [36, 14, 10] Generated Node #0,3: 16:[36, 14, 10] Operation: 44-34=10 Exploring Operation: 34-14=20, Resulting Numbers: [36, 44, 20] Generated Node #0,4: 16:[36, 44, 20] Operation: 34-14=20 Moving to Node #0,1 Current State: 16:[34, 14, 8], Operations: ['44-36=8'] Exploring Operation: 34-14=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 16:[8, 20] Operation: 34-14=20 Exploring Operation: 34-8=26, Resulting Numbers: [14, 26] Generated Node #0,1,1: 16:[14, 26] Operation: 34-8=26 Exploring Operation: 14-8=6, Resulting Numbers: [34, 6] Generated Node #0,1,2: 16:[34, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [34, 22] Generated Node #0,1,3: 16:[34, 22] Operation: 14+8=22 Exploring Operation: 34+8=42, Resulting Numbers: [14, 42] Generated Node #0,1,4: 16:[14, 42] Operation: 34+8=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[8, 20], Operations: ['44-36=8', '34-14=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,16 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[14, 26], Operations: ['44-36=8', '34-8=26'] Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,16 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[34, 6], Operations: ['44-36=8', '14-8=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[34, 22], Operations: ['44-36=8', '14+8=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,16 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,16 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 16:[14, 42], Operations: ['44-36=8', '34+8=42'] Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,16 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,16 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,16 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: 16:[36, 14, 10], Operations: ['44-34=10'] Exploring Operation: 36-14=22, Resulting Numbers: [10, 22] Generated Node #0,3,0: 16:[10, 22] Operation: 36-14=22 Exploring Operation: 36-10=26, Resulting Numbers: [14, 26] Generated Node #0,3,1: 16:[14, 26] Operation: 36-10=26 Exploring Operation: 36+10=46, Resulting Numbers: [14, 46] Generated Node #0,3,2: 16:[14, 46] Operation: 36+10=46 Exploring Operation: 14+10=24, Resulting Numbers: [36, 24] Generated Node #0,3,3: 16:[36, 24] Operation: 14+10=24 Exploring Operation: 14-10=4, Resulting Numbers: [36, 4] Generated Node #0,3,4: 16:[36, 4] Operation: 14-10=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 16:[10, 22], Operations: ['44-34=10', '36-14=22'] Exploring Operation: 10*22=220, Resulting Numbers: [220] 220,16 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,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:[14, 26], Operations: ['44-34=10', '36-10=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,16 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,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:[36, 4], Operations: ['44-34=10', '14-10=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,16 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[36, 24], Operations: ['44-34=10', '14+10=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,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:[14, 46], Operations: ['44-34=10', '36+10=46'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,16 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,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:[14, 44, 2], Operations: ['36-34=2'] Exploring Operation: 14/2=7, Resulting Numbers: [44, 7] Generated Node #0,2,0: 16:[44, 7] Operation: 14/2=7 Exploring Operation: 44-14=30, Resulting Numbers: [2, 30] Generated Node #0,2,1: 16:[2, 30] Operation: 44-14=30 Exploring Operation: 44/2=22, Resulting Numbers: [14, 22] Generated Node #0,2,2: 16:[14, 22] Operation: 44/2=22 Exploring Operation: 14+2=16, Resulting Numbers: [44, 16] Generated Node #0,2,3: 16:[44, 16] Operation: 14+2=16 Exploring Operation: 44-2=42, Resulting Numbers: [14, 42] Generated Node #0,2,4: 16:[14, 42] Operation: 44-2=42 Moving to Node #0,0 Current State: 16:[34, 44, 22], Operations: ['36-14=22'] Exploring Operation: 34+44=78, Resulting Numbers: [22, 78] Generated Node #0,0,0: 16:[22, 78] Operation: 34+44=78 Exploring Operation: 44-22=22, Resulting Numbers: [34, 22] Generated Node #0,0,1: 16:[34, 22] Operation: 44-22=22 Exploring Operation: 44-34=10, Resulting Numbers: [22, 10] Generated Node #0,0,2: 16:[22, 10] Operation: 44-34=10 Exploring Operation: 34-22=12, Resulting Numbers: [44, 12] Generated Node #0,0,3: 16:[44, 12] Operation: 34-22=12 Exploring Operation: 44/22=2, Resulting Numbers: [34, 2] Generated Node #0,0,4: 16:[34, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[22, 10], Operations: ['36-14=22', '44-34=10'] Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,16 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,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:[34, 2], Operations: ['36-14=22', '44/22=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 34/2=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,1 Current State: 16:[34, 22], Operations: ['36-14=22', '44-22=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,16 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,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:[44, 12], Operations: ['36-14=22', '34-22=12'] Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,16 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,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:[22, 78], Operations: ['36-14=22', '34+44=78'] Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,16 unequal: No Solution Exploring Operation: 22+78=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 22*78=1716, Resulting Numbers: [1716] 1716,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 16:[36, 44, 20], Operations: ['34-14=20'] Exploring Operation: 36+44=80, Resulting Numbers: [20, 80] Generated Node #0,4,0: 16:[20, 80] Operation: 36+44=80 Exploring Operation: 44-36=8, Resulting Numbers: [20, 8] Generated Node #0,4,1: 16:[20, 8] Operation: 44-36=8 Exploring Operation: 44-20=24, Resulting Numbers: [36, 24] Generated Node #0,4,2: 16:[36, 24] Operation: 44-20=24 Exploring Operation: 36-20=16, Resulting Numbers: [44, 16] Generated Node #0,4,3: 16:[44, 16] Operation: 36-20=16 Exploring Operation: 36+20=56, Resulting Numbers: [44, 56] Generated Node #0,4,4: 16:[44, 56] Operation: 36+20=56 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 16:[20, 8], Operations: ['34-14=20', '44-36=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,16 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,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:[36, 24], Operations: ['34-14=20', '44-20=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,16 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,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:[44, 16], Operations: ['34-14=20', '36-20=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,16 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,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, 80], Operations: ['34-14=20', '36+44=80'] Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 20+80=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 20*80=1600, Resulting Numbers: [1600] 1600,16 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 16:[44, 56], Operations: ['34-14=20', '36+20=56'] Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 16:[14, 22], Operations: ['36-34=2', '44/2=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[2, 30], Operations: ['36-34=2', '44-14=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[44, 16], Operations: ['36-34=2', '14+2=16'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,16 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[14, 42], Operations: ['36-34=2', '44-2=42'] Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,16 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[44, 7], Operations: ['36-34=2', '14/2=7'] Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,16 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,16 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 23, 54, 26 ]
100
[ "49+23=72", "54-26=28", "72+28=100" ]
Current State: 100:[49, 23, 54, 26], Operations: [] Exploring Operation: 49+23=72, Resulting Numbers: [54, 26, 72] Generated Node #2: [54, 26, 72] from Operation: 49+23=72 Current State: 100:[54, 26, 72], Operations: ['49+23=72'] Exploring Operation: 54-26=28, Resulting Numbers: [72, 28] Generated Node #3: [72, 28] from Operation: 54-26=28 Current State: 100:[72, 28], Operations: ['49+23=72', '54-26=28'] Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[49, 23, 54, 26], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [23, 26, 5] Generated Node #0,0: 100:[23, 26, 5] Operation: 54-49=5 Moving to Node #0,0 Current State: 100:[23, 26, 5], Operations: ['54-49=5'] Exploring Operation: 23+26=49, Resulting Numbers: [5, 49] Generated Node #0,0,0: 100:[5, 49] Operation: 23+26=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[5, 49], Operations: ['54-49=5', '23+26=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 49, 14, 24 ]
13
[ "81+49=130", "24-14=10", "130/10=13" ]
Current State: 13:[81, 49, 14, 24], Operations: [] Exploring Operation: 81+49=130, Resulting Numbers: [14, 24, 130] Generated Node #2: [14, 24, 130] from Operation: 81+49=130 Current State: 13:[14, 24, 130], Operations: ['81+49=130'] Exploring Operation: 24-14=10, Resulting Numbers: [130, 10] Generated Node #3: [130, 10] from Operation: 24-14=10 Current State: 13:[130, 10], Operations: ['81+49=130', '24-14=10'] Exploring Operation: 130/10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[81, 49, 14, 24], Operations: [] Exploring Operation: 49-24=25, Resulting Numbers: [81, 14, 25] Generated Node #0,0: 13:[81, 14, 25] Operation: 49-24=25 Exploring Operation: 81-24=57, Resulting Numbers: [49, 14, 57] Generated Node #0,1: 13:[49, 14, 57] Operation: 81-24=57 Exploring Operation: 81-49=32, Resulting Numbers: [14, 24, 32] Generated Node #0,2: 13:[14, 24, 32] Operation: 81-49=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[14, 24, 32], Operations: ['81-49=32'] Exploring Operation: 32-14=18, Resulting Numbers: [24, 18] Generated Node #0,2,0: 13:[24, 18] Operation: 32-14=18 Exploring Operation: 24-14=10, Resulting Numbers: [32, 10] Generated Node #0,2,1: 13:[32, 10] Operation: 24-14=10 Exploring Operation: 32-24=8, Resulting Numbers: [14, 8] Generated Node #0,2,2: 13:[14, 8] Operation: 32-24=8 Moving to Node #0,2,2 Current State: 13:[14, 8], Operations: ['81-49=32', '32-24=8'] Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[24, 18], Operations: ['81-49=32', '32-14=18'] Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,13 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[32, 10], Operations: ['81-49=32', '24-14=10'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,13 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[81, 14, 25], Operations: ['49-24=25'] Exploring Operation: 81-25=56, Resulting Numbers: [14, 56] Generated Node #0,0,0: 13:[14, 56] Operation: 81-25=56 Exploring Operation: 81-14=67, Resulting Numbers: [25, 67] Generated Node #0,0,1: 13:[25, 67] Operation: 81-14=67 Exploring Operation: 25-14=11, Resulting Numbers: [81, 11] Generated Node #0,0,2: 13:[81, 11] Operation: 25-14=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[14, 56], Operations: ['49-24=25', '81-25=56'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[25, 67], Operations: ['49-24=25', '81-14=67'] Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[81, 11], Operations: ['49-24=25', '25-14=11'] Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[49, 14, 57], Operations: ['81-24=57'] Exploring Operation: 57-49=8, Resulting Numbers: [14, 8] Generated Node #0,1,0: 13:[14, 8] Operation: 57-49=8 Exploring Operation: 49-14=35, Resulting Numbers: [57, 35] Generated Node #0,1,1: 13:[57, 35] Operation: 49-14=35 Exploring Operation: 57-14=43, Resulting Numbers: [49, 43] Generated Node #0,1,2: 13:[49, 43] Operation: 57-14=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[14, 8], Operations: ['81-24=57', '57-49=8'] Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[57, 35], Operations: ['81-24=57', '49-14=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,13 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[49, 43], Operations: ['81-24=57', '57-14=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,13 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 22, 26, 22, 27 ]
97
[ "22+26=48", "22+27=49", "48+49=97" ]
Current State: 97:[22, 26, 22, 27], Operations: [] Exploring Operation: 22+26=48, Resulting Numbers: [27, 48] Generated Node #2: [27, 48] from Operation: 22+26=48 Current State: 97:[27, 48], Operations: ['22+26=48'] Exploring Operation: 22+27=49, Resulting Numbers: [48, 49] Generated Node #3: [48, 49] from Operation: 22+27=49 Current State: 97:[48, 49], Operations: ['22+26=48', '22+27=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[22, 26, 22, 27], Operations: [] Exploring Operation: 22+22=44, Resulting Numbers: [26, 27, 44] Generated Node #0,0: 97:[26, 27, 44] Operation: 22+22=44 Exploring Operation: 22+26=48, Resulting Numbers: [22, 27, 48] Generated Node #0,1: 97:[22, 27, 48] Operation: 22+26=48 Moving to Node #0,0 Current State: 97:[26, 27, 44], Operations: ['22+22=44'] Exploring Operation: 26+44=70, Resulting Numbers: [27, 70] Generated Node #0,0,0: 97:[27, 70] Operation: 26+44=70 Exploring Operation: 26+27=53, Resulting Numbers: [44, 53] Generated Node #0,0,1: 97:[44, 53] Operation: 26+27=53 Moving to Node #0,1 Current State: 97:[22, 27, 48], Operations: ['22+26=48'] Exploring Operation: 22+27=49, Resulting Numbers: [48, 49] Generated Node #0,1,0: 97:[48, 49] Operation: 22+27=49 Exploring Operation: 22+48=70, Resulting Numbers: [27, 70] Generated Node #0,1,1: 97:[27, 70] Operation: 22+48=70 Moving to Node #0,0,0 Current State: 97:[27, 70], Operations: ['22+22=44', '26+44=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[22, 26, 22, 27], Operations: [] Exploring Operation: 22+22=44, Resulting Numbers: [26, 27, 44] Generated Node #0,0: 97:[26, 27, 44] Operation: 22+22=44 Moving to Node #0,0 Current State: 97:[26, 27, 44], Operations: ['22+22=44'] Exploring Operation: 26+44=70, Resulting Numbers: [27, 70] Generated Node #0,0,0: 97:[27, 70] Operation: 26+44=70 Moving to Node #0,0,0 Current State: 97:[27, 70], Operations: ['22+22=44', '26+44=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 20, 81, 50, 3 ]
33
[ "81-20=61", "61-50=11", "3*11=33" ]
Current State: 33:[20, 81, 50, 3], Operations: [] Exploring Operation: 81-20=61, Resulting Numbers: [50, 3, 61] Generated Node #2: [50, 3, 61] from Operation: 81-20=61 Current State: 33:[50, 3, 61], Operations: ['81-20=61'] Exploring Operation: 61-50=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 61-50=11 Current State: 33:[3, 11], Operations: ['81-20=61', '61-50=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[20, 81, 50, 3], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [20, 3, 31] Generated Node #0,0: 33:[20, 3, 31] Operation: 81-50=31 Moving to Node #0,0 Current State: 33:[20, 3, 31], Operations: ['81-50=31'] Exploring Operation: 31-20=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 33:[3, 11] Operation: 31-20=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[3, 11], Operations: ['81-50=31', '31-20=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[20, 81, 50, 3], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [20, 3, 31] Generated Node #0,0: 33:[20, 3, 31] Operation: 81-50=31 Moving to Node #0,0 Current State: 33:[20, 3, 31], Operations: ['81-50=31'] Exploring Operation: 31-20=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 33:[3, 11] Operation: 31-20=11 Moving to Node #0,0,0 Current State: 33:[3, 11], Operations: ['81-50=31', '31-20=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 49, 77, 75, 22 ]
93
[ "77-75=2", "22*2=44", "49+44=93" ]
Current State: 93:[49, 77, 75, 22], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [49, 22, 2] Generated Node #2: [49, 22, 2] from Operation: 77-75=2 Current State: 93:[49, 22, 2], Operations: ['77-75=2'] Exploring Operation: 22*2=44, Resulting Numbers: [49, 44] Generated Node #3: [49, 44] from Operation: 22*2=44 Current State: 93:[49, 44], Operations: ['77-75=2', '22*2=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[49, 77, 75, 22], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [49, 22, 2] Generated Node #0,0: 93:[49, 22, 2] Operation: 77-75=2 Exploring Operation: 77-49=28, Resulting Numbers: [75, 22, 28] Generated Node #0,1: 93:[75, 22, 28] Operation: 77-49=28 Moving to Node #0,0 Current State: 93:[49, 22, 2], Operations: ['77-75=2'] Exploring Operation: 49-22=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 93:[2, 27] Operation: 49-22=27 Exploring Operation: 49*2=98, Resulting Numbers: [22, 98] Generated Node #0,0,1: 93:[22, 98] Operation: 49*2=98 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[2, 27], Operations: ['77-75=2', '49-22=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[22, 98], Operations: ['77-75=2', '49*2=98'] Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 22+98=120, Resulting Numbers: [120] 120,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 93:[75, 22, 28], Operations: ['77-49=28'] Exploring Operation: 75+22=97, Resulting Numbers: [28, 97] Generated Node #0,1,0: 93:[28, 97] Operation: 75+22=97 Exploring Operation: 75+28=103, Resulting Numbers: [22, 103] Generated Node #0,1,1: 93:[22, 103] Operation: 75+28=103 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[28, 97], Operations: ['77-49=28', '75+22=97'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 28+97=125, Resulting Numbers: [125] 125,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,1 Current State: 93:[22, 103], Operations: ['77-49=28', '75+28=103'] Exploring Operation: 22+103=125, Resulting Numbers: [125] 125,93 unequal: No Solution Exploring Operation: 103-22=81, Resulting Numbers: [81] 81,93 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
[ 36, 79, 2, 83 ]
38
[ "79-36=43", "83-2=81", "81-43=38" ]
Current State: 38:[36, 79, 2, 83], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [2, 83, 43] Generated Node #2: [2, 83, 43] from Operation: 79-36=43 Current State: 38:[2, 83, 43], Operations: ['79-36=43'] Exploring Operation: 83-2=81, Resulting Numbers: [43, 81] Generated Node #3: [43, 81] from Operation: 83-2=81 Current State: 38:[43, 81], Operations: ['79-36=43', '83-2=81'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[36, 79, 2, 83], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [2, 83, 43] Generated Node #0,0: 38:[2, 83, 43] Operation: 79-36=43 Exploring Operation: 83-79=4, Resulting Numbers: [36, 2, 4] Generated Node #0,1: 38:[36, 2, 4] Operation: 83-79=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[36, 2, 4], Operations: ['83-79=4'] Exploring Operation: 36+2=38, Resulting Numbers: [4, 38] Generated Node #0,1,0: 38:[4, 38] Operation: 36+2=38 Exploring Operation: 36+4=40, Resulting Numbers: [2, 40] Generated Node #0,1,1: 38:[2, 40] Operation: 36+4=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[4, 38], Operations: ['83-79=4', '36+2=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[2, 40], Operations: ['83-79=4', '36+4=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[36, 79, 2, 83], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [36, 2, 4] Generated Node #0,1: 38:[36, 2, 4] Operation: 83-79=4 Moving to Node #0,1 Current State: 38:[36, 2, 4], Operations: ['83-79=4'] Exploring Operation: 36+4=40, Resulting Numbers: [2, 40] Generated Node #0,1,1: 38:[2, 40] Operation: 36+4=40 Moving to Node #0,1,1 Current State: 38:[2, 40], Operations: ['83-79=4', '36+4=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 35, 54, 78, 2 ]
100
[ "35+54=89", "2*89=178", "178-78=100" ]
Current State: 100:[35, 54, 78, 2], Operations: [] Exploring Operation: 35+54=89, Resulting Numbers: [78, 2, 89] Generated Node #2: [78, 2, 89] from Operation: 35+54=89 Current State: 100:[78, 2, 89], Operations: ['35+54=89'] Exploring Operation: 2*89=178, Resulting Numbers: [78, 178] Generated Node #3: [78, 178] from Operation: 2*89=178 Current State: 100:[78, 178], Operations: ['35+54=89', '2*89=178'] Exploring Operation: 178-78=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[35, 54, 78, 2], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [35, 2, 24] Generated Node #0,0: 100:[35, 2, 24] Operation: 78-54=24 Exploring Operation: 78-35=43, Resulting Numbers: [54, 2, 43] Generated Node #0,1: 100:[54, 2, 43] Operation: 78-35=43 Moving to Node #0,0 Current State: 100:[35, 2, 24], Operations: ['78-54=24'] Exploring Operation: 35-2=33, Resulting Numbers: [24, 33] Generated Node #0,0,0: 100:[24, 33] Operation: 35-2=33 Exploring Operation: 35-24=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 100:[2, 11] Operation: 35-24=11 Moving to Node #0,1 Current State: 100:[54, 2, 43], Operations: ['78-35=43'] Exploring Operation: 54+43=97, Resulting Numbers: [2, 97] Generated Node #0,1,0: 100:[2, 97] Operation: 54+43=97 Exploring Operation: 54-43=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 100:[2, 11] Operation: 54-43=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[2, 11], Operations: ['78-35=43', '54-43=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,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:[2, 97], Operations: ['78-35=43', '54+43=97'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,100 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: 100:[2, 11], Operations: ['78-54=24', '35-24=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[24, 33], Operations: ['78-54=24', '35-2=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 19, 11, 2, 13 ]
75
[ "19+13=32", "2*32=64", "11+64=75" ]
Current State: 75:[19, 11, 2, 13], Operations: [] Exploring Operation: 19+13=32, Resulting Numbers: [11, 2, 32] Generated Node #2: [11, 2, 32] from Operation: 19+13=32 Current State: 75:[11, 2, 32], Operations: ['19+13=32'] Exploring Operation: 2*32=64, Resulting Numbers: [11, 64] Generated Node #3: [11, 64] from Operation: 2*32=64 Current State: 75:[11, 64], Operations: ['19+13=32', '2*32=64'] Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[19, 11, 2, 13], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [2, 13, 8] Generated Node #0,0: 75:[2, 13, 8] Operation: 19-11=8 Exploring Operation: 19-13=6, Resulting Numbers: [11, 2, 6] Generated Node #0,1: 75:[11, 2, 6] Operation: 19-13=6 Moving to Node #0,0 Current State: 75:[2, 13, 8], Operations: ['19-11=8'] Exploring Operation: 13-8=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 75:[2, 5] Operation: 13-8=5 Exploring Operation: 2+13=15, Resulting Numbers: [8, 15] Generated Node #0,0,1: 75:[8, 15] Operation: 2+13=15 Moving to Node #0,1 Current State: 75:[11, 2, 6], Operations: ['19-13=6'] Exploring Operation: 11-6=5, Resulting Numbers: [2, 5] Generated Node #0,1,0: 75:[2, 5] Operation: 11-6=5 Exploring Operation: 11+2=13, Resulting Numbers: [6, 13] Generated Node #0,1,1: 75:[6, 13] Operation: 11+2=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[2, 5], Operations: ['19-13=6', '11-6=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[6, 13], Operations: ['19-13=6', '11+2=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,75 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: 75:[2, 5], Operations: ['19-11=8', '13-8=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[8, 15], Operations: ['19-11=8', '2+13=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,75 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 38, 47, 35, 2 ]
88
[ "47-38=9", "35+9=44", "2*44=88" ]
Current State: 88:[38, 47, 35, 2], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [35, 2, 9] Generated Node #2: [35, 2, 9] from Operation: 47-38=9 Current State: 88:[35, 2, 9], Operations: ['47-38=9'] Exploring Operation: 35+9=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 35+9=44 Current State: 88:[2, 44], Operations: ['47-38=9', '35+9=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 47, 35, 2], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [47, 2, 3] Generated Node #0,0: 88:[47, 2, 3] Operation: 38-35=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[47, 2, 3], Operations: ['38-35=3'] Exploring Operation: 47-3=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 88:[2, 44] Operation: 47-3=44 Moving to Node #0,0,0 Current State: 88:[2, 44], Operations: ['38-35=3', '47-3=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[38, 47, 35, 2], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [47, 2, 3] Generated Node #0,0: 88:[47, 2, 3] Operation: 38-35=3 Moving to Node #0,0 Current State: 88:[47, 2, 3], Operations: ['38-35=3'] Exploring Operation: 47-3=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 88:[2, 44] Operation: 47-3=44 Moving to Node #0,0,0 Current State: 88:[2, 44], Operations: ['38-35=3', '47-3=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 56, 52, 38, 48 ]
98
[ "56+52=108", "48-38=10", "108-10=98" ]
Current State: 98:[56, 52, 38, 48], Operations: [] Exploring Operation: 56+52=108, Resulting Numbers: [38, 48, 108] Generated Node #2: [38, 48, 108] from Operation: 56+52=108 Current State: 98:[38, 48, 108], Operations: ['56+52=108'] Exploring Operation: 48-38=10, Resulting Numbers: [108, 10] Generated Node #3: [108, 10] from Operation: 48-38=10 Current State: 98:[108, 10], Operations: ['56+52=108', '48-38=10'] Exploring Operation: 108-10=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[56, 52, 38, 48], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [52, 48, 18] Generated Node #0,0: 98:[52, 48, 18] Operation: 56-38=18 Exploring Operation: 56+38=94, Resulting Numbers: [52, 48, 94] Generated Node #0,1: 98:[52, 48, 94] Operation: 56+38=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[52, 48, 18], Operations: ['56-38=18'] Exploring Operation: 52-48=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 98:[18, 4] Operation: 52-48=4 Exploring Operation: 52+48=100, Resulting Numbers: [18, 100] Generated Node #0,0,1: 98:[18, 100] Operation: 52+48=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[18, 4], Operations: ['56-38=18', '52-48=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,98 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[18, 100], Operations: ['56-38=18', '52+48=100'] Exploring Operation: 100-18=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 18+100=118, Resulting Numbers: [118] 118,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[52, 48, 94], Operations: ['56+38=94'] Exploring Operation: 52+48=100, Resulting Numbers: [94, 100] Generated Node #0,1,0: 98:[94, 100] Operation: 52+48=100 Exploring Operation: 52-48=4, Resulting Numbers: [94, 4] Generated Node #0,1,1: 98:[94, 4] Operation: 52-48=4 Moving to Node #0,1,0 Current State: 98:[94, 100], Operations: ['56+38=94', '52+48=100'] Exploring Operation: 100-94=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 94+100=194, Resulting Numbers: [194] 194,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[94, 4], Operations: ['56+38=94', '52-48=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[56, 52, 38, 48], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [52, 48, 94] Generated Node #0,1: 98:[52, 48, 94] Operation: 56+38=94 Moving to Node #0,1 Current State: 98:[52, 48, 94], Operations: ['56+38=94'] Exploring Operation: 52-48=4, Resulting Numbers: [94, 4] Generated Node #0,1,1: 98:[94, 4] Operation: 52-48=4 Moving to Node #0,1,1 Current State: 98:[94, 4], Operations: ['56+38=94', '52-48=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 21, 37, 97, 15 ]
97
[ "37-21=16", "16-15=1", "97*1=97" ]
Current State: 97:[21, 37, 97, 15], Operations: [] Exploring Operation: 37-21=16, Resulting Numbers: [97, 15, 16] Generated Node #2: [97, 15, 16] from Operation: 37-21=16 Current State: 97:[97, 15, 16], Operations: ['37-21=16'] Exploring Operation: 16-15=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 16-15=1 Current State: 97:[97, 1], Operations: ['37-21=16', '16-15=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[21, 37, 97, 15], Operations: [] Exploring Operation: 21+37=58, Resulting Numbers: [97, 15, 58] Generated Node #0,0: 97:[97, 15, 58] Operation: 21+37=58 Exploring Operation: 21+15=36, Resulting Numbers: [37, 97, 36] Generated Node #0,1: 97:[37, 97, 36] Operation: 21+15=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[97, 15, 58], Operations: ['21+37=58'] Exploring Operation: 15+58=73, Resulting Numbers: [97, 73] Generated Node #0,0,0: 97:[97, 73] Operation: 15+58=73 Exploring Operation: 97+15=112, Resulting Numbers: [58, 112] Generated Node #0,0,1: 97:[58, 112] Operation: 97+15=112 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[97, 73], Operations: ['21+37=58', '15+58=73'] Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 97+73=170, Resulting Numbers: [170] 170,97 unequal: No Solution No 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: 97:[58, 112], Operations: ['21+37=58', '97+15=112'] Exploring Operation: 58+112=170, Resulting Numbers: [170] 170,97 unequal: No Solution Exploring Operation: 112-58=54, Resulting Numbers: [54] 54,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[37, 97, 36], Operations: ['21+15=36'] Exploring Operation: 37-36=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 37-36=1 Exploring Operation: 37+36=73, Resulting Numbers: [97, 73] Generated Node #0,1,1: 97:[97, 73] Operation: 37+36=73 Moving to Node #0,1,1 Current State: 97:[97, 73], Operations: ['21+15=36', '37+36=73'] Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 97+73=170, Resulting Numbers: [170] 170,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['21+15=36', '37-36=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[21, 37, 97, 15], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [37, 97, 36] Generated Node #0,1: 97:[37, 97, 36] Operation: 21+15=36 Moving to Node #0,1 Current State: 97:[37, 97, 36], Operations: ['21+15=36'] Exploring Operation: 37-36=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 37-36=1 Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['21+15=36', '37-36=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 39, 37, 71, 93 ]
44
[ "39-37=2", "93-71=22", "2*22=44" ]
Current State: 44:[39, 37, 71, 93], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [71, 93, 2] Generated Node #2: [71, 93, 2] from Operation: 39-37=2 Current State: 44:[71, 93, 2], Operations: ['39-37=2'] Exploring Operation: 93-71=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 93-71=22 Current State: 44:[2, 22], Operations: ['39-37=2', '93-71=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[39, 37, 71, 93], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [39, 71, 56] Generated Node #0,0: 44:[39, 71, 56] Operation: 93-37=56 Exploring Operation: 93-71=22, Resulting Numbers: [39, 37, 22] Generated Node #0,1: 44:[39, 37, 22] Operation: 93-71=22 Exploring Operation: 93-39=54, Resulting Numbers: [37, 71, 54] Generated Node #0,2: 44:[37, 71, 54] Operation: 93-39=54 Moving to Node #0,1 Current State: 44:[39, 37, 22], Operations: ['93-71=22'] Exploring Operation: 37-22=15, Resulting Numbers: [39, 15] Generated Node #0,1,0: 44:[39, 15] Operation: 37-22=15 Exploring Operation: 39-22=17, Resulting Numbers: [37, 17] Generated Node #0,1,1: 44:[37, 17] Operation: 39-22=17 Exploring Operation: 39-37=2, Resulting Numbers: [22, 2] Generated Node #0,1,2: 44:[22, 2] Operation: 39-37=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[22, 2], Operations: ['93-71=22', '39-37=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[39, 37, 71, 93], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [39, 37, 22] Generated Node #0,1: 44:[39, 37, 22] Operation: 93-71=22 Moving to Node #0,1 Current State: 44:[39, 37, 22], Operations: ['93-71=22'] Exploring Operation: 39-37=2, Resulting Numbers: [22, 2] Generated Node #0,1,2: 44:[22, 2] Operation: 39-37=2 Moving to Node #0,1,2 Current State: 44:[22, 2], Operations: ['93-71=22', '39-37=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 1, 17, 6, 59 ]
70
[ "1*17=17", "59-6=53", "17+53=70" ]
Current State: 70:[1, 17, 6, 59], Operations: [] Exploring Operation: 1*17=17, Resulting Numbers: [6, 59, 17] Generated Node #2: [6, 59, 17] from Operation: 1*17=17 Current State: 70:[6, 59, 17], Operations: ['1*17=17'] Exploring Operation: 59-6=53, Resulting Numbers: [17, 53] Generated Node #3: [17, 53] from Operation: 59-6=53 Current State: 70:[17, 53], Operations: ['1*17=17', '59-6=53'] Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[1, 17, 6, 59], Operations: [] Exploring Operation: 17+59=76, Resulting Numbers: [1, 6, 76] Generated Node #0,0: 70:[1, 6, 76] Operation: 17+59=76 Exploring Operation: 59-17=42, Resulting Numbers: [1, 6, 42] Generated Node #0,1: 70:[1, 6, 42] Operation: 59-17=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[1, 6, 76], Operations: ['17+59=76'] Exploring Operation: 1+6=7, Resulting Numbers: [76, 7] Generated Node #0,0,0: 70:[76, 7] Operation: 1+6=7 Exploring Operation: 76-6=70, Resulting Numbers: [1, 70] Generated Node #0,0,1: 70:[1, 70] Operation: 76-6=70 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[1, 70], Operations: ['17+59=76', '76-6=70'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[1, 17, 6, 59], Operations: [] Exploring Operation: 17+59=76, Resulting Numbers: [1, 6, 76] Generated Node #0,0: 70:[1, 6, 76] Operation: 17+59=76 Moving to Node #0,0 Current State: 70:[1, 6, 76], Operations: ['17+59=76'] Exploring Operation: 76-6=70, Resulting Numbers: [1, 70] Generated Node #0,0,1: 70:[1, 70] Operation: 76-6=70 Moving to Node #0,0,1 Current State: 70:[1, 70], Operations: ['17+59=76', '76-6=70'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 37, 5, 9, 32 ]
50
[ "37-32=5", "5*9=45", "5+45=50" ]
Current State: 50:[37, 5, 9, 32], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [5, 9, 5] Generated Node #2: [5, 9, 5] from Operation: 37-32=5 Current State: 50:[5, 9, 5], Operations: ['37-32=5'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,50 equal: Goal Reached Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[37, 5, 9, 32], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [5, 32, 28] Generated Node #0,0: 50:[5, 32, 28] Operation: 37-9=28 Exploring Operation: 37-32=5, Resulting Numbers: [5, 9, 5] Generated Node #0,1: 50:[5, 9, 5] Operation: 37-32=5 Exploring Operation: 37+9=46, Resulting Numbers: [5, 32, 46] Generated Node #0,2: 50:[5, 32, 46] Operation: 37+9=46 Moving to Node #0,1 Current State: 50:[5, 9, 5], Operations: ['37-32=5'] Exploring Operation: 5*5=25, Resulting Numbers: [9, 25] Generated Node #0,1,0: 50:[9, 25] Operation: 5*5=25 Exploring Operation: 5+5=10, Resulting Numbers: [9, 10] Generated Node #0,1,1: 50:[9, 10] Operation: 5+5=10 Exploring Operation: 9-5=4, Resulting Numbers: [5, 4] Generated Node #0,1,2: 50:[5, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[9, 25], Operations: ['37-32=5', '5*5=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,50 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,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,1 Current State: 50:[9, 10], Operations: ['37-32=5', '5+5=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,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:[5, 4], Operations: ['37-32=5', '9-5=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,50 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: 50:[5, 32, 28], Operations: ['37-9=28'] Exploring Operation: 32-28=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 50:[5, 4] Operation: 32-28=4 Exploring Operation: 28-5=23, Resulting Numbers: [32, 23] Generated Node #0,0,1: 50:[32, 23] Operation: 28-5=23 Exploring Operation: 32-5=27, Resulting Numbers: [28, 27] Generated Node #0,0,2: 50:[28, 27] Operation: 32-5=27 Moving to Node #0,2 Current State: 50:[5, 32, 46], Operations: ['37+9=46'] Exploring Operation: 5+46=51, Resulting Numbers: [32, 51] Generated Node #0,2,0: 50:[32, 51] Operation: 5+46=51 Exploring Operation: 32-5=27, Resulting Numbers: [46, 27] Generated Node #0,2,1: 50:[46, 27] Operation: 32-5=27 Exploring Operation: 46-32=14, Resulting Numbers: [5, 14] Generated Node #0,2,2: 50:[5, 14] Operation: 46-32=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[5, 14], Operations: ['37+9=46', '46-32=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[46, 27], Operations: ['37+9=46', '32-5=27'] Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,50 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[32, 51], Operations: ['37+9=46', '5+46=51'] Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,50 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,50 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: 50:[5, 4], Operations: ['37-9=28', '32-28=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[28, 27], Operations: ['37-9=28', '32-5=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,50 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[32, 23], Operations: ['37-9=28', '28-5=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,50 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 36, 29, 34, 80 ]
100
[ "34-29=5", "36*5=180", "180-80=100" ]
Current State: 100:[36, 29, 34, 80], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [36, 80, 5] Generated Node #2: [36, 80, 5] from Operation: 34-29=5 Current State: 100:[36, 80, 5], Operations: ['34-29=5'] Exploring Operation: 36*5=180, Resulting Numbers: [80, 180] Generated Node #3: [80, 180] from Operation: 36*5=180 Current State: 100:[80, 180], Operations: ['34-29=5', '36*5=180'] Exploring Operation: 180-80=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[36, 29, 34, 80], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [29, 34, 44] Generated Node #0,0: 100:[29, 34, 44] Operation: 80-36=44 Moving to Node #0,0 Current State: 100:[29, 34, 44], Operations: ['80-36=44'] Exploring Operation: 44-34=10, Resulting Numbers: [29, 10] Generated Node #0,0,0: 100:[29, 10] Operation: 44-34=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[29, 10], Operations: ['80-36=44', '44-34=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 10, 88, 24, 2 ]
33
[ "88+2=90", "90/10=9", "24+9=33" ]
Current State: 33:[10, 88, 24, 2], Operations: [] Exploring Operation: 88+2=90, Resulting Numbers: [10, 24, 90] Generated Node #2: [10, 24, 90] from Operation: 88+2=90 Current State: 33:[10, 24, 90], Operations: ['88+2=90'] Exploring Operation: 90/10=9, Resulting Numbers: [24, 9] Generated Node #3: [24, 9] from Operation: 90/10=9 Current State: 33:[24, 9], Operations: ['88+2=90', '90/10=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[10, 88, 24, 2], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [10, 24, 44] Generated Node #0,0: 33:[10, 24, 44] Operation: 88/2=44 Exploring Operation: 88-10=78, Resulting Numbers: [24, 2, 78] Generated Node #0,1: 33:[24, 2, 78] Operation: 88-10=78 Exploring Operation: 88-24=64, Resulting Numbers: [10, 2, 64] Generated Node #0,2: 33:[10, 2, 64] Operation: 88-24=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[10, 24, 44], Operations: ['88/2=44'] Exploring Operation: 10+24=34, Resulting Numbers: [44, 34] Generated Node #0,0,0: 33:[44, 34] Operation: 10+24=34 Exploring Operation: 44-24=20, Resulting Numbers: [10, 20] Generated Node #0,0,1: 33:[10, 20] Operation: 44-24=20 Exploring Operation: 44-10=34, Resulting Numbers: [24, 34] Generated Node #0,0,2: 33:[24, 34] Operation: 44-10=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[10, 20], Operations: ['88/2=44', '44-24=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[24, 34], Operations: ['88/2=44', '44-10=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[44, 34], Operations: ['88/2=44', '10+24=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[10, 2, 64], Operations: ['88-24=64'] Exploring Operation: 64-2=62, Resulting Numbers: [10, 62] Generated Node #0,2,0: 33:[10, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [10, 32] Generated Node #0,2,1: 33:[10, 32] Operation: 64/2=32 Exploring Operation: 64-10=54, Resulting Numbers: [2, 54] Generated Node #0,2,2: 33:[2, 54] Operation: 64-10=54 Moving to Node #0,2,1 Current State: 33:[10, 32], Operations: ['88-24=64', '64/2=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[2, 54], Operations: ['88-24=64', '64-10=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[10, 62], Operations: ['88-24=64', '64-2=62'] Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,33 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,33 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,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,1 Current State: 33:[24, 2, 78], Operations: ['88-10=78'] Exploring Operation: 78/2=39, Resulting Numbers: [24, 39] Generated Node #0,1,0: 33:[24, 39] Operation: 78/2=39 Exploring Operation: 78-24=54, Resulting Numbers: [2, 54] Generated Node #0,1,1: 33:[2, 54] Operation: 78-24=54 Exploring Operation: 24/2=12, Resulting Numbers: [78, 12] Generated Node #0,1,2: 33:[78, 12] Operation: 24/2=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[24, 39], Operations: ['88-10=78', '78/2=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[2, 54], Operations: ['88-10=78', '78-24=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[78, 12], Operations: ['88-10=78', '24/2=12'] Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,33 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 24, 10, 11, 93 ]
41
[ "93-24=69", "10*11=110", "110-69=41" ]
Current State: 41:[24, 10, 11, 93], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [10, 11, 69] Generated Node #2: [10, 11, 69] from Operation: 93-24=69 Current State: 41:[10, 11, 69], Operations: ['93-24=69'] Exploring Operation: 10*11=110, Resulting Numbers: [69, 110] Generated Node #3: [69, 110] from Operation: 10*11=110 Current State: 41:[69, 110], Operations: ['93-24=69', '10*11=110'] Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[24, 10, 11, 93], Operations: [] Exploring Operation: 24+11=35, Resulting Numbers: [10, 93, 35] Generated Node #0,0: 41:[10, 93, 35] Operation: 24+11=35 Exploring Operation: 24+10=34, Resulting Numbers: [11, 93, 34] Generated Node #0,1: 41:[11, 93, 34] Operation: 24+10=34 Exploring Operation: 93-24=69, Resulting Numbers: [10, 11, 69] Generated Node #0,2: 41:[10, 11, 69] Operation: 93-24=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[10, 93, 35], Operations: ['24+11=35'] Exploring Operation: 93-10=83, Resulting Numbers: [35, 83] Generated Node #0,0,0: 41:[35, 83] Operation: 93-10=83 Exploring Operation: 93-35=58, Resulting Numbers: [10, 58] Generated Node #0,0,1: 41:[10, 58] Operation: 93-35=58 Exploring Operation: 10+35=45, Resulting Numbers: [93, 45] Generated Node #0,0,2: 41:[93, 45] Operation: 10+35=45 Moving to Node #0,0,0 Current State: 41:[35, 83], Operations: ['24+11=35', '93-10=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,41 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[10, 58], Operations: ['24+11=35', '93-35=58'] Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,41 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[93, 45], Operations: ['24+11=35', '10+35=45'] Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,41 unequal: No Solution Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,41 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[11, 93, 34], Operations: ['24+10=34'] Exploring Operation: 93-34=59, Resulting Numbers: [11, 59] Generated Node #0,1,0: 41:[11, 59] Operation: 93-34=59 Exploring Operation: 93-11=82, Resulting Numbers: [34, 82] Generated Node #0,1,1: 41:[34, 82] Operation: 93-11=82 Exploring Operation: 11+34=45, Resulting Numbers: [93, 45] Generated Node #0,1,2: 41:[93, 45] Operation: 11+34=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[11, 59], Operations: ['24+10=34', '93-34=59'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[34, 82], Operations: ['24+10=34', '93-11=82'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,41 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[93, 45], Operations: ['24+10=34', '11+34=45'] Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,41 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[10, 11, 69], Operations: ['93-24=69'] Exploring Operation: 10+11=21, Resulting Numbers: [69, 21] Generated Node #0,2,0: 41:[69, 21] Operation: 10+11=21 Exploring Operation: 69-10=59, Resulting Numbers: [11, 59] Generated Node #0,2,1: 41:[11, 59] Operation: 69-10=59 Exploring Operation: 69-11=58, Resulting Numbers: [10, 58] Generated Node #0,2,2: 41:[10, 58] Operation: 69-11=58 Moving to Node #0,2,0 Current State: 41:[69, 21], Operations: ['93-24=69', '10+11=21'] Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,41 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[11, 59], Operations: ['93-24=69', '69-10=59'] Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,41 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[10, 58], Operations: ['93-24=69', '69-11=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,41 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
[ 11, 4, 66, 68 ]
94
[ "11+66=77", "68/4=17", "77+17=94" ]
Current State: 94:[11, 4, 66, 68], Operations: [] Exploring Operation: 11+66=77, Resulting Numbers: [4, 68, 77] Generated Node #2: [4, 68, 77] from Operation: 11+66=77 Current State: 94:[4, 68, 77], Operations: ['11+66=77'] Exploring Operation: 68/4=17, Resulting Numbers: [77, 17] Generated Node #3: [77, 17] from Operation: 68/4=17 Current State: 94:[77, 17], Operations: ['11+66=77', '68/4=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[11, 4, 66, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [11, 4, 2] Generated Node #0,0: 94:[11, 4, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 94:[11, 4, 2], Operations: ['68-66=2'] Exploring Operation: 11*4=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 94:[2, 44] Operation: 11*4=44 Moving to Node #0,0,0 Current State: 94:[2, 44], Operations: ['68-66=2', '11*4=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,94 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 86, 15, 25, 10 ]
91
[ "15-10=5", "25/5=5", "86+5=91" ]
Current State: 91:[86, 15, 25, 10], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [86, 25, 5] Generated Node #2: [86, 25, 5] from Operation: 15-10=5 Current State: 91:[86, 25, 5], Operations: ['15-10=5'] Exploring Operation: 25/5=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 25/5=5 Current State: 91:[86, 5], Operations: ['15-10=5', '25/5=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[86, 15, 25, 10], Operations: [] Exploring Operation: 25-15=10, Resulting Numbers: [86, 10, 10] Generated Node #0,0: 91:[86, 10, 10] Operation: 25-15=10 Exploring Operation: 25-10=15, Resulting Numbers: [86, 15, 15] Generated Node #0,1: 91:[86, 15, 15] Operation: 25-10=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[86, 15, 15], Operations: ['25-10=15'] Exploring Operation: 86+15=101, Resulting Numbers: [15, 101] Generated Node #0,1,0: 91:[15, 101] Operation: 86+15=101 Exploring Operation: 15/15=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 91:[86, 1] Operation: 15/15=1 Moving to Node #0,1,1 Current State: 91:[86, 1], Operations: ['25-10=15', '15/15=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[15, 101], Operations: ['25-10=15', '86+15=101'] Exploring Operation: 101-15=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 15+101=116, Resulting Numbers: [116] 116,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[86, 10, 10], Operations: ['25-15=10'] Exploring Operation: 86+10=96, Resulting Numbers: [10, 96] Generated Node #0,0,0: 91:[10, 96] Operation: 86+10=96 Exploring Operation: 86+10=96, Resulting Numbers: [10, 96] Generated Node #0,0,1: 91:[10, 96] Operation: 86+10=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[10, 96], Operations: ['25-15=10', '86+10=96'] Exploring Operation: 10+96=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[10, 96], Operations: ['25-15=10', '86+10=96'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 10+96=106, Resulting Numbers: [106] 106,91 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
[ 2, 19, 92, 19 ]
35
[ "2*19=38", "92-19=73", "73-38=35" ]
Current State: 35:[2, 19, 92, 19], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [92, 38] Generated Node #2: [92, 38] from Operation: 2*19=38 Current State: 35:[92, 38], Operations: ['2*19=38'] Exploring Operation: 92-19=73, Resulting Numbers: [38, 73] Generated Node #3: [38, 73] from Operation: 92-19=73 Current State: 35:[38, 73], Operations: ['2*19=38', '92-19=73'] Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[2, 19, 92, 19], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [19, 19, 46] Generated Node #0,0: 35:[19, 19, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[19, 19, 46], Operations: ['92/2=46'] Exploring Operation: 19+19=38, Resulting Numbers: [46, 38] Generated Node #0,0,0: 35:[46, 38] Operation: 19+19=38 Moving to Node #0,0,0 Current State: 35:[46, 38], Operations: ['92/2=46', '19+19=38'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 51, 80, 4 ]
44
[ "80+4=84", "84/12=7", "51-7=44" ]
Current State: 44:[12, 51, 80, 4], Operations: [] Exploring Operation: 80+4=84, Resulting Numbers: [12, 51, 84] Generated Node #2: [12, 51, 84] from Operation: 80+4=84 Current State: 44:[12, 51, 84], Operations: ['80+4=84'] Exploring Operation: 84/12=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 84/12=7 Current State: 44:[51, 7], Operations: ['80+4=84', '84/12=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[12, 51, 80, 4], Operations: [] Exploring Operation: 80-51=29, Resulting Numbers: [12, 4, 29] Generated Node #0,0: 44:[12, 4, 29] Operation: 80-51=29 Moving to Node #0,0 Current State: 44:[12, 4, 29], Operations: ['80-51=29'] Exploring Operation: 12+29=41, Resulting Numbers: [4, 41] Generated Node #0,0,0: 44:[4, 41] Operation: 12+29=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[4, 41], Operations: ['80-51=29', '12+29=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 2, 16, 68 ]
25
[ "16-7=9", "68/2=34", "34-9=25" ]
Current State: 25:[7, 2, 16, 68], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [2, 68, 9] Generated Node #2: [2, 68, 9] from Operation: 16-7=9 Current State: 25:[2, 68, 9], Operations: ['16-7=9'] Exploring Operation: 68/2=34, Resulting Numbers: [9, 34] Generated Node #3: [9, 34] from Operation: 68/2=34 Current State: 25:[9, 34], Operations: ['16-7=9', '68/2=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[7, 2, 16, 68], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [7, 16, 34] Generated Node #0,0: 25:[7, 16, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[7, 16, 34], Operations: ['68/2=34'] Exploring Operation: 34-16=18, Resulting Numbers: [7, 18] Generated Node #0,0,0: 25:[7, 18] Operation: 34-16=18 Moving to Node #0,0,0 Current State: 25:[7, 18], Operations: ['68/2=34', '34-16=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[7, 2, 16, 68], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [7, 16, 34] Generated Node #0,0: 25:[7, 16, 34] Operation: 68/2=34 Moving to Node #0,0 Current State: 25:[7, 16, 34], Operations: ['68/2=34'] Exploring Operation: 34-16=18, Resulting Numbers: [7, 18] Generated Node #0,0,0: 25:[7, 18] Operation: 34-16=18 Moving to Node #0,0,0 Current State: 25:[7, 18], Operations: ['68/2=34', '34-16=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 39, 80, 61, 84 ]
25
[ "39+61=100", "84-80=4", "100/4=25" ]
Current State: 25:[39, 80, 61, 84], Operations: [] Exploring Operation: 39+61=100, Resulting Numbers: [80, 84, 100] Generated Node #2: [80, 84, 100] from Operation: 39+61=100 Current State: 25:[80, 84, 100], Operations: ['39+61=100'] Exploring Operation: 84-80=4, Resulting Numbers: [100, 4] Generated Node #3: [100, 4] from Operation: 84-80=4 Current State: 25:[100, 4], Operations: ['39+61=100', '84-80=4'] Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[39, 80, 61, 84], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [61, 84, 41] Generated Node #0,0: 25:[61, 84, 41] Operation: 80-39=41 Exploring Operation: 84-80=4, Resulting Numbers: [39, 61, 4] Generated Node #0,1: 25:[39, 61, 4] Operation: 84-80=4 Exploring Operation: 84-61=23, Resulting Numbers: [39, 80, 23] Generated Node #0,2: 25:[39, 80, 23] Operation: 84-61=23 Exploring Operation: 84-39=45, Resulting Numbers: [80, 61, 45] Generated Node #0,3: 25:[80, 61, 45] Operation: 84-39=45 Exploring Operation: 80-61=19, Resulting Numbers: [39, 84, 19] Generated Node #0,4: 25:[39, 84, 19] Operation: 80-61=19 Moving to Node #0,1 Current State: 25:[39, 61, 4], Operations: ['84-80=4'] Exploring Operation: 39+4=43, Resulting Numbers: [61, 43] Generated Node #0,1,0: 25:[61, 43] Operation: 39+4=43 Exploring Operation: 61+4=65, Resulting Numbers: [39, 65] Generated Node #0,1,1: 25:[39, 65] Operation: 61+4=65 Exploring Operation: 39-4=35, Resulting Numbers: [61, 35] Generated Node #0,1,2: 25:[61, 35] Operation: 39-4=35 Exploring Operation: 61-4=57, Resulting Numbers: [39, 57] Generated Node #0,1,3: 25:[39, 57] Operation: 61-4=57 Exploring Operation: 61-39=22, Resulting Numbers: [4, 22] Generated Node #0,1,4: 25:[4, 22] Operation: 61-39=22 Moving to Node #0,2 Current State: 25:[39, 80, 23], Operations: ['84-61=23'] Exploring Operation: 80+23=103, Resulting Numbers: [39, 103] Generated Node #0,2,0: 25:[39, 103] Operation: 80+23=103 Exploring Operation: 80-23=57, Resulting Numbers: [39, 57] Generated Node #0,2,1: 25:[39, 57] Operation: 80-23=57 Exploring Operation: 80-39=41, Resulting Numbers: [23, 41] Generated Node #0,2,2: 25:[23, 41] Operation: 80-39=41 Exploring Operation: 39+23=62, Resulting Numbers: [80, 62] Generated Node #0,2,3: 25:[80, 62] Operation: 39+23=62 Exploring Operation: 39-23=16, Resulting Numbers: [80, 16] Generated Node #0,2,4: 25:[80, 16] Operation: 39-23=16 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[23, 41], Operations: ['84-61=23', '80-39=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,25 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[39, 57], Operations: ['84-61=23', '80-23=57'] Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,25 unequal: No Solution Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 25:[80, 16], Operations: ['84-61=23', '39-23=16'] Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[39, 103], Operations: ['84-61=23', '80+23=103'] Exploring Operation: 39+103=142, Resulting Numbers: [142] 142,25 unequal: No Solution Exploring Operation: 103-39=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 39*103=4017, Resulting Numbers: [4017] 4017,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[80, 62], Operations: ['84-61=23', '39+23=62'] Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,25 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 25:[39, 84, 19], Operations: ['80-61=19'] Exploring Operation: 84-19=65, Resulting Numbers: [39, 65] Generated Node #0,4,0: 25:[39, 65] Operation: 84-19=65 Exploring Operation: 39+19=58, Resulting Numbers: [84, 58] Generated Node #0,4,1: 25:[84, 58] Operation: 39+19=58 Exploring Operation: 84+19=103, Resulting Numbers: [39, 103] Generated Node #0,4,2: 25:[39, 103] Operation: 84+19=103 Exploring Operation: 84-39=45, Resulting Numbers: [19, 45] Generated Node #0,4,3: 25:[19, 45] Operation: 84-39=45 Exploring Operation: 39-19=20, Resulting Numbers: [84, 20] Generated Node #0,4,4: 25:[84, 20] Operation: 39-19=20 Moving to Node #0,0 Current State: 25:[61, 84, 41], Operations: ['80-39=41'] Exploring Operation: 61+84=145, Resulting Numbers: [41, 145] Generated Node #0,0,0: 25:[41, 145] Operation: 61+84=145 Exploring Operation: 84-41=43, Resulting Numbers: [61, 43] Generated Node #0,0,1: 25:[61, 43] Operation: 84-41=43 Exploring Operation: 61+41=102, Resulting Numbers: [84, 102] Generated Node #0,0,2: 25:[84, 102] Operation: 61+41=102 Exploring Operation: 84-61=23, Resulting Numbers: [41, 23] Generated Node #0,0,3: 25:[41, 23] Operation: 84-61=23 Exploring Operation: 61-41=20, Resulting Numbers: [84, 20] Generated Node #0,0,4: 25:[84, 20] Operation: 61-41=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[41, 23], Operations: ['80-39=41', '84-61=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,25 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,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,1 Current State: 25:[61, 43], Operations: ['80-39=41', '84-41=43'] Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,25 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,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,4 Current State: 25:[84, 20], Operations: ['80-39=41', '61-41=20'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 84+20=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 84*20=1680, Resulting Numbers: [1680] 1680,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,0 Current State: 25:[41, 145], Operations: ['80-39=41', '61+84=145'] Exploring Operation: 145-41=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 41*145=5945, Resulting Numbers: [5945] 5945,25 unequal: No Solution Exploring Operation: 41+145=186, Resulting Numbers: [186] 186,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,2 Current State: 25:[84, 102], Operations: ['80-39=41', '61+41=102'] Exploring Operation: 84*102=8568, Resulting Numbers: [8568] 8568,25 unequal: No Solution Exploring Operation: 102-84=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 84+102=186, Resulting Numbers: [186] 186,25 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: 25:[80, 61, 45], Operations: ['84-39=45'] Exploring Operation: 80-61=19, Resulting Numbers: [45, 19] Generated Node #0,3,0: 25:[45, 19] Operation: 80-61=19 Exploring Operation: 80-45=35, Resulting Numbers: [61, 35] Generated Node #0,3,1: 25:[61, 35] Operation: 80-45=35 Exploring Operation: 80+61=141, Resulting Numbers: [45, 141] Generated Node #0,3,2: 25:[45, 141] Operation: 80+61=141 Exploring Operation: 61-45=16, Resulting Numbers: [80, 16] Generated Node #0,3,3: 25:[80, 16] Operation: 61-45=16 Exploring Operation: 80+45=125, Resulting Numbers: [61, 125] Generated Node #0,3,4: 25:[61, 125] Operation: 80+45=125 Moving to Node #0,1,4 Current State: 25:[4, 22], Operations: ['84-80=4', '61-39=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,25 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[19, 45], Operations: ['80-61=19', '84-39=45'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[45, 19], Operations: ['84-39=45', '80-61=19'] Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,25 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[39, 57], Operations: ['84-80=4', '61-4=57'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[61, 35], Operations: ['84-39=45', '80-45=35'] Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,25 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[61, 35], Operations: ['84-80=4', '39-4=35'] Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,25 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[39, 65], Operations: ['80-61=19', '84-19=65'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[39, 65], Operations: ['84-80=4', '61+4=65'] Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,25 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[61, 43], Operations: ['84-80=4', '39+4=43'] Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,25 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[80, 16], Operations: ['84-39=45', '61-45=16'] Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,25 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[84, 20], Operations: ['80-61=19', '39-19=20'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 84*20=1680, Resulting Numbers: [1680] 1680,25 unequal: No Solution Exploring Operation: 84+20=104, Resulting Numbers: [104] 104,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[39, 103], Operations: ['80-61=19', '84+19=103'] Exploring Operation: 103-39=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 39+103=142, Resulting Numbers: [142] 142,25 unequal: No Solution Exploring Operation: 39*103=4017, Resulting Numbers: [4017] 4017,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[84, 58], Operations: ['80-61=19', '39+19=58'] Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,25 unequal: No Solution Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[61, 125], Operations: ['84-39=45', '80+45=125'] Exploring Operation: 61*125=7625, Resulting Numbers: [7625] 7625,25 unequal: No Solution Exploring Operation: 125-61=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 61+125=186, Resulting Numbers: [186] 186,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[45, 141], Operations: ['84-39=45', '80+61=141'] Exploring Operation: 45*141=6345, Resulting Numbers: [6345] 6345,25 unequal: No Solution Exploring Operation: 141-45=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 45+141=186, Resulting Numbers: [186] 186,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 46, 18, 63, 92 ]
90
[ "92/46=2", "63-18=45", "2*45=90" ]
Current State: 90:[46, 18, 63, 92], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [18, 63, 2] Generated Node #2: [18, 63, 2] from Operation: 92/46=2 Current State: 90:[18, 63, 2], Operations: ['92/46=2'] Exploring Operation: 63-18=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 63-18=45 Current State: 90:[2, 45], Operations: ['92/46=2', '63-18=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[46, 18, 63, 92], Operations: [] Exploring Operation: 92-63=29, Resulting Numbers: [46, 18, 29] Generated Node #0,0: 90:[46, 18, 29] Operation: 92-63=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[46, 18, 29], Operations: ['92-63=29'] Exploring Operation: 46-29=17, Resulting Numbers: [18, 17] Generated Node #0,0,0: 90:[18, 17] Operation: 46-29=17 Moving to Node #0,0,0 Current State: 90:[18, 17], Operations: ['92-63=29', '46-29=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,90 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
[ 73, 37, 3, 89 ]
91
[ "73+89=162", "162/3=54", "37+54=91" ]
Current State: 91:[73, 37, 3, 89], Operations: [] Exploring Operation: 73+89=162, Resulting Numbers: [37, 3, 162] Generated Node #2: [37, 3, 162] from Operation: 73+89=162 Current State: 91:[37, 3, 162], Operations: ['73+89=162'] Exploring Operation: 162/3=54, Resulting Numbers: [37, 54] Generated Node #3: [37, 54] from Operation: 162/3=54 Current State: 91:[37, 54], Operations: ['73+89=162', '162/3=54'] Exploring Operation: 37+54=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[73, 37, 3, 89], Operations: [] Exploring Operation: 73-37=36, Resulting Numbers: [3, 89, 36] Generated Node #0,0: 91:[3, 89, 36] Operation: 73-37=36 Exploring Operation: 73+37=110, Resulting Numbers: [3, 89, 110] Generated Node #0,1: 91:[3, 89, 110] Operation: 73+37=110 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[3, 89, 110], Operations: ['73+37=110'] Exploring Operation: 110-3=107, Resulting Numbers: [89, 107] Generated Node #0,1,0: 91:[89, 107] Operation: 110-3=107 Exploring Operation: 110-89=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 91:[3, 21] Operation: 110-89=21 Moving to Node #0,1,1 Current State: 91:[3, 21], Operations: ['73+37=110', '110-89=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[89, 107], Operations: ['73+37=110', '110-3=107'] Exploring Operation: 107-89=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 89+107=196, Resulting Numbers: [196] 196,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[3, 89, 36], Operations: ['73-37=36'] Exploring Operation: 36/3=12, Resulting Numbers: [89, 12] Generated Node #0,0,0: 91:[89, 12] Operation: 36/3=12 Exploring Operation: 3*36=108, Resulting Numbers: [89, 108] Generated Node #0,0,1: 91:[89, 108] Operation: 3*36=108 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[89, 12], Operations: ['73-37=36', '36/3=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,91 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[89, 108], Operations: ['73-37=36', '3*36=108'] Exploring Operation: 108-89=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 89+108=197, Resulting Numbers: [197] 197,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 5, 24, 60, 2 ]
44
[ "5-2=3", "60/3=20", "24+20=44" ]
Current State: 44:[5, 24, 60, 2], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [24, 60, 3] Generated Node #2: [24, 60, 3] from Operation: 5-2=3 Current State: 44:[24, 60, 3], Operations: ['5-2=3'] Exploring Operation: 60/3=20, Resulting Numbers: [24, 20] Generated Node #3: [24, 20] from Operation: 60/3=20 Current State: 44:[24, 20], Operations: ['5-2=3', '60/3=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 24, 60, 2], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [24, 2, 12] Generated Node #0,0: 44:[24, 2, 12] Operation: 60/5=12 Exploring Operation: 60-24=36, Resulting Numbers: [5, 2, 36] Generated Node #0,1: 44:[5, 2, 36] Operation: 60-24=36 Moving to Node #0,0 Current State: 44:[24, 2, 12], Operations: ['60/5=12'] Exploring Operation: 24-2=22, Resulting Numbers: [12, 22] Generated Node #0,0,0: 44:[12, 22] Operation: 24-2=22 Exploring Operation: 24/12=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 44:[2, 2] Operation: 24/12=2 Moving to Node #0,1 Current State: 44:[5, 2, 36], Operations: ['60-24=36'] Exploring Operation: 36/2=18, Resulting Numbers: [5, 18] Generated Node #0,1,0: 44:[5, 18] Operation: 36/2=18 Exploring Operation: 5+36=41, Resulting Numbers: [2, 41] Generated Node #0,1,1: 44:[2, 41] Operation: 5+36=41 Moving to Node #0,0,1 Current State: 44:[2, 2], Operations: ['60/5=12', '24/12=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[12, 22], Operations: ['60/5=12', '24-2=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[2, 41], Operations: ['60-24=36', '5+36=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[5, 18], Operations: ['60-24=36', '36/2=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 19, 19, 40, 67 ]
65
[ "19+19=38", "67-40=27", "38+27=65" ]
Current State: 65:[19, 19, 40, 67], Operations: [] Exploring Operation: 19+19=38, Resulting Numbers: [40, 67, 38] Generated Node #2: [40, 67, 38] from Operation: 19+19=38 Current State: 65:[40, 67, 38], Operations: ['19+19=38'] Exploring Operation: 67-40=27, Resulting Numbers: [38, 27] Generated Node #3: [38, 27] from Operation: 67-40=27 Current State: 65:[38, 27], Operations: ['19+19=38', '67-40=27'] Exploring Operation: 38+27=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[19, 19, 40, 67], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [19, 67, 21] Generated Node #0,0: 65:[19, 67, 21] Operation: 40-19=21 Exploring Operation: 40-19=21, Resulting Numbers: [19, 67, 21] Generated Node #0,1: 65:[19, 67, 21] Operation: 40-19=21 Exploring Operation: 67-40=27, Resulting Numbers: [19, 19, 27] Generated Node #0,2: 65:[19, 19, 27] Operation: 67-40=27 Exploring Operation: 19+40=59, Resulting Numbers: [19, 67, 59] Generated Node #0,3: 65:[19, 67, 59] Operation: 19+40=59 Exploring Operation: 19+40=59, Resulting Numbers: [19, 67, 59] Generated Node #0,4: 65:[19, 67, 59] Operation: 19+40=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[19, 67, 59], Operations: ['19+40=59'] Exploring Operation: 19+67=86, Resulting Numbers: [59, 86] Generated Node #0,3,0: 65:[59, 86] Operation: 19+67=86 Exploring Operation: 59-19=40, Resulting Numbers: [67, 40] Generated Node #0,3,1: 65:[67, 40] Operation: 59-19=40 Exploring Operation: 19+59=78, Resulting Numbers: [67, 78] Generated Node #0,3,2: 65:[67, 78] Operation: 19+59=78 Exploring Operation: 67-59=8, Resulting Numbers: [19, 8] Generated Node #0,3,3: 65:[19, 8] Operation: 67-59=8 Exploring Operation: 67-19=48, Resulting Numbers: [59, 48] Generated Node #0,3,4: 65:[59, 48] Operation: 67-19=48 Moving to Node #0,3,3 Current State: 65:[19, 8], Operations: ['19+40=59', '67-59=8'] Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,65 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[67, 78], Operations: ['19+40=59', '19+59=78'] Exploring Operation: 67*78=5226, Resulting Numbers: [5226] 5226,65 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 67+78=145, Resulting Numbers: [145] 145,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[59, 48], Operations: ['19+40=59', '67-19=48'] Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,65 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[59, 86], Operations: ['19+40=59', '19+67=86'] Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,65 unequal: No Solution Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,65 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[67, 40], Operations: ['19+40=59', '59-19=40'] Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[19, 67, 59], Operations: ['19+40=59'] Exploring Operation: 59-19=40, Resulting Numbers: [67, 40] Generated Node #0,4,0: 65:[67, 40] Operation: 59-19=40 Exploring Operation: 19+59=78, Resulting Numbers: [67, 78] Generated Node #0,4,1: 65:[67, 78] Operation: 19+59=78 Exploring Operation: 19+67=86, Resulting Numbers: [59, 86] Generated Node #0,4,2: 65:[59, 86] Operation: 19+67=86 Exploring Operation: 67-59=8, Resulting Numbers: [19, 8] Generated Node #0,4,3: 65:[19, 8] Operation: 67-59=8 Exploring Operation: 67-19=48, Resulting Numbers: [59, 48] Generated Node #0,4,4: 65:[59, 48] Operation: 67-19=48 Moving to Node #0,4,3 Current State: 65:[19, 8], Operations: ['19+40=59', '67-59=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[67, 78], Operations: ['19+40=59', '19+59=78'] Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 67+78=145, Resulting Numbers: [145] 145,65 unequal: No Solution Exploring Operation: 67*78=5226, Resulting Numbers: [5226] 5226,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[59, 48], Operations: ['19+40=59', '67-19=48'] Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,65 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,65 unequal: No Solution Moving to Node #0,4,0 Current State: 65:[67, 40], Operations: ['19+40=59', '59-19=40'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,65 unequal: No Solution Moving to Node #0,4,2 Current State: 65:[59, 86], Operations: ['19+40=59', '19+67=86'] Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,65 unequal: No Solution Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[19, 67, 21], Operations: ['40-19=21'] Exploring Operation: 67-21=46, Resulting Numbers: [19, 46] Generated Node #0,0,0: 65:[19, 46] Operation: 67-21=46 Exploring Operation: 67-19=48, Resulting Numbers: [21, 48] Generated Node #0,0,1: 65:[21, 48] Operation: 67-19=48 Exploring Operation: 21-19=2, Resulting Numbers: [67, 2] Generated Node #0,0,2: 65:[67, 2] Operation: 21-19=2 Exploring Operation: 19+67=86, Resulting Numbers: [21, 86] Generated Node #0,0,3: 65:[21, 86] Operation: 19+67=86 Exploring Operation: 19+21=40, Resulting Numbers: [67, 40] Generated Node #0,0,4: 65:[67, 40] Operation: 19+21=40 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[67, 2], Operations: ['40-19=21', '21-19=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[19, 19, 40, 67], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [19, 67, 21] Generated Node #0,0: 65:[19, 67, 21] Operation: 40-19=21 Moving to Node #0,0 Current State: 65:[19, 67, 21], Operations: ['40-19=21'] Exploring Operation: 21-19=2, Resulting Numbers: [67, 2] Generated Node #0,0,2: 65:[67, 2] Operation: 21-19=2 Moving to Node #0,0,2 Current State: 65:[67, 2], Operations: ['40-19=21', '21-19=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 33, 72, 83, 8 ]
55
[ "83-72=11", "8*11=88", "88-33=55" ]
Current State: 55:[33, 72, 83, 8], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [33, 8, 11] Generated Node #2: [33, 8, 11] from Operation: 83-72=11 Current State: 55:[33, 8, 11], Operations: ['83-72=11'] Exploring Operation: 8*11=88, Resulting Numbers: [33, 88] Generated Node #3: [33, 88] from Operation: 8*11=88 Current State: 55:[33, 88], Operations: ['83-72=11', '8*11=88'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[33, 72, 83, 8], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [33, 83, 9] Generated Node #0,0: 55:[33, 83, 9] Operation: 72/8=9 Exploring Operation: 72-33=39, Resulting Numbers: [83, 8, 39] Generated Node #0,1: 55:[83, 8, 39] Operation: 72-33=39 Exploring Operation: 83-33=50, Resulting Numbers: [72, 8, 50] Generated Node #0,2: 55:[72, 8, 50] Operation: 83-33=50 Exploring Operation: 83-72=11, Resulting Numbers: [33, 8, 11] Generated Node #0,3: 55:[33, 8, 11] Operation: 83-72=11 Moving to Node #0,2 Current State: 55:[72, 8, 50], Operations: ['83-33=50'] Exploring Operation: 72-50=22, Resulting Numbers: [8, 22] Generated Node #0,2,0: 55:[8, 22] Operation: 72-50=22 Exploring Operation: 72/8=9, Resulting Numbers: [50, 9] Generated Node #0,2,1: 55:[50, 9] Operation: 72/8=9 Exploring Operation: 8+50=58, Resulting Numbers: [72, 58] Generated Node #0,2,2: 55:[72, 58] Operation: 8+50=58 Exploring Operation: 72-8=64, Resulting Numbers: [50, 64] Generated Node #0,2,3: 55:[50, 64] Operation: 72-8=64 Moving to Node #0,3 Current State: 55:[33, 8, 11], Operations: ['83-72=11'] Exploring Operation: 33/11=3, Resulting Numbers: [8, 3] Generated Node #0,3,0: 55:[8, 3] Operation: 33/11=3 Exploring Operation: 33+8=41, Resulting Numbers: [11, 41] Generated Node #0,3,1: 55:[11, 41] Operation: 33+8=41 Exploring Operation: 33-8=25, Resulting Numbers: [11, 25] Generated Node #0,3,2: 55:[11, 25] Operation: 33-8=25 Exploring Operation: 33+11=44, Resulting Numbers: [8, 44] Generated Node #0,3,3: 55:[8, 44] Operation: 33+11=44 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 55:[8, 3], Operations: ['83-72=11', '33/11=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[11, 41], Operations: ['83-72=11', '33+8=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 55:[11, 25], Operations: ['83-72=11', '33-8=25'] Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,55 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[8, 44], Operations: ['83-72=11', '33+11=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,55 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: 55:[83, 8, 39], Operations: ['72-33=39'] Exploring Operation: 83-8=75, Resulting Numbers: [39, 75] Generated Node #0,1,0: 55:[39, 75] Operation: 83-8=75 Exploring Operation: 8+39=47, Resulting Numbers: [83, 47] Generated Node #0,1,1: 55:[83, 47] Operation: 8+39=47 Exploring Operation: 39-8=31, Resulting Numbers: [83, 31] Generated Node #0,1,2: 55:[83, 31] Operation: 39-8=31 Exploring Operation: 83-39=44, Resulting Numbers: [8, 44] Generated Node #0,1,3: 55:[8, 44] Operation: 83-39=44 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[8, 44], Operations: ['72-33=39', '83-39=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[39, 75], Operations: ['72-33=39', '83-8=75'] Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,55 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[83, 47], Operations: ['72-33=39', '8+39=47'] Exploring Operation: 83+47=130, Resulting Numbers: [130] 130,55 unequal: No Solution Exploring Operation: 83-47=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 83*47=3901, Resulting Numbers: [3901] 3901,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[83, 31], Operations: ['72-33=39', '39-8=31'] Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,55 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,55 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: 55:[33, 83, 9], Operations: ['72/8=9'] Exploring Operation: 33-9=24, Resulting Numbers: [83, 24] Generated Node #0,0,0: 55:[83, 24] Operation: 33-9=24 Exploring Operation: 83-33=50, Resulting Numbers: [9, 50] Generated Node #0,0,1: 55:[9, 50] Operation: 83-33=50 Exploring Operation: 33+9=42, Resulting Numbers: [83, 42] Generated Node #0,0,2: 55:[83, 42] Operation: 33+9=42 Exploring Operation: 83-9=74, Resulting Numbers: [33, 74] Generated Node #0,0,3: 55:[33, 74] Operation: 83-9=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[9, 50], Operations: ['72/8=9', '83-33=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[83, 24], Operations: ['72/8=9', '33-9=24'] Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,55 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[83, 42], Operations: ['72/8=9', '33+9=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,55 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[33, 74], Operations: ['72/8=9', '83-9=74'] Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,55 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,55 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 55:[50, 9], Operations: ['83-33=50', '72/8=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,55 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[50, 64], Operations: ['83-33=50', '72-8=64'] Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 50+64=114, Resulting Numbers: [114] 114,55 unequal: No Solution Exploring Operation: 50*64=3200, Resulting Numbers: [3200] 3200,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[8, 22], Operations: ['83-33=50', '72-50=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[72, 58], Operations: ['83-33=50', '8+50=58'] Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,55 unequal: No Solution Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,55 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,55 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 23, 17, 65, 52 ]
68
[ "17+52=69", "69/23=3", "65+3=68" ]
Current State: 68:[23, 17, 65, 52], Operations: [] Exploring Operation: 17+52=69, Resulting Numbers: [23, 65, 69] Generated Node #2: [23, 65, 69] from Operation: 17+52=69 Current State: 68:[23, 65, 69], Operations: ['17+52=69'] Exploring Operation: 69/23=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 69/23=3 Current State: 68:[65, 3], Operations: ['17+52=69', '69/23=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[23, 17, 65, 52], Operations: [] Exploring Operation: 23+52=75, Resulting Numbers: [17, 65, 75] Generated Node #0,0: 68:[17, 65, 75] Operation: 23+52=75 Exploring Operation: 17+52=69, Resulting Numbers: [23, 65, 69] Generated Node #0,1: 68:[23, 65, 69] Operation: 17+52=69 Exploring Operation: 52-23=29, Resulting Numbers: [17, 65, 29] Generated Node #0,2: 68:[17, 65, 29] Operation: 52-23=29 Moving to Node #0,2 Current State: 68:[17, 65, 29], Operations: ['52-23=29'] Exploring Operation: 65-29=36, Resulting Numbers: [17, 36] Generated Node #0,2,0: 68:[17, 36] Operation: 65-29=36 Exploring Operation: 29-17=12, Resulting Numbers: [65, 12] Generated Node #0,2,1: 68:[65, 12] Operation: 29-17=12 Exploring Operation: 17+29=46, Resulting Numbers: [65, 46] Generated Node #0,2,2: 68:[65, 46] Operation: 17+29=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[17, 36], Operations: ['52-23=29', '65-29=36'] Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,68 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[65, 12], Operations: ['52-23=29', '29-17=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,68 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[65, 46], Operations: ['52-23=29', '17+29=46'] Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,68 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[17, 65, 75], Operations: ['23+52=75'] Exploring Operation: 75-65=10, Resulting Numbers: [17, 10] Generated Node #0,0,0: 68:[17, 10] Operation: 75-65=10 Exploring Operation: 75-17=58, Resulting Numbers: [65, 58] Generated Node #0,0,1: 68:[65, 58] Operation: 75-17=58 Exploring Operation: 17+65=82, Resulting Numbers: [75, 82] Generated Node #0,0,2: 68:[75, 82] Operation: 17+65=82 Moving to Node #0,1 Current State: 68:[23, 65, 69], Operations: ['17+52=69'] Exploring Operation: 69/23=3, Resulting Numbers: [65, 3] Generated Node #0,1,0: 68:[65, 3] Operation: 69/23=3 Exploring Operation: 65-23=42, Resulting Numbers: [69, 42] Generated Node #0,1,1: 68:[69, 42] Operation: 65-23=42 Exploring Operation: 69-65=4, Resulting Numbers: [23, 4] Generated Node #0,1,2: 68:[23, 4] Operation: 69-65=4 Moving to Node #0,1,0 Current State: 68:[65, 3], Operations: ['17+52=69', '69/23=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,68 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[23, 17, 65, 52], Operations: [] Exploring Operation: 17+52=69, Resulting Numbers: [23, 65, 69] Generated Node #0,1: 68:[23, 65, 69] Operation: 17+52=69 Moving to Node #0,1 Current State: 68:[23, 65, 69], Operations: ['17+52=69'] Exploring Operation: 69/23=3, Resulting Numbers: [65, 3] Generated Node #0,1,0: 68:[65, 3] Operation: 69/23=3 Moving to Node #0,1,0 Current State: 68:[65, 3], Operations: ['17+52=69', '69/23=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 10, 42, 88, 68 ]
55
[ "42+88=130", "130/10=13", "68-13=55" ]
Current State: 55:[10, 42, 88, 68], Operations: [] Exploring Operation: 42+88=130, Resulting Numbers: [10, 68, 130] Generated Node #2: [10, 68, 130] from Operation: 42+88=130 Current State: 55:[10, 68, 130], Operations: ['42+88=130'] Exploring Operation: 130/10=13, Resulting Numbers: [68, 13] Generated Node #3: [68, 13] from Operation: 130/10=13 Current State: 55:[68, 13], Operations: ['42+88=130', '130/10=13'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[10, 42, 88, 68], Operations: [] Exploring Operation: 88-42=46, Resulting Numbers: [10, 68, 46] Generated Node #0,0: 55:[10, 68, 46] Operation: 88-42=46 Moving to Node #0,0 Current State: 55:[10, 68, 46], Operations: ['88-42=46'] Exploring Operation: 68-10=58, Resulting Numbers: [46, 58] Generated Node #0,0,0: 55:[46, 58] Operation: 68-10=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[46, 58], Operations: ['88-42=46', '68-10=58'] Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 34, 2, 52 ]
17
[ "9+34=43", "52/2=26", "43-26=17" ]
Current State: 17:[9, 34, 2, 52], Operations: [] Exploring Operation: 9+34=43, Resulting Numbers: [2, 52, 43] Generated Node #2: [2, 52, 43] from Operation: 9+34=43 Current State: 17:[2, 52, 43], Operations: ['9+34=43'] Exploring Operation: 52/2=26, Resulting Numbers: [43, 26] Generated Node #3: [43, 26] from Operation: 52/2=26 Current State: 17:[43, 26], Operations: ['9+34=43', '52/2=26'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[9, 34, 2, 52], Operations: [] Exploring Operation: 9*2=18, Resulting Numbers: [34, 52, 18] Generated Node #0,0: 17:[34, 52, 18] Operation: 9*2=18 Exploring Operation: 52-34=18, Resulting Numbers: [9, 2, 18] Generated Node #0,1: 17:[9, 2, 18] Operation: 52-34=18 Exploring Operation: 34/2=17, Resulting Numbers: [9, 52, 17] Generated Node #0,2: 17:[9, 52, 17] Operation: 34/2=17 Exploring Operation: 52/2=26, Resulting Numbers: [9, 34, 26] Generated Node #0,3: 17:[9, 34, 26] Operation: 52/2=26 Moving to Node #0,1 Current State: 17:[9, 2, 18], Operations: ['52-34=18'] Exploring Operation: 9-2=7, Resulting Numbers: [18, 7] Generated Node #0,1,0: 17:[18, 7] Operation: 9-2=7 Exploring Operation: 18-2=16, Resulting Numbers: [9, 16] Generated Node #0,1,1: 17:[9, 16] Operation: 18-2=16 Exploring Operation: 9+2=11, Resulting Numbers: [18, 11] Generated Node #0,1,2: 17:[18, 11] Operation: 9+2=11 Exploring Operation: 9*2=18, Resulting Numbers: [18, 18] Generated Node #0,1,3: 17:[18, 18] Operation: 9*2=18 Moving to Node #0,3 Current State: 17:[9, 34, 26], Operations: ['52/2=26'] Exploring Operation: 26-9=17, Resulting Numbers: [34, 17] Generated Node #0,3,0: 17:[34, 17] Operation: 26-9=17 Exploring Operation: 34-26=8, Resulting Numbers: [9, 8] Generated Node #0,3,1: 17:[9, 8] Operation: 34-26=8 Exploring Operation: 9+34=43, Resulting Numbers: [26, 43] Generated Node #0,3,2: 17:[26, 43] Operation: 9+34=43 Exploring Operation: 34-9=25, Resulting Numbers: [26, 25] Generated Node #0,3,3: 17:[26, 25] Operation: 34-9=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[34, 17], Operations: ['52/2=26', '26-9=17'] Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[9, 34, 2, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [9, 34, 26] Generated Node #0,3: 17:[9, 34, 26] Operation: 52/2=26 Moving to Node #0,3 Current State: 17:[9, 34, 26], Operations: ['52/2=26'] Exploring Operation: 26-9=17, Resulting Numbers: [34, 17] Generated Node #0,3,0: 17:[34, 17] Operation: 26-9=17 Moving to Node #0,3,0 Current State: 17:[34, 17], Operations: ['52/2=26', '26-9=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 1, 4, 70, 95 ]
20
[ "1+4=5", "95-70=25", "25-5=20" ]
Current State: 20:[1, 4, 70, 95], Operations: [] Exploring Operation: 1+4=5, Resulting Numbers: [70, 95, 5] Generated Node #2: [70, 95, 5] from Operation: 1+4=5 Current State: 20:[70, 95, 5], Operations: ['1+4=5'] Exploring Operation: 95-70=25, Resulting Numbers: [5, 25] Generated Node #3: [5, 25] from Operation: 95-70=25 Current State: 20:[5, 25], Operations: ['1+4=5', '95-70=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[1, 4, 70, 95], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [1, 4, 25] Generated Node #0,0: 20:[1, 4, 25] Operation: 95-70=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[1, 4, 25], Operations: ['95-70=25'] Exploring Operation: 25-4=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 20:[1, 21] Operation: 25-4=21 Moving to Node #0,0,0 Current State: 20:[1, 21], Operations: ['95-70=25', '25-4=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[1, 4, 70, 95], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [1, 4, 25] Generated Node #0,0: 20:[1, 4, 25] Operation: 95-70=25 Moving to Node #0,0 Current State: 20:[1, 4, 25], Operations: ['95-70=25'] Exploring Operation: 25-4=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 20:[1, 21] Operation: 25-4=21 Moving to Node #0,0,0 Current State: 20:[1, 21], Operations: ['95-70=25', '25-4=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 40, 5, 56, 44 ]
100
[ "40*5=200", "56+44=100", "200-100=100" ]
Current State: 100:[40, 5, 56, 44], Operations: [] Exploring Operation: 40*5=200, Resulting Numbers: [56, 44, 200] Generated Node #2: [56, 44, 200] from Operation: 40*5=200 Current State: 100:[56, 44, 200], Operations: ['40*5=200'] Exploring Operation: 56+44=100, Resulting Numbers: [200, 100] Generated Node #3: [200, 100] from Operation: 56+44=100 Current State: 100:[200, 100], Operations: ['40*5=200', '56+44=100'] Exploring Operation: 200-100=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[40, 5, 56, 44], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [5, 56, 4] Generated Node #0,0: 100:[5, 56, 4] Operation: 44-40=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[5, 56, 4], Operations: ['44-40=4'] Exploring Operation: 56-5=51, Resulting Numbers: [4, 51] Generated Node #0,0,0: 100:[4, 51] Operation: 56-5=51 Moving to Node #0,0,0 Current State: 100:[4, 51], Operations: ['44-40=4', '56-5=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 91, 83, 47, 97 ]
42
[ "91-83=8", "97-47=50", "50-8=42" ]
Current State: 42:[91, 83, 47, 97], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [47, 97, 8] Generated Node #2: [47, 97, 8] from Operation: 91-83=8 Current State: 42:[47, 97, 8], Operations: ['91-83=8'] Exploring Operation: 97-47=50, Resulting Numbers: [8, 50] Generated Node #3: [8, 50] from Operation: 97-47=50 Current State: 42:[8, 50], Operations: ['91-83=8', '97-47=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[91, 83, 47, 97], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [91, 83, 50] Generated Node #0,0: 42:[91, 83, 50] Operation: 97-47=50 Exploring Operation: 91-83=8, Resulting Numbers: [47, 97, 8] Generated Node #0,1: 42:[47, 97, 8] Operation: 91-83=8 Exploring Operation: 91-47=44, Resulting Numbers: [83, 97, 44] Generated Node #0,2: 42:[83, 97, 44] Operation: 91-47=44 Exploring Operation: 97-83=14, Resulting Numbers: [91, 47, 14] Generated Node #0,3: 42:[91, 47, 14] Operation: 97-83=14 Exploring Operation: 97-91=6, Resulting Numbers: [83, 47, 6] Generated Node #0,4: 42:[83, 47, 6] Operation: 97-91=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[83, 47, 6], Operations: ['97-91=6'] Exploring Operation: 47-6=41, Resulting Numbers: [83, 41] Generated Node #0,4,0: 42:[83, 41] Operation: 47-6=41 Exploring Operation: 83-6=77, Resulting Numbers: [47, 77] Generated Node #0,4,1: 42:[47, 77] Operation: 83-6=77 Exploring Operation: 83+6=89, Resulting Numbers: [47, 89] Generated Node #0,4,2: 42:[47, 89] Operation: 83+6=89 Exploring Operation: 47+6=53, Resulting Numbers: [83, 53] Generated Node #0,4,3: 42:[83, 53] Operation: 47+6=53 Exploring Operation: 83-47=36, Resulting Numbers: [6, 36] Generated Node #0,4,4: 42:[6, 36] Operation: 83-47=36 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 42:[6, 36], Operations: ['97-91=6', '83-47=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[91, 83, 47, 97], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [83, 47, 6] Generated Node #0,4: 42:[83, 47, 6] Operation: 97-91=6 Moving to Node #0,4 Current State: 42:[83, 47, 6], Operations: ['97-91=6'] Exploring Operation: 83-47=36, Resulting Numbers: [6, 36] Generated Node #0,4,4: 42:[6, 36] Operation: 83-47=36 Moving to Node #0,4,4 Current State: 42:[6, 36], Operations: ['97-91=6', '83-47=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 54, 80, 10, 2 ]
43
[ "54/2=27", "80-10=70", "70-27=43" ]
Current State: 43:[54, 80, 10, 2], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [80, 10, 27] Generated Node #2: [80, 10, 27] from Operation: 54/2=27 Current State: 43:[80, 10, 27], Operations: ['54/2=27'] Exploring Operation: 80-10=70, Resulting Numbers: [27, 70] Generated Node #3: [27, 70] from Operation: 80-10=70 Current State: 43:[27, 70], Operations: ['54/2=27', '80-10=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[54, 80, 10, 2], Operations: [] Exploring Operation: 54-10=44, Resulting Numbers: [80, 2, 44] Generated Node #0,0: 43:[80, 2, 44] Operation: 54-10=44 Exploring Operation: 10*2=20, Resulting Numbers: [54, 80, 20] Generated Node #0,1: 43:[54, 80, 20] Operation: 10*2=20 Exploring Operation: 54-2=52, Resulting Numbers: [80, 10, 52] Generated Node #0,2: 43:[80, 10, 52] Operation: 54-2=52 Exploring Operation: 80/2=40, Resulting Numbers: [54, 10, 40] Generated Node #0,3: 43:[54, 10, 40] Operation: 80/2=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[54, 10, 40], Operations: ['80/2=40'] Exploring Operation: 40-10=30, Resulting Numbers: [54, 30] Generated Node #0,3,0: 43:[54, 30] Operation: 40-10=30 Exploring Operation: 10+40=50, Resulting Numbers: [54, 50] Generated Node #0,3,1: 43:[54, 50] Operation: 10+40=50 Exploring Operation: 54+10=64, Resulting Numbers: [40, 64] Generated Node #0,3,2: 43:[40, 64] Operation: 54+10=64 Exploring Operation: 54-10=44, Resulting Numbers: [40, 44] Generated Node #0,3,3: 43:[40, 44] Operation: 54-10=44 Moving to Node #0,3,3 Current State: 43:[40, 44], Operations: ['80/2=40', '54-10=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,43 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[54, 50], Operations: ['80/2=40', '10+40=50'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,43 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[40, 64], Operations: ['80/2=40', '54+10=64'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,43 unequal: No Solution Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[54, 30], Operations: ['80/2=40', '40-10=30'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,43 unequal: No Solution Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,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 Current State: 43:[54, 80, 20], Operations: ['10*2=20'] Exploring Operation: 54-20=34, Resulting Numbers: [80, 34] Generated Node #0,1,0: 43:[80, 34] Operation: 54-20=34 Exploring Operation: 80-54=26, Resulting Numbers: [20, 26] Generated Node #0,1,1: 43:[20, 26] Operation: 80-54=26 Exploring Operation: 80-20=60, Resulting Numbers: [54, 60] Generated Node #0,1,2: 43:[54, 60] Operation: 80-20=60 Exploring Operation: 80/20=4, Resulting Numbers: [54, 4] Generated Node #0,1,3: 43:[54, 4] Operation: 80/20=4 Moving to Node #0,1,2 Current State: 43:[54, 60], Operations: ['10*2=20', '80-20=60'] Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[20, 26], Operations: ['10*2=20', '80-54=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,43 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[80, 34], Operations: ['10*2=20', '54-20=34'] Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[54, 4], Operations: ['10*2=20', '80/20=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,43 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 54-4=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,0 Current State: 43:[80, 2, 44], Operations: ['54-10=44'] Exploring Operation: 80+2=82, Resulting Numbers: [44, 82] Generated Node #0,0,0: 43:[44, 82] Operation: 80+2=82 Exploring Operation: 44-2=42, Resulting Numbers: [80, 42] Generated Node #0,0,1: 43:[80, 42] Operation: 44-2=42 Exploring Operation: 80/2=40, Resulting Numbers: [44, 40] Generated Node #0,0,2: 43:[44, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [44, 78] Generated Node #0,0,3: 43:[44, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[44, 40], Operations: ['54-10=44', '80/2=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,43 unequal: No Solution No 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: 43:[44, 78], Operations: ['54-10=44', '80-2=78'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 44+78=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 44*78=3432, Resulting Numbers: [3432] 3432,43 unequal: No Solution No 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: 43:[80, 42], Operations: ['54-10=44', '44-2=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,43 unequal: No Solution No 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: 43:[44, 82], Operations: ['54-10=44', '80+2=82'] Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 44*82=3608, Resulting Numbers: [3608] 3608,43 unequal: No Solution Exploring Operation: 44+82=126, Resulting Numbers: [126] 126,43 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: 43:[80, 10, 52], Operations: ['54-2=52'] Exploring Operation: 80/10=8, Resulting Numbers: [52, 8] Generated Node #0,2,0: 43:[52, 8] Operation: 80/10=8 Exploring Operation: 52-10=42, Resulting Numbers: [80, 42] Generated Node #0,2,1: 43:[80, 42] Operation: 52-10=42 Exploring Operation: 80-52=28, Resulting Numbers: [10, 28] Generated Node #0,2,2: 43:[10, 28] Operation: 80-52=28 Exploring Operation: 80-10=70, Resulting Numbers: [52, 70] Generated Node #0,2,3: 43:[52, 70] Operation: 80-10=70 Moving to Node #0,2,3 Current State: 43:[52, 70], Operations: ['54-2=52', '80-10=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,43 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[80, 42], Operations: ['54-2=52', '52-10=42'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[52, 8], Operations: ['54-2=52', '80/10=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[10, 28], Operations: ['54-2=52', '80-52=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,43 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
[ 29, 88, 85, 26 ]
52
[ "88-29=59", "85+26=111", "111-59=52" ]
Current State: 52:[29, 88, 85, 26], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [85, 26, 59] Generated Node #2: [85, 26, 59] from Operation: 88-29=59 Current State: 52:[85, 26, 59], Operations: ['88-29=59'] Exploring Operation: 85+26=111, Resulting Numbers: [59, 111] Generated Node #3: [59, 111] from Operation: 85+26=111 Current State: 52:[59, 111], Operations: ['88-29=59', '85+26=111'] Exploring Operation: 111-59=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[29, 88, 85, 26], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [85, 26, 59] Generated Node #0,0: 52:[85, 26, 59] Operation: 88-29=59 Exploring Operation: 88-85=3, Resulting Numbers: [29, 26, 3] Generated Node #0,1: 52:[29, 26, 3] Operation: 88-85=3 Exploring Operation: 85-29=56, Resulting Numbers: [88, 26, 56] Generated Node #0,2: 52:[88, 26, 56] Operation: 85-29=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[29, 26, 3], Operations: ['88-85=3'] Exploring Operation: 29+26=55, Resulting Numbers: [3, 55] Generated Node #0,1,0: 52:[3, 55] Operation: 29+26=55 Exploring Operation: 29-26=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 52:[3, 3] Operation: 29-26=3 Exploring Operation: 29-3=26, Resulting Numbers: [26, 26] Generated Node #0,1,2: 52:[26, 26] Operation: 29-3=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[26, 26], Operations: ['88-85=3', '29-3=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[29, 88, 85, 26], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [29, 26, 3] Generated Node #0,1: 52:[29, 26, 3] Operation: 88-85=3 Moving to Node #0,1 Current State: 52:[29, 26, 3], Operations: ['88-85=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26, 26] Generated Node #0,1,2: 52:[26, 26] Operation: 29-3=26 Moving to Node #0,1,2 Current State: 52:[26, 26], Operations: ['88-85=3', '29-3=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 93, 34, 8, 75 ]
44
[ "93+34=127", "8+75=83", "127-83=44" ]
Current State: 44:[93, 34, 8, 75], Operations: [] Exploring Operation: 93+34=127, Resulting Numbers: [8, 75, 127] Generated Node #2: [8, 75, 127] from Operation: 93+34=127 Current State: 44:[8, 75, 127], Operations: ['93+34=127'] Exploring Operation: 8+75=83, Resulting Numbers: [127, 83] Generated Node #3: [127, 83] from Operation: 8+75=83 Current State: 44:[127, 83], Operations: ['93+34=127', '8+75=83'] Exploring Operation: 127-83=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[93, 34, 8, 75], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [34, 8, 18] Generated Node #0,0: 44:[34, 8, 18] Operation: 93-75=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[34, 8, 18], Operations: ['93-75=18'] Exploring Operation: 34+8=42, Resulting Numbers: [18, 42] Generated Node #0,0,0: 44:[18, 42] Operation: 34+8=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[18, 42], Operations: ['93-75=18', '34+8=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,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 No solution found.
0
hs_1
sum_heuristic
[ 84, 51, 63, 77 ]
57
[ "77-63=14", "84/14=6", "51+6=57" ]
Current State: 57:[84, 51, 63, 77], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [84, 51, 14] Generated Node #2: [84, 51, 14] from Operation: 77-63=14 Current State: 57:[84, 51, 14], Operations: ['77-63=14'] Exploring Operation: 84/14=6, Resulting Numbers: [51, 6] Generated Node #3: [51, 6] from Operation: 84/14=6 Current State: 57:[51, 6], Operations: ['77-63=14', '84/14=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[84, 51, 63, 77], Operations: [] Exploring Operation: 84-51=33, Resulting Numbers: [63, 77, 33] Generated Node #0,0: 57:[63, 77, 33] Operation: 84-51=33 Exploring Operation: 84-77=7, Resulting Numbers: [51, 63, 7] Generated Node #0,1: 57:[51, 63, 7] Operation: 84-77=7 Exploring Operation: 77-51=26, Resulting Numbers: [84, 63, 26] Generated Node #0,2: 57:[84, 63, 26] Operation: 77-51=26 Exploring Operation: 77-63=14, Resulting Numbers: [84, 51, 14] Generated Node #0,3: 57:[84, 51, 14] Operation: 77-63=14 Exploring Operation: 84-63=21, Resulting Numbers: [51, 77, 21] Generated Node #0,4: 57:[51, 77, 21] Operation: 84-63=21 Moving to Node #0,1 Current State: 57:[51, 63, 7], Operations: ['84-77=7'] Exploring Operation: 51+7=58, Resulting Numbers: [63, 58] Generated Node #0,1,0: 57:[63, 58] Operation: 51+7=58 Exploring Operation: 63/7=9, Resulting Numbers: [51, 9] Generated Node #0,1,1: 57:[51, 9] Operation: 63/7=9 Exploring Operation: 51-7=44, Resulting Numbers: [63, 44] Generated Node #0,1,2: 57:[63, 44] Operation: 51-7=44 Exploring Operation: 63-7=56, Resulting Numbers: [51, 56] Generated Node #0,1,3: 57:[51, 56] Operation: 63-7=56 Exploring Operation: 63-51=12, Resulting Numbers: [7, 12] Generated Node #0,1,4: 57:[7, 12] Operation: 63-51=12 Moving to Node #0,4 Current State: 57:[51, 77, 21], Operations: ['84-63=21'] Exploring Operation: 77+21=98, Resulting Numbers: [51, 98] Generated Node #0,4,0: 57:[51, 98] Operation: 77+21=98 Exploring Operation: 51+21=72, Resulting Numbers: [77, 72] Generated Node #0,4,1: 57:[77, 72] Operation: 51+21=72 Exploring Operation: 77-51=26, Resulting Numbers: [21, 26] Generated Node #0,4,2: 57:[21, 26] Operation: 77-51=26 Exploring Operation: 77-21=56, Resulting Numbers: [51, 56] Generated Node #0,4,3: 57:[51, 56] Operation: 77-21=56 Exploring Operation: 51-21=30, Resulting Numbers: [77, 30] Generated Node #0,4,4: 57:[77, 30] Operation: 51-21=30 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 57:[51, 56], Operations: ['84-63=21', '77-21=56'] Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,57 unequal: No Solution Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,57 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 57:[21, 26], Operations: ['84-63=21', '77-51=26'] Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,57 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[77, 30], Operations: ['84-63=21', '51-21=30'] Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,57 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 57:[77, 72], Operations: ['84-63=21', '51+21=72'] Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,57 unequal: No Solution Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 57:[51, 98], Operations: ['84-63=21', '77+21=98'] Exploring Operation: 51+98=149, Resulting Numbers: [149] 149,57 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 51*98=4998, Resulting Numbers: [4998] 4998,57 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: 57:[84, 51, 14], Operations: ['77-63=14'] Exploring Operation: 51-14=37, Resulting Numbers: [84, 37] Generated Node #0,3,0: 57:[84, 37] Operation: 51-14=37 Exploring Operation: 51+14=65, Resulting Numbers: [84, 65] Generated Node #0,3,1: 57:[84, 65] Operation: 51+14=65 Exploring Operation: 84-51=33, Resulting Numbers: [14, 33] Generated Node #0,3,2: 57:[14, 33] Operation: 84-51=33 Exploring Operation: 84-14=70, Resulting Numbers: [51, 70] Generated Node #0,3,3: 57:[51, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [51, 6] Generated Node #0,3,4: 57:[51, 6] Operation: 84/14=6 Moving to Node #0,0 Current State: 57:[63, 77, 33], Operations: ['84-51=33'] Exploring Operation: 77-33=44, Resulting Numbers: [63, 44] Generated Node #0,0,0: 57:[63, 44] Operation: 77-33=44 Exploring Operation: 63-33=30, Resulting Numbers: [77, 30] Generated Node #0,0,1: 57:[77, 30] Operation: 63-33=30 Exploring Operation: 77-63=14, Resulting Numbers: [33, 14] Generated Node #0,0,2: 57:[33, 14] Operation: 77-63=14 Exploring Operation: 77+33=110, Resulting Numbers: [63, 110] Generated Node #0,0,3: 57:[63, 110] Operation: 77+33=110 Exploring Operation: 63+33=96, Resulting Numbers: [77, 96] Generated Node #0,0,4: 57:[77, 96] Operation: 63+33=96 Moving to Node #0,2 Current State: 57:[84, 63, 26], Operations: ['77-51=26'] Exploring Operation: 84-63=21, Resulting Numbers: [26, 21] Generated Node #0,2,0: 57:[26, 21] Operation: 84-63=21 Exploring Operation: 84-26=58, Resulting Numbers: [63, 58] Generated Node #0,2,1: 57:[63, 58] Operation: 84-26=58 Exploring Operation: 63+26=89, Resulting Numbers: [84, 89] Generated Node #0,2,2: 57:[84, 89] Operation: 63+26=89 Exploring Operation: 63-26=37, Resulting Numbers: [84, 37] Generated Node #0,2,3: 57:[84, 37] Operation: 63-26=37 Exploring Operation: 84+26=110, Resulting Numbers: [63, 110] Generated Node #0,2,4: 57:[63, 110] Operation: 84+26=110 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[63, 58], Operations: ['77-51=26', '84-26=58'] Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 63*58=3654, Resulting Numbers: [3654] 3654,57 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[26, 21], Operations: ['77-51=26', '84-63=21'] Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,57 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[84, 37], Operations: ['77-51=26', '63-26=37'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,57 unequal: No Solution Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[84, 89], Operations: ['77-51=26', '63+26=89'] Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,57 unequal: No Solution Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 57:[63, 110], Operations: ['77-51=26', '84+26=110'] Exploring Operation: 63*110=6930, Resulting Numbers: [6930] 6930,57 unequal: No Solution Exploring Operation: 110-63=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 63+110=173, Resulting Numbers: [173] 173,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 57:[63, 58], Operations: ['84-77=7', '51+7=58'] Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 63*58=3654, Resulting Numbers: [3654] 3654,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[51, 56], Operations: ['84-77=7', '63-7=56'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,57 unequal: No Solution Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,57 unequal: No Solution Moving to Node #0,3,4 Current State: 57:[51, 6], Operations: ['77-63=14', '84/14=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,57 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[84, 51, 63, 77], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [84, 51, 14] Generated Node #0,3: 57:[84, 51, 14] Operation: 77-63=14 Moving to Node #0,3 Current State: 57:[84, 51, 14], Operations: ['77-63=14'] Exploring Operation: 84/14=6, Resulting Numbers: [51, 6] Generated Node #0,3,4: 57:[51, 6] Operation: 84/14=6 Moving to Node #0,3,4 Current State: 57:[51, 6], Operations: ['77-63=14', '84/14=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.936632
hs_5
sum_heuristic
[ 44, 42, 4, 45 ]
90
[ "44-42=2", "4*45=180", "180/2=90" ]
Current State: 90:[44, 42, 4, 45], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [4, 45, 2] Generated Node #2: [4, 45, 2] from Operation: 44-42=2 Current State: 90:[4, 45, 2], Operations: ['44-42=2'] Exploring Operation: 4*45=180, Resulting Numbers: [2, 180] Generated Node #3: [2, 180] from Operation: 4*45=180 Current State: 90:[2, 180], Operations: ['44-42=2', '4*45=180'] Exploring Operation: 180/2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[44, 42, 4, 45], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [44, 4, 3] Generated Node #0,0: 90:[44, 4, 3] Operation: 45-42=3 Exploring Operation: 44/4=11, Resulting Numbers: [42, 45, 11] Generated Node #0,1: 90:[42, 45, 11] Operation: 44/4=11 Exploring Operation: 42+4=46, Resulting Numbers: [44, 45, 46] Generated Node #0,2: 90:[44, 45, 46] Operation: 42+4=46 Exploring Operation: 44-42=2, Resulting Numbers: [4, 45, 2] Generated Node #0,3: 90:[4, 45, 2] Operation: 44-42=2 Moving to Node #0,3 Current State: 90:[4, 45, 2], Operations: ['44-42=2'] Exploring Operation: 4*2=8, Resulting Numbers: [45, 8] Generated Node #0,3,0: 90:[45, 8] Operation: 4*2=8 Exploring Operation: 4-2=2, Resulting Numbers: [45, 2] Generated Node #0,3,1: 90:[45, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [45, 2] Generated Node #0,3,2: 90:[45, 2] Operation: 4/2=2 Exploring Operation: 4+2=6, Resulting Numbers: [45, 6] Generated Node #0,3,3: 90:[45, 6] Operation: 4+2=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[45, 2], Operations: ['44-42=2', '4-2=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[44, 42, 4, 45], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [4, 45, 2] Generated Node #0,3: 90:[4, 45, 2] Operation: 44-42=2 Moving to Node #0,3 Current State: 90:[4, 45, 2], Operations: ['44-42=2'] Exploring Operation: 4-2=2, Resulting Numbers: [45, 2] Generated Node #0,3,1: 90:[45, 2] Operation: 4-2=2 Moving to Node #0,3,1 Current State: 90:[45, 2], Operations: ['44-42=2', '4-2=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 18, 31, 46, 11 ]
44
[ "31-18=13", "46+11=57", "57-13=44" ]
Current State: 44:[18, 31, 46, 11], Operations: [] Exploring Operation: 31-18=13, Resulting Numbers: [46, 11, 13] Generated Node #2: [46, 11, 13] from Operation: 31-18=13 Current State: 44:[46, 11, 13], Operations: ['31-18=13'] Exploring Operation: 46+11=57, Resulting Numbers: [13, 57] Generated Node #3: [13, 57] from Operation: 46+11=57 Current State: 44:[13, 57], Operations: ['31-18=13', '46+11=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[18, 31, 46, 11], Operations: [] Exploring Operation: 31-18=13, Resulting Numbers: [46, 11, 13] Generated Node #0,0: 44:[46, 11, 13] Operation: 31-18=13 Exploring Operation: 46-31=15, Resulting Numbers: [18, 11, 15] Generated Node #0,1: 44:[18, 11, 15] Operation: 46-31=15 Exploring Operation: 18+31=49, Resulting Numbers: [46, 11, 49] Generated Node #0,2: 44:[46, 11, 49] Operation: 18+31=49 Moving to Node #0,0 Current State: 44:[46, 11, 13], Operations: ['31-18=13'] Exploring Operation: 11+13=24, Resulting Numbers: [46, 24] Generated Node #0,0,0: 44:[46, 24] Operation: 11+13=24 Exploring Operation: 46-11=35, Resulting Numbers: [13, 35] Generated Node #0,0,1: 44:[13, 35] Operation: 46-11=35 Exploring Operation: 13-11=2, Resulting Numbers: [46, 2] Generated Node #0,0,2: 44:[46, 2] Operation: 13-11=2 Moving to Node #0,2 Current State: 44:[46, 11, 49], Operations: ['18+31=49'] Exploring Operation: 49-46=3, Resulting Numbers: [11, 3] Generated Node #0,2,0: 44:[11, 3] Operation: 49-46=3 Exploring Operation: 46-11=35, Resulting Numbers: [49, 35] Generated Node #0,2,1: 44:[49, 35] Operation: 46-11=35 Exploring Operation: 49-11=38, Resulting Numbers: [46, 38] Generated Node #0,2,2: 44:[46, 38] Operation: 49-11=38 Moving to Node #0,1 Current State: 44:[18, 11, 15], Operations: ['46-31=15'] Exploring Operation: 18-11=7, Resulting Numbers: [15, 7] Generated Node #0,1,0: 44:[15, 7] Operation: 18-11=7 Exploring Operation: 18-15=3, Resulting Numbers: [11, 3] Generated Node #0,1,1: 44:[11, 3] Operation: 18-15=3 Exploring Operation: 15-11=4, Resulting Numbers: [18, 4] Generated Node #0,1,2: 44:[18, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[11, 3], Operations: ['46-31=15', '18-15=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,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,2 Current State: 44:[18, 4], Operations: ['46-31=15', '15-11=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,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:[15, 7], Operations: ['46-31=15', '18-11=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,44 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,44 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: 44:[11, 3], Operations: ['18+31=49', '49-46=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[46, 2], Operations: ['31-18=13', '13-11=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[18, 31, 46, 11], Operations: [] Exploring Operation: 31-18=13, Resulting Numbers: [46, 11, 13] Generated Node #0,0: 44:[46, 11, 13] Operation: 31-18=13 Moving to Node #0,0 Current State: 44:[46, 11, 13], Operations: ['31-18=13'] Exploring Operation: 13-11=2, Resulting Numbers: [46, 2] Generated Node #0,0,2: 44:[46, 2] Operation: 13-11=2 Moving to Node #0,0,2 Current State: 44:[46, 2], Operations: ['31-18=13', '13-11=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.973958
hs_3
sum_heuristic
[ 47, 45, 62, 49 ]
19
[ "47+45=92", "62+49=111", "111-92=19" ]
Current State: 19:[47, 45, 62, 49], Operations: [] Exploring Operation: 47+45=92, Resulting Numbers: [62, 49, 92] Generated Node #2: [62, 49, 92] from Operation: 47+45=92 Current State: 19:[62, 49, 92], Operations: ['47+45=92'] Exploring Operation: 62+49=111, Resulting Numbers: [92, 111] Generated Node #3: [92, 111] from Operation: 62+49=111 Current State: 19:[92, 111], Operations: ['47+45=92', '62+49=111'] Exploring Operation: 111-92=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[47, 45, 62, 49], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [47, 45, 13] Generated Node #0,0: 19:[47, 45, 13] Operation: 62-49=13 Exploring Operation: 49-47=2, Resulting Numbers: [45, 62, 2] Generated Node #0,1: 19:[45, 62, 2] Operation: 49-47=2 Exploring Operation: 62-45=17, Resulting Numbers: [47, 49, 17] Generated Node #0,2: 19:[47, 49, 17] Operation: 62-45=17 Exploring Operation: 62-47=15, Resulting Numbers: [45, 49, 15] Generated Node #0,3: 19:[45, 49, 15] Operation: 62-47=15 Exploring Operation: 49-45=4, Resulting Numbers: [47, 62, 4] Generated Node #0,4: 19:[47, 62, 4] Operation: 49-45=4 Moving to Node #0,0 Current State: 19:[47, 45, 13], Operations: ['62-49=13'] Exploring Operation: 45-13=32, Resulting Numbers: [47, 32] Generated Node #0,0,0: 19:[47, 32] Operation: 45-13=32 Exploring Operation: 47+13=60, Resulting Numbers: [45, 60] Generated Node #0,0,1: 19:[45, 60] Operation: 47+13=60 Exploring Operation: 45+13=58, Resulting Numbers: [47, 58] Generated Node #0,0,2: 19:[47, 58] Operation: 45+13=58 Exploring Operation: 47-45=2, Resulting Numbers: [13, 2] Generated Node #0,0,3: 19:[13, 2] Operation: 47-45=2 Exploring Operation: 47-13=34, Resulting Numbers: [45, 34] Generated Node #0,0,4: 19:[45, 34] Operation: 47-13=34 Moving to Node #0,3 Current State: 19:[45, 49, 15], Operations: ['62-47=15'] Exploring Operation: 49-15=34, Resulting Numbers: [45, 34] Generated Node #0,3,0: 19:[45, 34] Operation: 49-15=34 Exploring Operation: 45+15=60, Resulting Numbers: [49, 60] Generated Node #0,3,1: 19:[49, 60] Operation: 45+15=60 Exploring Operation: 45-15=30, Resulting Numbers: [49, 30] Generated Node #0,3,2: 19:[49, 30] Operation: 45-15=30 Exploring Operation: 49-45=4, Resulting Numbers: [15, 4] Generated Node #0,3,3: 19:[15, 4] Operation: 49-45=4 Exploring Operation: 45/15=3, Resulting Numbers: [49, 3] Generated Node #0,3,4: 19:[49, 3] Operation: 45/15=3 Moving to Node #0,2 Current State: 19:[47, 49, 17], Operations: ['62-45=17'] Exploring Operation: 49-47=2, Resulting Numbers: [17, 2] Generated Node #0,2,0: 19:[17, 2] Operation: 49-47=2 Exploring Operation: 47+17=64, Resulting Numbers: [49, 64] Generated Node #0,2,1: 19:[49, 64] Operation: 47+17=64 Exploring Operation: 49-17=32, Resulting Numbers: [47, 32] Generated Node #0,2,2: 19:[47, 32] Operation: 49-17=32 Exploring Operation: 47-17=30, Resulting Numbers: [49, 30] Generated Node #0,2,3: 19:[49, 30] Operation: 47-17=30 Exploring Operation: 49+17=66, Resulting Numbers: [47, 66] Generated Node #0,2,4: 19:[47, 66] Operation: 49+17=66 Moving to Node #0,1 Current State: 19:[45, 62, 2], Operations: ['49-47=2'] Exploring Operation: 45+2=47, Resulting Numbers: [62, 47] Generated Node #0,1,0: 19:[62, 47] Operation: 45+2=47 Exploring Operation: 62-45=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 19:[2, 17] Operation: 62-45=17 Exploring Operation: 62-2=60, Resulting Numbers: [45, 60] Generated Node #0,1,2: 19:[45, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [45, 31] Generated Node #0,1,3: 19:[45, 31] Operation: 62/2=31 Exploring Operation: 45-2=43, Resulting Numbers: [62, 43] Generated Node #0,1,4: 19:[62, 43] Operation: 45-2=43 Moving to Node #0,4 Current State: 19:[47, 62, 4], Operations: ['49-45=4'] Exploring Operation: 62-47=15, Resulting Numbers: [4, 15] Generated Node #0,4,0: 19:[4, 15] Operation: 62-47=15 Exploring Operation: 47+4=51, Resulting Numbers: [62, 51] Generated Node #0,4,1: 19:[62, 51] Operation: 47+4=51 Exploring Operation: 62+4=66, Resulting Numbers: [47, 66] Generated Node #0,4,2: 19:[47, 66] Operation: 62+4=66 Exploring Operation: 62-4=58, Resulting Numbers: [47, 58] Generated Node #0,4,3: 19:[47, 58] Operation: 62-4=58 Exploring Operation: 47-4=43, Resulting Numbers: [62, 43] Generated Node #0,4,4: 19:[62, 43] Operation: 47-4=43 Moving to Node #0,3,3 Current State: 19:[15, 4], Operations: ['62-47=15', '49-45=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[47, 45, 62, 49], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [45, 49, 15] Generated Node #0,3: 19:[45, 49, 15] Operation: 62-47=15 Moving to Node #0,3 Current State: 19:[45, 49, 15], Operations: ['62-47=15'] Exploring Operation: 49-45=4, Resulting Numbers: [15, 4] Generated Node #0,3,3: 19:[15, 4] Operation: 49-45=4 Moving to Node #0,3,3 Current State: 19:[15, 4], Operations: ['62-47=15', '49-45=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.967882
hs_5
mult_heuristic
[ 99, 66, 36, 42 ]
44
[ "99-36=63", "66*42=2772", "2772/63=44" ]
Current State: 44:[99, 66, 36, 42], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [66, 42, 63] Generated Node #2: [66, 42, 63] from Operation: 99-36=63 Current State: 44:[66, 42, 63], Operations: ['99-36=63'] Exploring Operation: 66*42=2772, Resulting Numbers: [63, 2772] Generated Node #3: [63, 2772] from Operation: 66*42=2772 Current State: 44:[63, 2772], Operations: ['99-36=63', '66*42=2772'] Exploring Operation: 2772/63=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[99, 66, 36, 42], Operations: [] Exploring Operation: 99-66=33, Resulting Numbers: [36, 42, 33] Generated Node #0,0: 44:[36, 42, 33] Operation: 99-66=33 Moving to Node #0,0 Current State: 44:[36, 42, 33], Operations: ['99-66=33'] Exploring Operation: 36-33=3, Resulting Numbers: [42, 3] Generated Node #0,0,0: 44:[42, 3] Operation: 36-33=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[42, 3], Operations: ['99-66=33', '36-33=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 74, 80, 4, 65 ]
14
[ "80-65=15", "4*15=60", "74-60=14" ]
Current State: 14:[74, 80, 4, 65], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [74, 4, 15] Generated Node #2: [74, 4, 15] from Operation: 80-65=15 Current State: 14:[74, 4, 15], Operations: ['80-65=15'] Exploring Operation: 4*15=60, Resulting Numbers: [74, 60] Generated Node #3: [74, 60] from Operation: 4*15=60 Current State: 14:[74, 60], Operations: ['80-65=15', '4*15=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[74, 80, 4, 65], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [74, 4, 15] Generated Node #0,0: 14:[74, 4, 15] Operation: 80-65=15 Exploring Operation: 80-74=6, Resulting Numbers: [4, 65, 6] Generated Node #0,1: 14:[4, 65, 6] Operation: 80-74=6 Moving to Node #0,1 Current State: 14:[4, 65, 6], Operations: ['80-74=6'] Exploring Operation: 65-4=61, Resulting Numbers: [6, 61] Generated Node #0,1,0: 14:[6, 61] Operation: 65-4=61 Exploring Operation: 65-6=59, Resulting Numbers: [4, 59] Generated Node #0,1,1: 14:[4, 59] Operation: 65-6=59 Moving to Node #0,0 Current State: 14:[74, 4, 15], Operations: ['80-65=15'] Exploring Operation: 74-15=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 14:[4, 59] Operation: 74-15=59 Exploring Operation: 74-4=70, Resulting Numbers: [15, 70] Generated Node #0,0,1: 14:[15, 70] Operation: 74-4=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[4, 59], Operations: ['80-65=15', '74-15=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[15, 70], Operations: ['80-65=15', '74-4=70'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 15+70=85, Resulting Numbers: [85] 85,14 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: 14:[4, 59], Operations: ['80-74=6', '65-6=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[6, 61], Operations: ['80-74=6', '65-4=61'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,14 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 88, 29, 1, 98 ]
40
[ "88-29=59", "1+98=99", "99-59=40" ]
Current State: 40:[88, 29, 1, 98], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [1, 98, 59] Generated Node #2: [1, 98, 59] from Operation: 88-29=59 Current State: 40:[1, 98, 59], Operations: ['88-29=59'] Exploring Operation: 1+98=99, Resulting Numbers: [59, 99] Generated Node #3: [59, 99] from Operation: 1+98=99 Current State: 40:[59, 99], Operations: ['88-29=59', '1+98=99'] Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[88, 29, 1, 98], Operations: [] Exploring Operation: 88-1=87, Resulting Numbers: [29, 98, 87] Generated Node #0,0: 40:[29, 98, 87] Operation: 88-1=87 Exploring Operation: 98-88=10, Resulting Numbers: [29, 1, 10] Generated Node #0,1: 40:[29, 1, 10] Operation: 98-88=10 Exploring Operation: 88-29=59, Resulting Numbers: [1, 98, 59] Generated Node #0,2: 40:[1, 98, 59] Operation: 88-29=59 Exploring Operation: 98-29=69, Resulting Numbers: [88, 1, 69] Generated Node #0,3: 40:[88, 1, 69] Operation: 98-29=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[29, 1, 10], Operations: ['98-88=10'] Exploring Operation: 29*1=29, Resulting Numbers: [10, 29] Generated Node #0,1,0: 40:[10, 29] Operation: 29*1=29 Exploring Operation: 29-10=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 40:[1, 19] Operation: 29-10=19 Exploring Operation: 29-1=28, Resulting Numbers: [10, 28] Generated Node #0,1,2: 40:[10, 28] Operation: 29-1=28 Exploring Operation: 29+10=39, Resulting Numbers: [1, 39] Generated Node #0,1,3: 40:[1, 39] Operation: 29+10=39 Moving to Node #0,1,1 Current State: 40:[1, 19], Operations: ['98-88=10', '29-10=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[1, 39], Operations: ['98-88=10', '29+10=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[88, 29, 1, 98], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [29, 1, 10] Generated Node #0,1: 40:[29, 1, 10] Operation: 98-88=10 Moving to Node #0,1 Current State: 40:[29, 1, 10], Operations: ['98-88=10'] Exploring Operation: 29+10=39, Resulting Numbers: [1, 39] Generated Node #0,1,3: 40:[1, 39] Operation: 29+10=39 Moving to Node #0,1,3 Current State: 40:[1, 39], Operations: ['98-88=10', '29+10=39'] Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 81, 87, 11, 89 ]
94
[ "87-81=6", "11+89=100", "100-6=94" ]
Current State: 94:[81, 87, 11, 89], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [11, 89, 6] Generated Node #2: [11, 89, 6] from Operation: 87-81=6 Current State: 94:[11, 89, 6], Operations: ['87-81=6'] Exploring Operation: 11+89=100, Resulting Numbers: [6, 100] Generated Node #3: [6, 100] from Operation: 11+89=100 Current State: 94:[6, 100], Operations: ['87-81=6', '11+89=100'] Exploring Operation: 100-6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[81, 87, 11, 89], Operations: [] Exploring Operation: 81+11=92, Resulting Numbers: [87, 89, 92] Generated Node #0,0: 94:[87, 89, 92] Operation: 81+11=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[87, 89, 92], Operations: ['81+11=92'] Exploring Operation: 89-87=2, Resulting Numbers: [92, 2] Generated Node #0,0,0: 94:[92, 2] Operation: 89-87=2 Moving to Node #0,0,0 Current State: 94:[92, 2], Operations: ['81+11=92', '89-87=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[81, 87, 11, 89], Operations: [] Exploring Operation: 81+11=92, Resulting Numbers: [87, 89, 92] Generated Node #0,0: 94:[87, 89, 92] Operation: 81+11=92 Moving to Node #0,0 Current State: 94:[87, 89, 92], Operations: ['81+11=92'] Exploring Operation: 89-87=2, Resulting Numbers: [92, 2] Generated Node #0,0,0: 94:[92, 2] Operation: 89-87=2 Moving to Node #0,0,0 Current State: 94:[92, 2], Operations: ['81+11=92', '89-87=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 27, 34, 81, 2 ]
62
[ "81/27=3", "34-3=31", "2*31=62" ]
Current State: 62:[27, 34, 81, 2], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [34, 2, 3] Generated Node #2: [34, 2, 3] from Operation: 81/27=3 Current State: 62:[34, 2, 3], Operations: ['81/27=3'] Exploring Operation: 34-3=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 34-3=31 Current State: 62:[2, 31], Operations: ['81/27=3', '34-3=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[27, 34, 81, 2], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [34, 2, 54] Generated Node #0,0: 62:[34, 2, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [34, 2, 3] Generated Node #0,1: 62:[34, 2, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 62:[34, 2, 3], Operations: ['81/27=3'] Exploring Operation: 34-2=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 62:[3, 32] Operation: 34-2=32 Exploring Operation: 34-3=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 62:[2, 31] Operation: 34-3=31 Moving to Node #0,0 Current State: 62:[34, 2, 54], Operations: ['81-27=54'] Exploring Operation: 34-2=32, Resulting Numbers: [54, 32] Generated Node #0,0,0: 62:[54, 32] Operation: 34-2=32 Exploring Operation: 54/2=27, Resulting Numbers: [34, 27] Generated Node #0,0,1: 62:[34, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[34, 27], Operations: ['81-27=54', '54/2=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[54, 32], Operations: ['81-27=54', '34-2=32'] Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,62 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: 62:[2, 31], Operations: ['81/27=3', '34-3=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[27, 34, 81, 2], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [34, 2, 3] Generated Node #0,1: 62:[34, 2, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 62:[34, 2, 3], Operations: ['81/27=3'] Exploring Operation: 34-3=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 62:[2, 31] Operation: 34-3=31 Moving to Node #0,1,1 Current State: 62:[2, 31], Operations: ['81/27=3', '34-3=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 69, 3, 81, 89 ]
31
[ "69/3=23", "89-81=8", "23+8=31" ]
Current State: 31:[69, 3, 81, 89], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [81, 89, 23] Generated Node #2: [81, 89, 23] from Operation: 69/3=23 Current State: 31:[81, 89, 23], Operations: ['69/3=23'] Exploring Operation: 89-81=8, Resulting Numbers: [23, 8] Generated Node #3: [23, 8] from Operation: 89-81=8 Current State: 31:[23, 8], Operations: ['69/3=23', '89-81=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[69, 3, 81, 89], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [3, 89, 12] Generated Node #0,0: 31:[3, 89, 12] Operation: 81-69=12 Exploring Operation: 81/3=27, Resulting Numbers: [69, 89, 27] Generated Node #0,1: 31:[69, 89, 27] Operation: 81/3=27 Exploring Operation: 89-81=8, Resulting Numbers: [69, 3, 8] Generated Node #0,2: 31:[69, 3, 8] Operation: 89-81=8 Exploring Operation: 89-69=20, Resulting Numbers: [3, 81, 20] Generated Node #0,3: 31:[3, 81, 20] Operation: 89-69=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[69, 3, 8], Operations: ['89-81=8'] Exploring Operation: 69-8=61, Resulting Numbers: [3, 61] Generated Node #0,2,0: 31:[3, 61] Operation: 69-8=61 Exploring Operation: 69/3=23, Resulting Numbers: [8, 23] Generated Node #0,2,1: 31:[8, 23] Operation: 69/3=23 Exploring Operation: 3*8=24, Resulting Numbers: [69, 24] Generated Node #0,2,2: 31:[69, 24] Operation: 3*8=24 Exploring Operation: 69-3=66, Resulting Numbers: [8, 66] Generated Node #0,2,3: 31:[8, 66] Operation: 69-3=66 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[8, 23], Operations: ['89-81=8', '69/3=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,31 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[69, 3, 81, 89], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [69, 3, 8] Generated Node #0,2: 31:[69, 3, 8] Operation: 89-81=8 Moving to Node #0,2 Current State: 31:[69, 3, 8], Operations: ['89-81=8'] Exploring Operation: 69/3=23, Resulting Numbers: [8, 23] Generated Node #0,2,1: 31:[8, 23] Operation: 69/3=23 Moving to Node #0,2,1 Current State: 31:[8, 23], Operations: ['89-81=8', '69/3=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 19, 45, 22, 14 ]
32
[ "45*14=630", "630-22=608", "608/19=32" ]
Current State: 32:[19, 45, 22, 14], Operations: [] Exploring Operation: 45*14=630, Resulting Numbers: [19, 22, 630] Generated Node #2: [19, 22, 630] from Operation: 45*14=630 Current State: 32:[19, 22, 630], Operations: ['45*14=630'] Exploring Operation: 630-22=608, Resulting Numbers: [19, 608] Generated Node #3: [19, 608] from Operation: 630-22=608 Current State: 32:[19, 608], Operations: ['45*14=630', '630-22=608'] Exploring Operation: 608/19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[19, 45, 22, 14], Operations: [] Exploring Operation: 45-14=31, Resulting Numbers: [19, 22, 31] Generated Node #0,0: 32:[19, 22, 31] Operation: 45-14=31 Moving to Node #0,0 Current State: 32:[19, 22, 31], Operations: ['45-14=31'] Exploring Operation: 22-19=3, Resulting Numbers: [31, 3] Generated Node #0,0,0: 32:[31, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[31, 3], Operations: ['45-14=31', '22-19=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,32 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
[ 72, 17, 38, 4 ]
68
[ "72-17=55", "55-38=17", "4*17=68" ]
Current State: 68:[72, 17, 38, 4], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [38, 4, 55] Generated Node #2: [38, 4, 55] from Operation: 72-17=55 Current State: 68:[38, 4, 55], Operations: ['72-17=55'] Exploring Operation: 55-38=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 55-38=17 Current State: 68:[4, 17], Operations: ['72-17=55', '55-38=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[72, 17, 38, 4], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [17, 4, 34] Generated Node #0,0: 68:[17, 4, 34] Operation: 72-38=34 Exploring Operation: 72-4=68, Resulting Numbers: [17, 38, 68] Generated Node #0,1: 68:[17, 38, 68] Operation: 72-4=68 Moving to Node #0,0 Current State: 68:[17, 4, 34], Operations: ['72-38=34'] Exploring Operation: 34-17=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 68:[4, 17] Operation: 34-17=17 Exploring Operation: 17*4=68, Resulting Numbers: [34, 68] Generated Node #0,0,1: 68:[34, 68] Operation: 17*4=68 Moving to Node #0,1 Current State: 68:[17, 38, 68], Operations: ['72-4=68'] Exploring Operation: 68/17=4, Resulting Numbers: [38, 4] Generated Node #0,1,0: 68:[38, 4] Operation: 68/17=4 Exploring Operation: 38-17=21, Resulting Numbers: [68, 21] Generated Node #0,1,1: 68:[68, 21] Operation: 38-17=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[38, 4], Operations: ['72-4=68', '68/17=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[68, 21], Operations: ['72-4=68', '38-17=21'] Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,68 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: 68:[4, 17], Operations: ['72-38=34', '34-17=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[72, 17, 38, 4], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [17, 4, 34] Generated Node #0,0: 68:[17, 4, 34] Operation: 72-38=34 Moving to Node #0,0 Current State: 68:[17, 4, 34], Operations: ['72-38=34'] Exploring Operation: 34-17=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 68:[4, 17] Operation: 34-17=17 Moving to Node #0,0,0 Current State: 68:[4, 17], Operations: ['72-38=34', '34-17=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 46, 16, 96, 3 ]
62
[ "46-16=30", "96/3=32", "30+32=62" ]
Current State: 62:[46, 16, 96, 3], Operations: [] Exploring Operation: 46-16=30, Resulting Numbers: [96, 3, 30] Generated Node #2: [96, 3, 30] from Operation: 46-16=30 Current State: 62:[96, 3, 30], Operations: ['46-16=30'] Exploring Operation: 96/3=32, Resulting Numbers: [30, 32] Generated Node #3: [30, 32] from Operation: 96/3=32 Current State: 62:[30, 32], Operations: ['46-16=30', '96/3=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[46, 16, 96, 3], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [16, 3, 50] Generated Node #0,0: 62:[16, 3, 50] Operation: 96-46=50 Exploring Operation: 96/16=6, Resulting Numbers: [46, 3, 6] Generated Node #0,1: 62:[46, 3, 6] Operation: 96/16=6 Exploring Operation: 96/3=32, Resulting Numbers: [46, 16, 32] Generated Node #0,2: 62:[46, 16, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[46, 3, 6], Operations: ['96/16=6'] Exploring Operation: 46+6=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 62:[3, 52] Operation: 46+6=52 Exploring Operation: 46-6=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 62:[3, 40] Operation: 46-6=40 Exploring Operation: 6/3=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 62:[46, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[3, 40], Operations: ['96/16=6', '46-6=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[3, 52], Operations: ['96/16=6', '46+6=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,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:[46, 2], Operations: ['96/16=6', '6/3=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,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,0 Current State: 62:[16, 3, 50], Operations: ['96-46=50'] Exploring Operation: 50-16=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 62:[3, 34] Operation: 50-16=34 Exploring Operation: 16-3=13, Resulting Numbers: [50, 13] Generated Node #0,0,1: 62:[50, 13] Operation: 16-3=13 Exploring Operation: 16+50=66, Resulting Numbers: [3, 66] Generated Node #0,0,2: 62:[3, 66] Operation: 16+50=66 Moving to Node #0,0,0 Current State: 62:[3, 34], Operations: ['96-46=50', '50-16=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[3, 66], Operations: ['96-46=50', '16+50=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[50, 13], Operations: ['96-46=50', '16-3=13'] Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,62 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[46, 16, 32], Operations: ['96/3=32'] Exploring Operation: 46+16=62, Resulting Numbers: [32, 62] Generated Node #0,2,0: 62:[32, 62] Operation: 46+16=62 Exploring Operation: 32/16=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 62:[46, 2] Operation: 32/16=2 Exploring Operation: 46-16=30, Resulting Numbers: [32, 30] Generated Node #0,2,2: 62:[32, 30] Operation: 46-16=30 Moving to Node #0,2,0 Current State: 62:[32, 62], Operations: ['96/3=32', '46+16=62'] Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,62 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[32, 30], Operations: ['96/3=32', '46-16=30'] Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[46, 16, 96, 3], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [46, 16, 32] Generated Node #0,2: 62:[46, 16, 32] Operation: 96/3=32 Moving to Node #0,2 Current State: 62:[46, 16, 32], Operations: ['96/3=32'] Exploring Operation: 46-16=30, Resulting Numbers: [32, 30] Generated Node #0,2,2: 62:[32, 30] Operation: 46-16=30 Moving to Node #0,2,2 Current State: 62:[32, 30], Operations: ['96/3=32', '46-16=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic
[ 45, 9, 4, 55 ]
64
[ "45-9=36", "36/4=9", "55+9=64" ]
Current State: 64:[45, 9, 4, 55], Operations: [] Exploring Operation: 45-9=36, Resulting Numbers: [4, 55, 36] Generated Node #2: [4, 55, 36] from Operation: 45-9=36 Current State: 64:[4, 55, 36], Operations: ['45-9=36'] Exploring Operation: 36/4=9, Resulting Numbers: [55, 9] Generated Node #3: [55, 9] from Operation: 36/4=9 Current State: 64:[55, 9], Operations: ['45-9=36', '36/4=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[45, 9, 4, 55], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [4, 55, 5] Generated Node #0,0: 64:[4, 55, 5] Operation: 45/9=5 Exploring Operation: 9+55=64, Resulting Numbers: [45, 4, 64] Generated Node #0,1: 64:[45, 4, 64] Operation: 9+55=64 Exploring Operation: 55-45=10, Resulting Numbers: [9, 4, 10] Generated Node #0,2: 64:[9, 4, 10] Operation: 55-45=10 Exploring Operation: 45-9=36, Resulting Numbers: [4, 55, 36] Generated Node #0,3: 64:[4, 55, 36] Operation: 45-9=36 Moving to Node #0,2 Current State: 64:[9, 4, 10], Operations: ['55-45=10'] Exploring Operation: 9-4=5, Resulting Numbers: [10, 5] Generated Node #0,2,0: 64:[10, 5] Operation: 9-4=5 Exploring Operation: 4+10=14, Resulting Numbers: [9, 14] Generated Node #0,2,1: 64:[9, 14] Operation: 4+10=14 Exploring Operation: 9+10=19, Resulting Numbers: [4, 19] Generated Node #0,2,2: 64:[4, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [4, 1] Generated Node #0,2,3: 64:[4, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[4, 1], Operations: ['55-45=10', '10-9=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[10, 5], Operations: ['55-45=10', '9-4=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[9, 14], Operations: ['55-45=10', '4+10=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[4, 19], Operations: ['55-45=10', '9+10=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,64 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: 64:[4, 55, 5], Operations: ['45/9=5'] Exploring Operation: 4+55=59, Resulting Numbers: [5, 59] Generated Node #0,0,0: 64:[5, 59] Operation: 4+55=59 Exploring Operation: 4+5=9, Resulting Numbers: [55, 9] Generated Node #0,0,1: 64:[55, 9] Operation: 4+5=9 Exploring Operation: 55/5=11, Resulting Numbers: [4, 11] Generated Node #0,0,2: 64:[4, 11] Operation: 55/5=11 Exploring Operation: 55+5=60, Resulting Numbers: [4, 60] Generated Node #0,0,3: 64:[4, 60] Operation: 55+5=60 Moving to Node #0,3 Current State: 64:[4, 55, 36], Operations: ['45-9=36'] Exploring Operation: 36-4=32, Resulting Numbers: [55, 32] Generated Node #0,3,0: 64:[55, 32] Operation: 36-4=32 Exploring Operation: 4+55=59, Resulting Numbers: [36, 59] Generated Node #0,3,1: 64:[36, 59] Operation: 4+55=59 Exploring Operation: 55-36=19, Resulting Numbers: [4, 19] Generated Node #0,3,2: 64:[4, 19] Operation: 55-36=19 Exploring Operation: 36/4=9, Resulting Numbers: [55, 9] Generated Node #0,3,3: 64:[55, 9] Operation: 36/4=9 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[4, 19], Operations: ['45-9=36', '55-36=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[55, 32], Operations: ['45-9=36', '36-4=32'] Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,64 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[36, 59], Operations: ['45-9=36', '4+55=59'] Exploring Operation: 36*59=2124, Resulting Numbers: [2124] 2124,64 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[55, 9], Operations: ['45-9=36', '36/4=9'] Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,64 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[45, 9, 4, 55], Operations: [] Exploring Operation: 45-9=36, Resulting Numbers: [4, 55, 36] Generated Node #0,3: 64:[4, 55, 36] Operation: 45-9=36 Moving to Node #0,3 Current State: 64:[4, 55, 36], Operations: ['45-9=36'] Exploring Operation: 36/4=9, Resulting Numbers: [55, 9] Generated Node #0,3,3: 64:[55, 9] Operation: 36/4=9 Moving to Node #0,3,3 Current State: 64:[55, 9], Operations: ['45-9=36', '36/4=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 1, 77, 44, 27 ]
93
[ "77-1=76", "44-27=17", "76+17=93" ]
Current State: 93:[1, 77, 44, 27], Operations: [] Exploring Operation: 77-1=76, Resulting Numbers: [44, 27, 76] Generated Node #2: [44, 27, 76] from Operation: 77-1=76 Current State: 93:[44, 27, 76], Operations: ['77-1=76'] Exploring Operation: 44-27=17, Resulting Numbers: [76, 17] Generated Node #3: [76, 17] from Operation: 44-27=17 Current State: 93:[76, 17], Operations: ['77-1=76', '44-27=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[1, 77, 44, 27], Operations: [] Exploring Operation: 77-44=33, Resulting Numbers: [1, 27, 33] Generated Node #0,0: 93:[1, 27, 33] Operation: 77-44=33 Exploring Operation: 77+27=104, Resulting Numbers: [1, 44, 104] Generated Node #0,1: 93:[1, 44, 104] Operation: 77+27=104 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[1, 27, 33], Operations: ['77-44=33'] Exploring Operation: 1+27=28, Resulting Numbers: [33, 28] Generated Node #0,0,0: 93:[33, 28] Operation: 1+27=28 Exploring Operation: 33-1=32, Resulting Numbers: [27, 32] Generated Node #0,0,1: 93:[27, 32] Operation: 33-1=32 Moving to Node #0,0,0 Current State: 93:[33, 28], Operations: ['77-44=33', '1+27=28'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[27, 32], Operations: ['77-44=33', '33-1=32'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[1, 44, 104], Operations: ['77+27=104'] Exploring Operation: 44-1=43, Resulting Numbers: [104, 43] Generated Node #0,1,0: 93:[104, 43] Operation: 44-1=43 Exploring Operation: 104-1=103, Resulting Numbers: [44, 103] Generated Node #0,1,1: 93:[44, 103] Operation: 104-1=103 Moving to Node #0,1,0 Current State: 93:[104, 43], Operations: ['77+27=104', '44-1=43'] Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,93 unequal: No Solution Exploring Operation: 104+43=147, Resulting Numbers: [147] 147,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[44, 103], Operations: ['77+27=104', '104-1=103'] Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,93 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,93 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
[ 21, 49, 77, 81 ]
87
[ "49+77=126", "126/21=6", "81+6=87" ]
Current State: 87:[21, 49, 77, 81], Operations: [] Exploring Operation: 49+77=126, Resulting Numbers: [21, 81, 126] Generated Node #2: [21, 81, 126] from Operation: 49+77=126 Current State: 87:[21, 81, 126], Operations: ['49+77=126'] Exploring Operation: 126/21=6, Resulting Numbers: [81, 6] Generated Node #3: [81, 6] from Operation: 126/21=6 Current State: 87:[81, 6], Operations: ['49+77=126', '126/21=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[21, 49, 77, 81], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [21, 81, 28] Generated Node #0,0: 87:[21, 81, 28] Operation: 77-49=28 Exploring Operation: 49-21=28, Resulting Numbers: [77, 81, 28] Generated Node #0,1: 87:[77, 81, 28] Operation: 49-21=28 Exploring Operation: 81-49=32, Resulting Numbers: [21, 77, 32] Generated Node #0,2: 87:[21, 77, 32] Operation: 81-49=32 Exploring Operation: 81-77=4, Resulting Numbers: [21, 49, 4] Generated Node #0,3: 87:[21, 49, 4] Operation: 81-77=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[21, 81, 28], Operations: ['77-49=28'] Exploring Operation: 28-21=7, Resulting Numbers: [81, 7] Generated Node #0,0,0: 87:[81, 7] Operation: 28-21=7 Exploring Operation: 81-21=60, Resulting Numbers: [28, 60] Generated Node #0,0,1: 87:[28, 60] Operation: 81-21=60 Exploring Operation: 21+81=102, Resulting Numbers: [28, 102] Generated Node #0,0,2: 87:[28, 102] Operation: 21+81=102 Exploring Operation: 21+28=49, Resulting Numbers: [81, 49] Generated Node #0,0,3: 87:[81, 49] Operation: 21+28=49 Moving to Node #0,0,0 Current State: 87:[81, 7], Operations: ['77-49=28', '28-21=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,87 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[28, 102], Operations: ['77-49=28', '21+81=102'] Exploring Operation: 102-28=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 28*102=2856, Resulting Numbers: [2856] 2856,87 unequal: No Solution Exploring Operation: 28+102=130, Resulting Numbers: [130] 130,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[81, 49], Operations: ['77-49=28', '21+28=49'] Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,87 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[28, 60], Operations: ['77-49=28', '81-21=60'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,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,1 Current State: 87:[77, 81, 28], Operations: ['49-21=28'] Exploring Operation: 81-77=4, Resulting Numbers: [28, 4] Generated Node #0,1,0: 87:[28, 4] Operation: 81-77=4 Exploring Operation: 81+28=109, Resulting Numbers: [77, 109] Generated Node #0,1,1: 87:[77, 109] Operation: 81+28=109 Exploring Operation: 77+28=105, Resulting Numbers: [81, 105] Generated Node #0,1,2: 87:[81, 105] Operation: 77+28=105 Exploring Operation: 77-28=49, Resulting Numbers: [81, 49] Generated Node #0,1,3: 87:[81, 49] Operation: 77-28=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[28, 4], Operations: ['49-21=28', '81-77=4'] Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,87 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,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:[81, 105], Operations: ['49-21=28', '77+28=105'] Exploring Operation: 81*105=8505, Resulting Numbers: [8505] 8505,87 unequal: No Solution Exploring Operation: 81+105=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,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,3 Current State: 87:[81, 49], Operations: ['49-21=28', '77-28=49'] Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,87 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,87 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,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,1 Current State: 87:[77, 109], Operations: ['49-21=28', '81+28=109'] Exploring Operation: 77+109=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 77*109=8393, Resulting Numbers: [8393] 8393,87 unequal: No Solution Exploring Operation: 109-77=32, Resulting Numbers: [32] 32,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,2 Current State: 87:[21, 77, 32], Operations: ['81-49=32'] Exploring Operation: 21+77=98, Resulting Numbers: [32, 98] Generated Node #0,2,0: 87:[32, 98] Operation: 21+77=98 Exploring Operation: 77-21=56, Resulting Numbers: [32, 56] Generated Node #0,2,1: 87:[32, 56] Operation: 77-21=56 Exploring Operation: 77-32=45, Resulting Numbers: [21, 45] Generated Node #0,2,2: 87:[21, 45] Operation: 77-32=45 Exploring Operation: 32-21=11, Resulting Numbers: [77, 11] Generated Node #0,2,3: 87:[77, 11] Operation: 32-21=11 Moving to Node #0,2,0 Current State: 87:[32, 98], Operations: ['81-49=32', '21+77=98'] Exploring Operation: 32+98=130, Resulting Numbers: [130] 130,87 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 32*98=3136, Resulting Numbers: [3136] 3136,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[77, 11], Operations: ['81-49=32', '32-21=11'] Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[21, 45], Operations: ['81-49=32', '77-32=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,87 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[32, 56], Operations: ['81-49=32', '77-21=56'] Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,87 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[21, 49, 4], Operations: ['81-77=4'] Exploring Operation: 49-21=28, Resulting Numbers: [4, 28] Generated Node #0,3,0: 87:[4, 28] Operation: 49-21=28 Exploring Operation: 21+4=25, Resulting Numbers: [49, 25] Generated Node #0,3,1: 87:[49, 25] Operation: 21+4=25 Exploring Operation: 21+49=70, Resulting Numbers: [4, 70] Generated Node #0,3,2: 87:[4, 70] Operation: 21+49=70 Exploring Operation: 21*4=84, Resulting Numbers: [49, 84] Generated Node #0,3,3: 87:[49, 84] Operation: 21*4=84 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[4, 28], Operations: ['81-77=4', '49-21=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,87 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,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,3,2 Current State: 87:[4, 70], Operations: ['81-77=4', '21+49=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,87 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,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,3,3 Current State: 87:[49, 84], Operations: ['81-77=4', '21*4=84'] Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 49*84=4116, Resulting Numbers: [4116] 4116,87 unequal: No Solution Exploring Operation: 49+84=133, Resulting Numbers: [133] 133,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,3,1 Current State: 87:[49, 25], Operations: ['81-77=4', '21+4=25'] Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,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_4
mult_heuristic
[ 90, 43, 58, 28 ]
77
[ "90-43=47", "58-28=30", "47+30=77" ]
Current State: 77:[90, 43, 58, 28], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [58, 28, 47] Generated Node #2: [58, 28, 47] from Operation: 90-43=47 Current State: 77:[58, 28, 47], Operations: ['90-43=47'] Exploring Operation: 58-28=30, Resulting Numbers: [47, 30] Generated Node #3: [47, 30] from Operation: 58-28=30 Current State: 77:[47, 30], Operations: ['90-43=47', '58-28=30'] Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[90, 43, 58, 28], Operations: [] Exploring Operation: 43+58=101, Resulting Numbers: [90, 28, 101] Generated Node #0,0: 77:[90, 28, 101] Operation: 43+58=101 Exploring Operation: 43+28=71, Resulting Numbers: [90, 58, 71] Generated Node #0,1: 77:[90, 58, 71] Operation: 43+28=71 Exploring Operation: 58-43=15, Resulting Numbers: [90, 28, 15] Generated Node #0,2: 77:[90, 28, 15] Operation: 58-43=15 Exploring Operation: 43-28=15, Resulting Numbers: [90, 58, 15] Generated Node #0,3: 77:[90, 58, 15] Operation: 43-28=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[90, 28, 15], Operations: ['58-43=15'] Exploring Operation: 28-15=13, Resulting Numbers: [90, 13] Generated Node #0,2,0: 77:[90, 13] Operation: 28-15=13 Exploring Operation: 90-15=75, Resulting Numbers: [28, 75] Generated Node #0,2,1: 77:[28, 75] Operation: 90-15=75 Exploring Operation: 90-28=62, Resulting Numbers: [15, 62] Generated Node #0,2,2: 77:[15, 62] Operation: 90-28=62 Exploring Operation: 90/15=6, Resulting Numbers: [28, 6] Generated Node #0,2,3: 77:[28, 6] Operation: 90/15=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[90, 13], Operations: ['58-43=15', '28-15=13'] Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,77 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[90, 43, 58, 28], Operations: [] Exploring Operation: 58-43=15, Resulting Numbers: [90, 28, 15] Generated Node #0,2: 77:[90, 28, 15] Operation: 58-43=15 Moving to Node #0,2 Current State: 77:[90, 28, 15], Operations: ['58-43=15'] Exploring Operation: 28-15=13, Resulting Numbers: [90, 13] Generated Node #0,2,0: 77:[90, 13] Operation: 28-15=13 Moving to Node #0,2,0 Current State: 77:[90, 13], Operations: ['58-43=15', '28-15=13'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 42, 8, 9, 18 ]
15
[ "9*18=162", "162-42=120", "120/8=15" ]
Current State: 15:[42, 8, 9, 18], Operations: [] Exploring Operation: 9*18=162, Resulting Numbers: [42, 8, 162] Generated Node #2: [42, 8, 162] from Operation: 9*18=162 Current State: 15:[42, 8, 162], Operations: ['9*18=162'] Exploring Operation: 162-42=120, Resulting Numbers: [8, 120] Generated Node #3: [8, 120] from Operation: 162-42=120 Current State: 15:[8, 120], Operations: ['9*18=162', '162-42=120'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[42, 8, 9, 18], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [8, 9, 24] Generated Node #0,0: 15:[8, 9, 24] Operation: 42-18=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[8, 9, 24], Operations: ['42-18=24'] Exploring Operation: 24-9=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 15:[8, 15] Operation: 24-9=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[8, 15], Operations: ['42-18=24', '24-9=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,15 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
[ 10, 2, 87, 99 ]
100
[ "2+87=89", "99-89=10", "10*10=100" ]
Current State: 100:[10, 2, 87, 99], Operations: [] Exploring Operation: 2+87=89, Resulting Numbers: [10, 99, 89] Generated Node #2: [10, 99, 89] from Operation: 2+87=89 Current State: 100:[10, 99, 89], Operations: ['2+87=89'] Exploring Operation: 99-89=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 99-89=10 Current State: 100:[10, 10], Operations: ['2+87=89', '99-89=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[10, 2, 87, 99], Operations: [] Exploring Operation: 10+87=97, Resulting Numbers: [2, 99, 97] Generated Node #0,0: 100:[2, 99, 97] Operation: 10+87=97 Exploring Operation: 99-87=12, Resulting Numbers: [10, 2, 12] Generated Node #0,1: 100:[10, 2, 12] Operation: 99-87=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[10, 2, 12], Operations: ['99-87=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 100:[2, 2] Operation: 12-10=2 Exploring Operation: 12-2=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 100:[10, 10] Operation: 12-2=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[2, 2], Operations: ['99-87=12', '12-10=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[10, 10], Operations: ['99-87=12', '12-2=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[10, 2, 87, 99], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [10, 2, 12] Generated Node #0,1: 100:[10, 2, 12] Operation: 99-87=12 Moving to Node #0,1 Current State: 100:[10, 2, 12], Operations: ['99-87=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 100:[10, 10] Operation: 12-2=10 Moving to Node #0,1,1 Current State: 100:[10, 10], Operations: ['99-87=12', '12-2=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 57, 85, 4, 81 ]
58
[ "85-4=81", "81/81=1", "57+1=58" ]
Current State: 58:[57, 85, 4, 81], Operations: [] Exploring Operation: 85-4=81, Resulting Numbers: [57, 81, 81] Generated Node #2: [57, 81, 81] from Operation: 85-4=81 Current State: 58:[57, 81, 81], Operations: ['85-4=81'] Exploring Operation: 81/81=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 81/81=1 Current State: 58:[57, 1], Operations: ['85-4=81', '81/81=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[57, 85, 4, 81], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [57, 4, 4] Generated Node #0,0: 58:[57, 4, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 58:[57, 4, 4], Operations: ['85-81=4'] Exploring Operation: 4/4=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 58:[57, 1] Operation: 4/4=1 Moving to Node #0,0,0 Current State: 58:[57, 1], Operations: ['85-81=4', '4/4=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[57, 85, 4, 81], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [57, 4, 4] Generated Node #0,0: 58:[57, 4, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 58:[57, 4, 4], Operations: ['85-81=4'] Exploring Operation: 4/4=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 58:[57, 1] Operation: 4/4=1 Moving to Node #0,0,0 Current State: 58:[57, 1], Operations: ['85-81=4', '4/4=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 21, 51, 36, 74 ]
34
[ "21+51=72", "74-36=38", "72-38=34" ]
Current State: 34:[21, 51, 36, 74], Operations: [] Exploring Operation: 21+51=72, Resulting Numbers: [36, 74, 72] Generated Node #2: [36, 74, 72] from Operation: 21+51=72 Current State: 34:[36, 74, 72], Operations: ['21+51=72'] Exploring Operation: 74-36=38, Resulting Numbers: [72, 38] Generated Node #3: [72, 38] from Operation: 74-36=38 Current State: 34:[72, 38], Operations: ['21+51=72', '74-36=38'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[21, 51, 36, 74], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [21, 51, 38] Generated Node #0,0: 34:[21, 51, 38] Operation: 74-36=38 Exploring Operation: 74-51=23, Resulting Numbers: [21, 36, 23] Generated Node #0,1: 34:[21, 36, 23] Operation: 74-51=23 Moving to Node #0,1 Current State: 34:[21, 36, 23], Operations: ['74-51=23'] Exploring Operation: 23-21=2, Resulting Numbers: [36, 2] Generated Node #0,1,0: 34:[36, 2] Operation: 23-21=2 Exploring Operation: 36-21=15, Resulting Numbers: [23, 15] Generated Node #0,1,1: 34:[23, 15] Operation: 36-21=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[36, 2], Operations: ['74-51=23', '23-21=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[21, 51, 36, 74], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [21, 36, 23] Generated Node #0,1: 34:[21, 36, 23] Operation: 74-51=23 Moving to Node #0,1 Current State: 34:[21, 36, 23], Operations: ['74-51=23'] Exploring Operation: 23-21=2, Resulting Numbers: [36, 2] Generated Node #0,1,0: 34:[36, 2] Operation: 23-21=2 Moving to Node #0,1,0 Current State: 34:[36, 2], Operations: ['74-51=23', '23-21=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 21, 66, 9, 86 ]
32
[ "66-21=45", "86-9=77", "77-45=32" ]
Current State: 32:[21, 66, 9, 86], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [9, 86, 45] Generated Node #2: [9, 86, 45] from Operation: 66-21=45 Current State: 32:[9, 86, 45], Operations: ['66-21=45'] Exploring Operation: 86-9=77, Resulting Numbers: [45, 77] Generated Node #3: [45, 77] from Operation: 86-9=77 Current State: 32:[45, 77], Operations: ['66-21=45', '86-9=77'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[21, 66, 9, 86], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [21, 9, 20] Generated Node #0,0: 32:[21, 9, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[21, 9, 20], Operations: ['86-66=20'] Exploring Operation: 21-20=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 32:[9, 1] Operation: 21-20=1 Moving to Node #0,0,0 Current State: 32:[9, 1], Operations: ['86-66=20', '21-20=1'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 50, 32, 71 ]
63
[ "35-32=3", "71-50=21", "3*21=63" ]
Current State: 63:[35, 50, 32, 71], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [50, 71, 3] Generated Node #2: [50, 71, 3] from Operation: 35-32=3 Current State: 63:[50, 71, 3], Operations: ['35-32=3'] Exploring Operation: 71-50=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 71-50=21 Current State: 63:[3, 21], Operations: ['35-32=3', '71-50=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[35, 50, 32, 71], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [50, 71, 3] Generated Node #0,0: 63:[50, 71, 3] Operation: 35-32=3 Exploring Operation: 50-32=18, Resulting Numbers: [35, 71, 18] Generated Node #0,1: 63:[35, 71, 18] Operation: 50-32=18 Exploring Operation: 50-35=15, Resulting Numbers: [32, 71, 15] Generated Node #0,2: 63:[32, 71, 15] Operation: 50-35=15 Exploring Operation: 35+32=67, Resulting Numbers: [50, 71, 67] Generated Node #0,3: 63:[50, 71, 67] Operation: 35+32=67 Moving to Node #0,0 Current State: 63:[50, 71, 3], Operations: ['35-32=3'] Exploring Operation: 50+3=53, Resulting Numbers: [71, 53] Generated Node #0,0,0: 63:[71, 53] Operation: 50+3=53 Exploring Operation: 71-50=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 63:[3, 21] Operation: 71-50=21 Exploring Operation: 50-3=47, Resulting Numbers: [71, 47] Generated Node #0,0,2: 63:[71, 47] Operation: 50-3=47 Exploring Operation: 71-3=68, Resulting Numbers: [50, 68] Generated Node #0,0,3: 63:[50, 68] Operation: 71-3=68 Moving to Node #0,2 Current State: 63:[32, 71, 15], Operations: ['50-35=15'] Exploring Operation: 32-15=17, Resulting Numbers: [71, 17] Generated Node #0,2,0: 63:[71, 17] Operation: 32-15=17 Exploring Operation: 71-15=56, Resulting Numbers: [32, 56] Generated Node #0,2,1: 63:[32, 56] Operation: 71-15=56 Exploring Operation: 71-32=39, Resulting Numbers: [15, 39] Generated Node #0,2,2: 63:[15, 39] Operation: 71-32=39 Exploring Operation: 32+15=47, Resulting Numbers: [71, 47] Generated Node #0,2,3: 63:[71, 47] Operation: 32+15=47 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[71, 17], Operations: ['50-35=15', '32-15=17'] Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,63 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,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,2,1 Current State: 63:[32, 56], Operations: ['50-35=15', '71-15=56'] Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,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,2,2 Current State: 63:[15, 39], Operations: ['50-35=15', '71-32=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,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,2,3 Current State: 63:[71, 47], Operations: ['50-35=15', '32+15=47'] Exploring Operation: 71*47=3337, Resulting Numbers: [3337] 3337,63 unequal: No Solution Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,63 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,63 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: 63:[35, 71, 18], Operations: ['50-32=18'] Exploring Operation: 35-18=17, Resulting Numbers: [71, 17] Generated Node #0,1,0: 63:[71, 17] Operation: 35-18=17 Exploring Operation: 71-18=53, Resulting Numbers: [35, 53] Generated Node #0,1,1: 63:[35, 53] Operation: 71-18=53 Exploring Operation: 71-35=36, Resulting Numbers: [18, 36] Generated Node #0,1,2: 63:[18, 36] Operation: 71-35=36 Exploring Operation: 35+18=53, Resulting Numbers: [71, 53] Generated Node #0,1,3: 63:[71, 53] Operation: 35+18=53 Moving to Node #0,3 Current State: 63:[50, 71, 67], Operations: ['35+32=67'] Exploring Operation: 71-50=21, Resulting Numbers: [67, 21] Generated Node #0,3,0: 63:[67, 21] Operation: 71-50=21 Exploring Operation: 67-50=17, Resulting Numbers: [71, 17] Generated Node #0,3,1: 63:[71, 17] Operation: 67-50=17 Exploring Operation: 50+71=121, Resulting Numbers: [67, 121] Generated Node #0,3,2: 63:[67, 121] Operation: 50+71=121 Exploring Operation: 71-67=4, Resulting Numbers: [50, 4] Generated Node #0,3,3: 63:[50, 4] Operation: 71-67=4 Moving to Node #0,0,1 Current State: 63:[3, 21], Operations: ['35-32=3', '71-50=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[35, 50, 32, 71], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [50, 71, 3] Generated Node #0,0: 63:[50, 71, 3] Operation: 35-32=3 Moving to Node #0,0 Current State: 63:[50, 71, 3], Operations: ['35-32=3'] Exploring Operation: 71-50=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 63:[3, 21] Operation: 71-50=21 Moving to Node #0,0,1 Current State: 63:[3, 21], Operations: ['35-32=3', '71-50=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.967882
hs_4
sum_heuristic
[ 42, 54, 33, 45 ]
49
[ "42-33=9", "45/9=5", "54-5=49" ]
Current State: 49:[42, 54, 33, 45], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [54, 45, 9] Generated Node #2: [54, 45, 9] from Operation: 42-33=9 Current State: 49:[54, 45, 9], Operations: ['42-33=9'] Exploring Operation: 45/9=5, Resulting Numbers: [54, 5] Generated Node #3: [54, 5] from Operation: 45/9=5 Current State: 49:[54, 5], Operations: ['42-33=9', '45/9=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[42, 54, 33, 45], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [54, 45, 9] Generated Node #0,0: 49:[54, 45, 9] Operation: 42-33=9 Exploring Operation: 54-42=12, Resulting Numbers: [33, 45, 12] Generated Node #0,1: 49:[33, 45, 12] Operation: 54-42=12 Exploring Operation: 45-33=12, Resulting Numbers: [42, 54, 12] Generated Node #0,2: 49:[42, 54, 12] Operation: 45-33=12 Moving to Node #0,0 Current State: 49:[54, 45, 9], Operations: ['42-33=9'] Exploring Operation: 45/9=5, Resulting Numbers: [54, 5] Generated Node #0,0,0: 49:[54, 5] Operation: 45/9=5 Exploring Operation: 54/9=6, Resulting Numbers: [45, 6] Generated Node #0,0,1: 49:[45, 6] Operation: 54/9=6 Exploring Operation: 54-45=9, Resulting Numbers: [9, 9] Generated Node #0,0,2: 49:[9, 9] Operation: 54-45=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[9, 9], Operations: ['42-33=9', '54-45=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[45, 6], Operations: ['42-33=9', '54/9=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,49 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[54, 5], Operations: ['42-33=9', '45/9=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[42, 54, 33, 45], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [54, 45, 9] Generated Node #0,0: 49:[54, 45, 9] Operation: 42-33=9 Moving to Node #0,0 Current State: 49:[54, 45, 9], Operations: ['42-33=9'] Exploring Operation: 45/9=5, Resulting Numbers: [54, 5] Generated Node #0,0,0: 49:[54, 5] Operation: 45/9=5 Moving to Node #0,0,0 Current State: 49:[54, 5], Operations: ['42-33=9', '45/9=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 5, 89, 18, 91 ]
100
[ "89-18=71", "91-71=20", "5*20=100" ]
Current State: 100:[5, 89, 18, 91], Operations: [] Exploring Operation: 89-18=71, Resulting Numbers: [5, 91, 71] Generated Node #2: [5, 91, 71] from Operation: 89-18=71 Current State: 100:[5, 91, 71], Operations: ['89-18=71'] Exploring Operation: 91-71=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 91-71=20 Current State: 100:[5, 20], Operations: ['89-18=71', '91-71=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[5, 89, 18, 91], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [5, 18, 2] Generated Node #0,0: 100:[5, 18, 2] Operation: 91-89=2 Moving to Node #0,0 Current State: 100:[5, 18, 2], Operations: ['91-89=2'] Exploring Operation: 18+2=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 100:[5, 20] Operation: 18+2=20 Moving to Node #0,0,0 Current State: 100:[5, 20], Operations: ['91-89=2', '18+2=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 42, 72, 22, 20 ]
51
[ "22-20=2", "42/2=21", "72-21=51" ]
Current State: 51:[42, 72, 22, 20], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [42, 72, 2] Generated Node #2: [42, 72, 2] from Operation: 22-20=2 Current State: 51:[42, 72, 2], Operations: ['22-20=2'] Exploring Operation: 42/2=21, Resulting Numbers: [72, 21] Generated Node #3: [72, 21] from Operation: 42/2=21 Current State: 51:[72, 21], Operations: ['22-20=2', '42/2=21'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[42, 72, 22, 20], Operations: [] Exploring Operation: 72-22=50, Resulting Numbers: [42, 20, 50] Generated Node #0,0: 51:[42, 20, 50] Operation: 72-22=50 Exploring Operation: 72-20=52, Resulting Numbers: [42, 22, 52] Generated Node #0,1: 51:[42, 22, 52] Operation: 72-20=52 Moving to Node #0,0 Current State: 51:[42, 20, 50], Operations: ['72-22=50'] Exploring Operation: 50-42=8, Resulting Numbers: [20, 8] Generated Node #0,0,0: 51:[20, 8] Operation: 50-42=8 Exploring Operation: 42-20=22, Resulting Numbers: [50, 22] Generated Node #0,0,1: 51:[50, 22] Operation: 42-20=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[50, 22], Operations: ['72-22=50', '42-20=22'] Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[20, 8], Operations: ['72-22=50', '50-42=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 51:[42, 22, 52], Operations: ['72-20=52'] Exploring Operation: 52-42=10, Resulting Numbers: [22, 10] Generated Node #0,1,0: 51:[22, 10] Operation: 52-42=10 Exploring Operation: 42-22=20, Resulting Numbers: [52, 20] Generated Node #0,1,1: 51:[52, 20] Operation: 42-22=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[52, 20], Operations: ['72-20=52', '42-22=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[22, 10], Operations: ['72-20=52', '52-42=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic