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
[ 2, 37, 49, 83 ]
73
[ "2+37=39", "83-49=34", "39+34=73" ]
Current State: 73:[2, 37, 49, 83], Operations: [] Exploring Operation: 2+37=39, Resulting Numbers: [49, 83, 39] Generated Node #2: [49, 83, 39] from Operation: 2+37=39 Current State: 73:[49, 83, 39], Operations: ['2+37=39'] Exploring Operation: 83-49=34, Resulting Numbers: [39, 34] Generated Node #3: [39, 34] from Operation: 83-49=34 Current State: 73:[39, 34], Operations: ['2+37=39', '83-49=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[2, 37, 49, 83], Operations: [] Exploring Operation: 2+37=39, Resulting Numbers: [49, 83, 39] Generated Node #0,0: 73:[49, 83, 39] Operation: 2+37=39 Exploring Operation: 2*37=74, Resulting Numbers: [49, 83, 74] Generated Node #0,1: 73:[49, 83, 74] Operation: 2*37=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[49, 83, 74], Operations: ['2*37=74'] Exploring Operation: 83-49=34, Resulting Numbers: [74, 34] Generated Node #0,1,0: 73:[74, 34] Operation: 83-49=34 Exploring Operation: 74-49=25, Resulting Numbers: [83, 25] Generated Node #0,1,1: 73:[83, 25] Operation: 74-49=25 Moving to Node #0,1,0 Current State: 73:[74, 34], Operations: ['2*37=74', '83-49=34'] Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 74+34=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[83, 25], Operations: ['2*37=74', '74-49=25'] Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[49, 83, 39], Operations: ['2+37=39'] Exploring Operation: 83-39=44, Resulting Numbers: [49, 44] Generated Node #0,0,0: 73:[49, 44] Operation: 83-39=44 Exploring Operation: 49+39=88, Resulting Numbers: [83, 88] Generated Node #0,0,1: 73:[83, 88] Operation: 49+39=88 Moving to Node #0,0,1 Current State: 73:[83, 88], Operations: ['2+37=39', '49+39=88'] Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[49, 44], Operations: ['2+37=39', '83-39=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 38, 53, 70, 95 ]
100
[ "38*95=3610", "53*70=3710", "3710-3610=100" ]
Current State: 100:[38, 53, 70, 95], Operations: [] Exploring Operation: 38*95=3610, Resulting Numbers: [53, 70, 3610] Generated Node #2: [53, 70, 3610] from Operation: 38*95=3610 Current State: 100:[53, 70, 3610], Operations: ['38*95=3610'] Exploring Operation: 53*70=3710, Resulting Numbers: [3610, 3710] Generated Node #3: [3610, 3710] from Operation: 53*70=3710 Current State: 100:[3610, 3710], Operations: ['38*95=3610', '53*70=3710'] Exploring Operation: 3710-3610=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[38, 53, 70, 95], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [53, 95, 32] Generated Node #0,0: 100:[53, 95, 32] Operation: 70-38=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[53, 95, 32], Operations: ['70-38=32'] Exploring Operation: 53-32=21, Resulting Numbers: [95, 21] Generated Node #0,0,0: 100:[95, 21] Operation: 53-32=21 Moving to Node #0,0,0 Current State: 100:[95, 21], Operations: ['70-38=32', '53-32=21'] Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,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
[ 2, 20, 74, 94 ]
94
[ "2*94=188", "20+74=94", "188-94=94" ]
Current State: 94:[2, 20, 74, 94], Operations: [] Exploring Operation: 2*94=188, Resulting Numbers: [20, 74, 188] Generated Node #2: [20, 74, 188] from Operation: 2*94=188 Current State: 94:[20, 74, 188], Operations: ['2*94=188'] Exploring Operation: 20+74=94, Resulting Numbers: [188, 94] Generated Node #3: [188, 94] from Operation: 20+74=94 Current State: 94:[188, 94], Operations: ['2*94=188', '20+74=94'] Exploring Operation: 188-94=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 20, 74, 94], Operations: [] Exploring Operation: 20+74=94, Resulting Numbers: [2, 94, 94] Generated Node #0,0: 94:[2, 94, 94] Operation: 20+74=94 Exploring Operation: 74-20=54, Resulting Numbers: [2, 94, 54] Generated Node #0,1: 94:[2, 94, 54] Operation: 74-20=54 Moving to Node #0,0 Current State: 94:[2, 94, 94], Operations: ['20+74=94'] Exploring Operation: 94/2=47, Resulting Numbers: [94, 47] Generated Node #0,0,0: 94:[94, 47] Operation: 94/2=47 Exploring Operation: 94/2=47, Resulting Numbers: [94, 47] Generated Node #0,0,1: 94:[94, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[94, 47], Operations: ['20+74=94', '94/2=47'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[94, 47], Operations: ['20+74=94', '94/2=47'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[2, 94, 54], Operations: ['74-20=54'] Exploring Operation: 94/2=47, Resulting Numbers: [54, 47] Generated Node #0,1,0: 94:[54, 47] Operation: 94/2=47 Exploring Operation: 54-2=52, Resulting Numbers: [94, 52] Generated Node #0,1,1: 94:[94, 52] Operation: 54-2=52 Moving to Node #0,1,1 Current State: 94:[94, 52], Operations: ['74-20=54', '54-2=52'] Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,94 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[54, 47], Operations: ['74-20=54', '94/2=47'] Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 17, 77, 61, 37 ]
84
[ "77-17=60", "61-37=24", "60+24=84" ]
Current State: 84:[17, 77, 61, 37], Operations: [] Exploring Operation: 77-17=60, Resulting Numbers: [61, 37, 60] Generated Node #2: [61, 37, 60] from Operation: 77-17=60 Current State: 84:[61, 37, 60], Operations: ['77-17=60'] Exploring Operation: 61-37=24, Resulting Numbers: [60, 24] Generated Node #3: [60, 24] from Operation: 61-37=24 Current State: 84:[60, 24], Operations: ['77-17=60', '61-37=24'] Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[17, 77, 61, 37], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [17, 37, 16] Generated Node #0,0: 84:[17, 37, 16] Operation: 77-61=16 Exploring Operation: 61-37=24, Resulting Numbers: [17, 77, 24] Generated Node #0,1: 84:[17, 77, 24] Operation: 61-37=24 Exploring Operation: 61-17=44, Resulting Numbers: [77, 37, 44] Generated Node #0,2: 84:[77, 37, 44] Operation: 61-17=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[17, 37, 16], Operations: ['77-61=16'] Exploring Operation: 17-16=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 84:[37, 1] Operation: 17-16=1 Exploring Operation: 37-17=20, Resulting Numbers: [16, 20] Generated Node #0,0,1: 84:[16, 20] Operation: 37-17=20 Exploring Operation: 37-16=21, Resulting Numbers: [17, 21] Generated Node #0,0,2: 84:[17, 21] Operation: 37-16=21 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[16, 20], Operations: ['77-61=16', '37-17=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,84 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[17, 21], Operations: ['77-61=16', '37-16=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[37, 1], Operations: ['77-61=16', '17-16=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[17, 77, 24], Operations: ['61-37=24'] Exploring Operation: 24-17=7, Resulting Numbers: [77, 7] Generated Node #0,1,0: 84:[77, 7] Operation: 24-17=7 Exploring Operation: 17+24=41, Resulting Numbers: [77, 41] Generated Node #0,1,1: 84:[77, 41] Operation: 17+24=41 Exploring Operation: 17+77=94, Resulting Numbers: [24, 94] Generated Node #0,1,2: 84:[24, 94] Operation: 17+77=94 Moving to Node #0,1,0 Current State: 84:[77, 7], Operations: ['61-37=24', '24-17=7'] Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[17, 77, 61, 37], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [17, 77, 24] Generated Node #0,1: 84:[17, 77, 24] Operation: 61-37=24 Moving to Node #0,1 Current State: 84:[17, 77, 24], Operations: ['61-37=24'] Exploring Operation: 24-17=7, Resulting Numbers: [77, 7] Generated Node #0,1,0: 84:[77, 7] Operation: 24-17=7 Moving to Node #0,1,0 Current State: 84:[77, 7], Operations: ['61-37=24', '24-17=7'] Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 45, 70, 16, 74 ]
25
[ "45+70=115", "16+74=90", "115-90=25" ]
Current State: 25:[45, 70, 16, 74], Operations: [] Exploring Operation: 45+70=115, Resulting Numbers: [16, 74, 115] Generated Node #2: [16, 74, 115] from Operation: 45+70=115 Current State: 25:[16, 74, 115], Operations: ['45+70=115'] Exploring Operation: 16+74=90, Resulting Numbers: [115, 90] Generated Node #3: [115, 90] from Operation: 16+74=90 Current State: 25:[115, 90], Operations: ['45+70=115', '16+74=90'] Exploring Operation: 115-90=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[45, 70, 16, 74], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [16, 74, 25] Generated Node #0,0: 25:[16, 74, 25] Operation: 70-45=25 Exploring Operation: 74-70=4, Resulting Numbers: [45, 16, 4] Generated Node #0,1: 25:[45, 16, 4] Operation: 74-70=4 Moving to Node #0,1 Current State: 25:[45, 16, 4], Operations: ['74-70=4'] Exploring Operation: 45-16=29, Resulting Numbers: [4, 29] Generated Node #0,1,0: 25:[4, 29] Operation: 45-16=29 Exploring Operation: 16/4=4, Resulting Numbers: [45, 4] Generated Node #0,1,1: 25:[45, 4] Operation: 16/4=4 Moving to Node #0,0 Current State: 25:[16, 74, 25], Operations: ['70-45=25'] Exploring Operation: 74-16=58, Resulting Numbers: [25, 58] Generated Node #0,0,0: 25:[25, 58] Operation: 74-16=58 Exploring Operation: 74-25=49, Resulting Numbers: [16, 49] Generated Node #0,0,1: 25:[16, 49] Operation: 74-25=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[25, 58], Operations: ['70-45=25', '74-16=58'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,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:[16, 49], Operations: ['70-45=25', '74-25=49'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,25 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: 25:[4, 29], Operations: ['74-70=4', '45-16=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[45, 70, 16, 74], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [45, 16, 4] Generated Node #0,1: 25:[45, 16, 4] Operation: 74-70=4 Moving to Node #0,1 Current State: 25:[45, 16, 4], Operations: ['74-70=4'] Exploring Operation: 45-16=29, Resulting Numbers: [4, 29] Generated Node #0,1,0: 25:[4, 29] Operation: 45-16=29 Moving to Node #0,1,0 Current State: 25:[4, 29], Operations: ['74-70=4', '45-16=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 22, 47, 77, 50 ]
96
[ "22+47=69", "77-50=27", "69+27=96" ]
Current State: 96:[22, 47, 77, 50], Operations: [] Exploring Operation: 22+47=69, Resulting Numbers: [77, 50, 69] Generated Node #2: [77, 50, 69] from Operation: 22+47=69 Current State: 96:[77, 50, 69], Operations: ['22+47=69'] Exploring Operation: 77-50=27, Resulting Numbers: [69, 27] Generated Node #3: [69, 27] from Operation: 77-50=27 Current State: 96:[69, 27], Operations: ['22+47=69', '77-50=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[22, 47, 77, 50], Operations: [] Exploring Operation: 22+77=99, Resulting Numbers: [47, 50, 99] Generated Node #0,0: 96:[47, 50, 99] Operation: 22+77=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[47, 50, 99], Operations: ['22+77=99'] Exploring Operation: 99-50=49, Resulting Numbers: [47, 49] Generated Node #0,0,0: 96:[47, 49] Operation: 99-50=49 Moving to Node #0,0,0 Current State: 96:[47, 49], Operations: ['22+77=99', '99-50=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[22, 47, 77, 50], Operations: [] Exploring Operation: 22+77=99, Resulting Numbers: [47, 50, 99] Generated Node #0,0: 96:[47, 50, 99] Operation: 22+77=99 Moving to Node #0,0 Current State: 96:[47, 50, 99], Operations: ['22+77=99'] Exploring Operation: 99-50=49, Resulting Numbers: [47, 49] Generated Node #0,0,0: 96:[47, 49] Operation: 99-50=49 Moving to Node #0,0,0 Current State: 96:[47, 49], Operations: ['22+77=99', '99-50=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 39, 43, 25, 84 ]
46
[ "43-39=4", "84/4=21", "25+21=46" ]
Current State: 46:[39, 43, 25, 84], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [25, 84, 4] Generated Node #2: [25, 84, 4] from Operation: 43-39=4 Current State: 46:[25, 84, 4], Operations: ['43-39=4'] Exploring Operation: 84/4=21, Resulting Numbers: [25, 21] Generated Node #3: [25, 21] from Operation: 84/4=21 Current State: 46:[25, 21], Operations: ['43-39=4', '84/4=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[39, 43, 25, 84], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [39, 25, 41] Generated Node #0,0: 46:[39, 25, 41] Operation: 84-43=41 Exploring Operation: 43-39=4, Resulting Numbers: [25, 84, 4] Generated Node #0,1: 46:[25, 84, 4] Operation: 43-39=4 Exploring Operation: 84-39=45, Resulting Numbers: [43, 25, 45] Generated Node #0,2: 46:[43, 25, 45] Operation: 84-39=45 Exploring Operation: 39-25=14, Resulting Numbers: [43, 84, 14] Generated Node #0,3: 46:[43, 84, 14] Operation: 39-25=14 Exploring Operation: 84-25=59, Resulting Numbers: [39, 43, 59] Generated Node #0,4: 46:[39, 43, 59] Operation: 84-25=59 Moving to Node #0,2 Current State: 46:[43, 25, 45], Operations: ['84-39=45'] Exploring Operation: 43+25=68, Resulting Numbers: [45, 68] Generated Node #0,2,0: 46:[45, 68] Operation: 43+25=68 Exploring Operation: 43-25=18, Resulting Numbers: [45, 18] Generated Node #0,2,1: 46:[45, 18] Operation: 43-25=18 Exploring Operation: 45-43=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 46:[25, 2] Operation: 45-43=2 Exploring Operation: 45-25=20, Resulting Numbers: [43, 20] Generated Node #0,2,3: 46:[43, 20] Operation: 45-25=20 Exploring Operation: 25+45=70, Resulting Numbers: [43, 70] Generated Node #0,2,4: 46:[43, 70] Operation: 25+45=70 Moving to Node #0,0 Current State: 46:[39, 25, 41], Operations: ['84-43=41'] Exploring Operation: 39+25=64, Resulting Numbers: [41, 64] Generated Node #0,0,0: 46:[41, 64] Operation: 39+25=64 Exploring Operation: 41-39=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 46:[25, 2] Operation: 41-39=2 Exploring Operation: 41-25=16, Resulting Numbers: [39, 16] Generated Node #0,0,2: 46:[39, 16] Operation: 41-25=16 Exploring Operation: 39-25=14, Resulting Numbers: [41, 14] Generated Node #0,0,3: 46:[41, 14] Operation: 39-25=14 Exploring Operation: 25+41=66, Resulting Numbers: [39, 66] Generated Node #0,0,4: 46:[39, 66] Operation: 25+41=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[25, 2], Operations: ['84-43=41', '41-39=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[39, 16], Operations: ['84-43=41', '41-25=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[41, 14], Operations: ['84-43=41', '39-25=14'] Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,46 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[41, 64], Operations: ['84-43=41', '39+25=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,46 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,46 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 46:[39, 66], Operations: ['84-43=41', '25+41=66'] Exploring Operation: 39+66=105, Resulting Numbers: [105] 105,46 unequal: No Solution Exploring Operation: 39*66=2574, Resulting Numbers: [2574] 2574,46 unequal: No Solution Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 46:[39, 43, 59], Operations: ['84-25=59'] Exploring Operation: 39+43=82, Resulting Numbers: [59, 82] Generated Node #0,4,0: 46:[59, 82] Operation: 39+43=82 Exploring Operation: 39+59=98, Resulting Numbers: [43, 98] Generated Node #0,4,1: 46:[43, 98] Operation: 39+59=98 Exploring Operation: 59-39=20, Resulting Numbers: [43, 20] Generated Node #0,4,2: 46:[43, 20] Operation: 59-39=20 Exploring Operation: 59-43=16, Resulting Numbers: [39, 16] Generated Node #0,4,3: 46:[39, 16] Operation: 59-43=16 Exploring Operation: 43-39=4, Resulting Numbers: [59, 4] Generated Node #0,4,4: 46:[59, 4] Operation: 43-39=4 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[43, 20], Operations: ['84-25=59', '59-39=20'] Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,46 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[39, 16], Operations: ['84-25=59', '59-43=16'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,46 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[59, 4], Operations: ['84-25=59', '43-39=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[59, 82], Operations: ['84-25=59', '39+43=82'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,46 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[43, 98], Operations: ['84-25=59', '39+59=98'] Exploring Operation: 43*98=4214, Resulting Numbers: [4214] 4214,46 unequal: No Solution Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 43+98=141, Resulting Numbers: [141] 141,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[25, 84, 4], Operations: ['43-39=4'] Exploring Operation: 84/4=21, Resulting Numbers: [25, 21] Generated Node #0,1,0: 46:[25, 21] Operation: 84/4=21 Exploring Operation: 25+4=29, Resulting Numbers: [84, 29] Generated Node #0,1,1: 46:[84, 29] Operation: 25+4=29 Exploring Operation: 84-25=59, Resulting Numbers: [4, 59] Generated Node #0,1,2: 46:[4, 59] Operation: 84-25=59 Exploring Operation: 25-4=21, Resulting Numbers: [84, 21] Generated Node #0,1,3: 46:[84, 21] Operation: 25-4=21 Exploring Operation: 84-4=80, Resulting Numbers: [25, 80] Generated Node #0,1,4: 46:[25, 80] Operation: 84-4=80 Moving to Node #0,3 Current State: 46:[43, 84, 14], Operations: ['39-25=14'] Exploring Operation: 43-14=29, Resulting Numbers: [84, 29] Generated Node #0,3,0: 46:[84, 29] Operation: 43-14=29 Exploring Operation: 84-43=41, Resulting Numbers: [14, 41] Generated Node #0,3,1: 46:[14, 41] Operation: 84-43=41 Exploring Operation: 43+14=57, Resulting Numbers: [84, 57] Generated Node #0,3,2: 46:[84, 57] Operation: 43+14=57 Exploring Operation: 84/14=6, Resulting Numbers: [43, 6] Generated Node #0,3,3: 46:[43, 6] Operation: 84/14=6 Exploring Operation: 84-14=70, Resulting Numbers: [43, 70] Generated Node #0,3,4: 46:[43, 70] Operation: 84-14=70 Moving to Node #0,2,2 Current State: 46:[25, 2], Operations: ['84-39=45', '45-43=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[25, 21], Operations: ['43-39=4', '84/4=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[39, 43, 25, 84], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [25, 84, 4] Generated Node #0,1: 46:[25, 84, 4] Operation: 43-39=4 Moving to Node #0,1 Current State: 46:[25, 84, 4], Operations: ['43-39=4'] Exploring Operation: 84/4=21, Resulting Numbers: [25, 21] Generated Node #0,1,0: 46:[25, 21] Operation: 84/4=21 Moving to Node #0,1,0 Current State: 46:[25, 21], Operations: ['43-39=4', '84/4=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 78, 82, 80, 24 ]
74
[ "82-78=4", "24/4=6", "80-6=74" ]
Current State: 74:[78, 82, 80, 24], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [80, 24, 4] Generated Node #2: [80, 24, 4] from Operation: 82-78=4 Current State: 74:[80, 24, 4], Operations: ['82-78=4'] Exploring Operation: 24/4=6, Resulting Numbers: [80, 6] Generated Node #3: [80, 6] from Operation: 24/4=6 Current State: 74:[80, 6], Operations: ['82-78=4', '24/4=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[78, 82, 80, 24], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [78, 80, 58] Generated Node #0,0: 74:[78, 80, 58] Operation: 82-24=58 Exploring Operation: 82-78=4, Resulting Numbers: [80, 24, 4] Generated Node #0,1: 74:[80, 24, 4] Operation: 82-78=4 Exploring Operation: 80-24=56, Resulting Numbers: [78, 82, 56] Generated Node #0,2: 74:[78, 82, 56] Operation: 80-24=56 Exploring Operation: 82-80=2, Resulting Numbers: [78, 24, 2] Generated Node #0,3: 74:[78, 24, 2] Operation: 82-80=2 Exploring Operation: 80-78=2, Resulting Numbers: [82, 24, 2] Generated Node #0,4: 74:[82, 24, 2] Operation: 80-78=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[78, 24, 2], Operations: ['82-80=2'] Exploring Operation: 24+2=26, Resulting Numbers: [78, 26] Generated Node #0,3,0: 74:[78, 26] Operation: 24+2=26 Exploring Operation: 24*2=48, Resulting Numbers: [78, 48] Generated Node #0,3,1: 74:[78, 48] Operation: 24*2=48 Exploring Operation: 78-2=76, Resulting Numbers: [24, 76] Generated Node #0,3,2: 74:[24, 76] Operation: 78-2=76 Exploring Operation: 24/2=12, Resulting Numbers: [78, 12] Generated Node #0,3,3: 74:[78, 12] Operation: 24/2=12 Exploring Operation: 78/2=39, Resulting Numbers: [24, 39] Generated Node #0,3,4: 74:[24, 39] Operation: 78/2=39 Moving to Node #0,3,3 Current State: 74:[78, 12], Operations: ['82-80=2', '24/2=12'] Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[78, 48], Operations: ['82-80=2', '24*2=48'] Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[24, 39], Operations: ['82-80=2', '78/2=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[78, 26], Operations: ['82-80=2', '24+2=26'] Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,74 unequal: No Solution Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,74 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[24, 76], Operations: ['82-80=2', '78-2=76'] Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,74 unequal: No Solution No 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: 74:[80, 24, 4], Operations: ['82-78=4'] Exploring Operation: 24/4=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 74:[80, 6] Operation: 24/4=6 Exploring Operation: 24+4=28, Resulting Numbers: [80, 28] Generated Node #0,1,1: 74:[80, 28] Operation: 24+4=28 Exploring Operation: 80-24=56, Resulting Numbers: [4, 56] Generated Node #0,1,2: 74:[4, 56] Operation: 80-24=56 Exploring Operation: 80+4=84, Resulting Numbers: [24, 84] Generated Node #0,1,3: 74:[24, 84] Operation: 80+4=84 Exploring Operation: 80-4=76, Resulting Numbers: [24, 76] Generated Node #0,1,4: 74:[24, 76] Operation: 80-4=76 Moving to Node #0,1,0 Current State: 74:[80, 6], Operations: ['82-78=4', '24/4=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,74 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[78, 82, 80, 24], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [80, 24, 4] Generated Node #0,1: 74:[80, 24, 4] Operation: 82-78=4 Moving to Node #0,1 Current State: 74:[80, 24, 4], Operations: ['82-78=4'] Exploring Operation: 24/4=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 74:[80, 6] Operation: 24/4=6 Moving to Node #0,1,0 Current State: 74:[80, 6], Operations: ['82-78=4', '24/4=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 18, 76, 93, 62 ]
27
[ "76-18=58", "93-62=31", "58-31=27" ]
Current State: 27:[18, 76, 93, 62], Operations: [] Exploring Operation: 76-18=58, Resulting Numbers: [93, 62, 58] Generated Node #2: [93, 62, 58] from Operation: 76-18=58 Current State: 27:[93, 62, 58], Operations: ['76-18=58'] Exploring Operation: 93-62=31, Resulting Numbers: [58, 31] Generated Node #3: [58, 31] from Operation: 93-62=31 Current State: 27:[58, 31], Operations: ['76-18=58', '93-62=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[18, 76, 93, 62], Operations: [] Exploring Operation: 93-62=31, Resulting Numbers: [18, 76, 31] Generated Node #0,0: 27:[18, 76, 31] Operation: 93-62=31 Exploring Operation: 76-62=14, Resulting Numbers: [18, 93, 14] Generated Node #0,1: 27:[18, 93, 14] Operation: 76-62=14 Exploring Operation: 76-18=58, Resulting Numbers: [93, 62, 58] Generated Node #0,2: 27:[93, 62, 58] Operation: 76-18=58 Exploring Operation: 93-18=75, Resulting Numbers: [76, 62, 75] Generated Node #0,3: 27:[76, 62, 75] Operation: 93-18=75 Exploring Operation: 93-76=17, Resulting Numbers: [18, 62, 17] Generated Node #0,4: 27:[18, 62, 17] Operation: 93-76=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[18, 62, 17], Operations: ['93-76=17'] Exploring Operation: 18+17=35, Resulting Numbers: [62, 35] Generated Node #0,4,0: 27:[62, 35] Operation: 18+17=35 Exploring Operation: 18-17=1, Resulting Numbers: [62, 1] Generated Node #0,4,1: 27:[62, 1] Operation: 18-17=1 Exploring Operation: 62-17=45, Resulting Numbers: [18, 45] Generated Node #0,4,2: 27:[18, 45] Operation: 62-17=45 Exploring Operation: 18+62=80, Resulting Numbers: [17, 80] Generated Node #0,4,3: 27:[17, 80] Operation: 18+62=80 Exploring Operation: 62-18=44, Resulting Numbers: [17, 44] Generated Node #0,4,4: 27:[17, 44] Operation: 62-18=44 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 27:[17, 44], Operations: ['93-76=17', '62-18=44'] Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,27 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[18, 76, 93, 62], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [18, 62, 17] Generated Node #0,4: 27:[18, 62, 17] Operation: 93-76=17 Moving to Node #0,4 Current State: 27:[18, 62, 17], Operations: ['93-76=17'] Exploring Operation: 62-18=44, Resulting Numbers: [17, 44] Generated Node #0,4,4: 27:[17, 44] Operation: 62-18=44 Moving to Node #0,4,4 Current State: 27:[17, 44], Operations: ['93-76=17', '62-18=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 18, 43, 56, 36 ]
45
[ "43-18=25", "56-36=20", "25+20=45" ]
Current State: 45:[18, 43, 56, 36], Operations: [] Exploring Operation: 43-18=25, Resulting Numbers: [56, 36, 25] Generated Node #2: [56, 36, 25] from Operation: 43-18=25 Current State: 45:[56, 36, 25], Operations: ['43-18=25'] Exploring Operation: 56-36=20, Resulting Numbers: [25, 20] Generated Node #3: [25, 20] from Operation: 56-36=20 Current State: 45:[25, 20], Operations: ['43-18=25', '56-36=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[18, 43, 56, 36], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [18, 36, 13] Generated Node #0,0: 45:[18, 36, 13] Operation: 56-43=13 Exploring Operation: 56-36=20, Resulting Numbers: [18, 43, 20] Generated Node #0,1: 45:[18, 43, 20] Operation: 56-36=20 Exploring Operation: 43-36=7, Resulting Numbers: [18, 56, 7] Generated Node #0,2: 45:[18, 56, 7] Operation: 43-36=7 Exploring Operation: 36-18=18, Resulting Numbers: [43, 56, 18] Generated Node #0,3: 45:[43, 56, 18] Operation: 36-18=18 Exploring Operation: 36/18=2, Resulting Numbers: [43, 56, 2] Generated Node #0,4: 45:[43, 56, 2] Operation: 36/18=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[18, 43, 20], Operations: ['56-36=20'] Exploring Operation: 43-18=25, Resulting Numbers: [20, 25] Generated Node #0,1,0: 45:[20, 25] Operation: 43-18=25 Exploring Operation: 20-18=2, Resulting Numbers: [43, 2] Generated Node #0,1,1: 45:[43, 2] Operation: 20-18=2 Exploring Operation: 43-20=23, Resulting Numbers: [18, 23] Generated Node #0,1,2: 45:[18, 23] Operation: 43-20=23 Exploring Operation: 18+20=38, Resulting Numbers: [43, 38] Generated Node #0,1,3: 45:[43, 38] Operation: 18+20=38 Exploring Operation: 18+43=61, Resulting Numbers: [20, 61] Generated Node #0,1,4: 45:[20, 61] Operation: 18+43=61 Moving to Node #0,1,1 Current State: 45:[43, 2], Operations: ['56-36=20', '20-18=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[18, 43, 56, 36], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [18, 43, 20] Generated Node #0,1: 45:[18, 43, 20] Operation: 56-36=20 Moving to Node #0,1 Current State: 45:[18, 43, 20], Operations: ['56-36=20'] Exploring Operation: 20-18=2, Resulting Numbers: [43, 2] Generated Node #0,1,1: 45:[43, 2] Operation: 20-18=2 Moving to Node #0,1,1 Current State: 45:[43, 2], Operations: ['56-36=20', '20-18=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 5, 20, 33, 28 ]
75
[ "20-5=15", "33-28=5", "15*5=75" ]
Current State: 75:[5, 20, 33, 28], Operations: [] Exploring Operation: 20-5=15, Resulting Numbers: [33, 28, 15] Generated Node #2: [33, 28, 15] from Operation: 20-5=15 Current State: 75:[33, 28, 15], Operations: ['20-5=15'] Exploring Operation: 33-28=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 33-28=5 Current State: 75:[15, 5], Operations: ['20-5=15', '33-28=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[5, 20, 33, 28], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [5, 28, 13] Generated Node #0,0: 75:[5, 28, 13] Operation: 33-20=13 Exploring Operation: 20-5=15, Resulting Numbers: [33, 28, 15] Generated Node #0,1: 75:[33, 28, 15] Operation: 20-5=15 Exploring Operation: 33-28=5, Resulting Numbers: [5, 20, 5] Generated Node #0,2: 75:[5, 20, 5] Operation: 33-28=5 Exploring Operation: 5+20=25, Resulting Numbers: [33, 28, 25] Generated Node #0,3: 75:[33, 28, 25] Operation: 5+20=25 Moving to Node #0,0 Current State: 75:[5, 28, 13], Operations: ['33-20=13'] Exploring Operation: 5+13=18, Resulting Numbers: [28, 18] Generated Node #0,0,0: 75:[28, 18] Operation: 5+13=18 Exploring Operation: 28-13=15, Resulting Numbers: [5, 15] Generated Node #0,0,1: 75:[5, 15] Operation: 28-13=15 Exploring Operation: 28-5=23, Resulting Numbers: [13, 23] Generated Node #0,0,2: 75:[13, 23] Operation: 28-5=23 Exploring Operation: 13-5=8, Resulting Numbers: [28, 8] Generated Node #0,0,3: 75:[28, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[5, 15], Operations: ['33-20=13', '28-13=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[5, 20, 33, 28], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [5, 28, 13] Generated Node #0,0: 75:[5, 28, 13] Operation: 33-20=13 Moving to Node #0,0 Current State: 75:[5, 28, 13], Operations: ['33-20=13'] Exploring Operation: 28-13=15, Resulting Numbers: [5, 15] Generated Node #0,0,1: 75:[5, 15] Operation: 28-13=15 Moving to Node #0,0,1 Current State: 75:[5, 15], Operations: ['33-20=13', '28-13=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 47, 28, 3, 56 ]
75
[ "56-47=9", "28*3=84", "84-9=75" ]
Current State: 75:[47, 28, 3, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [28, 3, 9] Generated Node #2: [28, 3, 9] from Operation: 56-47=9 Current State: 75:[28, 3, 9], Operations: ['56-47=9'] Exploring Operation: 28*3=84, Resulting Numbers: [9, 84] Generated Node #3: [9, 84] from Operation: 28*3=84 Current State: 75:[9, 84], Operations: ['56-47=9', '28*3=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[47, 28, 3, 56], Operations: [] Exploring Operation: 47-28=19, Resulting Numbers: [3, 56, 19] Generated Node #0,0: 75:[3, 56, 19] Operation: 47-28=19 Exploring Operation: 56-47=9, Resulting Numbers: [28, 3, 9] Generated Node #0,1: 75:[28, 3, 9] Operation: 56-47=9 Exploring Operation: 47+28=75, Resulting Numbers: [3, 56, 75] Generated Node #0,2: 75:[3, 56, 75] Operation: 47+28=75 Moving to Node #0,1 Current State: 75:[28, 3, 9], Operations: ['56-47=9'] Exploring Operation: 28-3=25, Resulting Numbers: [9, 25] Generated Node #0,1,0: 75:[9, 25] Operation: 28-3=25 Exploring Operation: 28-9=19, Resulting Numbers: [3, 19] Generated Node #0,1,1: 75:[3, 19] Operation: 28-9=19 Exploring Operation: 9/3=3, Resulting Numbers: [28, 3] Generated Node #0,1,2: 75:[28, 3] Operation: 9/3=3 Moving to Node #0,2 Current State: 75:[3, 56, 75], Operations: ['47+28=75'] Exploring Operation: 75-56=19, Resulting Numbers: [3, 19] Generated Node #0,2,0: 75:[3, 19] Operation: 75-56=19 Exploring Operation: 75/3=25, Resulting Numbers: [56, 25] Generated Node #0,2,1: 75:[56, 25] Operation: 75/3=25 Exploring Operation: 3+56=59, Resulting Numbers: [75, 59] Generated Node #0,2,2: 75:[75, 59] Operation: 3+56=59 Moving to Node #0,0 Current State: 75:[3, 56, 19], Operations: ['47-28=19'] Exploring Operation: 56+19=75, Resulting Numbers: [3, 75] Generated Node #0,0,0: 75:[3, 75] Operation: 56+19=75 Exploring Operation: 56-19=37, Resulting Numbers: [3, 37] Generated Node #0,0,1: 75:[3, 37] Operation: 56-19=37 Exploring Operation: 3+56=59, Resulting Numbers: [19, 59] Generated Node #0,0,2: 75:[19, 59] Operation: 3+56=59 Moving to Node #0,0,0 Current State: 75:[3, 75], Operations: ['47-28=19', '56+19=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[28, 3], Operations: ['56-47=9', '9/3=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[3, 19], Operations: ['56-47=9', '28-9=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[9, 25], Operations: ['56-47=9', '28-3=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,75 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[3, 19], Operations: ['47+28=75', '75-56=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[3, 37], Operations: ['47-28=19', '56-19=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[75, 59], Operations: ['47+28=75', '3+56=59'] Exploring Operation: 75+59=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 75*59=4425, Resulting Numbers: [4425] 4425,75 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[56, 25], Operations: ['47+28=75', '75/3=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,75 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[19, 59], Operations: ['47-28=19', '3+56=59'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,75 unequal: No Solution Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,75 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 28, 21, 57, 1 ]
42
[ "57-1=56", "56/28=2", "21*2=42" ]
Current State: 42:[28, 21, 57, 1], Operations: [] Exploring Operation: 57-1=56, Resulting Numbers: [28, 21, 56] Generated Node #2: [28, 21, 56] from Operation: 57-1=56 Current State: 42:[28, 21, 56], Operations: ['57-1=56'] Exploring Operation: 56/28=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 56/28=2 Current State: 42:[21, 2], Operations: ['57-1=56', '56/28=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[28, 21, 57, 1], Operations: [] Exploring Operation: 57-21=36, Resulting Numbers: [28, 1, 36] Generated Node #0,0: 42:[28, 1, 36] Operation: 57-21=36 Exploring Operation: 57-28=29, Resulting Numbers: [21, 1, 29] Generated Node #0,1: 42:[21, 1, 29] Operation: 57-28=29 Exploring Operation: 28-21=7, Resulting Numbers: [57, 1, 7] Generated Node #0,2: 42:[57, 1, 7] Operation: 28-21=7 Exploring Operation: 28-1=27, Resulting Numbers: [21, 57, 27] Generated Node #0,3: 42:[21, 57, 27] Operation: 28-1=27 Exploring Operation: 57-1=56, Resulting Numbers: [28, 21, 56] Generated Node #0,4: 42:[28, 21, 56] Operation: 57-1=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[21, 1, 29], Operations: ['57-28=29'] Exploring Operation: 29-21=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 42:[1, 8] Operation: 29-21=8 Exploring Operation: 1*29=29, Resulting Numbers: [21, 29] Generated Node #0,1,1: 42:[21, 29] Operation: 1*29=29 Exploring Operation: 29-1=28, Resulting Numbers: [21, 28] Generated Node #0,1,2: 42:[21, 28] Operation: 29-1=28 Exploring Operation: 21/1=21, Resulting Numbers: [29, 21] Generated Node #0,1,3: 42:[29, 21] Operation: 21/1=21 Exploring Operation: 21*1=21, Resulting Numbers: [29, 21] Generated Node #0,1,4: 42:[29, 21] Operation: 21*1=21 Moving to Node #0,1,0 Current State: 42:[1, 8], Operations: ['57-28=29', '29-21=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[21, 28], Operations: ['57-28=29', '29-1=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 21*28=588, Resulting Numbers: [588] 588,42 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[21, 29], Operations: ['57-28=29', '1*29=29'] Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,42 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[29, 21], Operations: ['57-28=29', '21/1=21'] Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,42 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[29, 21], Operations: ['57-28=29', '21*1=21'] Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,42 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[28, 1, 36], Operations: ['57-21=36'] Exploring Operation: 28/1=28, Resulting Numbers: [36, 28] Generated Node #0,0,0: 42:[36, 28] Operation: 28/1=28 Exploring Operation: 28*1=28, Resulting Numbers: [36, 28] Generated Node #0,0,1: 42:[36, 28] Operation: 28*1=28 Exploring Operation: 1+36=37, Resulting Numbers: [28, 37] Generated Node #0,0,2: 42:[28, 37] Operation: 1+36=37 Exploring Operation: 36-28=8, Resulting Numbers: [1, 8] Generated Node #0,0,3: 42:[1, 8] Operation: 36-28=8 Exploring Operation: 28-1=27, Resulting Numbers: [36, 27] Generated Node #0,0,4: 42:[36, 27] Operation: 28-1=27 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[1, 8], Operations: ['57-21=36', '36-28=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[28, 37], Operations: ['57-21=36', '1+36=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,42 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 42:[36, 27], Operations: ['57-21=36', '28-1=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[36, 28], Operations: ['57-21=36', '28/1=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,42 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[36, 28], Operations: ['57-21=36', '28*1=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[57, 1, 7], Operations: ['28-21=7'] Exploring Operation: 57*1=57, Resulting Numbers: [7, 57] Generated Node #0,2,0: 42:[7, 57] Operation: 57*1=57 Exploring Operation: 1*7=7, Resulting Numbers: [57, 7] Generated Node #0,2,1: 42:[57, 7] Operation: 1*7=7 Exploring Operation: 57-1=56, Resulting Numbers: [7, 56] Generated Node #0,2,2: 42:[7, 56] Operation: 57-1=56 Exploring Operation: 57/1=57, Resulting Numbers: [7, 57] Generated Node #0,2,3: 42:[7, 57] Operation: 57/1=57 Exploring Operation: 57-7=50, Resulting Numbers: [1, 50] Generated Node #0,2,4: 42:[1, 50] Operation: 57-7=50 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 42:[1, 50], Operations: ['28-21=7', '57-7=50'] Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[7, 56], Operations: ['28-21=7', '57-1=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[7, 57], Operations: ['28-21=7', '57*1=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[57, 7], Operations: ['28-21=7', '1*7=7'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[7, 57], Operations: ['28-21=7', '57/1=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,42 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[21, 57, 27], Operations: ['28-1=27'] Exploring Operation: 57-27=30, Resulting Numbers: [21, 30] Generated Node #0,3,0: 42:[21, 30] Operation: 57-27=30 Exploring Operation: 21+57=78, Resulting Numbers: [27, 78] Generated Node #0,3,1: 42:[27, 78] Operation: 21+57=78 Exploring Operation: 21+27=48, Resulting Numbers: [57, 48] Generated Node #0,3,2: 42:[57, 48] Operation: 21+27=48 Exploring Operation: 57-21=36, Resulting Numbers: [27, 36] Generated Node #0,3,3: 42:[27, 36] Operation: 57-21=36 Exploring Operation: 27-21=6, Resulting Numbers: [57, 6] Generated Node #0,3,4: 42:[57, 6] Operation: 27-21=6 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[21, 30], Operations: ['28-1=27', '57-27=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[27, 36], Operations: ['28-1=27', '57-21=36'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,42 unequal: No Solution Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 42:[57, 6], Operations: ['28-1=27', '27-21=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[57, 48], Operations: ['28-1=27', '21+27=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[27, 78], Operations: ['28-1=27', '21+57=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[28, 21, 56], Operations: ['57-1=56'] Exploring Operation: 56-21=35, Resulting Numbers: [28, 35] Generated Node #0,4,0: 42:[28, 35] Operation: 56-21=35 Exploring Operation: 28+21=49, Resulting Numbers: [56, 49] Generated Node #0,4,1: 42:[56, 49] Operation: 28+21=49 Exploring Operation: 56/28=2, Resulting Numbers: [21, 2] Generated Node #0,4,2: 42:[21, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [21, 28] Generated Node #0,4,3: 42:[21, 28] Operation: 56-28=28 Exploring Operation: 28-21=7, Resulting Numbers: [56, 7] Generated Node #0,4,4: 42:[56, 7] Operation: 28-21=7 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 42:[21, 2], Operations: ['57-1=56', '56/28=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[28, 21, 57, 1], Operations: [] Exploring Operation: 57-1=56, Resulting Numbers: [28, 21, 56] Generated Node #0,4: 42:[28, 21, 56] Operation: 57-1=56 Moving to Node #0,4 Current State: 42:[28, 21, 56], Operations: ['57-1=56'] Exploring Operation: 56/28=2, Resulting Numbers: [21, 2] Generated Node #0,4,2: 42:[21, 2] Operation: 56/28=2 Moving to Node #0,4,2 Current State: 42:[21, 2], Operations: ['57-1=56', '56/28=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.912326
hs_5
mult_heuristic
[ 29, 13, 6, 23 ]
30
[ "29+13=42", "42/6=7", "23+7=30" ]
Current State: 30:[29, 13, 6, 23], Operations: [] Exploring Operation: 29+13=42, Resulting Numbers: [6, 23, 42] Generated Node #2: [6, 23, 42] from Operation: 29+13=42 Current State: 30:[6, 23, 42], Operations: ['29+13=42'] Exploring Operation: 42/6=7, Resulting Numbers: [23, 7] Generated Node #3: [23, 7] from Operation: 42/6=7 Current State: 30:[23, 7], Operations: ['29+13=42', '42/6=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[29, 13, 6, 23], Operations: [] Exploring Operation: 29-23=6, Resulting Numbers: [13, 6, 6] Generated Node #0,0: 30:[13, 6, 6] Operation: 29-23=6 Exploring Operation: 23-13=10, Resulting Numbers: [29, 6, 10] Generated Node #0,1: 30:[29, 6, 10] Operation: 23-13=10 Exploring Operation: 6+23=29, Resulting Numbers: [29, 13, 29] Generated Node #0,2: 30:[29, 13, 29] Operation: 6+23=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[29, 6, 10], Operations: ['23-13=10'] Exploring Operation: 29-10=19, Resulting Numbers: [6, 19] Generated Node #0,1,0: 30:[6, 19] Operation: 29-10=19 Exploring Operation: 10-6=4, Resulting Numbers: [29, 4] Generated Node #0,1,1: 30:[29, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [29, 16] Generated Node #0,1,2: 30:[29, 16] Operation: 6+10=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[29, 4], Operations: ['23-13=10', '10-6=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,30 unequal: No Solution No 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: 30:[29, 16], Operations: ['23-13=10', '6+10=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,30 unequal: No Solution No 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: 30:[6, 19], Operations: ['23-13=10', '29-10=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,30 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: 30:[13, 6, 6], Operations: ['29-23=6'] Exploring Operation: 13-6=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 30:[6, 7] Operation: 13-6=7 Exploring Operation: 13-6=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 30:[6, 7] Operation: 13-6=7 Exploring Operation: 6/6=1, Resulting Numbers: [13, 1] Generated Node #0,0,2: 30:[13, 1] Operation: 6/6=1 Moving to Node #0,0,0 Current State: 30:[6, 7], Operations: ['29-23=6', '13-6=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[6, 7], Operations: ['29-23=6', '13-6=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[13, 1], Operations: ['29-23=6', '6/6=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[29, 13, 29], Operations: ['6+23=29'] Exploring Operation: 29-13=16, Resulting Numbers: [29, 16] Generated Node #0,2,0: 30:[29, 16] Operation: 29-13=16 Exploring Operation: 29-13=16, Resulting Numbers: [29, 16] Generated Node #0,2,1: 30:[29, 16] Operation: 29-13=16 Exploring Operation: 29/29=1, Resulting Numbers: [13, 1] Generated Node #0,2,2: 30:[13, 1] Operation: 29/29=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[29, 16], Operations: ['6+23=29', '29-13=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,30 unequal: No Solution No 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: 30:[29, 16], Operations: ['6+23=29', '29-13=16'] Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,30 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,30 unequal: No Solution No 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: 30:[13, 1], Operations: ['6+23=29', '29/29=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,30 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
[ 28, 99, 2, 60 ]
97
[ "28+99=127", "60/2=30", "127-30=97" ]
Current State: 97:[28, 99, 2, 60], Operations: [] Exploring Operation: 28+99=127, Resulting Numbers: [2, 60, 127] Generated Node #2: [2, 60, 127] from Operation: 28+99=127 Current State: 97:[2, 60, 127], Operations: ['28+99=127'] Exploring Operation: 60/2=30, Resulting Numbers: [127, 30] Generated Node #3: [127, 30] from Operation: 60/2=30 Current State: 97:[127, 30], Operations: ['28+99=127', '60/2=30'] Exploring Operation: 127-30=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[28, 99, 2, 60], Operations: [] Exploring Operation: 2*60=120, Resulting Numbers: [28, 99, 120] Generated Node #0,0: 97:[28, 99, 120] Operation: 2*60=120 Exploring Operation: 28*2=56, Resulting Numbers: [99, 60, 56] Generated Node #0,1: 97:[99, 60, 56] Operation: 28*2=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[99, 60, 56], Operations: ['28*2=56'] Exploring Operation: 99-56=43, Resulting Numbers: [60, 43] Generated Node #0,1,0: 97:[60, 43] Operation: 99-56=43 Exploring Operation: 60+56=116, Resulting Numbers: [99, 116] Generated Node #0,1,1: 97:[99, 116] Operation: 60+56=116 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[99, 116], Operations: ['28*2=56', '60+56=116'] Exploring Operation: 116-99=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 99+116=215, Resulting Numbers: [215] 215,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,1,0 Current State: 97:[60, 43], Operations: ['28*2=56', '99-56=43'] Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 60+43=103, Resulting Numbers: [103] 103,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,0 Current State: 97:[28, 99, 120], Operations: ['2*60=120'] Exploring Operation: 99-28=71, Resulting Numbers: [120, 71] Generated Node #0,0,0: 97:[120, 71] Operation: 99-28=71 Exploring Operation: 120-28=92, Resulting Numbers: [99, 92] Generated Node #0,0,1: 97:[99, 92] Operation: 120-28=92 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[99, 92], Operations: ['2*60=120', '120-28=92'] Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,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,0 Current State: 97:[120, 71], Operations: ['2*60=120', '99-28=71'] Exploring Operation: 120+71=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 72, 62, 41, 74 ]
72
[ "72-41=31", "62/31=2", "74-2=72" ]
Current State: 72:[72, 62, 41, 74], Operations: [] Exploring Operation: 72-41=31, Resulting Numbers: [62, 74, 31] Generated Node #2: [62, 74, 31] from Operation: 72-41=31 Current State: 72:[62, 74, 31], Operations: ['72-41=31'] Exploring Operation: 62/31=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 62/31=2 Current State: 72:[74, 2], Operations: ['72-41=31', '62/31=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[72, 62, 41, 74], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [41, 74, 10] Generated Node #0,0: 72:[41, 74, 10] Operation: 72-62=10 Exploring Operation: 62-41=21, Resulting Numbers: [72, 74, 21] Generated Node #0,1: 72:[72, 74, 21] Operation: 62-41=21 Exploring Operation: 74-72=2, Resulting Numbers: [62, 41, 2] Generated Node #0,2: 72:[62, 41, 2] Operation: 74-72=2 Exploring Operation: 74-62=12, Resulting Numbers: [72, 41, 12] Generated Node #0,3: 72:[72, 41, 12] Operation: 74-62=12 Exploring Operation: 74-41=33, Resulting Numbers: [72, 62, 33] Generated Node #0,4: 72:[72, 62, 33] Operation: 74-41=33 Moving to Node #0,1 Current State: 72:[72, 74, 21], Operations: ['62-41=21'] Exploring Operation: 72+21=93, Resulting Numbers: [74, 93] Generated Node #0,1,0: 72:[74, 93] Operation: 72+21=93 Exploring Operation: 74+21=95, Resulting Numbers: [72, 95] Generated Node #0,1,1: 72:[72, 95] Operation: 74+21=95 Exploring Operation: 74-21=53, Resulting Numbers: [72, 53] Generated Node #0,1,2: 72:[72, 53] Operation: 74-21=53 Exploring Operation: 72-21=51, Resulting Numbers: [74, 51] Generated Node #0,1,3: 72:[74, 51] Operation: 72-21=51 Exploring Operation: 74-72=2, Resulting Numbers: [21, 2] Generated Node #0,1,4: 72:[21, 2] Operation: 74-72=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 72:[21, 2], Operations: ['62-41=21', '74-72=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[72, 53], Operations: ['62-41=21', '74-21=53'] Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,72 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[74, 51], Operations: ['62-41=21', '72-21=51'] Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,72 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[74, 93], Operations: ['62-41=21', '72+21=93'] Exploring Operation: 74*93=6882, Resulting Numbers: [6882] 6882,72 unequal: No Solution Exploring Operation: 74+93=167, Resulting Numbers: [167] 167,72 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[72, 95], Operations: ['62-41=21', '74+21=95'] Exploring Operation: 72*95=6840, Resulting Numbers: [6840] 6840,72 unequal: No Solution Exploring Operation: 72+95=167, Resulting Numbers: [167] 167,72 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,72 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: 72:[72, 41, 12], Operations: ['74-62=12'] Exploring Operation: 72-41=31, Resulting Numbers: [12, 31] Generated Node #0,3,0: 72:[12, 31] Operation: 72-41=31 Exploring Operation: 72/12=6, Resulting Numbers: [41, 6] Generated Node #0,3,1: 72:[41, 6] Operation: 72/12=6 Exploring Operation: 72+12=84, Resulting Numbers: [41, 84] Generated Node #0,3,2: 72:[41, 84] Operation: 72+12=84 Exploring Operation: 41-12=29, Resulting Numbers: [72, 29] Generated Node #0,3,3: 72:[72, 29] Operation: 41-12=29 Exploring Operation: 72-12=60, Resulting Numbers: [41, 60] Generated Node #0,3,4: 72:[41, 60] Operation: 72-12=60 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[12, 31], Operations: ['74-62=12', '72-41=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[41, 6], Operations: ['74-62=12', '72/12=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[72, 29], Operations: ['74-62=12', '41-12=29'] Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,72 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[41, 84], Operations: ['74-62=12', '72+12=84'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,72 unequal: No Solution Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[41, 60], Operations: ['74-62=12', '72-12=60'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,72 unequal: No Solution Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,72 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: 72:[41, 74, 10], Operations: ['72-62=10'] Exploring Operation: 74-41=33, Resulting Numbers: [10, 33] Generated Node #0,0,0: 72:[10, 33] Operation: 74-41=33 Exploring Operation: 41-10=31, Resulting Numbers: [74, 31] Generated Node #0,0,1: 72:[74, 31] Operation: 41-10=31 Exploring Operation: 41+10=51, Resulting Numbers: [74, 51] Generated Node #0,0,2: 72:[74, 51] Operation: 41+10=51 Exploring Operation: 74-10=64, Resulting Numbers: [41, 64] Generated Node #0,0,3: 72:[41, 64] Operation: 74-10=64 Exploring Operation: 74+10=84, Resulting Numbers: [41, 84] Generated Node #0,0,4: 72:[41, 84] Operation: 74+10=84 Moving to Node #0,4 Current State: 72:[72, 62, 33], Operations: ['74-41=33'] Exploring Operation: 62-33=29, Resulting Numbers: [72, 29] Generated Node #0,4,0: 72:[72, 29] Operation: 62-33=29 Exploring Operation: 62+33=95, Resulting Numbers: [72, 95] Generated Node #0,4,1: 72:[72, 95] Operation: 62+33=95 Exploring Operation: 72-62=10, Resulting Numbers: [33, 10] Generated Node #0,4,2: 72:[33, 10] Operation: 72-62=10 Exploring Operation: 72-33=39, Resulting Numbers: [62, 39] Generated Node #0,4,3: 72:[62, 39] Operation: 72-33=39 Exploring Operation: 72+33=105, Resulting Numbers: [62, 105] Generated Node #0,4,4: 72:[62, 105] Operation: 72+33=105 Moving to Node #0,2 Current State: 72:[62, 41, 2], Operations: ['74-72=2'] Exploring Operation: 62-2=60, Resulting Numbers: [41, 60] Generated Node #0,2,0: 72:[41, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [41, 31] Generated Node #0,2,1: 72:[41, 31] Operation: 62/2=31 Exploring Operation: 62-41=21, Resulting Numbers: [2, 21] Generated Node #0,2,2: 72:[2, 21] Operation: 62-41=21 Exploring Operation: 41-2=39, Resulting Numbers: [62, 39] Generated Node #0,2,3: 72:[62, 39] Operation: 41-2=39 Exploring Operation: 62+2=64, Resulting Numbers: [41, 64] Generated Node #0,2,4: 72:[41, 64] Operation: 62+2=64 Moving to Node #0,2,2 Current State: 72:[2, 21], Operations: ['74-72=2', '62-41=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[33, 10], Operations: ['74-41=33', '72-62=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,72 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[10, 33], Operations: ['72-62=10', '74-41=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[72, 29], Operations: ['74-41=33', '62-33=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[74, 31], Operations: ['72-62=10', '41-10=31'] Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,72 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[41, 31], Operations: ['74-72=2', '62/2=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[72, 62, 41, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [62, 41, 2] Generated Node #0,2: 72:[62, 41, 2] Operation: 74-72=2 Moving to Node #0,2 Current State: 72:[62, 41, 2], Operations: ['74-72=2'] Exploring Operation: 62/2=31, Resulting Numbers: [41, 31] Generated Node #0,2,1: 72:[41, 31] Operation: 62/2=31 Moving to Node #0,2,1 Current State: 72:[41, 31], Operations: ['74-72=2', '62/2=31'] Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.929688
hs_5
sum_heuristic
[ 6, 32, 29, 2 ]
36
[ "6*2=12", "32-29=3", "12*3=36" ]
Current State: 36:[6, 32, 29, 2], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [32, 29, 12] Generated Node #2: [32, 29, 12] from Operation: 6*2=12 Current State: 36:[32, 29, 12], Operations: ['6*2=12'] Exploring Operation: 32-29=3, Resulting Numbers: [12, 3] Generated Node #3: [12, 3] from Operation: 32-29=3 Current State: 36:[12, 3], Operations: ['6*2=12', '32-29=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[6, 32, 29, 2], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [6, 2, 3] Generated Node #0,0: 36:[6, 2, 3] Operation: 32-29=3 Exploring Operation: 6+29=35, Resulting Numbers: [32, 2, 35] Generated Node #0,1: 36:[32, 2, 35] Operation: 6+29=35 Moving to Node #0,0 Current State: 36:[6, 2, 3], Operations: ['32-29=3'] Exploring Operation: 6-2=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 36:[3, 4] Operation: 6-2=4 Exploring Operation: 6*2=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 36:[3, 12] Operation: 6*2=12 Moving to Node #0,1 Current State: 36:[32, 2, 35], Operations: ['6+29=35'] Exploring Operation: 32+2=34, Resulting Numbers: [35, 34] Generated Node #0,1,0: 36:[35, 34] Operation: 32+2=34 Exploring Operation: 35-32=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 36:[2, 3] Operation: 35-32=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[2, 3], Operations: ['6+29=35', '35-32=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[35, 34], Operations: ['6+29=35', '32+2=34'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,36 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: 36:[3, 4], Operations: ['32-29=3', '6-2=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[3, 12], Operations: ['32-29=3', '6*2=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[6, 32, 29, 2], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [6, 2, 3] Generated Node #0,0: 36:[6, 2, 3] Operation: 32-29=3 Moving to Node #0,0 Current State: 36:[6, 2, 3], Operations: ['32-29=3'] Exploring Operation: 6*2=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 36:[3, 12] Operation: 6*2=12 Moving to Node #0,0,1 Current State: 36:[3, 12], Operations: ['32-29=3', '6*2=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 26, 10, 46, 42 ]
12
[ "26-10=16", "46-42=4", "16-4=12" ]
Current State: 12:[26, 10, 46, 42], Operations: [] Exploring Operation: 26-10=16, Resulting Numbers: [46, 42, 16] Generated Node #2: [46, 42, 16] from Operation: 26-10=16 Current State: 12:[46, 42, 16], Operations: ['26-10=16'] Exploring Operation: 46-42=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 46-42=4 Current State: 12:[16, 4], Operations: ['26-10=16', '46-42=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[26, 10, 46, 42], Operations: [] Exploring Operation: 26-10=16, Resulting Numbers: [46, 42, 16] Generated Node #0,0: 12:[46, 42, 16] Operation: 26-10=16 Exploring Operation: 46-26=20, Resulting Numbers: [10, 42, 20] Generated Node #0,1: 12:[10, 42, 20] Operation: 46-26=20 Exploring Operation: 42-26=16, Resulting Numbers: [10, 46, 16] Generated Node #0,2: 12:[10, 46, 16] Operation: 42-26=16 Exploring Operation: 46-10=36, Resulting Numbers: [26, 42, 36] Generated Node #0,3: 12:[26, 42, 36] Operation: 46-10=36 Exploring Operation: 46-42=4, Resulting Numbers: [26, 10, 4] Generated Node #0,4: 12:[26, 10, 4] Operation: 46-42=4 Moving to Node #0,4 Current State: 12:[26, 10, 4], Operations: ['46-42=4'] Exploring Operation: 26-10=16, Resulting Numbers: [4, 16] Generated Node #0,4,0: 12:[4, 16] Operation: 26-10=16 Exploring Operation: 10-4=6, Resulting Numbers: [26, 6] Generated Node #0,4,1: 12:[26, 6] Operation: 10-4=6 Exploring Operation: 26-4=22, Resulting Numbers: [10, 22] Generated Node #0,4,2: 12:[10, 22] Operation: 26-4=22 Exploring Operation: 10+4=14, Resulting Numbers: [26, 14] Generated Node #0,4,3: 12:[26, 14] Operation: 10+4=14 Exploring Operation: 26+4=30, Resulting Numbers: [10, 30] Generated Node #0,4,4: 12:[10, 30] Operation: 26+4=30 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 12:[4, 16], Operations: ['46-42=4', '26-10=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[26, 10, 46, 42], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [26, 10, 4] Generated Node #0,4: 12:[26, 10, 4] Operation: 46-42=4 Moving to Node #0,4 Current State: 12:[26, 10, 4], Operations: ['46-42=4'] Exploring Operation: 26-10=16, Resulting Numbers: [4, 16] Generated Node #0,4,0: 12:[4, 16] Operation: 26-10=16 Moving to Node #0,4,0 Current State: 12:[4, 16], Operations: ['46-42=4', '26-10=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 49, 27, 92, 7 ]
77
[ "49-27=22", "92+7=99", "99-22=77" ]
Current State: 77:[49, 27, 92, 7], Operations: [] Exploring Operation: 49-27=22, Resulting Numbers: [92, 7, 22] Generated Node #2: [92, 7, 22] from Operation: 49-27=22 Current State: 77:[92, 7, 22], Operations: ['49-27=22'] Exploring Operation: 92+7=99, Resulting Numbers: [22, 99] Generated Node #3: [22, 99] from Operation: 92+7=99 Current State: 77:[22, 99], Operations: ['49-27=22', '92+7=99'] Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[49, 27, 92, 7], Operations: [] Exploring Operation: 49+27=76, Resulting Numbers: [92, 7, 76] Generated Node #0,0: 77:[92, 7, 76] Operation: 49+27=76 Moving to Node #0,0 Current State: 77:[92, 7, 76], Operations: ['49+27=76'] Exploring Operation: 92-76=16, Resulting Numbers: [7, 16] Generated Node #0,0,0: 77:[7, 16] Operation: 92-76=16 Moving to Node #0,0,0 Current State: 77:[7, 16], Operations: ['49+27=76', '92-76=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,77 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 83, 17, 3, 5 ]
37
[ "83+5=88", "17*3=51", "88-51=37" ]
Current State: 37:[83, 17, 3, 5], Operations: [] Exploring Operation: 83+5=88, Resulting Numbers: [17, 3, 88] Generated Node #2: [17, 3, 88] from Operation: 83+5=88 Current State: 37:[17, 3, 88], Operations: ['83+5=88'] Exploring Operation: 17*3=51, Resulting Numbers: [88, 51] Generated Node #3: [88, 51] from Operation: 17*3=51 Current State: 37:[88, 51], Operations: ['83+5=88', '17*3=51'] Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[83, 17, 3, 5], Operations: [] Exploring Operation: 3*5=15, Resulting Numbers: [83, 17, 15] Generated Node #0,0: 37:[83, 17, 15] Operation: 3*5=15 Moving to Node #0,0 Current State: 37:[83, 17, 15], Operations: ['3*5=15'] Exploring Operation: 83-17=66, Resulting Numbers: [15, 66] Generated Node #0,0,0: 37:[15, 66] Operation: 83-17=66 Moving to Node #0,0,0 Current State: 37:[15, 66], Operations: ['3*5=15', '83-17=66'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,37 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 48, 91, 2, 90 ]
97
[ "48*2=96", "91-90=1", "96+1=97" ]
Current State: 97:[48, 91, 2, 90], Operations: [] Exploring Operation: 48*2=96, Resulting Numbers: [91, 90, 96] Generated Node #2: [91, 90, 96] from Operation: 48*2=96 Current State: 97:[91, 90, 96], Operations: ['48*2=96'] Exploring Operation: 91-90=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 91-90=1 Current State: 97:[96, 1], Operations: ['48*2=96', '91-90=1'] Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[48, 91, 2, 90], Operations: [] Exploring Operation: 48+2=50, Resulting Numbers: [91, 90, 50] Generated Node #0,0: 97:[91, 90, 50] Operation: 48+2=50 Exploring Operation: 91+2=93, Resulting Numbers: [48, 90, 93] Generated Node #0,1: 97:[48, 90, 93] Operation: 91+2=93 Exploring Operation: 2+90=92, Resulting Numbers: [48, 91, 92] Generated Node #0,2: 97:[48, 91, 92] Operation: 2+90=92 Exploring Operation: 48*2=96, Resulting Numbers: [91, 90, 96] Generated Node #0,3: 97:[91, 90, 96] Operation: 48*2=96 Moving to Node #0,3 Current State: 97:[91, 90, 96], Operations: ['48*2=96'] Exploring Operation: 91+96=187, Resulting Numbers: [90, 187] Generated Node #0,3,0: 97:[90, 187] Operation: 91+96=187 Exploring Operation: 91+90=181, Resulting Numbers: [96, 181] Generated Node #0,3,1: 97:[96, 181] Operation: 91+90=181 Exploring Operation: 91-90=1, Resulting Numbers: [96, 1] Generated Node #0,3,2: 97:[96, 1] Operation: 91-90=1 Exploring Operation: 90+96=186, Resulting Numbers: [91, 186] Generated Node #0,3,3: 97:[91, 186] Operation: 90+96=186 Moving to Node #0,1 Current State: 97:[48, 90, 93], Operations: ['91+2=93'] Exploring Operation: 48+90=138, Resulting Numbers: [93, 138] Generated Node #0,1,0: 97:[93, 138] Operation: 48+90=138 Exploring Operation: 48+93=141, Resulting Numbers: [90, 141] Generated Node #0,1,1: 97:[90, 141] Operation: 48+93=141 Exploring Operation: 93-48=45, Resulting Numbers: [90, 45] Generated Node #0,1,2: 97:[90, 45] Operation: 93-48=45 Exploring Operation: 90-48=42, Resulting Numbers: [93, 42] Generated Node #0,1,3: 97:[93, 42] Operation: 90-48=42 Moving to Node #0,0 Current State: 97:[91, 90, 50], Operations: ['48+2=50'] Exploring Operation: 91-50=41, Resulting Numbers: [90, 41] Generated Node #0,0,0: 97:[90, 41] Operation: 91-50=41 Exploring Operation: 90+50=140, Resulting Numbers: [91, 140] Generated Node #0,0,1: 97:[91, 140] Operation: 90+50=140 Exploring Operation: 90-50=40, Resulting Numbers: [91, 40] Generated Node #0,0,2: 97:[91, 40] Operation: 90-50=40 Exploring Operation: 91+50=141, Resulting Numbers: [90, 141] Generated Node #0,0,3: 97:[90, 141] Operation: 91+50=141 Moving to Node #0,2 Current State: 97:[48, 91, 92], Operations: ['2+90=92'] Exploring Operation: 48+91=139, Resulting Numbers: [92, 139] Generated Node #0,2,0: 97:[92, 139] Operation: 48+91=139 Exploring Operation: 91-48=43, Resulting Numbers: [92, 43] Generated Node #0,2,1: 97:[92, 43] Operation: 91-48=43 Exploring Operation: 48+92=140, Resulting Numbers: [91, 140] Generated Node #0,2,2: 97:[91, 140] Operation: 48+92=140 Exploring Operation: 92-48=44, Resulting Numbers: [91, 44] Generated Node #0,2,3: 97:[91, 44] Operation: 92-48=44 Moving to Node #0,1,0 Current State: 97:[93, 138], Operations: ['91+2=93', '48+90=138'] Exploring Operation: 93+138=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 93*138=12834, Resulting Numbers: [12834] 12834,97 unequal: No Solution Exploring Operation: 138-93=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[92, 139], Operations: ['2+90=92', '48+91=139'] Exploring Operation: 139-92=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 92+139=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 92*139=12788, Resulting Numbers: [12788] 12788,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[91, 140], Operations: ['2+90=92', '48+92=140'] Exploring Operation: 91*140=12740, Resulting Numbers: [12740] 12740,97 unequal: No Solution Exploring Operation: 140-91=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 91+140=231, Resulting Numbers: [231] 231,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[91, 140], Operations: ['48+2=50', '90+50=140'] Exploring Operation: 140-91=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 91+140=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 91*140=12740, Resulting Numbers: [12740] 12740,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[90, 141], Operations: ['91+2=93', '48+93=141'] Exploring Operation: 141-90=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 90*141=12690, Resulting Numbers: [12690] 12690,97 unequal: No Solution Exploring Operation: 90+141=231, Resulting Numbers: [231] 231,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[90, 141], Operations: ['48+2=50', '91+50=141'] Exploring Operation: 90+141=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 141-90=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 90*141=12690, Resulting Numbers: [12690] 12690,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[92, 43], Operations: ['2+90=92', '91-48=43'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,97 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[90, 45], Operations: ['91+2=93', '93-48=45'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,97 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[93, 42], Operations: ['91+2=93', '90-48=42'] Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,97 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[91, 44], Operations: ['2+90=92', '92-48=44'] Exploring Operation: 91+44=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 91*44=4004, Resulting Numbers: [4004] 4004,97 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[91, 40], Operations: ['48+2=50', '90-50=40'] Exploring Operation: 91*40=3640, Resulting Numbers: [3640] 3640,97 unequal: No Solution Exploring Operation: 91+40=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[90, 41], Operations: ['48+2=50', '91-50=41'] Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 90*41=3690, Resulting Numbers: [3690] 3690,97 unequal: No Solution Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[96, 181], Operations: ['48*2=96', '91+90=181'] Exploring Operation: 96*181=17376, Resulting Numbers: [17376] 17376,97 unequal: No Solution Exploring Operation: 181-96=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 96+181=277, Resulting Numbers: [277] 277,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[91, 186], Operations: ['48*2=96', '90+96=186'] Exploring Operation: 186-91=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 91*186=16926, Resulting Numbers: [16926] 16926,97 unequal: No Solution Exploring Operation: 91+186=277, Resulting Numbers: [277] 277,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[96, 1], Operations: ['48*2=96', '91-90=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[48, 91, 2, 90], Operations: [] Exploring Operation: 48*2=96, Resulting Numbers: [91, 90, 96] Generated Node #0,3: 97:[91, 90, 96] Operation: 48*2=96 Moving to Node #0,3 Current State: 97:[91, 90, 96], Operations: ['48*2=96'] Exploring Operation: 91-90=1, Resulting Numbers: [96, 1] Generated Node #0,3,2: 97:[96, 1] Operation: 91-90=1 Moving to Node #0,3,2 Current State: 97:[96, 1], Operations: ['48*2=96', '91-90=1'] Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 33, 68, 17, 41 ]
78
[ "33+41=74", "68/17=4", "74+4=78" ]
Current State: 78:[33, 68, 17, 41], Operations: [] Exploring Operation: 33+41=74, Resulting Numbers: [68, 17, 74] Generated Node #2: [68, 17, 74] from Operation: 33+41=74 Current State: 78:[68, 17, 74], Operations: ['33+41=74'] Exploring Operation: 68/17=4, Resulting Numbers: [74, 4] Generated Node #3: [74, 4] from Operation: 68/17=4 Current State: 78:[74, 4], Operations: ['33+41=74', '68/17=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[33, 68, 17, 41], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [17, 41, 35] Generated Node #0,0: 78:[17, 41, 35] Operation: 68-33=35 Exploring Operation: 68/17=4, Resulting Numbers: [33, 41, 4] Generated Node #0,1: 78:[33, 41, 4] Operation: 68/17=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[33, 41, 4], Operations: ['68/17=4'] Exploring Operation: 33+4=37, Resulting Numbers: [41, 37] Generated Node #0,1,0: 78:[41, 37] Operation: 33+4=37 Exploring Operation: 41-33=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 78:[4, 8] Operation: 41-33=8 Moving to Node #0,1,1 Current State: 78:[4, 8], Operations: ['68/17=4', '41-33=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[41, 37], Operations: ['68/17=4', '33+4=37'] Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[33, 68, 17, 41], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [33, 41, 4] Generated Node #0,1: 78:[33, 41, 4] Operation: 68/17=4 Moving to Node #0,1 Current State: 78:[33, 41, 4], Operations: ['68/17=4'] Exploring Operation: 33+4=37, Resulting Numbers: [41, 37] Generated Node #0,1,0: 78:[41, 37] Operation: 33+4=37 Moving to Node #0,1,0 Current State: 78:[41, 37], Operations: ['68/17=4', '33+4=37'] Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 71, 91, 71, 23 ]
74
[ "91-71=20", "71+23=94", "94-20=74" ]
Current State: 74:[71, 91, 71, 23], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [23, 20] Generated Node #2: [23, 20] from Operation: 91-71=20 Current State: 74:[23, 20], Operations: ['91-71=20'] Exploring Operation: 71+23=94, Resulting Numbers: [20, 94] Generated Node #3: [20, 94] from Operation: 71+23=94 Current State: 74:[20, 94], Operations: ['91-71=20', '71+23=94'] Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[71, 91, 71, 23], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [91, 71, 48] Generated Node #0,0: 74:[91, 71, 48] Operation: 71-23=48 Exploring Operation: 91-23=68, Resulting Numbers: [71, 71, 68] Generated Node #0,1: 74:[71, 71, 68] Operation: 91-23=68 Exploring Operation: 71-23=48, Resulting Numbers: [71, 91, 48] Generated Node #0,2: 74:[71, 91, 48] Operation: 71-23=48 Moving to Node #0,1 Current State: 74:[71, 71, 68], Operations: ['91-23=68'] Exploring Operation: 71/71=1, Resulting Numbers: [68, 1] Generated Node #0,1,0: 74:[68, 1] Operation: 71/71=1 Exploring Operation: 71-68=3, Resulting Numbers: [71, 3] Generated Node #0,1,1: 74:[71, 3] Operation: 71-68=3 Exploring Operation: 71-68=3, Resulting Numbers: [71, 3] Generated Node #0,1,2: 74:[71, 3] Operation: 71-68=3 Moving to Node #0,0 Current State: 74:[91, 71, 48], Operations: ['71-23=48'] Exploring Operation: 71-48=23, Resulting Numbers: [91, 23] Generated Node #0,0,0: 74:[91, 23] Operation: 71-48=23 Exploring Operation: 91-48=43, Resulting Numbers: [71, 43] Generated Node #0,0,1: 74:[71, 43] Operation: 91-48=43 Exploring Operation: 91-71=20, Resulting Numbers: [48, 20] Generated Node #0,0,2: 74:[48, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[71, 43], Operations: ['71-23=48', '91-48=43'] Exploring Operation: 71*43=3053, Resulting Numbers: [3053] 3053,74 unequal: No Solution Exploring Operation: 71+43=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 71-43=28, Resulting Numbers: [28] 28,74 unequal: No Solution No 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: 74:[48, 20], Operations: ['71-23=48', '91-71=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,74 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,74 unequal: No Solution No 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: 74:[91, 23], Operations: ['71-23=48', '71-48=23'] Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,74 unequal: No Solution Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,74 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: 74:[71, 91, 48], Operations: ['71-23=48'] Exploring Operation: 91-71=20, Resulting Numbers: [48, 20] Generated Node #0,2,0: 74:[48, 20] Operation: 91-71=20 Exploring Operation: 91-48=43, Resulting Numbers: [71, 43] Generated Node #0,2,1: 74:[71, 43] Operation: 91-48=43 Exploring Operation: 71-48=23, Resulting Numbers: [91, 23] Generated Node #0,2,2: 74:[91, 23] Operation: 71-48=23 Moving to Node #0,1,1 Current State: 74:[71, 3], Operations: ['91-23=68', '71-68=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[71, 91, 71, 23], Operations: [] Exploring Operation: 91-23=68, Resulting Numbers: [71, 71, 68] Generated Node #0,1: 74:[71, 71, 68] Operation: 91-23=68 Moving to Node #0,1 Current State: 74:[71, 71, 68], Operations: ['91-23=68'] Exploring Operation: 71-68=3, Resulting Numbers: [71, 3] Generated Node #0,1,1: 74:[71, 3] Operation: 71-68=3 Moving to Node #0,1,1 Current State: 74:[71, 3], Operations: ['91-23=68', '71-68=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 47, 87, 9, 54 ]
27
[ "87+54=141", "141/47=3", "9*3=27" ]
Current State: 27:[47, 87, 9, 54], Operations: [] Exploring Operation: 87+54=141, Resulting Numbers: [47, 9, 141] Generated Node #2: [47, 9, 141] from Operation: 87+54=141 Current State: 27:[47, 9, 141], Operations: ['87+54=141'] Exploring Operation: 141/47=3, Resulting Numbers: [9, 3] Generated Node #3: [9, 3] from Operation: 141/47=3 Current State: 27:[9, 3], Operations: ['87+54=141', '141/47=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[47, 87, 9, 54], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [47, 9, 33] Generated Node #0,0: 27:[47, 9, 33] Operation: 87-54=33 Moving to Node #0,0 Current State: 27:[47, 9, 33], Operations: ['87-54=33'] Exploring Operation: 47-33=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 27:[9, 14] Operation: 47-33=14 Moving to Node #0,0,0 Current State: 27:[9, 14], Operations: ['87-54=33', '47-33=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,27 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 37, 70, 45, 2 ]
74
[ "45-37=8", "8/2=4", "70+4=74" ]
Current State: 74:[37, 70, 45, 2], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [70, 2, 8] Generated Node #2: [70, 2, 8] from Operation: 45-37=8 Current State: 74:[70, 2, 8], Operations: ['45-37=8'] Exploring Operation: 8/2=4, Resulting Numbers: [70, 4] Generated Node #3: [70, 4] from Operation: 8/2=4 Current State: 74:[70, 4], Operations: ['45-37=8', '8/2=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[37, 70, 45, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [37, 45, 35] Generated Node #0,0: 74:[37, 45, 35] Operation: 70/2=35 Exploring Operation: 70+2=72, Resulting Numbers: [37, 45, 72] Generated Node #0,1: 74:[37, 45, 72] Operation: 70+2=72 Exploring Operation: 45-37=8, Resulting Numbers: [70, 2, 8] Generated Node #0,2: 74:[70, 2, 8] Operation: 45-37=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[37, 45, 35], Operations: ['70/2=35'] Exploring Operation: 37-35=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 74:[45, 2] Operation: 37-35=2 Exploring Operation: 45-37=8, Resulting Numbers: [35, 8] Generated Node #0,0,1: 74:[35, 8] Operation: 45-37=8 Exploring Operation: 45+35=80, Resulting Numbers: [37, 80] Generated Node #0,0,2: 74:[37, 80] Operation: 45+35=80 Moving to Node #0,0,2 Current State: 74:[37, 80], Operations: ['70/2=35', '45+35=80'] Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,74 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[45, 2], Operations: ['70/2=35', '37-35=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[35, 8], Operations: ['70/2=35', '45-37=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,74 unequal: No Solution No 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: 74:[37, 45, 72], Operations: ['70+2=72'] Exploring Operation: 72-37=35, Resulting Numbers: [45, 35] Generated Node #0,1,0: 74:[45, 35] Operation: 72-37=35 Exploring Operation: 45-37=8, Resulting Numbers: [72, 8] Generated Node #0,1,1: 74:[72, 8] Operation: 45-37=8 Exploring Operation: 37+45=82, Resulting Numbers: [72, 82] Generated Node #0,1,2: 74:[72, 82] Operation: 37+45=82 Moving to Node #0,1,1 Current State: 74:[72, 8], Operations: ['70+2=72', '45-37=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,74 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[45, 35], Operations: ['70+2=72', '72-37=35'] Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,74 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[72, 82], Operations: ['70+2=72', '37+45=82'] Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,74 unequal: No Solution Exploring Operation: 72*82=5904, Resulting Numbers: [5904] 5904,74 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,74 unequal: No Solution No 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: 74:[70, 2, 8], Operations: ['45-37=8'] Exploring Operation: 70+8=78, Resulting Numbers: [2, 78] Generated Node #0,2,0: 74:[2, 78] Operation: 70+8=78 Exploring Operation: 70+2=72, Resulting Numbers: [8, 72] Generated Node #0,2,1: 74:[8, 72] Operation: 70+2=72 Exploring Operation: 8/2=4, Resulting Numbers: [70, 4] Generated Node #0,2,2: 74:[70, 4] Operation: 8/2=4 Moving to Node #0,2,0 Current State: 74:[2, 78], Operations: ['45-37=8', '70+8=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,74 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[70, 4], Operations: ['45-37=8', '8/2=4'] Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,74 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[37, 70, 45, 2], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [70, 2, 8] Generated Node #0,2: 74:[70, 2, 8] Operation: 45-37=8 Moving to Node #0,2 Current State: 74:[70, 2, 8], Operations: ['45-37=8'] Exploring Operation: 8/2=4, Resulting Numbers: [70, 4] Generated Node #0,2,2: 74:[70, 4] Operation: 8/2=4 Moving to Node #0,2,2 Current State: 74:[70, 4], Operations: ['45-37=8', '8/2=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
mult_heuristic
[ 55, 93, 56, 70 ]
52
[ "93-55=38", "70-56=14", "38+14=52" ]
Current State: 52:[55, 93, 56, 70], Operations: [] Exploring Operation: 93-55=38, Resulting Numbers: [56, 70, 38] Generated Node #2: [56, 70, 38] from Operation: 93-55=38 Current State: 52:[56, 70, 38], Operations: ['93-55=38'] Exploring Operation: 70-56=14, Resulting Numbers: [38, 14] Generated Node #3: [38, 14] from Operation: 70-56=14 Current State: 52:[38, 14], Operations: ['93-55=38', '70-56=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[55, 93, 56, 70], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [55, 56, 23] Generated Node #0,0: 52:[55, 56, 23] Operation: 93-70=23 Moving to Node #0,0 Current State: 52:[55, 56, 23], Operations: ['93-70=23'] Exploring Operation: 56-55=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 52:[23, 1] Operation: 56-55=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[23, 1], Operations: ['93-70=23', '56-55=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,52 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
[ 60, 76, 29, 85 ]
81
[ "60+85=145", "145/29=5", "76+5=81" ]
Current State: 81:[60, 76, 29, 85], Operations: [] Exploring Operation: 60+85=145, Resulting Numbers: [76, 29, 145] Generated Node #2: [76, 29, 145] from Operation: 60+85=145 Current State: 81:[76, 29, 145], Operations: ['60+85=145'] Exploring Operation: 145/29=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 145/29=5 Current State: 81:[76, 5], Operations: ['60+85=145', '145/29=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[60, 76, 29, 85], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [76, 29, 25] Generated Node #0,0: 81:[76, 29, 25] Operation: 85-60=25 Moving to Node #0,0 Current State: 81:[76, 29, 25], Operations: ['85-60=25'] Exploring Operation: 29-25=4, Resulting Numbers: [76, 4] Generated Node #0,0,0: 81:[76, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[76, 4], Operations: ['85-60=25', '29-25=4'] Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,81 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
[ 60, 18, 14, 72 ]
72
[ "60*18=1080", "14*72=1008", "1080-1008=72" ]
Current State: 72:[60, 18, 14, 72], Operations: [] Exploring Operation: 60*18=1080, Resulting Numbers: [14, 72, 1080] Generated Node #2: [14, 72, 1080] from Operation: 60*18=1080 Current State: 72:[14, 72, 1080], Operations: ['60*18=1080'] Exploring Operation: 14*72=1008, Resulting Numbers: [1080, 1008] Generated Node #3: [1080, 1008] from Operation: 14*72=1008 Current State: 72:[1080, 1008], Operations: ['60*18=1080', '14*72=1008'] Exploring Operation: 1080-1008=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[60, 18, 14, 72], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [18, 14, 12] Generated Node #0,0: 72:[18, 14, 12] Operation: 72-60=12 Exploring Operation: 60+18=78, Resulting Numbers: [14, 72, 78] Generated Node #0,1: 72:[14, 72, 78] Operation: 60+18=78 Exploring Operation: 60+14=74, Resulting Numbers: [18, 72, 74] Generated Node #0,2: 72:[18, 72, 74] Operation: 60+14=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[18, 14, 12], Operations: ['72-60=12'] Exploring Operation: 18-14=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 72:[12, 4] Operation: 18-14=4 Exploring Operation: 18-12=6, Resulting Numbers: [14, 6] Generated Node #0,0,1: 72:[14, 6] Operation: 18-12=6 Exploring Operation: 14-12=2, Resulting Numbers: [18, 2] Generated Node #0,0,2: 72:[18, 2] Operation: 14-12=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[12, 4], Operations: ['72-60=12', '18-14=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,72 unequal: No Solution No 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: 72:[18, 2], Operations: ['72-60=12', '14-12=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,72 unequal: No Solution No 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: 72:[14, 6], Operations: ['72-60=12', '18-12=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,72 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: 72:[18, 72, 74], Operations: ['60+14=74'] Exploring Operation: 74-18=56, Resulting Numbers: [72, 56] Generated Node #0,2,0: 72:[72, 56] Operation: 74-18=56 Exploring Operation: 74-72=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 72:[18, 2] Operation: 74-72=2 Exploring Operation: 72/18=4, Resulting Numbers: [74, 4] Generated Node #0,2,2: 72:[74, 4] Operation: 72/18=4 Moving to Node #0,2,1 Current State: 72:[18, 2], Operations: ['60+14=74', '74-72=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[74, 4], Operations: ['60+14=74', '72/18=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,72 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[72, 56], Operations: ['60+14=74', '74-18=56'] Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,72 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 72*56=4032, Resulting Numbers: [4032] 4032,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[14, 72, 78], Operations: ['60+18=78'] Exploring Operation: 78-72=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 72:[14, 6] Operation: 78-72=6 Exploring Operation: 14+72=86, Resulting Numbers: [78, 86] Generated Node #0,1,1: 72:[78, 86] Operation: 14+72=86 Exploring Operation: 78-14=64, Resulting Numbers: [72, 64] Generated Node #0,1,2: 72:[72, 64] Operation: 78-14=64 Moving to Node #0,1,0 Current State: 72:[14, 6], Operations: ['60+18=78', '78-72=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[72, 64], Operations: ['60+18=78', '78-14=64'] Exploring Operation: 72+64=136, Resulting Numbers: [136] 136,72 unequal: No Solution Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 72*64=4608, Resulting Numbers: [4608] 4608,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[78, 86], Operations: ['60+18=78', '14+72=86'] Exploring Operation: 78*86=6708, Resulting Numbers: [6708] 6708,72 unequal: No Solution Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 78+86=164, Resulting Numbers: [164] 164,72 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
[ 2, 1, 24, 12 ]
31
[ "12/2=6", "1+24=25", "6+25=31" ]
Current State: 31:[2, 1, 24, 12], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [1, 24, 6] Generated Node #2: [1, 24, 6] from Operation: 12/2=6 Current State: 31:[1, 24, 6], Operations: ['12/2=6'] Exploring Operation: 1+24=25, Resulting Numbers: [6, 25] Generated Node #3: [6, 25] from Operation: 1+24=25 Current State: 31:[6, 25], Operations: ['12/2=6', '1+24=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 1, 24, 12], Operations: [] Exploring Operation: 2+24=26, Resulting Numbers: [1, 12, 26] Generated Node #0,0: 31:[1, 12, 26] Operation: 2+24=26 Exploring Operation: 2+1=3, Resulting Numbers: [24, 12, 3] Generated Node #0,1: 31:[24, 12, 3] Operation: 2+1=3 Exploring Operation: 2*12=24, Resulting Numbers: [1, 24, 24] Generated Node #0,2: 31:[1, 24, 24] Operation: 2*12=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[1, 24, 24], Operations: ['2*12=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24, 24] Generated Node #0,2,0: 31:[24, 24] Operation: 1*24=24 Exploring Operation: 1+24=25, Resulting Numbers: [24, 25] Generated Node #0,2,1: 31:[24, 25] Operation: 1+24=25 Exploring Operation: 1+24=25, Resulting Numbers: [24, 25] Generated Node #0,2,2: 31:[24, 25] Operation: 1+24=25 Moving to Node #0,2,1 Current State: 31:[24, 25], Operations: ['2*12=24', '1+24=25'] Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,31 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[24, 25], Operations: ['2*12=24', '1+24=25'] Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,31 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[24, 24], Operations: ['2*12=24', '1*24=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[1, 12, 26], Operations: ['2+24=26'] Exploring Operation: 1+12=13, Resulting Numbers: [26, 13] Generated Node #0,0,0: 31:[26, 13] Operation: 1+12=13 Exploring Operation: 1+26=27, Resulting Numbers: [12, 27] Generated Node #0,0,1: 31:[12, 27] Operation: 1+26=27 Exploring Operation: 1*12=12, Resulting Numbers: [26, 12] Generated Node #0,0,2: 31:[26, 12] Operation: 1*12=12 Moving to Node #0,0,0 Current State: 31:[26, 13], Operations: ['2+24=26', '1+12=13'] Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[12, 27], Operations: ['2+24=26', '1+26=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[26, 12], Operations: ['2+24=26', '1*12=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,31 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[24, 12, 3], Operations: ['2+1=3'] Exploring Operation: 24+3=27, Resulting Numbers: [12, 27] Generated Node #0,1,0: 31:[12, 27] Operation: 24+3=27 Exploring Operation: 12+3=15, Resulting Numbers: [24, 15] Generated Node #0,1,1: 31:[24, 15] Operation: 12+3=15 Exploring Operation: 12*3=36, Resulting Numbers: [24, 36] Generated Node #0,1,2: 31:[24, 36] Operation: 12*3=36 Moving to Node #0,1,2 Current State: 31:[24, 36], Operations: ['2+1=3', '12*3=36'] Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,31 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[12, 27], Operations: ['2+1=3', '24+3=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[24, 15], Operations: ['2+1=3', '12+3=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 78, 19, 98, 69 ]
46
[ "78*69=5382", "19+98=117", "5382/117=46" ]
Current State: 46:[78, 19, 98, 69], Operations: [] Exploring Operation: 78*69=5382, Resulting Numbers: [19, 98, 5382] Generated Node #2: [19, 98, 5382] from Operation: 78*69=5382 Current State: 46:[19, 98, 5382], Operations: ['78*69=5382'] Exploring Operation: 19+98=117, Resulting Numbers: [5382, 117] Generated Node #3: [5382, 117] from Operation: 19+98=117 Current State: 46:[5382, 117], Operations: ['78*69=5382', '19+98=117'] Exploring Operation: 5382/117=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[78, 19, 98, 69], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [19, 69, 20] Generated Node #0,0: 46:[19, 69, 20] Operation: 98-78=20 Moving to Node #0,0 Current State: 46:[19, 69, 20], Operations: ['98-78=20'] Exploring Operation: 69-19=50, Resulting Numbers: [20, 50] Generated Node #0,0,0: 46:[20, 50] Operation: 69-19=50 Moving to Node #0,0,0 Current State: 46:[20, 50], Operations: ['98-78=20', '69-19=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 36, 3, 72 ]
36
[ "1*36=36", "3*36=108", "108-72=36" ]
Current State: 36:[1, 36, 3, 72], Operations: [] Exploring Operation: 1*36=36, Resulting Numbers: [3, 72, 36] Generated Node #2: [3, 72, 36] from Operation: 1*36=36 Current State: 36:[3, 72, 36], Operations: ['1*36=36'] Exploring Operation: 3*36=108, Resulting Numbers: [72, 108] Generated Node #3: [72, 108] from Operation: 3*36=108 Current State: 36:[72, 108], Operations: ['1*36=36', '3*36=108'] Exploring Operation: 108-72=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[1, 36, 3, 72], Operations: [] Exploring Operation: 72-36=36, Resulting Numbers: [1, 3, 36] Generated Node #0,0: 36:[1, 3, 36] Operation: 72-36=36 Exploring Operation: 72-3=69, Resulting Numbers: [1, 36, 69] Generated Node #0,1: 36:[1, 36, 69] Operation: 72-3=69 Exploring Operation: 72-1=71, Resulting Numbers: [36, 3, 71] Generated Node #0,2: 36:[36, 3, 71] Operation: 72-1=71 Exploring Operation: 72/3=24, Resulting Numbers: [1, 36, 24] Generated Node #0,3: 36:[1, 36, 24] Operation: 72/3=24 Exploring Operation: 72/36=2, Resulting Numbers: [1, 3, 2] Generated Node #0,4: 36:[1, 3, 2] Operation: 72/36=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[1, 3, 36], Operations: ['72-36=36'] Exploring Operation: 3-1=2, Resulting Numbers: [36, 2] Generated Node #0,0,0: 36:[36, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [36, 4] Generated Node #0,0,1: 36:[36, 4] Operation: 1+3=4 Exploring Operation: 3/1=3, Resulting Numbers: [36, 3] Generated Node #0,0,2: 36:[36, 3] Operation: 3/1=3 Exploring Operation: 1*3=3, Resulting Numbers: [36, 3] Generated Node #0,0,3: 36:[36, 3] Operation: 1*3=3 Exploring Operation: 1*36=36, Resulting Numbers: [3, 36] Generated Node #0,0,4: 36:[3, 36] Operation: 1*36=36 Moving to Node #0,0,0 Current State: 36:[36, 2], Operations: ['72-36=36', '3-1=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[36, 3], Operations: ['72-36=36', '3/1=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[3, 36], Operations: ['72-36=36', '1*36=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[36, 4], Operations: ['72-36=36', '1+3=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,36 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[36, 3], Operations: ['72-36=36', '1*3=3'] Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[1, 3, 2], Operations: ['72/36=2'] Exploring Operation: 3-1=2, Resulting Numbers: [2, 2] Generated Node #0,4,0: 36:[2, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [2, 4] Generated Node #0,4,1: 36:[2, 4] Operation: 1+3=4 Exploring Operation: 1+2=3, Resulting Numbers: [3, 3] Generated Node #0,4,2: 36:[3, 3] Operation: 1+2=3 Exploring Operation: 3/1=3, Resulting Numbers: [2, 3] Generated Node #0,4,3: 36:[2, 3] Operation: 3/1=3 Exploring Operation: 1*3=3, Resulting Numbers: [2, 3] Generated Node #0,4,4: 36:[2, 3] Operation: 1*3=3 Moving to Node #0,4,0 Current State: 36:[2, 2], Operations: ['72/36=2', '3-1=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[3, 3], Operations: ['72/36=2', '1+2=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[2, 3], Operations: ['72/36=2', '1*3=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[2, 4], Operations: ['72/36=2', '1+3=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,4,3 Current State: 36:[2, 3], Operations: ['72/36=2', '3/1=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[1, 36, 24], Operations: ['72/3=24'] Exploring Operation: 36-24=12, Resulting Numbers: [1, 12] Generated Node #0,3,0: 36:[1, 12] Operation: 36-24=12 Exploring Operation: 1*24=24, Resulting Numbers: [36, 24] Generated Node #0,3,1: 36:[36, 24] Operation: 1*24=24 Exploring Operation: 1*36=36, Resulting Numbers: [24, 36] Generated Node #0,3,2: 36:[24, 36] Operation: 1*36=36 Exploring Operation: 36/1=36, Resulting Numbers: [24, 36] Generated Node #0,3,3: 36:[24, 36] Operation: 36/1=36 Exploring Operation: 24-1=23, Resulting Numbers: [36, 23] Generated Node #0,3,4: 36:[36, 23] Operation: 24-1=23 Moving to Node #0,3,0 Current State: 36:[1, 12], Operations: ['72/3=24', '36-24=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[36, 23], Operations: ['72/3=24', '24-1=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,36 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,36 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[36, 24], Operations: ['72/3=24', '1*24=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[24, 36], Operations: ['72/3=24', '1*36=36'] Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,36 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[24, 36], Operations: ['72/3=24', '36/1=36'] Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[1, 36, 69], Operations: ['72-3=69'] Exploring Operation: 1*69=69, Resulting Numbers: [36, 69] Generated Node #0,1,0: 36:[36, 69] Operation: 1*69=69 Exploring Operation: 69-1=68, Resulting Numbers: [36, 68] Generated Node #0,1,1: 36:[36, 68] Operation: 69-1=68 Exploring Operation: 1*36=36, Resulting Numbers: [69, 36] Generated Node #0,1,2: 36:[69, 36] Operation: 1*36=36 Exploring Operation: 36/1=36, Resulting Numbers: [69, 36] Generated Node #0,1,3: 36:[69, 36] Operation: 36/1=36 Exploring Operation: 69-36=33, Resulting Numbers: [1, 33] Generated Node #0,1,4: 36:[1, 33] Operation: 69-36=33 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 36:[1, 33], Operations: ['72-3=69', '69-36=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,36 unequal: No Solution No 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: 36:[36, 68], Operations: ['72-3=69', '69-1=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,36 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,36 unequal: No Solution No 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: 36:[36, 69], Operations: ['72-3=69', '1*69=69'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,36 unequal: No Solution No 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: 36:[69, 36], Operations: ['72-3=69', '1*36=36'] Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,36 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,36 unequal: No Solution No 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: 36:[69, 36], Operations: ['72-3=69', '36/1=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,36 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[36, 3, 71], Operations: ['72-1=71'] Exploring Operation: 71-3=68, Resulting Numbers: [36, 68] Generated Node #0,2,0: 36:[36, 68] Operation: 71-3=68 Exploring Operation: 36-3=33, Resulting Numbers: [71, 33] Generated Node #0,2,1: 36:[71, 33] Operation: 36-3=33 Exploring Operation: 36+3=39, Resulting Numbers: [71, 39] Generated Node #0,2,2: 36:[71, 39] Operation: 36+3=39 Exploring Operation: 36/3=12, Resulting Numbers: [71, 12] Generated Node #0,2,3: 36:[71, 12] Operation: 36/3=12 Exploring Operation: 71-36=35, Resulting Numbers: [3, 35] Generated Node #0,2,4: 36:[3, 35] Operation: 71-36=35 Moving to Node #0,2,4 Current State: 36:[3, 35], Operations: ['72-1=71', '71-36=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[36, 68], Operations: ['72-1=71', '71-3=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[71, 12], Operations: ['72-1=71', '36/3=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,36 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[71, 33], Operations: ['72-1=71', '36-3=33'] Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,36 unequal: No Solution Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[71, 39], Operations: ['72-1=71', '36+3=39'] Exploring Operation: 71*39=2769, Resulting Numbers: [2769] 2769,36 unequal: No Solution Exploring Operation: 71+39=110, Resulting Numbers: [110] 110,36 unequal: No Solution Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 85, 34, 3, 54 ]
62
[ "85+34=119", "3+54=57", "119-57=62" ]
Current State: 62:[85, 34, 3, 54], Operations: [] Exploring Operation: 85+34=119, Resulting Numbers: [3, 54, 119] Generated Node #2: [3, 54, 119] from Operation: 85+34=119 Current State: 62:[3, 54, 119], Operations: ['85+34=119'] Exploring Operation: 3+54=57, Resulting Numbers: [119, 57] Generated Node #3: [119, 57] from Operation: 3+54=57 Current State: 62:[119, 57], Operations: ['85+34=119', '3+54=57'] Exploring Operation: 119-57=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[85, 34, 3, 54], Operations: [] Exploring Operation: 85-34=51, Resulting Numbers: [3, 54, 51] Generated Node #0,0: 62:[3, 54, 51] Operation: 85-34=51 Exploring Operation: 85-54=31, Resulting Numbers: [34, 3, 31] Generated Node #0,1: 62:[34, 3, 31] Operation: 85-54=31 Moving to Node #0,1 Current State: 62:[34, 3, 31], Operations: ['85-54=31'] Exploring Operation: 34-3=31, Resulting Numbers: [31, 31] Generated Node #0,1,0: 62:[31, 31] Operation: 34-3=31 Exploring Operation: 34-31=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 62:[3, 3] Operation: 34-31=3 Moving to Node #0,0 Current State: 62:[3, 54, 51], Operations: ['85-34=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 62:[3, 3] Operation: 54-51=3 Exploring Operation: 3+54=57, Resulting Numbers: [51, 57] Generated Node #0,0,1: 62:[51, 57] Operation: 3+54=57 Moving to Node #0,1,0 Current State: 62:[31, 31], Operations: ['85-54=31', '34-3=31'] Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[85, 34, 3, 54], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [34, 3, 31] Generated Node #0,1: 62:[34, 3, 31] Operation: 85-54=31 Moving to Node #0,1 Current State: 62:[34, 3, 31], Operations: ['85-54=31'] Exploring Operation: 34-3=31, Resulting Numbers: [31, 31] Generated Node #0,1,0: 62:[31, 31] Operation: 34-3=31 Moving to Node #0,1,0 Current State: 62:[31, 31], Operations: ['85-54=31', '34-3=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 48, 84, 48, 1 ]
85
[ "48+84=132", "48-1=47", "132-47=85" ]
Current State: 85:[48, 84, 48, 1], Operations: [] Exploring Operation: 48+84=132, Resulting Numbers: [1, 132] Generated Node #2: [1, 132] from Operation: 48+84=132 Current State: 85:[1, 132], Operations: ['48+84=132'] Exploring Operation: 48-1=47, Resulting Numbers: [132, 47] Generated Node #3: [132, 47] from Operation: 48-1=47 Current State: 85:[132, 47], Operations: ['48+84=132', '48-1=47'] Exploring Operation: 132-47=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[48, 84, 48, 1], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [84, 1, 0] Generated Node #0,0: 85:[84, 1, 0] Operation: 48-48=0 Exploring Operation: 48/48=1, Resulting Numbers: [84, 1, 1] Generated Node #0,1: 85:[84, 1, 1] Operation: 48/48=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[84, 1, 1], Operations: ['48/48=1'] Exploring Operation: 84+1=85, Resulting Numbers: [1, 85] Generated Node #0,1,0: 85:[1, 85] Operation: 84+1=85 Exploring Operation: 84+1=85, Resulting Numbers: [1, 85] Generated Node #0,1,1: 85:[1, 85] Operation: 84+1=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[1, 85], Operations: ['48/48=1', '84+1=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[48, 84, 48, 1], Operations: [] Exploring Operation: 48/48=1, Resulting Numbers: [84, 1, 1] Generated Node #0,1: 85:[84, 1, 1] Operation: 48/48=1 Moving to Node #0,1 Current State: 85:[84, 1, 1], Operations: ['48/48=1'] Exploring Operation: 84+1=85, Resulting Numbers: [1, 85] Generated Node #0,1,0: 85:[1, 85] Operation: 84+1=85 Moving to Node #0,1,0 Current State: 85:[1, 85], Operations: ['48/48=1', '84+1=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 24, 66, 1, 69 ]
48
[ "66+1=67", "69-67=2", "24*2=48" ]
Current State: 48:[24, 66, 1, 69], Operations: [] Exploring Operation: 66+1=67, Resulting Numbers: [24, 69, 67] Generated Node #2: [24, 69, 67] from Operation: 66+1=67 Current State: 48:[24, 69, 67], Operations: ['66+1=67'] Exploring Operation: 69-67=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 69-67=2 Current State: 48:[24, 2], Operations: ['66+1=67', '69-67=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[24, 66, 1, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [24, 1, 3] Generated Node #0,0: 48:[24, 1, 3] Operation: 69-66=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[24, 1, 3], Operations: ['69-66=3'] Exploring Operation: 24*1=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 48:[3, 24] Operation: 24*1=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[3, 24], Operations: ['69-66=3', '24*1=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,48 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
[ 47, 67, 37, 72 ]
89
[ "67-47=20", "37+72=109", "109-20=89" ]
Current State: 89:[47, 67, 37, 72], Operations: [] Exploring Operation: 67-47=20, Resulting Numbers: [37, 72, 20] Generated Node #2: [37, 72, 20] from Operation: 67-47=20 Current State: 89:[37, 72, 20], Operations: ['67-47=20'] Exploring Operation: 37+72=109, Resulting Numbers: [20, 109] Generated Node #3: [20, 109] from Operation: 37+72=109 Current State: 89:[20, 109], Operations: ['67-47=20', '37+72=109'] Exploring Operation: 109-20=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[47, 67, 37, 72], Operations: [] Exploring Operation: 37+72=109, Resulting Numbers: [47, 67, 109] Generated Node #0,0: 89:[47, 67, 109] Operation: 37+72=109 Exploring Operation: 67+37=104, Resulting Numbers: [47, 72, 104] Generated Node #0,1: 89:[47, 72, 104] Operation: 67+37=104 Exploring Operation: 47+37=84, Resulting Numbers: [67, 72, 84] Generated Node #0,2: 89:[67, 72, 84] Operation: 47+37=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[67, 72, 84], Operations: ['47+37=84'] Exploring Operation: 67+84=151, Resulting Numbers: [72, 151] Generated Node #0,2,0: 89:[72, 151] Operation: 67+84=151 Exploring Operation: 67+72=139, Resulting Numbers: [84, 139] Generated Node #0,2,1: 89:[84, 139] Operation: 67+72=139 Exploring Operation: 72-67=5, Resulting Numbers: [84, 5] Generated Node #0,2,2: 89:[84, 5] Operation: 72-67=5 Moving to Node #0,2,1 Current State: 89:[84, 139], Operations: ['47+37=84', '67+72=139'] Exploring Operation: 139-84=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 84+139=223, Resulting Numbers: [223] 223,89 unequal: No Solution Exploring Operation: 84*139=11676, Resulting Numbers: [11676] 11676,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[72, 151], Operations: ['47+37=84', '67+84=151'] Exploring Operation: 72+151=223, Resulting Numbers: [223] 223,89 unequal: No Solution Exploring Operation: 72*151=10872, Resulting Numbers: [10872] 10872,89 unequal: No Solution Exploring Operation: 151-72=79, Resulting Numbers: [79] 79,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[84, 5], Operations: ['47+37=84', '72-67=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 84*5=420, Resulting Numbers: [420] 420,89 unequal: No Solution Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[47, 67, 37, 72], Operations: [] Exploring Operation: 47+37=84, Resulting Numbers: [67, 72, 84] Generated Node #0,2: 89:[67, 72, 84] Operation: 47+37=84 Moving to Node #0,2 Current State: 89:[67, 72, 84], Operations: ['47+37=84'] Exploring Operation: 72-67=5, Resulting Numbers: [84, 5] Generated Node #0,2,2: 89:[84, 5] Operation: 72-67=5 Moving to Node #0,2,2 Current State: 89:[84, 5], Operations: ['47+37=84', '72-67=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 11, 14, 96, 4 ]
62
[ "11*14=154", "96-4=92", "154-92=62" ]
Current State: 62:[11, 14, 96, 4], Operations: [] Exploring Operation: 11*14=154, Resulting Numbers: [96, 4, 154] Generated Node #2: [96, 4, 154] from Operation: 11*14=154 Current State: 62:[96, 4, 154], Operations: ['11*14=154'] Exploring Operation: 96-4=92, Resulting Numbers: [154, 92] Generated Node #3: [154, 92] from Operation: 96-4=92 Current State: 62:[154, 92], Operations: ['11*14=154', '96-4=92'] Exploring Operation: 154-92=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[11, 14, 96, 4], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [96, 4, 3] Generated Node #0,0: 62:[96, 4, 3] Operation: 14-11=3 Exploring Operation: 96/4=24, Resulting Numbers: [11, 14, 24] Generated Node #0,1: 62:[11, 14, 24] Operation: 96/4=24 Exploring Operation: 96-14=82, Resulting Numbers: [11, 4, 82] Generated Node #0,2: 62:[11, 4, 82] Operation: 96-14=82 Exploring Operation: 96-11=85, Resulting Numbers: [14, 4, 85] Generated Node #0,3: 62:[14, 4, 85] Operation: 96-11=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[11, 14, 24], Operations: ['96/4=24'] Exploring Operation: 14-11=3, Resulting Numbers: [24, 3] Generated Node #0,1,0: 62:[24, 3] Operation: 14-11=3 Exploring Operation: 11+24=35, Resulting Numbers: [14, 35] Generated Node #0,1,1: 62:[14, 35] Operation: 11+24=35 Exploring Operation: 14+24=38, Resulting Numbers: [11, 38] Generated Node #0,1,2: 62:[11, 38] Operation: 14+24=38 Exploring Operation: 11+14=25, Resulting Numbers: [24, 25] Generated Node #0,1,3: 62:[24, 25] Operation: 11+14=25 Moving to Node #0,1,0 Current State: 62:[24, 3], Operations: ['96/4=24', '14-11=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[24, 25], Operations: ['96/4=24', '11+14=25'] Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,62 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[11, 38], Operations: ['96/4=24', '14+24=38'] Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[14, 35], Operations: ['96/4=24', '11+24=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,62 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,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:[11, 4, 82], Operations: ['96-14=82'] Exploring Operation: 82-11=71, Resulting Numbers: [4, 71] Generated Node #0,2,0: 62:[4, 71] Operation: 82-11=71 Exploring Operation: 11-4=7, Resulting Numbers: [82, 7] Generated Node #0,2,1: 62:[82, 7] Operation: 11-4=7 Exploring Operation: 11+4=15, Resulting Numbers: [82, 15] Generated Node #0,2,2: 62:[82, 15] Operation: 11+4=15 Exploring Operation: 82-4=78, Resulting Numbers: [11, 78] Generated Node #0,2,3: 62:[11, 78] Operation: 82-4=78 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[4, 71], Operations: ['96-14=82', '82-11=71'] Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,62 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,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,2,1 Current State: 62:[82, 7], Operations: ['96-14=82', '11-4=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,62 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,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,2,3 Current State: 62:[11, 78], Operations: ['96-14=82', '82-4=78'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,62 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,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,2,2 Current State: 62:[82, 15], Operations: ['96-14=82', '11+4=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,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:[96, 4, 3], Operations: ['14-11=3'] Exploring Operation: 96/4=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 62:[3, 24] Operation: 96/4=24 Exploring Operation: 96-3=93, Resulting Numbers: [4, 93] Generated Node #0,0,1: 62:[4, 93] Operation: 96-3=93 Exploring Operation: 96-4=92, Resulting Numbers: [3, 92] Generated Node #0,0,2: 62:[3, 92] Operation: 96-4=92 Exploring Operation: 96/3=32, Resulting Numbers: [4, 32] Generated Node #0,0,3: 62:[4, 32] Operation: 96/3=32 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[4, 32], Operations: ['14-11=3', '96/3=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[3, 24], Operations: ['14-11=3', '96/4=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[3, 92], Operations: ['14-11=3', '96-4=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[4, 93], Operations: ['14-11=3', '96-3=93'] Exploring Operation: 4*93=372, Resulting Numbers: [372] 372,62 unequal: No Solution Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[14, 4, 85], Operations: ['96-11=85'] Exploring Operation: 85-4=81, Resulting Numbers: [14, 81] Generated Node #0,3,0: 62:[14, 81] Operation: 85-4=81 Exploring Operation: 14*4=56, Resulting Numbers: [85, 56] Generated Node #0,3,1: 62:[85, 56] Operation: 14*4=56 Exploring Operation: 14-4=10, Resulting Numbers: [85, 10] Generated Node #0,3,2: 62:[85, 10] Operation: 14-4=10 Exploring Operation: 85-14=71, Resulting Numbers: [4, 71] Generated Node #0,3,3: 62:[4, 71] Operation: 85-14=71 Moving to Node #0,3,3 Current State: 62:[4, 71], Operations: ['96-11=85', '85-14=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,62 unequal: No Solution Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[85, 56], Operations: ['96-11=85', '14*4=56'] Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 85*56=4760, Resulting Numbers: [4760] 4760,62 unequal: No Solution Exploring Operation: 85+56=141, Resulting Numbers: [141] 141,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[85, 10], Operations: ['96-11=85', '14-4=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,62 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[14, 81], Operations: ['96-11=85', '85-4=81'] Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,62 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 24, 79, 72, 10 ]
49
[ "72/24=3", "10*3=30", "79-30=49" ]
Current State: 49:[24, 79, 72, 10], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [79, 10, 3] Generated Node #2: [79, 10, 3] from Operation: 72/24=3 Current State: 49:[79, 10, 3], Operations: ['72/24=3'] Exploring Operation: 10*3=30, Resulting Numbers: [79, 30] Generated Node #3: [79, 30] from Operation: 10*3=30 Current State: 49:[79, 30], Operations: ['72/24=3', '10*3=30'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[24, 79, 72, 10], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [79, 10, 48] Generated Node #0,0: 49:[79, 10, 48] Operation: 72-24=48 Exploring Operation: 79-24=55, Resulting Numbers: [72, 10, 55] Generated Node #0,1: 49:[72, 10, 55] Operation: 79-24=55 Exploring Operation: 79-72=7, Resulting Numbers: [24, 10, 7] Generated Node #0,2: 49:[24, 10, 7] Operation: 79-72=7 Moving to Node #0,2 Current State: 49:[24, 10, 7], Operations: ['79-72=7'] Exploring Operation: 24+10=34, Resulting Numbers: [7, 34] Generated Node #0,2,0: 49:[7, 34] Operation: 24+10=34 Exploring Operation: 24-10=14, Resulting Numbers: [7, 14] Generated Node #0,2,1: 49:[7, 14] Operation: 24-10=14 Exploring Operation: 24-7=17, Resulting Numbers: [10, 17] Generated Node #0,2,2: 49:[10, 17] Operation: 24-7=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[7, 14], Operations: ['79-72=7', '24-10=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[10, 17], Operations: ['79-72=7', '24-7=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,49 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[7, 34], Operations: ['79-72=7', '24+10=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 49:[72, 10, 55], Operations: ['79-24=55'] Exploring Operation: 72-10=62, Resulting Numbers: [55, 62] Generated Node #0,1,0: 49:[55, 62] Operation: 72-10=62 Exploring Operation: 72-55=17, Resulting Numbers: [10, 17] Generated Node #0,1,1: 49:[10, 17] Operation: 72-55=17 Exploring Operation: 55-10=45, Resulting Numbers: [72, 45] Generated Node #0,1,2: 49:[72, 45] Operation: 55-10=45 Moving to Node #0,0 Current State: 49:[79, 10, 48], Operations: ['72-24=48'] Exploring Operation: 10+48=58, Resulting Numbers: [79, 58] Generated Node #0,0,0: 49:[79, 58] Operation: 10+48=58 Exploring Operation: 79-10=69, Resulting Numbers: [48, 69] Generated Node #0,0,1: 49:[48, 69] Operation: 79-10=69 Exploring Operation: 79-48=31, Resulting Numbers: [10, 31] Generated Node #0,0,2: 49:[10, 31] Operation: 79-48=31 Moving to Node #0,1,1 Current State: 49:[10, 17], Operations: ['79-24=55', '72-55=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,49 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[55, 62], Operations: ['79-24=55', '72-10=62'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,49 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[10, 31], Operations: ['72-24=48', '79-48=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[48, 69], Operations: ['72-24=48', '79-10=69'] Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,49 unequal: No Solution Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[72, 45], Operations: ['79-24=55', '55-10=45'] Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,49 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[79, 58], Operations: ['72-24=48', '10+48=58'] Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,49 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 92, 80, 43, 69 ]
65
[ "92+80=172", "172/43=4", "69-4=65" ]
Current State: 65:[92, 80, 43, 69], Operations: [] Exploring Operation: 92+80=172, Resulting Numbers: [43, 69, 172] Generated Node #2: [43, 69, 172] from Operation: 92+80=172 Current State: 65:[43, 69, 172], Operations: ['92+80=172'] Exploring Operation: 172/43=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 172/43=4 Current State: 65:[69, 4], Operations: ['92+80=172', '172/43=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[92, 80, 43, 69], Operations: [] Exploring Operation: 92-43=49, Resulting Numbers: [80, 69, 49] Generated Node #0,0: 65:[80, 69, 49] Operation: 92-43=49 Exploring Operation: 80-43=37, Resulting Numbers: [92, 69, 37] Generated Node #0,1: 65:[92, 69, 37] Operation: 80-43=37 Exploring Operation: 92-69=23, Resulting Numbers: [80, 43, 23] Generated Node #0,2: 65:[80, 43, 23] Operation: 92-69=23 Exploring Operation: 80-69=11, Resulting Numbers: [92, 43, 11] Generated Node #0,3: 65:[92, 43, 11] Operation: 80-69=11 Exploring Operation: 92-80=12, Resulting Numbers: [43, 69, 12] Generated Node #0,4: 65:[43, 69, 12] Operation: 92-80=12 Moving to Node #0,4 Current State: 65:[43, 69, 12], Operations: ['92-80=12'] Exploring Operation: 69+12=81, Resulting Numbers: [43, 81] Generated Node #0,4,0: 65:[43, 81] Operation: 69+12=81 Exploring Operation: 69-43=26, Resulting Numbers: [12, 26] Generated Node #0,4,1: 65:[12, 26] Operation: 69-43=26 Exploring Operation: 43+12=55, Resulting Numbers: [69, 55] Generated Node #0,4,2: 65:[69, 55] Operation: 43+12=55 Exploring Operation: 43-12=31, Resulting Numbers: [69, 31] Generated Node #0,4,3: 65:[69, 31] Operation: 43-12=31 Exploring Operation: 69-12=57, Resulting Numbers: [43, 57] Generated Node #0,4,4: 65:[43, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 65:[12, 26], Operations: ['92-80=12', '69-43=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,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,2 Current State: 65:[69, 55], Operations: ['92-80=12', '43+12=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,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,3 Current State: 65:[69, 31], Operations: ['92-80=12', '43-12=31'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 69*31=2139, Resulting Numbers: [2139] 2139,65 unequal: No Solution Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,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,4 Current State: 65:[43, 57], Operations: ['92-80=12', '69-12=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,65 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,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,0 Current State: 65:[43, 81], Operations: ['92-80=12', '69+12=81'] Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,65 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 65:[80, 69, 49], Operations: ['92-43=49'] Exploring Operation: 69-49=20, Resulting Numbers: [80, 20] Generated Node #0,0,0: 65:[80, 20] Operation: 69-49=20 Exploring Operation: 80-49=31, Resulting Numbers: [69, 31] Generated Node #0,0,1: 65:[69, 31] Operation: 80-49=31 Exploring Operation: 69+49=118, Resulting Numbers: [80, 118] Generated Node #0,0,2: 65:[80, 118] Operation: 69+49=118 Exploring Operation: 80+49=129, Resulting Numbers: [69, 129] Generated Node #0,0,3: 65:[69, 129] Operation: 80+49=129 Exploring Operation: 80-69=11, Resulting Numbers: [49, 11] Generated Node #0,0,4: 65:[49, 11] Operation: 80-69=11 Moving to Node #0,2 Current State: 65:[80, 43, 23], Operations: ['92-69=23'] Exploring Operation: 80-23=57, Resulting Numbers: [43, 57] Generated Node #0,2,0: 65:[43, 57] Operation: 80-23=57 Exploring Operation: 43-23=20, Resulting Numbers: [80, 20] Generated Node #0,2,1: 65:[80, 20] Operation: 43-23=20 Exploring Operation: 43+23=66, Resulting Numbers: [80, 66] Generated Node #0,2,2: 65:[80, 66] Operation: 43+23=66 Exploring Operation: 80-43=37, Resulting Numbers: [23, 37] Generated Node #0,2,3: 65:[23, 37] Operation: 80-43=37 Exploring Operation: 80+23=103, Resulting Numbers: [43, 103] Generated Node #0,2,4: 65:[43, 103] Operation: 80+23=103 Moving to Node #0,3 Current State: 65:[92, 43, 11], Operations: ['80-69=11'] Exploring Operation: 43-11=32, Resulting Numbers: [92, 32] Generated Node #0,3,0: 65:[92, 32] Operation: 43-11=32 Exploring Operation: 92-11=81, Resulting Numbers: [43, 81] Generated Node #0,3,1: 65:[43, 81] Operation: 92-11=81 Exploring Operation: 43+11=54, Resulting Numbers: [92, 54] Generated Node #0,3,2: 65:[92, 54] Operation: 43+11=54 Exploring Operation: 92+11=103, Resulting Numbers: [43, 103] Generated Node #0,3,3: 65:[43, 103] Operation: 92+11=103 Exploring Operation: 92-43=49, Resulting Numbers: [11, 49] Generated Node #0,3,4: 65:[11, 49] Operation: 92-43=49 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 65:[11, 49], Operations: ['80-69=11', '92-43=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,65 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,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,3,1 Current State: 65:[43, 81], Operations: ['80-69=11', '92-11=81'] Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,65 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,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,3,2 Current State: 65:[92, 54], Operations: ['80-69=11', '43+11=54'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 92*54=4968, Resulting Numbers: [4968] 4968,65 unequal: No Solution Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,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,3,0 Current State: 65:[92, 32], Operations: ['80-69=11', '43-11=32'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 92+32=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 92*32=2944, Resulting Numbers: [2944] 2944,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,3,3 Current State: 65:[43, 103], Operations: ['80-69=11', '92+11=103'] Exploring Operation: 43+103=146, Resulting Numbers: [146] 146,65 unequal: No Solution Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 43*103=4429, Resulting Numbers: [4429] 4429,65 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: 65:[92, 69, 37], Operations: ['80-43=37'] Exploring Operation: 92-37=55, Resulting Numbers: [69, 55] Generated Node #0,1,0: 65:[69, 55] Operation: 92-37=55 Exploring Operation: 92-69=23, Resulting Numbers: [37, 23] Generated Node #0,1,1: 65:[37, 23] Operation: 92-69=23 Exploring Operation: 69+37=106, Resulting Numbers: [92, 106] Generated Node #0,1,2: 65:[92, 106] Operation: 69+37=106 Exploring Operation: 69-37=32, Resulting Numbers: [92, 32] Generated Node #0,1,3: 65:[92, 32] Operation: 69-37=32 Exploring Operation: 92+37=129, Resulting Numbers: [69, 129] Generated Node #0,1,4: 65:[69, 129] Operation: 92+37=129 Moving to Node #0,1,0 Current State: 65:[69, 55], Operations: ['80-43=37', '92-37=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[80, 66], Operations: ['92-69=23', '43+23=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,65 unequal: No Solution Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[49, 11], Operations: ['92-43=49', '80-69=11'] Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[80, 20], Operations: ['92-69=23', '43-23=20'] Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,65 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[69, 31], Operations: ['92-43=49', '80-49=31'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 69*31=2139, Resulting Numbers: [2139] 2139,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[80, 20], Operations: ['92-43=49', '69-49=20'] Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,65 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[43, 57], Operations: ['92-69=23', '80-23=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,65 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[37, 23], Operations: ['80-43=37', '92-69=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,65 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[23, 37], Operations: ['92-69=23', '80-43=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,65 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[92, 32], Operations: ['80-43=37', '69-37=32'] Exploring Operation: 92*32=2944, Resulting Numbers: [2944] 2944,65 unequal: No Solution Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 92+32=124, Resulting Numbers: [124] 124,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[43, 103], Operations: ['92-69=23', '80+23=103'] Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 43*103=4429, Resulting Numbers: [4429] 4429,65 unequal: No Solution Exploring Operation: 43+103=146, Resulting Numbers: [146] 146,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[69, 129], Operations: ['92-43=49', '80+49=129'] Exploring Operation: 69+129=198, Resulting Numbers: [198] 198,65 unequal: No Solution Exploring Operation: 69*129=8901, Resulting Numbers: [8901] 8901,65 unequal: No Solution Exploring Operation: 129-69=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[92, 106], Operations: ['80-43=37', '69+37=106'] Exploring Operation: 92+106=198, Resulting Numbers: [198] 198,65 unequal: No Solution Exploring Operation: 92*106=9752, Resulting Numbers: [9752] 9752,65 unequal: No Solution Exploring Operation: 106-92=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[80, 118], Operations: ['92-43=49', '69+49=118'] Exploring Operation: 118-80=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 80+118=198, Resulting Numbers: [198] 198,65 unequal: No Solution Exploring Operation: 80*118=9440, Resulting Numbers: [9440] 9440,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[69, 129], Operations: ['80-43=37', '92+37=129'] Exploring Operation: 69+129=198, Resulting Numbers: [198] 198,65 unequal: No Solution Exploring Operation: 69*129=8901, Resulting Numbers: [8901] 8901,65 unequal: No Solution Exploring Operation: 129-69=60, Resulting Numbers: [60] 60,65 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 27, 88, 50 ]
92
[ "2*27=54", "88-50=38", "54+38=92" ]
Current State: 92:[2, 27, 88, 50], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [88, 50, 54] Generated Node #2: [88, 50, 54] from Operation: 2*27=54 Current State: 92:[88, 50, 54], Operations: ['2*27=54'] Exploring Operation: 88-50=38, Resulting Numbers: [54, 38] Generated Node #3: [54, 38] from Operation: 88-50=38 Current State: 92:[54, 38], Operations: ['2*27=54', '88-50=38'] Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[2, 27, 88, 50], Operations: [] Exploring Operation: 27-2=25, Resulting Numbers: [88, 50, 25] Generated Node #0,0: 92:[88, 50, 25] Operation: 27-2=25 Exploring Operation: 88/2=44, Resulting Numbers: [27, 50, 44] Generated Node #0,1: 92:[27, 50, 44] Operation: 88/2=44 Exploring Operation: 2+88=90, Resulting Numbers: [27, 50, 90] Generated Node #0,2: 92:[27, 50, 90] Operation: 2+88=90 Exploring Operation: 50-27=23, Resulting Numbers: [2, 88, 23] Generated Node #0,3: 92:[2, 88, 23] Operation: 50-27=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[2, 88, 23], Operations: ['50-27=23'] Exploring Operation: 88/2=44, Resulting Numbers: [23, 44] Generated Node #0,3,0: 92:[23, 44] Operation: 88/2=44 Exploring Operation: 88-2=86, Resulting Numbers: [23, 86] Generated Node #0,3,1: 92:[23, 86] Operation: 88-2=86 Exploring Operation: 2+88=90, Resulting Numbers: [23, 90] Generated Node #0,3,2: 92:[23, 90] Operation: 2+88=90 Exploring Operation: 2*23=46, Resulting Numbers: [88, 46] Generated Node #0,3,3: 92:[88, 46] Operation: 2*23=46 Moving to Node #0,3,0 Current State: 92:[23, 44], Operations: ['50-27=23', '88/2=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[23, 90], Operations: ['50-27=23', '2+88=90'] Exploring Operation: 23*90=2070, Resulting Numbers: [2070] 2070,92 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 23+90=113, Resulting Numbers: [113] 113,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[88, 46], Operations: ['50-27=23', '2*23=46'] Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 88*46=4048, Resulting Numbers: [4048] 4048,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[23, 86], Operations: ['50-27=23', '88-2=86'] Exploring Operation: 23*86=1978, Resulting Numbers: [1978] 1978,92 unequal: No Solution Exploring Operation: 23+86=109, Resulting Numbers: [109] 109,92 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,92 unequal: No Solution No 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: 92:[88, 50, 25], Operations: ['27-2=25'] Exploring Operation: 50/25=2, Resulting Numbers: [88, 2] Generated Node #0,0,0: 92:[88, 2] Operation: 50/25=2 Exploring Operation: 88-50=38, Resulting Numbers: [25, 38] Generated Node #0,0,1: 92:[25, 38] Operation: 88-50=38 Exploring Operation: 50-25=25, Resulting Numbers: [88, 25] Generated Node #0,0,2: 92:[88, 25] Operation: 50-25=25 Exploring Operation: 88-25=63, Resulting Numbers: [50, 63] Generated Node #0,0,3: 92:[50, 63] Operation: 88-25=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[88, 2], Operations: ['27-2=25', '50/25=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[88, 25], Operations: ['27-2=25', '50-25=25'] Exploring Operation: 88+25=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 88*25=2200, Resulting Numbers: [2200] 2200,92 unequal: No Solution Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[25, 38], Operations: ['27-2=25', '88-50=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,92 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[50, 63], Operations: ['27-2=25', '88-25=63'] Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,92 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[27, 50, 44], Operations: ['88/2=44'] Exploring Operation: 50-44=6, Resulting Numbers: [27, 6] Generated Node #0,1,0: 92:[27, 6] Operation: 50-44=6 Exploring Operation: 50-27=23, Resulting Numbers: [44, 23] Generated Node #0,1,1: 92:[44, 23] Operation: 50-27=23 Exploring Operation: 44-27=17, Resulting Numbers: [50, 17] Generated Node #0,1,2: 92:[50, 17] Operation: 44-27=17 Exploring Operation: 50+44=94, Resulting Numbers: [27, 94] Generated Node #0,1,3: 92:[27, 94] Operation: 50+44=94 Moving to Node #0,1,1 Current State: 92:[44, 23], Operations: ['88/2=44', '50-27=23'] Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,92 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[27, 94], Operations: ['88/2=44', '50+44=94'] Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,92 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[27, 6], Operations: ['88/2=44', '50-44=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,92 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[50, 17], Operations: ['88/2=44', '44-27=17'] Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,92 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[27, 50, 90], Operations: ['2+88=90'] Exploring Operation: 90-27=63, Resulting Numbers: [50, 63] Generated Node #0,2,0: 92:[50, 63] Operation: 90-27=63 Exploring Operation: 27+50=77, Resulting Numbers: [90, 77] Generated Node #0,2,1: 92:[90, 77] Operation: 27+50=77 Exploring Operation: 50-27=23, Resulting Numbers: [90, 23] Generated Node #0,2,2: 92:[90, 23] Operation: 50-27=23 Exploring Operation: 90-50=40, Resulting Numbers: [27, 40] Generated Node #0,2,3: 92:[27, 40] Operation: 90-50=40 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[90, 23], Operations: ['2+88=90', '50-27=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,92 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[27, 40], Operations: ['2+88=90', '90-50=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[90, 77], Operations: ['2+88=90', '27+50=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,92 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[50, 63], Operations: ['2+88=90', '90-27=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 22, 64, 18, 83 ]
21
[ "22+64=86", "83-18=65", "86-65=21" ]
Current State: 21:[22, 64, 18, 83], Operations: [] Exploring Operation: 22+64=86, Resulting Numbers: [18, 83, 86] Generated Node #2: [18, 83, 86] from Operation: 22+64=86 Current State: 21:[18, 83, 86], Operations: ['22+64=86'] Exploring Operation: 83-18=65, Resulting Numbers: [86, 65] Generated Node #3: [86, 65] from Operation: 83-18=65 Current State: 21:[86, 65], Operations: ['22+64=86', '83-18=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[22, 64, 18, 83], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [18, 83, 42] Generated Node #0,0: 21:[18, 83, 42] Operation: 64-22=42 Exploring Operation: 83-64=19, Resulting Numbers: [22, 18, 19] Generated Node #0,1: 21:[22, 18, 19] Operation: 83-64=19 Exploring Operation: 64-18=46, Resulting Numbers: [22, 83, 46] Generated Node #0,2: 21:[22, 83, 46] Operation: 64-18=46 Exploring Operation: 83-22=61, Resulting Numbers: [64, 18, 61] Generated Node #0,3: 21:[64, 18, 61] Operation: 83-22=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[22, 18, 19], Operations: ['83-64=19'] Exploring Operation: 19-18=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 21:[22, 1] Operation: 19-18=1 Exploring Operation: 22-18=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 21:[19, 4] Operation: 22-18=4 Exploring Operation: 18+19=37, Resulting Numbers: [22, 37] Generated Node #0,1,2: 21:[22, 37] Operation: 18+19=37 Exploring Operation: 22-19=3, Resulting Numbers: [18, 3] Generated Node #0,1,3: 21:[18, 3] Operation: 22-19=3 Moving to Node #0,1,0 Current State: 21:[22, 1], Operations: ['83-64=19', '19-18=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[22, 64, 18, 83], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [22, 18, 19] Generated Node #0,1: 21:[22, 18, 19] Operation: 83-64=19 Moving to Node #0,1 Current State: 21:[22, 18, 19], Operations: ['83-64=19'] Exploring Operation: 19-18=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 21:[22, 1] Operation: 19-18=1 Moving to Node #0,1,0 Current State: 21:[22, 1], Operations: ['83-64=19', '19-18=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 98, 24, 50, 65 ]
89
[ "98-24=74", "65-50=15", "74+15=89" ]
Current State: 89:[98, 24, 50, 65], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [50, 65, 74] Generated Node #2: [50, 65, 74] from Operation: 98-24=74 Current State: 89:[50, 65, 74], Operations: ['98-24=74'] Exploring Operation: 65-50=15, Resulting Numbers: [74, 15] Generated Node #3: [74, 15] from Operation: 65-50=15 Current State: 89:[74, 15], Operations: ['98-24=74', '65-50=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[98, 24, 50, 65], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [50, 65, 74] Generated Node #0,0: 89:[50, 65, 74] Operation: 98-24=74 Exploring Operation: 24+50=74, Resulting Numbers: [98, 65, 74] Generated Node #0,1: 89:[98, 65, 74] Operation: 24+50=74 Exploring Operation: 24+65=89, Resulting Numbers: [98, 50, 89] Generated Node #0,2: 89:[98, 50, 89] Operation: 24+65=89 Moving to Node #0,1 Current State: 89:[98, 65, 74], Operations: ['24+50=74'] Exploring Operation: 65+74=139, Resulting Numbers: [98, 139] Generated Node #0,1,0: 89:[98, 139] Operation: 65+74=139 Exploring Operation: 98-65=33, Resulting Numbers: [74, 33] Generated Node #0,1,1: 89:[74, 33] Operation: 98-65=33 Exploring Operation: 98+65=163, Resulting Numbers: [74, 163] Generated Node #0,1,2: 89:[74, 163] Operation: 98+65=163 Moving to Node #0,2 Current State: 89:[98, 50, 89], Operations: ['24+65=89'] Exploring Operation: 50+89=139, Resulting Numbers: [98, 139] Generated Node #0,2,0: 89:[98, 139] Operation: 50+89=139 Exploring Operation: 98-50=48, Resulting Numbers: [89, 48] Generated Node #0,2,1: 89:[89, 48] Operation: 98-50=48 Exploring Operation: 98+50=148, Resulting Numbers: [89, 148] Generated Node #0,2,2: 89:[89, 148] Operation: 98+50=148 Moving to Node #0,0 Current State: 89:[50, 65, 74], Operations: ['98-24=74'] Exploring Operation: 50+74=124, Resulting Numbers: [65, 124] Generated Node #0,0,0: 89:[65, 124] Operation: 50+74=124 Exploring Operation: 65-50=15, Resulting Numbers: [74, 15] Generated Node #0,0,1: 89:[74, 15] Operation: 65-50=15 Exploring Operation: 50+65=115, Resulting Numbers: [74, 115] Generated Node #0,0,2: 89:[74, 115] Operation: 50+65=115 Moving to Node #0,2,1 Current State: 89:[89, 48], Operations: ['24+65=89', '98-50=48'] Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 89*48=4272, Resulting Numbers: [4272] 4272,89 unequal: No Solution Exploring Operation: 89+48=137, Resulting Numbers: [137] 137,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[74, 115], Operations: ['98-24=74', '50+65=115'] Exploring Operation: 74+115=189, Resulting Numbers: [189] 189,89 unequal: No Solution Exploring Operation: 74*115=8510, Resulting Numbers: [8510] 8510,89 unequal: No Solution Exploring Operation: 115-74=41, Resulting Numbers: [41] 41,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[89, 148], Operations: ['24+65=89', '98+50=148'] Exploring Operation: 89+148=237, Resulting Numbers: [237] 237,89 unequal: No Solution Exploring Operation: 148-89=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 89*148=13172, Resulting Numbers: [13172] 13172,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[98, 139], Operations: ['24+50=74', '65+74=139'] Exploring Operation: 139-98=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 98+139=237, Resulting Numbers: [237] 237,89 unequal: No Solution Exploring Operation: 98*139=13622, Resulting Numbers: [13622] 13622,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[98, 139], Operations: ['24+65=89', '50+89=139'] Exploring Operation: 98+139=237, Resulting Numbers: [237] 237,89 unequal: No Solution Exploring Operation: 98*139=13622, Resulting Numbers: [13622] 13622,89 unequal: No Solution Exploring Operation: 139-98=41, Resulting Numbers: [41] 41,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[65, 124], Operations: ['98-24=74', '50+74=124'] Exploring Operation: 124-65=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 65+124=189, Resulting Numbers: [189] 189,89 unequal: No Solution Exploring Operation: 65*124=8060, Resulting Numbers: [8060] 8060,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[74, 33], Operations: ['24+50=74', '98-65=33'] Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[74, 163], Operations: ['24+50=74', '98+65=163'] Exploring Operation: 74*163=12062, Resulting Numbers: [12062] 12062,89 unequal: No Solution Exploring Operation: 163-74=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[98, 24, 50, 65], Operations: [] Exploring Operation: 24+50=74, Resulting Numbers: [98, 65, 74] Generated Node #0,1: 89:[98, 65, 74] Operation: 24+50=74 Moving to Node #0,1 Current State: 89:[98, 65, 74], Operations: ['24+50=74'] Exploring Operation: 98+65=163, Resulting Numbers: [74, 163] Generated Node #0,1,2: 89:[74, 163] Operation: 98+65=163 Moving to Node #0,1,2 Current State: 89:[74, 163], Operations: ['24+50=74', '98+65=163'] Exploring Operation: 163-74=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 66, 10, 97, 82 ]
61
[ "66+10=76", "97-82=15", "76-15=61" ]
Current State: 61:[66, 10, 97, 82], Operations: [] Exploring Operation: 66+10=76, Resulting Numbers: [97, 82, 76] Generated Node #2: [97, 82, 76] from Operation: 66+10=76 Current State: 61:[97, 82, 76], Operations: ['66+10=76'] Exploring Operation: 97-82=15, Resulting Numbers: [76, 15] Generated Node #3: [76, 15] from Operation: 97-82=15 Current State: 61:[76, 15], Operations: ['66+10=76', '97-82=15'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[66, 10, 97, 82], Operations: [] Exploring Operation: 97-10=87, Resulting Numbers: [66, 82, 87] Generated Node #0,0: 61:[66, 82, 87] Operation: 97-10=87 Exploring Operation: 66-10=56, Resulting Numbers: [97, 82, 56] Generated Node #0,1: 61:[97, 82, 56] Operation: 66-10=56 Exploring Operation: 82-10=72, Resulting Numbers: [66, 97, 72] Generated Node #0,2: 61:[66, 97, 72] Operation: 82-10=72 Moving to Node #0,0 Current State: 61:[66, 82, 87], Operations: ['97-10=87'] Exploring Operation: 87-82=5, Resulting Numbers: [66, 5] Generated Node #0,0,0: 61:[66, 5] Operation: 87-82=5 Exploring Operation: 82-66=16, Resulting Numbers: [87, 16] Generated Node #0,0,1: 61:[87, 16] Operation: 82-66=16 Exploring Operation: 87-66=21, Resulting Numbers: [82, 21] Generated Node #0,0,2: 61:[82, 21] Operation: 87-66=21 Moving to Node #0,2 Current State: 61:[66, 97, 72], Operations: ['82-10=72'] Exploring Operation: 97-72=25, Resulting Numbers: [66, 25] Generated Node #0,2,0: 61:[66, 25] Operation: 97-72=25 Exploring Operation: 72-66=6, Resulting Numbers: [97, 6] Generated Node #0,2,1: 61:[97, 6] Operation: 72-66=6 Exploring Operation: 97-66=31, Resulting Numbers: [72, 31] Generated Node #0,2,2: 61:[72, 31] Operation: 97-66=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[66, 25], Operations: ['82-10=72', '97-72=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[72, 31], Operations: ['82-10=72', '97-66=31'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[97, 6], Operations: ['82-10=72', '72-66=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[97, 82, 56], Operations: ['66-10=56'] Exploring Operation: 82-56=26, Resulting Numbers: [97, 26] Generated Node #0,1,0: 61:[97, 26] Operation: 82-56=26 Exploring Operation: 97-56=41, Resulting Numbers: [82, 41] Generated Node #0,1,1: 61:[82, 41] Operation: 97-56=41 Exploring Operation: 97-82=15, Resulting Numbers: [56, 15] Generated Node #0,1,2: 61:[56, 15] Operation: 97-82=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[82, 41], Operations: ['66-10=56', '97-56=41'] Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[56, 15], Operations: ['66-10=56', '97-82=15'] Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,61 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[97, 26], Operations: ['66-10=56', '82-56=26'] Exploring Operation: 97*26=2522, Resulting Numbers: [2522] 2522,61 unequal: No Solution Exploring Operation: 97+26=123, Resulting Numbers: [123] 123,61 unequal: No Solution Exploring Operation: 97-26=71, Resulting Numbers: [71] 71,61 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: 61:[66, 5], Operations: ['97-10=87', '87-82=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[66, 10, 97, 82], Operations: [] Exploring Operation: 97-10=87, Resulting Numbers: [66, 82, 87] Generated Node #0,0: 61:[66, 82, 87] Operation: 97-10=87 Moving to Node #0,0 Current State: 61:[66, 82, 87], Operations: ['97-10=87'] Exploring Operation: 87-82=5, Resulting Numbers: [66, 5] Generated Node #0,0,0: 61:[66, 5] Operation: 87-82=5 Moving to Node #0,0,0 Current State: 61:[66, 5], Operations: ['97-10=87', '87-82=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 30, 80, 56, 15 ]
52
[ "30/15=2", "56/2=28", "80-28=52" ]
Current State: 52:[30, 80, 56, 15], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [80, 56, 2] Generated Node #2: [80, 56, 2] from Operation: 30/15=2 Current State: 52:[80, 56, 2], Operations: ['30/15=2'] Exploring Operation: 56/2=28, Resulting Numbers: [80, 28] Generated Node #3: [80, 28] from Operation: 56/2=28 Current State: 52:[80, 28], Operations: ['30/15=2', '56/2=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[30, 80, 56, 15], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [80, 15, 26] Generated Node #0,0: 52:[80, 15, 26] Operation: 56-30=26 Exploring Operation: 80-56=24, Resulting Numbers: [30, 15, 24] Generated Node #0,1: 52:[30, 15, 24] Operation: 80-56=24 Exploring Operation: 80-15=65, Resulting Numbers: [30, 56, 65] Generated Node #0,2: 52:[30, 56, 65] Operation: 80-15=65 Exploring Operation: 80-30=50, Resulting Numbers: [56, 15, 50] Generated Node #0,3: 52:[56, 15, 50] Operation: 80-30=50 Exploring Operation: 30/15=2, Resulting Numbers: [80, 56, 2] Generated Node #0,4: 52:[80, 56, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[30, 15, 24], Operations: ['80-56=24'] Exploring Operation: 24-15=9, Resulting Numbers: [30, 9] Generated Node #0,1,0: 52:[30, 9] Operation: 24-15=9 Exploring Operation: 30+24=54, Resulting Numbers: [15, 54] Generated Node #0,1,1: 52:[15, 54] Operation: 30+24=54 Exploring Operation: 30-15=15, Resulting Numbers: [24, 15] Generated Node #0,1,2: 52:[24, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [24, 2] Generated Node #0,1,3: 52:[24, 2] Operation: 30/15=2 Exploring Operation: 30-24=6, Resulting Numbers: [15, 6] Generated Node #0,1,4: 52:[15, 6] Operation: 30-24=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 52:[24, 2], Operations: ['80-56=24', '30/15=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[15, 54], Operations: ['80-56=24', '30+24=54'] Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,52 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,52 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[24, 15], Operations: ['80-56=24', '30-15=15'] Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,52 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 52:[15, 6], Operations: ['80-56=24', '30-24=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,52 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[30, 9], Operations: ['80-56=24', '24-15=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[56, 15, 50], Operations: ['80-30=50'] Exploring Operation: 56-50=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 52:[15, 6] Operation: 56-50=6 Exploring Operation: 56-15=41, Resulting Numbers: [50, 41] Generated Node #0,3,1: 52:[50, 41] Operation: 56-15=41 Exploring Operation: 15+50=65, Resulting Numbers: [56, 65] Generated Node #0,3,2: 52:[56, 65] Operation: 15+50=65 Exploring Operation: 50-15=35, Resulting Numbers: [56, 35] Generated Node #0,3,3: 52:[56, 35] Operation: 50-15=35 Exploring Operation: 56+15=71, Resulting Numbers: [50, 71] Generated Node #0,3,4: 52:[50, 71] Operation: 56+15=71 Moving to Node #0,3,0 Current State: 52:[15, 6], Operations: ['80-30=50', '56-50=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[56, 35], Operations: ['80-30=50', '50-15=35'] Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,52 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[50, 41], Operations: ['80-30=50', '56-15=41'] Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,52 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[56, 65], Operations: ['80-30=50', '15+50=65'] Exploring Operation: 56*65=3640, Resulting Numbers: [3640] 3640,52 unequal: No Solution Exploring Operation: 56+65=121, Resulting Numbers: [121] 121,52 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[50, 71], Operations: ['80-30=50', '56+15=71'] Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,52 unequal: No Solution Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[30, 56, 65], Operations: ['80-15=65'] Exploring Operation: 65-56=9, Resulting Numbers: [30, 9] Generated Node #0,2,0: 52:[30, 9] Operation: 65-56=9 Exploring Operation: 56-30=26, Resulting Numbers: [65, 26] Generated Node #0,2,1: 52:[65, 26] Operation: 56-30=26 Exploring Operation: 30+65=95, Resulting Numbers: [56, 95] Generated Node #0,2,2: 52:[56, 95] Operation: 30+65=95 Exploring Operation: 30+56=86, Resulting Numbers: [65, 86] Generated Node #0,2,3: 52:[65, 86] Operation: 30+56=86 Exploring Operation: 65-30=35, Resulting Numbers: [56, 35] Generated Node #0,2,4: 52:[56, 35] Operation: 65-30=35 Moving to Node #0,2,0 Current State: 52:[30, 9], Operations: ['80-15=65', '65-56=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[56, 35], Operations: ['80-15=65', '65-30=35'] Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,52 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[65, 26], Operations: ['80-15=65', '56-30=26'] Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,52 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[56, 95], Operations: ['80-15=65', '30+65=95'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 56*95=5320, Resulting Numbers: [5320] 5320,52 unequal: No Solution Exploring Operation: 56+95=151, Resulting Numbers: [151] 151,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[65, 86], Operations: ['80-15=65', '30+56=86'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,52 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[80, 15, 26], Operations: ['56-30=26'] Exploring Operation: 80+15=95, Resulting Numbers: [26, 95] Generated Node #0,0,0: 52:[26, 95] Operation: 80+15=95 Exploring Operation: 80-15=65, Resulting Numbers: [26, 65] Generated Node #0,0,1: 52:[26, 65] Operation: 80-15=65 Exploring Operation: 80-26=54, Resulting Numbers: [15, 54] Generated Node #0,0,2: 52:[15, 54] Operation: 80-26=54 Exploring Operation: 26-15=11, Resulting Numbers: [80, 11] Generated Node #0,0,3: 52:[80, 11] Operation: 26-15=11 Exploring Operation: 15+26=41, Resulting Numbers: [80, 41] Generated Node #0,0,4: 52:[80, 41] Operation: 15+26=41 Moving to Node #0,0,2 Current State: 52:[15, 54], Operations: ['56-30=26', '80-26=54'] Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,52 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[26, 65], Operations: ['56-30=26', '80-15=65'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[80, 11], Operations: ['56-30=26', '26-15=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,52 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[80, 41], Operations: ['56-30=26', '15+26=41'] Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,52 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[26, 95], Operations: ['56-30=26', '80+15=95'] Exploring Operation: 26*95=2470, Resulting Numbers: [2470] 2470,52 unequal: No Solution Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,52 unequal: No Solution Exploring Operation: 26+95=121, Resulting Numbers: [121] 121,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[80, 56, 2], Operations: ['30/15=2'] Exploring Operation: 56/2=28, Resulting Numbers: [80, 28] Generated Node #0,4,0: 52:[80, 28] Operation: 56/2=28 Exploring Operation: 80/2=40, Resulting Numbers: [56, 40] Generated Node #0,4,1: 52:[56, 40] Operation: 80/2=40 Exploring Operation: 80-56=24, Resulting Numbers: [2, 24] Generated Node #0,4,2: 52:[2, 24] Operation: 80-56=24 Exploring Operation: 80-2=78, Resulting Numbers: [56, 78] Generated Node #0,4,3: 52:[56, 78] Operation: 80-2=78 Exploring Operation: 56-2=54, Resulting Numbers: [80, 54] Generated Node #0,4,4: 52:[80, 54] Operation: 56-2=54 Moving to Node #0,4,2 Current State: 52:[2, 24], Operations: ['30/15=2', '80-56=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[56, 40], Operations: ['30/15=2', '80/2=40'] Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,52 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[80, 28], Operations: ['30/15=2', '56/2=28'] Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[30, 80, 56, 15], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [80, 56, 2] Generated Node #0,4: 52:[80, 56, 2] Operation: 30/15=2 Moving to Node #0,4 Current State: 52:[80, 56, 2], Operations: ['30/15=2'] Exploring Operation: 56/2=28, Resulting Numbers: [80, 28] Generated Node #0,4,0: 52:[80, 28] Operation: 56/2=28 Moving to Node #0,4,0 Current State: 52:[80, 28], Operations: ['30/15=2', '56/2=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.909722
hs_5
mult_heuristic
[ 85, 90, 54, 37 ]
85
[ "90-85=5", "54-37=17", "5*17=85" ]
Current State: 85:[85, 90, 54, 37], Operations: [] Exploring Operation: 90-85=5, Resulting Numbers: [54, 37, 5] Generated Node #2: [54, 37, 5] from Operation: 90-85=5 Current State: 85:[54, 37, 5], Operations: ['90-85=5'] Exploring Operation: 54-37=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 54-37=17 Current State: 85:[5, 17], Operations: ['90-85=5', '54-37=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[85, 90, 54, 37], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [90, 37, 31] Generated Node #0,0: 85:[90, 37, 31] Operation: 85-54=31 Exploring Operation: 54+37=91, Resulting Numbers: [85, 90, 91] Generated Node #0,1: 85:[85, 90, 91] Operation: 54+37=91 Exploring Operation: 90-54=36, Resulting Numbers: [85, 37, 36] Generated Node #0,2: 85:[85, 37, 36] Operation: 90-54=36 Exploring Operation: 90-85=5, Resulting Numbers: [54, 37, 5] Generated Node #0,3: 85:[54, 37, 5] Operation: 90-85=5 Exploring Operation: 54-37=17, Resulting Numbers: [85, 90, 17] Generated Node #0,4: 85:[85, 90, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[85, 90, 17], Operations: ['54-37=17'] Exploring Operation: 90-85=5, Resulting Numbers: [17, 5] Generated Node #0,4,0: 85:[17, 5] Operation: 90-85=5 Exploring Operation: 85+17=102, Resulting Numbers: [90, 102] Generated Node #0,4,1: 85:[90, 102] Operation: 85+17=102 Exploring Operation: 90-17=73, Resulting Numbers: [85, 73] Generated Node #0,4,2: 85:[85, 73] Operation: 90-17=73 Exploring Operation: 85-17=68, Resulting Numbers: [90, 68] Generated Node #0,4,3: 85:[90, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [90, 5] Generated Node #0,4,4: 85:[90, 5] Operation: 85/17=5 Moving to Node #0,4,0 Current State: 85:[17, 5], Operations: ['54-37=17', '90-85=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[85, 90, 54, 37], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [85, 90, 17] Generated Node #0,4: 85:[85, 90, 17] Operation: 54-37=17 Moving to Node #0,4 Current State: 85:[85, 90, 17], Operations: ['54-37=17'] Exploring Operation: 90-85=5, Resulting Numbers: [17, 5] Generated Node #0,4,0: 85:[17, 5] Operation: 90-85=5 Moving to Node #0,4,0 Current State: 85:[17, 5], Operations: ['54-37=17', '90-85=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 5, 57, 76, 59 ]
48
[ "5+59=64", "57*64=3648", "3648/76=48" ]
Current State: 48:[5, 57, 76, 59], Operations: [] Exploring Operation: 5+59=64, Resulting Numbers: [57, 76, 64] Generated Node #2: [57, 76, 64] from Operation: 5+59=64 Current State: 48:[57, 76, 64], Operations: ['5+59=64'] Exploring Operation: 57*64=3648, Resulting Numbers: [76, 3648] Generated Node #3: [76, 3648] from Operation: 57*64=3648 Current State: 48:[76, 3648], Operations: ['5+59=64', '57*64=3648'] Exploring Operation: 3648/76=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[5, 57, 76, 59], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [5, 59, 19] Generated Node #0,0: 48:[5, 59, 19] Operation: 76-57=19 Exploring Operation: 76-59=17, Resulting Numbers: [5, 57, 17] Generated Node #0,1: 48:[5, 57, 17] Operation: 76-59=17 Moving to Node #0,1 Current State: 48:[5, 57, 17], Operations: ['76-59=17'] Exploring Operation: 17-5=12, Resulting Numbers: [57, 12] Generated Node #0,1,0: 48:[57, 12] Operation: 17-5=12 Exploring Operation: 57-5=52, Resulting Numbers: [17, 52] Generated Node #0,1,1: 48:[17, 52] Operation: 57-5=52 Moving to Node #0,0 Current State: 48:[5, 59, 19], Operations: ['76-57=19'] Exploring Operation: 59-19=40, Resulting Numbers: [5, 40] Generated Node #0,0,0: 48:[5, 40] Operation: 59-19=40 Exploring Operation: 59-5=54, Resulting Numbers: [19, 54] Generated Node #0,0,1: 48:[19, 54] Operation: 59-5=54 Moving to Node #0,1,1 Current State: 48:[17, 52], Operations: ['76-59=17', '57-5=52'] Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[5, 40], Operations: ['76-57=19', '59-19=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[57, 12], Operations: ['76-59=17', '17-5=12'] Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[19, 54], Operations: ['76-57=19', '59-5=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,48 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 58, 2, 8, 75 ]
100
[ "58-8=50", "2*75=150", "150-50=100" ]
Current State: 100:[58, 2, 8, 75], Operations: [] Exploring Operation: 58-8=50, Resulting Numbers: [2, 75, 50] Generated Node #2: [2, 75, 50] from Operation: 58-8=50 Current State: 100:[2, 75, 50], Operations: ['58-8=50'] Exploring Operation: 2*75=150, Resulting Numbers: [50, 150] Generated Node #3: [50, 150] from Operation: 2*75=150 Current State: 100:[50, 150], Operations: ['58-8=50', '2*75=150'] Exploring Operation: 150-50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[58, 2, 8, 75], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [2, 8, 17] Generated Node #0,0: 100:[2, 8, 17] Operation: 75-58=17 Moving to Node #0,0 Current State: 100:[2, 8, 17], Operations: ['75-58=17'] Exploring Operation: 8+17=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 100:[2, 25] Operation: 8+17=25 Moving to Node #0,0,0 Current State: 100:[2, 25], Operations: ['75-58=17', '8+17=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 25, 5, 57 ]
10
[ "59-57=2", "25-5=20", "20/2=10" ]
Current State: 10:[59, 25, 5, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [25, 5, 2] Generated Node #2: [25, 5, 2] from Operation: 59-57=2 Current State: 10:[25, 5, 2], Operations: ['59-57=2'] Exploring Operation: 25-5=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 25-5=20 Current State: 10:[2, 20], Operations: ['59-57=2', '25-5=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[59, 25, 5, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [25, 5, 2] Generated Node #0,0: 10:[25, 5, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 10:[25, 5, 2], Operations: ['59-57=2'] Exploring Operation: 25/5=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 10:[2, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[2, 5], Operations: ['59-57=2', '25/5=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[59, 25, 5, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [25, 5, 2] Generated Node #0,0: 10:[25, 5, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 10:[25, 5, 2], Operations: ['59-57=2'] Exploring Operation: 25/5=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 10:[2, 5] Operation: 25/5=5 Moving to Node #0,0,0 Current State: 10:[2, 5], Operations: ['59-57=2', '25/5=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 30, 63, 59, 11 ]
76
[ "30-11=19", "63-59=4", "19*4=76" ]
Current State: 76:[30, 63, 59, 11], Operations: [] Exploring Operation: 30-11=19, Resulting Numbers: [63, 59, 19] Generated Node #2: [63, 59, 19] from Operation: 30-11=19 Current State: 76:[63, 59, 19], Operations: ['30-11=19'] Exploring Operation: 63-59=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 63-59=4 Current State: 76:[19, 4], Operations: ['30-11=19', '63-59=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[30, 63, 59, 11], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [30, 11, 4] Generated Node #0,0: 76:[30, 11, 4] Operation: 63-59=4 Moving to Node #0,0 Current State: 76:[30, 11, 4], Operations: ['63-59=4'] Exploring Operation: 30-11=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 76:[4, 19] Operation: 30-11=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[4, 19], Operations: ['63-59=4', '30-11=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[30, 63, 59, 11], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [30, 11, 4] Generated Node #0,0: 76:[30, 11, 4] Operation: 63-59=4 Moving to Node #0,0 Current State: 76:[30, 11, 4], Operations: ['63-59=4'] Exploring Operation: 30-11=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 76:[4, 19] Operation: 30-11=19 Moving to Node #0,0,0 Current State: 76:[4, 19], Operations: ['63-59=4', '30-11=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 60, 34, 46, 41 ]
31
[ "60-34=26", "46-41=5", "26+5=31" ]
Current State: 31:[60, 34, 46, 41], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [46, 41, 26] Generated Node #2: [46, 41, 26] from Operation: 60-34=26 Current State: 31:[46, 41, 26], Operations: ['60-34=26'] Exploring Operation: 46-41=5, Resulting Numbers: [26, 5] Generated Node #3: [26, 5] from Operation: 46-41=5 Current State: 31:[26, 5], Operations: ['60-34=26', '46-41=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[60, 34, 46, 41], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [34, 46, 19] Generated Node #0,0: 31:[34, 46, 19] Operation: 60-41=19 Exploring Operation: 60-46=14, Resulting Numbers: [34, 41, 14] Generated Node #0,1: 31:[34, 41, 14] Operation: 60-46=14 Exploring Operation: 60-34=26, Resulting Numbers: [46, 41, 26] Generated Node #0,2: 31:[46, 41, 26] Operation: 60-34=26 Exploring Operation: 46-34=12, Resulting Numbers: [60, 41, 12] Generated Node #0,3: 31:[60, 41, 12] Operation: 46-34=12 Moving to Node #0,0 Current State: 31:[34, 46, 19], Operations: ['60-41=19'] Exploring Operation: 34+19=53, Resulting Numbers: [46, 53] Generated Node #0,0,0: 31:[46, 53] Operation: 34+19=53 Exploring Operation: 46-34=12, Resulting Numbers: [19, 12] Generated Node #0,0,1: 31:[19, 12] Operation: 46-34=12 Exploring Operation: 46-19=27, Resulting Numbers: [34, 27] Generated Node #0,0,2: 31:[34, 27] Operation: 46-19=27 Exploring Operation: 34-19=15, Resulting Numbers: [46, 15] Generated Node #0,0,3: 31:[46, 15] Operation: 34-19=15 Moving to Node #0,2 Current State: 31:[46, 41, 26], Operations: ['60-34=26'] Exploring Operation: 46-41=5, Resulting Numbers: [26, 5] Generated Node #0,2,0: 31:[26, 5] Operation: 46-41=5 Exploring Operation: 41-26=15, Resulting Numbers: [46, 15] Generated Node #0,2,1: 31:[46, 15] Operation: 41-26=15 Exploring Operation: 46+26=72, Resulting Numbers: [41, 72] Generated Node #0,2,2: 31:[41, 72] Operation: 46+26=72 Exploring Operation: 46-26=20, Resulting Numbers: [41, 20] Generated Node #0,2,3: 31:[41, 20] Operation: 46-26=20 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[41, 20], Operations: ['60-34=26', '46-26=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,31 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,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,0 Current State: 31:[26, 5], Operations: ['60-34=26', '46-41=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,31 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[60, 34, 46, 41], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [46, 41, 26] Generated Node #0,2: 31:[46, 41, 26] Operation: 60-34=26 Moving to Node #0,2 Current State: 31:[46, 41, 26], Operations: ['60-34=26'] Exploring Operation: 46-41=5, Resulting Numbers: [26, 5] Generated Node #0,2,0: 31:[26, 5] Operation: 46-41=5 Moving to Node #0,2,0 Current State: 31:[26, 5], Operations: ['60-34=26', '46-41=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 93, 76, 98, 50 ]
86
[ "98-93=5", "50/5=10", "76+10=86" ]
Current State: 86:[93, 76, 98, 50], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [76, 50, 5] Generated Node #2: [76, 50, 5] from Operation: 98-93=5 Current State: 86:[76, 50, 5], Operations: ['98-93=5'] Exploring Operation: 50/5=10, Resulting Numbers: [76, 10] Generated Node #3: [76, 10] from Operation: 50/5=10 Current State: 86:[76, 10], Operations: ['98-93=5', '50/5=10'] Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[93, 76, 98, 50], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [76, 50, 5] Generated Node #0,0: 86:[76, 50, 5] Operation: 98-93=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[76, 50, 5], Operations: ['98-93=5'] Exploring Operation: 76+5=81, Resulting Numbers: [50, 81] Generated Node #0,0,0: 86:[50, 81] Operation: 76+5=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[50, 81], Operations: ['98-93=5', '76+5=81'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 36, 64, 33, 9 ]
58
[ "36+64=100", "33+9=42", "100-42=58" ]
Current State: 58:[36, 64, 33, 9], Operations: [] Exploring Operation: 36+64=100, Resulting Numbers: [33, 9, 100] Generated Node #2: [33, 9, 100] from Operation: 36+64=100 Current State: 58:[33, 9, 100], Operations: ['36+64=100'] Exploring Operation: 33+9=42, Resulting Numbers: [100, 42] Generated Node #3: [100, 42] from Operation: 33+9=42 Current State: 58:[100, 42], Operations: ['36+64=100', '33+9=42'] Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[36, 64, 33, 9], Operations: [] Exploring Operation: 64-9=55, Resulting Numbers: [36, 33, 55] Generated Node #0,0: 58:[36, 33, 55] Operation: 64-9=55 Exploring Operation: 64-36=28, Resulting Numbers: [33, 9, 28] Generated Node #0,1: 58:[33, 9, 28] Operation: 64-36=28 Exploring Operation: 36-9=27, Resulting Numbers: [64, 33, 27] Generated Node #0,2: 58:[64, 33, 27] Operation: 36-9=27 Exploring Operation: 36-33=3, Resulting Numbers: [64, 9, 3] Generated Node #0,3: 58:[64, 9, 3] Operation: 36-33=3 Exploring Operation: 36/9=4, Resulting Numbers: [64, 33, 4] Generated Node #0,4: 58:[64, 33, 4] Operation: 36/9=4 Moving to Node #0,1 Current State: 58:[33, 9, 28], Operations: ['64-36=28'] Exploring Operation: 33+28=61, Resulting Numbers: [9, 61] Generated Node #0,1,0: 58:[9, 61] Operation: 33+28=61 Exploring Operation: 33-9=24, Resulting Numbers: [28, 24] Generated Node #0,1,1: 58:[28, 24] Operation: 33-9=24 Exploring Operation: 9+28=37, Resulting Numbers: [33, 37] Generated Node #0,1,2: 58:[33, 37] Operation: 9+28=37 Exploring Operation: 33+9=42, Resulting Numbers: [28, 42] Generated Node #0,1,3: 58:[28, 42] Operation: 33+9=42 Exploring Operation: 33-28=5, Resulting Numbers: [9, 5] Generated Node #0,1,4: 58:[9, 5] Operation: 33-28=5 Moving to Node #0,4 Current State: 58:[64, 33, 4], Operations: ['36/9=4'] Exploring Operation: 33+4=37, Resulting Numbers: [64, 37] Generated Node #0,4,0: 58:[64, 37] Operation: 33+4=37 Exploring Operation: 64-4=60, Resulting Numbers: [33, 60] Generated Node #0,4,1: 58:[33, 60] Operation: 64-4=60 Exploring Operation: 33-4=29, Resulting Numbers: [64, 29] Generated Node #0,4,2: 58:[64, 29] Operation: 33-4=29 Exploring Operation: 64+4=68, Resulting Numbers: [33, 68] Generated Node #0,4,3: 58:[33, 68] Operation: 64+4=68 Exploring Operation: 64-33=31, Resulting Numbers: [4, 31] Generated Node #0,4,4: 58:[4, 31] Operation: 64-33=31 Moving to Node #0,2 Current State: 58:[64, 33, 27], Operations: ['36-9=27'] Exploring Operation: 64-33=31, Resulting Numbers: [27, 31] Generated Node #0,2,0: 58:[27, 31] Operation: 64-33=31 Exploring Operation: 33-27=6, Resulting Numbers: [64, 6] Generated Node #0,2,1: 58:[64, 6] Operation: 33-27=6 Exploring Operation: 33+27=60, Resulting Numbers: [64, 60] Generated Node #0,2,2: 58:[64, 60] Operation: 33+27=60 Exploring Operation: 64-27=37, Resulting Numbers: [33, 37] Generated Node #0,2,3: 58:[33, 37] Operation: 64-27=37 Exploring Operation: 64+27=91, Resulting Numbers: [33, 91] Generated Node #0,2,4: 58:[33, 91] Operation: 64+27=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[27, 31], Operations: ['36-9=27', '64-33=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[36, 64, 33, 9], Operations: [] Exploring Operation: 36-9=27, Resulting Numbers: [64, 33, 27] Generated Node #0,2: 58:[64, 33, 27] Operation: 36-9=27 Moving to Node #0,2 Current State: 58:[64, 33, 27], Operations: ['36-9=27'] Exploring Operation: 64-33=31, Resulting Numbers: [27, 31] Generated Node #0,2,0: 58:[27, 31] Operation: 64-33=31 Moving to Node #0,2,0 Current State: 58:[27, 31], Operations: ['36-9=27', '64-33=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 45, 60, 33, 41 ]
97
[ "45+60=105", "41-33=8", "105-8=97" ]
Current State: 97:[45, 60, 33, 41], Operations: [] Exploring Operation: 45+60=105, Resulting Numbers: [33, 41, 105] Generated Node #2: [33, 41, 105] from Operation: 45+60=105 Current State: 97:[33, 41, 105], Operations: ['45+60=105'] Exploring Operation: 41-33=8, Resulting Numbers: [105, 8] Generated Node #3: [105, 8] from Operation: 41-33=8 Current State: 97:[105, 8], Operations: ['45+60=105', '41-33=8'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[45, 60, 33, 41], Operations: [] Exploring Operation: 45+33=78, Resulting Numbers: [60, 41, 78] Generated Node #0,0: 97:[60, 41, 78] Operation: 45+33=78 Moving to Node #0,0 Current State: 97:[60, 41, 78], Operations: ['45+33=78'] Exploring Operation: 60+41=101, Resulting Numbers: [78, 101] Generated Node #0,0,0: 97:[78, 101] Operation: 60+41=101 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[78, 101], Operations: ['45+33=78', '60+41=101'] Exploring Operation: 101-78=23, Resulting Numbers: [23] 23,97 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
[ 82, 75, 8, 96 ]
95
[ "82-75=7", "96-8=88", "7+88=95" ]
Current State: 95:[82, 75, 8, 96], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [8, 96, 7] Generated Node #2: [8, 96, 7] from Operation: 82-75=7 Current State: 95:[8, 96, 7], Operations: ['82-75=7'] Exploring Operation: 96-8=88, Resulting Numbers: [7, 88] Generated Node #3: [7, 88] from Operation: 96-8=88 Current State: 95:[7, 88], Operations: ['82-75=7', '96-8=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[82, 75, 8, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [82, 8, 21] Generated Node #0,0: 95:[82, 8, 21] Operation: 96-75=21 Exploring Operation: 82-75=7, Resulting Numbers: [8, 96, 7] Generated Node #0,1: 95:[8, 96, 7] Operation: 82-75=7 Moving to Node #0,1 Current State: 95:[8, 96, 7], Operations: ['82-75=7'] Exploring Operation: 8+7=15, Resulting Numbers: [96, 15] Generated Node #0,1,0: 95:[96, 15] Operation: 8+7=15 Exploring Operation: 8-7=1, Resulting Numbers: [96, 1] Generated Node #0,1,1: 95:[96, 1] Operation: 8-7=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[96, 15], Operations: ['82-75=7', '8+7=15'] Exploring Operation: 96+15=111, Resulting Numbers: [111] 111,95 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[96, 1], Operations: ['82-75=7', '8-7=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[82, 75, 8, 96], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [8, 96, 7] Generated Node #0,1: 95:[8, 96, 7] Operation: 82-75=7 Moving to Node #0,1 Current State: 95:[8, 96, 7], Operations: ['82-75=7'] Exploring Operation: 8-7=1, Resulting Numbers: [96, 1] Generated Node #0,1,1: 95:[96, 1] Operation: 8-7=1 Moving to Node #0,1,1 Current State: 95:[96, 1], Operations: ['82-75=7', '8-7=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 1, 16, 76, 15 ]
77
[ "1*16=16", "76-15=61", "16+61=77" ]
Current State: 77:[1, 16, 76, 15], Operations: [] Exploring Operation: 1*16=16, Resulting Numbers: [76, 15, 16] Generated Node #2: [76, 15, 16] from Operation: 1*16=16 Current State: 77:[76, 15, 16], Operations: ['1*16=16'] Exploring Operation: 76-15=61, Resulting Numbers: [16, 61] Generated Node #3: [16, 61] from Operation: 76-15=61 Current State: 77:[16, 61], Operations: ['1*16=16', '76-15=61'] Exploring Operation: 16+61=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[1, 16, 76, 15], Operations: [] Exploring Operation: 16-1=15, Resulting Numbers: [76, 15, 15] Generated Node #0,0: 77:[76, 15, 15] Operation: 16-1=15 Exploring Operation: 15-1=14, Resulting Numbers: [16, 76, 14] Generated Node #0,1: 77:[16, 76, 14] Operation: 15-1=14 Exploring Operation: 1+76=77, Resulting Numbers: [16, 15, 77] Generated Node #0,2: 77:[16, 15, 77] Operation: 1+76=77 Exploring Operation: 1*16=16, Resulting Numbers: [76, 15, 16] Generated Node #0,3: 77:[76, 15, 16] Operation: 1*16=16 Moving to Node #0,0 Current State: 77:[76, 15, 15], Operations: ['16-1=15'] Exploring Operation: 76+15=91, Resulting Numbers: [15, 91] Generated Node #0,0,0: 77:[15, 91] Operation: 76+15=91 Exploring Operation: 15/15=1, Resulting Numbers: [76, 1] Generated Node #0,0,1: 77:[76, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [76, 0] Generated Node #0,0,2: 77:[76, 0] Operation: 15-15=0 Exploring Operation: 76+15=91, Resulting Numbers: [15, 91] Generated Node #0,0,3: 77:[15, 91] Operation: 76+15=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[76, 1], Operations: ['16-1=15', '15/15=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[1, 16, 76, 15], Operations: [] Exploring Operation: 16-1=15, Resulting Numbers: [76, 15, 15] Generated Node #0,0: 77:[76, 15, 15] Operation: 16-1=15 Moving to Node #0,0 Current State: 77:[76, 15, 15], Operations: ['16-1=15'] Exploring Operation: 15/15=1, Resulting Numbers: [76, 1] Generated Node #0,0,1: 77:[76, 1] Operation: 15/15=1 Moving to Node #0,0,1 Current State: 77:[76, 1], Operations: ['16-1=15', '15/15=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 51, 13, 25, 57 ]
53
[ "57-51=6", "13*6=78", "78-25=53" ]
Current State: 53:[51, 13, 25, 57], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [13, 25, 6] Generated Node #2: [13, 25, 6] from Operation: 57-51=6 Current State: 53:[13, 25, 6], Operations: ['57-51=6'] Exploring Operation: 13*6=78, Resulting Numbers: [25, 78] Generated Node #3: [25, 78] from Operation: 13*6=78 Current State: 53:[25, 78], Operations: ['57-51=6', '13*6=78'] Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[51, 13, 25, 57], Operations: [] Exploring Operation: 13+25=38, Resulting Numbers: [51, 57, 38] Generated Node #0,0: 53:[51, 57, 38] Operation: 13+25=38 Exploring Operation: 57-13=44, Resulting Numbers: [51, 25, 44] Generated Node #0,1: 53:[51, 25, 44] Operation: 57-13=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[51, 57, 38], Operations: ['13+25=38'] Exploring Operation: 57-38=19, Resulting Numbers: [51, 19] Generated Node #0,0,0: 53:[51, 19] Operation: 57-38=19 Exploring Operation: 51+38=89, Resulting Numbers: [57, 89] Generated Node #0,0,1: 53:[57, 89] Operation: 51+38=89 Moving to Node #0,0,0 Current State: 53:[51, 19], Operations: ['13+25=38', '57-38=19'] Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[57, 89], Operations: ['13+25=38', '51+38=89'] Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 57+89=146, Resulting Numbers: [146] 146,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[51, 25, 44], Operations: ['57-13=44'] Exploring Operation: 25+44=69, Resulting Numbers: [51, 69] Generated Node #0,1,0: 53:[51, 69] Operation: 25+44=69 Exploring Operation: 51+25=76, Resulting Numbers: [44, 76] Generated Node #0,1,1: 53:[44, 76] Operation: 51+25=76 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[51, 69], Operations: ['57-13=44', '25+44=69'] Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[44, 76], Operations: ['57-13=44', '51+25=76'] Exploring Operation: 44+76=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 94, 25, 55, 27 ]
85
[ "94*25=2350", "2350-55=2295", "2295/27=85" ]
Current State: 85:[94, 25, 55, 27], Operations: [] Exploring Operation: 94*25=2350, Resulting Numbers: [55, 27, 2350] Generated Node #2: [55, 27, 2350] from Operation: 94*25=2350 Current State: 85:[55, 27, 2350], Operations: ['94*25=2350'] Exploring Operation: 2350-55=2295, Resulting Numbers: [27, 2295] Generated Node #3: [27, 2295] from Operation: 2350-55=2295 Current State: 85:[27, 2295], Operations: ['94*25=2350', '2350-55=2295'] Exploring Operation: 2295/27=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[94, 25, 55, 27], Operations: [] Exploring Operation: 55+27=82, Resulting Numbers: [94, 25, 82] Generated Node #0,0: 85:[94, 25, 82] Operation: 55+27=82 Moving to Node #0,0 Current State: 85:[94, 25, 82], Operations: ['55+27=82'] Exploring Operation: 94-82=12, Resulting Numbers: [25, 12] Generated Node #0,0,0: 85:[25, 12] Operation: 94-82=12 Moving to Node #0,0,0 Current State: 85:[25, 12], Operations: ['55+27=82', '94-82=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,85 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 77, 63, 91 ]
57
[ "20+77=97", "63+91=154", "154-97=57" ]
Current State: 57:[20, 77, 63, 91], Operations: [] Exploring Operation: 20+77=97, Resulting Numbers: [63, 91, 97] Generated Node #2: [63, 91, 97] from Operation: 20+77=97 Current State: 57:[63, 91, 97], Operations: ['20+77=97'] Exploring Operation: 63+91=154, Resulting Numbers: [97, 154] Generated Node #3: [97, 154] from Operation: 63+91=154 Current State: 57:[97, 154], Operations: ['20+77=97', '63+91=154'] Exploring Operation: 154-97=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[20, 77, 63, 91], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [20, 77, 28] Generated Node #0,0: 57:[20, 77, 28] Operation: 91-63=28 Exploring Operation: 77-20=57, Resulting Numbers: [63, 91, 57] Generated Node #0,1: 57:[63, 91, 57] Operation: 77-20=57 Exploring Operation: 91-77=14, Resulting Numbers: [20, 63, 14] Generated Node #0,2: 57:[20, 63, 14] Operation: 91-77=14 Exploring Operation: 91-20=71, Resulting Numbers: [77, 63, 71] Generated Node #0,3: 57:[77, 63, 71] Operation: 91-20=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[20, 63, 14], Operations: ['91-77=14'] Exploring Operation: 63-20=43, Resulting Numbers: [14, 43] Generated Node #0,2,0: 57:[14, 43] Operation: 63-20=43 Exploring Operation: 63-14=49, Resulting Numbers: [20, 49] Generated Node #0,2,1: 57:[20, 49] Operation: 63-14=49 Exploring Operation: 20-14=6, Resulting Numbers: [63, 6] Generated Node #0,2,2: 57:[63, 6] Operation: 20-14=6 Exploring Operation: 20+14=34, Resulting Numbers: [63, 34] Generated Node #0,2,3: 57:[63, 34] Operation: 20+14=34 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[20, 49], Operations: ['91-77=14', '63-14=49'] Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,57 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[63, 6], Operations: ['91-77=14', '20-14=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,57 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[20, 77, 63, 91], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [20, 63, 14] Generated Node #0,2: 57:[20, 63, 14] Operation: 91-77=14 Moving to Node #0,2 Current State: 57:[20, 63, 14], Operations: ['91-77=14'] Exploring Operation: 20-14=6, Resulting Numbers: [63, 6] Generated Node #0,2,2: 57:[63, 6] Operation: 20-14=6 Moving to Node #0,2,2 Current State: 57:[63, 6], Operations: ['91-77=14', '20-14=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 49, 72, 14, 35 ]
71
[ "49-14=35", "35/35=1", "72-1=71" ]
Current State: 71:[49, 72, 14, 35], Operations: [] Exploring Operation: 49-14=35, Resulting Numbers: [72, 35, 35] Generated Node #2: [72, 35, 35] from Operation: 49-14=35 Current State: 71:[72, 35, 35], Operations: ['49-14=35'] Exploring Operation: 35/35=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 35/35=1 Current State: 71:[72, 1], Operations: ['49-14=35', '35/35=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[49, 72, 14, 35], Operations: [] Exploring Operation: 49+14=63, Resulting Numbers: [72, 35, 63] Generated Node #0,0: 71:[72, 35, 63] Operation: 49+14=63 Exploring Operation: 14+35=49, Resulting Numbers: [49, 72, 49] Generated Node #0,1: 71:[49, 72, 49] Operation: 14+35=49 Exploring Operation: 49+35=84, Resulting Numbers: [72, 14, 84] Generated Node #0,2: 71:[72, 14, 84] Operation: 49+35=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[72, 35, 63], Operations: ['49+14=63'] Exploring Operation: 72-35=37, Resulting Numbers: [63, 37] Generated Node #0,0,0: 71:[63, 37] Operation: 72-35=37 Exploring Operation: 35+63=98, Resulting Numbers: [72, 98] Generated Node #0,0,1: 71:[72, 98] Operation: 35+63=98 Exploring Operation: 72+35=107, Resulting Numbers: [63, 107] Generated Node #0,0,2: 71:[63, 107] Operation: 72+35=107 Moving to Node #0,0,1 Current State: 71:[72, 98], Operations: ['49+14=63', '35+63=98'] Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,71 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[63, 37], Operations: ['49+14=63', '72-35=37'] Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,71 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[63, 107], Operations: ['49+14=63', '72+35=107'] Exploring Operation: 63*107=6741, Resulting Numbers: [6741] 6741,71 unequal: No Solution Exploring Operation: 107-63=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 63+107=170, Resulting Numbers: [170] 170,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[49, 72, 49], Operations: ['14+35=49'] Exploring Operation: 72-49=23, Resulting Numbers: [49, 23] Generated Node #0,1,0: 71:[49, 23] Operation: 72-49=23 Exploring Operation: 49+49=98, Resulting Numbers: [72, 98] Generated Node #0,1,1: 71:[72, 98] Operation: 49+49=98 Exploring Operation: 72-49=23, Resulting Numbers: [49, 23] Generated Node #0,1,2: 71:[49, 23] Operation: 72-49=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[72, 98], Operations: ['14+35=49', '49+49=98'] Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,71 unequal: No Solution Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,71 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[49, 23], Operations: ['14+35=49', '72-49=23'] Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[49, 23], Operations: ['14+35=49', '72-49=23'] Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,71 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[72, 14, 84], Operations: ['49+35=84'] Exploring Operation: 72+14=86, Resulting Numbers: [84, 86] Generated Node #0,2,0: 71:[84, 86] Operation: 72+14=86 Exploring Operation: 72-14=58, Resulting Numbers: [84, 58] Generated Node #0,2,1: 71:[84, 58] Operation: 72-14=58 Exploring Operation: 84-14=70, Resulting Numbers: [72, 70] Generated Node #0,2,2: 71:[72, 70] Operation: 84-14=70 Moving to Node #0,2,2 Current State: 71:[72, 70], Operations: ['49+35=84', '84-14=70'] Exploring Operation: 72+70=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 72*70=5040, Resulting Numbers: [5040] 5040,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[84, 58], Operations: ['49+35=84', '72-14=58'] Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,71 unequal: No Solution Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[84, 86], Operations: ['49+35=84', '72+14=86'] Exploring Operation: 84*86=7224, Resulting Numbers: [7224] 7224,71 unequal: No Solution Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 84+86=170, Resulting Numbers: [170] 170,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 7, 6, 21, 80 ]
72
[ "7+6=13", "80-21=59", "13+59=72" ]
Current State: 72:[7, 6, 21, 80], Operations: [] Exploring Operation: 7+6=13, Resulting Numbers: [21, 80, 13] Generated Node #2: [21, 80, 13] from Operation: 7+6=13 Current State: 72:[21, 80, 13], Operations: ['7+6=13'] Exploring Operation: 80-21=59, Resulting Numbers: [13, 59] Generated Node #3: [13, 59] from Operation: 80-21=59 Current State: 72:[13, 59], Operations: ['7+6=13', '80-21=59'] Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[7, 6, 21, 80], Operations: [] Exploring Operation: 7+6=13, Resulting Numbers: [21, 80, 13] Generated Node #0,0: 72:[21, 80, 13] Operation: 7+6=13 Exploring Operation: 21-7=14, Resulting Numbers: [6, 80, 14] Generated Node #0,1: 72:[6, 80, 14] Operation: 21-7=14 Exploring Operation: 80-7=73, Resulting Numbers: [6, 21, 73] Generated Node #0,2: 72:[6, 21, 73] Operation: 80-7=73 Exploring Operation: 80-6=74, Resulting Numbers: [7, 21, 74] Generated Node #0,3: 72:[7, 21, 74] Operation: 80-6=74 Exploring Operation: 21/7=3, Resulting Numbers: [6, 80, 3] Generated Node #0,4: 72:[6, 80, 3] Operation: 21/7=3 Moving to Node #0,2 Current State: 72:[6, 21, 73], Operations: ['80-7=73'] Exploring Operation: 6+21=27, Resulting Numbers: [73, 27] Generated Node #0,2,0: 72:[73, 27] Operation: 6+21=27 Exploring Operation: 73-21=52, Resulting Numbers: [6, 52] Generated Node #0,2,1: 72:[6, 52] Operation: 73-21=52 Exploring Operation: 21-6=15, Resulting Numbers: [73, 15] Generated Node #0,2,2: 72:[73, 15] Operation: 21-6=15 Exploring Operation: 73-6=67, Resulting Numbers: [21, 67] Generated Node #0,2,3: 72:[21, 67] Operation: 73-6=67 Exploring Operation: 6+73=79, Resulting Numbers: [21, 79] Generated Node #0,2,4: 72:[21, 79] Operation: 6+73=79 Moving to Node #0,3 Current State: 72:[7, 21, 74], Operations: ['80-6=74'] Exploring Operation: 21/7=3, Resulting Numbers: [74, 3] Generated Node #0,3,0: 72:[74, 3] Operation: 21/7=3 Exploring Operation: 7+74=81, Resulting Numbers: [21, 81] Generated Node #0,3,1: 72:[21, 81] Operation: 7+74=81 Exploring Operation: 7+21=28, Resulting Numbers: [74, 28] Generated Node #0,3,2: 72:[74, 28] Operation: 7+21=28 Exploring Operation: 74-7=67, Resulting Numbers: [21, 67] Generated Node #0,3,3: 72:[21, 67] Operation: 74-7=67 Exploring Operation: 21-7=14, Resulting Numbers: [74, 14] Generated Node #0,3,4: 72:[74, 14] Operation: 21-7=14 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[74, 3], Operations: ['80-6=74', '21/7=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[74, 14], Operations: ['80-6=74', '21-7=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,72 unequal: No Solution Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,72 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[74, 28], Operations: ['80-6=74', '7+21=28'] Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,72 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[21, 67], Operations: ['80-6=74', '74-7=67'] Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,72 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[21, 81], Operations: ['80-6=74', '7+74=81'] Exploring Operation: 21+81=102, Resulting Numbers: [102] 102,72 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 21*81=1701, Resulting Numbers: [1701] 1701,72 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: 72:[6, 80, 3], Operations: ['21/7=3'] Exploring Operation: 80-3=77, Resulting Numbers: [6, 77] Generated Node #0,4,0: 72:[6, 77] Operation: 80-3=77 Exploring Operation: 80-6=74, Resulting Numbers: [3, 74] Generated Node #0,4,1: 72:[3, 74] Operation: 80-6=74 Exploring Operation: 6*3=18, Resulting Numbers: [80, 18] Generated Node #0,4,2: 72:[80, 18] Operation: 6*3=18 Exploring Operation: 6+3=9, Resulting Numbers: [80, 9] Generated Node #0,4,3: 72:[80, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [80, 3] Generated Node #0,4,4: 72:[80, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[3, 74], Operations: ['21/7=3', '80-6=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 72:[6, 77], Operations: ['21/7=3', '80-3=77'] Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[80, 18], Operations: ['21/7=3', '6*3=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 72:[80, 9], Operations: ['21/7=3', '6+3=9'] Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,72 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 72:[80, 3], Operations: ['21/7=3', '6-3=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,72 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,72 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: 72:[6, 80, 14], Operations: ['21-7=14'] Exploring Operation: 80-14=66, Resulting Numbers: [6, 66] Generated Node #0,1,0: 72:[6, 66] Operation: 80-14=66 Exploring Operation: 6+80=86, Resulting Numbers: [14, 86] Generated Node #0,1,1: 72:[14, 86] Operation: 6+80=86 Exploring Operation: 80-6=74, Resulting Numbers: [14, 74] Generated Node #0,1,2: 72:[14, 74] Operation: 80-6=74 Exploring Operation: 6+14=20, Resulting Numbers: [80, 20] Generated Node #0,1,3: 72:[80, 20] Operation: 6+14=20 Exploring Operation: 14-6=8, Resulting Numbers: [80, 8] Generated Node #0,1,4: 72:[80, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[14, 74], Operations: ['21-7=14', '80-6=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,72 unequal: No Solution Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,72 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[6, 66], Operations: ['21-7=14', '80-14=66'] Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[7, 6, 21, 80], Operations: [] Exploring Operation: 21-7=14, Resulting Numbers: [6, 80, 14] Generated Node #0,1: 72:[6, 80, 14] Operation: 21-7=14 Moving to Node #0,1 Current State: 72:[6, 80, 14], Operations: ['21-7=14'] Exploring Operation: 80-14=66, Resulting Numbers: [6, 66] Generated Node #0,1,0: 72:[6, 66] Operation: 80-14=66 Moving to Node #0,1,0 Current State: 72:[6, 66], Operations: ['21-7=14', '80-14=66'] Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 77, 88, 25, 22 ]
33
[ "88-77=11", "25-22=3", "11*3=33" ]
Current State: 33:[77, 88, 25, 22], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [25, 22, 11] Generated Node #2: [25, 22, 11] from Operation: 88-77=11 Current State: 33:[25, 22, 11], Operations: ['88-77=11'] Exploring Operation: 25-22=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 25-22=3 Current State: 33:[11, 3], Operations: ['88-77=11', '25-22=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[77, 88, 25, 22], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [25, 22, 11] Generated Node #0,0: 33:[25, 22, 11] Operation: 88-77=11 Moving to Node #0,0 Current State: 33:[25, 22, 11], Operations: ['88-77=11'] Exploring Operation: 25-22=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['88-77=11', '25-22=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[77, 88, 25, 22], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [25, 22, 11] Generated Node #0,0: 33:[25, 22, 11] Operation: 88-77=11 Moving to Node #0,0 Current State: 33:[25, 22, 11], Operations: ['88-77=11'] Exploring Operation: 25-22=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['88-77=11', '25-22=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 18, 45, 60, 55 ]
24
[ "55-45=10", "60/10=6", "18+6=24" ]
Current State: 24:[18, 45, 60, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [18, 60, 10] Generated Node #2: [18, 60, 10] from Operation: 55-45=10 Current State: 24:[18, 60, 10], Operations: ['55-45=10'] Exploring Operation: 60/10=6, Resulting Numbers: [18, 6] Generated Node #3: [18, 6] from Operation: 60/10=6 Current State: 24:[18, 6], Operations: ['55-45=10', '60/10=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[18, 45, 60, 55], Operations: [] Exploring Operation: 60-45=15, Resulting Numbers: [18, 55, 15] Generated Node #0,0: 24:[18, 55, 15] Operation: 60-45=15 Exploring Operation: 55-45=10, Resulting Numbers: [18, 60, 10] Generated Node #0,1: 24:[18, 60, 10] Operation: 55-45=10 Exploring Operation: 60-18=42, Resulting Numbers: [45, 55, 42] Generated Node #0,2: 24:[45, 55, 42] Operation: 60-18=42 Exploring Operation: 45-18=27, Resulting Numbers: [60, 55, 27] Generated Node #0,3: 24:[60, 55, 27] Operation: 45-18=27 Exploring Operation: 60-55=5, Resulting Numbers: [18, 45, 5] Generated Node #0,4: 24:[18, 45, 5] Operation: 60-55=5 Moving to Node #0,4 Current State: 24:[18, 45, 5], Operations: ['60-55=5'] Exploring Operation: 45-5=40, Resulting Numbers: [18, 40] Generated Node #0,4,0: 24:[18, 40] Operation: 45-5=40 Exploring Operation: 18-5=13, Resulting Numbers: [45, 13] Generated Node #0,4,1: 24:[45, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [45, 23] Generated Node #0,4,2: 24:[45, 23] Operation: 18+5=23 Exploring Operation: 45/5=9, Resulting Numbers: [18, 9] Generated Node #0,4,3: 24:[18, 9] Operation: 45/5=9 Exploring Operation: 45-18=27, Resulting Numbers: [5, 27] Generated Node #0,4,4: 24:[5, 27] Operation: 45-18=27 Moving to Node #0,0 Current State: 24:[18, 55, 15], Operations: ['60-45=15'] Exploring Operation: 18+55=73, Resulting Numbers: [15, 73] Generated Node #0,0,0: 24:[15, 73] Operation: 18+55=73 Exploring Operation: 55-18=37, Resulting Numbers: [15, 37] Generated Node #0,0,1: 24:[15, 37] Operation: 55-18=37 Exploring Operation: 18+15=33, Resulting Numbers: [55, 33] Generated Node #0,0,2: 24:[55, 33] Operation: 18+15=33 Exploring Operation: 55-15=40, Resulting Numbers: [18, 40] Generated Node #0,0,3: 24:[18, 40] Operation: 55-15=40 Exploring Operation: 18-15=3, Resulting Numbers: [55, 3] Generated Node #0,0,4: 24:[55, 3] Operation: 18-15=3 Moving to Node #0,1 Current State: 24:[18, 60, 10], Operations: ['55-45=10'] Exploring Operation: 60/10=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 24:[18, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [18, 50] Generated Node #0,1,1: 24:[18, 50] Operation: 60-10=50 Exploring Operation: 60-18=42, Resulting Numbers: [10, 42] Generated Node #0,1,2: 24:[10, 42] Operation: 60-18=42 Exploring Operation: 18-10=8, Resulting Numbers: [60, 8] Generated Node #0,1,3: 24:[60, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [60, 28] Generated Node #0,1,4: 24:[60, 28] Operation: 18+10=28 Moving to Node #0,2 Current State: 24:[45, 55, 42], Operations: ['60-18=42'] Exploring Operation: 55-42=13, Resulting Numbers: [45, 13] Generated Node #0,2,0: 24:[45, 13] Operation: 55-42=13 Exploring Operation: 45+55=100, Resulting Numbers: [42, 100] Generated Node #0,2,1: 24:[42, 100] Operation: 45+55=100 Exploring Operation: 45-42=3, Resulting Numbers: [55, 3] Generated Node #0,2,2: 24:[55, 3] Operation: 45-42=3 Exploring Operation: 45+42=87, Resulting Numbers: [55, 87] Generated Node #0,2,3: 24:[55, 87] Operation: 45+42=87 Exploring Operation: 55-45=10, Resulting Numbers: [42, 10] Generated Node #0,2,4: 24:[42, 10] Operation: 55-45=10 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[42, 10], Operations: ['60-18=42', '55-45=10'] Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,24 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[45, 13], Operations: ['60-18=42', '55-42=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[55, 3], Operations: ['60-18=42', '45-42=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,24 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[42, 100], Operations: ['60-18=42', '45+55=100'] Exploring Operation: 42*100=4200, Resulting Numbers: [4200] 4200,24 unequal: No Solution Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 42+100=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[55, 87], Operations: ['60-18=42', '45+42=87'] Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,24 unequal: No Solution Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,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:[60, 55, 27], Operations: ['45-18=27'] Exploring Operation: 60-55=5, Resulting Numbers: [27, 5] Generated Node #0,3,0: 24:[27, 5] Operation: 60-55=5 Exploring Operation: 60+27=87, Resulting Numbers: [55, 87] Generated Node #0,3,1: 24:[55, 87] Operation: 60+27=87 Exploring Operation: 55-27=28, Resulting Numbers: [60, 28] Generated Node #0,3,2: 24:[60, 28] Operation: 55-27=28 Exploring Operation: 60-27=33, Resulting Numbers: [55, 33] Generated Node #0,3,3: 24:[55, 33] Operation: 60-27=33 Exploring Operation: 60+55=115, Resulting Numbers: [27, 115] Generated Node #0,3,4: 24:[27, 115] Operation: 60+55=115 Moving to Node #0,4,4 Current State: 24:[5, 27], Operations: ['60-55=5', '45-18=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,24 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[27, 5], Operations: ['45-18=27', '60-55=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,24 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[18, 6], Operations: ['55-45=10', '60/10=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[18, 45, 60, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [18, 60, 10] Generated Node #0,1: 24:[18, 60, 10] Operation: 55-45=10 Moving to Node #0,1 Current State: 24:[18, 60, 10], Operations: ['55-45=10'] Exploring Operation: 60/10=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 24:[18, 6] Operation: 60/10=6 Moving to Node #0,1,0 Current State: 24:[18, 6], Operations: ['55-45=10', '60/10=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.951389
hs_5
sum_heuristic
[ 9, 47, 10, 85 ]
42
[ "9*10=90", "47+85=132", "132-90=42" ]
Current State: 42:[9, 47, 10, 85], Operations: [] Exploring Operation: 9*10=90, Resulting Numbers: [47, 85, 90] Generated Node #2: [47, 85, 90] from Operation: 9*10=90 Current State: 42:[47, 85, 90], Operations: ['9*10=90'] Exploring Operation: 47+85=132, Resulting Numbers: [90, 132] Generated Node #3: [90, 132] from Operation: 47+85=132 Current State: 42:[90, 132], Operations: ['9*10=90', '47+85=132'] Exploring Operation: 132-90=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[9, 47, 10, 85], Operations: [] Exploring Operation: 85-10=75, Resulting Numbers: [9, 47, 75] Generated Node #0,0: 42:[9, 47, 75] Operation: 85-10=75 Exploring Operation: 85-47=38, Resulting Numbers: [9, 10, 38] Generated Node #0,1: 42:[9, 10, 38] Operation: 85-47=38 Exploring Operation: 85-9=76, Resulting Numbers: [47, 10, 76] Generated Node #0,2: 42:[47, 10, 76] Operation: 85-9=76 Exploring Operation: 10-9=1, Resulting Numbers: [47, 85, 1] Generated Node #0,3: 42:[47, 85, 1] Operation: 10-9=1 Moving to Node #0,1 Current State: 42:[9, 10, 38], Operations: ['85-47=38'] Exploring Operation: 9+10=19, Resulting Numbers: [38, 19] Generated Node #0,1,0: 42:[38, 19] Operation: 9+10=19 Exploring Operation: 9+38=47, Resulting Numbers: [10, 47] Generated Node #0,1,1: 42:[10, 47] Operation: 9+38=47 Exploring Operation: 10+38=48, Resulting Numbers: [9, 48] Generated Node #0,1,2: 42:[9, 48] Operation: 10+38=48 Exploring Operation: 10-9=1, Resulting Numbers: [38, 1] Generated Node #0,1,3: 42:[38, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[38, 1], Operations: ['85-47=38', '10-9=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[38, 19], Operations: ['85-47=38', '9+10=19'] Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 38*19=722, Resulting Numbers: [722] 722,42 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[10, 47], Operations: ['85-47=38', '9+38=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[9, 48], Operations: ['85-47=38', '10+38=48'] Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,42 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 42:[9, 47, 75], Operations: ['85-10=75'] Exploring Operation: 75-9=66, Resulting Numbers: [47, 66] Generated Node #0,0,0: 42:[47, 66] Operation: 75-9=66 Exploring Operation: 9+47=56, Resulting Numbers: [75, 56] Generated Node #0,0,1: 42:[75, 56] Operation: 9+47=56 Exploring Operation: 47-9=38, Resulting Numbers: [75, 38] Generated Node #0,0,2: 42:[75, 38] Operation: 47-9=38 Exploring Operation: 75-47=28, Resulting Numbers: [9, 28] Generated Node #0,0,3: 42:[9, 28] Operation: 75-47=28 Moving to Node #0,2 Current State: 42:[47, 10, 76], Operations: ['85-9=76'] Exploring Operation: 47+10=57, Resulting Numbers: [76, 57] Generated Node #0,2,0: 42:[76, 57] Operation: 47+10=57 Exploring Operation: 76-10=66, Resulting Numbers: [47, 66] Generated Node #0,2,1: 42:[47, 66] Operation: 76-10=66 Exploring Operation: 76-47=29, Resulting Numbers: [10, 29] Generated Node #0,2,2: 42:[10, 29] Operation: 76-47=29 Exploring Operation: 47-10=37, Resulting Numbers: [76, 37] Generated Node #0,2,3: 42:[76, 37] Operation: 47-10=37 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[10, 29], Operations: ['85-9=76', '76-47=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,42 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[47, 66], Operations: ['85-9=76', '76-10=66'] Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,42 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[76, 37], Operations: ['85-9=76', '47-10=37'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,42 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[76, 57], Operations: ['85-9=76', '47+10=57'] Exploring Operation: 76*57=4332, Resulting Numbers: [4332] 4332,42 unequal: No Solution Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,42 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 42:[47, 85, 1], Operations: ['10-9=1'] Exploring Operation: 47*1=47, Resulting Numbers: [85, 47] Generated Node #0,3,0: 42:[85, 47] Operation: 47*1=47 Exploring Operation: 85-47=38, Resulting Numbers: [1, 38] Generated Node #0,3,1: 42:[1, 38] Operation: 85-47=38 Exploring Operation: 85-1=84, Resulting Numbers: [47, 84] Generated Node #0,3,2: 42:[47, 84] Operation: 85-1=84 Exploring Operation: 47-1=46, Resulting Numbers: [85, 46] Generated Node #0,3,3: 42:[85, 46] Operation: 47-1=46 Moving to Node #0,3,1 Current State: 42:[1, 38], Operations: ['10-9=1', '85-47=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[9, 28], Operations: ['85-10=75', '75-47=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,42 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[47, 66], Operations: ['85-10=75', '75-9=66'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,42 unequal: No Solution Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[75, 38], Operations: ['85-10=75', '47-9=38'] Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,42 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,42 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[47, 84], Operations: ['10-9=1', '85-1=84'] Exploring Operation: 47+84=131, Resulting Numbers: [131] 131,42 unequal: No Solution Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 47*84=3948, Resulting Numbers: [3948] 3948,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[75, 56], Operations: ['85-10=75', '9+47=56'] Exploring Operation: 75*56=4200, Resulting Numbers: [4200] 4200,42 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 75+56=131, Resulting Numbers: [131] 131,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[85, 46], Operations: ['10-9=1', '47-1=46'] Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,42 unequal: No Solution Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[85, 47], Operations: ['10-9=1', '47*1=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,42 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,42 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 8, 13, 32 ]
56
[ "45*8=360", "13*32=416", "416-360=56" ]
Current State: 56:[45, 8, 13, 32], Operations: [] Exploring Operation: 45*8=360, Resulting Numbers: [13, 32, 360] Generated Node #2: [13, 32, 360] from Operation: 45*8=360 Current State: 56:[13, 32, 360], Operations: ['45*8=360'] Exploring Operation: 13*32=416, Resulting Numbers: [360, 416] Generated Node #3: [360, 416] from Operation: 13*32=416 Current State: 56:[360, 416], Operations: ['45*8=360', '13*32=416'] Exploring Operation: 416-360=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[45, 8, 13, 32], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [8, 13, 13] Generated Node #0,0: 56:[8, 13, 13] Operation: 45-32=13 Exploring Operation: 45+8=53, Resulting Numbers: [13, 32, 53] Generated Node #0,1: 56:[13, 32, 53] Operation: 45+8=53 Exploring Operation: 45-13=32, Resulting Numbers: [8, 32, 32] Generated Node #0,2: 56:[8, 32, 32] Operation: 45-13=32 Exploring Operation: 32/8=4, Resulting Numbers: [45, 13, 4] Generated Node #0,3: 56:[45, 13, 4] Operation: 32/8=4 Exploring Operation: 45+13=58, Resulting Numbers: [8, 32, 58] Generated Node #0,4: 56:[8, 32, 58] Operation: 45+13=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[8, 13, 13], Operations: ['45-32=13'] Exploring Operation: 13-13=0, Resulting Numbers: [8, 0] Generated Node #0,0,0: 56:[8, 0] Operation: 13-13=0 Exploring Operation: 13+13=26, Resulting Numbers: [8, 26] Generated Node #0,0,1: 56:[8, 26] Operation: 13+13=26 Exploring Operation: 13/13=1, Resulting Numbers: [8, 1] Generated Node #0,0,2: 56:[8, 1] Operation: 13/13=1 Exploring Operation: 13-8=5, Resulting Numbers: [13, 5] Generated Node #0,0,3: 56:[13, 5] Operation: 13-8=5 Exploring Operation: 13-8=5, Resulting Numbers: [13, 5] Generated Node #0,0,4: 56:[13, 5] Operation: 13-8=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[8, 1], Operations: ['45-32=13', '13/13=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[8, 0], Operations: ['45-32=13', '13-13=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[8, 26], Operations: ['45-32=13', '13+13=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,56 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[13, 5], Operations: ['45-32=13', '13-8=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 56:[13, 5], Operations: ['45-32=13', '13-8=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[8, 32, 58], Operations: ['45+13=58'] Exploring Operation: 8+32=40, Resulting Numbers: [58, 40] Generated Node #0,4,0: 56:[58, 40] Operation: 8+32=40 Exploring Operation: 32/8=4, Resulting Numbers: [58, 4] Generated Node #0,4,1: 56:[58, 4] Operation: 32/8=4 Exploring Operation: 58-32=26, Resulting Numbers: [8, 26] Generated Node #0,4,2: 56:[8, 26] Operation: 58-32=26 Exploring Operation: 58-8=50, Resulting Numbers: [32, 50] Generated Node #0,4,3: 56:[32, 50] Operation: 58-8=50 Exploring Operation: 32-8=24, Resulting Numbers: [58, 24] Generated Node #0,4,4: 56:[58, 24] Operation: 32-8=24 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 56:[58, 4], Operations: ['45+13=58', '32/8=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 56:[8, 26], Operations: ['45+13=58', '58-32=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,56 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 56:[58, 24], Operations: ['45+13=58', '32-8=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,56 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 56:[32, 50], Operations: ['45+13=58', '58-8=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,56 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 56:[58, 40], Operations: ['45+13=58', '8+32=40'] Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 58*40=2320, Resulting Numbers: [2320] 2320,56 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[13, 32, 53], Operations: ['45+8=53'] Exploring Operation: 13+53=66, Resulting Numbers: [32, 66] Generated Node #0,1,0: 56:[32, 66] Operation: 13+53=66 Exploring Operation: 53-32=21, Resulting Numbers: [13, 21] Generated Node #0,1,1: 56:[13, 21] Operation: 53-32=21 Exploring Operation: 32-13=19, Resulting Numbers: [53, 19] Generated Node #0,1,2: 56:[53, 19] Operation: 32-13=19 Exploring Operation: 13+32=45, Resulting Numbers: [53, 45] Generated Node #0,1,3: 56:[53, 45] Operation: 13+32=45 Exploring Operation: 53-13=40, Resulting Numbers: [32, 40] Generated Node #0,1,4: 56:[32, 40] Operation: 53-13=40 Moving to Node #0,1,1 Current State: 56:[13, 21], Operations: ['45+8=53', '53-32=21'] Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,56 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[53, 19], Operations: ['45+8=53', '32-13=19'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[32, 66], Operations: ['45+8=53', '13+53=66'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,56 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[53, 45], Operations: ['45+8=53', '13+32=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[32, 40], Operations: ['45+8=53', '53-13=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,56 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[8, 32, 32], Operations: ['45-13=32'] Exploring Operation: 32/8=4, Resulting Numbers: [32, 4] Generated Node #0,2,0: 56:[32, 4] Operation: 32/8=4 Exploring Operation: 32-32=0, Resulting Numbers: [8, 0] Generated Node #0,2,1: 56:[8, 0] Operation: 32-32=0 Exploring Operation: 32/8=4, Resulting Numbers: [32, 4] Generated Node #0,2,2: 56:[32, 4] Operation: 32/8=4 Exploring Operation: 32-8=24, Resulting Numbers: [32, 24] Generated Node #0,2,3: 56:[32, 24] Operation: 32-8=24 Exploring Operation: 32/32=1, Resulting Numbers: [8, 1] Generated Node #0,2,4: 56:[8, 1] Operation: 32/32=1 Moving to Node #0,2,4 Current State: 56:[8, 1], Operations: ['45-13=32', '32/32=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[8, 0], Operations: ['45-13=32', '32-32=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[32, 4], Operations: ['45-13=32', '32/8=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[32, 4], Operations: ['45-13=32', '32/8=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[32, 24], Operations: ['45-13=32', '32-8=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[45, 8, 13, 32], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [8, 32, 32] Generated Node #0,2: 56:[8, 32, 32] Operation: 45-13=32 Moving to Node #0,2 Current State: 56:[8, 32, 32], Operations: ['45-13=32'] Exploring Operation: 32-8=24, Resulting Numbers: [32, 24] Generated Node #0,2,3: 56:[32, 24] Operation: 32-8=24 Moving to Node #0,2,3 Current State: 56:[32, 24], Operations: ['45-13=32', '32-8=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.921007
hs_5
mult_heuristic
[ 80, 80, 10, 8 ]
17
[ "80/80=1", "10+8=18", "18-1=17" ]
Current State: 17:[80, 80, 10, 8], Operations: [] Exploring Operation: 80/80=1, Resulting Numbers: [10, 8, 1] Generated Node #2: [10, 8, 1] from Operation: 80/80=1 Current State: 17:[10, 8, 1], Operations: ['80/80=1'] Exploring Operation: 10+8=18, Resulting Numbers: [1, 18] Generated Node #3: [1, 18] from Operation: 10+8=18 Current State: 17:[1, 18], Operations: ['80/80=1', '10+8=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[80, 80, 10, 8], Operations: [] Exploring Operation: 80/80=1, Resulting Numbers: [10, 8, 1] Generated Node #0,0: 17:[10, 8, 1] Operation: 80/80=1 Moving to Node #0,0 Current State: 17:[10, 8, 1], Operations: ['80/80=1'] Exploring Operation: 10+1=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 17:[8, 11] Operation: 10+1=11 Moving to Node #0,0,0 Current State: 17:[8, 11], Operations: ['80/80=1', '10+1=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 90, 29, 85, 70 ]
94
[ "90-29=61", "85+70=155", "155-61=94" ]
Current State: 94:[90, 29, 85, 70], Operations: [] Exploring Operation: 90-29=61, Resulting Numbers: [85, 70, 61] Generated Node #2: [85, 70, 61] from Operation: 90-29=61 Current State: 94:[85, 70, 61], Operations: ['90-29=61'] Exploring Operation: 85+70=155, Resulting Numbers: [61, 155] Generated Node #3: [61, 155] from Operation: 85+70=155 Current State: 94:[61, 155], Operations: ['90-29=61', '85+70=155'] Exploring Operation: 155-61=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[90, 29, 85, 70], Operations: [] Exploring Operation: 70-29=41, Resulting Numbers: [90, 85, 41] Generated Node #0,0: 94:[90, 85, 41] Operation: 70-29=41 Exploring Operation: 29+70=99, Resulting Numbers: [90, 85, 99] Generated Node #0,1: 94:[90, 85, 99] Operation: 29+70=99 Exploring Operation: 85-29=56, Resulting Numbers: [90, 70, 56] Generated Node #0,2: 94:[90, 70, 56] Operation: 85-29=56 Exploring Operation: 85-70=15, Resulting Numbers: [90, 29, 15] Generated Node #0,3: 94:[90, 29, 15] Operation: 85-70=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[90, 85, 99], Operations: ['29+70=99'] Exploring Operation: 90+85=175, Resulting Numbers: [99, 175] Generated Node #0,1,0: 94:[99, 175] Operation: 90+85=175 Exploring Operation: 99-90=9, Resulting Numbers: [85, 9] Generated Node #0,1,1: 94:[85, 9] Operation: 99-90=9 Exploring Operation: 90-85=5, Resulting Numbers: [99, 5] Generated Node #0,1,2: 94:[99, 5] Operation: 90-85=5 Exploring Operation: 99-85=14, Resulting Numbers: [90, 14] Generated Node #0,1,3: 94:[90, 14] Operation: 99-85=14 Moving to Node #0,1,2 Current State: 94:[99, 5], Operations: ['29+70=99', '90-85=5'] Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,94 unequal: No Solution Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,94 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[90, 29, 85, 70], Operations: [] Exploring Operation: 29+70=99, Resulting Numbers: [90, 85, 99] Generated Node #0,1: 94:[90, 85, 99] Operation: 29+70=99 Moving to Node #0,1 Current State: 94:[90, 85, 99], Operations: ['29+70=99'] Exploring Operation: 90-85=5, Resulting Numbers: [99, 5] Generated Node #0,1,2: 94:[99, 5] Operation: 90-85=5 Moving to Node #0,1,2 Current State: 94:[99, 5], Operations: ['29+70=99', '90-85=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 62, 45, 20, 90 ]
30
[ "62-45=17", "20-17=3", "90/3=30" ]
Current State: 30:[62, 45, 20, 90], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [20, 90, 17] Generated Node #2: [20, 90, 17] from Operation: 62-45=17 Current State: 30:[20, 90, 17], Operations: ['62-45=17'] Exploring Operation: 20-17=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 20-17=3 Current State: 30:[90, 3], Operations: ['62-45=17', '20-17=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[62, 45, 20, 90], Operations: [] Exploring Operation: 90-45=45, Resulting Numbers: [62, 20, 45] Generated Node #0,0: 30:[62, 20, 45] Operation: 90-45=45 Exploring Operation: 90-62=28, Resulting Numbers: [45, 20, 28] Generated Node #0,1: 30:[45, 20, 28] Operation: 90-62=28 Exploring Operation: 90/45=2, Resulting Numbers: [62, 20, 2] Generated Node #0,2: 30:[62, 20, 2] Operation: 90/45=2 Exploring Operation: 62-45=17, Resulting Numbers: [20, 90, 17] Generated Node #0,3: 30:[20, 90, 17] Operation: 62-45=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[45, 20, 28], Operations: ['90-62=28'] Exploring Operation: 45-20=25, Resulting Numbers: [28, 25] Generated Node #0,1,0: 30:[28, 25] Operation: 45-20=25 Exploring Operation: 28-20=8, Resulting Numbers: [45, 8] Generated Node #0,1,1: 30:[45, 8] Operation: 28-20=8 Exploring Operation: 20+28=48, Resulting Numbers: [45, 48] Generated Node #0,1,2: 30:[45, 48] Operation: 20+28=48 Exploring Operation: 45-28=17, Resulting Numbers: [20, 17] Generated Node #0,1,3: 30:[20, 17] Operation: 45-28=17 Moving to Node #0,1,0 Current State: 30:[28, 25], Operations: ['90-62=28', '45-20=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,30 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[20, 17], Operations: ['90-62=28', '45-28=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,30 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[45, 8], Operations: ['90-62=28', '28-20=8'] Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,30 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[45, 48], Operations: ['90-62=28', '20+28=48'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,30 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[62, 20, 2], Operations: ['90/45=2'] Exploring Operation: 20/2=10, Resulting Numbers: [62, 10] Generated Node #0,2,0: 30:[62, 10] Operation: 20/2=10 Exploring Operation: 62/2=31, Resulting Numbers: [20, 31] Generated Node #0,2,1: 30:[20, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [20, 60] Generated Node #0,2,2: 30:[20, 60] Operation: 62-2=60 Exploring Operation: 62-20=42, Resulting Numbers: [2, 42] Generated Node #0,2,3: 30:[2, 42] Operation: 62-20=42 Moving to Node #0,2,1 Current State: 30:[20, 31], Operations: ['90/45=2', '62/2=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[2, 42], Operations: ['90/45=2', '62-20=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,30 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,30 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[62, 10], Operations: ['90/45=2', '20/2=10'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,30 unequal: No Solution Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 62*10=620, Resulting Numbers: [620] 620,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[20, 60], Operations: ['90/45=2', '62-2=60'] Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,30 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,30 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[62, 20, 45], Operations: ['90-45=45'] Exploring Operation: 62+20=82, Resulting Numbers: [45, 82] Generated Node #0,0,0: 30:[45, 82] Operation: 62+20=82 Exploring Operation: 62-20=42, Resulting Numbers: [45, 42] Generated Node #0,0,1: 30:[45, 42] Operation: 62-20=42 Exploring Operation: 45-20=25, Resulting Numbers: [62, 25] Generated Node #0,0,2: 30:[62, 25] Operation: 45-20=25 Exploring Operation: 62-45=17, Resulting Numbers: [20, 17] Generated Node #0,0,3: 30:[20, 17] Operation: 62-45=17 Moving to Node #0,0,3 Current State: 30:[20, 17], Operations: ['90-45=45', '62-45=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,30 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[45, 42], Operations: ['90-45=45', '62-20=42'] Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[62, 25], Operations: ['90-45=45', '45-20=25'] Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 62*25=1550, Resulting Numbers: [1550] 1550,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[45, 82], Operations: ['90-45=45', '62+20=82'] Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 45+82=127, Resulting Numbers: [127] 127,30 unequal: No Solution Exploring Operation: 45*82=3690, Resulting Numbers: [3690] 3690,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[20, 90, 17], Operations: ['62-45=17'] Exploring Operation: 20-17=3, Resulting Numbers: [90, 3] Generated Node #0,3,0: 30:[90, 3] Operation: 20-17=3 Exploring Operation: 20+17=37, Resulting Numbers: [90, 37] Generated Node #0,3,1: 30:[90, 37] Operation: 20+17=37 Exploring Operation: 90-20=70, Resulting Numbers: [17, 70] Generated Node #0,3,2: 30:[17, 70] Operation: 90-20=70 Exploring Operation: 90-17=73, Resulting Numbers: [20, 73] Generated Node #0,3,3: 30:[20, 73] Operation: 90-17=73 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 30:[17, 70], Operations: ['62-45=17', '90-20=70'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,30 unequal: No Solution No 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: 30:[20, 73], Operations: ['62-45=17', '90-17=73'] Exploring Operation: 20+73=93, Resulting Numbers: [93] 93,30 unequal: No Solution Exploring Operation: 20*73=1460, Resulting Numbers: [1460] 1460,30 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 30:[90, 3], Operations: ['62-45=17', '20-17=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,30 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,30 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[62, 45, 20, 90], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [20, 90, 17] Generated Node #0,3: 30:[20, 90, 17] Operation: 62-45=17 Moving to Node #0,3 Current State: 30:[20, 90, 17], Operations: ['62-45=17'] Exploring Operation: 20-17=3, Resulting Numbers: [90, 3] Generated Node #0,3,0: 30:[90, 3] Operation: 20-17=3 Moving to Node #0,3,0 Current State: 30:[90, 3], Operations: ['62-45=17', '20-17=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.938368
hs_4
mult_heuristic
[ 78, 86, 75, 34 ]
16
[ "78-75=3", "34*3=102", "102-86=16" ]
Current State: 16:[78, 86, 75, 34], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [86, 34, 3] Generated Node #2: [86, 34, 3] from Operation: 78-75=3 Current State: 16:[86, 34, 3], Operations: ['78-75=3'] Exploring Operation: 34*3=102, Resulting Numbers: [86, 102] Generated Node #3: [86, 102] from Operation: 34*3=102 Current State: 16:[86, 102], Operations: ['78-75=3', '34*3=102'] Exploring Operation: 102-86=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[78, 86, 75, 34], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [78, 34, 11] Generated Node #0,0: 16:[78, 34, 11] Operation: 86-75=11 Exploring Operation: 86-34=52, Resulting Numbers: [78, 75, 52] Generated Node #0,1: 16:[78, 75, 52] Operation: 86-34=52 Exploring Operation: 78-34=44, Resulting Numbers: [86, 75, 44] Generated Node #0,2: 16:[86, 75, 44] Operation: 78-34=44 Exploring Operation: 78-75=3, Resulting Numbers: [86, 34, 3] Generated Node #0,3: 16:[86, 34, 3] Operation: 78-75=3 Exploring Operation: 86-78=8, Resulting Numbers: [75, 34, 8] Generated Node #0,4: 16:[75, 34, 8] Operation: 86-78=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[75, 34, 8], Operations: ['86-78=8'] Exploring Operation: 34-8=26, Resulting Numbers: [75, 26] Generated Node #0,4,0: 16:[75, 26] Operation: 34-8=26 Exploring Operation: 75-34=41, Resulting Numbers: [8, 41] Generated Node #0,4,1: 16:[8, 41] Operation: 75-34=41 Exploring Operation: 75+8=83, Resulting Numbers: [34, 83] Generated Node #0,4,2: 16:[34, 83] Operation: 75+8=83 Exploring Operation: 34+8=42, Resulting Numbers: [75, 42] Generated Node #0,4,3: 16:[75, 42] Operation: 34+8=42 Exploring Operation: 75-8=67, Resulting Numbers: [34, 67] Generated Node #0,4,4: 16:[34, 67] Operation: 75-8=67 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 16:[8, 41], Operations: ['86-78=8', '75-34=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 16:[75, 26], Operations: ['86-78=8', '34-8=26'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 16:[34, 67], Operations: ['86-78=8', '75-8=67'] Exploring Operation: 34+67=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 34*67=2278, Resulting Numbers: [2278] 2278,16 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 16:[34, 83], Operations: ['86-78=8', '75+8=83'] Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,16 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 16:[75, 42], Operations: ['86-78=8', '34+8=42'] Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,16 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: 16:[78, 34, 11], Operations: ['86-75=11'] Exploring Operation: 78+11=89, Resulting Numbers: [34, 89] Generated Node #0,0,0: 16:[34, 89] Operation: 78+11=89 Exploring Operation: 34-11=23, Resulting Numbers: [78, 23] Generated Node #0,0,1: 16:[78, 23] Operation: 34-11=23 Exploring Operation: 78-11=67, Resulting Numbers: [34, 67] Generated Node #0,0,2: 16:[34, 67] Operation: 78-11=67 Exploring Operation: 78-34=44, Resulting Numbers: [11, 44] Generated Node #0,0,3: 16:[11, 44] Operation: 78-34=44 Exploring Operation: 34+11=45, Resulting Numbers: [78, 45] Generated Node #0,0,4: 16:[78, 45] Operation: 34+11=45 Moving to Node #0,0,3 Current State: 16:[11, 44], Operations: ['86-75=11', '78-34=44'] Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 11*44=484, Resulting Numbers: [484] 484,16 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[34, 67], Operations: ['86-75=11', '78-11=67'] Exploring Operation: 34*67=2278, Resulting Numbers: [2278] 2278,16 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 34+67=101, Resulting Numbers: [101] 101,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[78, 23], Operations: ['86-75=11', '34-11=23'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,16 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[34, 89], Operations: ['86-75=11', '78+11=89'] Exploring Operation: 34+89=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 34*89=3026, Resulting Numbers: [3026] 3026,16 unequal: No Solution Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,16 unequal: No Solution Moving to Node #0,0,4 Current State: 16:[78, 45], Operations: ['86-75=11', '34+11=45'] Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,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 Current State: 16:[86, 34, 3], Operations: ['78-75=3'] Exploring Operation: 34+3=37, Resulting Numbers: [86, 37] Generated Node #0,3,0: 16:[86, 37] Operation: 34+3=37 Exploring Operation: 86-34=52, Resulting Numbers: [3, 52] Generated Node #0,3,1: 16:[3, 52] Operation: 86-34=52 Exploring Operation: 34-3=31, Resulting Numbers: [86, 31] Generated Node #0,3,2: 16:[86, 31] Operation: 34-3=31 Exploring Operation: 86+3=89, Resulting Numbers: [34, 89] Generated Node #0,3,3: 16:[34, 89] Operation: 86+3=89 Exploring Operation: 86-3=83, Resulting Numbers: [34, 83] Generated Node #0,3,4: 16:[34, 83] Operation: 86-3=83 Moving to Node #0,3,1 Current State: 16:[3, 52], Operations: ['78-75=3', '86-34=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[34, 83], Operations: ['78-75=3', '86-3=83'] Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,16 unequal: No Solution Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[86, 31], Operations: ['78-75=3', '34-3=31'] Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 86*31=2666, Resulting Numbers: [2666] 2666,16 unequal: No Solution Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[86, 37], Operations: ['78-75=3', '34+3=37'] Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,16 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[34, 89], Operations: ['78-75=3', '86+3=89'] Exploring Operation: 34*89=3026, Resulting Numbers: [3026] 3026,16 unequal: No Solution Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 34+89=123, Resulting Numbers: [123] 123,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 Current State: 16:[78, 75, 52], Operations: ['86-34=52'] Exploring Operation: 78+52=130, Resulting Numbers: [75, 130] Generated Node #0,1,0: 16:[75, 130] Operation: 78+52=130 Exploring Operation: 78+75=153, Resulting Numbers: [52, 153] Generated Node #0,1,1: 16:[52, 153] Operation: 78+75=153 Exploring Operation: 75-52=23, Resulting Numbers: [78, 23] Generated Node #0,1,2: 16:[78, 23] Operation: 75-52=23 Exploring Operation: 78-75=3, Resulting Numbers: [52, 3] Generated Node #0,1,3: 16:[52, 3] Operation: 78-75=3 Exploring Operation: 78-52=26, Resulting Numbers: [75, 26] Generated Node #0,1,4: 16:[75, 26] Operation: 78-52=26 Moving to Node #0,1,3 Current State: 16:[52, 3], Operations: ['86-34=52', '78-75=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,16 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[75, 26], Operations: ['86-34=52', '78-52=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[78, 23], Operations: ['86-34=52', '75-52=23'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,16 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[75, 130], Operations: ['86-34=52', '78+52=130'] Exploring Operation: 75*130=9750, Resulting Numbers: [9750] 9750,16 unequal: No Solution Exploring Operation: 130-75=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 75+130=205, Resulting Numbers: [205] 205,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[52, 153], Operations: ['86-34=52', '78+75=153'] Exploring Operation: 52*153=7956, Resulting Numbers: [7956] 7956,16 unequal: No Solution Exploring Operation: 52+153=205, Resulting Numbers: [205] 205,16 unequal: No Solution Exploring Operation: 153-52=101, Resulting Numbers: [101] 101,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[86, 75, 44], Operations: ['78-34=44'] Exploring Operation: 86+75=161, Resulting Numbers: [44, 161] Generated Node #0,2,0: 16:[44, 161] Operation: 86+75=161 Exploring Operation: 86-75=11, Resulting Numbers: [44, 11] Generated Node #0,2,1: 16:[44, 11] Operation: 86-75=11 Exploring Operation: 75-44=31, Resulting Numbers: [86, 31] Generated Node #0,2,2: 16:[86, 31] Operation: 75-44=31 Exploring Operation: 86+44=130, Resulting Numbers: [75, 130] Generated Node #0,2,3: 16:[75, 130] Operation: 86+44=130 Exploring Operation: 86-44=42, Resulting Numbers: [75, 42] Generated Node #0,2,4: 16:[75, 42] Operation: 86-44=42 Moving to Node #0,2,1 Current State: 16:[44, 11], Operations: ['78-34=44', '86-75=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,16 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[75, 42], Operations: ['78-34=44', '86-44=42'] Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,16 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[86, 31], Operations: ['78-34=44', '75-44=31'] Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 86*31=2666, Resulting Numbers: [2666] 2666,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[44, 161], Operations: ['78-34=44', '86+75=161'] Exploring Operation: 161-44=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 44*161=7084, Resulting Numbers: [7084] 7084,16 unequal: No Solution Exploring Operation: 44+161=205, Resulting Numbers: [205] 205,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[75, 130], Operations: ['78-34=44', '86+44=130'] Exploring Operation: 75+130=205, Resulting Numbers: [205] 205,16 unequal: No Solution Exploring Operation: 130-75=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 75*130=9750, Resulting Numbers: [9750] 9750,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 2, 62, 7, 88 ]
82
[ "62+88=150", "150/2=75", "7+75=82" ]
Current State: 82:[2, 62, 7, 88], Operations: [] Exploring Operation: 62+88=150, Resulting Numbers: [2, 7, 150] Generated Node #2: [2, 7, 150] from Operation: 62+88=150 Current State: 82:[2, 7, 150], Operations: ['62+88=150'] Exploring Operation: 150/2=75, Resulting Numbers: [7, 75] Generated Node #3: [7, 75] from Operation: 150/2=75 Current State: 82:[7, 75], Operations: ['62+88=150', '150/2=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[2, 62, 7, 88], Operations: [] Exploring Operation: 62+7=69, Resulting Numbers: [2, 88, 69] Generated Node #0,0: 82:[2, 88, 69] Operation: 62+7=69 Moving to Node #0,0 Current State: 82:[2, 88, 69], Operations: ['62+7=69'] Exploring Operation: 88/2=44, Resulting Numbers: [69, 44] Generated Node #0,0,0: 82:[69, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[69, 44], Operations: ['62+7=69', '88/2=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,82 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
[ 87, 7, 9, 17 ]
72
[ "87-7=80", "17-9=8", "80-8=72" ]
Current State: 72:[87, 7, 9, 17], Operations: [] Exploring Operation: 87-7=80, Resulting Numbers: [9, 17, 80] Generated Node #2: [9, 17, 80] from Operation: 87-7=80 Current State: 72:[9, 17, 80], Operations: ['87-7=80'] Exploring Operation: 17-9=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 17-9=8 Current State: 72:[80, 8], Operations: ['87-7=80', '17-9=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[87, 7, 9, 17], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [7, 17, 78] Generated Node #0,0: 72:[7, 17, 78] Operation: 87-9=78 Exploring Operation: 87-17=70, Resulting Numbers: [7, 9, 70] Generated Node #0,1: 72:[7, 9, 70] Operation: 87-17=70 Exploring Operation: 87-7=80, Resulting Numbers: [9, 17, 80] Generated Node #0,2: 72:[9, 17, 80] Operation: 87-7=80 Exploring Operation: 7+17=24, Resulting Numbers: [87, 9, 24] Generated Node #0,3: 72:[87, 9, 24] Operation: 7+17=24 Moving to Node #0,1 Current State: 72:[7, 9, 70], Operations: ['87-17=70'] Exploring Operation: 9-7=2, Resulting Numbers: [70, 2] Generated Node #0,1,0: 72:[70, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [70, 16] Generated Node #0,1,1: 72:[70, 16] Operation: 7+9=16 Exploring Operation: 7+70=77, Resulting Numbers: [9, 77] Generated Node #0,1,2: 72:[9, 77] Operation: 7+70=77 Exploring Operation: 70/7=10, Resulting Numbers: [9, 10] Generated Node #0,1,3: 72:[9, 10] Operation: 70/7=10 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[9, 10], Operations: ['87-17=70', '70/7=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[70, 2], Operations: ['87-17=70', '9-7=2'] Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[87, 7, 9, 17], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [7, 9, 70] Generated Node #0,1: 72:[7, 9, 70] Operation: 87-17=70 Moving to Node #0,1 Current State: 72:[7, 9, 70], Operations: ['87-17=70'] Exploring Operation: 9-7=2, Resulting Numbers: [70, 2] Generated Node #0,1,0: 72:[70, 2] Operation: 9-7=2 Moving to Node #0,1,0 Current State: 72:[70, 2], Operations: ['87-17=70', '9-7=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 72, 72, 5, 56 ]
51
[ "72-72=0", "56-5=51", "0+51=51" ]
Current State: 51:[72, 72, 5, 56], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [5, 56, 0] Generated Node #2: [5, 56, 0] from Operation: 72-72=0 Current State: 51:[5, 56, 0], Operations: ['72-72=0'] Exploring Operation: 56-5=51, Resulting Numbers: [0, 51] Generated Node #3: [0, 51] from Operation: 56-5=51 Current State: 51:[0, 51], Operations: ['72-72=0', '56-5=51'] Exploring Operation: 0+51=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[72, 72, 5, 56], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [5, 56, 1] Generated Node #0,0: 51:[5, 56, 1] Operation: 72/72=1 Exploring Operation: 72-72=0, Resulting Numbers: [5, 56, 0] Generated Node #0,1: 51:[5, 56, 0] Operation: 72-72=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[5, 56, 1], Operations: ['72/72=1'] Exploring Operation: 5-1=4, Resulting Numbers: [56, 4] Generated Node #0,0,0: 51:[56, 4] Operation: 5-1=4 Exploring Operation: 56-5=51, Resulting Numbers: [1, 51] Generated Node #0,0,1: 51:[1, 51] Operation: 56-5=51 Moving to Node #0,0,1 Current State: 51:[1, 51], Operations: ['72/72=1', '56-5=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[72, 72, 5, 56], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [5, 56, 1] Generated Node #0,0: 51:[5, 56, 1] Operation: 72/72=1 Moving to Node #0,0 Current State: 51:[5, 56, 1], Operations: ['72/72=1'] Exploring Operation: 56-5=51, Resulting Numbers: [1, 51] Generated Node #0,0,1: 51:[1, 51] Operation: 56-5=51 Moving to Node #0,0,1 Current State: 51:[1, 51], Operations: ['72/72=1', '56-5=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 93, 87, 54, 36 ]
15
[ "93-87=6", "54+36=90", "90/6=15" ]
Current State: 15:[93, 87, 54, 36], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [54, 36, 6] Generated Node #2: [54, 36, 6] from Operation: 93-87=6 Current State: 15:[54, 36, 6], Operations: ['93-87=6'] Exploring Operation: 54+36=90, Resulting Numbers: [6, 90] Generated Node #3: [6, 90] from Operation: 54+36=90 Current State: 15:[6, 90], Operations: ['93-87=6', '54+36=90'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[93, 87, 54, 36], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [93, 36, 33] Generated Node #0,0: 15:[93, 36, 33] Operation: 87-54=33 Exploring Operation: 93-87=6, Resulting Numbers: [54, 36, 6] Generated Node #0,1: 15:[54, 36, 6] Operation: 93-87=6 Exploring Operation: 93-54=39, Resulting Numbers: [87, 36, 39] Generated Node #0,2: 15:[87, 36, 39] Operation: 93-54=39 Moving to Node #0,1 Current State: 15:[54, 36, 6], Operations: ['93-87=6'] Exploring Operation: 36/6=6, Resulting Numbers: [54, 6] Generated Node #0,1,0: 15:[54, 6] Operation: 36/6=6 Exploring Operation: 54-36=18, Resulting Numbers: [6, 18] Generated Node #0,1,1: 15:[6, 18] Operation: 54-36=18 Exploring Operation: 54/6=9, Resulting Numbers: [36, 9] Generated Node #0,1,2: 15:[36, 9] Operation: 54/6=9 Moving to Node #0,0 Current State: 15:[93, 36, 33], Operations: ['87-54=33'] Exploring Operation: 93-36=57, Resulting Numbers: [33, 57] Generated Node #0,0,0: 15:[33, 57] Operation: 93-36=57 Exploring Operation: 36-33=3, Resulting Numbers: [93, 3] Generated Node #0,0,1: 15:[93, 3] Operation: 36-33=3 Exploring Operation: 93-33=60, Resulting Numbers: [36, 60] Generated Node #0,0,2: 15:[36, 60] Operation: 93-33=60 Moving to Node #0,2 Current State: 15:[87, 36, 39], Operations: ['93-54=39'] Exploring Operation: 87-39=48, Resulting Numbers: [36, 48] Generated Node #0,2,0: 15:[36, 48] Operation: 87-39=48 Exploring Operation: 39-36=3, Resulting Numbers: [87, 3] Generated Node #0,2,1: 15:[87, 3] Operation: 39-36=3 Exploring Operation: 87-36=51, Resulting Numbers: [39, 51] Generated Node #0,2,2: 15:[39, 51] Operation: 87-36=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[36, 48], Operations: ['93-54=39', '87-39=48'] Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,15 unequal: No Solution Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,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:[39, 51], Operations: ['93-54=39', '87-36=51'] Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,15 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,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,1 Current State: 15:[87, 3], Operations: ['93-54=39', '39-36=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,15 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: 15:[6, 18], Operations: ['93-87=6', '54-36=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[36, 9], Operations: ['93-87=6', '54/6=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[54, 6], Operations: ['93-87=6', '36/6=6'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,15 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[33, 57], Operations: ['87-54=33', '93-36=57'] Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[36, 60], Operations: ['87-54=33', '93-33=60'] Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,15 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[93, 3], Operations: ['87-54=33', '36-33=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,15 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 61, 76, 22, 81 ]
34
[ "61+76=137", "22+81=103", "137-103=34" ]
Current State: 34:[61, 76, 22, 81], Operations: [] Exploring Operation: 61+76=137, Resulting Numbers: [22, 81, 137] Generated Node #2: [22, 81, 137] from Operation: 61+76=137 Current State: 34:[22, 81, 137], Operations: ['61+76=137'] Exploring Operation: 22+81=103, Resulting Numbers: [137, 103] Generated Node #3: [137, 103] from Operation: 22+81=103 Current State: 34:[137, 103], Operations: ['61+76=137', '22+81=103'] Exploring Operation: 137-103=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[61, 76, 22, 81], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [61, 22, 5] Generated Node #0,0: 34:[61, 22, 5] Operation: 81-76=5 Exploring Operation: 81-61=20, Resulting Numbers: [76, 22, 20] Generated Node #0,1: 34:[76, 22, 20] Operation: 81-61=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[61, 22, 5], Operations: ['81-76=5'] Exploring Operation: 61-5=56, Resulting Numbers: [22, 56] Generated Node #0,0,0: 34:[22, 56] Operation: 61-5=56 Exploring Operation: 61-22=39, Resulting Numbers: [5, 39] Generated Node #0,0,1: 34:[5, 39] Operation: 61-22=39 Moving to Node #0,0,1 Current State: 34:[5, 39], Operations: ['81-76=5', '61-22=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[61, 76, 22, 81], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [61, 22, 5] Generated Node #0,0: 34:[61, 22, 5] Operation: 81-76=5 Moving to Node #0,0 Current State: 34:[61, 22, 5], Operations: ['81-76=5'] Exploring Operation: 61-22=39, Resulting Numbers: [5, 39] Generated Node #0,0,1: 34:[5, 39] Operation: 61-22=39 Moving to Node #0,0,1 Current State: 34:[5, 39], Operations: ['81-76=5', '61-22=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 7, 90, 44, 17 ]
93
[ "7+44=51", "51/17=3", "90+3=93" ]
Current State: 93:[7, 90, 44, 17], Operations: [] Exploring Operation: 7+44=51, Resulting Numbers: [90, 17, 51] Generated Node #2: [90, 17, 51] from Operation: 7+44=51 Current State: 93:[90, 17, 51], Operations: ['7+44=51'] Exploring Operation: 51/17=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 51/17=3 Current State: 93:[90, 3], Operations: ['7+44=51', '51/17=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[7, 90, 44, 17], Operations: [] Exploring Operation: 44-17=27, Resulting Numbers: [7, 90, 27] Generated Node #0,0: 93:[7, 90, 27] Operation: 44-17=27 Exploring Operation: 44-7=37, Resulting Numbers: [90, 17, 37] Generated Node #0,1: 93:[90, 17, 37] Operation: 44-7=37 Exploring Operation: 7+17=24, Resulting Numbers: [90, 44, 24] Generated Node #0,2: 93:[90, 44, 24] Operation: 7+17=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[7, 90, 27], Operations: ['44-17=27'] Exploring Operation: 7+90=97, Resulting Numbers: [27, 97] Generated Node #0,0,0: 93:[27, 97] Operation: 7+90=97 Exploring Operation: 7+27=34, Resulting Numbers: [90, 34] Generated Node #0,0,1: 93:[90, 34] Operation: 7+27=34 Exploring Operation: 90-7=83, Resulting Numbers: [27, 83] Generated Node #0,0,2: 93:[27, 83] Operation: 90-7=83 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[90, 34], Operations: ['44-17=27', '7+27=34'] Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,93 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[27, 97], Operations: ['44-17=27', '7+90=97'] Exploring Operation: 27*97=2619, Resulting Numbers: [2619] 2619,93 unequal: No Solution Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 27+97=124, Resulting Numbers: [124] 124,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[27, 83], Operations: ['44-17=27', '90-7=83'] Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,93 unequal: No Solution Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[90, 17, 37], Operations: ['44-7=37'] Exploring Operation: 90+17=107, Resulting Numbers: [37, 107] Generated Node #0,1,0: 93:[37, 107] Operation: 90+17=107 Exploring Operation: 37-17=20, Resulting Numbers: [90, 20] Generated Node #0,1,1: 93:[90, 20] Operation: 37-17=20 Exploring Operation: 90-17=73, Resulting Numbers: [37, 73] Generated Node #0,1,2: 93:[37, 73] Operation: 90-17=73 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[90, 20], Operations: ['44-7=37', '37-17=20'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,93 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[37, 107], Operations: ['44-7=37', '90+17=107'] Exploring Operation: 37*107=3959, Resulting Numbers: [3959] 3959,93 unequal: No Solution Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 37+107=144, Resulting Numbers: [144] 144,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[37, 73], Operations: ['44-7=37', '90-17=73'] Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,93 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[90, 44, 24], Operations: ['7+17=24'] Exploring Operation: 44+24=68, Resulting Numbers: [90, 68] Generated Node #0,2,0: 93:[90, 68] Operation: 44+24=68 Exploring Operation: 44-24=20, Resulting Numbers: [90, 20] Generated Node #0,2,1: 93:[90, 20] Operation: 44-24=20 Exploring Operation: 90-44=46, Resulting Numbers: [24, 46] Generated Node #0,2,2: 93:[24, 46] Operation: 90-44=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[90, 20], Operations: ['7+17=24', '44-24=20'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,93 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[24, 46], Operations: ['7+17=24', '90-44=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,93 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[90, 68], Operations: ['7+17=24', '44+24=68'] Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,93 unequal: No Solution Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,93 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 7, 66, 1, 34 ]
61
[ "1+34=35", "35/7=5", "66-5=61" ]
Current State: 61:[7, 66, 1, 34], Operations: [] Exploring Operation: 1+34=35, Resulting Numbers: [7, 66, 35] Generated Node #2: [7, 66, 35] from Operation: 1+34=35 Current State: 61:[7, 66, 35], Operations: ['1+34=35'] Exploring Operation: 35/7=5, Resulting Numbers: [66, 5] Generated Node #3: [66, 5] from Operation: 35/7=5 Current State: 61:[66, 5], Operations: ['1+34=35', '35/7=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[7, 66, 1, 34], Operations: [] Exploring Operation: 7+1=8, Resulting Numbers: [66, 34, 8] Generated Node #0,0: 61:[66, 34, 8] Operation: 7+1=8 Exploring Operation: 7+34=41, Resulting Numbers: [66, 1, 41] Generated Node #0,1: 61:[66, 1, 41] Operation: 7+34=41 Moving to Node #0,0 Current State: 61:[66, 34, 8], Operations: ['7+1=8'] Exploring Operation: 34+8=42, Resulting Numbers: [66, 42] Generated Node #0,0,0: 61:[66, 42] Operation: 34+8=42 Exploring Operation: 66-8=58, Resulting Numbers: [34, 58] Generated Node #0,0,1: 61:[34, 58] Operation: 66-8=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[66, 42], Operations: ['7+1=8', '34+8=42'] Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[34, 58], Operations: ['7+1=8', '66-8=58'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[66, 1, 41], Operations: ['7+34=41'] Exploring Operation: 66-1=65, Resulting Numbers: [41, 65] Generated Node #0,1,0: 61:[41, 65] Operation: 66-1=65 Exploring Operation: 1+41=42, Resulting Numbers: [66, 42] Generated Node #0,1,1: 61:[66, 42] Operation: 1+41=42 Moving to Node #0,1,0 Current State: 61:[41, 65], Operations: ['7+34=41', '66-1=65'] Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[66, 42], Operations: ['7+34=41', '1+41=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 81, 40, 48 ]
16
[ "78*40=3120", "3120/48=65", "81-65=16" ]
Current State: 16:[78, 81, 40, 48], Operations: [] Exploring Operation: 78*40=3120, Resulting Numbers: [81, 48, 3120] Generated Node #2: [81, 48, 3120] from Operation: 78*40=3120 Current State: 16:[81, 48, 3120], Operations: ['78*40=3120'] Exploring Operation: 3120/48=65, Resulting Numbers: [81, 65] Generated Node #3: [81, 65] from Operation: 3120/48=65 Current State: 16:[81, 65], Operations: ['78*40=3120', '3120/48=65'] Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[78, 81, 40, 48], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [40, 48, 3] Generated Node #0,0: 16:[40, 48, 3] Operation: 81-78=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[40, 48, 3], Operations: ['81-78=3'] Exploring Operation: 48-40=8, Resulting Numbers: [3, 8] Generated Node #0,0,0: 16:[3, 8] Operation: 48-40=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[3, 8], Operations: ['81-78=3', '48-40=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,16 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
[ 25, 51, 9, 3 ]
53
[ "51-25=26", "9*3=27", "26+27=53" ]
Current State: 53:[25, 51, 9, 3], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [9, 3, 26] Generated Node #2: [9, 3, 26] from Operation: 51-25=26 Current State: 53:[9, 3, 26], Operations: ['51-25=26'] Exploring Operation: 9*3=27, Resulting Numbers: [26, 27] Generated Node #3: [26, 27] from Operation: 9*3=27 Current State: 53:[26, 27], Operations: ['51-25=26', '9*3=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[25, 51, 9, 3], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [25, 51, 27] Generated Node #0,0: 53:[25, 51, 27] Operation: 9*3=27 Exploring Operation: 25+9=34, Resulting Numbers: [51, 3, 34] Generated Node #0,1: 53:[51, 3, 34] Operation: 25+9=34 Exploring Operation: 25*3=75, Resulting Numbers: [51, 9, 75] Generated Node #0,2: 53:[51, 9, 75] Operation: 25*3=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[25, 51, 27], Operations: ['9*3=27'] Exploring Operation: 25+51=76, Resulting Numbers: [27, 76] Generated Node #0,0,0: 53:[27, 76] Operation: 25+51=76 Exploring Operation: 25+27=52, Resulting Numbers: [51, 52] Generated Node #0,0,1: 53:[51, 52] Operation: 25+27=52 Exploring Operation: 51-25=26, Resulting Numbers: [27, 26] Generated Node #0,0,2: 53:[27, 26] Operation: 51-25=26 Moving to Node #0,0,1 Current State: 53:[51, 52], Operations: ['9*3=27', '25+27=52'] Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[27, 76], Operations: ['9*3=27', '25+51=76'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,53 unequal: No Solution Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[27, 26], Operations: ['9*3=27', '51-25=26'] Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[25, 51, 9, 3], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [25, 51, 27] Generated Node #0,0: 53:[25, 51, 27] Operation: 9*3=27 Moving to Node #0,0 Current State: 53:[25, 51, 27], Operations: ['9*3=27'] Exploring Operation: 51-25=26, Resulting Numbers: [27, 26] Generated Node #0,0,2: 53:[27, 26] Operation: 51-25=26 Moving to Node #0,0,2 Current State: 53:[27, 26], Operations: ['9*3=27', '51-25=26'] Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 18, 54, 33, 46 ]
10
[ "54/18=3", "46-33=13", "13-3=10" ]
Current State: 10:[18, 54, 33, 46], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [33, 46, 3] Generated Node #2: [33, 46, 3] from Operation: 54/18=3 Current State: 10:[33, 46, 3], Operations: ['54/18=3'] Exploring Operation: 46-33=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 46-33=13 Current State: 10:[3, 13], Operations: ['54/18=3', '46-33=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[18, 54, 33, 46], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [18, 54, 13] Generated Node #0,0: 10:[18, 54, 13] Operation: 46-33=13 Exploring Operation: 54-33=21, Resulting Numbers: [18, 46, 21] Generated Node #0,1: 10:[18, 46, 21] Operation: 54-33=21 Exploring Operation: 54-46=8, Resulting Numbers: [18, 33, 8] Generated Node #0,2: 10:[18, 33, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[18, 33, 8], Operations: ['54-46=8'] Exploring Operation: 18-8=10, Resulting Numbers: [33, 10] Generated Node #0,2,0: 10:[33, 10] Operation: 18-8=10 Exploring Operation: 33-18=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 10:[8, 15] Operation: 33-18=15 Exploring Operation: 33-8=25, Resulting Numbers: [18, 25] Generated Node #0,2,2: 10:[18, 25] Operation: 33-8=25 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[8, 15], Operations: ['54-46=8', '33-18=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[33, 10], Operations: ['54-46=8', '18-8=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,10 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[18, 25], Operations: ['54-46=8', '33-8=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[18, 54, 13], Operations: ['46-33=13'] Exploring Operation: 54-13=41, Resulting Numbers: [18, 41] Generated Node #0,0,0: 10:[18, 41] Operation: 54-13=41 Exploring Operation: 54-18=36, Resulting Numbers: [13, 36] Generated Node #0,0,1: 10:[13, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [13, 3] Generated Node #0,0,2: 10:[13, 3] Operation: 54/18=3 Moving to Node #0,0,2 Current State: 10:[13, 3], Operations: ['46-33=13', '54/18=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[18, 54, 33, 46], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [18, 54, 13] Generated Node #0,0: 10:[18, 54, 13] Operation: 46-33=13 Moving to Node #0,0 Current State: 10:[18, 54, 13], Operations: ['46-33=13'] Exploring Operation: 54/18=3, Resulting Numbers: [13, 3] Generated Node #0,0,2: 10:[13, 3] Operation: 54/18=3 Moving to Node #0,0,2 Current State: 10:[13, 3], Operations: ['46-33=13', '54/18=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 83, 97, 23, 57 ]
66
[ "97-83=14", "23+57=80", "80-14=66" ]
Current State: 66:[83, 97, 23, 57], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [23, 57, 14] Generated Node #2: [23, 57, 14] from Operation: 97-83=14 Current State: 66:[23, 57, 14], Operations: ['97-83=14'] Exploring Operation: 23+57=80, Resulting Numbers: [14, 80] Generated Node #3: [14, 80] from Operation: 23+57=80 Current State: 66:[14, 80], Operations: ['97-83=14', '23+57=80'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[83, 97, 23, 57], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [97, 23, 26] Generated Node #0,0: 66:[97, 23, 26] Operation: 83-57=26 Exploring Operation: 97-83=14, Resulting Numbers: [23, 57, 14] Generated Node #0,1: 66:[23, 57, 14] Operation: 97-83=14 Exploring Operation: 83-23=60, Resulting Numbers: [97, 57, 60] Generated Node #0,2: 66:[97, 57, 60] Operation: 83-23=60 Exploring Operation: 97-57=40, Resulting Numbers: [83, 23, 40] Generated Node #0,3: 66:[83, 23, 40] Operation: 97-57=40 Exploring Operation: 97-23=74, Resulting Numbers: [83, 57, 74] Generated Node #0,4: 66:[83, 57, 74] Operation: 97-23=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[23, 57, 14], Operations: ['97-83=14'] Exploring Operation: 23+14=37, Resulting Numbers: [57, 37] Generated Node #0,1,0: 66:[57, 37] Operation: 23+14=37 Exploring Operation: 57-23=34, Resulting Numbers: [14, 34] Generated Node #0,1,1: 66:[14, 34] Operation: 57-23=34 Exploring Operation: 57-14=43, Resulting Numbers: [23, 43] Generated Node #0,1,2: 66:[23, 43] Operation: 57-14=43 Exploring Operation: 23-14=9, Resulting Numbers: [57, 9] Generated Node #0,1,3: 66:[57, 9] Operation: 23-14=9 Exploring Operation: 57+14=71, Resulting Numbers: [23, 71] Generated Node #0,1,4: 66:[23, 71] Operation: 57+14=71 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[14, 34], Operations: ['97-83=14', '57-23=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 66:[23, 71], Operations: ['97-83=14', '57+14=71'] Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,66 unequal: No Solution Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[23, 43], Operations: ['97-83=14', '57-14=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[83, 97, 23, 57], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [23, 57, 14] Generated Node #0,1: 66:[23, 57, 14] Operation: 97-83=14 Moving to Node #0,1 Current State: 66:[23, 57, 14], Operations: ['97-83=14'] Exploring Operation: 57-14=43, Resulting Numbers: [23, 43] Generated Node #0,1,2: 66:[23, 43] Operation: 57-14=43 Moving to Node #0,1,2 Current State: 66:[23, 43], Operations: ['97-83=14', '57-14=43'] Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 81, 3, 94, 45 ]
29
[ "81-3=78", "94-45=49", "78-49=29" ]
Current State: 29:[81, 3, 94, 45], Operations: [] Exploring Operation: 81-3=78, Resulting Numbers: [94, 45, 78] Generated Node #2: [94, 45, 78] from Operation: 81-3=78 Current State: 29:[94, 45, 78], Operations: ['81-3=78'] Exploring Operation: 94-45=49, Resulting Numbers: [78, 49] Generated Node #3: [78, 49] from Operation: 94-45=49 Current State: 29:[78, 49], Operations: ['81-3=78', '94-45=49'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[81, 3, 94, 45], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [3, 45, 13] Generated Node #0,0: 29:[3, 45, 13] Operation: 94-81=13 Exploring Operation: 81-45=36, Resulting Numbers: [3, 94, 36] Generated Node #0,1: 29:[3, 94, 36] Operation: 81-45=36 Exploring Operation: 81/3=27, Resulting Numbers: [94, 45, 27] Generated Node #0,2: 29:[94, 45, 27] Operation: 81/3=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[3, 45, 13], Operations: ['94-81=13'] Exploring Operation: 3+13=16, Resulting Numbers: [45, 16] Generated Node #0,0,0: 29:[45, 16] Operation: 3+13=16 Exploring Operation: 45-3=42, Resulting Numbers: [13, 42] Generated Node #0,0,1: 29:[13, 42] Operation: 45-3=42 Exploring Operation: 3*13=39, Resulting Numbers: [45, 39] Generated Node #0,0,2: 29:[45, 39] Operation: 3*13=39 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[45, 39], Operations: ['94-81=13', '3*13=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[45, 16], Operations: ['94-81=13', '3+13=16'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[81, 3, 94, 45], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [3, 45, 13] Generated Node #0,0: 29:[3, 45, 13] Operation: 94-81=13 Moving to Node #0,0 Current State: 29:[3, 45, 13], Operations: ['94-81=13'] Exploring Operation: 3+13=16, Resulting Numbers: [45, 16] Generated Node #0,0,0: 29:[45, 16] Operation: 3+13=16 Moving to Node #0,0,0 Current State: 29:[45, 16], Operations: ['94-81=13', '3+13=16'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 82, 68, 60, 23 ]
97
[ "82-68=14", "60+23=83", "14+83=97" ]
Current State: 97:[82, 68, 60, 23], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [60, 23, 14] Generated Node #2: [60, 23, 14] from Operation: 82-68=14 Current State: 97:[60, 23, 14], Operations: ['82-68=14'] Exploring Operation: 60+23=83, Resulting Numbers: [14, 83] Generated Node #3: [14, 83] from Operation: 60+23=83 Current State: 97:[14, 83], Operations: ['82-68=14', '60+23=83'] Exploring Operation: 14+83=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[82, 68, 60, 23], Operations: [] Exploring Operation: 68+23=91, Resulting Numbers: [82, 60, 91] Generated Node #0,0: 97:[82, 60, 91] Operation: 68+23=91 Exploring Operation: 60+23=83, Resulting Numbers: [82, 68, 83] Generated Node #0,1: 97:[82, 68, 83] Operation: 60+23=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[82, 60, 91], Operations: ['68+23=91'] Exploring Operation: 82+60=142, Resulting Numbers: [91, 142] Generated Node #0,0,0: 97:[91, 142] Operation: 82+60=142 Exploring Operation: 60+91=151, Resulting Numbers: [82, 151] Generated Node #0,0,1: 97:[82, 151] Operation: 60+91=151 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[91, 142], Operations: ['68+23=91', '82+60=142'] Exploring Operation: 142-91=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 91+142=233, Resulting Numbers: [233] 233,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:[82, 151], Operations: ['68+23=91', '60+91=151'] Exploring Operation: 151-82=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 82+151=233, Resulting Numbers: [233] 233,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:[82, 68, 83], Operations: ['60+23=83'] Exploring Operation: 82+68=150, Resulting Numbers: [83, 150] Generated Node #0,1,0: 97:[83, 150] Operation: 82+68=150 Exploring Operation: 68+83=151, Resulting Numbers: [82, 151] Generated Node #0,1,1: 97:[82, 151] Operation: 68+83=151 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[83, 150], Operations: ['60+23=83', '82+68=150'] Exploring Operation: 150-83=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 83+150=233, Resulting Numbers: [233] 233,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,1,1 Current State: 97:[82, 151], Operations: ['60+23=83', '68+83=151'] Exploring Operation: 151-82=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 82+151=233, Resulting Numbers: [233] 233,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 82, 86, 38, 41 ]
10
[ "82*38=3116", "3116/41=76", "86-76=10" ]
Current State: 10:[82, 86, 38, 41], Operations: [] Exploring Operation: 82*38=3116, Resulting Numbers: [86, 41, 3116] Generated Node #2: [86, 41, 3116] from Operation: 82*38=3116 Current State: 10:[86, 41, 3116], Operations: ['82*38=3116'] Exploring Operation: 3116/41=76, Resulting Numbers: [86, 76] Generated Node #3: [86, 76] from Operation: 3116/41=76 Current State: 10:[86, 76], Operations: ['82*38=3116', '3116/41=76'] Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[82, 86, 38, 41], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [38, 41, 4] Generated Node #0,0: 10:[38, 41, 4] Operation: 86-82=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[38, 41, 4], Operations: ['86-82=4'] Exploring Operation: 41-38=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 10:[4, 3] Operation: 41-38=3 Moving to Node #0,0,0 Current State: 10:[4, 3], Operations: ['86-82=4', '41-38=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,10 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
[ 21, 92, 13, 29 ]
39
[ "92-29=63", "63/21=3", "13*3=39" ]
Current State: 39:[21, 92, 13, 29], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [21, 13, 63] Generated Node #2: [21, 13, 63] from Operation: 92-29=63 Current State: 39:[21, 13, 63], Operations: ['92-29=63'] Exploring Operation: 63/21=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 63/21=3 Current State: 39:[13, 3], Operations: ['92-29=63', '63/21=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[21, 92, 13, 29], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [21, 13, 63] Generated Node #0,0: 39:[21, 13, 63] Operation: 92-29=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[21, 13, 63], Operations: ['92-29=63'] Exploring Operation: 63/21=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 63/21=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['92-29=63', '63/21=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[21, 92, 13, 29], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [21, 13, 63] Generated Node #0,0: 39:[21, 13, 63] Operation: 92-29=63 Moving to Node #0,0 Current State: 39:[21, 13, 63], Operations: ['92-29=63'] Exploring Operation: 63/21=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 63/21=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['92-29=63', '63/21=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 74, 75, 2, 84 ]
70
[ "84-74=10", "10/2=5", "75-5=70" ]
Current State: 70:[74, 75, 2, 84], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [75, 2, 10] Generated Node #2: [75, 2, 10] from Operation: 84-74=10 Current State: 70:[75, 2, 10], Operations: ['84-74=10'] Exploring Operation: 10/2=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 10/2=5 Current State: 70:[75, 5], Operations: ['84-74=10', '10/2=5'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[74, 75, 2, 84], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [74, 2, 9] Generated Node #0,0: 70:[74, 2, 9] Operation: 84-75=9 Exploring Operation: 75-74=1, Resulting Numbers: [2, 84, 1] Generated Node #0,1: 70:[2, 84, 1] Operation: 75-74=1 Exploring Operation: 84-74=10, Resulting Numbers: [75, 2, 10] Generated Node #0,2: 70:[75, 2, 10] Operation: 84-74=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[74, 2, 9], Operations: ['84-75=9'] Exploring Operation: 74/2=37, Resulting Numbers: [9, 37] Generated Node #0,0,0: 70:[9, 37] Operation: 74/2=37 Exploring Operation: 74-2=72, Resulting Numbers: [9, 72] Generated Node #0,0,1: 70:[9, 72] Operation: 74-2=72 Exploring Operation: 9-2=7, Resulting Numbers: [74, 7] Generated Node #0,0,2: 70:[74, 7] Operation: 9-2=7 Moving to Node #0,0,0 Current State: 70:[9, 37], Operations: ['84-75=9', '74/2=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,70 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[9, 72], Operations: ['84-75=9', '74-2=72'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[74, 7], Operations: ['84-75=9', '9-2=7'] Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,70 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,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:[75, 2, 10], Operations: ['84-74=10'] Exploring Operation: 10/2=5, Resulting Numbers: [75, 5] Generated Node #0,2,0: 70:[75, 5] Operation: 10/2=5 Exploring Operation: 75-2=73, Resulting Numbers: [10, 73] Generated Node #0,2,1: 70:[10, 73] Operation: 75-2=73 Exploring Operation: 75-10=65, Resulting Numbers: [2, 65] Generated Node #0,2,2: 70:[2, 65] Operation: 75-10=65 Moving to Node #0,2,1 Current State: 70:[10, 73], Operations: ['84-74=10', '75-2=73'] Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 10*73=730, Resulting Numbers: [730] 730,70 unequal: No Solution Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[75, 5], Operations: ['84-74=10', '10/2=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[74, 75, 2, 84], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [75, 2, 10] Generated Node #0,2: 70:[75, 2, 10] Operation: 84-74=10 Moving to Node #0,2 Current State: 70:[75, 2, 10], Operations: ['84-74=10'] Exploring Operation: 10/2=5, Resulting Numbers: [75, 5] Generated Node #0,2,0: 70:[75, 5] Operation: 10/2=5 Moving to Node #0,2,0 Current State: 70:[75, 5], Operations: ['84-74=10', '10/2=5'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 76, 38, 43, 19 ]
41
[ "76-38=38", "38/19=2", "43-2=41" ]
Current State: 41:[76, 38, 43, 19], Operations: [] Exploring Operation: 76-38=38, Resulting Numbers: [43, 19, 38] Generated Node #2: [43, 19, 38] from Operation: 76-38=38 Current State: 41:[43, 19, 38], Operations: ['76-38=38'] Exploring Operation: 38/19=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 38/19=2 Current State: 41:[43, 2], Operations: ['76-38=38', '38/19=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[76, 38, 43, 19], Operations: [] Exploring Operation: 76-38=38, Resulting Numbers: [43, 19, 38] Generated Node #0,0: 41:[43, 19, 38] Operation: 76-38=38 Exploring Operation: 76-19=57, Resulting Numbers: [38, 43, 57] Generated Node #0,1: 41:[38, 43, 57] Operation: 76-19=57 Exploring Operation: 76-43=33, Resulting Numbers: [38, 19, 33] Generated Node #0,2: 41:[38, 19, 33] Operation: 76-43=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[38, 43, 57], Operations: ['76-19=57'] Exploring Operation: 43-38=5, Resulting Numbers: [57, 5] Generated Node #0,1,0: 41:[57, 5] Operation: 43-38=5 Exploring Operation: 57-38=19, Resulting Numbers: [43, 19] Generated Node #0,1,1: 41:[43, 19] Operation: 57-38=19 Exploring Operation: 57-43=14, Resulting Numbers: [38, 14] Generated Node #0,1,2: 41:[38, 14] Operation: 57-43=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[43, 19], Operations: ['76-19=57', '57-38=19'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,41 unequal: No Solution Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[38, 14], Operations: ['76-19=57', '57-43=14'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,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,0 Current State: 41:[57, 5], Operations: ['76-19=57', '43-38=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,41 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[43, 19, 38], Operations: ['76-38=38'] Exploring Operation: 43+19=62, Resulting Numbers: [38, 62] Generated Node #0,0,0: 41:[38, 62] Operation: 43+19=62 Exploring Operation: 43-19=24, Resulting Numbers: [38, 24] Generated Node #0,0,1: 41:[38, 24] Operation: 43-19=24 Exploring Operation: 19+38=57, Resulting Numbers: [43, 57] Generated Node #0,0,2: 41:[43, 57] Operation: 19+38=57 Moving to Node #0,0,2 Current State: 41:[43, 57], Operations: ['76-38=38', '19+38=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,41 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[38, 24], Operations: ['76-38=38', '43-19=24'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[38, 62], Operations: ['76-38=38', '43+19=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,41 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[38, 19, 33], Operations: ['76-43=33'] Exploring Operation: 38+19=57, Resulting Numbers: [33, 57] Generated Node #0,2,0: 41:[33, 57] Operation: 38+19=57 Exploring Operation: 38-19=19, Resulting Numbers: [33, 19] Generated Node #0,2,1: 41:[33, 19] Operation: 38-19=19 Exploring Operation: 19+33=52, Resulting Numbers: [38, 52] Generated Node #0,2,2: 41:[38, 52] Operation: 19+33=52 Moving to Node #0,2,2 Current State: 41:[38, 52], Operations: ['76-43=33', '19+33=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[33, 57], Operations: ['76-43=33', '38+19=57'] Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,41 unequal: No Solution Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[33, 19], Operations: ['76-43=33', '38-19=19'] Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,41 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,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
mult_heuristic
[ 40, 22, 27, 25 ]
42
[ "27-25=2", "40/2=20", "22+20=42" ]
Current State: 42:[40, 22, 27, 25], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [40, 22, 2] Generated Node #2: [40, 22, 2] from Operation: 27-25=2 Current State: 42:[40, 22, 2], Operations: ['27-25=2'] Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #3: [22, 20] from Operation: 40/2=20 Current State: 42:[22, 20], Operations: ['27-25=2', '40/2=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[40, 22, 27, 25], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [22, 25, 13] Generated Node #0,0: 42:[22, 25, 13] Operation: 40-27=13 Exploring Operation: 27-25=2, Resulting Numbers: [40, 22, 2] Generated Node #0,1: 42:[40, 22, 2] Operation: 27-25=2 Moving to Node #0,1 Current State: 42:[40, 22, 2], Operations: ['27-25=2'] Exploring Operation: 40+2=42, Resulting Numbers: [22, 42] Generated Node #0,1,0: 42:[22, 42] Operation: 40+2=42 Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 42:[22, 20] Operation: 40/2=20 Moving to Node #0,0 Current State: 42:[22, 25, 13], Operations: ['40-27=13'] Exploring Operation: 25-13=12, Resulting Numbers: [22, 12] Generated Node #0,0,0: 42:[22, 12] Operation: 25-13=12 Exploring Operation: 25-22=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 42:[13, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[13, 3], Operations: ['40-27=13', '25-22=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[22, 12], Operations: ['40-27=13', '25-13=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,42 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: 42:[22, 42], Operations: ['27-25=2', '40+2=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[22, 20], Operations: ['27-25=2', '40/2=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[40, 22, 27, 25], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [40, 22, 2] Generated Node #0,1: 42:[40, 22, 2] Operation: 27-25=2 Moving to Node #0,1 Current State: 42:[40, 22, 2], Operations: ['27-25=2'] Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 42:[22, 20] Operation: 40/2=20 Moving to Node #0,1,1 Current State: 42:[22, 20], Operations: ['27-25=2', '40/2=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 26, 28, 63, 9 ]
57
[ "26+28=54", "54/9=6", "63-6=57" ]
Current State: 57:[26, 28, 63, 9], Operations: [] Exploring Operation: 26+28=54, Resulting Numbers: [63, 9, 54] Generated Node #2: [63, 9, 54] from Operation: 26+28=54 Current State: 57:[63, 9, 54], Operations: ['26+28=54'] Exploring Operation: 54/9=6, Resulting Numbers: [63, 6] Generated Node #3: [63, 6] from Operation: 54/9=6 Current State: 57:[63, 6], Operations: ['26+28=54', '54/9=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[26, 28, 63, 9], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [63, 9, 2] Generated Node #0,0: 57:[63, 9, 2] Operation: 28-26=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[63, 9, 2], Operations: ['28-26=2'] Exploring Operation: 63-9=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 57:[2, 54] Operation: 63-9=54 Moving to Node #0,0,0 Current State: 57:[2, 54], Operations: ['28-26=2', '63-9=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,57 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
[ 26, 13, 13, 39 ]
10
[ "26-13=13", "39/13=3", "13-3=10" ]
Current State: 10:[26, 13, 13, 39], Operations: [] Exploring Operation: 26-13=13, Resulting Numbers: [39, 13] Generated Node #2: [39, 13] from Operation: 26-13=13 Current State: 10:[39, 13], Operations: ['26-13=13'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,10 equal: Goal Reached Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[26, 13, 13, 39], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [26, 13, 3] Generated Node #0,0: 10:[26, 13, 3] Operation: 39/13=3 Exploring Operation: 39-26=13, Resulting Numbers: [13, 13, 13] Generated Node #0,1: 10:[13, 13, 13] Operation: 39-26=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[13, 13, 13], Operations: ['39-26=13'] Exploring Operation: 13/13=1, Resulting Numbers: [13, 1] Generated Node #0,1,0: 10:[13, 1] Operation: 13/13=1 Exploring Operation: 13/13=1, Resulting Numbers: [13, 1] Generated Node #0,1,1: 10:[13, 1] Operation: 13/13=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[13, 1], Operations: ['39-26=13', '13/13=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[13, 1], Operations: ['39-26=13', '13/13=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[26, 13, 3], Operations: ['39/13=3'] Exploring Operation: 26-13=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 10:[3, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 10:[3, 2] Operation: 26/13=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[3, 2], Operations: ['39/13=3', '26/13=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[3, 13], Operations: ['39/13=3', '26-13=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[26, 13, 13, 39], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [26, 13, 3] Generated Node #0,0: 10:[26, 13, 3] Operation: 39/13=3 Moving to Node #0,0 Current State: 10:[26, 13, 3], Operations: ['39/13=3'] Exploring Operation: 26-13=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 10:[3, 13] Operation: 26-13=13 Moving to Node #0,0,0 Current State: 10:[3, 13], Operations: ['39/13=3', '26-13=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 8, 55, 59, 82 ]
86
[ "8+55=63", "82-59=23", "63+23=86" ]
Current State: 86:[8, 55, 59, 82], Operations: [] Exploring Operation: 8+55=63, Resulting Numbers: [59, 82, 63] Generated Node #2: [59, 82, 63] from Operation: 8+55=63 Current State: 86:[59, 82, 63], Operations: ['8+55=63'] Exploring Operation: 82-59=23, Resulting Numbers: [63, 23] Generated Node #3: [63, 23] from Operation: 82-59=23 Current State: 86:[63, 23], Operations: ['8+55=63', '82-59=23'] Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[8, 55, 59, 82], Operations: [] Exploring Operation: 55-8=47, Resulting Numbers: [59, 82, 47] Generated Node #0,0: 86:[59, 82, 47] Operation: 55-8=47 Exploring Operation: 8+82=90, Resulting Numbers: [55, 59, 90] Generated Node #0,1: 86:[55, 59, 90] Operation: 8+82=90 Exploring Operation: 59-8=51, Resulting Numbers: [55, 82, 51] Generated Node #0,2: 86:[55, 82, 51] Operation: 59-8=51 Exploring Operation: 59-55=4, Resulting Numbers: [8, 82, 4] Generated Node #0,3: 86:[8, 82, 4] Operation: 59-55=4 Moving to Node #0,3 Current State: 86:[8, 82, 4], Operations: ['59-55=4'] Exploring Operation: 8/4=2, Resulting Numbers: [82, 2] Generated Node #0,3,0: 86:[82, 2] Operation: 8/4=2 Exploring Operation: 8+82=90, Resulting Numbers: [4, 90] Generated Node #0,3,1: 86:[4, 90] Operation: 8+82=90 Exploring Operation: 82+4=86, Resulting Numbers: [8, 86] Generated Node #0,3,2: 86:[8, 86] Operation: 82+4=86 Exploring Operation: 8-4=4, Resulting Numbers: [82, 4] Generated Node #0,3,3: 86:[82, 4] Operation: 8-4=4 Moving to Node #0,2 Current State: 86:[55, 82, 51], Operations: ['59-8=51'] Exploring Operation: 55+51=106, Resulting Numbers: [82, 106] Generated Node #0,2,0: 86:[82, 106] Operation: 55+51=106 Exploring Operation: 82-55=27, Resulting Numbers: [51, 27] Generated Node #0,2,1: 86:[51, 27] Operation: 82-55=27 Exploring Operation: 55-51=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 86:[82, 4] Operation: 55-51=4 Exploring Operation: 82-51=31, Resulting Numbers: [55, 31] Generated Node #0,2,3: 86:[55, 31] Operation: 82-51=31 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[82, 4], Operations: ['59-8=51', '55-51=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,86 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,86 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[8, 55, 59, 82], Operations: [] Exploring Operation: 59-8=51, Resulting Numbers: [55, 82, 51] Generated Node #0,2: 86:[55, 82, 51] Operation: 59-8=51 Moving to Node #0,2 Current State: 86:[55, 82, 51], Operations: ['59-8=51'] Exploring Operation: 55-51=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 86:[82, 4] Operation: 55-51=4 Moving to Node #0,2,2 Current State: 86:[82, 4], Operations: ['59-8=51', '55-51=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 88, 74, 64, 22 ]
14
[ "88/22=4", "74-64=10", "4+10=14" ]
Current State: 14:[88, 74, 64, 22], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [74, 64, 4] Generated Node #2: [74, 64, 4] from Operation: 88/22=4 Current State: 14:[74, 64, 4], Operations: ['88/22=4'] Exploring Operation: 74-64=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 74-64=10 Current State: 14:[4, 10], Operations: ['88/22=4', '74-64=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[88, 74, 64, 22], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [64, 22, 14] Generated Node #0,0: 14:[64, 22, 14] Operation: 88-74=14 Moving to Node #0,0 Current State: 14:[64, 22, 14], Operations: ['88-74=14'] Exploring Operation: 64-22=42, Resulting Numbers: [14, 42] Generated Node #0,0,0: 14:[14, 42] Operation: 64-22=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[14, 42], Operations: ['88-74=14', '64-22=42'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,14 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
[ 75, 8, 9, 36 ]
63
[ "75-8=67", "36/9=4", "67-4=63" ]
Current State: 63:[75, 8, 9, 36], Operations: [] Exploring Operation: 75-8=67, Resulting Numbers: [9, 36, 67] Generated Node #2: [9, 36, 67] from Operation: 75-8=67 Current State: 63:[9, 36, 67], Operations: ['75-8=67'] Exploring Operation: 36/9=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 36/9=4 Current State: 63:[67, 4], Operations: ['75-8=67', '36/9=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[75, 8, 9, 36], Operations: [] Exploring Operation: 75-8=67, Resulting Numbers: [9, 36, 67] Generated Node #0,0: 63:[9, 36, 67] Operation: 75-8=67 Exploring Operation: 75-36=39, Resulting Numbers: [8, 9, 39] Generated Node #0,1: 63:[8, 9, 39] Operation: 75-36=39 Exploring Operation: 75-9=66, Resulting Numbers: [8, 36, 66] Generated Node #0,2: 63:[8, 36, 66] Operation: 75-9=66 Exploring Operation: 36-8=28, Resulting Numbers: [75, 9, 28] Generated Node #0,3: 63:[75, 9, 28] Operation: 36-8=28 Exploring Operation: 36/9=4, Resulting Numbers: [75, 8, 4] Generated Node #0,4: 63:[75, 8, 4] Operation: 36/9=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[75, 8, 4], Operations: ['36/9=4'] Exploring Operation: 75-4=71, Resulting Numbers: [8, 71] Generated Node #0,4,0: 63:[8, 71] Operation: 75-4=71 Exploring Operation: 8+4=12, Resulting Numbers: [75, 12] Generated Node #0,4,1: 63:[75, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [75, 4] Generated Node #0,4,2: 63:[75, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [75, 2] Generated Node #0,4,3: 63:[75, 2] Operation: 8/4=2 Exploring Operation: 75-8=67, Resulting Numbers: [4, 67] Generated Node #0,4,4: 63:[4, 67] Operation: 75-8=67 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 63:[4, 67], Operations: ['36/9=4', '75-8=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[75, 8, 9, 36], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [75, 8, 4] Generated Node #0,4: 63:[75, 8, 4] Operation: 36/9=4 Moving to Node #0,4 Current State: 63:[75, 8, 4], Operations: ['36/9=4'] Exploring Operation: 75-8=67, Resulting Numbers: [4, 67] Generated Node #0,4,4: 63:[4, 67] Operation: 75-8=67 Moving to Node #0,4,4 Current State: 63:[4, 67], Operations: ['36/9=4', '75-8=67'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 9, 84, 46, 42 ]
28
[ "9*84=756", "756/42=18", "46-18=28" ]
Current State: 28:[9, 84, 46, 42], Operations: [] Exploring Operation: 9*84=756, Resulting Numbers: [46, 42, 756] Generated Node #2: [46, 42, 756] from Operation: 9*84=756 Current State: 28:[46, 42, 756], Operations: ['9*84=756'] Exploring Operation: 756/42=18, Resulting Numbers: [46, 18] Generated Node #3: [46, 18] from Operation: 756/42=18 Current State: 28:[46, 18], Operations: ['9*84=756', '756/42=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[9, 84, 46, 42], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [9, 42, 38] Generated Node #0,0: 28:[9, 42, 38] Operation: 84-46=38 Exploring Operation: 84/42=2, Resulting Numbers: [9, 46, 2] Generated Node #0,1: 28:[9, 46, 2] Operation: 84/42=2 Moving to Node #0,1 Current State: 28:[9, 46, 2], Operations: ['84/42=2'] 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 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[9, 23], Operations: ['84/42=2', '46/2=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[2, 37], Operations: ['84/42=2', '46-9=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,28 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: 28:[9, 42, 38], Operations: ['84-46=38'] Exploring Operation: 42-9=33, Resulting Numbers: [38, 33] Generated Node #0,0,0: 28:[38, 33] Operation: 42-9=33 Exploring Operation: 42-38=4, Resulting Numbers: [9, 4] Generated Node #0,0,1: 28:[9, 4] Operation: 42-38=4 Moving to Node #0,0,1 Current State: 28:[9, 4], Operations: ['84-46=38', '42-38=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[38, 33], Operations: ['84-46=38', '42-9=33'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,28 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 28, 33, 26, 50 ]
99
[ "28+50=78", "33*78=2574", "2574/26=99" ]
Current State: 99:[28, 33, 26, 50], Operations: [] Exploring Operation: 28+50=78, Resulting Numbers: [33, 26, 78] Generated Node #2: [33, 26, 78] from Operation: 28+50=78 Current State: 99:[33, 26, 78], Operations: ['28+50=78'] Exploring Operation: 33*78=2574, Resulting Numbers: [26, 2574] Generated Node #3: [26, 2574] from Operation: 33*78=2574 Current State: 99:[26, 2574], Operations: ['28+50=78', '33*78=2574'] Exploring Operation: 2574/26=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[28, 33, 26, 50], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [33, 50, 2] Generated Node #0,0: 99:[33, 50, 2] Operation: 28-26=2 Exploring Operation: 50-28=22, Resulting Numbers: [33, 26, 22] Generated Node #0,1: 99:[33, 26, 22] Operation: 50-28=22 Exploring Operation: 50-26=24, Resulting Numbers: [28, 33, 24] Generated Node #0,2: 99:[28, 33, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[28, 33, 24], Operations: ['50-26=24'] Exploring Operation: 33-24=9, Resulting Numbers: [28, 9] Generated Node #0,2,0: 99:[28, 9] Operation: 33-24=9 Exploring Operation: 28-24=4, Resulting Numbers: [33, 4] Generated Node #0,2,1: 99:[33, 4] Operation: 28-24=4 Exploring Operation: 33-28=5, Resulting Numbers: [24, 5] Generated Node #0,2,2: 99:[24, 5] Operation: 33-28=5 Moving to Node #0,2,1 Current State: 99:[33, 4], Operations: ['50-26=24', '28-24=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[28, 9], Operations: ['50-26=24', '33-24=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[24, 5], Operations: ['50-26=24', '33-28=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[33, 50, 2], Operations: ['28-26=2'] Exploring Operation: 50*2=100, Resulting Numbers: [33, 100] Generated Node #0,0,0: 99:[33, 100] Operation: 50*2=100 Exploring Operation: 50-33=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 99:[2, 17] Operation: 50-33=17 Exploring Operation: 50/2=25, Resulting Numbers: [33, 25] Generated Node #0,0,2: 99:[33, 25] Operation: 50/2=25 Moving to Node #0,0,0 Current State: 99:[33, 100], Operations: ['28-26=2', '50*2=100'] Exploring Operation: 33+100=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 33*100=3300, Resulting Numbers: [3300] 3300,99 unequal: No Solution Exploring Operation: 100-33=67, Resulting Numbers: [67] 67,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[2, 17], Operations: ['28-26=2', '50-33=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[33, 25], Operations: ['28-26=2', '50/2=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,99 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[33, 26, 22], Operations: ['50-28=22'] Exploring Operation: 26-22=4, Resulting Numbers: [33, 4] Generated Node #0,1,0: 99:[33, 4] Operation: 26-22=4 Exploring Operation: 33-26=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 99:[22, 7] Operation: 33-26=7 Exploring Operation: 33-22=11, Resulting Numbers: [26, 11] Generated Node #0,1,2: 99:[26, 11] Operation: 33-22=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[33, 4], Operations: ['50-28=22', '26-22=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,99 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[26, 11], Operations: ['50-28=22', '33-22=11'] Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,99 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[22, 7], Operations: ['50-28=22', '33-26=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,99 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 69, 20, 73, 8 ]
12
[ "73-69=4", "8*4=32", "32-20=12" ]
Current State: 12:[69, 20, 73, 8], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [20, 8, 4] Generated Node #2: [20, 8, 4] from Operation: 73-69=4 Current State: 12:[20, 8, 4], Operations: ['73-69=4'] Exploring Operation: 8*4=32, Resulting Numbers: [20, 32] Generated Node #3: [20, 32] from Operation: 8*4=32 Current State: 12:[20, 32], Operations: ['73-69=4', '8*4=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[69, 20, 73, 8], Operations: [] Exploring Operation: 69-8=61, Resulting Numbers: [20, 73, 61] Generated Node #0,0: 12:[20, 73, 61] Operation: 69-8=61 Exploring Operation: 73-69=4, Resulting Numbers: [20, 8, 4] Generated Node #0,1: 12:[20, 8, 4] Operation: 73-69=4 Exploring Operation: 69-20=49, Resulting Numbers: [73, 8, 49] Generated Node #0,2: 12:[73, 8, 49] Operation: 69-20=49 Exploring Operation: 20-8=12, Resulting Numbers: [69, 73, 12] Generated Node #0,3: 12:[69, 73, 12] Operation: 20-8=12 Exploring Operation: 73-20=53, Resulting Numbers: [69, 8, 53] Generated Node #0,4: 12:[69, 8, 53] Operation: 73-20=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[20, 8, 4], Operations: ['73-69=4'] Exploring Operation: 20-4=16, Resulting Numbers: [8, 16] Generated Node #0,1,0: 12:[8, 16] Operation: 20-4=16 Exploring Operation: 8-4=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 12:[20, 4] Operation: 8-4=4 Exploring Operation: 20/4=5, Resulting Numbers: [8, 5] Generated Node #0,1,2: 12:[8, 5] Operation: 20/4=5 Exploring Operation: 20-8=12, Resulting Numbers: [4, 12] Generated Node #0,1,3: 12:[4, 12] Operation: 20-8=12 Exploring Operation: 8+4=12, Resulting Numbers: [20, 12] Generated Node #0,1,4: 12:[20, 12] Operation: 8+4=12 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[4, 12], Operations: ['73-69=4', '20-8=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[8, 5], Operations: ['73-69=4', '20/4=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[8, 16], Operations: ['73-69=4', '20-4=16'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[20, 4], Operations: ['73-69=4', '8-4=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,12 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 12:[20, 12], Operations: ['73-69=4', '8+4=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,12 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[73, 8, 49], Operations: ['69-20=49'] Exploring Operation: 73-49=24, Resulting Numbers: [8, 24] Generated Node #0,2,0: 12:[8, 24] Operation: 73-49=24 Exploring Operation: 49-8=41, Resulting Numbers: [73, 41] Generated Node #0,2,1: 12:[73, 41] Operation: 49-8=41 Exploring Operation: 73-8=65, Resulting Numbers: [49, 65] Generated Node #0,2,2: 12:[49, 65] Operation: 73-8=65 Exploring Operation: 8+49=57, Resulting Numbers: [73, 57] Generated Node #0,2,3: 12:[73, 57] Operation: 8+49=57 Exploring Operation: 73+8=81, Resulting Numbers: [49, 81] Generated Node #0,2,4: 12:[49, 81] Operation: 73+8=81 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[8, 24], Operations: ['69-20=49', '73-49=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[73, 41], Operations: ['69-20=49', '49-8=41'] Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,12 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[49, 65], Operations: ['69-20=49', '73-8=65'] Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 49+65=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 49*65=3185, Resulting Numbers: [3185] 3185,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[73, 57], Operations: ['69-20=49', '8+49=57'] Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[49, 81], Operations: ['69-20=49', '73+8=81'] Exploring Operation: 49*81=3969, Resulting Numbers: [3969] 3969,12 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 49+81=130, Resulting Numbers: [130] 130,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[69, 8, 53], Operations: ['73-20=53'] Exploring Operation: 8+53=61, Resulting Numbers: [69, 61] Generated Node #0,4,0: 12:[69, 61] Operation: 8+53=61 Exploring Operation: 69-53=16, Resulting Numbers: [8, 16] Generated Node #0,4,1: 12:[8, 16] Operation: 69-53=16 Exploring Operation: 69-8=61, Resulting Numbers: [53, 61] Generated Node #0,4,2: 12:[53, 61] Operation: 69-8=61 Exploring Operation: 69+8=77, Resulting Numbers: [53, 77] Generated Node #0,4,3: 12:[53, 77] Operation: 69+8=77 Exploring Operation: 53-8=45, Resulting Numbers: [69, 45] Generated Node #0,4,4: 12:[69, 45] Operation: 53-8=45 Moving to Node #0,4,1 Current State: 12:[8, 16], Operations: ['73-20=53', '69-53=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[69, 45], Operations: ['73-20=53', '53-8=45'] Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,12 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[53, 61], Operations: ['73-20=53', '69-8=61'] Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[69, 61], Operations: ['73-20=53', '8+53=61'] Exploring Operation: 69*61=4209, Resulting Numbers: [4209] 4209,12 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[53, 77], Operations: ['73-20=53', '69+8=77'] Exploring Operation: 53*77=4081, Resulting Numbers: [4081] 4081,12 unequal: No Solution Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 53+77=130, Resulting Numbers: [130] 130,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[20, 73, 61], Operations: ['69-8=61'] Exploring Operation: 73-61=12, Resulting Numbers: [20, 12] Generated Node #0,0,0: 12:[20, 12] Operation: 73-61=12 Exploring Operation: 61-20=41, Resulting Numbers: [73, 41] Generated Node #0,0,1: 12:[73, 41] Operation: 61-20=41 Exploring Operation: 73-20=53, Resulting Numbers: [61, 53] Generated Node #0,0,2: 12:[61, 53] Operation: 73-20=53 Exploring Operation: 20+73=93, Resulting Numbers: [61, 93] Generated Node #0,0,3: 12:[61, 93] Operation: 20+73=93 Exploring Operation: 20+61=81, Resulting Numbers: [73, 81] Generated Node #0,0,4: 12:[73, 81] Operation: 20+61=81 Moving to Node #0,0,0 Current State: 12:[20, 12], Operations: ['69-8=61', '73-61=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,12 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[61, 53], Operations: ['69-8=61', '73-20=53'] Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 61*53=3233, Resulting Numbers: [3233] 3233,12 unequal: No Solution Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[73, 41], Operations: ['69-8=61', '61-20=41'] Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,12 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[61, 93], Operations: ['69-8=61', '20+73=93'] Exploring Operation: 61*93=5673, Resulting Numbers: [5673] 5673,12 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 61+93=154, Resulting Numbers: [154] 154,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[73, 81], Operations: ['69-8=61', '20+61=81'] Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,12 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[69, 73, 12], Operations: ['20-8=12'] Exploring Operation: 69+12=81, Resulting Numbers: [73, 81] Generated Node #0,3,0: 12:[73, 81] Operation: 69+12=81 Exploring Operation: 73-69=4, Resulting Numbers: [12, 4] Generated Node #0,3,1: 12:[12, 4] Operation: 73-69=4 Exploring Operation: 69+73=142, Resulting Numbers: [12, 142] Generated Node #0,3,2: 12:[12, 142] Operation: 69+73=142 Exploring Operation: 69-12=57, Resulting Numbers: [73, 57] Generated Node #0,3,3: 12:[73, 57] Operation: 69-12=57 Exploring Operation: 73-12=61, Resulting Numbers: [69, 61] Generated Node #0,3,4: 12:[69, 61] Operation: 73-12=61 Moving to Node #0,3,1 Current State: 12:[12, 4], Operations: ['20-8=12', '73-69=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[69, 61], Operations: ['20-8=12', '73-12=61'] Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 69*61=4209, Resulting Numbers: [4209] 4209,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[73, 57], Operations: ['20-8=12', '69-12=57'] Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,12 unequal: No Solution Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[73, 81], Operations: ['20-8=12', '69+12=81'] Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,12 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,12 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[12, 142], Operations: ['20-8=12', '69+73=142'] Exploring Operation: 142-12=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 12*142=1704, Resulting Numbers: [1704] 1704,12 unequal: No Solution Exploring Operation: 12+142=154, Resulting Numbers: [154] 154,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 18, 17, 16, 67 ]
85
[ "18+67=85", "17-16=1", "85*1=85" ]
Current State: 85:[18, 17, 16, 67], Operations: [] Exploring Operation: 18+67=85, Resulting Numbers: [17, 16, 85] Generated Node #2: [17, 16, 85] from Operation: 18+67=85 Current State: 85:[17, 16, 85], Operations: ['18+67=85'] Exploring Operation: 17-16=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 17-16=1 Current State: 85:[85, 1], Operations: ['18+67=85', '17-16=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[18, 17, 16, 67], Operations: [] Exploring Operation: 18+67=85, Resulting Numbers: [17, 16, 85] Generated Node #0,0: 85:[17, 16, 85] Operation: 18+67=85 Exploring Operation: 16+67=83, Resulting Numbers: [18, 17, 83] Generated Node #0,1: 85:[18, 17, 83] Operation: 16+67=83 Exploring Operation: 17+67=84, Resulting Numbers: [18, 16, 84] Generated Node #0,2: 85:[18, 16, 84] Operation: 17+67=84 Exploring Operation: 18-16=2, Resulting Numbers: [17, 67, 2] Generated Node #0,3: 85:[17, 67, 2] Operation: 18-16=2 Moving to Node #0,0 Current State: 85:[17, 16, 85], Operations: ['18+67=85'] Exploring Operation: 16+85=101, Resulting Numbers: [17, 101] Generated Node #0,0,0: 85:[17, 101] Operation: 16+85=101 Exploring Operation: 17-16=1, Resulting Numbers: [85, 1] Generated Node #0,0,1: 85:[85, 1] Operation: 17-16=1 Exploring Operation: 85/17=5, Resulting Numbers: [16, 5] Generated Node #0,0,2: 85:[16, 5] Operation: 85/17=5 Exploring Operation: 17+16=33, Resulting Numbers: [85, 33] Generated Node #0,0,3: 85:[85, 33] Operation: 17+16=33 Moving to Node #0,2 Current State: 85:[18, 16, 84], Operations: ['17+67=84'] Exploring Operation: 18+84=102, Resulting Numbers: [16, 102] Generated Node #0,2,0: 85:[16, 102] Operation: 18+84=102 Exploring Operation: 18+16=34, Resulting Numbers: [84, 34] Generated Node #0,2,1: 85:[84, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [84, 2] Generated Node #0,2,2: 85:[84, 2] Operation: 18-16=2 Exploring Operation: 16+84=100, Resulting Numbers: [18, 100] Generated Node #0,2,3: 85:[18, 100] Operation: 16+84=100 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[84, 2], Operations: ['17+67=84', '18-16=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,85 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,85 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 85:[18, 100], Operations: ['17+67=84', '16+84=100'] Exploring Operation: 18+100=118, Resulting Numbers: [118] 118,85 unequal: No Solution Exploring Operation: 100-18=82, Resulting Numbers: [82] 82,85 unequal: No Solution Exploring Operation: 18*100=1800, Resulting Numbers: [1800] 1800,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[16, 102], Operations: ['17+67=84', '18+84=102'] Exploring Operation: 102-16=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 16*102=1632, Resulting Numbers: [1632] 1632,85 unequal: No Solution Exploring Operation: 16+102=118, Resulting Numbers: [118] 118,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[84, 34], Operations: ['17+67=84', '18+16=34'] Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,85 unequal: No Solution Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,85 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 85:[18, 17, 83], Operations: ['16+67=83'] Exploring Operation: 17+83=100, Resulting Numbers: [18, 100] Generated Node #0,1,0: 85:[18, 100] Operation: 17+83=100 Exploring Operation: 18+83=101, Resulting Numbers: [17, 101] Generated Node #0,1,1: 85:[17, 101] Operation: 18+83=101 Exploring Operation: 18-17=1, Resulting Numbers: [83, 1] Generated Node #0,1,2: 85:[83, 1] Operation: 18-17=1 Exploring Operation: 18+17=35, Resulting Numbers: [83, 35] Generated Node #0,1,3: 85:[83, 35] Operation: 18+17=35 Moving to Node #0,3 Current State: 85:[17, 67, 2], Operations: ['18-16=2'] Exploring Operation: 17+2=19, Resulting Numbers: [67, 19] Generated Node #0,3,0: 85:[67, 19] Operation: 17+2=19 Exploring Operation: 17+67=84, Resulting Numbers: [2, 84] Generated Node #0,3,1: 85:[2, 84] Operation: 17+67=84 Exploring Operation: 17-2=15, Resulting Numbers: [67, 15] Generated Node #0,3,2: 85:[67, 15] Operation: 17-2=15 Exploring Operation: 67+2=69, Resulting Numbers: [17, 69] Generated Node #0,3,3: 85:[17, 69] Operation: 67+2=69 Moving to Node #0,0,2 Current State: 85:[16, 5], Operations: ['18+67=85', '85/17=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[85, 1], Operations: ['18+67=85', '17-16=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[18, 17, 16, 67], Operations: [] Exploring Operation: 18+67=85, Resulting Numbers: [17, 16, 85] Generated Node #0,0: 85:[17, 16, 85] Operation: 18+67=85 Moving to Node #0,0 Current State: 85:[17, 16, 85], Operations: ['18+67=85'] Exploring Operation: 17-16=1, Resulting Numbers: [85, 1] Generated Node #0,0,1: 85:[85, 1] Operation: 17-16=1 Moving to Node #0,0,1 Current State: 85:[85, 1], Operations: ['18+67=85', '17-16=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 85, 29, 18, 26 ]
12
[ "85-29=56", "18+26=44", "56-44=12" ]
Current State: 12:[85, 29, 18, 26], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [18, 26, 56] Generated Node #2: [18, 26, 56] from Operation: 85-29=56 Current State: 12:[18, 26, 56], Operations: ['85-29=56'] Exploring Operation: 18+26=44, Resulting Numbers: [56, 44] Generated Node #3: [56, 44] from Operation: 18+26=44 Current State: 12:[56, 44], Operations: ['85-29=56', '18+26=44'] Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[85, 29, 18, 26], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [18, 26, 56] Generated Node #0,0: 12:[18, 26, 56] Operation: 85-29=56 Exploring Operation: 29-26=3, Resulting Numbers: [85, 18, 3] Generated Node #0,1: 12:[85, 18, 3] Operation: 29-26=3 Exploring Operation: 85-26=59, Resulting Numbers: [29, 18, 59] Generated Node #0,2: 12:[29, 18, 59] Operation: 85-26=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[18, 26, 56], Operations: ['85-29=56'] Exploring Operation: 56-26=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 12:[18, 30] Operation: 56-26=30 Exploring Operation: 56-18=38, Resulting Numbers: [26, 38] Generated Node #0,0,1: 12:[26, 38] Operation: 56-18=38 Exploring Operation: 26-18=8, Resulting Numbers: [56, 8] Generated Node #0,0,2: 12:[56, 8] Operation: 26-18=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[18, 30], Operations: ['85-29=56', '56-26=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[85, 29, 18, 26], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [18, 26, 56] Generated Node #0,0: 12:[18, 26, 56] Operation: 85-29=56 Moving to Node #0,0 Current State: 12:[18, 26, 56], Operations: ['85-29=56'] Exploring Operation: 56-26=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 12:[18, 30] Operation: 56-26=30 Moving to Node #0,0,0 Current State: 12:[18, 30], Operations: ['85-29=56', '56-26=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 35, 85, 72, 2 ]
11
[ "85-35=50", "72-50=22", "22/2=11" ]
Current State: 11:[35, 85, 72, 2], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [72, 2, 50] Generated Node #2: [72, 2, 50] from Operation: 85-35=50 Current State: 11:[72, 2, 50], Operations: ['85-35=50'] Exploring Operation: 72-50=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 72-50=22 Current State: 11:[2, 22], Operations: ['85-35=50', '72-50=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[35, 85, 72, 2], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [35, 2, 13] Generated Node #0,0: 11:[35, 2, 13] Operation: 85-72=13 Exploring Operation: 72/2=36, Resulting Numbers: [35, 85, 36] Generated Node #0,1: 11:[35, 85, 36] Operation: 72/2=36 Exploring Operation: 72-35=37, Resulting Numbers: [85, 2, 37] Generated Node #0,2: 11:[85, 2, 37] Operation: 72-35=37 Exploring Operation: 85-35=50, Resulting Numbers: [72, 2, 50] Generated Node #0,3: 11:[72, 2, 50] Operation: 85-35=50 Moving to Node #0,0 Current State: 11:[35, 2, 13], Operations: ['85-72=13'] Exploring Operation: 35+2=37, Resulting Numbers: [13, 37] Generated Node #0,0,0: 11:[13, 37] Operation: 35+2=37 Exploring Operation: 13-2=11, Resulting Numbers: [35, 11] Generated Node #0,0,1: 11:[35, 11] Operation: 13-2=11 Exploring Operation: 35-13=22, Resulting Numbers: [2, 22] Generated Node #0,0,2: 11:[2, 22] Operation: 35-13=22 Exploring Operation: 35-2=33, Resulting Numbers: [13, 33] Generated Node #0,0,3: 11:[13, 33] Operation: 35-2=33 Moving to Node #0,3 Current State: 11:[72, 2, 50], Operations: ['85-35=50'] Exploring Operation: 50/2=25, Resulting Numbers: [72, 25] Generated Node #0,3,0: 11:[72, 25] Operation: 50/2=25 Exploring Operation: 72/2=36, Resulting Numbers: [50, 36] Generated Node #0,3,1: 11:[50, 36] Operation: 72/2=36 Exploring Operation: 72-50=22, Resulting Numbers: [2, 22] Generated Node #0,3,2: 11:[2, 22] Operation: 72-50=22 Exploring Operation: 72-2=70, Resulting Numbers: [50, 70] Generated Node #0,3,3: 11:[50, 70] Operation: 72-2=70 Moving to Node #0,2 Current State: 11:[85, 2, 37], Operations: ['72-35=37'] Exploring Operation: 85+2=87, Resulting Numbers: [37, 87] Generated Node #0,2,0: 11:[37, 87] Operation: 85+2=87 Exploring Operation: 85-2=83, Resulting Numbers: [37, 83] Generated Node #0,2,1: 11:[37, 83] Operation: 85-2=83 Exploring Operation: 85-37=48, Resulting Numbers: [2, 48] Generated Node #0,2,2: 11:[2, 48] Operation: 85-37=48 Exploring Operation: 37-2=35, Resulting Numbers: [85, 35] Generated Node #0,2,3: 11:[85, 35] Operation: 37-2=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[2, 48], Operations: ['72-35=37', '85-37=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,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,1 Current State: 11:[37, 83], Operations: ['72-35=37', '85-2=83'] Exploring Operation: 37+83=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 37*83=3071, Resulting Numbers: [3071] 3071,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[85, 35], Operations: ['72-35=37', '37-2=35'] Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[37, 87], Operations: ['72-35=37', '85+2=87'] Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 37+87=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 37*87=3219, Resulting Numbers: [3219] 3219,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:[35, 85, 36], Operations: ['72/2=36'] Exploring Operation: 85-36=49, Resulting Numbers: [35, 49] Generated Node #0,1,0: 11:[35, 49] Operation: 85-36=49 Exploring Operation: 85-35=50, Resulting Numbers: [36, 50] Generated Node #0,1,1: 11:[36, 50] Operation: 85-35=50 Exploring Operation: 36-35=1, Resulting Numbers: [85, 1] Generated Node #0,1,2: 11:[85, 1] Operation: 36-35=1 Exploring Operation: 35+85=120, Resulting Numbers: [36, 120] Generated Node #0,1,3: 11:[36, 120] Operation: 35+85=120 Moving to Node #0,0,2 Current State: 11:[2, 22], Operations: ['85-72=13', '35-13=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[35, 85, 72, 2], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [35, 2, 13] Generated Node #0,0: 11:[35, 2, 13] Operation: 85-72=13 Moving to Node #0,0 Current State: 11:[35, 2, 13], Operations: ['85-72=13'] Exploring Operation: 35-13=22, Resulting Numbers: [2, 22] Generated Node #0,0,2: 11:[2, 22] Operation: 35-13=22 Moving to Node #0,0,2 Current State: 11:[2, 22], Operations: ['85-72=13', '35-13=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 60, 34, 19, 94 ]
90
[ "34-19=15", "60/15=4", "94-4=90" ]
Current State: 90:[60, 34, 19, 94], Operations: [] Exploring Operation: 34-19=15, Resulting Numbers: [60, 94, 15] Generated Node #2: [60, 94, 15] from Operation: 34-19=15 Current State: 90:[60, 94, 15], Operations: ['34-19=15'] Exploring Operation: 60/15=4, Resulting Numbers: [94, 4] Generated Node #3: [94, 4] from Operation: 60/15=4 Current State: 90:[94, 4], Operations: ['34-19=15', '60/15=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[60, 34, 19, 94], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [34, 19, 34] Generated Node #0,0: 90:[34, 19, 34] Operation: 94-60=34 Exploring Operation: 60-34=26, Resulting Numbers: [19, 94, 26] Generated Node #0,1: 90:[19, 94, 26] Operation: 60-34=26 Exploring Operation: 60+34=94, Resulting Numbers: [19, 94, 94] Generated Node #0,2: 90:[19, 94, 94] Operation: 60+34=94 Exploring Operation: 60-19=41, Resulting Numbers: [34, 94, 41] Generated Node #0,3: 90:[34, 94, 41] Operation: 60-19=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[34, 19, 34], Operations: ['94-60=34'] Exploring Operation: 34-19=15, Resulting Numbers: [34, 15] Generated Node #0,0,0: 90:[34, 15] Operation: 34-19=15 Exploring Operation: 34-34=0, Resulting Numbers: [19, 0] Generated Node #0,0,1: 90:[19, 0] Operation: 34-34=0 Exploring Operation: 34/34=1, Resulting Numbers: [19, 1] Generated Node #0,0,2: 90:[19, 1] Operation: 34/34=1 Exploring Operation: 34-19=15, Resulting Numbers: [34, 15] Generated Node #0,0,3: 90:[34, 15] Operation: 34-19=15 Moving to Node #0,0,2 Current State: 90:[19, 1], Operations: ['94-60=34', '34/34=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[19, 0], Operations: ['94-60=34', '34-34=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[34, 15], Operations: ['94-60=34', '34-19=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,90 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[34, 15], Operations: ['94-60=34', '34-19=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,90 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[19, 94, 26], Operations: ['60-34=26'] Exploring Operation: 26-19=7, Resulting Numbers: [94, 7] Generated Node #0,1,0: 90:[94, 7] Operation: 26-19=7 Exploring Operation: 19+26=45, Resulting Numbers: [94, 45] Generated Node #0,1,1: 90:[94, 45] Operation: 19+26=45 Exploring Operation: 94-26=68, Resulting Numbers: [19, 68] Generated Node #0,1,2: 90:[19, 68] Operation: 94-26=68 Exploring Operation: 94-19=75, Resulting Numbers: [26, 75] Generated Node #0,1,3: 90:[26, 75] Operation: 94-19=75 Moving to Node #0,1,1 Current State: 90:[94, 45], Operations: ['60-34=26', '19+26=45'] Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,90 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,90 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[94, 7], Operations: ['60-34=26', '26-19=7'] Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,90 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[26, 75], Operations: ['60-34=26', '94-19=75'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,90 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[19, 68], Operations: ['60-34=26', '94-26=68'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 19*68=1292, Resulting Numbers: [1292] 1292,90 unequal: No Solution Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[19, 94, 94], Operations: ['60+34=94'] Exploring Operation: 94-94=0, Resulting Numbers: [19, 0] Generated Node #0,2,0: 90:[19, 0] Operation: 94-94=0 Exploring Operation: 94/94=1, Resulting Numbers: [19, 1] Generated Node #0,2,1: 90:[19, 1] Operation: 94/94=1 Exploring Operation: 94-19=75, Resulting Numbers: [94, 75] Generated Node #0,2,2: 90:[94, 75] Operation: 94-19=75 Exploring Operation: 94-19=75, Resulting Numbers: [94, 75] Generated Node #0,2,3: 90:[94, 75] Operation: 94-19=75 Moving to Node #0,2,1 Current State: 90:[19, 1], Operations: ['60+34=94', '94/94=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[19, 0], Operations: ['60+34=94', '94-94=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[94, 75], Operations: ['60+34=94', '94-19=75'] Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 94+75=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 94*75=7050, Resulting Numbers: [7050] 7050,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[94, 75], Operations: ['60+34=94', '94-19=75'] Exploring Operation: 94+75=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 94*75=7050, Resulting Numbers: [7050] 7050,90 unequal: No Solution Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[34, 94, 41], Operations: ['60-19=41'] Exploring Operation: 34+41=75, Resulting Numbers: [94, 75] Generated Node #0,3,0: 90:[94, 75] Operation: 34+41=75 Exploring Operation: 94-34=60, Resulting Numbers: [41, 60] Generated Node #0,3,1: 90:[41, 60] Operation: 94-34=60 Exploring Operation: 94-41=53, Resulting Numbers: [34, 53] Generated Node #0,3,2: 90:[34, 53] Operation: 94-41=53 Exploring Operation: 41-34=7, Resulting Numbers: [94, 7] Generated Node #0,3,3: 90:[94, 7] Operation: 41-34=7 Moving to Node #0,3,3 Current State: 90:[94, 7], Operations: ['60-19=41', '41-34=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,90 unequal: No Solution Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[34, 53], Operations: ['60-19=41', '94-41=53'] Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,90 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[41, 60], Operations: ['60-19=41', '94-34=60'] Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,90 unequal: No Solution Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,90 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[94, 75], Operations: ['60-19=41', '34+41=75'] Exploring Operation: 94*75=7050, Resulting Numbers: [7050] 7050,90 unequal: No Solution Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 94+75=169, Resulting Numbers: [169] 169,90 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, 16, 94, 73 ]
62
[ "67+16=83", "94-73=21", "83-21=62" ]
Current State: 62:[67, 16, 94, 73], Operations: [] Exploring Operation: 67+16=83, Resulting Numbers: [94, 73, 83] Generated Node #2: [94, 73, 83] from Operation: 67+16=83 Current State: 62:[94, 73, 83], Operations: ['67+16=83'] Exploring Operation: 94-73=21, Resulting Numbers: [83, 21] Generated Node #3: [83, 21] from Operation: 94-73=21 Current State: 62:[83, 21], Operations: ['67+16=83', '94-73=21'] Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[67, 16, 94, 73], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [16, 94, 6] Generated Node #0,0: 62:[16, 94, 6] Operation: 73-67=6 Exploring Operation: 73-16=57, Resulting Numbers: [67, 94, 57] Generated Node #0,1: 62:[67, 94, 57] Operation: 73-16=57 Exploring Operation: 94-73=21, Resulting Numbers: [67, 16, 21] Generated Node #0,2: 62:[67, 16, 21] Operation: 94-73=21 Exploring Operation: 94-16=78, Resulting Numbers: [67, 73, 78] Generated Node #0,3: 62:[67, 73, 78] Operation: 94-16=78 Exploring Operation: 94-67=27, Resulting Numbers: [16, 73, 27] Generated Node #0,4: 62:[16, 73, 27] Operation: 94-67=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[67, 16, 21], Operations: ['94-73=21'] Exploring Operation: 21-16=5, Resulting Numbers: [67, 5] Generated Node #0,2,0: 62:[67, 5] Operation: 21-16=5 Exploring Operation: 67-16=51, Resulting Numbers: [21, 51] Generated Node #0,2,1: 62:[21, 51] Operation: 67-16=51 Exploring Operation: 67-21=46, Resulting Numbers: [16, 46] Generated Node #0,2,2: 62:[16, 46] Operation: 67-21=46 Exploring Operation: 67+16=83, Resulting Numbers: [21, 83] Generated Node #0,2,3: 62:[21, 83] Operation: 67+16=83 Exploring Operation: 16+21=37, Resulting Numbers: [67, 37] Generated Node #0,2,4: 62:[67, 37] Operation: 16+21=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[67, 5], Operations: ['94-73=21', '21-16=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[67, 16, 94, 73], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [67, 16, 21] Generated Node #0,2: 62:[67, 16, 21] Operation: 94-73=21 Moving to Node #0,2 Current State: 62:[67, 16, 21], Operations: ['94-73=21'] Exploring Operation: 21-16=5, Resulting Numbers: [67, 5] Generated Node #0,2,0: 62:[67, 5] Operation: 21-16=5 Moving to Node #0,2,0 Current State: 62:[67, 5], Operations: ['94-73=21', '21-16=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 11, 42, 58, 66 ]
10
[ "66/11=6", "58-42=16", "16-6=10" ]
Current State: 10:[11, 42, 58, 66], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [42, 58, 6] Generated Node #2: [42, 58, 6] from Operation: 66/11=6 Current State: 10:[42, 58, 6], Operations: ['66/11=6'] Exploring Operation: 58-42=16, Resulting Numbers: [6, 16] Generated Node #3: [6, 16] from Operation: 58-42=16 Current State: 10:[6, 16], Operations: ['66/11=6', '58-42=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[11, 42, 58, 66], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [11, 58, 24] Generated Node #0,0: 10:[11, 58, 24] Operation: 66-42=24 Exploring Operation: 42-11=31, Resulting Numbers: [58, 66, 31] Generated Node #0,1: 10:[58, 66, 31] Operation: 42-11=31 Exploring Operation: 58-42=16, Resulting Numbers: [11, 66, 16] Generated Node #0,2: 10:[11, 66, 16] Operation: 58-42=16 Exploring Operation: 66/11=6, Resulting Numbers: [42, 58, 6] Generated Node #0,3: 10:[42, 58, 6] Operation: 66/11=6 Exploring Operation: 66-58=8, Resulting Numbers: [11, 42, 8] Generated Node #0,4: 10:[11, 42, 8] Operation: 66-58=8 Moving to Node #0,4 Current State: 10:[11, 42, 8], Operations: ['66-58=8'] Exploring Operation: 42-8=34, Resulting Numbers: [11, 34] Generated Node #0,4,0: 10:[11, 34] Operation: 42-8=34 Exploring Operation: 11+8=19, Resulting Numbers: [42, 19] Generated Node #0,4,1: 10:[42, 19] Operation: 11+8=19 Exploring Operation: 11-8=3, Resulting Numbers: [42, 3] Generated Node #0,4,2: 10:[42, 3] Operation: 11-8=3 Exploring Operation: 42+8=50, Resulting Numbers: [11, 50] Generated Node #0,4,3: 10:[11, 50] Operation: 42+8=50 Exploring Operation: 42-11=31, Resulting Numbers: [8, 31] Generated Node #0,4,4: 10:[8, 31] Operation: 42-11=31 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[8, 31], Operations: ['66-58=8', '42-11=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,10 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,10 unequal: No Solution No 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: 10:[11, 34], Operations: ['66-58=8', '42-8=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,10 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,10 unequal: No Solution No 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: 10:[42, 3], Operations: ['66-58=8', '11-8=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,10 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,10 unequal: No Solution No 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: 10:[42, 19], Operations: ['66-58=8', '11+8=19'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,10 unequal: No Solution No 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: 10:[11, 50], Operations: ['66-58=8', '42+8=50'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,10 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,10 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: 10:[11, 66, 16], Operations: ['58-42=16'] Exploring Operation: 66-16=50, Resulting Numbers: [11, 50] Generated Node #0,2,0: 10:[11, 50] Operation: 66-16=50 Exploring Operation: 66/11=6, Resulting Numbers: [16, 6] Generated Node #0,2,1: 10:[16, 6] Operation: 66/11=6 Exploring Operation: 11+66=77, Resulting Numbers: [16, 77] Generated Node #0,2,2: 10:[16, 77] Operation: 11+66=77 Exploring Operation: 16-11=5, Resulting Numbers: [66, 5] Generated Node #0,2,3: 10:[66, 5] Operation: 16-11=5 Exploring Operation: 66-11=55, Resulting Numbers: [16, 55] Generated Node #0,2,4: 10:[16, 55] Operation: 66-11=55 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[16, 6], Operations: ['58-42=16', '66/11=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[11, 42, 58, 66], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [11, 66, 16] Generated Node #0,2: 10:[11, 66, 16] Operation: 58-42=16 Moving to Node #0,2 Current State: 10:[11, 66, 16], Operations: ['58-42=16'] Exploring Operation: 66/11=6, Resulting Numbers: [16, 6] Generated Node #0,2,1: 10:[16, 6] Operation: 66/11=6 Moving to Node #0,2,1 Current State: 10:[16, 6], Operations: ['58-42=16', '66/11=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 79, 17, 92, 87 ]
91
[ "79+17=96", "92-87=5", "96-5=91" ]
Current State: 91:[79, 17, 92, 87], Operations: [] Exploring Operation: 79+17=96, Resulting Numbers: [92, 87, 96] Generated Node #2: [92, 87, 96] from Operation: 79+17=96 Current State: 91:[92, 87, 96], Operations: ['79+17=96'] Exploring Operation: 92-87=5, Resulting Numbers: [96, 5] Generated Node #3: [96, 5] from Operation: 92-87=5 Current State: 91:[96, 5], Operations: ['79+17=96', '92-87=5'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[79, 17, 92, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [17, 92, 8] Generated Node #0,0: 91:[17, 92, 8] Operation: 87-79=8 Exploring Operation: 92-79=13, Resulting Numbers: [17, 87, 13] Generated Node #0,1: 91:[17, 87, 13] Operation: 92-79=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[17, 92, 8], Operations: ['87-79=8'] Exploring Operation: 92-8=84, Resulting Numbers: [17, 84] Generated Node #0,0,0: 91:[17, 84] Operation: 92-8=84 Exploring Operation: 17-8=9, Resulting Numbers: [92, 9] Generated Node #0,0,1: 91:[92, 9] Operation: 17-8=9 Moving to Node #0,0,1 Current State: 91:[92, 9], Operations: ['87-79=8', '17-8=9'] Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,91 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[17, 84], Operations: ['87-79=8', '92-8=84'] Exploring Operation: 17+84=101, Resulting Numbers: [101] 101,91 unequal: No Solution Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,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,1 Current State: 91:[17, 87, 13], Operations: ['92-79=13'] Exploring Operation: 17+87=104, Resulting Numbers: [13, 104] Generated Node #0,1,0: 91:[13, 104] Operation: 17+87=104 Exploring Operation: 17-13=4, Resulting Numbers: [87, 4] Generated Node #0,1,1: 91:[87, 4] Operation: 17-13=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[87, 4], Operations: ['92-79=13', '17-13=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[79, 17, 92, 87], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [17, 87, 13] Generated Node #0,1: 91:[17, 87, 13] Operation: 92-79=13 Moving to Node #0,1 Current State: 91:[17, 87, 13], Operations: ['92-79=13'] Exploring Operation: 17-13=4, Resulting Numbers: [87, 4] Generated Node #0,1,1: 91:[87, 4] Operation: 17-13=4 Moving to Node #0,1,1 Current State: 91:[87, 4], Operations: ['92-79=13', '17-13=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic