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
[ 33, 20, 57, 35 ]
79
[ "33-20=13", "57+35=92", "92-13=79" ]
Current State: 79:[33, 20, 57, 35], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [57, 35, 13] Generated Node #2: [57, 35, 13] from Operation: 33-20=13 Current State: 79:[57, 35, 13], Operations: ['33-20=13'] Exploring Operation: 57+35=92, Resulting Numbers: [13, 92] Generated Node #3: [13, 92] from Operation: 57+35=92 Current State: 79:[13, 92], Operations: ['33-20=13', '57+35=92'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[33, 20, 57, 35], Operations: [] Exploring Operation: 33+35=68, Resulting Numbers: [20, 57, 68] Generated Node #0,0: 79:[20, 57, 68] Operation: 33+35=68 Exploring Operation: 20+57=77, Resulting Numbers: [33, 35, 77] Generated Node #0,1: 79:[33, 35, 77] Operation: 20+57=77 Exploring Operation: 33+20=53, Resulting Numbers: [57, 35, 53] Generated Node #0,2: 79:[57, 35, 53] Operation: 33+20=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[20, 57, 68], Operations: ['33+35=68'] Exploring Operation: 20+68=88, Resulting Numbers: [57, 88] Generated Node #0,0,0: 79:[57, 88] Operation: 20+68=88 Exploring Operation: 20+57=77, Resulting Numbers: [68, 77] Generated Node #0,0,1: 79:[68, 77] Operation: 20+57=77 Exploring Operation: 57-20=37, Resulting Numbers: [68, 37] Generated Node #0,0,2: 79:[68, 37] Operation: 57-20=37 Moving to Node #0,0,1 Current State: 79:[68, 77], Operations: ['33+35=68', '20+57=77'] Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 68*77=5236, Resulting Numbers: [5236] 5236,79 unequal: No Solution Exploring Operation: 68+77=145, Resulting Numbers: [145] 145,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[57, 88], Operations: ['33+35=68', '20+68=88'] Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,79 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[68, 37], Operations: ['33+35=68', '57-20=37'] Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,79 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,79 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,79 unequal: No Solution No 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: 79:[33, 35, 77], Operations: ['20+57=77'] Exploring Operation: 33+77=110, Resulting Numbers: [35, 110] Generated Node #0,1,0: 79:[35, 110] Operation: 33+77=110 Exploring Operation: 33+35=68, Resulting Numbers: [77, 68] Generated Node #0,1,1: 79:[77, 68] Operation: 33+35=68 Exploring Operation: 35-33=2, Resulting Numbers: [77, 2] Generated Node #0,1,2: 79:[77, 2] Operation: 35-33=2 Moving to Node #0,1,1 Current State: 79:[77, 68], Operations: ['20+57=77', '33+35=68'] Exploring Operation: 77*68=5236, Resulting Numbers: [5236] 5236,79 unequal: No Solution Exploring Operation: 77+68=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[35, 110], Operations: ['20+57=77', '33+77=110'] Exploring Operation: 35+110=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 35*110=3850, Resulting Numbers: [3850] 3850,79 unequal: No Solution Exploring Operation: 110-35=75, Resulting Numbers: [75] 75,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[77, 2], Operations: ['20+57=77', '35-33=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[33, 20, 57, 35], Operations: [] Exploring Operation: 20+57=77, Resulting Numbers: [33, 35, 77] Generated Node #0,1: 79:[33, 35, 77] Operation: 20+57=77 Moving to Node #0,1 Current State: 79:[33, 35, 77], Operations: ['20+57=77'] Exploring Operation: 35-33=2, Resulting Numbers: [77, 2] Generated Node #0,1,2: 79:[77, 2] Operation: 35-33=2 Moving to Node #0,1,2 Current State: 79:[77, 2], Operations: ['20+57=77', '35-33=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 41, 3, 2, 59 ]
47
[ "41*2=82", "59+82=141", "141/3=47" ]
Current State: 47:[41, 3, 2, 59], Operations: [] Exploring Operation: 41*2=82, Resulting Numbers: [3, 59, 82] Generated Node #2: [3, 59, 82] from Operation: 41*2=82 Current State: 47:[3, 59, 82], Operations: ['41*2=82'] Exploring Operation: 59+82=141, Resulting Numbers: [3, 141] Generated Node #3: [3, 141] from Operation: 59+82=141 Current State: 47:[3, 141], Operations: ['41*2=82', '59+82=141'] Exploring Operation: 141/3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[41, 3, 2, 59], Operations: [] Exploring Operation: 41+2=43, Resulting Numbers: [3, 59, 43] Generated Node #0,0: 47:[3, 59, 43] Operation: 41+2=43 Exploring Operation: 41+3=44, Resulting Numbers: [2, 59, 44] Generated Node #0,1: 47:[2, 59, 44] Operation: 41+3=44 Exploring Operation: 3*2=6, Resulting Numbers: [41, 59, 6] Generated Node #0,2: 47:[41, 59, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [41, 59, 5] Generated Node #0,3: 47:[41, 59, 5] Operation: 3+2=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[41, 59, 6], Operations: ['3*2=6'] Exploring Operation: 59-6=53, Resulting Numbers: [41, 53] Generated Node #0,2,0: 47:[41, 53] Operation: 59-6=53 Exploring Operation: 41-6=35, Resulting Numbers: [59, 35] Generated Node #0,2,1: 47:[59, 35] Operation: 41-6=35 Exploring Operation: 59+6=65, Resulting Numbers: [41, 65] Generated Node #0,2,2: 47:[41, 65] Operation: 59+6=65 Exploring Operation: 41+6=47, Resulting Numbers: [59, 47] Generated Node #0,2,3: 47:[59, 47] Operation: 41+6=47 Moving to Node #0,2,0 Current State: 47:[41, 53], Operations: ['3*2=6', '59-6=53'] Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,47 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[59, 47], Operations: ['3*2=6', '41+6=47'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 59*47=2773, Resulting Numbers: [2773] 2773,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[41, 65], Operations: ['3*2=6', '59+6=65'] Exploring Operation: 41*65=2665, Resulting Numbers: [2665] 2665,47 unequal: No Solution Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[59, 35], Operations: ['3*2=6', '41-6=35'] Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,47 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[3, 59, 43], Operations: ['41+2=43'] Exploring Operation: 3+59=62, Resulting Numbers: [43, 62] Generated Node #0,0,0: 47:[43, 62] Operation: 3+59=62 Exploring Operation: 59-3=56, Resulting Numbers: [43, 56] Generated Node #0,0,1: 47:[43, 56] Operation: 59-3=56 Exploring Operation: 3+43=46, Resulting Numbers: [59, 46] Generated Node #0,0,2: 47:[59, 46] Operation: 3+43=46 Exploring Operation: 43-3=40, Resulting Numbers: [59, 40] Generated Node #0,0,3: 47:[59, 40] Operation: 43-3=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[43, 56], Operations: ['41+2=43', '59-3=56'] Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 43*56=2408, Resulting Numbers: [2408] 2408,47 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[59, 46], Operations: ['41+2=43', '3+43=46'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,47 unequal: No Solution Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[43, 62], Operations: ['41+2=43', '3+59=62'] Exploring Operation: 43+62=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 43*62=2666, Resulting Numbers: [2666] 2666,47 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[59, 40], Operations: ['41+2=43', '43-3=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,47 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,47 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[2, 59, 44], Operations: ['41+3=44'] Exploring Operation: 2+59=61, Resulting Numbers: [44, 61] Generated Node #0,1,0: 47:[44, 61] Operation: 2+59=61 Exploring Operation: 44-2=42, Resulting Numbers: [59, 42] Generated Node #0,1,1: 47:[59, 42] Operation: 44-2=42 Exploring Operation: 2+44=46, Resulting Numbers: [59, 46] Generated Node #0,1,2: 47:[59, 46] Operation: 2+44=46 Exploring Operation: 59-2=57, Resulting Numbers: [44, 57] Generated Node #0,1,3: 47:[44, 57] Operation: 59-2=57 Moving to Node #0,1,2 Current State: 47:[59, 46], Operations: ['41+3=44', '2+44=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,47 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[44, 57], Operations: ['41+3=44', '59-2=57'] Exploring Operation: 44+57=101, Resulting Numbers: [101] 101,47 unequal: No Solution Exploring Operation: 44*57=2508, Resulting Numbers: [2508] 2508,47 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[59, 42], Operations: ['41+3=44', '44-2=42'] Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,47 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,47 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[44, 61], Operations: ['41+3=44', '2+59=61'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 44+61=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 44*61=2684, Resulting Numbers: [2684] 2684,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[41, 59, 5], Operations: ['3+2=5'] Exploring Operation: 59-5=54, Resulting Numbers: [41, 54] Generated Node #0,3,0: 47:[41, 54] Operation: 59-5=54 Exploring Operation: 41+5=46, Resulting Numbers: [59, 46] Generated Node #0,3,1: 47:[59, 46] Operation: 41+5=46 Exploring Operation: 59+5=64, Resulting Numbers: [41, 64] Generated Node #0,3,2: 47:[41, 64] Operation: 59+5=64 Exploring Operation: 41-5=36, Resulting Numbers: [59, 36] Generated Node #0,3,3: 47:[59, 36] Operation: 41-5=36 Moving to Node #0,3,0 Current State: 47:[41, 54], Operations: ['3+2=5', '59-5=54'] Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,47 unequal: No Solution Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,47 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[59, 46], Operations: ['3+2=5', '41+5=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,47 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[59, 36], Operations: ['3+2=5', '41-5=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,47 unequal: No Solution Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[41, 64], Operations: ['3+2=5', '59+5=64'] Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,47 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,47 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
[ 20, 2, 25, 7 ]
17
[ "25-20=5", "2*5=10", "7+10=17" ]
Current State: 17:[20, 2, 25, 7], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [2, 7, 5] Generated Node #2: [2, 7, 5] from Operation: 25-20=5 Current State: 17:[2, 7, 5], Operations: ['25-20=5'] Exploring Operation: 2*5=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 2*5=10 Current State: 17:[7, 10], Operations: ['25-20=5', '2*5=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[20, 2, 25, 7], Operations: [] Exploring Operation: 2*7=14, Resulting Numbers: [20, 25, 14] Generated Node #0,0: 17:[20, 25, 14] Operation: 2*7=14 Exploring Operation: 20-2=18, Resulting Numbers: [25, 7, 18] Generated Node #0,1: 17:[25, 7, 18] Operation: 20-2=18 Exploring Operation: 25-2=23, Resulting Numbers: [20, 7, 23] Generated Node #0,2: 17:[20, 7, 23] Operation: 25-2=23 Exploring Operation: 25-7=18, Resulting Numbers: [20, 2, 18] Generated Node #0,3: 17:[20, 2, 18] Operation: 25-7=18 Exploring Operation: 2+7=9, Resulting Numbers: [20, 25, 9] Generated Node #0,4: 17:[20, 25, 9] Operation: 2+7=9 Moving to Node #0,0 Current State: 17:[20, 25, 14], Operations: ['2*7=14'] Exploring Operation: 20-14=6, Resulting Numbers: [25, 6] Generated Node #0,0,0: 17:[25, 6] Operation: 20-14=6 Exploring Operation: 25-14=11, Resulting Numbers: [20, 11] Generated Node #0,0,1: 17:[20, 11] Operation: 25-14=11 Exploring Operation: 25+14=39, Resulting Numbers: [20, 39] Generated Node #0,0,2: 17:[20, 39] Operation: 25+14=39 Exploring Operation: 20+14=34, Resulting Numbers: [25, 34] Generated Node #0,0,3: 17:[25, 34] Operation: 20+14=34 Exploring Operation: 25-20=5, Resulting Numbers: [14, 5] Generated Node #0,0,4: 17:[14, 5] Operation: 25-20=5 Moving to Node #0,2 Current State: 17:[20, 7, 23], Operations: ['25-2=23'] Exploring Operation: 7+23=30, Resulting Numbers: [20, 30] Generated Node #0,2,0: 17:[20, 30] Operation: 7+23=30 Exploring Operation: 23-20=3, Resulting Numbers: [7, 3] Generated Node #0,2,1: 17:[7, 3] Operation: 23-20=3 Exploring Operation: 20-7=13, Resulting Numbers: [23, 13] Generated Node #0,2,2: 17:[23, 13] Operation: 20-7=13 Exploring Operation: 20+7=27, Resulting Numbers: [23, 27] Generated Node #0,2,3: 17:[23, 27] Operation: 20+7=27 Exploring Operation: 23-7=16, Resulting Numbers: [20, 16] Generated Node #0,2,4: 17:[20, 16] Operation: 23-7=16 Moving to Node #0,4 Current State: 17:[20, 25, 9], Operations: ['2+7=9'] Exploring Operation: 25+9=34, Resulting Numbers: [20, 34] Generated Node #0,4,0: 17:[20, 34] Operation: 25+9=34 Exploring Operation: 25-20=5, Resulting Numbers: [9, 5] Generated Node #0,4,1: 17:[9, 5] Operation: 25-20=5 Exploring Operation: 25-9=16, Resulting Numbers: [20, 16] Generated Node #0,4,2: 17:[20, 16] Operation: 25-9=16 Exploring Operation: 20-9=11, Resulting Numbers: [25, 11] Generated Node #0,4,3: 17:[25, 11] Operation: 20-9=11 Exploring Operation: 20+9=29, Resulting Numbers: [25, 29] Generated Node #0,4,4: 17:[25, 29] Operation: 20+9=29 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 17:[20, 16], Operations: ['2+7=9', '25-9=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,17 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,17 unequal: No Solution No 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: 17:[25, 11], Operations: ['2+7=9', '20-9=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,17 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,17 unequal: No Solution No 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: 17:[20, 34], Operations: ['2+7=9', '25+9=34'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,17 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,17 unequal: No Solution No 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: 17:[9, 5], Operations: ['2+7=9', '25-20=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,17 unequal: No Solution No 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: 17:[25, 29], Operations: ['2+7=9', '20+9=29'] Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,17 unequal: No Solution Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,17 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: 17:[25, 7, 18], Operations: ['20-2=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7, 7] Generated Node #0,1,0: 17:[7, 7] Operation: 25-18=7 Exploring Operation: 25-7=18, Resulting Numbers: [18, 18] Generated Node #0,1,1: 17:[18, 18] Operation: 25-7=18 Exploring Operation: 25+7=32, Resulting Numbers: [18, 32] Generated Node #0,1,2: 17:[18, 32] Operation: 25+7=32 Exploring Operation: 7+18=25, Resulting Numbers: [25, 25] Generated Node #0,1,3: 17:[25, 25] Operation: 7+18=25 Exploring Operation: 18-7=11, Resulting Numbers: [25, 11] Generated Node #0,1,4: 17:[25, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[18, 18], Operations: ['20-2=18', '25-7=18'] Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,17 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 17:[25, 11], Operations: ['20-2=18', '18-7=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,17 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,17 unequal: No Solution No 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: 17:[18, 32], Operations: ['20-2=18', '25+7=32'] Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,17 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,17 unequal: No Solution No 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: 17:[25, 25], Operations: ['20-2=18', '7+18=25'] Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,17 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,17 unequal: No Solution No 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: 17:[7, 7], Operations: ['20-2=18', '25-18=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,17 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: 17:[20, 2, 18], Operations: ['25-7=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20, 20] Generated Node #0,3,0: 17:[20, 20] Operation: 2+18=20 Exploring Operation: 20-2=18, Resulting Numbers: [18, 18] Generated Node #0,3,1: 17:[18, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [18, 10] Generated Node #0,3,2: 17:[18, 10] Operation: 20/2=10 Exploring Operation: 20+2=22, Resulting Numbers: [18, 22] Generated Node #0,3,3: 17:[18, 22] Operation: 20+2=22 Exploring Operation: 18-2=16, Resulting Numbers: [20, 16] Generated Node #0,3,4: 17:[20, 16] Operation: 18-2=16 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[18, 18], Operations: ['25-7=18', '20-2=18'] Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,17 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,17 unequal: No Solution No 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: 17:[20, 16], Operations: ['25-7=18', '18-2=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,17 unequal: No Solution No 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: 17:[20, 20], Operations: ['25-7=18', '2+18=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,17 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,17 unequal: No Solution No 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: 17:[18, 22], Operations: ['25-7=18', '20+2=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,17 unequal: No Solution No 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: 17:[18, 10], Operations: ['25-7=18', '20/2=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,17 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 17:[20, 16], Operations: ['25-2=23', '23-7=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[20, 11], Operations: ['2*7=14', '25-14=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,17 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[23, 13], Operations: ['25-2=23', '20-7=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,17 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[14, 5], Operations: ['2*7=14', '25-20=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[23, 27], Operations: ['25-2=23', '20+7=27'] Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,17 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[20, 30], Operations: ['25-2=23', '7+23=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,17 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[25, 6], Operations: ['2*7=14', '20-14=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[7, 3], Operations: ['25-2=23', '23-20=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[20, 39], Operations: ['2*7=14', '25+14=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,17 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[25, 34], Operations: ['2*7=14', '20+14=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,17 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 35, 66, 60, 30 ]
62
[ "66-35=31", "60/30=2", "31*2=62" ]
Current State: 62:[35, 66, 60, 30], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [60, 30, 31] Generated Node #2: [60, 30, 31] from Operation: 66-35=31 Current State: 62:[60, 30, 31], Operations: ['66-35=31'] Exploring Operation: 60/30=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 60/30=2 Current State: 62:[31, 2], Operations: ['66-35=31', '60/30=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 66, 60, 30], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [60, 30, 31] Generated Node #0,0: 62:[60, 30, 31] Operation: 66-35=31 Exploring Operation: 60/30=2, Resulting Numbers: [35, 66, 2] Generated Node #0,1: 62:[35, 66, 2] Operation: 60/30=2 Exploring Operation: 35-30=5, Resulting Numbers: [66, 60, 5] Generated Node #0,2: 62:[66, 60, 5] Operation: 35-30=5 Exploring Operation: 35+30=65, Resulting Numbers: [66, 60, 65] Generated Node #0,3: 62:[66, 60, 65] Operation: 35+30=65 Exploring Operation: 66-60=6, Resulting Numbers: [35, 30, 6] Generated Node #0,4: 62:[35, 30, 6] Operation: 66-60=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[60, 30, 31], Operations: ['66-35=31'] Exploring Operation: 30+31=61, Resulting Numbers: [60, 61] Generated Node #0,0,0: 62:[60, 61] Operation: 30+31=61 Exploring Operation: 60-30=30, Resulting Numbers: [31, 30] Generated Node #0,0,1: 62:[31, 30] Operation: 60-30=30 Exploring Operation: 60-31=29, Resulting Numbers: [30, 29] Generated Node #0,0,2: 62:[30, 29] Operation: 60-31=29 Exploring Operation: 60/30=2, Resulting Numbers: [31, 2] Generated Node #0,0,3: 62:[31, 2] Operation: 60/30=2 Exploring Operation: 31-30=1, Resulting Numbers: [60, 1] Generated Node #0,0,4: 62:[60, 1] Operation: 31-30=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[31, 2], Operations: ['66-35=31', '60/30=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[35, 66, 60, 30], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [60, 30, 31] Generated Node #0,0: 62:[60, 30, 31] Operation: 66-35=31 Moving to Node #0,0 Current State: 62:[60, 30, 31], Operations: ['66-35=31'] Exploring Operation: 60/30=2, Resulting Numbers: [31, 2] Generated Node #0,0,3: 62:[31, 2] Operation: 60/30=2 Moving to Node #0,0,3 Current State: 62:[31, 2], Operations: ['66-35=31', '60/30=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 20, 26, 3, 28 ]
30
[ "26-20=6", "6/3=2", "28+2=30" ]
Current State: 30:[20, 26, 3, 28], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [3, 28, 6] Generated Node #2: [3, 28, 6] from Operation: 26-20=6 Current State: 30:[3, 28, 6], Operations: ['26-20=6'] Exploring Operation: 6/3=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 6/3=2 Current State: 30:[28, 2], Operations: ['26-20=6', '6/3=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[20, 26, 3, 28], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [26, 3, 8] Generated Node #0,0: 30:[26, 3, 8] Operation: 28-20=8 Exploring Operation: 28-26=2, Resulting Numbers: [20, 3, 2] Generated Node #0,1: 30:[20, 3, 2] Operation: 28-26=2 Exploring Operation: 20-3=17, Resulting Numbers: [26, 28, 17] Generated Node #0,2: 30:[26, 28, 17] Operation: 20-3=17 Exploring Operation: 26-20=6, Resulting Numbers: [3, 28, 6] Generated Node #0,3: 30:[3, 28, 6] Operation: 26-20=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[3, 28, 6], Operations: ['26-20=6'] Exploring Operation: 3+6=9, Resulting Numbers: [28, 9] Generated Node #0,3,0: 30:[28, 9] Operation: 3+6=9 Exploring Operation: 3+28=31, Resulting Numbers: [6, 31] Generated Node #0,3,1: 30:[6, 31] Operation: 3+28=31 Exploring Operation: 6/3=2, Resulting Numbers: [28, 2] Generated Node #0,3,2: 30:[28, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [28, 3] Generated Node #0,3,3: 30:[28, 3] Operation: 6-3=3 Moving to Node #0,3,1 Current State: 30:[6, 31], Operations: ['26-20=6', '3+28=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,30 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[28, 3], Operations: ['26-20=6', '6-3=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[28, 2], Operations: ['26-20=6', '6/3=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[20, 26, 3, 28], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [3, 28, 6] Generated Node #0,3: 30:[3, 28, 6] Operation: 26-20=6 Moving to Node #0,3 Current State: 30:[3, 28, 6], Operations: ['26-20=6'] Exploring Operation: 6/3=2, Resulting Numbers: [28, 2] Generated Node #0,3,2: 30:[28, 2] Operation: 6/3=2 Moving to Node #0,3,2 Current State: 30:[28, 2], Operations: ['26-20=6', '6/3=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 47, 68, 67, 17 ]
71
[ "68-47=21", "67-17=50", "21+50=71" ]
Current State: 71:[47, 68, 67, 17], Operations: [] Exploring Operation: 68-47=21, Resulting Numbers: [67, 17, 21] Generated Node #2: [67, 17, 21] from Operation: 68-47=21 Current State: 71:[67, 17, 21], Operations: ['68-47=21'] Exploring Operation: 67-17=50, Resulting Numbers: [21, 50] Generated Node #3: [21, 50] from Operation: 67-17=50 Current State: 71:[21, 50], Operations: ['68-47=21', '67-17=50'] Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[47, 68, 67, 17], Operations: [] Exploring Operation: 47+17=64, Resulting Numbers: [68, 67, 64] Generated Node #0,0: 71:[68, 67, 64] Operation: 47+17=64 Exploring Operation: 67+17=84, Resulting Numbers: [47, 68, 84] Generated Node #0,1: 71:[47, 68, 84] Operation: 67+17=84 Exploring Operation: 68+17=85, Resulting Numbers: [47, 67, 85] Generated Node #0,2: 71:[47, 67, 85] Operation: 68+17=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[68, 67, 64], Operations: ['47+17=64'] Exploring Operation: 68+67=135, Resulting Numbers: [64, 135] Generated Node #0,0,0: 71:[64, 135] Operation: 68+67=135 Exploring Operation: 68+64=132, Resulting Numbers: [67, 132] Generated Node #0,0,1: 71:[67, 132] Operation: 68+64=132 Exploring Operation: 67+64=131, Resulting Numbers: [68, 131] Generated Node #0,0,2: 71:[68, 131] Operation: 67+64=131 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[68, 131], Operations: ['47+17=64', '67+64=131'] Exploring Operation: 131-68=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 68+131=199, Resulting Numbers: [199] 199,71 unequal: No Solution Exploring Operation: 68*131=8908, Resulting Numbers: [8908] 8908,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[67, 132], Operations: ['47+17=64', '68+64=132'] Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,71 unequal: No Solution Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,71 unequal: No Solution Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[64, 135], Operations: ['47+17=64', '68+67=135'] Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[47, 68, 67, 17], Operations: [] Exploring Operation: 47+17=64, Resulting Numbers: [68, 67, 64] Generated Node #0,0: 71:[68, 67, 64] Operation: 47+17=64 Moving to Node #0,0 Current State: 71:[68, 67, 64], Operations: ['47+17=64'] Exploring Operation: 68+67=135, Resulting Numbers: [64, 135] Generated Node #0,0,0: 71:[64, 135] Operation: 68+67=135 Moving to Node #0,0,0 Current State: 71:[64, 135], Operations: ['47+17=64', '68+67=135'] Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 22, 91, 2, 60 ]
13
[ "22*2=44", "91-60=31", "44-31=13" ]
Current State: 13:[22, 91, 2, 60], Operations: [] Exploring Operation: 22*2=44, Resulting Numbers: [91, 60, 44] Generated Node #2: [91, 60, 44] from Operation: 22*2=44 Current State: 13:[91, 60, 44], Operations: ['22*2=44'] Exploring Operation: 91-60=31, Resulting Numbers: [44, 31] Generated Node #3: [44, 31] from Operation: 91-60=31 Current State: 13:[44, 31], Operations: ['22*2=44', '91-60=31'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[22, 91, 2, 60], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [22, 91, 30] Generated Node #0,0: 13:[22, 91, 30] Operation: 60/2=30 Exploring Operation: 91-60=31, Resulting Numbers: [22, 2, 31] Generated Node #0,1: 13:[22, 2, 31] Operation: 91-60=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[22, 2, 31], Operations: ['91-60=31'] Exploring Operation: 22/2=11, Resulting Numbers: [31, 11] Generated Node #0,1,0: 13:[31, 11] Operation: 22/2=11 Exploring Operation: 31-22=9, Resulting Numbers: [2, 9] Generated Node #0,1,1: 13:[2, 9] Operation: 31-22=9 Moving to Node #0,1,1 Current State: 13:[2, 9], Operations: ['91-60=31', '31-22=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[31, 11], Operations: ['91-60=31', '22/2=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[22, 91, 30], Operations: ['60/2=30'] Exploring Operation: 91-22=69, Resulting Numbers: [30, 69] Generated Node #0,0,0: 13:[30, 69] Operation: 91-22=69 Exploring Operation: 91-30=61, Resulting Numbers: [22, 61] Generated Node #0,0,1: 13:[22, 61] Operation: 91-30=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[22, 61], Operations: ['60/2=30', '91-30=61'] Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,13 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[30, 69], Operations: ['60/2=30', '91-22=69'] Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,13 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 64, 6, 82 ]
59
[ "6*82=492", "492/4=123", "123-64=59" ]
Current State: 59:[4, 64, 6, 82], Operations: [] Exploring Operation: 6*82=492, Resulting Numbers: [4, 64, 492] Generated Node #2: [4, 64, 492] from Operation: 6*82=492 Current State: 59:[4, 64, 492], Operations: ['6*82=492'] Exploring Operation: 492/4=123, Resulting Numbers: [64, 123] Generated Node #3: [64, 123] from Operation: 492/4=123 Current State: 59:[64, 123], Operations: ['6*82=492', '492/4=123'] Exploring Operation: 123-64=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[4, 64, 6, 82], Operations: [] Exploring Operation: 64-4=60, Resulting Numbers: [6, 82, 60] Generated Node #0,0: 59:[6, 82, 60] Operation: 64-4=60 Exploring Operation: 4*6=24, Resulting Numbers: [64, 82, 24] Generated Node #0,1: 59:[64, 82, 24] Operation: 4*6=24 Exploring Operation: 4+6=10, Resulting Numbers: [64, 82, 10] Generated Node #0,2: 59:[64, 82, 10] Operation: 4+6=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[64, 82, 24], Operations: ['4*6=24'] Exploring Operation: 82-24=58, Resulting Numbers: [64, 58] Generated Node #0,1,0: 59:[64, 58] Operation: 82-24=58 Exploring Operation: 64-24=40, Resulting Numbers: [82, 40] Generated Node #0,1,1: 59:[82, 40] Operation: 64-24=40 Exploring Operation: 64+24=88, Resulting Numbers: [82, 88] Generated Node #0,1,2: 59:[82, 88] Operation: 64+24=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[64, 58], Operations: ['4*6=24', '82-24=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[82, 40], Operations: ['4*6=24', '64-24=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,59 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[82, 88], Operations: ['4*6=24', '64+24=88'] Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[6, 82, 60], Operations: ['64-4=60'] Exploring Operation: 82-6=76, Resulting Numbers: [60, 76] Generated Node #0,0,0: 59:[60, 76] Operation: 82-6=76 Exploring Operation: 60-6=54, Resulting Numbers: [82, 54] Generated Node #0,0,1: 59:[82, 54] Operation: 60-6=54 Exploring Operation: 6+82=88, Resulting Numbers: [60, 88] Generated Node #0,0,2: 59:[60, 88] Operation: 6+82=88 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[60, 76], Operations: ['64-4=60', '82-6=76'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 60+76=136, Resulting Numbers: [136] 136,59 unequal: No Solution Exploring Operation: 60*76=4560, Resulting Numbers: [4560] 4560,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[82, 54], Operations: ['64-4=60', '60-6=54'] Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,59 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[60, 88], Operations: ['64-4=60', '6+82=88'] Exploring Operation: 60*88=5280, Resulting Numbers: [5280] 5280,59 unequal: No Solution Exploring Operation: 60+88=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[64, 82, 10], Operations: ['4+6=10'] Exploring Operation: 64-10=54, Resulting Numbers: [82, 54] Generated Node #0,2,0: 59:[82, 54] Operation: 64-10=54 Exploring Operation: 64+10=74, Resulting Numbers: [82, 74] Generated Node #0,2,1: 59:[82, 74] Operation: 64+10=74 Exploring Operation: 82-10=72, Resulting Numbers: [64, 72] Generated Node #0,2,2: 59:[64, 72] Operation: 82-10=72 Moving to Node #0,2,2 Current State: 59:[64, 72], Operations: ['4+6=10', '82-10=72'] Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,59 unequal: No Solution Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 64*72=4608, Resulting Numbers: [4608] 4608,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[82, 54], Operations: ['4+6=10', '64-10=54'] Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,59 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,59 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[82, 74], Operations: ['4+6=10', '64+10=74'] Exploring Operation: 82+74=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 82*74=6068, Resulting Numbers: [6068] 6068,59 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
[ 11, 33, 34, 80 ]
90
[ "11+33=44", "80-34=46", "44+46=90" ]
Current State: 90:[11, 33, 34, 80], Operations: [] Exploring Operation: 11+33=44, Resulting Numbers: [34, 80, 44] Generated Node #2: [34, 80, 44] from Operation: 11+33=44 Current State: 90:[34, 80, 44], Operations: ['11+33=44'] Exploring Operation: 80-34=46, Resulting Numbers: [44, 46] Generated Node #3: [44, 46] from Operation: 80-34=46 Current State: 90:[44, 46], Operations: ['11+33=44', '80-34=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[11, 33, 34, 80], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [11, 34, 47] Generated Node #0,0: 90:[11, 34, 47] Operation: 80-33=47 Exploring Operation: 80-34=46, Resulting Numbers: [11, 33, 46] Generated Node #0,1: 90:[11, 33, 46] Operation: 80-34=46 Exploring Operation: 11+80=91, Resulting Numbers: [33, 34, 91] Generated Node #0,2: 90:[33, 34, 91] Operation: 11+80=91 Moving to Node #0,1 Current State: 90:[11, 33, 46], Operations: ['80-34=46'] Exploring Operation: 33/11=3, Resulting Numbers: [46, 3] Generated Node #0,1,0: 90:[46, 3] Operation: 33/11=3 Exploring Operation: 46-33=13, Resulting Numbers: [11, 13] Generated Node #0,1,1: 90:[11, 13] Operation: 46-33=13 Exploring Operation: 11+33=44, Resulting Numbers: [46, 44] Generated Node #0,1,2: 90:[46, 44] Operation: 11+33=44 Moving to Node #0,0 Current State: 90:[11, 34, 47], Operations: ['80-33=47'] Exploring Operation: 11+34=45, Resulting Numbers: [47, 45] Generated Node #0,0,0: 90:[47, 45] Operation: 11+34=45 Exploring Operation: 47-34=13, Resulting Numbers: [11, 13] Generated Node #0,0,1: 90:[11, 13] Operation: 47-34=13 Exploring Operation: 34-11=23, Resulting Numbers: [47, 23] Generated Node #0,0,2: 90:[47, 23] Operation: 34-11=23 Moving to Node #0,2 Current State: 90:[33, 34, 91], Operations: ['11+80=91'] Exploring Operation: 91-33=58, Resulting Numbers: [34, 58] Generated Node #0,2,0: 90:[34, 58] Operation: 91-33=58 Exploring Operation: 91-34=57, Resulting Numbers: [33, 57] Generated Node #0,2,1: 90:[33, 57] Operation: 91-34=57 Exploring Operation: 34-33=1, Resulting Numbers: [91, 1] Generated Node #0,2,2: 90:[91, 1] Operation: 34-33=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[91, 1], Operations: ['11+80=91', '34-33=1'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[11, 33, 34, 80], Operations: [] Exploring Operation: 11+80=91, Resulting Numbers: [33, 34, 91] Generated Node #0,2: 90:[33, 34, 91] Operation: 11+80=91 Moving to Node #0,2 Current State: 90:[33, 34, 91], Operations: ['11+80=91'] Exploring Operation: 34-33=1, Resulting Numbers: [91, 1] Generated Node #0,2,2: 90:[91, 1] Operation: 34-33=1 Moving to Node #0,2,2 Current State: 90:[91, 1], Operations: ['11+80=91', '34-33=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 15, 63, 93, 97 ]
44
[ "63-15=48", "97-93=4", "48-4=44" ]
Current State: 44:[15, 63, 93, 97], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [93, 97, 48] Generated Node #2: [93, 97, 48] from Operation: 63-15=48 Current State: 44:[93, 97, 48], Operations: ['63-15=48'] Exploring Operation: 97-93=4, Resulting Numbers: [48, 4] Generated Node #3: [48, 4] from Operation: 97-93=4 Current State: 44:[48, 4], Operations: ['63-15=48', '97-93=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[15, 63, 93, 97], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [15, 93, 34] Generated Node #0,0: 44:[15, 93, 34] Operation: 97-63=34 Exploring Operation: 63-15=48, Resulting Numbers: [93, 97, 48] Generated Node #0,1: 44:[93, 97, 48] Operation: 63-15=48 Exploring Operation: 97-93=4, Resulting Numbers: [15, 63, 4] Generated Node #0,2: 44:[15, 63, 4] Operation: 97-93=4 Exploring Operation: 93-15=78, Resulting Numbers: [63, 97, 78] Generated Node #0,3: 44:[63, 97, 78] Operation: 93-15=78 Exploring Operation: 93-63=30, Resulting Numbers: [15, 97, 30] Generated Node #0,4: 44:[15, 97, 30] Operation: 93-63=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[15, 63, 4], Operations: ['97-93=4'] Exploring Operation: 15+4=19, Resulting Numbers: [63, 19] Generated Node #0,2,0: 44:[63, 19] Operation: 15+4=19 Exploring Operation: 63-15=48, Resulting Numbers: [4, 48] Generated Node #0,2,1: 44:[4, 48] Operation: 63-15=48 Exploring Operation: 15-4=11, Resulting Numbers: [63, 11] Generated Node #0,2,2: 44:[63, 11] Operation: 15-4=11 Exploring Operation: 63-4=59, Resulting Numbers: [15, 59] Generated Node #0,2,3: 44:[15, 59] Operation: 63-4=59 Exploring Operation: 63+4=67, Resulting Numbers: [15, 67] Generated Node #0,2,4: 44:[15, 67] Operation: 63+4=67 Moving to Node #0,2,1 Current State: 44:[4, 48], Operations: ['97-93=4', '63-15=48'] Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,44 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[15, 63, 93, 97], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [15, 63, 4] Generated Node #0,2: 44:[15, 63, 4] Operation: 97-93=4 Moving to Node #0,2 Current State: 44:[15, 63, 4], Operations: ['97-93=4'] Exploring Operation: 63-15=48, Resulting Numbers: [4, 48] Generated Node #0,2,1: 44:[4, 48] Operation: 63-15=48 Moving to Node #0,2,1 Current State: 44:[4, 48], Operations: ['97-93=4', '63-15=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 62, 28, 32, 67 ]
69
[ "62-28=34", "67-32=35", "34+35=69" ]
Current State: 69:[62, 28, 32, 67], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [32, 67, 34] Generated Node #2: [32, 67, 34] from Operation: 62-28=34 Current State: 69:[32, 67, 34], Operations: ['62-28=34'] Exploring Operation: 67-32=35, Resulting Numbers: [34, 35] Generated Node #3: [34, 35] from Operation: 67-32=35 Current State: 69:[34, 35], Operations: ['62-28=34', '67-32=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[62, 28, 32, 67], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [28, 32, 5] Generated Node #0,0: 69:[28, 32, 5] Operation: 67-62=5 Exploring Operation: 28+32=60, Resulting Numbers: [62, 67, 60] Generated Node #0,1: 69:[62, 67, 60] Operation: 28+32=60 Exploring Operation: 32-28=4, Resulting Numbers: [62, 67, 4] Generated Node #0,2: 69:[62, 67, 4] Operation: 32-28=4 Exploring Operation: 62-32=30, Resulting Numbers: [28, 67, 30] Generated Node #0,3: 69:[28, 67, 30] Operation: 62-32=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[62, 67, 4], Operations: ['32-28=4'] Exploring Operation: 67+4=71, Resulting Numbers: [62, 71] Generated Node #0,2,0: 69:[62, 71] Operation: 67+4=71 Exploring Operation: 62+4=66, Resulting Numbers: [67, 66] Generated Node #0,2,1: 69:[67, 66] Operation: 62+4=66 Exploring Operation: 62-4=58, Resulting Numbers: [67, 58] Generated Node #0,2,2: 69:[67, 58] Operation: 62-4=58 Exploring Operation: 67-62=5, Resulting Numbers: [4, 5] Generated Node #0,2,3: 69:[4, 5] Operation: 67-62=5 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 69:[4, 5], Operations: ['32-28=4', '67-62=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,69 unequal: No Solution No 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: 69:[67, 66], Operations: ['32-28=4', '62+4=66'] Exploring Operation: 67+66=133, Resulting Numbers: [133] 133,69 unequal: No Solution Exploring Operation: 67*66=4422, Resulting Numbers: [4422] 4422,69 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,69 unequal: No Solution No 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: 69:[62, 71], Operations: ['32-28=4', '67+4=71'] Exploring Operation: 62*71=4402, Resulting Numbers: [4402] 4402,69 unequal: No Solution Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 62+71=133, Resulting Numbers: [133] 133,69 unequal: No Solution No 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: 69:[67, 58], Operations: ['32-28=4', '62-4=58'] Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,69 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,69 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,69 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: 69:[28, 67, 30], Operations: ['62-32=30'] Exploring Operation: 30-28=2, Resulting Numbers: [67, 2] Generated Node #0,3,0: 69:[67, 2] Operation: 30-28=2 Exploring Operation: 67-28=39, Resulting Numbers: [30, 39] Generated Node #0,3,1: 69:[30, 39] Operation: 67-28=39 Exploring Operation: 28+30=58, Resulting Numbers: [67, 58] Generated Node #0,3,2: 69:[67, 58] Operation: 28+30=58 Exploring Operation: 67-30=37, Resulting Numbers: [28, 37] Generated Node #0,3,3: 69:[28, 37] Operation: 67-30=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[67, 2], Operations: ['62-32=30', '30-28=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[62, 28, 32, 67], Operations: [] Exploring Operation: 62-32=30, Resulting Numbers: [28, 67, 30] Generated Node #0,3: 69:[28, 67, 30] Operation: 62-32=30 Moving to Node #0,3 Current State: 69:[28, 67, 30], Operations: ['62-32=30'] Exploring Operation: 30-28=2, Resulting Numbers: [67, 2] Generated Node #0,3,0: 69:[67, 2] Operation: 30-28=2 Moving to Node #0,3,0 Current State: 69:[67, 2], Operations: ['62-32=30', '30-28=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 73, 17, 80, 43 ]
34
[ "73+80=153", "153/17=9", "43-9=34" ]
Current State: 34:[73, 17, 80, 43], Operations: [] Exploring Operation: 73+80=153, Resulting Numbers: [17, 43, 153] Generated Node #2: [17, 43, 153] from Operation: 73+80=153 Current State: 34:[17, 43, 153], Operations: ['73+80=153'] Exploring Operation: 153/17=9, Resulting Numbers: [43, 9] Generated Node #3: [43, 9] from Operation: 153/17=9 Current State: 34:[43, 9], Operations: ['73+80=153', '153/17=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[73, 17, 80, 43], Operations: [] Exploring Operation: 80-43=37, Resulting Numbers: [73, 17, 37] Generated Node #0,0: 34:[73, 17, 37] Operation: 80-43=37 Exploring Operation: 80-73=7, Resulting Numbers: [17, 43, 7] Generated Node #0,1: 34:[17, 43, 7] Operation: 80-73=7 Exploring Operation: 73-43=30, Resulting Numbers: [17, 80, 30] Generated Node #0,2: 34:[17, 80, 30] Operation: 73-43=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[17, 43, 7], Operations: ['80-73=7'] Exploring Operation: 17+7=24, Resulting Numbers: [43, 24] Generated Node #0,1,0: 34:[43, 24] Operation: 17+7=24 Exploring Operation: 43-7=36, Resulting Numbers: [17, 36] Generated Node #0,1,1: 34:[17, 36] Operation: 43-7=36 Exploring Operation: 43-17=26, Resulting Numbers: [7, 26] Generated Node #0,1,2: 34:[7, 26] Operation: 43-17=26 Moving to Node #0,1,1 Current State: 34:[17, 36], Operations: ['80-73=7', '43-7=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[7, 26], Operations: ['80-73=7', '43-17=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[43, 24], Operations: ['80-73=7', '17+7=24'] Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,34 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[73, 17, 37], Operations: ['80-43=37'] Exploring Operation: 37-17=20, Resulting Numbers: [73, 20] Generated Node #0,0,0: 34:[73, 20] Operation: 37-17=20 Exploring Operation: 73-37=36, Resulting Numbers: [17, 36] Generated Node #0,0,1: 34:[17, 36] Operation: 73-37=36 Exploring Operation: 73-17=56, Resulting Numbers: [37, 56] Generated Node #0,0,2: 34:[37, 56] Operation: 73-17=56 Moving to Node #0,0,1 Current State: 34:[17, 36], Operations: ['80-43=37', '73-37=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,34 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[37, 56], Operations: ['80-43=37', '73-17=56'] Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,34 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[73, 20], Operations: ['80-43=37', '37-17=20'] Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,34 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,34 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[17, 80, 30], Operations: ['73-43=30'] Exploring Operation: 30-17=13, Resulting Numbers: [80, 13] Generated Node #0,2,0: 34:[80, 13] Operation: 30-17=13 Exploring Operation: 80-17=63, Resulting Numbers: [30, 63] Generated Node #0,2,1: 34:[30, 63] Operation: 80-17=63 Exploring Operation: 80-30=50, Resulting Numbers: [17, 50] Generated Node #0,2,2: 34:[17, 50] Operation: 80-30=50 Moving to Node #0,2,2 Current State: 34:[17, 50], Operations: ['73-43=30', '80-30=50'] Exploring Operation: 17+50=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 17*50=850, Resulting Numbers: [850] 850,34 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[30, 63], Operations: ['73-43=30', '80-17=63'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,34 unequal: No Solution Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[80, 13], Operations: ['73-43=30', '30-17=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,34 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,34 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
[ 79, 63, 3, 9 ]
89
[ "79+3=82", "63/9=7", "82+7=89" ]
Current State: 89:[79, 63, 3, 9], Operations: [] Exploring Operation: 79+3=82, Resulting Numbers: [63, 9, 82] Generated Node #2: [63, 9, 82] from Operation: 79+3=82 Current State: 89:[63, 9, 82], Operations: ['79+3=82'] Exploring Operation: 63/9=7, Resulting Numbers: [82, 7] Generated Node #3: [82, 7] from Operation: 63/9=7 Current State: 89:[82, 7], Operations: ['79+3=82', '63/9=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[79, 63, 3, 9], Operations: [] Exploring Operation: 79+3=82, Resulting Numbers: [63, 9, 82] Generated Node #0,0: 89:[63, 9, 82] Operation: 79+3=82 Exploring Operation: 3*9=27, Resulting Numbers: [79, 63, 27] Generated Node #0,1: 89:[79, 63, 27] Operation: 3*9=27 Moving to Node #0,1 Current State: 89:[79, 63, 27], Operations: ['3*9=27'] Exploring Operation: 79+27=106, Resulting Numbers: [63, 106] Generated Node #0,1,0: 89:[63, 106] Operation: 79+27=106 Exploring Operation: 63+27=90, Resulting Numbers: [79, 90] Generated Node #0,1,1: 89:[79, 90] Operation: 63+27=90 Moving to Node #0,0 Current State: 89:[63, 9, 82], Operations: ['79+3=82'] Exploring Operation: 9+82=91, Resulting Numbers: [63, 91] Generated Node #0,0,0: 89:[63, 91] Operation: 9+82=91 Exploring Operation: 63+9=72, Resulting Numbers: [82, 72] Generated Node #0,0,1: 89:[82, 72] Operation: 63+9=72 Moving to Node #0,1,1 Current State: 89:[79, 90], Operations: ['3*9=27', '63+27=90'] Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 79+90=169, Resulting Numbers: [169] 169,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[82, 72], Operations: ['79+3=82', '63+9=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[63, 91], Operations: ['79+3=82', '9+82=91'] Exploring Operation: 63+91=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[63, 106], Operations: ['3*9=27', '79+27=106'] Exploring Operation: 106-63=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 63+106=169, Resulting Numbers: [169] 169,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 69, 27, 87, 19 ]
10
[ "69+27=96", "87+19=106", "106-96=10" ]
Current State: 10:[69, 27, 87, 19], Operations: [] Exploring Operation: 69+27=96, Resulting Numbers: [87, 19, 96] Generated Node #2: [87, 19, 96] from Operation: 69+27=96 Current State: 10:[87, 19, 96], Operations: ['69+27=96'] Exploring Operation: 87+19=106, Resulting Numbers: [96, 106] Generated Node #3: [96, 106] from Operation: 87+19=106 Current State: 10:[96, 106], Operations: ['69+27=96', '87+19=106'] Exploring Operation: 106-96=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[69, 27, 87, 19], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [27, 19, 18] Generated Node #0,0: 10:[27, 19, 18] Operation: 87-69=18 Exploring Operation: 69-27=42, Resulting Numbers: [87, 19, 42] Generated Node #0,1: 10:[87, 19, 42] Operation: 69-27=42 Moving to Node #0,0 Current State: 10:[27, 19, 18], Operations: ['87-69=18'] Exploring Operation: 27-18=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 10:[19, 9] Operation: 27-18=9 Exploring Operation: 27-19=8, Resulting Numbers: [18, 8] Generated Node #0,0,1: 10:[18, 8] Operation: 27-19=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[19, 9], Operations: ['87-69=18', '27-18=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[69, 27, 87, 19], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [27, 19, 18] Generated Node #0,0: 10:[27, 19, 18] Operation: 87-69=18 Moving to Node #0,0 Current State: 10:[27, 19, 18], Operations: ['87-69=18'] Exploring Operation: 27-18=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 10:[19, 9] Operation: 27-18=9 Moving to Node #0,0,0 Current State: 10:[19, 9], Operations: ['87-69=18', '27-18=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 89, 21, 54, 6 ]
87
[ "21+6=27", "54/27=2", "89-2=87" ]
Current State: 87:[89, 21, 54, 6], Operations: [] Exploring Operation: 21+6=27, Resulting Numbers: [89, 54, 27] Generated Node #2: [89, 54, 27] from Operation: 21+6=27 Current State: 87:[89, 54, 27], Operations: ['21+6=27'] Exploring Operation: 54/27=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 54/27=2 Current State: 87:[89, 2], Operations: ['21+6=27', '54/27=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[89, 21, 54, 6], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [89, 21, 9] Generated Node #0,0: 87:[89, 21, 9] Operation: 54/6=9 Exploring Operation: 54-21=33, Resulting Numbers: [89, 6, 33] Generated Node #0,1: 87:[89, 6, 33] Operation: 54-21=33 Exploring Operation: 89-54=35, Resulting Numbers: [21, 6, 35] Generated Node #0,2: 87:[21, 6, 35] Operation: 89-54=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[89, 6, 33], Operations: ['54-21=33'] Exploring Operation: 89+6=95, Resulting Numbers: [33, 95] Generated Node #0,1,0: 87:[33, 95] Operation: 89+6=95 Exploring Operation: 33-6=27, Resulting Numbers: [89, 27] Generated Node #0,1,1: 87:[89, 27] Operation: 33-6=27 Exploring Operation: 89-6=83, Resulting Numbers: [33, 83] Generated Node #0,1,2: 87:[33, 83] Operation: 89-6=83 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[89, 27], Operations: ['54-21=33', '33-6=27'] Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,87 unequal: No Solution Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[33, 83], Operations: ['54-21=33', '89-6=83'] Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,87 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[33, 95], Operations: ['54-21=33', '89+6=95'] Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[89, 21, 9], Operations: ['54/6=9'] Exploring Operation: 21-9=12, Resulting Numbers: [89, 12] Generated Node #0,0,0: 87:[89, 12] Operation: 21-9=12 Exploring Operation: 89-9=80, Resulting Numbers: [21, 80] Generated Node #0,0,1: 87:[21, 80] Operation: 89-9=80 Exploring Operation: 21+9=30, Resulting Numbers: [89, 30] Generated Node #0,0,2: 87:[89, 30] Operation: 21+9=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[89, 30], Operations: ['54/6=9', '21+9=30'] Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,87 unequal: No Solution Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[89, 12], Operations: ['54/6=9', '21-9=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,87 unequal: No Solution Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[21, 80], Operations: ['54/6=9', '89-9=80'] Exploring Operation: 21*80=1680, Resulting Numbers: [1680] 1680,87 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[21, 6, 35], Operations: ['89-54=35'] Exploring Operation: 35-21=14, Resulting Numbers: [6, 14] Generated Node #0,2,0: 87:[6, 14] Operation: 35-21=14 Exploring Operation: 21+6=27, Resulting Numbers: [35, 27] Generated Node #0,2,1: 87:[35, 27] Operation: 21+6=27 Exploring Operation: 35-6=29, Resulting Numbers: [21, 29] Generated Node #0,2,2: 87:[21, 29] Operation: 35-6=29 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[35, 27], Operations: ['89-54=35', '21+6=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,87 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[21, 29], Operations: ['89-54=35', '35-6=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,87 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[6, 14], Operations: ['89-54=35', '35-21=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 34, 28, 27, 64 ]
30
[ "64-34=30", "28-27=1", "30*1=30" ]
Current State: 30:[34, 28, 27, 64], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [28, 27, 30] Generated Node #2: [28, 27, 30] from Operation: 64-34=30 Current State: 30:[28, 27, 30], Operations: ['64-34=30'] Exploring Operation: 28-27=1, Resulting Numbers: [30, 1] Generated Node #3: [30, 1] from Operation: 28-27=1 Current State: 30:[30, 1], Operations: ['64-34=30', '28-27=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[34, 28, 27, 64], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [34, 27, 36] Generated Node #0,0: 30:[34, 27, 36] Operation: 64-28=36 Exploring Operation: 64-27=37, Resulting Numbers: [34, 28, 37] Generated Node #0,1: 30:[34, 28, 37] Operation: 64-27=37 Exploring Operation: 64-34=30, Resulting Numbers: [28, 27, 30] Generated Node #0,2: 30:[28, 27, 30] Operation: 64-34=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[28, 27, 30], Operations: ['64-34=30'] Exploring Operation: 30-28=2, Resulting Numbers: [27, 2] Generated Node #0,2,0: 30:[27, 2] Operation: 30-28=2 Exploring Operation: 30-27=3, Resulting Numbers: [28, 3] Generated Node #0,2,1: 30:[28, 3] Operation: 30-27=3 Exploring Operation: 28-27=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 30:[30, 1] Operation: 28-27=1 Moving to Node #0,2,2 Current State: 30:[30, 1], Operations: ['64-34=30', '28-27=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[34, 28, 27, 64], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [28, 27, 30] Generated Node #0,2: 30:[28, 27, 30] Operation: 64-34=30 Moving to Node #0,2 Current State: 30:[28, 27, 30], Operations: ['64-34=30'] Exploring Operation: 28-27=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 30:[30, 1] Operation: 28-27=1 Moving to Node #0,2,2 Current State: 30:[30, 1], Operations: ['64-34=30', '28-27=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 21, 97, 95, 6 ]
48
[ "97-95=2", "21*2=42", "6+42=48" ]
Current State: 48:[21, 97, 95, 6], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [21, 6, 2] Generated Node #2: [21, 6, 2] from Operation: 97-95=2 Current State: 48:[21, 6, 2], Operations: ['97-95=2'] Exploring Operation: 21*2=42, Resulting Numbers: [6, 42] Generated Node #3: [6, 42] from Operation: 21*2=42 Current State: 48:[6, 42], Operations: ['97-95=2', '21*2=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[21, 97, 95, 6], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [21, 6, 2] Generated Node #0,0: 48:[21, 6, 2] Operation: 97-95=2 Exploring Operation: 97-21=76, Resulting Numbers: [95, 6, 76] Generated Node #0,1: 48:[95, 6, 76] Operation: 97-21=76 Moving to Node #0,0 Current State: 48:[21, 6, 2], Operations: ['97-95=2'] Exploring Operation: 21-6=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 48:[2, 15] Operation: 21-6=15 Exploring Operation: 21+2=23, Resulting Numbers: [6, 23] Generated Node #0,0,1: 48:[6, 23] Operation: 21+2=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[2, 15], Operations: ['97-95=2', '21-6=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,48 unequal: No Solution No 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: 48:[6, 23], Operations: ['97-95=2', '21+2=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,48 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: 48:[95, 6, 76], Operations: ['97-21=76'] Exploring Operation: 95-6=89, Resulting Numbers: [76, 89] Generated Node #0,1,0: 48:[76, 89] Operation: 95-6=89 Exploring Operation: 95-76=19, Resulting Numbers: [6, 19] Generated Node #0,1,1: 48:[6, 19] Operation: 95-76=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[6, 19], Operations: ['97-21=76', '95-76=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,48 unequal: No Solution No 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: 48:[76, 89], Operations: ['97-21=76', '95-6=89'] Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,48 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 24, 39, 17, 20 ]
100
[ "24+39=63", "17+20=37", "63+37=100" ]
Current State: 100:[24, 39, 17, 20], Operations: [] Exploring Operation: 24+39=63, Resulting Numbers: [17, 20, 63] Generated Node #2: [17, 20, 63] from Operation: 24+39=63 Current State: 100:[17, 20, 63], Operations: ['24+39=63'] Exploring Operation: 17+20=37, Resulting Numbers: [63, 37] Generated Node #3: [63, 37] from Operation: 17+20=37 Current State: 100:[63, 37], Operations: ['24+39=63', '17+20=37'] Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[24, 39, 17, 20], Operations: [] Exploring Operation: 39+17=56, Resulting Numbers: [24, 20, 56] Generated Node #0,0: 100:[24, 20, 56] Operation: 39+17=56 Exploring Operation: 39-24=15, Resulting Numbers: [17, 20, 15] Generated Node #0,1: 100:[17, 20, 15] Operation: 39-24=15 Exploring Operation: 39-20=19, Resulting Numbers: [24, 17, 19] Generated Node #0,2: 100:[24, 17, 19] Operation: 39-20=19 Exploring Operation: 39-17=22, Resulting Numbers: [24, 20, 22] Generated Node #0,3: 100:[24, 20, 22] Operation: 39-17=22 Moving to Node #0,3 Current State: 100:[24, 20, 22], Operations: ['39-17=22'] Exploring Operation: 22-20=2, Resulting Numbers: [24, 2] Generated Node #0,3,0: 100:[24, 2] Operation: 22-20=2 Exploring Operation: 24-20=4, Resulting Numbers: [22, 4] Generated Node #0,3,1: 100:[22, 4] Operation: 24-20=4 Exploring Operation: 24-22=2, Resulting Numbers: [20, 2] Generated Node #0,3,2: 100:[20, 2] Operation: 24-22=2 Exploring Operation: 24+22=46, Resulting Numbers: [20, 46] Generated Node #0,3,3: 100:[20, 46] Operation: 24+22=46 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[20, 2], Operations: ['39-17=22', '24-22=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[24, 2], Operations: ['39-17=22', '22-20=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[22, 4], Operations: ['39-17=22', '24-20=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[20, 46], Operations: ['39-17=22', '24+22=46'] Exploring Operation: 20*46=920, Resulting Numbers: [920] 920,100 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,100 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: 100:[24, 17, 19], Operations: ['39-20=19'] Exploring Operation: 24+17=41, Resulting Numbers: [19, 41] Generated Node #0,2,0: 100:[19, 41] Operation: 24+17=41 Exploring Operation: 24-19=5, Resulting Numbers: [17, 5] Generated Node #0,2,1: 100:[17, 5] Operation: 24-19=5 Exploring Operation: 19-17=2, Resulting Numbers: [24, 2] Generated Node #0,2,2: 100:[24, 2] Operation: 19-17=2 Exploring Operation: 24-17=7, Resulting Numbers: [19, 7] Generated Node #0,2,3: 100:[19, 7] Operation: 24-17=7 Moving to Node #0,0 Current State: 100:[24, 20, 56], Operations: ['39+17=56'] Exploring Operation: 56-24=32, Resulting Numbers: [20, 32] Generated Node #0,0,0: 100:[20, 32] Operation: 56-24=32 Exploring Operation: 24+20=44, Resulting Numbers: [56, 44] Generated Node #0,0,1: 100:[56, 44] Operation: 24+20=44 Exploring Operation: 56-20=36, Resulting Numbers: [24, 36] Generated Node #0,0,2: 100:[24, 36] Operation: 56-20=36 Exploring Operation: 24-20=4, Resulting Numbers: [56, 4] Generated Node #0,0,3: 100:[56, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 100:[56, 4], Operations: ['39+17=56', '24-20=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[20, 32], Operations: ['39+17=56', '56-24=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,100 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[56, 44], Operations: ['39+17=56', '24+20=44'] Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,100 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[24, 39, 17, 20], Operations: [] Exploring Operation: 39+17=56, Resulting Numbers: [24, 20, 56] Generated Node #0,0: 100:[24, 20, 56] Operation: 39+17=56 Moving to Node #0,0 Current State: 100:[24, 20, 56], Operations: ['39+17=56'] Exploring Operation: 24+20=44, Resulting Numbers: [56, 44] Generated Node #0,0,1: 100:[56, 44] Operation: 24+20=44 Moving to Node #0,0,1 Current State: 100:[56, 44], Operations: ['39+17=56', '24+20=44'] Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_4
sum_heuristic
[ 4, 72, 2, 6 ]
79
[ "4+72=76", "6/2=3", "76+3=79" ]
Current State: 79:[4, 72, 2, 6], Operations: [] Exploring Operation: 4+72=76, Resulting Numbers: [2, 6, 76] Generated Node #2: [2, 6, 76] from Operation: 4+72=76 Current State: 79:[2, 6, 76], Operations: ['4+72=76'] Exploring Operation: 6/2=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 6/2=3 Current State: 79:[76, 3], Operations: ['4+72=76', '6/2=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[4, 72, 2, 6], Operations: [] Exploring Operation: 4*6=24, Resulting Numbers: [72, 2, 24] Generated Node #0,0: 79:[72, 2, 24] Operation: 4*6=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[72, 2, 24], Operations: ['4*6=24'] Exploring Operation: 2*24=48, Resulting Numbers: [72, 48] Generated Node #0,0,0: 79:[72, 48] Operation: 2*24=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[72, 48], Operations: ['4*6=24', '2*24=48'] Exploring Operation: 72+48=120, Resulting Numbers: [120] 120,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 79, 73, 52, 33 ]
91
[ "79-73=6", "52+33=85", "6+85=91" ]
Current State: 91:[79, 73, 52, 33], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [52, 33, 6] Generated Node #2: [52, 33, 6] from Operation: 79-73=6 Current State: 91:[52, 33, 6], Operations: ['79-73=6'] Exploring Operation: 52+33=85, Resulting Numbers: [6, 85] Generated Node #3: [6, 85] from Operation: 52+33=85 Current State: 91:[6, 85], Operations: ['79-73=6', '52+33=85'] Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[79, 73, 52, 33], Operations: [] Exploring Operation: 52+33=85, Resulting Numbers: [79, 73, 85] Generated Node #0,0: 91:[79, 73, 85] Operation: 52+33=85 Exploring Operation: 73-52=21, Resulting Numbers: [79, 33, 21] Generated Node #0,1: 91:[79, 33, 21] Operation: 73-52=21 Exploring Operation: 52-33=19, Resulting Numbers: [79, 73, 19] Generated Node #0,2: 91:[79, 73, 19] Operation: 52-33=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[79, 73, 85], Operations: ['52+33=85'] Exploring Operation: 79-73=6, Resulting Numbers: [85, 6] Generated Node #0,0,0: 91:[85, 6] Operation: 79-73=6 Exploring Operation: 85-79=6, Resulting Numbers: [73, 6] Generated Node #0,0,1: 91:[73, 6] Operation: 85-79=6 Exploring Operation: 85-73=12, Resulting Numbers: [79, 12] Generated Node #0,0,2: 91:[79, 12] Operation: 85-73=12 Moving to Node #0,0,0 Current State: 91:[85, 6], Operations: ['52+33=85', '79-73=6'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,91 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[79, 73, 52, 33], Operations: [] Exploring Operation: 52+33=85, Resulting Numbers: [79, 73, 85] Generated Node #0,0: 91:[79, 73, 85] Operation: 52+33=85 Moving to Node #0,0 Current State: 91:[79, 73, 85], Operations: ['52+33=85'] Exploring Operation: 79-73=6, Resulting Numbers: [85, 6] Generated Node #0,0,0: 91:[85, 6] Operation: 79-73=6 Moving to Node #0,0,0 Current State: 91:[85, 6], Operations: ['52+33=85', '79-73=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 86, 55, 16, 50 ]
65
[ "86-55=31", "50-16=34", "31+34=65" ]
Current State: 65:[86, 55, 16, 50], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [16, 50, 31] Generated Node #2: [16, 50, 31] from Operation: 86-55=31 Current State: 65:[16, 50, 31], Operations: ['86-55=31'] Exploring Operation: 50-16=34, Resulting Numbers: [31, 34] Generated Node #3: [31, 34] from Operation: 50-16=34 Current State: 65:[31, 34], Operations: ['86-55=31', '50-16=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[86, 55, 16, 50], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [55, 50, 70] Generated Node #0,0: 65:[55, 50, 70] Operation: 86-16=70 Exploring Operation: 55-50=5, Resulting Numbers: [86, 16, 5] Generated Node #0,1: 65:[86, 16, 5] Operation: 55-50=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[86, 16, 5], Operations: ['55-50=5'] Exploring Operation: 86-16=70, Resulting Numbers: [5, 70] Generated Node #0,1,0: 65:[5, 70] Operation: 86-16=70 Exploring Operation: 86-5=81, Resulting Numbers: [16, 81] Generated Node #0,1,1: 65:[16, 81] Operation: 86-5=81 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[5, 70], Operations: ['55-50=5', '86-16=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[86, 55, 16, 50], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [86, 16, 5] Generated Node #0,1: 65:[86, 16, 5] Operation: 55-50=5 Moving to Node #0,1 Current State: 65:[86, 16, 5], Operations: ['55-50=5'] Exploring Operation: 86-16=70, Resulting Numbers: [5, 70] Generated Node #0,1,0: 65:[5, 70] Operation: 86-16=70 Moving to Node #0,1,0 Current State: 65:[5, 70], Operations: ['55-50=5', '86-16=70'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 53, 63, 99, 72 ]
89
[ "53+63=116", "99-72=27", "116-27=89" ]
Current State: 89:[53, 63, 99, 72], Operations: [] Exploring Operation: 53+63=116, Resulting Numbers: [99, 72, 116] Generated Node #2: [99, 72, 116] from Operation: 53+63=116 Current State: 89:[99, 72, 116], Operations: ['53+63=116'] Exploring Operation: 99-72=27, Resulting Numbers: [116, 27] Generated Node #3: [116, 27] from Operation: 99-72=27 Current State: 89:[116, 27], Operations: ['53+63=116', '99-72=27'] Exploring Operation: 116-27=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 63, 99, 72], Operations: [] Exploring Operation: 53+63=116, Resulting Numbers: [99, 72, 116] Generated Node #0,0: 89:[99, 72, 116] Operation: 53+63=116 Moving to Node #0,0 Current State: 89:[99, 72, 116], Operations: ['53+63=116'] Exploring Operation: 116-72=44, Resulting Numbers: [99, 44] Generated Node #0,0,0: 89:[99, 44] Operation: 116-72=44 Moving to Node #0,0,0 Current State: 89:[99, 44], Operations: ['53+63=116', '116-72=44'] Exploring Operation: 99-44=55, Resulting Numbers: [55] 55,89 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 84, 15, 90, 58 ]
72
[ "84*15=1260", "1260/90=14", "58+14=72" ]
Current State: 72:[84, 15, 90, 58], Operations: [] Exploring Operation: 84*15=1260, Resulting Numbers: [90, 58, 1260] Generated Node #2: [90, 58, 1260] from Operation: 84*15=1260 Current State: 72:[90, 58, 1260], Operations: ['84*15=1260'] Exploring Operation: 1260/90=14, Resulting Numbers: [58, 14] Generated Node #3: [58, 14] from Operation: 1260/90=14 Current State: 72:[58, 14], Operations: ['84*15=1260', '1260/90=14'] Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[84, 15, 90, 58], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [84, 15, 32] Generated Node #0,0: 72:[84, 15, 32] Operation: 90-58=32 Exploring Operation: 84-58=26, Resulting Numbers: [15, 90, 26] Generated Node #0,1: 72:[15, 90, 26] Operation: 84-58=26 Exploring Operation: 90-84=6, Resulting Numbers: [15, 58, 6] Generated Node #0,2: 72:[15, 58, 6] Operation: 90-84=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[15, 58, 6], Operations: ['90-84=6'] Exploring Operation: 15+58=73, Resulting Numbers: [6, 73] Generated Node #0,2,0: 72:[6, 73] Operation: 15+58=73 Exploring Operation: 58+6=64, Resulting Numbers: [15, 64] Generated Node #0,2,1: 72:[15, 64] Operation: 58+6=64 Exploring Operation: 58-15=43, Resulting Numbers: [6, 43] Generated Node #0,2,2: 72:[6, 43] Operation: 58-15=43 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[6, 73], Operations: ['90-84=6', '15+58=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,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,2,2 Current State: 72:[6, 43], Operations: ['90-84=6', '58-15=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,72 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,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,2,1 Current State: 72:[15, 64], Operations: ['90-84=6', '58+6=64'] Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,72 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,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,0 Current State: 72:[84, 15, 32], Operations: ['90-58=32'] Exploring Operation: 84-32=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 72:[15, 52] Operation: 84-32=52 Exploring Operation: 32-15=17, Resulting Numbers: [84, 17] Generated Node #0,0,1: 72:[84, 17] Operation: 32-15=17 Exploring Operation: 84-15=69, Resulting Numbers: [32, 69] Generated Node #0,0,2: 72:[32, 69] Operation: 84-15=69 Moving to Node #0,0,2 Current State: 72:[32, 69], Operations: ['90-58=32', '84-15=69'] Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,72 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[84, 17], Operations: ['90-58=32', '32-15=17'] Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,72 unequal: No Solution Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[15, 52], Operations: ['90-58=32', '84-32=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,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:[15, 90, 26], Operations: ['84-58=26'] Exploring Operation: 90-26=64, Resulting Numbers: [15, 64] Generated Node #0,1,0: 72:[15, 64] Operation: 90-26=64 Exploring Operation: 90/15=6, Resulting Numbers: [26, 6] Generated Node #0,1,1: 72:[26, 6] Operation: 90/15=6 Exploring Operation: 90-15=75, Resulting Numbers: [26, 75] Generated Node #0,1,2: 72:[26, 75] Operation: 90-15=75 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[26, 6], Operations: ['84-58=26', '90/15=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,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,1,2 Current State: 72:[26, 75], Operations: ['84-58=26', '90-15=75'] Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,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,1,0 Current State: 72:[15, 64], Operations: ['84-58=26', '90-26=64'] Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,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 No solution found.
0
hs_3
mult_heuristic
[ 8, 7, 17, 68 ]
28
[ "68/17=4", "8-4=4", "7*4=28" ]
Current State: 28:[8, 7, 17, 68], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [8, 7, 4] Generated Node #2: [8, 7, 4] from Operation: 68/17=4 Current State: 28:[8, 7, 4], Operations: ['68/17=4'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 8-4=4 Current State: 28:[7, 4], Operations: ['68/17=4', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[8, 7, 17, 68], Operations: [] Exploring Operation: 68-8=60, Resulting Numbers: [7, 17, 60] Generated Node #0,0: 28:[7, 17, 60] Operation: 68-8=60 Exploring Operation: 68/17=4, Resulting Numbers: [8, 7, 4] Generated Node #0,1: 28:[8, 7, 4] Operation: 68/17=4 Exploring Operation: 68-17=51, Resulting Numbers: [8, 7, 51] Generated Node #0,2: 28:[8, 7, 51] Operation: 68-17=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[8, 7, 4], Operations: ['68/17=4'] Exploring Operation: 8+7=15, Resulting Numbers: [4, 15] Generated Node #0,1,0: 28:[4, 15] Operation: 8+7=15 Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 28:[7, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [7, 2] Generated Node #0,1,2: 28:[7, 2] Operation: 8/4=2 Moving to Node #0,1,1 Current State: 28:[7, 4], Operations: ['68/17=4', '8-4=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[8, 7, 17, 68], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [8, 7, 4] Generated Node #0,1: 28:[8, 7, 4] Operation: 68/17=4 Moving to Node #0,1 Current State: 28:[8, 7, 4], Operations: ['68/17=4'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 28:[7, 4] Operation: 8-4=4 Moving to Node #0,1,1 Current State: 28:[7, 4], Operations: ['68/17=4', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 41, 53, 2, 39 ]
93
[ "41+39=80", "80/2=40", "53+40=93" ]
Current State: 93:[41, 53, 2, 39], Operations: [] Exploring Operation: 41+39=80, Resulting Numbers: [53, 2, 80] Generated Node #2: [53, 2, 80] from Operation: 41+39=80 Current State: 93:[53, 2, 80], Operations: ['41+39=80'] Exploring Operation: 80/2=40, Resulting Numbers: [53, 40] Generated Node #3: [53, 40] from Operation: 80/2=40 Current State: 93:[53, 40], Operations: ['41+39=80', '80/2=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[41, 53, 2, 39], Operations: [] Exploring Operation: 53-41=12, Resulting Numbers: [2, 39, 12] Generated Node #0,0: 93:[2, 39, 12] Operation: 53-41=12 Exploring Operation: 53-39=14, Resulting Numbers: [41, 2, 14] Generated Node #0,1: 93:[41, 2, 14] Operation: 53-39=14 Exploring Operation: 41+53=94, Resulting Numbers: [2, 39, 94] Generated Node #0,2: 93:[2, 39, 94] Operation: 41+53=94 Exploring Operation: 53+39=92, Resulting Numbers: [41, 2, 92] Generated Node #0,3: 93:[41, 2, 92] Operation: 53+39=92 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[2, 39, 94], Operations: ['41+53=94'] Exploring Operation: 94-2=92, Resulting Numbers: [39, 92] Generated Node #0,2,0: 93:[39, 92] Operation: 94-2=92 Exploring Operation: 39-2=37, Resulting Numbers: [94, 37] Generated Node #0,2,1: 93:[94, 37] Operation: 39-2=37 Exploring Operation: 2+94=96, Resulting Numbers: [39, 96] Generated Node #0,2,2: 93:[39, 96] Operation: 2+94=96 Exploring Operation: 2+39=41, Resulting Numbers: [94, 41] Generated Node #0,2,3: 93:[94, 41] Operation: 2+39=41 Moving to Node #0,2,1 Current State: 93:[94, 37], Operations: ['41+53=94', '39-2=37'] Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,93 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[39, 92], Operations: ['41+53=94', '94-2=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,93 unequal: No Solution Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,93 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[94, 41], Operations: ['41+53=94', '2+39=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,93 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[39, 96], Operations: ['41+53=94', '2+94=96'] Exploring Operation: 39+96=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 39*96=3744, Resulting Numbers: [3744] 3744,93 unequal: No Solution Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[41, 2, 92], Operations: ['53+39=92'] Exploring Operation: 41*2=82, Resulting Numbers: [92, 82] Generated Node #0,3,0: 93:[92, 82] Operation: 41*2=82 Exploring Operation: 2+92=94, Resulting Numbers: [41, 94] Generated Node #0,3,1: 93:[41, 94] Operation: 2+92=94 Exploring Operation: 41-2=39, Resulting Numbers: [92, 39] Generated Node #0,3,2: 93:[92, 39] Operation: 41-2=39 Exploring Operation: 41+2=43, Resulting Numbers: [92, 43] Generated Node #0,3,3: 93:[92, 43] Operation: 41+2=43 Moving to Node #0,3,2 Current State: 93:[92, 39], Operations: ['53+39=92', '41-2=39'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,93 unequal: No Solution Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,93 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[41, 94], Operations: ['53+39=92', '2+92=94'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,93 unequal: No Solution Exploring Operation: 41*94=3854, Resulting Numbers: [3854] 3854,93 unequal: No Solution Exploring Operation: 41+94=135, Resulting Numbers: [135] 135,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[92, 82], Operations: ['53+39=92', '41*2=82'] Exploring Operation: 92*82=7544, Resulting Numbers: [7544] 7544,93 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 92+82=174, Resulting Numbers: [174] 174,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[92, 43], Operations: ['53+39=92', '41+2=43'] Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[2, 39, 12], Operations: ['53-41=12'] Exploring Operation: 39-12=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 93:[2, 27] Operation: 39-12=27 Exploring Operation: 2*12=24, Resulting Numbers: [39, 24] Generated Node #0,0,1: 93:[39, 24] Operation: 2*12=24 Exploring Operation: 12/2=6, Resulting Numbers: [39, 6] Generated Node #0,0,2: 93:[39, 6] Operation: 12/2=6 Exploring Operation: 39-2=37, Resulting Numbers: [12, 37] Generated Node #0,0,3: 93:[12, 37] Operation: 39-2=37 Moving to Node #0,0,0 Current State: 93:[2, 27], Operations: ['53-41=12', '39-12=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[39, 6], Operations: ['53-41=12', '12/2=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[12, 37], Operations: ['53-41=12', '39-2=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,93 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[39, 24], Operations: ['53-41=12', '2*12=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[41, 2, 14], Operations: ['53-39=14'] Exploring Operation: 2*14=28, Resulting Numbers: [41, 28] Generated Node #0,1,0: 93:[41, 28] Operation: 2*14=28 Exploring Operation: 41-14=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 93:[2, 27] Operation: 41-14=27 Exploring Operation: 41-2=39, Resulting Numbers: [14, 39] Generated Node #0,1,2: 93:[14, 39] Operation: 41-2=39 Exploring Operation: 14/2=7, Resulting Numbers: [41, 7] Generated Node #0,1,3: 93:[41, 7] Operation: 14/2=7 Moving to Node #0,1,1 Current State: 93:[2, 27], Operations: ['53-39=14', '41-14=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[41, 28], Operations: ['53-39=14', '2*14=28'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,93 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[41, 7], Operations: ['53-39=14', '14/2=7'] Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,93 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[14, 39], Operations: ['53-39=14', '41-2=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,93 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 17, 15, 91 ]
28
[ "91-35=56", "17-15=2", "56/2=28" ]
Current State: 28:[35, 17, 15, 91], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [17, 15, 56] Generated Node #2: [17, 15, 56] from Operation: 91-35=56 Current State: 28:[17, 15, 56], Operations: ['91-35=56'] Exploring Operation: 17-15=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 17-15=2 Current State: 28:[56, 2], Operations: ['91-35=56', '17-15=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[35, 17, 15, 91], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [17, 15, 56] Generated Node #0,0: 28:[17, 15, 56] Operation: 91-35=56 Exploring Operation: 91-17=74, Resulting Numbers: [35, 15, 74] Generated Node #0,1: 28:[35, 15, 74] Operation: 91-17=74 Exploring Operation: 91-15=76, Resulting Numbers: [35, 17, 76] Generated Node #0,2: 28:[35, 17, 76] Operation: 91-15=76 Moving to Node #0,0 Current State: 28:[17, 15, 56], Operations: ['91-35=56'] Exploring Operation: 56-15=41, Resulting Numbers: [17, 41] Generated Node #0,0,0: 28:[17, 41] Operation: 56-15=41 Exploring Operation: 56-17=39, Resulting Numbers: [15, 39] Generated Node #0,0,1: 28:[15, 39] Operation: 56-17=39 Exploring Operation: 17-15=2, Resulting Numbers: [56, 2] Generated Node #0,0,2: 28:[56, 2] Operation: 17-15=2 Moving to Node #0,1 Current State: 28:[35, 15, 74], Operations: ['91-17=74'] Exploring Operation: 35-15=20, Resulting Numbers: [74, 20] Generated Node #0,1,0: 28:[74, 20] Operation: 35-15=20 Exploring Operation: 74-35=39, Resulting Numbers: [15, 39] Generated Node #0,1,1: 28:[15, 39] Operation: 74-35=39 Exploring Operation: 74-15=59, Resulting Numbers: [35, 59] Generated Node #0,1,2: 28:[35, 59] Operation: 74-15=59 Moving to Node #0,2 Current State: 28:[35, 17, 76], Operations: ['91-15=76'] Exploring Operation: 76-17=59, Resulting Numbers: [35, 59] Generated Node #0,2,0: 28:[35, 59] Operation: 76-17=59 Exploring Operation: 76-35=41, Resulting Numbers: [17, 41] Generated Node #0,2,1: 28:[17, 41] Operation: 76-35=41 Exploring Operation: 35-17=18, Resulting Numbers: [76, 18] Generated Node #0,2,2: 28:[76, 18] Operation: 35-17=18 Moving to Node #0,0,1 Current State: 28:[15, 39], Operations: ['91-35=56', '56-17=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[15, 39], Operations: ['91-17=74', '74-35=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[17, 41], Operations: ['91-15=76', '76-35=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,28 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[17, 41], Operations: ['91-35=56', '56-15=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[56, 2], Operations: ['91-35=56', '17-15=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[35, 17, 15, 91], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [17, 15, 56] Generated Node #0,0: 28:[17, 15, 56] Operation: 91-35=56 Moving to Node #0,0 Current State: 28:[17, 15, 56], Operations: ['91-35=56'] Exploring Operation: 17-15=2, Resulting Numbers: [56, 2] Generated Node #0,0,2: 28:[56, 2] Operation: 17-15=2 Moving to Node #0,0,2 Current State: 28:[56, 2], Operations: ['91-35=56', '17-15=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.974826
hs_3
mult_heuristic
[ 56, 64, 16, 49 ]
42
[ "64-16=48", "49*48=2352", "2352/56=42" ]
Current State: 42:[56, 64, 16, 49], Operations: [] Exploring Operation: 64-16=48, Resulting Numbers: [56, 49, 48] Generated Node #2: [56, 49, 48] from Operation: 64-16=48 Current State: 42:[56, 49, 48], Operations: ['64-16=48'] Exploring Operation: 49*48=2352, Resulting Numbers: [56, 2352] Generated Node #3: [56, 2352] from Operation: 49*48=2352 Current State: 42:[56, 2352], Operations: ['64-16=48', '49*48=2352'] Exploring Operation: 2352/56=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[56, 64, 16, 49], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [56, 16, 15] Generated Node #0,0: 42:[56, 16, 15] Operation: 64-49=15 Exploring Operation: 64/16=4, Resulting Numbers: [56, 49, 4] Generated Node #0,1: 42:[56, 49, 4] Operation: 64/16=4 Exploring Operation: 64-56=8, Resulting Numbers: [16, 49, 8] Generated Node #0,2: 42:[16, 49, 8] Operation: 64-56=8 Moving to Node #0,2 Current State: 42:[16, 49, 8], Operations: ['64-56=8'] Exploring Operation: 16/8=2, Resulting Numbers: [49, 2] Generated Node #0,2,0: 42:[49, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [49, 8] Generated Node #0,2,1: 42:[49, 8] Operation: 16-8=8 Exploring Operation: 49-8=41, Resulting Numbers: [16, 41] Generated Node #0,2,2: 42:[16, 41] Operation: 49-8=41 Moving to Node #0,0 Current State: 42:[56, 16, 15], Operations: ['64-49=15'] Exploring Operation: 56-16=40, Resulting Numbers: [15, 40] Generated Node #0,0,0: 42:[15, 40] Operation: 56-16=40 Exploring Operation: 16-15=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 42:[56, 1] Operation: 16-15=1 Exploring Operation: 56-15=41, Resulting Numbers: [16, 41] Generated Node #0,0,2: 42:[16, 41] Operation: 56-15=41 Moving to Node #0,1 Current State: 42:[56, 49, 4], Operations: ['64/16=4'] Exploring Operation: 56/4=14, Resulting Numbers: [49, 14] Generated Node #0,1,0: 42:[49, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [49, 52] Generated Node #0,1,1: 42:[49, 52] Operation: 56-4=52 Exploring Operation: 56-49=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 42:[4, 7] Operation: 56-49=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[4, 7], Operations: ['64/16=4', '56-49=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,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:[49, 14], Operations: ['64/16=4', '56/4=14'] Exploring Operation: 49*14=686, Resulting Numbers: [686] 686,42 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,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:[49, 52], Operations: ['64/16=4', '56-4=52'] Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 42:[16, 41], Operations: ['64-56=8', '49-8=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,42 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[15, 40], Operations: ['64-49=15', '56-16=40'] Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,42 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[16, 41], Operations: ['64-49=15', '56-15=41'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[49, 2], Operations: ['64-56=8', '16/8=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[49, 8], Operations: ['64-56=8', '16-8=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,42 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[56, 1], Operations: ['64-49=15', '16-15=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,42 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 99, 27, 99, 22 ]
22
[ "99-99=0", "27*0=0", "22+0=22" ]
Current State: 22:[99, 27, 99, 22], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [27, 22, 0] Generated Node #2: [27, 22, 0] from Operation: 99-99=0 Current State: 22:[27, 22, 0], Operations: ['99-99=0'] Exploring Operation: 27*0=0, Resulting Numbers: [22, 0] Generated Node #3: [22, 0] from Operation: 27*0=0 Current State: 22:[22, 0], Operations: ['99-99=0', '27*0=0'] Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[99, 27, 99, 22], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [27, 22, 1] Generated Node #0,0: 22:[27, 22, 1] Operation: 99/99=1 Exploring Operation: 99-99=0, Resulting Numbers: [27, 22, 0] Generated Node #0,1: 22:[27, 22, 0] Operation: 99-99=0 Exploring Operation: 99-22=77, Resulting Numbers: [27, 99, 77] Generated Node #0,2: 22:[27, 99, 77] Operation: 99-22=77 Exploring Operation: 99-27=72, Resulting Numbers: [99, 22, 72] Generated Node #0,3: 22:[99, 22, 72] Operation: 99-27=72 Exploring Operation: 99-27=72, Resulting Numbers: [99, 22, 72] Generated Node #0,4: 22:[99, 22, 72] Operation: 99-27=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[27, 22, 1], Operations: ['99/99=1'] Exploring Operation: 27-1=26, Resulting Numbers: [22, 26] Generated Node #0,0,0: 22:[22, 26] Operation: 27-1=26 Exploring Operation: 27*1=27, Resulting Numbers: [22, 27] Generated Node #0,0,1: 22:[22, 27] Operation: 27*1=27 Exploring Operation: 27-22=5, Resulting Numbers: [1, 5] Generated Node #0,0,2: 22:[1, 5] Operation: 27-22=5 Exploring Operation: 27/1=27, Resulting Numbers: [22, 27] Generated Node #0,0,3: 22:[22, 27] Operation: 27/1=27 Exploring Operation: 22*1=22, Resulting Numbers: [27, 22] Generated Node #0,0,4: 22:[27, 22] Operation: 22*1=22 Moving to Node #0,0,0 Current State: 22:[22, 26], Operations: ['99/99=1', '27-1=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[1, 5], Operations: ['99/99=1', '27-22=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[22, 27], Operations: ['99/99=1', '27*1=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,22 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[22, 27], Operations: ['99/99=1', '27/1=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[27, 22], Operations: ['99/99=1', '22*1=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,22 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,22 unequal: No Solution No 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: 22:[27, 22, 0], Operations: ['99-99=0'] Exploring Operation: 27+0=27, Resulting Numbers: [22, 27] Generated Node #0,1,0: 22:[22, 27] Operation: 27+0=27 Exploring Operation: 27*0=0, Resulting Numbers: [22, 0] Generated Node #0,1,1: 22:[22, 0] Operation: 27*0=0 Exploring Operation: 22+0=22, Resulting Numbers: [27, 22] Generated Node #0,1,2: 22:[27, 22] Operation: 22+0=22 Exploring Operation: 27-0=27, Resulting Numbers: [22, 27] Generated Node #0,1,3: 22:[22, 27] Operation: 27-0=27 Exploring Operation: 27-22=5, Resulting Numbers: [0, 5] Generated Node #0,1,4: 22:[0, 5] Operation: 27-22=5 Moving to Node #0,1,1 Current State: 22:[22, 0], Operations: ['99-99=0', '27*0=0'] Exploring Operation: 22*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[99, 27, 99, 22], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [27, 22, 0] Generated Node #0,1: 22:[27, 22, 0] Operation: 99-99=0 Moving to Node #0,1 Current State: 22:[27, 22, 0], Operations: ['99-99=0'] Exploring Operation: 27*0=0, Resulting Numbers: [22, 0] Generated Node #0,1,1: 22:[22, 0] Operation: 27*0=0 Moving to Node #0,1,1 Current State: 22:[22, 0], Operations: ['99-99=0', '27*0=0'] Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 84, 35, 28, 18 ]
41
[ "84/28=3", "18/3=6", "35+6=41" ]
Current State: 41:[84, 35, 28, 18], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [35, 18, 3] Generated Node #2: [35, 18, 3] from Operation: 84/28=3 Current State: 41:[35, 18, 3], Operations: ['84/28=3'] Exploring Operation: 18/3=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 18/3=6 Current State: 41:[35, 6], Operations: ['84/28=3', '18/3=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[84, 35, 28, 18], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [35, 18, 3] Generated Node #0,0: 41:[35, 18, 3] Operation: 84/28=3 Exploring Operation: 84-18=66, Resulting Numbers: [35, 28, 66] Generated Node #0,1: 41:[35, 28, 66] Operation: 84-18=66 Exploring Operation: 84-28=56, Resulting Numbers: [35, 18, 56] Generated Node #0,2: 41:[35, 18, 56] Operation: 84-28=56 Exploring Operation: 28+18=46, Resulting Numbers: [84, 35, 46] Generated Node #0,3: 41:[84, 35, 46] Operation: 28+18=46 Exploring Operation: 84-35=49, Resulting Numbers: [28, 18, 49] Generated Node #0,4: 41:[28, 18, 49] Operation: 84-35=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[35, 28, 66], Operations: ['84-18=66'] Exploring Operation: 35+28=63, Resulting Numbers: [66, 63] Generated Node #0,1,0: 41:[66, 63] Operation: 35+28=63 Exploring Operation: 66-35=31, Resulting Numbers: [28, 31] Generated Node #0,1,1: 41:[28, 31] Operation: 66-35=31 Exploring Operation: 66-28=38, Resulting Numbers: [35, 38] Generated Node #0,1,2: 41:[35, 38] Operation: 66-28=38 Exploring Operation: 35-28=7, Resulting Numbers: [66, 7] Generated Node #0,1,3: 41:[66, 7] Operation: 35-28=7 Exploring Operation: 28+66=94, Resulting Numbers: [35, 94] Generated Node #0,1,4: 41:[35, 94] Operation: 28+66=94 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[35, 38], Operations: ['84-18=66', '66-28=38'] Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,41 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[28, 31], Operations: ['84-18=66', '66-35=31'] Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,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:[66, 63], Operations: ['84-18=66', '35+28=63'] Exploring Operation: 66*63=4158, Resulting Numbers: [4158] 4158,41 unequal: No Solution Exploring Operation: 66+63=129, Resulting Numbers: [129] 129,41 unequal: No Solution Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[66, 7], Operations: ['84-18=66', '35-28=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,41 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 41:[35, 94], Operations: ['84-18=66', '28+66=94'] Exploring Operation: 35+94=129, Resulting Numbers: [129] 129,41 unequal: No Solution Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 35*94=3290, Resulting Numbers: [3290] 3290,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[35, 18, 56], Operations: ['84-28=56'] Exploring Operation: 18+56=74, Resulting Numbers: [35, 74] Generated Node #0,2,0: 41:[35, 74] Operation: 18+56=74 Exploring Operation: 56-18=38, Resulting Numbers: [35, 38] Generated Node #0,2,1: 41:[35, 38] Operation: 56-18=38 Exploring Operation: 35+18=53, Resulting Numbers: [56, 53] Generated Node #0,2,2: 41:[56, 53] Operation: 35+18=53 Exploring Operation: 56-35=21, Resulting Numbers: [18, 21] Generated Node #0,2,3: 41:[18, 21] Operation: 56-35=21 Exploring Operation: 35-18=17, Resulting Numbers: [56, 17] Generated Node #0,2,4: 41:[56, 17] Operation: 35-18=17 Moving to Node #0,2,1 Current State: 41:[35, 38], Operations: ['84-28=56', '56-18=38'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[56, 53], Operations: ['84-28=56', '35+18=53'] Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[35, 74], Operations: ['84-28=56', '18+56=74'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 35*74=2590, Resulting Numbers: [2590] 2590,41 unequal: No Solution Exploring Operation: 35+74=109, Resulting Numbers: [109] 109,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[56, 17], Operations: ['84-28=56', '35-18=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,41 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[18, 21], Operations: ['84-28=56', '56-35=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,41 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,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,4 Current State: 41:[28, 18, 49], Operations: ['84-35=49'] Exploring Operation: 49-18=31, Resulting Numbers: [28, 31] Generated Node #0,4,0: 41:[28, 31] Operation: 49-18=31 Exploring Operation: 28+18=46, Resulting Numbers: [49, 46] Generated Node #0,4,1: 41:[49, 46] Operation: 28+18=46 Exploring Operation: 18+49=67, Resulting Numbers: [28, 67] Generated Node #0,4,2: 41:[28, 67] Operation: 18+49=67 Exploring Operation: 28-18=10, Resulting Numbers: [49, 10] Generated Node #0,4,3: 41:[49, 10] Operation: 28-18=10 Exploring Operation: 49-28=21, Resulting Numbers: [18, 21] Generated Node #0,4,4: 41:[18, 21] Operation: 49-28=21 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[49, 46], Operations: ['84-35=49', '28+18=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,41 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[28, 31], Operations: ['84-35=49', '49-18=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,41 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 41:[28, 67], Operations: ['84-35=49', '18+49=67'] Exploring Operation: 28*67=1876, Resulting Numbers: [1876] 1876,41 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 28+67=95, Resulting Numbers: [95] 95,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[49, 10], Operations: ['84-35=49', '28-18=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 41:[18, 21], Operations: ['84-35=49', '49-28=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,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,3 Current State: 41:[84, 35, 46], Operations: ['28+18=46'] Exploring Operation: 84-46=38, Resulting Numbers: [35, 38] Generated Node #0,3,0: 41:[35, 38] Operation: 84-46=38 Exploring Operation: 35+46=81, Resulting Numbers: [84, 81] Generated Node #0,3,1: 41:[84, 81] Operation: 35+46=81 Exploring Operation: 84-35=49, Resulting Numbers: [46, 49] Generated Node #0,3,2: 41:[46, 49] Operation: 84-35=49 Exploring Operation: 46-35=11, Resulting Numbers: [84, 11] Generated Node #0,3,3: 41:[84, 11] Operation: 46-35=11 Exploring Operation: 84+35=119, Resulting Numbers: [46, 119] Generated Node #0,3,4: 41:[46, 119] Operation: 84+35=119 Moving to Node #0,3,0 Current State: 41:[35, 38], Operations: ['28+18=46', '84-46=38'] Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,41 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[46, 49], Operations: ['28+18=46', '84-35=49'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,41 unequal: No Solution Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[84, 11], Operations: ['28+18=46', '46-35=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,41 unequal: No Solution Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[84, 81], Operations: ['28+18=46', '35+46=81'] Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,41 unequal: No Solution Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,41 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,41 unequal: No Solution Moving to Node #0,3,4 Current State: 41:[46, 119], Operations: ['28+18=46', '84+35=119'] Exploring Operation: 46*119=5474, Resulting Numbers: [5474] 5474,41 unequal: No Solution Exploring Operation: 46+119=165, Resulting Numbers: [165] 165,41 unequal: No Solution Exploring Operation: 119-46=73, Resulting Numbers: [73] 73,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,0 Current State: 41:[35, 18, 3], Operations: ['84/28=3'] Exploring Operation: 35+3=38, Resulting Numbers: [18, 38] Generated Node #0,0,0: 41:[18, 38] Operation: 35+3=38 Exploring Operation: 35-3=32, Resulting Numbers: [18, 32] Generated Node #0,0,1: 41:[18, 32] Operation: 35-3=32 Exploring Operation: 18-3=15, Resulting Numbers: [35, 15] Generated Node #0,0,2: 41:[35, 15] Operation: 18-3=15 Exploring Operation: 18+3=21, Resulting Numbers: [35, 21] Generated Node #0,0,3: 41:[35, 21] Operation: 18+3=21 Exploring Operation: 18*3=54, Resulting Numbers: [35, 54] Generated Node #0,0,4: 41:[35, 54] Operation: 18*3=54 Moving to Node #0,0,4 Current State: 41:[35, 54], Operations: ['84/28=3', '18*3=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,41 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[35, 21], Operations: ['84/28=3', '18+3=21'] Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,41 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[18, 38], Operations: ['84/28=3', '35+3=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,41 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[18, 32], Operations: ['84/28=3', '35-3=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,41 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[35, 15], Operations: ['84/28=3', '18-3=15'] Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,41 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 50, 18, 99, 96 ]
65
[ "50+18=68", "99-96=3", "68-3=65" ]
Current State: 65:[50, 18, 99, 96], Operations: [] Exploring Operation: 50+18=68, Resulting Numbers: [99, 96, 68] Generated Node #2: [99, 96, 68] from Operation: 50+18=68 Current State: 65:[99, 96, 68], Operations: ['50+18=68'] Exploring Operation: 99-96=3, Resulting Numbers: [68, 3] Generated Node #3: [68, 3] from Operation: 99-96=3 Current State: 65:[68, 3], Operations: ['50+18=68', '99-96=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[50, 18, 99, 96], Operations: [] Exploring Operation: 96-50=46, Resulting Numbers: [18, 99, 46] Generated Node #0,0: 65:[18, 99, 46] Operation: 96-50=46 Exploring Operation: 99-96=3, Resulting Numbers: [50, 18, 3] Generated Node #0,1: 65:[50, 18, 3] Operation: 99-96=3 Exploring Operation: 99-50=49, Resulting Numbers: [18, 96, 49] Generated Node #0,2: 65:[18, 96, 49] Operation: 99-50=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[50, 18, 3], Operations: ['99-96=3'] Exploring Operation: 18/3=6, Resulting Numbers: [50, 6] Generated Node #0,1,0: 65:[50, 6] Operation: 18/3=6 Exploring Operation: 50+18=68, Resulting Numbers: [3, 68] Generated Node #0,1,1: 65:[3, 68] Operation: 50+18=68 Exploring Operation: 50+3=53, Resulting Numbers: [18, 53] Generated Node #0,1,2: 65:[18, 53] Operation: 50+3=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[3, 68], Operations: ['99-96=3', '50+18=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[50, 18, 99, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [50, 18, 3] Generated Node #0,1: 65:[50, 18, 3] Operation: 99-96=3 Moving to Node #0,1 Current State: 65:[50, 18, 3], Operations: ['99-96=3'] Exploring Operation: 50+18=68, Resulting Numbers: [3, 68] Generated Node #0,1,1: 65:[3, 68] Operation: 50+18=68 Moving to Node #0,1,1 Current State: 65:[3, 68], Operations: ['99-96=3', '50+18=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 38, 99, 37, 70 ]
41
[ "70-37=33", "99/33=3", "38+3=41" ]
Current State: 41:[38, 99, 37, 70], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [38, 99, 33] Generated Node #2: [38, 99, 33] from Operation: 70-37=33 Current State: 41:[38, 99, 33], Operations: ['70-37=33'] Exploring Operation: 99/33=3, Resulting Numbers: [38, 3] Generated Node #3: [38, 3] from Operation: 99/33=3 Current State: 41:[38, 3], Operations: ['70-37=33', '99/33=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[38, 99, 37, 70], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [38, 37, 29] Generated Node #0,0: 41:[38, 37, 29] Operation: 99-70=29 Exploring Operation: 70-37=33, Resulting Numbers: [38, 99, 33] Generated Node #0,1: 41:[38, 99, 33] Operation: 70-37=33 Exploring Operation: 99-38=61, Resulting Numbers: [37, 70, 61] Generated Node #0,2: 41:[37, 70, 61] Operation: 99-38=61 Exploring Operation: 99-37=62, Resulting Numbers: [38, 70, 62] Generated Node #0,3: 41:[38, 70, 62] Operation: 99-37=62 Moving to Node #0,0 Current State: 41:[38, 37, 29], Operations: ['99-70=29'] Exploring Operation: 38-29=9, Resulting Numbers: [37, 9] Generated Node #0,0,0: 41:[37, 9] Operation: 38-29=9 Exploring Operation: 37+29=66, Resulting Numbers: [38, 66] Generated Node #0,0,1: 41:[38, 66] Operation: 37+29=66 Exploring Operation: 37-29=8, Resulting Numbers: [38, 8] Generated Node #0,0,2: 41:[38, 8] Operation: 37-29=8 Exploring Operation: 38+29=67, Resulting Numbers: [37, 67] Generated Node #0,0,3: 41:[37, 67] Operation: 38+29=67 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[38, 66], Operations: ['99-70=29', '37+29=66'] Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,41 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,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,0,3 Current State: 41:[37, 67], Operations: ['99-70=29', '38+29=67'] Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,41 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,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,0,0 Current State: 41:[37, 9], Operations: ['99-70=29', '38-29=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,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,0,2 Current State: 41:[38, 8], Operations: ['99-70=29', '37-29=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,41 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: 41:[38, 70, 62], Operations: ['99-37=62'] Exploring Operation: 38+70=108, Resulting Numbers: [62, 108] Generated Node #0,3,0: 41:[62, 108] Operation: 38+70=108 Exploring Operation: 70-38=32, Resulting Numbers: [62, 32] Generated Node #0,3,1: 41:[62, 32] Operation: 70-38=32 Exploring Operation: 62-38=24, Resulting Numbers: [70, 24] Generated Node #0,3,2: 41:[70, 24] Operation: 62-38=24 Exploring Operation: 70-62=8, Resulting Numbers: [38, 8] Generated Node #0,3,3: 41:[38, 8] Operation: 70-62=8 Moving to Node #0,2 Current State: 41:[37, 70, 61], Operations: ['99-38=61'] Exploring Operation: 37+70=107, Resulting Numbers: [61, 107] Generated Node #0,2,0: 41:[61, 107] Operation: 37+70=107 Exploring Operation: 70-37=33, Resulting Numbers: [61, 33] Generated Node #0,2,1: 41:[61, 33] Operation: 70-37=33 Exploring Operation: 61-37=24, Resulting Numbers: [70, 24] Generated Node #0,2,2: 41:[70, 24] Operation: 61-37=24 Exploring Operation: 70-61=9, Resulting Numbers: [37, 9] Generated Node #0,2,3: 41:[37, 9] Operation: 70-61=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[61, 33], Operations: ['99-38=61', '70-37=33'] Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,41 unequal: No Solution Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,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,3 Current State: 41:[37, 9], Operations: ['99-38=61', '70-61=9'] Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,41 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[70, 24], Operations: ['99-38=61', '61-37=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,41 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,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,0 Current State: 41:[61, 107], Operations: ['99-38=61', '37+70=107'] Exploring Operation: 107-61=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 61*107=6527, Resulting Numbers: [6527] 6527,41 unequal: No Solution Exploring Operation: 61+107=168, Resulting Numbers: [168] 168,41 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: 41:[38, 99, 33], Operations: ['70-37=33'] Exploring Operation: 38+33=71, Resulting Numbers: [99, 71] Generated Node #0,1,0: 41:[99, 71] Operation: 38+33=71 Exploring Operation: 99-33=66, Resulting Numbers: [38, 66] Generated Node #0,1,1: 41:[38, 66] Operation: 99-33=66 Exploring Operation: 99-38=61, Resulting Numbers: [33, 61] Generated Node #0,1,2: 41:[33, 61] Operation: 99-38=61 Exploring Operation: 99/33=3, Resulting Numbers: [38, 3] Generated Node #0,1,3: 41:[38, 3] Operation: 99/33=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[38, 66], Operations: ['70-37=33', '99-33=66'] Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,41 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[33, 61], Operations: ['70-37=33', '99-38=61'] Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,41 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[38, 3], Operations: ['70-37=33', '99/33=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,41 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[38, 99, 37, 70], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [38, 99, 33] Generated Node #0,1: 41:[38, 99, 33] Operation: 70-37=33 Moving to Node #0,1 Current State: 41:[38, 99, 33], Operations: ['70-37=33'] Exploring Operation: 99/33=3, Resulting Numbers: [38, 3] Generated Node #0,1,3: 41:[38, 3] Operation: 99/33=3 Moving to Node #0,1,3 Current State: 41:[38, 3], Operations: ['70-37=33', '99/33=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_4
sum_heuristic
[ 4, 97, 59, 94 ]
14
[ "97-59=38", "94-38=56", "56/4=14" ]
Current State: 14:[4, 97, 59, 94], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [4, 94, 38] Generated Node #2: [4, 94, 38] from Operation: 97-59=38 Current State: 14:[4, 94, 38], Operations: ['97-59=38'] Exploring Operation: 94-38=56, Resulting Numbers: [4, 56] Generated Node #3: [4, 56] from Operation: 94-38=56 Current State: 14:[4, 56], Operations: ['97-59=38', '94-38=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[4, 97, 59, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [4, 59, 3] Generated Node #0,0: 14:[4, 59, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 14:[4, 59, 3], Operations: ['97-94=3'] Exploring Operation: 59-4=55, Resulting Numbers: [3, 55] Generated Node #0,0,0: 14:[3, 55] Operation: 59-4=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[3, 55], Operations: ['97-94=3', '59-4=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,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
sum_heuristic
[ 80, 12, 90, 9 ]
50
[ "12-9=3", "90/3=30", "80-30=50" ]
Current State: 50:[80, 12, 90, 9], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [80, 90, 3] Generated Node #2: [80, 90, 3] from Operation: 12-9=3 Current State: 50:[80, 90, 3], Operations: ['12-9=3'] Exploring Operation: 90/3=30, Resulting Numbers: [80, 30] Generated Node #3: [80, 30] from Operation: 90/3=30 Current State: 50:[80, 30], Operations: ['12-9=3', '90/3=30'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[80, 12, 90, 9], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [80, 12, 10] Generated Node #0,0: 50:[80, 12, 10] Operation: 90/9=10 Exploring Operation: 90-80=10, Resulting Numbers: [12, 9, 10] Generated Node #0,1: 50:[12, 9, 10] Operation: 90-80=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[12, 9, 10], Operations: ['90-80=10'] Exploring Operation: 12-10=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 50:[9, 2] Operation: 12-10=2 Exploring Operation: 12-9=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 50:[10, 3] Operation: 12-9=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[9, 2], Operations: ['90-80=10', '12-10=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[10, 3], Operations: ['90-80=10', '12-9=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[80, 12, 10], Operations: ['90/9=10'] Exploring Operation: 80-12=68, Resulting Numbers: [10, 68] Generated Node #0,0,0: 50:[10, 68] Operation: 80-12=68 Exploring Operation: 80/10=8, Resulting Numbers: [12, 8] Generated Node #0,0,1: 50:[12, 8] Operation: 80/10=8 Moving to Node #0,0,1 Current State: 50:[12, 8], Operations: ['90/9=10', '80/10=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[10, 68], Operations: ['90/9=10', '80-12=68'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 22, 22, 28, 90 ]
74
[ "22+22=44", "28+90=118", "118-44=74" ]
Current State: 74:[22, 22, 28, 90], Operations: [] Exploring Operation: 22+22=44, Resulting Numbers: [28, 90, 44] Generated Node #2: [28, 90, 44] from Operation: 22+22=44 Current State: 74:[28, 90, 44], Operations: ['22+22=44'] Exploring Operation: 28+90=118, Resulting Numbers: [44, 118] Generated Node #3: [44, 118] from Operation: 28+90=118 Current State: 74:[44, 118], Operations: ['22+22=44', '28+90=118'] Exploring Operation: 118-44=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[22, 22, 28, 90], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [22, 28, 68] Generated Node #0,0: 74:[22, 28, 68] Operation: 90-22=68 Exploring Operation: 90-22=68, Resulting Numbers: [22, 28, 68] Generated Node #0,1: 74:[22, 28, 68] Operation: 90-22=68 Exploring Operation: 22-22=0, Resulting Numbers: [28, 90, 0] Generated Node #0,2: 74:[28, 90, 0] Operation: 22-22=0 Exploring Operation: 22/22=1, Resulting Numbers: [28, 90, 1] Generated Node #0,3: 74:[28, 90, 1] Operation: 22/22=1 Exploring Operation: 22+22=44, Resulting Numbers: [28, 90, 44] Generated Node #0,4: 74:[28, 90, 44] Operation: 22+22=44 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[28, 90, 1], Operations: ['22/22=1'] Exploring Operation: 28/1=28, Resulting Numbers: [90, 28] Generated Node #0,3,0: 74:[90, 28] Operation: 28/1=28 Exploring Operation: 90-28=62, Resulting Numbers: [1, 62] Generated Node #0,3,1: 74:[1, 62] Operation: 90-28=62 Exploring Operation: 28*1=28, Resulting Numbers: [90, 28] Generated Node #0,3,2: 74:[90, 28] Operation: 28*1=28 Exploring Operation: 90-1=89, Resulting Numbers: [28, 89] Generated Node #0,3,3: 74:[28, 89] Operation: 90-1=89 Exploring Operation: 28+1=29, Resulting Numbers: [90, 29] Generated Node #0,3,4: 74:[90, 29] Operation: 28+1=29 Moving to Node #0,3,1 Current State: 74:[1, 62], Operations: ['22/22=1', '90-28=62'] Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[90, 29], Operations: ['22/22=1', '28+1=29'] Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,74 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[28, 89], Operations: ['22/22=1', '90-1=89'] Exploring Operation: 28*89=2492, Resulting Numbers: [2492] 2492,74 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 28+89=117, Resulting Numbers: [117] 117,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[90, 28], Operations: ['22/22=1', '28/1=28'] Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[90, 28], Operations: ['22/22=1', '28*1=28'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,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:[28, 90, 0], Operations: ['22-22=0'] Exploring Operation: 90-28=62, Resulting Numbers: [0, 62] Generated Node #0,2,0: 74:[0, 62] Operation: 90-28=62 Exploring Operation: 28+0=28, Resulting Numbers: [90, 28] Generated Node #0,2,1: 74:[90, 28] Operation: 28+0=28 Exploring Operation: 28-0=28, Resulting Numbers: [90, 28] Generated Node #0,2,2: 74:[90, 28] Operation: 28-0=28 Exploring Operation: 28*0=0, Resulting Numbers: [90, 0] Generated Node #0,2,3: 74:[90, 0] Operation: 28*0=0 Exploring Operation: 90*0=0, Resulting Numbers: [28, 0] Generated Node #0,2,4: 74:[28, 0] Operation: 90*0=0 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 74:[28, 0], Operations: ['22-22=0', '90*0=0'] Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 28*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 28-0=28, Resulting Numbers: [28] 28,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[0, 62], Operations: ['22-22=0', '90-28=62'] Exploring Operation: 0+62=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 62-0=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 0*62=0, Resulting Numbers: [0] 0,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[90, 0], Operations: ['22-22=0', '28*0=0'] Exploring Operation: 90+0=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 90-0=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 90*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[90, 28], Operations: ['22-22=0', '28+0=28'] Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[90, 28], Operations: ['22-22=0', '28-0=28'] Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[22, 28, 68], Operations: ['90-22=68'] Exploring Operation: 22+68=90, Resulting Numbers: [28, 90] Generated Node #0,0,0: 74:[28, 90] Operation: 22+68=90 Exploring Operation: 28-22=6, Resulting Numbers: [68, 6] Generated Node #0,0,1: 74:[68, 6] Operation: 28-22=6 Exploring Operation: 22+28=50, Resulting Numbers: [68, 50] Generated Node #0,0,2: 74:[68, 50] Operation: 22+28=50 Exploring Operation: 68-28=40, Resulting Numbers: [22, 40] Generated Node #0,0,3: 74:[22, 40] Operation: 68-28=40 Exploring Operation: 68-22=46, Resulting Numbers: [28, 46] Generated Node #0,0,4: 74:[28, 46] Operation: 68-22=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[68, 6], Operations: ['90-22=68', '28-22=6'] Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,74 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[22, 22, 28, 90], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [22, 28, 68] Generated Node #0,0: 74:[22, 28, 68] Operation: 90-22=68 Moving to Node #0,0 Current State: 74:[22, 28, 68], Operations: ['90-22=68'] Exploring Operation: 28-22=6, Resulting Numbers: [68, 6] Generated Node #0,0,1: 74:[68, 6] Operation: 28-22=6 Moving to Node #0,0,1 Current State: 74:[68, 6], Operations: ['90-22=68', '28-22=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 3, 57, 54, 72 ]
72
[ "57-3=54", "54+72=126", "126-54=72" ]
Current State: 72:[3, 57, 54, 72], Operations: [] Exploring Operation: 57-3=54, Resulting Numbers: [54, 72, 54] Generated Node #2: [54, 72, 54] from Operation: 57-3=54 Current State: 72:[54, 72, 54], Operations: ['57-3=54'] Exploring Operation: 54+72=126, Resulting Numbers: [126] 126,72 equal: Goal Reached Exploring Operation: 126-54=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[3, 57, 54, 72], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [3, 72, 3] Generated Node #0,0: 72:[3, 72, 3] Operation: 57-54=3 Exploring Operation: 54/3=18, Resulting Numbers: [57, 72, 18] Generated Node #0,1: 72:[57, 72, 18] Operation: 54/3=18 Moving to Node #0,0 Current State: 72:[3, 72, 3], Operations: ['57-54=3'] Exploring Operation: 72/3=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 72:[3, 24] Operation: 72/3=24 Exploring Operation: 3+3=6, Resulting Numbers: [72, 6] Generated Node #0,0,1: 72:[72, 6] Operation: 3+3=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[3, 24], Operations: ['57-54=3', '72/3=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[3, 57, 54, 72], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [3, 72, 3] Generated Node #0,0: 72:[3, 72, 3] Operation: 57-54=3 Moving to Node #0,0 Current State: 72:[3, 72, 3], Operations: ['57-54=3'] Exploring Operation: 72/3=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 72:[3, 24] Operation: 72/3=24 Moving to Node #0,0,0 Current State: 72:[3, 24], Operations: ['57-54=3', '72/3=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 61, 61, 19, 37 ]
17
[ "61/61=1", "37-19=18", "18-1=17" ]
Current State: 17:[61, 61, 19, 37], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [19, 37, 1] Generated Node #2: [19, 37, 1] from Operation: 61/61=1 Current State: 17:[19, 37, 1], Operations: ['61/61=1'] Exploring Operation: 37-19=18, Resulting Numbers: [1, 18] Generated Node #3: [1, 18] from Operation: 37-19=18 Current State: 17:[1, 18], Operations: ['61/61=1', '37-19=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[61, 61, 19, 37], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [19, 37, 1] Generated Node #0,0: 17:[19, 37, 1] Operation: 61/61=1 Exploring Operation: 61-61=0, Resulting Numbers: [19, 37, 0] Generated Node #0,1: 17:[19, 37, 0] Operation: 61-61=0 Moving to Node #0,0 Current State: 17:[19, 37, 1], Operations: ['61/61=1'] Exploring Operation: 37-19=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 17:[1, 18] Operation: 37-19=18 Exploring Operation: 19-1=18, Resulting Numbers: [37, 18] Generated Node #0,0,1: 17:[37, 18] Operation: 19-1=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[1, 18], Operations: ['61/61=1', '37-19=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[61, 61, 19, 37], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [19, 37, 1] Generated Node #0,0: 17:[19, 37, 1] Operation: 61/61=1 Moving to Node #0,0 Current State: 17:[19, 37, 1], Operations: ['61/61=1'] Exploring Operation: 37-19=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 17:[1, 18] Operation: 37-19=18 Moving to Node #0,0,0 Current State: 17:[1, 18], Operations: ['61/61=1', '37-19=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 75, 66, 65, 26 ]
48
[ "75-66=9", "65-26=39", "9+39=48" ]
Current State: 48:[75, 66, 65, 26], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [65, 26, 9] Generated Node #2: [65, 26, 9] from Operation: 75-66=9 Current State: 48:[65, 26, 9], Operations: ['75-66=9'] Exploring Operation: 65-26=39, Resulting Numbers: [9, 39] Generated Node #3: [9, 39] from Operation: 65-26=39 Current State: 48:[9, 39], Operations: ['75-66=9', '65-26=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[75, 66, 65, 26], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [66, 26, 10] Generated Node #0,0: 48:[66, 26, 10] Operation: 75-65=10 Exploring Operation: 75-66=9, Resulting Numbers: [65, 26, 9] Generated Node #0,1: 48:[65, 26, 9] Operation: 75-66=9 Moving to Node #0,1 Current State: 48:[65, 26, 9], Operations: ['75-66=9'] Exploring Operation: 65-9=56, Resulting Numbers: [26, 56] Generated Node #0,1,0: 48:[26, 56] Operation: 65-9=56 Exploring Operation: 65-26=39, Resulting Numbers: [9, 39] Generated Node #0,1,1: 48:[9, 39] Operation: 65-26=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[26, 56], Operations: ['75-66=9', '65-9=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,48 unequal: No Solution No 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: 48:[9, 39], Operations: ['75-66=9', '65-26=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[75, 66, 65, 26], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [65, 26, 9] Generated Node #0,1: 48:[65, 26, 9] Operation: 75-66=9 Moving to Node #0,1 Current State: 48:[65, 26, 9], Operations: ['75-66=9'] Exploring Operation: 65-26=39, Resulting Numbers: [9, 39] Generated Node #0,1,1: 48:[9, 39] Operation: 65-26=39 Moving to Node #0,1,1 Current State: 48:[9, 39], Operations: ['75-66=9', '65-26=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 3, 92, 51, 65 ]
81
[ "3+92=95", "65-51=14", "95-14=81" ]
Current State: 81:[3, 92, 51, 65], Operations: [] Exploring Operation: 3+92=95, Resulting Numbers: [51, 65, 95] Generated Node #2: [51, 65, 95] from Operation: 3+92=95 Current State: 81:[51, 65, 95], Operations: ['3+92=95'] Exploring Operation: 65-51=14, Resulting Numbers: [95, 14] Generated Node #3: [95, 14] from Operation: 65-51=14 Current State: 81:[95, 14], Operations: ['3+92=95', '65-51=14'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 92, 51, 65], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [3, 92, 14] Generated Node #0,0: 81:[3, 92, 14] Operation: 65-51=14 Exploring Operation: 92-65=27, Resulting Numbers: [3, 51, 27] Generated Node #0,1: 81:[3, 51, 27] Operation: 92-65=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[3, 92, 14], Operations: ['65-51=14'] Exploring Operation: 92-3=89, Resulting Numbers: [14, 89] Generated Node #0,0,0: 81:[14, 89] Operation: 92-3=89 Exploring Operation: 92-14=78, Resulting Numbers: [3, 78] Generated Node #0,0,1: 81:[3, 78] Operation: 92-14=78 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[3, 78], Operations: ['65-51=14', '92-14=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 92, 51, 65], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [3, 92, 14] Generated Node #0,0: 81:[3, 92, 14] Operation: 65-51=14 Moving to Node #0,0 Current State: 81:[3, 92, 14], Operations: ['65-51=14'] Exploring Operation: 92-14=78, Resulting Numbers: [3, 78] Generated Node #0,0,1: 81:[3, 78] Operation: 92-14=78 Moving to Node #0,0,1 Current State: 81:[3, 78], Operations: ['65-51=14', '92-14=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 56, 10, 17, 44 ]
39
[ "56+10=66", "44-17=27", "66-27=39" ]
Current State: 39:[56, 10, 17, 44], Operations: [] Exploring Operation: 56+10=66, Resulting Numbers: [17, 44, 66] Generated Node #2: [17, 44, 66] from Operation: 56+10=66 Current State: 39:[17, 44, 66], Operations: ['56+10=66'] Exploring Operation: 44-17=27, Resulting Numbers: [66, 27] Generated Node #3: [66, 27] from Operation: 44-17=27 Current State: 39:[66, 27], Operations: ['56+10=66', '44-17=27'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[56, 10, 17, 44], Operations: [] Exploring Operation: 56-10=46, Resulting Numbers: [17, 44, 46] Generated Node #0,0: 39:[17, 44, 46] Operation: 56-10=46 Exploring Operation: 56-44=12, Resulting Numbers: [10, 17, 12] Generated Node #0,1: 39:[10, 17, 12] Operation: 56-44=12 Exploring Operation: 56-17=39, Resulting Numbers: [10, 44, 39] Generated Node #0,2: 39:[10, 44, 39] Operation: 56-17=39 Moving to Node #0,1 Current State: 39:[10, 17, 12], Operations: ['56-44=12'] Exploring Operation: 17-10=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 39:[12, 7] Operation: 17-10=7 Exploring Operation: 12-10=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 39:[17, 2] Operation: 12-10=2 Exploring Operation: 17-12=5, Resulting Numbers: [10, 5] Generated Node #0,1,2: 39:[10, 5] Operation: 17-12=5 Moving to Node #0,2 Current State: 39:[10, 44, 39], Operations: ['56-17=39'] Exploring Operation: 10+44=54, Resulting Numbers: [39, 54] Generated Node #0,2,0: 39:[39, 54] Operation: 10+44=54 Exploring Operation: 44-39=5, Resulting Numbers: [10, 5] Generated Node #0,2,1: 39:[10, 5] Operation: 44-39=5 Exploring Operation: 44-10=34, Resulting Numbers: [39, 34] Generated Node #0,2,2: 39:[39, 34] Operation: 44-10=34 Moving to Node #0,0 Current State: 39:[17, 44, 46], Operations: ['56-10=46'] Exploring Operation: 46-17=29, Resulting Numbers: [44, 29] Generated Node #0,0,0: 39:[44, 29] Operation: 46-17=29 Exploring Operation: 46-44=2, Resulting Numbers: [17, 2] Generated Node #0,0,1: 39:[17, 2] Operation: 46-44=2 Exploring Operation: 44-17=27, Resulting Numbers: [46, 27] Generated Node #0,0,2: 39:[46, 27] Operation: 44-17=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[17, 2], Operations: ['56-10=46', '46-44=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[44, 29], Operations: ['56-10=46', '46-17=29'] Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,39 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[46, 27], Operations: ['56-10=46', '44-17=27'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,39 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,39 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: 39:[12, 7], Operations: ['56-44=12', '17-10=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[10, 5], Operations: ['56-44=12', '17-12=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[17, 2], Operations: ['56-44=12', '12-10=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[10, 5], Operations: ['56-17=39', '44-39=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[39, 34], Operations: ['56-17=39', '44-10=34'] Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,39 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[39, 54], Operations: ['56-17=39', '10+44=54'] Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,39 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 39*54=2106, Resulting Numbers: [2106] 2106,39 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 47, 52, 21 ]
39
[ "47-21=26", "52/26=2", "37+2=39" ]
Current State: 39:[37, 47, 52, 21], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [37, 52, 26] Generated Node #2: [37, 52, 26] from Operation: 47-21=26 Current State: 39:[37, 52, 26], Operations: ['47-21=26'] Exploring Operation: 52/26=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 52/26=2 Current State: 39:[37, 2], Operations: ['47-21=26', '52/26=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[37, 47, 52, 21], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [37, 21, 5] Generated Node #0,0: 39:[37, 21, 5] Operation: 52-47=5 Exploring Operation: 52-37=15, Resulting Numbers: [47, 21, 15] Generated Node #0,1: 39:[47, 21, 15] Operation: 52-37=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[37, 21, 5], Operations: ['52-47=5'] Exploring Operation: 21-5=16, Resulting Numbers: [37, 16] Generated Node #0,0,0: 39:[37, 16] Operation: 21-5=16 Exploring Operation: 37-21=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 39:[5, 16] Operation: 37-21=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[37, 16], Operations: ['52-47=5', '21-5=16'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,39 unequal: No Solution No 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: 39:[5, 16], Operations: ['52-47=5', '37-21=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,39 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: 39:[47, 21, 15], Operations: ['52-37=15'] Exploring Operation: 21+15=36, Resulting Numbers: [47, 36] Generated Node #0,1,0: 39:[47, 36] Operation: 21+15=36 Exploring Operation: 21-15=6, Resulting Numbers: [47, 6] Generated Node #0,1,1: 39:[47, 6] Operation: 21-15=6 Moving to Node #0,1,0 Current State: 39:[47, 36], Operations: ['52-37=15', '21+15=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,39 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[47, 6], Operations: ['52-37=15', '21-15=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 4, 57, 37, 77 ]
43
[ "77-57=20", "4*20=80", "80-37=43" ]
Current State: 43:[4, 57, 37, 77], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [4, 37, 20] Generated Node #2: [4, 37, 20] from Operation: 77-57=20 Current State: 43:[4, 37, 20], Operations: ['77-57=20'] Exploring Operation: 4*20=80, Resulting Numbers: [37, 80] Generated Node #3: [37, 80] from Operation: 4*20=80 Current State: 43:[37, 80], Operations: ['77-57=20', '4*20=80'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[4, 57, 37, 77], Operations: [] Exploring Operation: 4+37=41, Resulting Numbers: [57, 77, 41] Generated Node #0,0: 43:[57, 77, 41] Operation: 4+37=41 Exploring Operation: 77-4=73, Resulting Numbers: [57, 37, 73] Generated Node #0,1: 43:[57, 37, 73] Operation: 77-4=73 Exploring Operation: 57-4=53, Resulting Numbers: [37, 77, 53] Generated Node #0,2: 43:[37, 77, 53] Operation: 57-4=53 Exploring Operation: 4+57=61, Resulting Numbers: [37, 77, 61] Generated Node #0,3: 43:[37, 77, 61] Operation: 4+57=61 Exploring Operation: 77-37=40, Resulting Numbers: [4, 57, 40] Generated Node #0,4: 43:[4, 57, 40] Operation: 77-37=40 Moving to Node #0,0 Current State: 43:[57, 77, 41], Operations: ['4+37=41'] Exploring Operation: 57-41=16, Resulting Numbers: [77, 16] Generated Node #0,0,0: 43:[77, 16] Operation: 57-41=16 Exploring Operation: 77-41=36, Resulting Numbers: [57, 36] Generated Node #0,0,1: 43:[57, 36] Operation: 77-41=36 Exploring Operation: 77-57=20, Resulting Numbers: [41, 20] Generated Node #0,0,2: 43:[41, 20] Operation: 77-57=20 Exploring Operation: 77+41=118, Resulting Numbers: [57, 118] Generated Node #0,0,3: 43:[57, 118] Operation: 77+41=118 Exploring Operation: 57+41=98, Resulting Numbers: [77, 98] Generated Node #0,0,4: 43:[77, 98] Operation: 57+41=98 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[57, 36], Operations: ['4+37=41', '77-41=36'] Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,43 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[41, 20], Operations: ['4+37=41', '77-57=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,43 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[77, 16], Operations: ['4+37=41', '57-41=16'] Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,43 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[57, 118], Operations: ['4+37=41', '77+41=118'] Exploring Operation: 57+118=175, Resulting Numbers: [175] 175,43 unequal: No Solution Exploring Operation: 118-57=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 57*118=6726, Resulting Numbers: [6726] 6726,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[77, 98], Operations: ['4+37=41', '57+41=98'] Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 77*98=7546, Resulting Numbers: [7546] 7546,43 unequal: No Solution Exploring Operation: 77+98=175, Resulting Numbers: [175] 175,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 43:[37, 77, 53], Operations: ['57-4=53'] Exploring Operation: 77-53=24, Resulting Numbers: [37, 24] Generated Node #0,2,0: 43:[37, 24] Operation: 77-53=24 Exploring Operation: 37+53=90, Resulting Numbers: [77, 90] Generated Node #0,2,1: 43:[77, 90] Operation: 37+53=90 Exploring Operation: 77-37=40, Resulting Numbers: [53, 40] Generated Node #0,2,2: 43:[53, 40] Operation: 77-37=40 Exploring Operation: 37+77=114, Resulting Numbers: [53, 114] Generated Node #0,2,3: 43:[53, 114] Operation: 37+77=114 Exploring Operation: 53-37=16, Resulting Numbers: [77, 16] Generated Node #0,2,4: 43:[77, 16] Operation: 53-37=16 Moving to Node #0,1 Current State: 43:[57, 37, 73], Operations: ['77-4=73'] Exploring Operation: 73-57=16, Resulting Numbers: [37, 16] Generated Node #0,1,0: 43:[37, 16] Operation: 73-57=16 Exploring Operation: 57+37=94, Resulting Numbers: [73, 94] Generated Node #0,1,1: 43:[73, 94] Operation: 57+37=94 Exploring Operation: 37+73=110, Resulting Numbers: [57, 110] Generated Node #0,1,2: 43:[57, 110] Operation: 37+73=110 Exploring Operation: 73-37=36, Resulting Numbers: [57, 36] Generated Node #0,1,3: 43:[57, 36] Operation: 73-37=36 Exploring Operation: 57-37=20, Resulting Numbers: [73, 20] Generated Node #0,1,4: 43:[73, 20] Operation: 57-37=20 Moving to Node #0,4 Current State: 43:[4, 57, 40], Operations: ['77-37=40'] Exploring Operation: 4+57=61, Resulting Numbers: [40, 61] Generated Node #0,4,0: 43:[40, 61] Operation: 4+57=61 Exploring Operation: 40/4=10, Resulting Numbers: [57, 10] Generated Node #0,4,1: 43:[57, 10] Operation: 40/4=10 Exploring Operation: 4+40=44, Resulting Numbers: [57, 44] Generated Node #0,4,2: 43:[57, 44] Operation: 4+40=44 Exploring Operation: 40-4=36, Resulting Numbers: [57, 36] Generated Node #0,4,3: 43:[57, 36] Operation: 40-4=36 Exploring Operation: 57-4=53, Resulting Numbers: [40, 53] Generated Node #0,4,4: 43:[40, 53] Operation: 57-4=53 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 43:[40, 53], Operations: ['77-37=40', '57-4=53'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 43:[57, 44], Operations: ['77-37=40', '4+40=44'] Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,43 unequal: No Solution Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 43:[40, 61], Operations: ['77-37=40', '4+57=61'] Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,43 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 43:[57, 36], Operations: ['77-37=40', '40-4=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,43 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 43:[57, 10], Operations: ['77-37=40', '40/4=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,43 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: 43:[37, 77, 61], Operations: ['4+57=61'] Exploring Operation: 77-37=40, Resulting Numbers: [61, 40] Generated Node #0,3,0: 43:[61, 40] Operation: 77-37=40 Exploring Operation: 37+77=114, Resulting Numbers: [61, 114] Generated Node #0,3,1: 43:[61, 114] Operation: 37+77=114 Exploring Operation: 77-61=16, Resulting Numbers: [37, 16] Generated Node #0,3,2: 43:[37, 16] Operation: 77-61=16 Exploring Operation: 61-37=24, Resulting Numbers: [77, 24] Generated Node #0,3,3: 43:[77, 24] Operation: 61-37=24 Exploring Operation: 37+61=98, Resulting Numbers: [77, 98] Generated Node #0,3,4: 43:[77, 98] Operation: 37+61=98 Moving to Node #0,2,2 Current State: 43:[53, 40], Operations: ['57-4=53', '77-37=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[57, 36], Operations: ['77-4=73', '73-37=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,43 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[61, 40], Operations: ['4+57=61', '77-37=40'] Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,43 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,43 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[37, 24], Operations: ['57-4=53', '77-53=24'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[37, 16], Operations: ['77-4=73', '73-57=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[37, 16], Operations: ['4+57=61', '77-61=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,43 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[73, 20], Operations: ['77-4=73', '57-37=20'] Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,43 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[77, 24], Operations: ['4+57=61', '61-37=24'] Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,43 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[77, 16], Operations: ['57-4=53', '53-37=16'] Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[77, 90], Operations: ['57-4=53', '37+53=90'] Exploring Operation: 77*90=6930, Resulting Numbers: [6930] 6930,43 unequal: No Solution Exploring Operation: 77+90=167, Resulting Numbers: [167] 167,43 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[53, 114], Operations: ['57-4=53', '37+77=114'] Exploring Operation: 53*114=6042, Resulting Numbers: [6042] 6042,43 unequal: No Solution Exploring Operation: 53+114=167, Resulting Numbers: [167] 167,43 unequal: No Solution Exploring Operation: 114-53=61, Resulting Numbers: [61] 61,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[57, 110], Operations: ['77-4=73', '37+73=110'] Exploring Operation: 57+110=167, Resulting Numbers: [167] 167,43 unequal: No Solution Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 57*110=6270, Resulting Numbers: [6270] 6270,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[73, 94], Operations: ['77-4=73', '57+37=94'] Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 73+94=167, Resulting Numbers: [167] 167,43 unequal: No Solution Exploring Operation: 73*94=6862, Resulting Numbers: [6862] 6862,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[61, 114], Operations: ['4+57=61', '37+77=114'] Exploring Operation: 61+114=175, Resulting Numbers: [175] 175,43 unequal: No Solution Exploring Operation: 61*114=6954, Resulting Numbers: [6954] 6954,43 unequal: No Solution Exploring Operation: 114-61=53, Resulting Numbers: [53] 53,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[77, 98], Operations: ['4+57=61', '37+61=98'] Exploring Operation: 77*98=7546, Resulting Numbers: [7546] 7546,43 unequal: No Solution Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 77+98=175, Resulting Numbers: [175] 175,43 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 44, 65, 90, 70 ]
62
[ "44*90=3960", "70+3960=4030", "4030/65=62" ]
Current State: 62:[44, 65, 90, 70], Operations: [] Exploring Operation: 44*90=3960, Resulting Numbers: [65, 70, 3960] Generated Node #2: [65, 70, 3960] from Operation: 44*90=3960 Current State: 62:[65, 70, 3960], Operations: ['44*90=3960'] Exploring Operation: 70+3960=4030, Resulting Numbers: [65, 4030] Generated Node #3: [65, 4030] from Operation: 70+3960=4030 Current State: 62:[65, 4030], Operations: ['44*90=3960', '70+3960=4030'] Exploring Operation: 4030/65=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[44, 65, 90, 70], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [44, 65, 20] Generated Node #0,0: 62:[44, 65, 20] Operation: 90-70=20 Exploring Operation: 90-44=46, Resulting Numbers: [65, 70, 46] Generated Node #0,1: 62:[65, 70, 46] Operation: 90-44=46 Exploring Operation: 70-44=26, Resulting Numbers: [65, 90, 26] Generated Node #0,2: 62:[65, 90, 26] Operation: 70-44=26 Exploring Operation: 90-65=25, Resulting Numbers: [44, 70, 25] Generated Node #0,3: 62:[44, 70, 25] Operation: 90-65=25 Moving to Node #0,1 Current State: 62:[65, 70, 46], Operations: ['90-44=46'] Exploring Operation: 70-46=24, Resulting Numbers: [65, 24] Generated Node #0,1,0: 62:[65, 24] Operation: 70-46=24 Exploring Operation: 65-46=19, Resulting Numbers: [70, 19] Generated Node #0,1,1: 62:[70, 19] Operation: 65-46=19 Exploring Operation: 70-65=5, Resulting Numbers: [46, 5] Generated Node #0,1,2: 62:[46, 5] Operation: 70-65=5 Exploring Operation: 65+46=111, Resulting Numbers: [70, 111] Generated Node #0,1,3: 62:[70, 111] Operation: 65+46=111 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[65, 24], Operations: ['90-44=46', '70-46=24'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,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,1,2 Current State: 62:[46, 5], Operations: ['90-44=46', '70-65=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,62 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,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,1,1 Current State: 62:[70, 19], Operations: ['90-44=46', '65-46=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,62 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,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,1,3 Current State: 62:[70, 111], Operations: ['90-44=46', '65+46=111'] Exploring Operation: 70+111=181, Resulting Numbers: [181] 181,62 unequal: No Solution Exploring Operation: 70*111=7770, Resulting Numbers: [7770] 7770,62 unequal: No Solution Exploring Operation: 111-70=41, Resulting Numbers: [41] 41,62 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: 62:[44, 70, 25], Operations: ['90-65=25'] Exploring Operation: 44+25=69, Resulting Numbers: [70, 69] Generated Node #0,3,0: 62:[70, 69] Operation: 44+25=69 Exploring Operation: 70-44=26, Resulting Numbers: [25, 26] Generated Node #0,3,1: 62:[25, 26] Operation: 70-44=26 Exploring Operation: 44-25=19, Resulting Numbers: [70, 19] Generated Node #0,3,2: 62:[70, 19] Operation: 44-25=19 Exploring Operation: 70-25=45, Resulting Numbers: [44, 45] Generated Node #0,3,3: 62:[44, 45] Operation: 70-25=45 Moving to Node #0,0 Current State: 62:[44, 65, 20], Operations: ['90-70=20'] Exploring Operation: 44+20=64, Resulting Numbers: [65, 64] Generated Node #0,0,0: 62:[65, 64] Operation: 44+20=64 Exploring Operation: 65-20=45, Resulting Numbers: [44, 45] Generated Node #0,0,1: 62:[44, 45] Operation: 65-20=45 Exploring Operation: 65-44=21, Resulting Numbers: [20, 21] Generated Node #0,0,2: 62:[20, 21] Operation: 65-44=21 Exploring Operation: 44-20=24, Resulting Numbers: [65, 24] Generated Node #0,0,3: 62:[65, 24] Operation: 44-20=24 Moving to Node #0,2 Current State: 62:[65, 90, 26], Operations: ['70-44=26'] Exploring Operation: 65+26=91, Resulting Numbers: [90, 91] Generated Node #0,2,0: 62:[90, 91] Operation: 65+26=91 Exploring Operation: 90-26=64, Resulting Numbers: [65, 64] Generated Node #0,2,1: 62:[65, 64] Operation: 90-26=64 Exploring Operation: 65-26=39, Resulting Numbers: [90, 39] Generated Node #0,2,2: 62:[90, 39] Operation: 65-26=39 Exploring Operation: 90-65=25, Resulting Numbers: [26, 25] Generated Node #0,2,3: 62:[26, 25] Operation: 90-65=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[65, 64], Operations: ['70-44=26', '90-26=64'] Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,62 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,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,3 Current State: 62:[26, 25], Operations: ['70-44=26', '90-65=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,62 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,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,2 Current State: 62:[90, 39], Operations: ['70-44=26', '65-26=39'] Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,62 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,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,0 Current State: 62:[90, 91], Operations: ['70-44=26', '65+26=91'] Exploring Operation: 90*91=8190, Resulting Numbers: [8190] 8190,62 unequal: No Solution Exploring Operation: 90+91=181, Resulting Numbers: [181] 181,62 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,62 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: 62:[65, 64], Operations: ['90-70=20', '44+20=64'] Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,62 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[65, 24], Operations: ['90-70=20', '44-20=24'] Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,62 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[25, 26], Operations: ['90-65=25', '70-44=26'] Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[70, 69], Operations: ['90-65=25', '44+25=69'] Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,62 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[70, 19], Operations: ['90-65=25', '44-25=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[20, 21], Operations: ['90-70=20', '65-44=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,62 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[44, 45], Operations: ['90-65=25', '70-25=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,62 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[44, 45], Operations: ['90-70=20', '65-20=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,62 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 73, 48, 71, 80 ]
30
[ "73+48=121", "71+80=151", "151-121=30" ]
Current State: 30:[73, 48, 71, 80], Operations: [] Exploring Operation: 73+48=121, Resulting Numbers: [71, 80, 121] Generated Node #2: [71, 80, 121] from Operation: 73+48=121 Current State: 30:[71, 80, 121], Operations: ['73+48=121'] Exploring Operation: 71+80=151, Resulting Numbers: [121, 151] Generated Node #3: [121, 151] from Operation: 71+80=151 Current State: 30:[121, 151], Operations: ['73+48=121', '71+80=151'] Exploring Operation: 151-121=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[73, 48, 71, 80], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [73, 71, 32] Generated Node #0,0: 30:[73, 71, 32] Operation: 80-48=32 Exploring Operation: 80-71=9, Resulting Numbers: [73, 48, 9] Generated Node #0,1: 30:[73, 48, 9] Operation: 80-71=9 Exploring Operation: 73-48=25, Resulting Numbers: [71, 80, 25] Generated Node #0,2: 30:[71, 80, 25] Operation: 73-48=25 Exploring Operation: 80-73=7, Resulting Numbers: [48, 71, 7] Generated Node #0,3: 30:[48, 71, 7] Operation: 80-73=7 Exploring Operation: 73-71=2, Resulting Numbers: [48, 80, 2] Generated Node #0,4: 30:[48, 80, 2] Operation: 73-71=2 Moving to Node #0,3 Current State: 30:[48, 71, 7], Operations: ['80-73=7'] Exploring Operation: 71-7=64, Resulting Numbers: [48, 64] Generated Node #0,3,0: 30:[48, 64] Operation: 71-7=64 Exploring Operation: 71-48=23, Resulting Numbers: [7, 23] Generated Node #0,3,1: 30:[7, 23] Operation: 71-48=23 Exploring Operation: 48-7=41, Resulting Numbers: [71, 41] Generated Node #0,3,2: 30:[71, 41] Operation: 48-7=41 Exploring Operation: 48+7=55, Resulting Numbers: [71, 55] Generated Node #0,3,3: 30:[71, 55] Operation: 48+7=55 Exploring Operation: 71+7=78, Resulting Numbers: [48, 78] Generated Node #0,3,4: 30:[48, 78] Operation: 71+7=78 Moving to Node #0,1 Current State: 30:[73, 48, 9], Operations: ['80-71=9'] Exploring Operation: 48+9=57, Resulting Numbers: [73, 57] Generated Node #0,1,0: 30:[73, 57] Operation: 48+9=57 Exploring Operation: 73+9=82, Resulting Numbers: [48, 82] Generated Node #0,1,1: 30:[48, 82] Operation: 73+9=82 Exploring Operation: 73-48=25, Resulting Numbers: [9, 25] Generated Node #0,1,2: 30:[9, 25] Operation: 73-48=25 Exploring Operation: 48-9=39, Resulting Numbers: [73, 39] Generated Node #0,1,3: 30:[73, 39] Operation: 48-9=39 Exploring Operation: 73-9=64, Resulting Numbers: [48, 64] Generated Node #0,1,4: 30:[48, 64] Operation: 73-9=64 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[9, 25], Operations: ['80-71=9', '73-48=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,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,1,3 Current State: 30:[73, 39], Operations: ['80-71=9', '48-9=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,30 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,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,1,4 Current State: 30:[48, 64], Operations: ['80-71=9', '73-9=64'] Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,30 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,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,1,0 Current State: 30:[73, 57], Operations: ['80-71=9', '48+9=57'] Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,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,1,1 Current State: 30:[48, 82], Operations: ['80-71=9', '73+9=82'] Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 48*82=3936, Resulting Numbers: [3936] 3936,30 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,30 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: 30:[48, 80, 2], Operations: ['73-71=2'] Exploring Operation: 48/2=24, Resulting Numbers: [80, 24] Generated Node #0,4,0: 30:[80, 24] Operation: 48/2=24 Exploring Operation: 80-48=32, Resulting Numbers: [2, 32] Generated Node #0,4,1: 30:[2, 32] Operation: 80-48=32 Exploring Operation: 80/2=40, Resulting Numbers: [48, 40] Generated Node #0,4,2: 30:[48, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [48, 78] Generated Node #0,4,3: 30:[48, 78] Operation: 80-2=78 Exploring Operation: 48-2=46, Resulting Numbers: [80, 46] Generated Node #0,4,4: 30:[80, 46] Operation: 48-2=46 Moving to Node #0,0 Current State: 30:[73, 71, 32], Operations: ['80-48=32'] Exploring Operation: 73-32=41, Resulting Numbers: [71, 41] Generated Node #0,0,0: 30:[71, 41] Operation: 73-32=41 Exploring Operation: 73+71=144, Resulting Numbers: [32, 144] Generated Node #0,0,1: 30:[32, 144] Operation: 73+71=144 Exploring Operation: 73+32=105, Resulting Numbers: [71, 105] Generated Node #0,0,2: 30:[71, 105] Operation: 73+32=105 Exploring Operation: 71-32=39, Resulting Numbers: [73, 39] Generated Node #0,0,3: 30:[73, 39] Operation: 71-32=39 Exploring Operation: 73-71=2, Resulting Numbers: [32, 2] Generated Node #0,0,4: 30:[32, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 30:[32, 2], Operations: ['80-48=32', '73-71=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[73, 48, 71, 80], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [73, 71, 32] Generated Node #0,0: 30:[73, 71, 32] Operation: 80-48=32 Moving to Node #0,0 Current State: 30:[73, 71, 32], Operations: ['80-48=32'] Exploring Operation: 73-71=2, Resulting Numbers: [32, 2] Generated Node #0,0,4: 30:[32, 2] Operation: 73-71=2 Moving to Node #0,0,4 Current State: 30:[32, 2], Operations: ['80-48=32', '73-71=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 31, 73, 88, 70 ]
54
[ "31+73=104", "88+70=158", "158-104=54" ]
Current State: 54:[31, 73, 88, 70], Operations: [] Exploring Operation: 31+73=104, Resulting Numbers: [88, 70, 104] Generated Node #2: [88, 70, 104] from Operation: 31+73=104 Current State: 54:[88, 70, 104], Operations: ['31+73=104'] Exploring Operation: 88+70=158, Resulting Numbers: [104, 158] Generated Node #3: [104, 158] from Operation: 88+70=158 Current State: 54:[104, 158], Operations: ['31+73=104', '88+70=158'] Exploring Operation: 158-104=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[31, 73, 88, 70], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [31, 73, 18] Generated Node #0,0: 54:[31, 73, 18] Operation: 88-70=18 Exploring Operation: 88-73=15, Resulting Numbers: [31, 70, 15] Generated Node #0,1: 54:[31, 70, 15] Operation: 88-73=15 Moving to Node #0,0 Current State: 54:[31, 73, 18], Operations: ['88-70=18'] Exploring Operation: 73-18=55, Resulting Numbers: [31, 55] Generated Node #0,0,0: 54:[31, 55] Operation: 73-18=55 Exploring Operation: 73-31=42, Resulting Numbers: [18, 42] Generated Node #0,0,1: 54:[18, 42] Operation: 73-31=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[31, 55], Operations: ['88-70=18', '73-18=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[18, 42], Operations: ['88-70=18', '73-31=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 54:[31, 70, 15], Operations: ['88-73=15'] Exploring Operation: 70-15=55, Resulting Numbers: [31, 55] Generated Node #0,1,0: 54:[31, 55] Operation: 70-15=55 Exploring Operation: 70-31=39, Resulting Numbers: [15, 39] Generated Node #0,1,1: 54:[15, 39] Operation: 70-31=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[31, 55], Operations: ['88-73=15', '70-15=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[15, 39], Operations: ['88-73=15', '70-31=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[31, 73, 88, 70], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [31, 70, 15] Generated Node #0,1: 54:[31, 70, 15] Operation: 88-73=15 Moving to Node #0,1 Current State: 54:[31, 70, 15], Operations: ['88-73=15'] Exploring Operation: 70-31=39, Resulting Numbers: [15, 39] Generated Node #0,1,1: 54:[15, 39] Operation: 70-31=39 Moving to Node #0,1,1 Current State: 54:[15, 39], Operations: ['88-73=15', '70-31=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 27, 1, 55, 52 ]
26
[ "27*52=1404", "55-1=54", "1404/54=26" ]
Current State: 26:[27, 1, 55, 52], Operations: [] Exploring Operation: 27*52=1404, Resulting Numbers: [1, 55, 1404] Generated Node #2: [1, 55, 1404] from Operation: 27*52=1404 Current State: 26:[1, 55, 1404], Operations: ['27*52=1404'] Exploring Operation: 55-1=54, Resulting Numbers: [1404, 54] Generated Node #3: [1404, 54] from Operation: 55-1=54 Current State: 26:[1404, 54], Operations: ['27*52=1404', '55-1=54'] Exploring Operation: 1404/54=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[27, 1, 55, 52], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [27, 1, 3] Generated Node #0,0: 26:[27, 1, 3] Operation: 55-52=3 Moving to Node #0,0 Current State: 26:[27, 1, 3], Operations: ['55-52=3'] Exploring Operation: 27-1=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 26:[3, 26] Operation: 27-1=26 Moving to Node #0,0,0 Current State: 26:[3, 26], Operations: ['55-52=3', '27-1=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,26 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 26, 28, 7 ]
20
[ "30+26=56", "56/7=8", "28-8=20" ]
Current State: 20:[30, 26, 28, 7], Operations: [] Exploring Operation: 30+26=56, Resulting Numbers: [28, 7, 56] Generated Node #2: [28, 7, 56] from Operation: 30+26=56 Current State: 20:[28, 7, 56], Operations: ['30+26=56'] Exploring Operation: 56/7=8, Resulting Numbers: [28, 8] Generated Node #3: [28, 8] from Operation: 56/7=8 Current State: 20:[28, 8], Operations: ['30+26=56', '56/7=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[30, 26, 28, 7], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [26, 7, 2] Generated Node #0,0: 20:[26, 7, 2] Operation: 30-28=2 Moving to Node #0,0 Current State: 20:[26, 7, 2], Operations: ['30-28=2'] Exploring Operation: 26-7=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 20:[2, 19] Operation: 26-7=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[2, 19], Operations: ['30-28=2', '26-7=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,20 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
[ 21, 55, 46, 14 ]
26
[ "55-21=34", "46+14=60", "60-34=26" ]
Current State: 26:[21, 55, 46, 14], Operations: [] Exploring Operation: 55-21=34, Resulting Numbers: [46, 14, 34] Generated Node #2: [46, 14, 34] from Operation: 55-21=34 Current State: 26:[46, 14, 34], Operations: ['55-21=34'] Exploring Operation: 46+14=60, Resulting Numbers: [34, 60] Generated Node #3: [34, 60] from Operation: 46+14=60 Current State: 26:[34, 60], Operations: ['55-21=34', '46+14=60'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[21, 55, 46, 14], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [21, 14, 9] Generated Node #0,0: 26:[21, 14, 9] Operation: 55-46=9 Moving to Node #0,0 Current State: 26:[21, 14, 9], Operations: ['55-46=9'] Exploring Operation: 21-9=12, Resulting Numbers: [14, 12] Generated Node #0,0,0: 26:[14, 12] Operation: 21-9=12 Moving to Node #0,0,0 Current State: 26:[14, 12], Operations: ['55-46=9', '21-9=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[21, 55, 46, 14], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [21, 14, 9] Generated Node #0,0: 26:[21, 14, 9] Operation: 55-46=9 Moving to Node #0,0 Current State: 26:[21, 14, 9], Operations: ['55-46=9'] Exploring Operation: 21-9=12, Resulting Numbers: [14, 12] Generated Node #0,0,0: 26:[14, 12] Operation: 21-9=12 Moving to Node #0,0,0 Current State: 26:[14, 12], Operations: ['55-46=9', '21-9=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 81, 44, 81, 32 ]
13
[ "81/81=1", "44-32=12", "1+12=13" ]
Current State: 13:[81, 44, 81, 32], Operations: [] Exploring Operation: 81/81=1, Resulting Numbers: [44, 32, 1] Generated Node #2: [44, 32, 1] from Operation: 81/81=1 Current State: 13:[44, 32, 1], Operations: ['81/81=1'] Exploring Operation: 44-32=12, Resulting Numbers: [1, 12] Generated Node #3: [1, 12] from Operation: 44-32=12 Current State: 13:[1, 12], Operations: ['81/81=1', '44-32=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[81, 44, 81, 32], Operations: [] Exploring Operation: 81-81=0, Resulting Numbers: [44, 32, 0] Generated Node #0,0: 13:[44, 32, 0] Operation: 81-81=0 Exploring Operation: 81/81=1, Resulting Numbers: [44, 32, 1] Generated Node #0,1: 13:[44, 32, 1] Operation: 81/81=1 Exploring Operation: 81-44=37, Resulting Numbers: [81, 32, 37] Generated Node #0,2: 13:[81, 32, 37] Operation: 81-44=37 Moving to Node #0,1 Current State: 13:[44, 32, 1], Operations: ['81/81=1'] Exploring Operation: 44-1=43, Resulting Numbers: [32, 43] Generated Node #0,1,0: 13:[32, 43] Operation: 44-1=43 Exploring Operation: 32-1=31, Resulting Numbers: [44, 31] Generated Node #0,1,1: 13:[44, 31] Operation: 32-1=31 Exploring Operation: 44-32=12, Resulting Numbers: [1, 12] Generated Node #0,1,2: 13:[1, 12] Operation: 44-32=12 Moving to Node #0,0 Current State: 13:[44, 32, 0], Operations: ['81-81=0'] Exploring Operation: 44-32=12, Resulting Numbers: [0, 12] Generated Node #0,0,0: 13:[0, 12] Operation: 44-32=12 Exploring Operation: 32*0=0, Resulting Numbers: [44, 0] Generated Node #0,0,1: 13:[44, 0] Operation: 32*0=0 Exploring Operation: 44*0=0, Resulting Numbers: [32, 0] Generated Node #0,0,2: 13:[32, 0] Operation: 44*0=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[0, 12], Operations: ['81-81=0', '44-32=12'] Exploring Operation: 0+12=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 0*12=0, Resulting Numbers: [0] 0,13 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[32, 0], Operations: ['81-81=0', '44*0=0'] Exploring Operation: 32-0=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 32+0=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 32*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[44, 0], Operations: ['81-81=0', '32*0=0'] Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 44*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 13:[81, 32, 37], Operations: ['81-44=37'] Exploring Operation: 37-32=5, Resulting Numbers: [81, 5] Generated Node #0,2,0: 13:[81, 5] Operation: 37-32=5 Exploring Operation: 81-32=49, Resulting Numbers: [37, 49] Generated Node #0,2,1: 13:[37, 49] Operation: 81-32=49 Exploring Operation: 81-37=44, Resulting Numbers: [32, 44] Generated Node #0,2,2: 13:[32, 44] Operation: 81-37=44 Moving to Node #0,1,2 Current State: 13:[1, 12], Operations: ['81/81=1', '44-32=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[81, 44, 81, 32], Operations: [] Exploring Operation: 81/81=1, Resulting Numbers: [44, 32, 1] Generated Node #0,1: 13:[44, 32, 1] Operation: 81/81=1 Moving to Node #0,1 Current State: 13:[44, 32, 1], Operations: ['81/81=1'] Exploring Operation: 44-32=12, Resulting Numbers: [1, 12] Generated Node #0,1,2: 13:[1, 12] Operation: 44-32=12 Moving to Node #0,1,2 Current State: 13:[1, 12], Operations: ['81/81=1', '44-32=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 72, 68, 17, 9 ]
93
[ "72/9=8", "68+17=85", "8+85=93" ]
Current State: 93:[72, 68, 17, 9], Operations: [] Exploring Operation: 72/9=8, Resulting Numbers: [68, 17, 8] Generated Node #2: [68, 17, 8] from Operation: 72/9=8 Current State: 93:[68, 17, 8], Operations: ['72/9=8'] Exploring Operation: 68+17=85, Resulting Numbers: [8, 85] Generated Node #3: [8, 85] from Operation: 68+17=85 Current State: 93:[8, 85], Operations: ['72/9=8', '68+17=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[72, 68, 17, 9], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [72, 9, 4] Generated Node #0,0: 93:[72, 9, 4] Operation: 68/17=4 Exploring Operation: 72-68=4, Resulting Numbers: [17, 9, 4] Generated Node #0,1: 93:[17, 9, 4] Operation: 72-68=4 Moving to Node #0,1 Current State: 93:[17, 9, 4], Operations: ['72-68=4'] Exploring Operation: 17-9=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 93:[4, 8] Operation: 17-9=8 Exploring Operation: 17+9=26, Resulting Numbers: [4, 26] Generated Node #0,1,1: 93:[4, 26] Operation: 17+9=26 Moving to Node #0,0 Current State: 93:[72, 9, 4], Operations: ['68/17=4'] Exploring Operation: 72/9=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 93:[4, 8] Operation: 72/9=8 Exploring Operation: 72+9=81, Resulting Numbers: [4, 81] Generated Node #0,0,1: 93:[4, 81] Operation: 72+9=81 Moving to Node #0,1,0 Current State: 93:[4, 8], Operations: ['72-68=4', '17-9=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[4, 8], Operations: ['68/17=4', '72/9=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[4, 26], Operations: ['72-68=4', '17+9=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[4, 81], Operations: ['68/17=4', '72+9=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 96, 95, 13, 11 ]
97
[ "13-11=2", "96*2=192", "192-95=97" ]
Current State: 97:[96, 95, 13, 11], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [96, 95, 2] Generated Node #2: [96, 95, 2] from Operation: 13-11=2 Current State: 97:[96, 95, 2], Operations: ['13-11=2'] Exploring Operation: 96*2=192, Resulting Numbers: [95, 192] Generated Node #3: [95, 192] from Operation: 96*2=192 Current State: 97:[95, 192], Operations: ['13-11=2', '96*2=192'] Exploring Operation: 192-95=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[96, 95, 13, 11], Operations: [] Exploring Operation: 13*11=143, Resulting Numbers: [96, 95, 143] Generated Node #0,0: 97:[96, 95, 143] Operation: 13*11=143 Exploring Operation: 13+11=24, Resulting Numbers: [96, 95, 24] Generated Node #0,1: 97:[96, 95, 24] Operation: 13+11=24 Exploring Operation: 95+11=106, Resulting Numbers: [96, 13, 106] Generated Node #0,2: 97:[96, 13, 106] Operation: 95+11=106 Moving to Node #0,0 Current State: 97:[96, 95, 143], Operations: ['13*11=143'] Exploring Operation: 96+95=191, Resulting Numbers: [143, 191] Generated Node #0,0,0: 97:[143, 191] Operation: 96+95=191 Exploring Operation: 143-95=48, Resulting Numbers: [96, 48] Generated Node #0,0,1: 97:[96, 48] Operation: 143-95=48 Exploring Operation: 143-96=47, Resulting Numbers: [95, 47] Generated Node #0,0,2: 97:[95, 47] Operation: 143-96=47 Moving to Node #0,1 Current State: 97:[96, 95, 24], Operations: ['13+11=24'] Exploring Operation: 96-24=72, Resulting Numbers: [95, 72] Generated Node #0,1,0: 97:[95, 72] Operation: 96-24=72 Exploring Operation: 96+24=120, Resulting Numbers: [95, 120] Generated Node #0,1,1: 97:[95, 120] Operation: 96+24=120 Exploring Operation: 95+24=119, Resulting Numbers: [96, 119] Generated Node #0,1,2: 97:[96, 119] Operation: 95+24=119 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[96, 119], Operations: ['13+11=24', '95+24=119'] Exploring Operation: 119-96=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 96+119=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 96*119=11424, Resulting Numbers: [11424] 11424,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[95, 120], Operations: ['13+11=24', '96+24=120'] Exploring Operation: 95*120=11400, Resulting Numbers: [11400] 11400,97 unequal: No Solution Exploring Operation: 120-95=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 95+120=215, Resulting Numbers: [215] 215,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[95, 72], Operations: ['13+11=24', '96-24=72'] Exploring Operation: 95*72=6840, Resulting Numbers: [6840] 6840,97 unequal: No Solution Exploring Operation: 95+72=167, Resulting Numbers: [167] 167,97 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[96, 13, 106], Operations: ['95+11=106'] Exploring Operation: 96-13=83, Resulting Numbers: [106, 83] Generated Node #0,2,0: 97:[106, 83] Operation: 96-13=83 Exploring Operation: 96+13=109, Resulting Numbers: [106, 109] Generated Node #0,2,1: 97:[106, 109] Operation: 96+13=109 Exploring Operation: 106-13=93, Resulting Numbers: [96, 93] Generated Node #0,2,2: 97:[96, 93] Operation: 106-13=93 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[96, 93], Operations: ['95+11=106', '106-13=93'] Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,97 unequal: No Solution Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[106, 109], Operations: ['95+11=106', '96+13=109'] Exploring Operation: 106*109=11554, Resulting Numbers: [11554] 11554,97 unequal: No Solution Exploring Operation: 106+109=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 109-106=3, Resulting Numbers: [3] 3,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[106, 83], Operations: ['95+11=106', '96-13=83'] Exploring Operation: 106*83=8798, Resulting Numbers: [8798] 8798,97 unequal: No Solution Exploring Operation: 106+83=189, Resulting Numbers: [189] 189,97 unequal: No Solution Exploring Operation: 106-83=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 97:[96, 48], Operations: ['13*11=143', '143-95=48'] Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[95, 47], Operations: ['13*11=143', '143-96=47'] Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,97 unequal: No Solution Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,97 unequal: No Solution Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[143, 191], Operations: ['13*11=143', '96+95=191'] Exploring Operation: 143*191=27313, Resulting Numbers: [27313] 27313,97 unequal: No Solution Exploring Operation: 191-143=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 143+191=334, Resulting Numbers: [334] 334,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 66, 10, 37 ]
48
[ "66-37=29", "2*29=58", "58-10=48" ]
Current State: 48:[2, 66, 10, 37], Operations: [] Exploring Operation: 66-37=29, Resulting Numbers: [2, 10, 29] Generated Node #2: [2, 10, 29] from Operation: 66-37=29 Current State: 48:[2, 10, 29], Operations: ['66-37=29'] Exploring Operation: 2*29=58, Resulting Numbers: [10, 58] Generated Node #3: [10, 58] from Operation: 2*29=58 Current State: 48:[10, 58], Operations: ['66-37=29', '2*29=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 66, 10, 37], Operations: [] Exploring Operation: 10+37=47, Resulting Numbers: [2, 66, 47] Generated Node #0,0: 48:[2, 66, 47] Operation: 10+37=47 Exploring Operation: 66-10=56, Resulting Numbers: [2, 37, 56] Generated Node #0,1: 48:[2, 37, 56] Operation: 66-10=56 Exploring Operation: 66-37=29, Resulting Numbers: [2, 10, 29] Generated Node #0,2: 48:[2, 10, 29] Operation: 66-37=29 Moving to Node #0,2 Current State: 48:[2, 10, 29], Operations: ['66-37=29'] Exploring Operation: 29-10=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 48:[2, 19] Operation: 29-10=19 Exploring Operation: 2+10=12, Resulting Numbers: [29, 12] Generated Node #0,2,1: 48:[29, 12] Operation: 2+10=12 Exploring Operation: 10-2=8, Resulting Numbers: [29, 8] Generated Node #0,2,2: 48:[29, 8] Operation: 10-2=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[2, 19], Operations: ['66-37=29', '29-10=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,48 unequal: No Solution No 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: 48:[29, 12], Operations: ['66-37=29', '2+10=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,48 unequal: No Solution No 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: 48:[29, 8], Operations: ['66-37=29', '10-2=8'] Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,48 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,48 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: 48:[2, 66, 47], Operations: ['10+37=47'] Exploring Operation: 66-47=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 48:[2, 19] Operation: 66-47=19 Exploring Operation: 66/2=33, Resulting Numbers: [47, 33] Generated Node #0,0,1: 48:[47, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [47, 64] Generated Node #0,0,2: 48:[47, 64] Operation: 66-2=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[2, 19], Operations: ['10+37=47', '66-47=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,48 unequal: No Solution No 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: 48:[47, 33], Operations: ['10+37=47', '66/2=33'] Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,48 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,48 unequal: No Solution No 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: 48:[47, 64], Operations: ['10+37=47', '66-2=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,48 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: 48:[2, 37, 56], Operations: ['66-10=56'] Exploring Operation: 56/2=28, Resulting Numbers: [37, 28] Generated Node #0,1,0: 48:[37, 28] Operation: 56/2=28 Exploring Operation: 2+37=39, Resulting Numbers: [56, 39] Generated Node #0,1,1: 48:[56, 39] Operation: 2+37=39 Exploring Operation: 56-37=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 48:[2, 19] Operation: 56-37=19 Moving to Node #0,1,2 Current State: 48:[2, 19], Operations: ['66-10=56', '56-37=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[37, 28], Operations: ['66-10=56', '56/2=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,48 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[56, 39], Operations: ['66-10=56', '2+37=39'] Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,48 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,48 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 13, 4, 44, 39 ]
24
[ "13+44=57", "39+57=96", "96/4=24" ]
Current State: 24:[13, 4, 44, 39], Operations: [] Exploring Operation: 13+44=57, Resulting Numbers: [4, 39, 57] Generated Node #2: [4, 39, 57] from Operation: 13+44=57 Current State: 24:[4, 39, 57], Operations: ['13+44=57'] Exploring Operation: 39+57=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 39+57=96 Current State: 24:[4, 96], Operations: ['13+44=57', '39+57=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[13, 4, 44, 39], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [13, 39, 11] Generated Node #0,0: 24:[13, 39, 11] Operation: 44/4=11 Exploring Operation: 44-39=5, Resulting Numbers: [13, 4, 5] Generated Node #0,1: 24:[13, 4, 5] Operation: 44-39=5 Moving to Node #0,1 Current State: 24:[13, 4, 5], Operations: ['44-39=5'] Exploring Operation: 13-4=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 24:[5, 9] Operation: 13-4=9 Exploring Operation: 13-5=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 24:[4, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[4, 8], Operations: ['44-39=5', '13-5=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[5, 9], Operations: ['44-39=5', '13-4=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,24 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: 24:[13, 39, 11], Operations: ['44/4=11'] Exploring Operation: 39-13=26, Resulting Numbers: [11, 26] Generated Node #0,0,0: 24:[11, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [11, 3] Generated Node #0,0,1: 24:[11, 3] Operation: 39/13=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[11, 3], Operations: ['44/4=11', '39/13=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[11, 26], Operations: ['44/4=11', '39-13=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 20, 79, 94, 5 ]
17
[ "94-79=15", "15/5=3", "20-3=17" ]
Current State: 17:[20, 79, 94, 5], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [20, 5, 15] Generated Node #2: [20, 5, 15] from Operation: 94-79=15 Current State: 17:[20, 5, 15], Operations: ['94-79=15'] Exploring Operation: 15/5=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 15/5=3 Current State: 17:[20, 3], Operations: ['94-79=15', '15/5=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[20, 79, 94, 5], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [20, 5, 15] Generated Node #0,0: 17:[20, 5, 15] Operation: 94-79=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[20, 5, 15], Operations: ['94-79=15'] Exploring Operation: 20-5=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 17:[15, 15] Operation: 20-5=15 Moving to Node #0,0,0 Current State: 17:[15, 15], Operations: ['94-79=15', '20-5=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,17 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
[ 6, 19, 20, 17 ]
63
[ "6*17=102", "19+20=39", "102-39=63" ]
Current State: 63:[6, 19, 20, 17], Operations: [] Exploring Operation: 6*17=102, Resulting Numbers: [19, 20, 102] Generated Node #2: [19, 20, 102] from Operation: 6*17=102 Current State: 63:[19, 20, 102], Operations: ['6*17=102'] Exploring Operation: 19+20=39, Resulting Numbers: [102, 39] Generated Node #3: [102, 39] from Operation: 19+20=39 Current State: 63:[102, 39], Operations: ['6*17=102', '19+20=39'] Exploring Operation: 102-39=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[6, 19, 20, 17], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [6, 20, 2] Generated Node #0,0: 63:[6, 20, 2] Operation: 19-17=2 Moving to Node #0,0 Current State: 63:[6, 20, 2], Operations: ['19-17=2'] Exploring Operation: 6/2=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 63:[20, 3] Operation: 6/2=3 Moving to Node #0,0,0 Current State: 63:[20, 3], Operations: ['19-17=2', '6/2=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 64, 10, 10, 70 ]
40
[ "64+10=74", "74-70=4", "10*4=40" ]
Current State: 40:[64, 10, 10, 70], Operations: [] Exploring Operation: 64+10=74, Resulting Numbers: [70, 74] Generated Node #2: [70, 74] from Operation: 64+10=74 Current State: 40:[70, 74], Operations: ['64+10=74'] Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,40 equal: Goal Reached Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[64, 10, 10, 70], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [10, 10, 6] Generated Node #0,0: 40:[10, 10, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[10, 10, 6], Operations: ['70-64=6'] Exploring Operation: 10-6=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 40:[10, 4] Operation: 10-6=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[10, 4], Operations: ['70-64=6', '10-6=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[64, 10, 10, 70], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [10, 10, 6] Generated Node #0,0: 40:[10, 10, 6] Operation: 70-64=6 Moving to Node #0,0 Current State: 40:[10, 10, 6], Operations: ['70-64=6'] Exploring Operation: 10-6=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 40:[10, 4] Operation: 10-6=4 Moving to Node #0,0,0 Current State: 40:[10, 4], Operations: ['70-64=6', '10-6=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 78, 12, 56, 42 ]
53
[ "78-42=36", "36/12=3", "56-3=53" ]
Current State: 53:[78, 12, 56, 42], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [12, 56, 36] Generated Node #2: [12, 56, 36] from Operation: 78-42=36 Current State: 53:[12, 56, 36], Operations: ['78-42=36'] Exploring Operation: 36/12=3, Resulting Numbers: [56, 3] Generated Node #3: [56, 3] from Operation: 36/12=3 Current State: 53:[56, 3], Operations: ['78-42=36', '36/12=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[78, 12, 56, 42], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [56, 42, 66] Generated Node #0,0: 53:[56, 42, 66] Operation: 78-12=66 Moving to Node #0,0 Current State: 53:[56, 42, 66], Operations: ['78-12=66'] Exploring Operation: 66-42=24, Resulting Numbers: [56, 24] Generated Node #0,0,0: 53:[56, 24] Operation: 66-42=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[56, 24], Operations: ['78-12=66', '66-42=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,53 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
[ 97, 99, 25, 1 ]
93
[ "99+1=100", "100/25=4", "97-4=93" ]
Current State: 93:[97, 99, 25, 1], Operations: [] Exploring Operation: 99+1=100, Resulting Numbers: [97, 25, 100] Generated Node #2: [97, 25, 100] from Operation: 99+1=100 Current State: 93:[97, 25, 100], Operations: ['99+1=100'] Exploring Operation: 100/25=4, Resulting Numbers: [97, 4] Generated Node #3: [97, 4] from Operation: 100/25=4 Current State: 93:[97, 4], Operations: ['99+1=100', '100/25=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[97, 99, 25, 1], Operations: [] Exploring Operation: 97*1=97, Resulting Numbers: [99, 25, 97] Generated Node #0,0: 93:[99, 25, 97] Operation: 97*1=97 Exploring Operation: 97-1=96, Resulting Numbers: [99, 25, 96] Generated Node #0,1: 93:[99, 25, 96] Operation: 97-1=96 Exploring Operation: 99-97=2, Resulting Numbers: [25, 1, 2] Generated Node #0,2: 93:[25, 1, 2] Operation: 99-97=2 Exploring Operation: 99-1=98, Resulting Numbers: [97, 25, 98] Generated Node #0,3: 93:[97, 25, 98] Operation: 99-1=98 Exploring Operation: 25+1=26, Resulting Numbers: [97, 99, 26] Generated Node #0,4: 93:[97, 99, 26] Operation: 25+1=26 Moving to Node #0,2 Current State: 93:[25, 1, 2], Operations: ['99-97=2'] Exploring Operation: 25*1=25, Resulting Numbers: [2, 25] Generated Node #0,2,0: 93:[2, 25] Operation: 25*1=25 Exploring Operation: 1+2=3, Resulting Numbers: [25, 3] Generated Node #0,2,1: 93:[25, 3] Operation: 1+2=3 Exploring Operation: 25+2=27, Resulting Numbers: [1, 27] Generated Node #0,2,2: 93:[1, 27] Operation: 25+2=27 Exploring Operation: 25+1=26, Resulting Numbers: [2, 26] Generated Node #0,2,3: 93:[2, 26] Operation: 25+1=26 Exploring Operation: 25/1=25, Resulting Numbers: [2, 25] Generated Node #0,2,4: 93:[2, 25] Operation: 25/1=25 Moving to Node #0,3 Current State: 93:[97, 25, 98], Operations: ['99-1=98'] Exploring Operation: 98-97=1, Resulting Numbers: [25, 1] Generated Node #0,3,0: 93:[25, 1] Operation: 98-97=1 Exploring Operation: 97-25=72, Resulting Numbers: [98, 72] Generated Node #0,3,1: 93:[98, 72] Operation: 97-25=72 Exploring Operation: 98-25=73, Resulting Numbers: [97, 73] Generated Node #0,3,2: 93:[97, 73] Operation: 98-25=73 Exploring Operation: 25+98=123, Resulting Numbers: [97, 123] Generated Node #0,3,3: 93:[97, 123] Operation: 25+98=123 Exploring Operation: 97+25=122, Resulting Numbers: [98, 122] Generated Node #0,3,4: 93:[98, 122] Operation: 97+25=122 Moving to Node #0,1 Current State: 93:[99, 25, 96], Operations: ['97-1=96'] Exploring Operation: 25+96=121, Resulting Numbers: [99, 121] Generated Node #0,1,0: 93:[99, 121] Operation: 25+96=121 Exploring Operation: 99+25=124, Resulting Numbers: [96, 124] Generated Node #0,1,1: 93:[96, 124] Operation: 99+25=124 Exploring Operation: 96-25=71, Resulting Numbers: [99, 71] Generated Node #0,1,2: 93:[99, 71] Operation: 96-25=71 Exploring Operation: 99-25=74, Resulting Numbers: [96, 74] Generated Node #0,1,3: 93:[96, 74] Operation: 99-25=74 Exploring Operation: 99-96=3, Resulting Numbers: [25, 3] Generated Node #0,1,4: 93:[25, 3] Operation: 99-96=3 Moving to Node #0,4 Current State: 93:[97, 99, 26], Operations: ['25+1=26'] Exploring Operation: 99+26=125, Resulting Numbers: [97, 125] Generated Node #0,4,0: 93:[97, 125] Operation: 99+26=125 Exploring Operation: 99-97=2, Resulting Numbers: [26, 2] Generated Node #0,4,1: 93:[26, 2] Operation: 99-97=2 Exploring Operation: 97-26=71, Resulting Numbers: [99, 71] Generated Node #0,4,2: 93:[99, 71] Operation: 97-26=71 Exploring Operation: 99-26=73, Resulting Numbers: [97, 73] Generated Node #0,4,3: 93:[97, 73] Operation: 99-26=73 Exploring Operation: 97+26=123, Resulting Numbers: [99, 123] Generated Node #0,4,4: 93:[99, 123] Operation: 97+26=123 Moving to Node #0,0 Current State: 93:[99, 25, 97], Operations: ['97*1=97'] Exploring Operation: 99-25=74, Resulting Numbers: [97, 74] Generated Node #0,0,0: 93:[97, 74] Operation: 99-25=74 Exploring Operation: 99-97=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 93:[25, 2] Operation: 99-97=2 Exploring Operation: 25+97=122, Resulting Numbers: [99, 122] Generated Node #0,0,2: 93:[99, 122] Operation: 25+97=122 Exploring Operation: 97-25=72, Resulting Numbers: [99, 72] Generated Node #0,0,3: 93:[99, 72] Operation: 97-25=72 Exploring Operation: 99+25=124, Resulting Numbers: [97, 124] Generated Node #0,0,4: 93:[97, 124] Operation: 99+25=124 Moving to Node #0,2,1 Current State: 93:[25, 3], Operations: ['99-97=2', '1+2=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[2, 26], Operations: ['99-97=2', '25+1=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[1, 27], Operations: ['99-97=2', '25+2=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[25, 3], Operations: ['97-1=96', '99-96=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[26, 2], Operations: ['25+1=26', '99-97=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,93 unequal: No Solution Moving to Node #0,2,4 Current State: 93:[2, 25], Operations: ['99-97=2', '25/1=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[25, 2], Operations: ['97*1=97', '99-97=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[2, 25], Operations: ['99-97=2', '25*1=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[25, 1], Operations: ['99-1=98', '98-97=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[96, 74], Operations: ['97-1=96', '99-25=74'] Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 96+74=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 96*74=7104, Resulting Numbers: [7104] 7104,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[97, 74], Operations: ['97*1=97', '99-25=74'] Exploring Operation: 97+74=171, Resulting Numbers: [171] 171,93 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 97*74=7178, Resulting Numbers: [7178] 7178,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[97, 73], Operations: ['99-1=98', '98-25=73'] Exploring Operation: 97*73=7081, Resulting Numbers: [7081] 7081,93 unequal: No Solution Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 97+73=170, Resulting Numbers: [170] 170,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[97, 73], Operations: ['25+1=26', '99-26=73'] Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 97+73=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 97*73=7081, Resulting Numbers: [7081] 7081,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[98, 72], Operations: ['99-1=98', '97-25=72'] Exploring Operation: 98+72=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 98*72=7056, Resulting Numbers: [7056] 7056,93 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[99, 72], Operations: ['97*1=97', '97-25=72'] Exploring Operation: 99+72=171, Resulting Numbers: [171] 171,93 unequal: No Solution Exploring Operation: 99*72=7128, Resulting Numbers: [7128] 7128,93 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[99, 71], Operations: ['97-1=96', '96-25=71'] Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 99*71=7029, Resulting Numbers: [7029] 7029,93 unequal: No Solution Exploring Operation: 99+71=170, Resulting Numbers: [170] 170,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[99, 71], Operations: ['25+1=26', '97-26=71'] Exploring Operation: 99+71=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 99*71=7029, Resulting Numbers: [7029] 7029,93 unequal: No Solution Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[99, 121], Operations: ['97-1=96', '25+96=121'] Exploring Operation: 99+121=220, Resulting Numbers: [220] 220,93 unequal: No Solution Exploring Operation: 99*121=11979, Resulting Numbers: [11979] 11979,93 unequal: No Solution Exploring Operation: 121-99=22, Resulting Numbers: [22] 22,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[97, 123], Operations: ['99-1=98', '25+98=123'] Exploring Operation: 97+123=220, Resulting Numbers: [220] 220,93 unequal: No Solution Exploring Operation: 97*123=11931, Resulting Numbers: [11931] 11931,93 unequal: No Solution Exploring Operation: 123-97=26, Resulting Numbers: [26] 26,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[98, 122], Operations: ['99-1=98', '97+25=122'] Exploring Operation: 98*122=11956, Resulting Numbers: [11956] 11956,93 unequal: No Solution Exploring Operation: 122-98=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 98+122=220, Resulting Numbers: [220] 220,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[96, 124], Operations: ['97-1=96', '99+25=124'] Exploring Operation: 96*124=11904, Resulting Numbers: [11904] 11904,93 unequal: No Solution Exploring Operation: 96+124=220, Resulting Numbers: [220] 220,93 unequal: No Solution Exploring Operation: 124-96=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[97, 124], Operations: ['97*1=97', '99+25=124'] Exploring Operation: 124-97=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 97+124=221, Resulting Numbers: [221] 221,93 unequal: No Solution Exploring Operation: 97*124=12028, Resulting Numbers: [12028] 12028,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[99, 122], Operations: ['97*1=97', '25+97=122'] Exploring Operation: 99*122=12078, Resulting Numbers: [12078] 12078,93 unequal: No Solution Exploring Operation: 99+122=221, Resulting Numbers: [221] 221,93 unequal: No Solution Exploring Operation: 122-99=23, Resulting Numbers: [23] 23,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[99, 123], Operations: ['25+1=26', '97+26=123'] Exploring Operation: 99+123=222, Resulting Numbers: [222] 222,93 unequal: No Solution Exploring Operation: 123-99=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 99*123=12177, Resulting Numbers: [12177] 12177,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[97, 125], Operations: ['25+1=26', '99+26=125'] Exploring Operation: 97*125=12125, Resulting Numbers: [12125] 12125,93 unequal: No Solution Exploring Operation: 125-97=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 97+125=222, Resulting Numbers: [222] 222,93 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 15, 82, 76 ]
23
[ "2+15=17", "82-76=6", "17+6=23" ]
Current State: 23:[2, 15, 82, 76], Operations: [] Exploring Operation: 2+15=17, Resulting Numbers: [82, 76, 17] Generated Node #2: [82, 76, 17] from Operation: 2+15=17 Current State: 23:[82, 76, 17], Operations: ['2+15=17'] Exploring Operation: 82-76=6, Resulting Numbers: [17, 6] Generated Node #3: [17, 6] from Operation: 82-76=6 Current State: 23:[17, 6], Operations: ['2+15=17', '82-76=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[2, 15, 82, 76], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [15, 76, 41] Generated Node #0,0: 23:[15, 76, 41] Operation: 82/2=41 Exploring Operation: 82-76=6, Resulting Numbers: [2, 15, 6] Generated Node #0,1: 23:[2, 15, 6] Operation: 82-76=6 Moving to Node #0,1 Current State: 23:[2, 15, 6], Operations: ['82-76=6'] Exploring Operation: 2+15=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 23:[6, 17] Operation: 2+15=17 Exploring Operation: 2*6=12, Resulting Numbers: [15, 12] Generated Node #0,1,1: 23:[15, 12] Operation: 2*6=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[15, 12], Operations: ['82-76=6', '2*6=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[6, 17], Operations: ['82-76=6', '2+15=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[2, 15, 82, 76], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [2, 15, 6] Generated Node #0,1: 23:[2, 15, 6] Operation: 82-76=6 Moving to Node #0,1 Current State: 23:[2, 15, 6], Operations: ['82-76=6'] Exploring Operation: 2+15=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 23:[6, 17] Operation: 2+15=17 Moving to Node #0,1,0 Current State: 23:[6, 17], Operations: ['82-76=6', '2+15=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 39, 90, 47, 23 ]
92
[ "90-39=51", "51-47=4", "23*4=92" ]
Current State: 92:[39, 90, 47, 23], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [47, 23, 51] Generated Node #2: [47, 23, 51] from Operation: 90-39=51 Current State: 92:[47, 23, 51], Operations: ['90-39=51'] Exploring Operation: 51-47=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 51-47=4 Current State: 92:[23, 4], Operations: ['90-39=51', '51-47=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[39, 90, 47, 23], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [47, 23, 51] Generated Node #0,0: 92:[47, 23, 51] Operation: 90-39=51 Exploring Operation: 47-39=8, Resulting Numbers: [90, 23, 8] Generated Node #0,1: 92:[90, 23, 8] Operation: 47-39=8 Moving to Node #0,0 Current State: 92:[47, 23, 51], Operations: ['90-39=51'] Exploring Operation: 47-23=24, Resulting Numbers: [51, 24] Generated Node #0,0,0: 92:[51, 24] Operation: 47-23=24 Exploring Operation: 51-47=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 92:[23, 4] Operation: 51-47=4 Moving to Node #0,1 Current State: 92:[90, 23, 8], Operations: ['47-39=8'] Exploring Operation: 90-8=82, Resulting Numbers: [23, 82] Generated Node #0,1,0: 92:[23, 82] Operation: 90-8=82 Exploring Operation: 90+8=98, Resulting Numbers: [23, 98] Generated Node #0,1,1: 92:[23, 98] Operation: 90+8=98 Moving to Node #0,0,1 Current State: 92:[23, 4], Operations: ['90-39=51', '51-47=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[39, 90, 47, 23], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [47, 23, 51] Generated Node #0,0: 92:[47, 23, 51] Operation: 90-39=51 Moving to Node #0,0 Current State: 92:[47, 23, 51], Operations: ['90-39=51'] Exploring Operation: 51-47=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 92:[23, 4] Operation: 51-47=4 Moving to Node #0,0,1 Current State: 92:[23, 4], Operations: ['90-39=51', '51-47=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 66, 15, 75, 44 ]
82
[ "66-15=51", "75-44=31", "51+31=82" ]
Current State: 82:[66, 15, 75, 44], Operations: [] Exploring Operation: 66-15=51, Resulting Numbers: [75, 44, 51] Generated Node #2: [75, 44, 51] from Operation: 66-15=51 Current State: 82:[75, 44, 51], Operations: ['66-15=51'] Exploring Operation: 75-44=31, Resulting Numbers: [51, 31] Generated Node #3: [51, 31] from Operation: 75-44=31 Current State: 82:[51, 31], Operations: ['66-15=51', '75-44=31'] Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[66, 15, 75, 44], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [66, 44, 5] Generated Node #0,0: 82:[66, 44, 5] Operation: 75/15=5 Exploring Operation: 66+15=81, Resulting Numbers: [75, 44, 81] Generated Node #0,1: 82:[75, 44, 81] Operation: 66+15=81 Exploring Operation: 75-66=9, Resulting Numbers: [15, 44, 9] Generated Node #0,2: 82:[15, 44, 9] Operation: 75-66=9 Exploring Operation: 15+75=90, Resulting Numbers: [66, 44, 90] Generated Node #0,3: 82:[66, 44, 90] Operation: 15+75=90 Exploring Operation: 66-15=51, Resulting Numbers: [75, 44, 51] Generated Node #0,4: 82:[75, 44, 51] Operation: 66-15=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[75, 44, 81], Operations: ['66+15=81'] Exploring Operation: 75+44=119, Resulting Numbers: [81, 119] Generated Node #0,1,0: 82:[81, 119] Operation: 75+44=119 Exploring Operation: 81-75=6, Resulting Numbers: [44, 6] Generated Node #0,1,1: 82:[44, 6] Operation: 81-75=6 Exploring Operation: 44+81=125, Resulting Numbers: [75, 125] Generated Node #0,1,2: 82:[75, 125] Operation: 44+81=125 Exploring Operation: 81-44=37, Resulting Numbers: [75, 37] Generated Node #0,1,3: 82:[75, 37] Operation: 81-44=37 Exploring Operation: 75-44=31, Resulting Numbers: [81, 31] Generated Node #0,1,4: 82:[81, 31] Operation: 75-44=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[44, 6], Operations: ['66+15=81', '81-75=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[75, 37], Operations: ['66+15=81', '81-44=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,82 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 82:[81, 31], Operations: ['66+15=81', '75-44=31'] Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[81, 119], Operations: ['66+15=81', '75+44=119'] Exploring Operation: 81+119=200, Resulting Numbers: [200] 200,82 unequal: No Solution Exploring Operation: 81*119=9639, Resulting Numbers: [9639] 9639,82 unequal: No Solution Exploring Operation: 119-81=38, Resulting Numbers: [38] 38,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[75, 125], Operations: ['66+15=81', '44+81=125'] Exploring Operation: 75*125=9375, Resulting Numbers: [9375] 9375,82 unequal: No Solution Exploring Operation: 75+125=200, Resulting Numbers: [200] 200,82 unequal: No Solution Exploring Operation: 125-75=50, Resulting Numbers: [50] 50,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[75, 44, 51], Operations: ['66-15=51'] Exploring Operation: 75+44=119, Resulting Numbers: [51, 119] Generated Node #0,4,0: 82:[51, 119] Operation: 75+44=119 Exploring Operation: 44+51=95, Resulting Numbers: [75, 95] Generated Node #0,4,1: 82:[75, 95] Operation: 44+51=95 Exploring Operation: 75-44=31, Resulting Numbers: [51, 31] Generated Node #0,4,2: 82:[51, 31] Operation: 75-44=31 Exploring Operation: 75-51=24, Resulting Numbers: [44, 24] Generated Node #0,4,3: 82:[44, 24] Operation: 75-51=24 Exploring Operation: 51-44=7, Resulting Numbers: [75, 7] Generated Node #0,4,4: 82:[75, 7] Operation: 51-44=7 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 82:[75, 7], Operations: ['66-15=51', '51-44=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[66, 15, 75, 44], Operations: [] Exploring Operation: 66-15=51, Resulting Numbers: [75, 44, 51] Generated Node #0,4: 82:[75, 44, 51] Operation: 66-15=51 Moving to Node #0,4 Current State: 82:[75, 44, 51], Operations: ['66-15=51'] Exploring Operation: 51-44=7, Resulting Numbers: [75, 7] Generated Node #0,4,4: 82:[75, 7] Operation: 51-44=7 Moving to Node #0,4,4 Current State: 82:[75, 7], Operations: ['66-15=51', '51-44=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 53, 71, 9, 95 ]
20
[ "53+71=124", "9+95=104", "124-104=20" ]
Current State: 20:[53, 71, 9, 95], Operations: [] Exploring Operation: 53+71=124, Resulting Numbers: [9, 95, 124] Generated Node #2: [9, 95, 124] from Operation: 53+71=124 Current State: 20:[9, 95, 124], Operations: ['53+71=124'] Exploring Operation: 9+95=104, Resulting Numbers: [124, 104] Generated Node #3: [124, 104] from Operation: 9+95=104 Current State: 20:[124, 104], Operations: ['53+71=124', '9+95=104'] Exploring Operation: 124-104=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[53, 71, 9, 95], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [53, 9, 24] Generated Node #0,0: 20:[53, 9, 24] Operation: 95-71=24 Moving to Node #0,0 Current State: 20:[53, 9, 24], Operations: ['95-71=24'] Exploring Operation: 53-24=29, Resulting Numbers: [9, 29] Generated Node #0,0,0: 20:[9, 29] Operation: 53-24=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[9, 29], Operations: ['95-71=24', '53-24=29'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[53, 71, 9, 95], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [53, 9, 24] Generated Node #0,0: 20:[53, 9, 24] Operation: 95-71=24 Moving to Node #0,0 Current State: 20:[53, 9, 24], Operations: ['95-71=24'] Exploring Operation: 53-24=29, Resulting Numbers: [9, 29] Generated Node #0,0,0: 20:[9, 29] Operation: 53-24=29 Moving to Node #0,0,0 Current State: 20:[9, 29], Operations: ['95-71=24', '53-24=29'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 29, 23, 95, 95 ]
29
[ "95-95=0", "23*0=0", "29+0=29" ]
Current State: 29:[29, 23, 95, 95], Operations: [] Exploring Operation: 95-95=0, Resulting Numbers: [29, 23, 0] Generated Node #2: [29, 23, 0] from Operation: 95-95=0 Current State: 29:[29, 23, 0], Operations: ['95-95=0'] Exploring Operation: 23*0=0, Resulting Numbers: [29, 0] Generated Node #3: [29, 0] from Operation: 23*0=0 Current State: 29:[29, 0], Operations: ['95-95=0', '23*0=0'] Exploring Operation: 29+0=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[29, 23, 95, 95], Operations: [] Exploring Operation: 95-95=0, Resulting Numbers: [29, 23, 0] Generated Node #0,0: 29:[29, 23, 0] Operation: 95-95=0 Exploring Operation: 95-29=66, Resulting Numbers: [23, 95, 66] Generated Node #0,1: 29:[23, 95, 66] Operation: 95-29=66 Exploring Operation: 95-29=66, Resulting Numbers: [23, 95, 66] Generated Node #0,2: 29:[23, 95, 66] Operation: 95-29=66 Exploring Operation: 95-23=72, Resulting Numbers: [29, 95, 72] Generated Node #0,3: 29:[29, 95, 72] Operation: 95-23=72 Exploring Operation: 95/95=1, Resulting Numbers: [29, 23, 1] Generated Node #0,4: 29:[29, 23, 1] Operation: 95/95=1 Moving to Node #0,4 Current State: 29:[29, 23, 1], Operations: ['95/95=1'] Exploring Operation: 29/1=29, Resulting Numbers: [23, 29] Generated Node #0,4,0: 29:[23, 29] Operation: 29/1=29 Exploring Operation: 23*1=23, Resulting Numbers: [29, 23] Generated Node #0,4,1: 29:[29, 23] Operation: 23*1=23 Exploring Operation: 23+1=24, Resulting Numbers: [29, 24] Generated Node #0,4,2: 29:[29, 24] Operation: 23+1=24 Exploring Operation: 23/1=23, Resulting Numbers: [29, 23] Generated Node #0,4,3: 29:[29, 23] Operation: 23/1=23 Exploring Operation: 29*1=29, Resulting Numbers: [23, 29] Generated Node #0,4,4: 29:[23, 29] Operation: 29*1=29 Moving to Node #0,0 Current State: 29:[29, 23, 0], Operations: ['95-95=0'] Exploring Operation: 23+0=23, Resulting Numbers: [29, 23] Generated Node #0,0,0: 29:[29, 23] Operation: 23+0=23 Exploring Operation: 29-0=29, Resulting Numbers: [23, 29] Generated Node #0,0,1: 29:[23, 29] Operation: 29-0=29 Exploring Operation: 23*0=0, Resulting Numbers: [29, 0] Generated Node #0,0,2: 29:[29, 0] Operation: 23*0=0 Exploring Operation: 23-0=23, Resulting Numbers: [29, 23] Generated Node #0,0,3: 29:[29, 23] Operation: 23-0=23 Exploring Operation: 29+0=29, Resulting Numbers: [23, 29] Generated Node #0,0,4: 29:[23, 29] Operation: 29+0=29 Moving to Node #0,1 Current State: 29:[23, 95, 66], Operations: ['95-29=66'] Exploring Operation: 95-66=29, Resulting Numbers: [23, 29] Generated Node #0,1,0: 29:[23, 29] Operation: 95-66=29 Exploring Operation: 23+66=89, Resulting Numbers: [95, 89] Generated Node #0,1,1: 29:[95, 89] Operation: 23+66=89 Exploring Operation: 23+95=118, Resulting Numbers: [66, 118] Generated Node #0,1,2: 29:[66, 118] Operation: 23+95=118 Exploring Operation: 66-23=43, Resulting Numbers: [95, 43] Generated Node #0,1,3: 29:[95, 43] Operation: 66-23=43 Exploring Operation: 95-23=72, Resulting Numbers: [66, 72] Generated Node #0,1,4: 29:[66, 72] Operation: 95-23=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[23, 29], Operations: ['95-29=66', '95-66=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,29 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[95, 43], Operations: ['95-29=66', '66-23=43'] Exploring Operation: 95+43=138, Resulting Numbers: [138] 138,29 unequal: No Solution Exploring Operation: 95*43=4085, Resulting Numbers: [4085] 4085,29 unequal: No Solution Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[66, 72], Operations: ['95-29=66', '95-23=72'] Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,29 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[95, 89], Operations: ['95-29=66', '23+66=89'] Exploring Operation: 95+89=184, Resulting Numbers: [184] 184,29 unequal: No Solution Exploring Operation: 95*89=8455, Resulting Numbers: [8455] 8455,29 unequal: No Solution Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[66, 118], Operations: ['95-29=66', '23+95=118'] Exploring Operation: 66*118=7788, Resulting Numbers: [7788] 7788,29 unequal: No Solution Exploring Operation: 118-66=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 66+118=184, Resulting Numbers: [184] 184,29 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: 29:[23, 95, 66], Operations: ['95-29=66'] Exploring Operation: 66-23=43, Resulting Numbers: [95, 43] Generated Node #0,2,0: 29:[95, 43] Operation: 66-23=43 Exploring Operation: 95-23=72, Resulting Numbers: [66, 72] Generated Node #0,2,1: 29:[66, 72] Operation: 95-23=72 Exploring Operation: 23+95=118, Resulting Numbers: [66, 118] Generated Node #0,2,2: 29:[66, 118] Operation: 23+95=118 Exploring Operation: 95-66=29, Resulting Numbers: [23, 29] Generated Node #0,2,3: 29:[23, 29] Operation: 95-66=29 Exploring Operation: 23+66=89, Resulting Numbers: [95, 89] Generated Node #0,2,4: 29:[95, 89] Operation: 23+66=89 Moving to Node #0,3 Current State: 29:[29, 95, 72], Operations: ['95-23=72'] Exploring Operation: 95-72=23, Resulting Numbers: [29, 23] Generated Node #0,3,0: 29:[29, 23] Operation: 95-72=23 Exploring Operation: 72-29=43, Resulting Numbers: [95, 43] Generated Node #0,3,1: 29:[95, 43] Operation: 72-29=43 Exploring Operation: 29+72=101, Resulting Numbers: [95, 101] Generated Node #0,3,2: 29:[95, 101] Operation: 29+72=101 Exploring Operation: 29+95=124, Resulting Numbers: [72, 124] Generated Node #0,3,3: 29:[72, 124] Operation: 29+95=124 Exploring Operation: 95-29=66, Resulting Numbers: [72, 66] Generated Node #0,3,4: 29:[72, 66] Operation: 95-29=66 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[29, 23], Operations: ['95-23=72', '95-72=23'] Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,29 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[95, 43], Operations: ['95-23=72', '72-29=43'] Exploring Operation: 95*43=4085, Resulting Numbers: [4085] 4085,29 unequal: No Solution Exploring Operation: 95+43=138, Resulting Numbers: [138] 138,29 unequal: No Solution Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 29:[72, 66], Operations: ['95-23=72', '95-29=66'] Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,29 unequal: No Solution Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[95, 101], Operations: ['95-23=72', '29+72=101'] Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,29 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[72, 124], Operations: ['95-23=72', '29+95=124'] Exploring Operation: 72*124=8928, Resulting Numbers: [8928] 8928,29 unequal: No Solution Exploring Operation: 124-72=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 72+124=196, Resulting Numbers: [196] 196,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 29:[29, 24], Operations: ['95/95=1', '23+1=24'] Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,29 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,29 unequal: No Solution Moving to Node #0,4,1 Current State: 29:[29, 23], Operations: ['95/95=1', '23*1=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[23, 29], Operations: ['95-95=0', '29-0=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,29 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[29, 23], Operations: ['95-95=0', '23+0=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[23, 29], Operations: ['95/95=1', '29/1=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[23, 29], Operations: ['95/95=1', '29*1=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[23, 29], Operations: ['95-29=66', '95-66=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[29, 23], Operations: ['95/95=1', '23/1=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[23, 29], Operations: ['95-95=0', '29+0=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,29 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[29, 23], Operations: ['95-95=0', '23-0=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[29, 0], Operations: ['95-95=0', '23*0=0'] Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[29, 23, 95, 95], Operations: [] Exploring Operation: 95-95=0, Resulting Numbers: [29, 23, 0] Generated Node #0,0: 29:[29, 23, 0] Operation: 95-95=0 Moving to Node #0,0 Current State: 29:[29, 23, 0], Operations: ['95-95=0'] Exploring Operation: 23*0=0, Resulting Numbers: [29, 0] Generated Node #0,0,2: 29:[29, 0] Operation: 23*0=0 Moving to Node #0,0,2 Current State: 29:[29, 0], Operations: ['95-95=0', '23*0=0'] Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.917535
hs_5
sum_heuristic
[ 58, 17, 18, 6 ]
29
[ "58-17=41", "18-6=12", "41-12=29" ]
Current State: 29:[58, 17, 18, 6], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [18, 6, 41] Generated Node #2: [18, 6, 41] from Operation: 58-17=41 Current State: 29:[18, 6, 41], Operations: ['58-17=41'] Exploring Operation: 18-6=12, Resulting Numbers: [41, 12] Generated Node #3: [41, 12] from Operation: 18-6=12 Current State: 29:[41, 12], Operations: ['58-17=41', '18-6=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[58, 17, 18, 6], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [18, 6, 41] Generated Node #0,0: 29:[18, 6, 41] Operation: 58-17=41 Exploring Operation: 58-18=40, Resulting Numbers: [17, 6, 40] Generated Node #0,1: 29:[17, 6, 40] Operation: 58-18=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[18, 6, 41], Operations: ['58-17=41'] Exploring Operation: 41-6=35, Resulting Numbers: [18, 35] Generated Node #0,0,0: 29:[18, 35] Operation: 41-6=35 Exploring Operation: 18+6=24, Resulting Numbers: [41, 24] Generated Node #0,0,1: 29:[41, 24] Operation: 18+6=24 Moving to Node #0,0,0 Current State: 29:[18, 35], Operations: ['58-17=41', '41-6=35'] Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,29 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[41, 24], Operations: ['58-17=41', '18+6=24'] Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[17, 6, 40], Operations: ['58-18=40'] Exploring Operation: 40-6=34, Resulting Numbers: [17, 34] Generated Node #0,1,0: 29:[17, 34] Operation: 40-6=34 Exploring Operation: 17+6=23, Resulting Numbers: [40, 23] Generated Node #0,1,1: 29:[40, 23] Operation: 17+6=23 Moving to Node #0,1,0 Current State: 29:[17, 34], Operations: ['58-18=40', '40-6=34'] Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[40, 23], Operations: ['58-18=40', '17+6=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,29 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 28, 80, 40, 6 ]
24
[ "28-6=22", "80/40=2", "22+2=24" ]
Current State: 24:[28, 80, 40, 6], Operations: [] Exploring Operation: 28-6=22, Resulting Numbers: [80, 40, 22] Generated Node #2: [80, 40, 22] from Operation: 28-6=22 Current State: 24:[80, 40, 22], Operations: ['28-6=22'] Exploring Operation: 80/40=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 80/40=2 Current State: 24:[22, 2], Operations: ['28-6=22', '80/40=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[28, 80, 40, 6], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [40, 6, 52] Generated Node #0,0: 24:[40, 6, 52] Operation: 80-28=52 Exploring Operation: 80/40=2, Resulting Numbers: [28, 6, 2] Generated Node #0,1: 24:[28, 6, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [28, 6, 40] Generated Node #0,2: 24:[28, 6, 40] Operation: 80-40=40 Moving to Node #0,1 Current State: 24:[28, 6, 2], Operations: ['80/40=2'] Exploring Operation: 28-6=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 24:[2, 22] Operation: 28-6=22 Exploring Operation: 28/2=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 24:[6, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [6, 26] Generated Node #0,1,2: 24:[6, 26] Operation: 28-2=26 Moving to Node #0,2 Current State: 24:[28, 6, 40], Operations: ['80-40=40'] Exploring Operation: 40-6=34, Resulting Numbers: [28, 34] Generated Node #0,2,0: 24:[28, 34] Operation: 40-6=34 Exploring Operation: 40-28=12, Resulting Numbers: [6, 12] Generated Node #0,2,1: 24:[6, 12] Operation: 40-28=12 Exploring Operation: 28-6=22, Resulting Numbers: [40, 22] Generated Node #0,2,2: 24:[40, 22] Operation: 28-6=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[6, 12], Operations: ['80-40=40', '40-28=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,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:[28, 34], Operations: ['80-40=40', '40-6=34'] Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,24 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,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:[40, 22], Operations: ['80-40=40', '28-6=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,24 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: 24:[40, 6, 52], Operations: ['80-28=52'] Exploring Operation: 52-40=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 24:[6, 12] Operation: 52-40=12 Exploring Operation: 52-6=46, Resulting Numbers: [40, 46] Generated Node #0,0,1: 24:[40, 46] Operation: 52-6=46 Exploring Operation: 40-6=34, Resulting Numbers: [52, 34] Generated Node #0,0,2: 24:[52, 34] Operation: 40-6=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[6, 12], Operations: ['80-28=52', '52-40=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[40, 46], Operations: ['80-28=52', '52-6=46'] Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,24 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[52, 34], Operations: ['80-28=52', '40-6=34'] Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,24 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,24 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: 24:[2, 22], Operations: ['80/40=2', '28-6=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[28, 80, 40, 6], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [28, 6, 2] Generated Node #0,1: 24:[28, 6, 2] Operation: 80/40=2 Moving to Node #0,1 Current State: 24:[28, 6, 2], Operations: ['80/40=2'] Exploring Operation: 28-6=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 24:[2, 22] Operation: 28-6=22 Moving to Node #0,1,0 Current State: 24:[2, 22], Operations: ['80/40=2', '28-6=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 60, 45, 5, 63 ]
90
[ "60+5=65", "65-63=2", "45*2=90" ]
Current State: 90:[60, 45, 5, 63], Operations: [] Exploring Operation: 60+5=65, Resulting Numbers: [45, 63, 65] Generated Node #2: [45, 63, 65] from Operation: 60+5=65 Current State: 90:[45, 63, 65], Operations: ['60+5=65'] Exploring Operation: 65-63=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 65-63=2 Current State: 90:[45, 2], Operations: ['60+5=65', '65-63=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[60, 45, 5, 63], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [45, 5, 3] Generated Node #0,0: 90:[45, 5, 3] Operation: 63-60=3 Exploring Operation: 63-45=18, Resulting Numbers: [60, 5, 18] Generated Node #0,1: 90:[60, 5, 18] Operation: 63-45=18 Moving to Node #0,0 Current State: 90:[45, 5, 3], Operations: ['63-60=3'] Exploring Operation: 45/5=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 90:[3, 9] Operation: 45/5=9 Exploring Operation: 45/3=15, Resulting Numbers: [5, 15] Generated Node #0,0,1: 90:[5, 15] Operation: 45/3=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[3, 9], Operations: ['63-60=3', '45/5=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,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,0,1 Current State: 90:[5, 15], Operations: ['63-60=3', '45/3=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,90 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: 90:[60, 5, 18], Operations: ['63-45=18'] Exploring Operation: 60-18=42, Resulting Numbers: [5, 42] Generated Node #0,1,0: 90:[5, 42] Operation: 60-18=42 Exploring Operation: 60/5=12, Resulting Numbers: [18, 12] Generated Node #0,1,1: 90:[18, 12] Operation: 60/5=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[18, 12], Operations: ['63-45=18', '60/5=12'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,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,0 Current State: 90:[5, 42], Operations: ['63-45=18', '60-18=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,90 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
[ 10, 59, 21, 76 ]
39
[ "10*76=760", "59+760=819", "819/21=39" ]
Current State: 39:[10, 59, 21, 76], Operations: [] Exploring Operation: 10*76=760, Resulting Numbers: [59, 21, 760] Generated Node #2: [59, 21, 760] from Operation: 10*76=760 Current State: 39:[59, 21, 760], Operations: ['10*76=760'] Exploring Operation: 59+760=819, Resulting Numbers: [21, 819] Generated Node #3: [21, 819] from Operation: 59+760=819 Current State: 39:[21, 819], Operations: ['10*76=760', '59+760=819'] Exploring Operation: 819/21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[10, 59, 21, 76], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [10, 21, 17] Generated Node #0,0: 39:[10, 21, 17] Operation: 76-59=17 Moving to Node #0,0 Current State: 39:[10, 21, 17], Operations: ['76-59=17'] Exploring Operation: 21+17=38, Resulting Numbers: [10, 38] Generated Node #0,0,0: 39:[10, 38] Operation: 21+17=38 Moving to Node #0,0,0 Current State: 39:[10, 38], Operations: ['76-59=17', '21+17=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 23, 63, 42 ]
23
[ "63-20=43", "43-42=1", "23*1=23" ]
Current State: 23:[20, 23, 63, 42], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [23, 42, 43] Generated Node #2: [23, 42, 43] from Operation: 63-20=43 Current State: 23:[23, 42, 43], Operations: ['63-20=43'] Exploring Operation: 43-42=1, Resulting Numbers: [23, 1] Generated Node #3: [23, 1] from Operation: 43-42=1 Current State: 23:[23, 1], Operations: ['63-20=43', '43-42=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[20, 23, 63, 42], Operations: [] Exploring Operation: 63-23=40, Resulting Numbers: [20, 42, 40] Generated Node #0,0: 23:[20, 42, 40] Operation: 63-23=40 Exploring Operation: 42-20=22, Resulting Numbers: [23, 63, 22] Generated Node #0,1: 23:[23, 63, 22] Operation: 42-20=22 Exploring Operation: 63-20=43, Resulting Numbers: [23, 42, 43] Generated Node #0,2: 23:[23, 42, 43] Operation: 63-20=43 Exploring Operation: 63-42=21, Resulting Numbers: [20, 23, 21] Generated Node #0,3: 23:[20, 23, 21] Operation: 63-42=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[20, 23, 21], Operations: ['63-42=21'] Exploring Operation: 20+23=43, Resulting Numbers: [21, 43] Generated Node #0,3,0: 23:[21, 43] Operation: 20+23=43 Exploring Operation: 21-20=1, Resulting Numbers: [23, 1] Generated Node #0,3,1: 23:[23, 1] Operation: 21-20=1 Exploring Operation: 20+21=41, Resulting Numbers: [23, 41] Generated Node #0,3,2: 23:[23, 41] Operation: 20+21=41 Exploring Operation: 23-20=3, Resulting Numbers: [21, 3] Generated Node #0,3,3: 23:[21, 3] Operation: 23-20=3 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[23, 41], Operations: ['63-42=21', '20+21=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,23 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[21, 43], Operations: ['63-42=21', '20+23=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[23, 1], Operations: ['63-42=21', '21-20=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[20, 23, 63, 42], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [20, 23, 21] Generated Node #0,3: 23:[20, 23, 21] Operation: 63-42=21 Moving to Node #0,3 Current State: 23:[20, 23, 21], Operations: ['63-42=21'] Exploring Operation: 21-20=1, Resulting Numbers: [23, 1] Generated Node #0,3,1: 23:[23, 1] Operation: 21-20=1 Moving to Node #0,3,1 Current State: 23:[23, 1], Operations: ['63-42=21', '21-20=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 28, 66, 28, 49 ]
17
[ "28+66=94", "28+49=77", "94-77=17" ]
Current State: 17:[28, 66, 28, 49], Operations: [] Exploring Operation: 28+66=94, Resulting Numbers: [49, 94] Generated Node #2: [49, 94] from Operation: 28+66=94 Current State: 17:[49, 94], Operations: ['28+66=94'] Exploring Operation: 28+49=77, Resulting Numbers: [94, 77] Generated Node #3: [94, 77] from Operation: 28+49=77 Current State: 17:[94, 77], Operations: ['28+66=94', '28+49=77'] Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[28, 66, 28, 49], Operations: [] Exploring Operation: 49-28=21, Resulting Numbers: [28, 66, 21] Generated Node #0,0: 17:[28, 66, 21] Operation: 49-28=21 Exploring Operation: 49-28=21, Resulting Numbers: [66, 28, 21] Generated Node #0,1: 17:[66, 28, 21] Operation: 49-28=21 Exploring Operation: 66-49=17, Resulting Numbers: [28, 28, 17] Generated Node #0,2: 17:[28, 28, 17] Operation: 66-49=17 Exploring Operation: 66-28=38, Resulting Numbers: [28, 49, 38] Generated Node #0,3: 17:[28, 49, 38] Operation: 66-28=38 Exploring Operation: 66-28=38, Resulting Numbers: [28, 49, 38] Generated Node #0,4: 17:[28, 49, 38] Operation: 66-28=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[28, 28, 17], Operations: ['66-49=17'] Exploring Operation: 28-17=11, Resulting Numbers: [28, 11] Generated Node #0,2,0: 17:[28, 11] Operation: 28-17=11 Exploring Operation: 28/28=1, Resulting Numbers: [17, 1] Generated Node #0,2,1: 17:[17, 1] Operation: 28/28=1 Exploring Operation: 28+28=56, Resulting Numbers: [17, 56] Generated Node #0,2,2: 17:[17, 56] Operation: 28+28=56 Exploring Operation: 28-17=11, Resulting Numbers: [28, 11] Generated Node #0,2,3: 17:[28, 11] Operation: 28-17=11 Exploring Operation: 28-28=0, Resulting Numbers: [17, 0] Generated Node #0,2,4: 17:[17, 0] Operation: 28-28=0 Moving to Node #0,2,1 Current State: 17:[17, 1], Operations: ['66-49=17', '28/28=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[28, 66, 28, 49], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [28, 28, 17] Generated Node #0,2: 17:[28, 28, 17] Operation: 66-49=17 Moving to Node #0,2 Current State: 17:[28, 28, 17], Operations: ['66-49=17'] Exploring Operation: 28/28=1, Resulting Numbers: [17, 1] Generated Node #0,2,1: 17:[17, 1] Operation: 28/28=1 Moving to Node #0,2,1 Current State: 17:[17, 1], Operations: ['66-49=17', '28/28=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 32, 8, 38, 39 ]
37
[ "32+8=40", "38+39=77", "77-40=37" ]
Current State: 37:[32, 8, 38, 39], Operations: [] Exploring Operation: 32+8=40, Resulting Numbers: [38, 39, 40] Generated Node #2: [38, 39, 40] from Operation: 32+8=40 Current State: 37:[38, 39, 40], Operations: ['32+8=40'] Exploring Operation: 38+39=77, Resulting Numbers: [40, 77] Generated Node #3: [40, 77] from Operation: 38+39=77 Current State: 37:[40, 77], Operations: ['32+8=40', '38+39=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[32, 8, 38, 39], Operations: [] Exploring Operation: 32+8=40, Resulting Numbers: [38, 39, 40] Generated Node #0,0: 37:[38, 39, 40] Operation: 32+8=40 Moving to Node #0,0 Current State: 37:[38, 39, 40], Operations: ['32+8=40'] Exploring Operation: 40-38=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 37:[39, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[39, 2], Operations: ['32+8=40', '40-38=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[32, 8, 38, 39], Operations: [] Exploring Operation: 32+8=40, Resulting Numbers: [38, 39, 40] Generated Node #0,0: 37:[38, 39, 40] Operation: 32+8=40 Moving to Node #0,0 Current State: 37:[38, 39, 40], Operations: ['32+8=40'] Exploring Operation: 40-38=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 37:[39, 2] Operation: 40-38=2 Moving to Node #0,0,0 Current State: 37:[39, 2], Operations: ['32+8=40', '40-38=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 60, 51, 84, 16 ]
12
[ "60-51=9", "16-9=7", "84/7=12" ]
Current State: 12:[60, 51, 84, 16], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [84, 16, 9] Generated Node #2: [84, 16, 9] from Operation: 60-51=9 Current State: 12:[84, 16, 9], Operations: ['60-51=9'] Exploring Operation: 16-9=7, Resulting Numbers: [84, 7] Generated Node #3: [84, 7] from Operation: 16-9=7 Current State: 12:[84, 7], Operations: ['60-51=9', '16-9=7'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[60, 51, 84, 16], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [51, 16, 24] Generated Node #0,0: 12:[51, 16, 24] Operation: 84-60=24 Exploring Operation: 84-51=33, Resulting Numbers: [60, 16, 33] Generated Node #0,1: 12:[60, 16, 33] Operation: 84-51=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[51, 16, 24], Operations: ['84-60=24'] Exploring Operation: 51-16=35, Resulting Numbers: [24, 35] Generated Node #0,0,0: 12:[24, 35] Operation: 51-16=35 Exploring Operation: 51-24=27, Resulting Numbers: [16, 27] Generated Node #0,0,1: 12:[16, 27] Operation: 51-24=27 Moving to Node #0,0,1 Current State: 12:[16, 27], Operations: ['84-60=24', '51-24=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[24, 35], Operations: ['84-60=24', '51-16=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[60, 16, 33], Operations: ['84-51=33'] Exploring Operation: 60-16=44, Resulting Numbers: [33, 44] Generated Node #0,1,0: 12:[33, 44] Operation: 60-16=44 Exploring Operation: 60-33=27, Resulting Numbers: [16, 27] Generated Node #0,1,1: 12:[16, 27] Operation: 60-33=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[16, 27], Operations: ['84-51=33', '60-33=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,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:[33, 44], Operations: ['84-51=33', '60-16=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,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 No solution found.
0
hs_2
sum_heuristic
[ 38, 40, 3, 42 ]
79
[ "42-40=2", "38*2=76", "3+76=79" ]
Current State: 79:[38, 40, 3, 42], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [38, 3, 2] Generated Node #2: [38, 3, 2] from Operation: 42-40=2 Current State: 79:[38, 3, 2], Operations: ['42-40=2'] Exploring Operation: 38*2=76, Resulting Numbers: [3, 76] Generated Node #3: [3, 76] from Operation: 38*2=76 Current State: 79:[3, 76], Operations: ['42-40=2', '38*2=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[38, 40, 3, 42], Operations: [] Exploring Operation: 38*3=114, Resulting Numbers: [40, 42, 114] Generated Node #0,0: 79:[40, 42, 114] Operation: 38*3=114 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[40, 42, 114], Operations: ['38*3=114'] Exploring Operation: 40+42=82, Resulting Numbers: [114, 82] Generated Node #0,0,0: 79:[114, 82] Operation: 40+42=82 Moving to Node #0,0,0 Current State: 79:[114, 82], Operations: ['38*3=114', '40+42=82'] Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,79 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
[ 53, 53, 3, 78 ]
78
[ "53-53=0", "3*0=0", "78+0=78" ]
Current State: 78:[53, 53, 3, 78], Operations: [] Exploring Operation: 53-53=0, Resulting Numbers: [3, 78, 0] Generated Node #2: [3, 78, 0] from Operation: 53-53=0 Current State: 78:[3, 78, 0], Operations: ['53-53=0'] Exploring Operation: 3*0=0, Resulting Numbers: [78, 0] Generated Node #3: [78, 0] from Operation: 3*0=0 Current State: 78:[78, 0], Operations: ['53-53=0', '3*0=0'] Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[53, 53, 3, 78], Operations: [] Exploring Operation: 53/53=1, Resulting Numbers: [3, 78, 1] Generated Node #0,0: 78:[3, 78, 1] Operation: 53/53=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[3, 78, 1], Operations: ['53/53=1'] Exploring Operation: 3*1=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 78:[78, 3] Operation: 3*1=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[78, 3], Operations: ['53/53=1', '3*1=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,78 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
[ 53, 66, 4, 74 ]
85
[ "74-66=8", "4*8=32", "53+32=85" ]
Current State: 85:[53, 66, 4, 74], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [53, 4, 8] Generated Node #2: [53, 4, 8] from Operation: 74-66=8 Current State: 85:[53, 4, 8], Operations: ['74-66=8'] Exploring Operation: 4*8=32, Resulting Numbers: [53, 32] Generated Node #3: [53, 32] from Operation: 4*8=32 Current State: 85:[53, 32], Operations: ['74-66=8', '4*8=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[53, 66, 4, 74], Operations: [] Exploring Operation: 74-53=21, Resulting Numbers: [66, 4, 21] Generated Node #0,0: 85:[66, 4, 21] Operation: 74-53=21 Exploring Operation: 53+4=57, Resulting Numbers: [66, 74, 57] Generated Node #0,1: 85:[66, 74, 57] Operation: 53+4=57 Exploring Operation: 53+66=119, Resulting Numbers: [4, 74, 119] Generated Node #0,2: 85:[4, 74, 119] Operation: 53+66=119 Exploring Operation: 66-53=13, Resulting Numbers: [4, 74, 13] Generated Node #0,3: 85:[4, 74, 13] Operation: 66-53=13 Exploring Operation: 74-66=8, Resulting Numbers: [53, 4, 8] Generated Node #0,4: 85:[53, 4, 8] Operation: 74-66=8 Moving to Node #0,3 Current State: 85:[4, 74, 13], Operations: ['66-53=13'] Exploring Operation: 74-4=70, Resulting Numbers: [13, 70] Generated Node #0,3,0: 85:[13, 70] Operation: 74-4=70 Exploring Operation: 4+74=78, Resulting Numbers: [13, 78] Generated Node #0,3,1: 85:[13, 78] Operation: 4+74=78 Exploring Operation: 4+13=17, Resulting Numbers: [74, 17] Generated Node #0,3,2: 85:[74, 17] Operation: 4+13=17 Exploring Operation: 74+13=87, Resulting Numbers: [4, 87] Generated Node #0,3,3: 85:[4, 87] Operation: 74+13=87 Exploring Operation: 13-4=9, Resulting Numbers: [74, 9] Generated Node #0,3,4: 85:[74, 9] Operation: 13-4=9 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[4, 87], Operations: ['66-53=13', '74+13=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[13, 78], Operations: ['66-53=13', '4+74=78'] Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,85 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 13+78=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[74, 17], Operations: ['66-53=13', '4+13=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 85:[74, 9], Operations: ['66-53=13', '13-4=9'] Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,85 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[13, 70], Operations: ['66-53=13', '74-4=70'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 85:[66, 4, 21], Operations: ['74-53=21'] Exploring Operation: 21-4=17, Resulting Numbers: [66, 17] Generated Node #0,0,0: 85:[66, 17] Operation: 21-4=17 Exploring Operation: 66-4=62, Resulting Numbers: [21, 62] Generated Node #0,0,1: 85:[21, 62] Operation: 66-4=62 Exploring Operation: 4*21=84, Resulting Numbers: [66, 84] Generated Node #0,0,2: 85:[66, 84] Operation: 4*21=84 Exploring Operation: 66+4=70, Resulting Numbers: [21, 70] Generated Node #0,0,3: 85:[21, 70] Operation: 66+4=70 Exploring Operation: 66+21=87, Resulting Numbers: [4, 87] Generated Node #0,0,4: 85:[4, 87] Operation: 66+21=87 Moving to Node #0,4 Current State: 85:[53, 4, 8], Operations: ['74-66=8'] Exploring Operation: 53+4=57, Resulting Numbers: [8, 57] Generated Node #0,4,0: 85:[8, 57] Operation: 53+4=57 Exploring Operation: 53+8=61, Resulting Numbers: [4, 61] Generated Node #0,4,1: 85:[4, 61] Operation: 53+8=61 Exploring Operation: 8-4=4, Resulting Numbers: [53, 4] Generated Node #0,4,2: 85:[53, 4] Operation: 8-4=4 Exploring Operation: 53-8=45, Resulting Numbers: [4, 45] Generated Node #0,4,3: 85:[4, 45] Operation: 53-8=45 Exploring Operation: 53-4=49, Resulting Numbers: [8, 49] Generated Node #0,4,4: 85:[8, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 85:[4, 61], Operations: ['74-66=8', '53+8=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,85 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 85:[4, 45], Operations: ['74-66=8', '53-8=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,85 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 85:[8, 57], Operations: ['74-66=8', '53+4=57'] Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,85 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 85:[53, 4], Operations: ['74-66=8', '8-4=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 85:[8, 49], Operations: ['74-66=8', '53-4=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 85:[4, 74, 119], Operations: ['53+66=119'] Exploring Operation: 74-4=70, Resulting Numbers: [119, 70] Generated Node #0,2,0: 85:[119, 70] Operation: 74-4=70 Exploring Operation: 119-4=115, Resulting Numbers: [74, 115] Generated Node #0,2,1: 85:[74, 115] Operation: 119-4=115 Exploring Operation: 4+119=123, Resulting Numbers: [74, 123] Generated Node #0,2,2: 85:[74, 123] Operation: 4+119=123 Exploring Operation: 4+74=78, Resulting Numbers: [119, 78] Generated Node #0,2,3: 85:[119, 78] Operation: 4+74=78 Exploring Operation: 119-74=45, Resulting Numbers: [4, 45] Generated Node #0,2,4: 85:[4, 45] Operation: 119-74=45 Moving to Node #0,1 Current State: 85:[66, 74, 57], Operations: ['53+4=57'] Exploring Operation: 66-57=9, Resulting Numbers: [74, 9] Generated Node #0,1,0: 85:[74, 9] Operation: 66-57=9 Exploring Operation: 74-66=8, Resulting Numbers: [57, 8] Generated Node #0,1,1: 85:[57, 8] Operation: 74-66=8 Exploring Operation: 66+57=123, Resulting Numbers: [74, 123] Generated Node #0,1,2: 85:[74, 123] Operation: 66+57=123 Exploring Operation: 74-57=17, Resulting Numbers: [66, 17] Generated Node #0,1,3: 85:[66, 17] Operation: 74-57=17 Exploring Operation: 74+57=131, Resulting Numbers: [66, 131] Generated Node #0,1,4: 85:[66, 131] Operation: 74+57=131 Moving to Node #0,0,4 Current State: 85:[4, 87], Operations: ['74-53=21', '66+21=87'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[74, 9], Operations: ['53+4=57', '66-57=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[21, 70], Operations: ['74-53=21', '66+4=70'] Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[66, 17], Operations: ['53+4=57', '74-57=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,85 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[66, 17], Operations: ['74-53=21', '21-4=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[66, 84], Operations: ['74-53=21', '4*21=84'] Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,85 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[21, 62], Operations: ['74-53=21', '66-4=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,85 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,85 unequal: No Solution Moving to Node #0,2,4 Current State: 85:[4, 45], Operations: ['53+66=119', '119-74=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,85 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[57, 8], Operations: ['53+4=57', '74-66=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,85 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[74, 115], Operations: ['53+66=119', '119-4=115'] Exploring Operation: 115-74=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 74+115=189, Resulting Numbers: [189] 189,85 unequal: No Solution Exploring Operation: 74*115=8510, Resulting Numbers: [8510] 8510,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[119, 78], Operations: ['53+66=119', '4+74=78'] Exploring Operation: 119+78=197, Resulting Numbers: [197] 197,85 unequal: No Solution Exploring Operation: 119*78=9282, Resulting Numbers: [9282] 9282,85 unequal: No Solution Exploring Operation: 119-78=41, Resulting Numbers: [41] 41,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[74, 123], Operations: ['53+4=57', '66+57=123'] Exploring Operation: 74*123=9102, Resulting Numbers: [9102] 9102,85 unequal: No Solution Exploring Operation: 123-74=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 74+123=197, Resulting Numbers: [197] 197,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[74, 123], Operations: ['53+66=119', '4+119=123'] Exploring Operation: 74+123=197, Resulting Numbers: [197] 197,85 unequal: No Solution Exploring Operation: 74*123=9102, Resulting Numbers: [9102] 9102,85 unequal: No Solution Exploring Operation: 123-74=49, Resulting Numbers: [49] 49,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[119, 70], Operations: ['53+66=119', '74-4=70'] Exploring Operation: 119+70=189, Resulting Numbers: [189] 189,85 unequal: No Solution Exploring Operation: 119-70=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 119*70=8330, Resulting Numbers: [8330] 8330,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[66, 131], Operations: ['53+4=57', '74+57=131'] Exploring Operation: 66*131=8646, Resulting Numbers: [8646] 8646,85 unequal: No Solution Exploring Operation: 131-66=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 66+131=197, Resulting Numbers: [197] 197,85 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 19, 16, 44, 58 ]
74
[ "19-16=3", "44*3=132", "132-58=74" ]
Current State: 74:[19, 16, 44, 58], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [44, 58, 3] Generated Node #2: [44, 58, 3] from Operation: 19-16=3 Current State: 74:[44, 58, 3], Operations: ['19-16=3'] Exploring Operation: 44*3=132, Resulting Numbers: [58, 132] Generated Node #3: [58, 132] from Operation: 44*3=132 Current State: 74:[58, 132], Operations: ['19-16=3', '44*3=132'] Exploring Operation: 132-58=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[19, 16, 44, 58], Operations: [] Exploring Operation: 16+58=74, Resulting Numbers: [19, 44, 74] Generated Node #0,0: 74:[19, 44, 74] Operation: 16+58=74 Exploring Operation: 19+58=77, Resulting Numbers: [16, 44, 77] Generated Node #0,1: 74:[16, 44, 77] Operation: 19+58=77 Exploring Operation: 19-16=3, Resulting Numbers: [44, 58, 3] Generated Node #0,2: 74:[44, 58, 3] Operation: 19-16=3 Exploring Operation: 58-19=39, Resulting Numbers: [16, 44, 39] Generated Node #0,3: 74:[16, 44, 39] Operation: 58-19=39 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[16, 44, 39], Operations: ['58-19=39'] Exploring Operation: 44-39=5, Resulting Numbers: [16, 5] Generated Node #0,3,0: 74:[16, 5] Operation: 44-39=5 Exploring Operation: 16+44=60, Resulting Numbers: [39, 60] Generated Node #0,3,1: 74:[39, 60] Operation: 16+44=60 Exploring Operation: 44-16=28, Resulting Numbers: [39, 28] Generated Node #0,3,2: 74:[39, 28] Operation: 44-16=28 Exploring Operation: 39-16=23, Resulting Numbers: [44, 23] Generated Node #0,3,3: 74:[44, 23] Operation: 39-16=23 Moving to Node #0,3,2 Current State: 74:[39, 28], Operations: ['58-19=39', '44-16=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,74 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[39, 60], Operations: ['58-19=39', '16+44=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,74 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[16, 5], Operations: ['58-19=39', '44-39=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,74 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[44, 23], Operations: ['58-19=39', '39-16=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,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 Current State: 74:[19, 44, 74], Operations: ['16+58=74'] Exploring Operation: 19+44=63, Resulting Numbers: [74, 63] Generated Node #0,0,0: 74:[74, 63] Operation: 19+44=63 Exploring Operation: 74-19=55, Resulting Numbers: [44, 55] Generated Node #0,0,1: 74:[44, 55] Operation: 74-19=55 Exploring Operation: 74-44=30, Resulting Numbers: [19, 30] Generated Node #0,0,2: 74:[19, 30] Operation: 74-44=30 Exploring Operation: 44-19=25, Resulting Numbers: [74, 25] Generated Node #0,0,3: 74:[74, 25] Operation: 44-19=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[74, 63], Operations: ['16+58=74', '19+44=63'] Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,74 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[74, 25], Operations: ['16+58=74', '44-19=25'] Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,74 unequal: No Solution Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[19, 30], Operations: ['16+58=74', '74-44=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[44, 55], Operations: ['16+58=74', '74-19=55'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,74 unequal: No Solution Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[16, 44, 77], Operations: ['19+58=77'] Exploring Operation: 77-44=33, Resulting Numbers: [16, 33] Generated Node #0,1,0: 74:[16, 33] Operation: 77-44=33 Exploring Operation: 16+44=60, Resulting Numbers: [77, 60] Generated Node #0,1,1: 74:[77, 60] Operation: 16+44=60 Exploring Operation: 77-16=61, Resulting Numbers: [44, 61] Generated Node #0,1,2: 74:[44, 61] Operation: 77-16=61 Exploring Operation: 44-16=28, Resulting Numbers: [77, 28] Generated Node #0,1,3: 74:[77, 28] Operation: 44-16=28 Moving to Node #0,1,3 Current State: 74:[77, 28], Operations: ['19+58=77', '44-16=28'] Exploring Operation: 77+28=105, Resulting Numbers: [105] 105,74 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 77*28=2156, Resulting Numbers: [2156] 2156,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[77, 60], Operations: ['19+58=77', '16+44=60'] Exploring Operation: 77*60=4620, Resulting Numbers: [4620] 4620,74 unequal: No Solution Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 77+60=137, Resulting Numbers: [137] 137,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[16, 33], Operations: ['19+58=77', '77-44=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,74 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[44, 61], Operations: ['19+58=77', '77-16=61'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 44*61=2684, Resulting Numbers: [2684] 2684,74 unequal: No Solution Exploring Operation: 44+61=105, Resulting Numbers: [105] 105,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:[44, 58, 3], Operations: ['19-16=3'] Exploring Operation: 58+3=61, Resulting Numbers: [44, 61] Generated Node #0,2,0: 74:[44, 61] Operation: 58+3=61 Exploring Operation: 58-3=55, Resulting Numbers: [44, 55] Generated Node #0,2,1: 74:[44, 55] Operation: 58-3=55 Exploring Operation: 58-44=14, Resulting Numbers: [3, 14] Generated Node #0,2,2: 74:[3, 14] Operation: 58-44=14 Exploring Operation: 44-3=41, Resulting Numbers: [58, 41] Generated Node #0,2,3: 74:[58, 41] Operation: 44-3=41 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[3, 14], Operations: ['19-16=3', '58-44=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[44, 61], Operations: ['19-16=3', '58+3=61'] Exploring Operation: 44*61=2684, Resulting Numbers: [2684] 2684,74 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 44+61=105, Resulting Numbers: [105] 105,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[58, 41], Operations: ['19-16=3', '44-3=41'] Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 58*41=2378, Resulting Numbers: [2378] 2378,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[44, 55], Operations: ['19-16=3', '58-3=55'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,74 unequal: No Solution Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 82, 22, 5, 23 ]
96
[ "82*5=410", "22*23=506", "506-410=96" ]
Current State: 96:[82, 22, 5, 23], Operations: [] Exploring Operation: 82*5=410, Resulting Numbers: [22, 23, 410] Generated Node #2: [22, 23, 410] from Operation: 82*5=410 Current State: 96:[22, 23, 410], Operations: ['82*5=410'] Exploring Operation: 22*23=506, Resulting Numbers: [410, 506] Generated Node #3: [410, 506] from Operation: 22*23=506 Current State: 96:[410, 506], Operations: ['82*5=410', '22*23=506'] Exploring Operation: 506-410=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[82, 22, 5, 23], Operations: [] Exploring Operation: 82+22=104, Resulting Numbers: [5, 23, 104] Generated Node #0,0: 96:[5, 23, 104] Operation: 82+22=104 Exploring Operation: 82+5=87, Resulting Numbers: [22, 23, 87] Generated Node #0,1: 96:[22, 23, 87] Operation: 82+5=87 Moving to Node #0,0 Current State: 96:[5, 23, 104], Operations: ['82+22=104'] Exploring Operation: 104-5=99, Resulting Numbers: [23, 99] Generated Node #0,0,0: 96:[23, 99] Operation: 104-5=99 Exploring Operation: 23-5=18, Resulting Numbers: [104, 18] Generated Node #0,0,1: 96:[104, 18] Operation: 23-5=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[23, 99], Operations: ['82+22=104', '104-5=99'] Exploring Operation: 23+99=122, Resulting Numbers: [122] 122,96 unequal: No Solution Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[104, 18], Operations: ['82+22=104', '23-5=18'] Exploring Operation: 104+18=122, Resulting Numbers: [122] 122,96 unequal: No Solution Exploring Operation: 104-18=86, Resulting Numbers: [86] 86,96 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: 96:[22, 23, 87], Operations: ['82+5=87'] Exploring Operation: 23-22=1, Resulting Numbers: [87, 1] Generated Node #0,1,0: 96:[87, 1] Operation: 23-22=1 Exploring Operation: 22+23=45, Resulting Numbers: [87, 45] Generated Node #0,1,1: 96:[87, 45] Operation: 22+23=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[87, 1], Operations: ['82+5=87', '23-22=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[87, 45], Operations: ['82+5=87', '22+23=45'] Exploring Operation: 87+45=132, Resulting Numbers: [132] 132,96 unequal: No Solution Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,96 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
[ 14, 30, 9, 41 ]
12
[ "14+30=44", "41-9=32", "44-32=12" ]
Current State: 12:[14, 30, 9, 41], Operations: [] Exploring Operation: 14+30=44, Resulting Numbers: [9, 41, 44] Generated Node #2: [9, 41, 44] from Operation: 14+30=44 Current State: 12:[9, 41, 44], Operations: ['14+30=44'] Exploring Operation: 41-9=32, Resulting Numbers: [44, 32] Generated Node #3: [44, 32] from Operation: 41-9=32 Current State: 12:[44, 32], Operations: ['14+30=44', '41-9=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[14, 30, 9, 41], Operations: [] Exploring Operation: 41-9=32, Resulting Numbers: [14, 30, 32] Generated Node #0,0: 12:[14, 30, 32] Operation: 41-9=32 Exploring Operation: 30-14=16, Resulting Numbers: [9, 41, 16] Generated Node #0,1: 12:[9, 41, 16] Operation: 30-14=16 Exploring Operation: 41-30=11, Resulting Numbers: [14, 9, 11] Generated Node #0,2: 12:[14, 9, 11] Operation: 41-30=11 Exploring Operation: 41-14=27, Resulting Numbers: [30, 9, 27] Generated Node #0,3: 12:[30, 9, 27] Operation: 41-14=27 Exploring Operation: 30-9=21, Resulting Numbers: [14, 41, 21] Generated Node #0,4: 12:[14, 41, 21] Operation: 30-9=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[14, 9, 11], Operations: ['41-30=11'] Exploring Operation: 9+11=20, Resulting Numbers: [14, 20] Generated Node #0,2,0: 12:[14, 20] Operation: 9+11=20 Exploring Operation: 14-9=5, Resulting Numbers: [11, 5] Generated Node #0,2,1: 12:[11, 5] Operation: 14-9=5 Exploring Operation: 14-11=3, Resulting Numbers: [9, 3] Generated Node #0,2,2: 12:[9, 3] Operation: 14-11=3 Exploring Operation: 14+9=23, Resulting Numbers: [11, 23] Generated Node #0,2,3: 12:[11, 23] Operation: 14+9=23 Exploring Operation: 11-9=2, Resulting Numbers: [14, 2] Generated Node #0,2,4: 12:[14, 2] Operation: 11-9=2 Moving to Node #0,2,1 Current State: 12:[11, 5], Operations: ['41-30=11', '14-9=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,2,4 Current State: 12:[14, 2], Operations: ['41-30=11', '11-9=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[14, 30, 9, 41], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [14, 9, 11] Generated Node #0,2: 12:[14, 9, 11] Operation: 41-30=11 Moving to Node #0,2 Current State: 12:[14, 9, 11], Operations: ['41-30=11'] Exploring Operation: 11-9=2, Resulting Numbers: [14, 2] Generated Node #0,2,4: 12:[14, 2] Operation: 11-9=2 Moving to Node #0,2,4 Current State: 12:[14, 2], Operations: ['41-30=11', '11-9=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 2, 71, 80, 73 ]
76
[ "71-2=69", "80-73=7", "69+7=76" ]
Current State: 76:[2, 71, 80, 73], Operations: [] Exploring Operation: 71-2=69, Resulting Numbers: [80, 73, 69] Generated Node #2: [80, 73, 69] from Operation: 71-2=69 Current State: 76:[80, 73, 69], Operations: ['71-2=69'] Exploring Operation: 80-73=7, Resulting Numbers: [69, 7] Generated Node #3: [69, 7] from Operation: 80-73=7 Current State: 76:[69, 7], Operations: ['71-2=69', '80-73=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 71, 80, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [2, 80, 2] Generated Node #0,0: 76:[2, 80, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 80, 2], Operations: ['73-71=2'] Exploring Operation: 80-2=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 76:[2, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[2, 78], Operations: ['73-71=2', '80-2=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[2, 71, 80, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [2, 80, 2] Generated Node #0,0: 76:[2, 80, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 76:[2, 80, 2], Operations: ['73-71=2'] Exploring Operation: 80-2=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 76:[2, 78] Operation: 80-2=78 Moving to Node #0,0,0 Current State: 76:[2, 78], Operations: ['73-71=2', '80-2=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 94, 62, 39, 66 ]
59
[ "94-62=32", "66-39=27", "32+27=59" ]
Current State: 59:[94, 62, 39, 66], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [39, 66, 32] Generated Node #2: [39, 66, 32] from Operation: 94-62=32 Current State: 59:[39, 66, 32], Operations: ['94-62=32'] Exploring Operation: 66-39=27, Resulting Numbers: [32, 27] Generated Node #3: [32, 27] from Operation: 66-39=27 Current State: 59:[32, 27], Operations: ['94-62=32', '66-39=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[94, 62, 39, 66], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [94, 66, 23] Generated Node #0,0: 59:[94, 66, 23] Operation: 62-39=23 Exploring Operation: 66-39=27, Resulting Numbers: [94, 62, 27] Generated Node #0,1: 59:[94, 62, 27] Operation: 66-39=27 Exploring Operation: 94-39=55, Resulting Numbers: [62, 66, 55] Generated Node #0,2: 59:[62, 66, 55] Operation: 94-39=55 Exploring Operation: 94-62=32, Resulting Numbers: [39, 66, 32] Generated Node #0,3: 59:[39, 66, 32] Operation: 94-62=32 Exploring Operation: 94-66=28, Resulting Numbers: [62, 39, 28] Generated Node #0,4: 59:[62, 39, 28] Operation: 94-66=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[62, 66, 55], Operations: ['94-39=55'] Exploring Operation: 66-55=11, Resulting Numbers: [62, 11] Generated Node #0,2,0: 59:[62, 11] Operation: 66-55=11 Exploring Operation: 66-62=4, Resulting Numbers: [55, 4] Generated Node #0,2,1: 59:[55, 4] Operation: 66-62=4 Exploring Operation: 66+55=121, Resulting Numbers: [62, 121] Generated Node #0,2,2: 59:[62, 121] Operation: 66+55=121 Exploring Operation: 62-55=7, Resulting Numbers: [66, 7] Generated Node #0,2,3: 59:[66, 7] Operation: 62-55=7 Exploring Operation: 62+55=117, Resulting Numbers: [66, 117] Generated Node #0,2,4: 59:[66, 117] Operation: 62+55=117 Moving to Node #0,2,0 Current State: 59:[62, 11], Operations: ['94-39=55', '66-55=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[66, 7], Operations: ['94-39=55', '62-55=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,59 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[94, 62, 39, 66], Operations: [] Exploring Operation: 94-39=55, Resulting Numbers: [62, 66, 55] Generated Node #0,2: 59:[62, 66, 55] Operation: 94-39=55 Moving to Node #0,2 Current State: 59:[62, 66, 55], Operations: ['94-39=55'] Exploring Operation: 62-55=7, Resulting Numbers: [66, 7] Generated Node #0,2,3: 59:[66, 7] Operation: 62-55=7 Moving to Node #0,2,3 Current State: 59:[66, 7], Operations: ['94-39=55', '62-55=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 50, 5, 21, 33 ]
43
[ "50+5=55", "33-21=12", "55-12=43" ]
Current State: 43:[50, 5, 21, 33], Operations: [] Exploring Operation: 50+5=55, Resulting Numbers: [21, 33, 55] Generated Node #2: [21, 33, 55] from Operation: 50+5=55 Current State: 43:[21, 33, 55], Operations: ['50+5=55'] Exploring Operation: 33-21=12, Resulting Numbers: [55, 12] Generated Node #3: [55, 12] from Operation: 33-21=12 Current State: 43:[55, 12], Operations: ['50+5=55', '33-21=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[50, 5, 21, 33], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [21, 33, 45] Generated Node #0,0: 43:[21, 33, 45] Operation: 50-5=45 Moving to Node #0,0 Current State: 43:[21, 33, 45], Operations: ['50-5=45'] Exploring Operation: 21+33=54, Resulting Numbers: [45, 54] Generated Node #0,0,0: 43:[45, 54] Operation: 21+33=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[45, 54], Operations: ['50-5=45', '21+33=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,43 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, 5, 6, 66 ]
49
[ "2*6=12", "66-5=61", "61-12=49" ]
Current State: 49:[2, 5, 6, 66], Operations: [] Exploring Operation: 2*6=12, Resulting Numbers: [5, 66, 12] Generated Node #2: [5, 66, 12] from Operation: 2*6=12 Current State: 49:[5, 66, 12], Operations: ['2*6=12'] Exploring Operation: 66-5=61, Resulting Numbers: [12, 61] Generated Node #3: [12, 61] from Operation: 66-5=61 Current State: 49:[12, 61], Operations: ['2*6=12', '66-5=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[2, 5, 6, 66], Operations: [] Exploring Operation: 66-6=60, Resulting Numbers: [2, 5, 60] Generated Node #0,0: 49:[2, 5, 60] Operation: 66-6=60 Exploring Operation: 66-5=61, Resulting Numbers: [2, 6, 61] Generated Node #0,1: 49:[2, 6, 61] Operation: 66-5=61 Exploring Operation: 66/6=11, Resulting Numbers: [2, 5, 11] Generated Node #0,2: 49:[2, 5, 11] Operation: 66/6=11 Exploring Operation: 66-2=64, Resulting Numbers: [5, 6, 64] Generated Node #0,3: 49:[5, 6, 64] Operation: 66-2=64 Exploring Operation: 2+5=7, Resulting Numbers: [6, 66, 7] Generated Node #0,4: 49:[6, 66, 7] Operation: 2+5=7 Moving to Node #0,2 Current State: 49:[2, 5, 11], Operations: ['66/6=11'] Exploring Operation: 11-5=6, Resulting Numbers: [2, 6] Generated Node #0,2,0: 49:[2, 6] Operation: 11-5=6 Exploring Operation: 5-2=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 49:[11, 3] Operation: 5-2=3 Exploring Operation: 2*5=10, Resulting Numbers: [11, 10] Generated Node #0,2,2: 49:[11, 10] Operation: 2*5=10 Exploring Operation: 11-2=9, Resulting Numbers: [5, 9] Generated Node #0,2,3: 49:[5, 9] Operation: 11-2=9 Exploring Operation: 2+5=7, Resulting Numbers: [11, 7] Generated Node #0,2,4: 49:[11, 7] Operation: 2+5=7 Moving to Node #0,1 Current State: 49:[2, 6, 61], Operations: ['66-5=61'] Exploring Operation: 61-6=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 49:[2, 55] Operation: 61-6=55 Exploring Operation: 6-2=4, Resulting Numbers: [61, 4] Generated Node #0,1,1: 49:[61, 4] Operation: 6-2=4 Exploring Operation: 2+6=8, Resulting Numbers: [61, 8] Generated Node #0,1,2: 49:[61, 8] Operation: 2+6=8 Exploring Operation: 2+61=63, Resulting Numbers: [6, 63] Generated Node #0,1,3: 49:[6, 63] Operation: 2+61=63 Exploring Operation: 61-2=59, Resulting Numbers: [6, 59] Generated Node #0,1,4: 49:[6, 59] Operation: 61-2=59 Moving to Node #0,4 Current State: 49:[6, 66, 7], Operations: ['2+5=7'] Exploring Operation: 6+7=13, Resulting Numbers: [66, 13] Generated Node #0,4,0: 49:[66, 13] Operation: 6+7=13 Exploring Operation: 66-7=59, Resulting Numbers: [6, 59] Generated Node #0,4,1: 49:[6, 59] Operation: 66-7=59 Exploring Operation: 66-6=60, Resulting Numbers: [7, 60] Generated Node #0,4,2: 49:[7, 60] Operation: 66-6=60 Exploring Operation: 6+66=72, Resulting Numbers: [7, 72] Generated Node #0,4,3: 49:[7, 72] Operation: 6+66=72 Exploring Operation: 66/6=11, Resulting Numbers: [7, 11] Generated Node #0,4,4: 49:[7, 11] Operation: 66/6=11 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 49:[7, 11], Operations: ['2+5=7', '66/6=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,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,4,1 Current State: 49:[6, 59], Operations: ['2+5=7', '66-7=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,49 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,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,4,2 Current State: 49:[7, 60], Operations: ['2+5=7', '66-6=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,49 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,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,4,0 Current State: 49:[66, 13], Operations: ['2+5=7', '6+7=13'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,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,4,3 Current State: 49:[7, 72], Operations: ['2+5=7', '6+66=72'] Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,49 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,49 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: 49:[2, 5, 60], Operations: ['66-6=60'] Exploring Operation: 2+5=7, Resulting Numbers: [60, 7] Generated Node #0,0,0: 49:[60, 7] Operation: 2+5=7 Exploring Operation: 60/5=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 49:[2, 12] Operation: 60/5=12 Exploring Operation: 2*5=10, Resulting Numbers: [60, 10] Generated Node #0,0,2: 49:[60, 10] Operation: 2*5=10 Exploring Operation: 60-5=55, Resulting Numbers: [2, 55] Generated Node #0,0,3: 49:[2, 55] Operation: 60-5=55 Exploring Operation: 60-2=58, Resulting Numbers: [5, 58] Generated Node #0,0,4: 49:[5, 58] Operation: 60-2=58 Moving to Node #0,3 Current State: 49:[5, 6, 64], Operations: ['66-2=64'] Exploring Operation: 6-5=1, Resulting Numbers: [64, 1] Generated Node #0,3,0: 49:[64, 1] Operation: 6-5=1 Exploring Operation: 64-5=59, Resulting Numbers: [6, 59] Generated Node #0,3,1: 49:[6, 59] Operation: 64-5=59 Exploring Operation: 5+64=69, Resulting Numbers: [6, 69] Generated Node #0,3,2: 49:[6, 69] Operation: 5+64=69 Exploring Operation: 5+6=11, Resulting Numbers: [64, 11] Generated Node #0,3,3: 49:[64, 11] Operation: 5+6=11 Exploring Operation: 64-6=58, Resulting Numbers: [5, 58] Generated Node #0,3,4: 49:[5, 58] Operation: 64-6=58 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[6, 59], Operations: ['66-2=64', '64-5=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,49 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,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,3,4 Current State: 49:[5, 58], Operations: ['66-2=64', '64-6=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,49 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,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,3,3 Current State: 49:[64, 11], Operations: ['66-2=64', '5+6=11'] Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,49 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,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,3,0 Current State: 49:[64, 1], Operations: ['66-2=64', '6-5=1'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,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,3,2 Current State: 49:[6, 69], Operations: ['66-2=64', '5+64=69'] Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,49 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 49:[5, 9], Operations: ['66/6=11', '11-2=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[11, 7], Operations: ['66/6=11', '2+5=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[2, 6], Operations: ['66/6=11', '11-5=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[11, 10], Operations: ['66/6=11', '2*5=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[11, 3], Operations: ['66/6=11', '5-2=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[2, 12], Operations: ['66-6=60', '60/5=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[6, 59], Operations: ['66-5=61', '61-2=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,49 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[5, 58], Operations: ['66-6=60', '60-2=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,49 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[2, 55], Operations: ['66-5=61', '61-6=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[2, 55], Operations: ['66-6=60', '60-5=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[60, 7], Operations: ['66-6=60', '2+5=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,49 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[61, 8], Operations: ['66-5=61', '2+6=8'] Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,49 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[60, 10], Operations: ['66-6=60', '2*5=10'] Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 60*10=600, Resulting Numbers: [600] 600,49 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[61, 4], Operations: ['66-5=61', '6-2=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,49 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[6, 63], Operations: ['66-5=61', '2+61=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 59, 25, 5, 55 ]
95
[ "59+25=84", "55/5=11", "84+11=95" ]
Current State: 95:[59, 25, 5, 55], Operations: [] Exploring Operation: 59+25=84, Resulting Numbers: [5, 55, 84] Generated Node #2: [5, 55, 84] from Operation: 59+25=84 Current State: 95:[5, 55, 84], Operations: ['59+25=84'] Exploring Operation: 55/5=11, Resulting Numbers: [84, 11] Generated Node #3: [84, 11] from Operation: 55/5=11 Current State: 95:[84, 11], Operations: ['59+25=84', '55/5=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[59, 25, 5, 55], Operations: [] Exploring Operation: 59+55=114, Resulting Numbers: [25, 5, 114] Generated Node #0,0: 95:[25, 5, 114] Operation: 59+55=114 Exploring Operation: 55-25=30, Resulting Numbers: [59, 5, 30] Generated Node #0,1: 95:[59, 5, 30] Operation: 55-25=30 Exploring Operation: 55/5=11, Resulting Numbers: [59, 25, 11] Generated Node #0,2: 95:[59, 25, 11] Operation: 55/5=11 Exploring Operation: 59+25=84, Resulting Numbers: [5, 55, 84] Generated Node #0,3: 95:[5, 55, 84] Operation: 59+25=84 Exploring Operation: 59-55=4, Resulting Numbers: [25, 5, 4] Generated Node #0,4: 95:[25, 5, 4] Operation: 59-55=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 95:[25, 5, 4], Operations: ['59-55=4'] Exploring Operation: 5*4=20, Resulting Numbers: [25, 20] Generated Node #0,4,0: 95:[25, 20] Operation: 5*4=20 Exploring Operation: 25*4=100, Resulting Numbers: [5, 100] Generated Node #0,4,1: 95:[5, 100] Operation: 25*4=100 Exploring Operation: 25-5=20, Resulting Numbers: [4, 20] Generated Node #0,4,2: 95:[4, 20] Operation: 25-5=20 Exploring Operation: 25-4=21, Resulting Numbers: [5, 21] Generated Node #0,4,3: 95:[5, 21] Operation: 25-4=21 Exploring Operation: 25/5=5, Resulting Numbers: [4, 5] Generated Node #0,4,4: 95:[4, 5] Operation: 25/5=5 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 95:[4, 5], Operations: ['59-55=4', '25/5=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 95:[4, 20], Operations: ['59-55=4', '25-5=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,95 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 95:[5, 21], Operations: ['59-55=4', '25-4=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 95:[5, 100], Operations: ['59-55=4', '25*4=100'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[59, 25, 5, 55], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [25, 5, 4] Generated Node #0,4: 95:[25, 5, 4] Operation: 59-55=4 Moving to Node #0,4 Current State: 95:[25, 5, 4], Operations: ['59-55=4'] Exploring Operation: 25*4=100, Resulting Numbers: [5, 100] Generated Node #0,4,1: 95:[5, 100] Operation: 25*4=100 Moving to Node #0,4,1 Current State: 95:[5, 100], Operations: ['59-55=4', '25*4=100'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 1, 48, 25, 9 ]
82
[ "1*48=48", "25+9=34", "48+34=82" ]
Current State: 82:[1, 48, 25, 9], Operations: [] Exploring Operation: 1*48=48, Resulting Numbers: [25, 9, 48] Generated Node #2: [25, 9, 48] from Operation: 1*48=48 Current State: 82:[25, 9, 48], Operations: ['1*48=48'] Exploring Operation: 25+9=34, Resulting Numbers: [48, 34] Generated Node #3: [48, 34] from Operation: 25+9=34 Current State: 82:[48, 34], Operations: ['1*48=48', '25+9=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[1, 48, 25, 9], Operations: [] Exploring Operation: 48+25=73, Resulting Numbers: [1, 9, 73] Generated Node #0,0: 82:[1, 9, 73] Operation: 48+25=73 Exploring Operation: 25-9=16, Resulting Numbers: [1, 48, 16] Generated Node #0,1: 82:[1, 48, 16] Operation: 25-9=16 Exploring Operation: 48-9=39, Resulting Numbers: [1, 25, 39] Generated Node #0,2: 82:[1, 25, 39] Operation: 48-9=39 Exploring Operation: 25+9=34, Resulting Numbers: [1, 48, 34] Generated Node #0,3: 82:[1, 48, 34] Operation: 25+9=34 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[1, 48, 34], Operations: ['25+9=34'] Exploring Operation: 1+34=35, Resulting Numbers: [48, 35] Generated Node #0,3,0: 82:[48, 35] Operation: 1+34=35 Exploring Operation: 48+34=82, Resulting Numbers: [1, 82] Generated Node #0,3,1: 82:[1, 82] Operation: 48+34=82 Exploring Operation: 48-34=14, Resulting Numbers: [1, 14] Generated Node #0,3,2: 82:[1, 14] Operation: 48-34=14 Exploring Operation: 48-1=47, Resulting Numbers: [34, 47] Generated Node #0,3,3: 82:[34, 47] Operation: 48-1=47 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[1, 82], Operations: ['25+9=34', '48+34=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[1, 48, 25, 9], Operations: [] Exploring Operation: 25+9=34, Resulting Numbers: [1, 48, 34] Generated Node #0,3: 82:[1, 48, 34] Operation: 25+9=34 Moving to Node #0,3 Current State: 82:[1, 48, 34], Operations: ['25+9=34'] Exploring Operation: 48+34=82, Resulting Numbers: [1, 82] Generated Node #0,3,1: 82:[1, 82] Operation: 48+34=82 Moving to Node #0,3,1 Current State: 82:[1, 82], Operations: ['25+9=34', '48+34=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 17, 56, 4, 25 ]
22
[ "25-17=8", "56/4=14", "8+14=22" ]
Current State: 22:[17, 56, 4, 25], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [56, 4, 8] Generated Node #2: [56, 4, 8] from Operation: 25-17=8 Current State: 22:[56, 4, 8], Operations: ['25-17=8'] Exploring Operation: 56/4=14, Resulting Numbers: [8, 14] Generated Node #3: [8, 14] from Operation: 56/4=14 Current State: 22:[8, 14], Operations: ['25-17=8', '56/4=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[17, 56, 4, 25], Operations: [] Exploring Operation: 56-17=39, Resulting Numbers: [4, 25, 39] Generated Node #0,0: 22:[4, 25, 39] Operation: 56-17=39 Exploring Operation: 56-25=31, Resulting Numbers: [17, 4, 31] Generated Node #0,1: 22:[17, 4, 31] Operation: 56-25=31 Exploring Operation: 17+4=21, Resulting Numbers: [56, 25, 21] Generated Node #0,2: 22:[56, 25, 21] Operation: 17+4=21 Exploring Operation: 56/4=14, Resulting Numbers: [17, 25, 14] Generated Node #0,3: 22:[17, 25, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[17, 25, 14], Operations: ['56/4=14'] Exploring Operation: 25-14=11, Resulting Numbers: [17, 11] Generated Node #0,3,0: 22:[17, 11] Operation: 25-14=11 Exploring Operation: 17-14=3, Resulting Numbers: [25, 3] Generated Node #0,3,1: 22:[25, 3] Operation: 17-14=3 Exploring Operation: 25-17=8, Resulting Numbers: [14, 8] Generated Node #0,3,2: 22:[14, 8] Operation: 25-17=8 Exploring Operation: 17+14=31, Resulting Numbers: [25, 31] Generated Node #0,3,3: 22:[25, 31] Operation: 17+14=31 Moving to Node #0,3,1 Current State: 22:[25, 3], Operations: ['56/4=14', '17-14=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[17, 56, 4, 25], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [17, 25, 14] Generated Node #0,3: 22:[17, 25, 14] Operation: 56/4=14 Moving to Node #0,3 Current State: 22:[17, 25, 14], Operations: ['56/4=14'] Exploring Operation: 17-14=3, Resulting Numbers: [25, 3] Generated Node #0,3,1: 22:[25, 3] Operation: 17-14=3 Moving to Node #0,3,1 Current State: 22:[25, 3], Operations: ['56/4=14', '17-14=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 35, 53, 85, 22 ]
15
[ "35*53=1855", "85*22=1870", "1870-1855=15" ]
Current State: 15:[35, 53, 85, 22], Operations: [] Exploring Operation: 35*53=1855, Resulting Numbers: [85, 22, 1855] Generated Node #2: [85, 22, 1855] from Operation: 35*53=1855 Current State: 15:[85, 22, 1855], Operations: ['35*53=1855'] Exploring Operation: 85*22=1870, Resulting Numbers: [1855, 1870] Generated Node #3: [1855, 1870] from Operation: 85*22=1870 Current State: 15:[1855, 1870], Operations: ['35*53=1855', '85*22=1870'] Exploring Operation: 1870-1855=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[35, 53, 85, 22], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [35, 22, 32] Generated Node #0,0: 15:[35, 22, 32] Operation: 85-53=32 Exploring Operation: 53-35=18, Resulting Numbers: [85, 22, 18] Generated Node #0,1: 15:[85, 22, 18] Operation: 53-35=18 Exploring Operation: 85-35=50, Resulting Numbers: [53, 22, 50] Generated Node #0,2: 15:[53, 22, 50] Operation: 85-35=50 Moving to Node #0,0 Current State: 15:[35, 22, 32], Operations: ['85-53=32'] Exploring Operation: 35-22=13, Resulting Numbers: [32, 13] Generated Node #0,0,0: 15:[32, 13] Operation: 35-22=13 Exploring Operation: 32-22=10, Resulting Numbers: [35, 10] Generated Node #0,0,1: 15:[35, 10] Operation: 32-22=10 Exploring Operation: 35-32=3, Resulting Numbers: [22, 3] Generated Node #0,0,2: 15:[22, 3] Operation: 35-32=3 Moving to Node #0,1 Current State: 15:[85, 22, 18], Operations: ['53-35=18'] Exploring Operation: 85-22=63, Resulting Numbers: [18, 63] Generated Node #0,1,0: 15:[18, 63] Operation: 85-22=63 Exploring Operation: 85-18=67, Resulting Numbers: [22, 67] Generated Node #0,1,1: 15:[22, 67] Operation: 85-18=67 Exploring Operation: 22-18=4, Resulting Numbers: [85, 4] Generated Node #0,1,2: 15:[85, 4] Operation: 22-18=4 Moving to Node #0,2 Current State: 15:[53, 22, 50], Operations: ['85-35=50'] Exploring Operation: 53-22=31, Resulting Numbers: [50, 31] Generated Node #0,2,0: 15:[50, 31] Operation: 53-22=31 Exploring Operation: 50-22=28, Resulting Numbers: [53, 28] Generated Node #0,2,1: 15:[53, 28] Operation: 50-22=28 Exploring Operation: 53-50=3, Resulting Numbers: [22, 3] Generated Node #0,2,2: 15:[22, 3] Operation: 53-50=3 Moving to Node #0,0,2 Current State: 15:[22, 3], Operations: ['85-53=32', '35-32=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[22, 3], Operations: ['85-35=50', '53-50=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[32, 13], Operations: ['85-53=32', '35-22=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,15 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[35, 10], Operations: ['85-53=32', '32-22=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,15 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[53, 28], Operations: ['85-35=50', '50-22=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,15 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[18, 63], Operations: ['53-35=18', '85-22=63'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[50, 31], Operations: ['85-35=50', '53-22=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[22, 67], Operations: ['53-35=18', '85-18=67'] Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,15 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[85, 4], Operations: ['53-35=18', '22-18=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,15 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,15 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 94, 18, 76 ]
34
[ "94-18=76", "76/76=1", "35-1=34" ]
Current State: 34:[35, 94, 18, 76], Operations: [] Exploring Operation: 94-18=76, Resulting Numbers: [35, 76, 76] Generated Node #2: [35, 76, 76] from Operation: 94-18=76 Current State: 34:[35, 76, 76], Operations: ['94-18=76'] Exploring Operation: 76/76=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 76/76=1 Current State: 34:[35, 1], Operations: ['94-18=76', '76/76=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[35, 94, 18, 76], Operations: [] Exploring Operation: 94-18=76, Resulting Numbers: [35, 76, 76] Generated Node #0,0: 34:[35, 76, 76] Operation: 94-18=76 Exploring Operation: 76-35=41, Resulting Numbers: [94, 18, 41] Generated Node #0,1: 34:[94, 18, 41] Operation: 76-35=41 Exploring Operation: 94-35=59, Resulting Numbers: [18, 76, 59] Generated Node #0,2: 34:[18, 76, 59] Operation: 94-35=59 Exploring Operation: 94-76=18, Resulting Numbers: [35, 18, 18] Generated Node #0,3: 34:[35, 18, 18] Operation: 94-76=18 Moving to Node #0,3 Current State: 34:[35, 18, 18], Operations: ['94-76=18'] Exploring Operation: 18+18=36, Resulting Numbers: [35, 36] Generated Node #0,3,0: 34:[35, 36] Operation: 18+18=36 Exploring Operation: 35-18=17, Resulting Numbers: [18, 17] Generated Node #0,3,1: 34:[18, 17] Operation: 35-18=17 Exploring Operation: 35-18=17, Resulting Numbers: [18, 17] Generated Node #0,3,2: 34:[18, 17] Operation: 35-18=17 Exploring Operation: 18/18=1, Resulting Numbers: [35, 1] Generated Node #0,3,3: 34:[35, 1] Operation: 18/18=1 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[18, 17], Operations: ['94-76=18', '35-18=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,34 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[18, 17], Operations: ['94-76=18', '35-18=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[35, 1], Operations: ['94-76=18', '18/18=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[35, 94, 18, 76], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [35, 18, 18] Generated Node #0,3: 34:[35, 18, 18] Operation: 94-76=18 Moving to Node #0,3 Current State: 34:[35, 18, 18], Operations: ['94-76=18'] Exploring Operation: 18/18=1, Resulting Numbers: [35, 1] Generated Node #0,3,3: 34:[35, 1] Operation: 18/18=1 Moving to Node #0,3,3 Current State: 34:[35, 1], Operations: ['94-76=18', '18/18=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 4, 73, 5, 79 ]
52
[ "5+79=84", "84/4=21", "73-21=52" ]
Current State: 52:[4, 73, 5, 79], Operations: [] Exploring Operation: 5+79=84, Resulting Numbers: [4, 73, 84] Generated Node #2: [4, 73, 84] from Operation: 5+79=84 Current State: 52:[4, 73, 84], Operations: ['5+79=84'] Exploring Operation: 84/4=21, Resulting Numbers: [73, 21] Generated Node #3: [73, 21] from Operation: 84/4=21 Current State: 52:[73, 21], Operations: ['5+79=84', '84/4=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[4, 73, 5, 79], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [4, 5, 6] Generated Node #0,0: 52:[4, 5, 6] Operation: 79-73=6 Exploring Operation: 79-4=75, Resulting Numbers: [73, 5, 75] Generated Node #0,1: 52:[73, 5, 75] Operation: 79-4=75 Exploring Operation: 79-5=74, Resulting Numbers: [4, 73, 74] Generated Node #0,2: 52:[4, 73, 74] Operation: 79-5=74 Exploring Operation: 73-5=68, Resulting Numbers: [4, 79, 68] Generated Node #0,3: 52:[4, 79, 68] Operation: 73-5=68 Exploring Operation: 73-4=69, Resulting Numbers: [5, 79, 69] Generated Node #0,4: 52:[5, 79, 69] Operation: 73-4=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[4, 5, 6], Operations: ['79-73=6'] Exploring Operation: 5-4=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 52:[6, 1] Operation: 5-4=1 Exploring Operation: 6-4=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 52:[5, 2] Operation: 6-4=2 Exploring Operation: 5+6=11, Resulting Numbers: [4, 11] Generated Node #0,0,2: 52:[4, 11] Operation: 5+6=11 Exploring Operation: 4*6=24, Resulting Numbers: [5, 24] Generated Node #0,0,3: 52:[5, 24] Operation: 4*6=24 Exploring Operation: 6-5=1, Resulting Numbers: [4, 1] Generated Node #0,0,4: 52:[4, 1] Operation: 6-5=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[5, 2], Operations: ['79-73=6', '6-4=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[4, 1], Operations: ['79-73=6', '6-5=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[4, 11], Operations: ['79-73=6', '5+6=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[6, 1], Operations: ['79-73=6', '5-4=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[5, 24], Operations: ['79-73=6', '4*6=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,52 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,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,2 Current State: 52:[4, 73, 74], Operations: ['79-5=74'] Exploring Operation: 73-4=69, Resulting Numbers: [74, 69] Generated Node #0,2,0: 52:[74, 69] Operation: 73-4=69 Exploring Operation: 74-4=70, Resulting Numbers: [73, 70] Generated Node #0,2,1: 52:[73, 70] Operation: 74-4=70 Exploring Operation: 4+73=77, Resulting Numbers: [74, 77] Generated Node #0,2,2: 52:[74, 77] Operation: 4+73=77 Exploring Operation: 4+74=78, Resulting Numbers: [73, 78] Generated Node #0,2,3: 52:[73, 78] Operation: 4+74=78 Exploring Operation: 74-73=1, Resulting Numbers: [4, 1] Generated Node #0,2,4: 52:[4, 1] Operation: 74-73=1 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 52:[4, 1], Operations: ['79-5=74', '74-73=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,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,2,0 Current State: 52:[74, 69], Operations: ['79-5=74', '73-4=69'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 74+69=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 74*69=5106, Resulting Numbers: [5106] 5106,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,2,1 Current State: 52:[73, 70], Operations: ['79-5=74', '74-4=70'] Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,52 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,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,2,2 Current State: 52:[74, 77], Operations: ['79-5=74', '4+73=77'] Exploring Operation: 74*77=5698, Resulting Numbers: [5698] 5698,52 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 74+77=151, Resulting Numbers: [151] 151,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,2,3 Current State: 52:[73, 78], Operations: ['79-5=74', '4+74=78'] Exploring Operation: 78-73=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 73*78=5694, Resulting Numbers: [5694] 5694,52 unequal: No Solution Exploring Operation: 73+78=151, Resulting Numbers: [151] 151,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:[4, 79, 68], Operations: ['73-5=68'] Exploring Operation: 4+79=83, Resulting Numbers: [68, 83] Generated Node #0,3,0: 52:[68, 83] Operation: 4+79=83 Exploring Operation: 79-68=11, Resulting Numbers: [4, 11] Generated Node #0,3,1: 52:[4, 11] Operation: 79-68=11 Exploring Operation: 68/4=17, Resulting Numbers: [79, 17] Generated Node #0,3,2: 52:[79, 17] Operation: 68/4=17 Exploring Operation: 79-4=75, Resulting Numbers: [68, 75] Generated Node #0,3,3: 52:[68, 75] Operation: 79-4=75 Exploring Operation: 68-4=64, Resulting Numbers: [79, 64] Generated Node #0,3,4: 52:[79, 64] Operation: 68-4=64 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[4, 11], Operations: ['73-5=68', '79-68=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,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,3,2 Current State: 52:[79, 17], Operations: ['73-5=68', '68/4=17'] Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,52 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,52 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,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,3,3 Current State: 52:[68, 75], Operations: ['73-5=68', '79-4=75'] Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,52 unequal: No Solution Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,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,3,4 Current State: 52:[79, 64], Operations: ['73-5=68', '68-4=64'] Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,52 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,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,3,0 Current State: 52:[68, 83], Operations: ['73-5=68', '4+79=83'] Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 68*83=5644, Resulting Numbers: [5644] 5644,52 unequal: No Solution Exploring Operation: 68+83=151, Resulting Numbers: [151] 151,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[73, 5, 75], Operations: ['79-4=75'] Exploring Operation: 73+5=78, Resulting Numbers: [75, 78] Generated Node #0,1,0: 52:[75, 78] Operation: 73+5=78 Exploring Operation: 75-5=70, Resulting Numbers: [73, 70] Generated Node #0,1,1: 52:[73, 70] Operation: 75-5=70 Exploring Operation: 73-5=68, Resulting Numbers: [75, 68] Generated Node #0,1,2: 52:[75, 68] Operation: 73-5=68 Exploring Operation: 75/5=15, Resulting Numbers: [73, 15] Generated Node #0,1,3: 52:[73, 15] Operation: 75/5=15 Exploring Operation: 75-73=2, Resulting Numbers: [5, 2] Generated Node #0,1,4: 52:[5, 2] Operation: 75-73=2 Moving to Node #0,1,4 Current State: 52:[5, 2], Operations: ['79-4=75', '75-73=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[73, 15], Operations: ['79-4=75', '75/5=15'] Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,52 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[73, 70], Operations: ['79-4=75', '75-5=70'] Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,52 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[75, 68], Operations: ['79-4=75', '73-5=68'] Exploring Operation: 75*68=5100, Resulting Numbers: [5100] 5100,52 unequal: No Solution Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 75+68=143, Resulting Numbers: [143] 143,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[75, 78], Operations: ['79-4=75', '73+5=78'] Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 75*78=5850, Resulting Numbers: [5850] 5850,52 unequal: No Solution Exploring Operation: 75+78=153, Resulting Numbers: [153] 153,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:[5, 79, 69], Operations: ['73-4=69'] Exploring Operation: 5+69=74, Resulting Numbers: [79, 74] Generated Node #0,4,0: 52:[79, 74] Operation: 5+69=74 Exploring Operation: 5+79=84, Resulting Numbers: [69, 84] Generated Node #0,4,1: 52:[69, 84] Operation: 5+79=84 Exploring Operation: 79-5=74, Resulting Numbers: [69, 74] Generated Node #0,4,2: 52:[69, 74] Operation: 79-5=74 Exploring Operation: 69-5=64, Resulting Numbers: [79, 64] Generated Node #0,4,3: 52:[79, 64] Operation: 69-5=64 Exploring Operation: 79-69=10, Resulting Numbers: [5, 10] Generated Node #0,4,4: 52:[5, 10] Operation: 79-69=10 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 52:[5, 10], Operations: ['73-4=69', '79-69=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,52 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 52:[69, 74], Operations: ['73-4=69', '79-5=74'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 69*74=5106, Resulting Numbers: [5106] 5106,52 unequal: No Solution Exploring Operation: 69+74=143, Resulting Numbers: [143] 143,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,4,3 Current State: 52:[79, 64], Operations: ['73-4=69', '69-5=64'] Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,52 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,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,4,0 Current State: 52:[79, 74], Operations: ['73-4=69', '5+69=74'] Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,52 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,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,4,1 Current State: 52:[69, 84], Operations: ['73-4=69', '5+79=84'] Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 69+84=153, Resulting Numbers: [153] 153,52 unequal: No Solution Exploring Operation: 69*84=5796, Resulting Numbers: [5796] 5796,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 No solution found.
0
hs_5
sum_heuristic
[ 46, 64, 13, 39 ]
54
[ "64-46=18", "39/13=3", "18*3=54" ]
Current State: 54:[46, 64, 13, 39], Operations: [] Exploring Operation: 64-46=18, Resulting Numbers: [13, 39, 18] Generated Node #2: [13, 39, 18] from Operation: 64-46=18 Current State: 54:[13, 39, 18], Operations: ['64-46=18'] Exploring Operation: 39/13=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 39/13=3 Current State: 54:[18, 3], Operations: ['64-46=18', '39/13=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[46, 64, 13, 39], Operations: [] Exploring Operation: 46-39=7, Resulting Numbers: [64, 13, 7] Generated Node #0,0: 54:[64, 13, 7] Operation: 46-39=7 Exploring Operation: 64-39=25, Resulting Numbers: [46, 13, 25] Generated Node #0,1: 54:[46, 13, 25] Operation: 64-39=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[46, 13, 25], Operations: ['64-39=25'] Exploring Operation: 46+13=59, Resulting Numbers: [25, 59] Generated Node #0,1,0: 54:[25, 59] Operation: 46+13=59 Exploring Operation: 46-25=21, Resulting Numbers: [13, 21] Generated Node #0,1,1: 54:[13, 21] Operation: 46-25=21 Moving to Node #0,1,0 Current State: 54:[25, 59], Operations: ['64-39=25', '46+13=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[13, 21], Operations: ['64-39=25', '46-25=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[64, 13, 7], Operations: ['46-39=7'] Exploring Operation: 64-13=51, Resulting Numbers: [7, 51] Generated Node #0,0,0: 54:[7, 51] Operation: 64-13=51 Exploring Operation: 64-7=57, Resulting Numbers: [13, 57] Generated Node #0,0,1: 54:[13, 57] Operation: 64-7=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[7, 51], Operations: ['46-39=7', '64-13=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,54 unequal: No Solution No 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: 54:[13, 57], Operations: ['46-39=7', '64-7=57'] Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,54 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 5, 73, 10, 65 ]
10
[ "10/5=2", "73-65=8", "2+8=10" ]
Current State: 10:[5, 73, 10, 65], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [73, 65, 2] Generated Node #2: [73, 65, 2] from Operation: 10/5=2 Current State: 10:[73, 65, 2], Operations: ['10/5=2'] Exploring Operation: 73-65=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 73-65=8 Current State: 10:[2, 8], Operations: ['10/5=2', '73-65=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[5, 73, 10, 65], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [73, 10, 13] Generated Node #0,0: 10:[73, 10, 13] Operation: 65/5=13 Exploring Operation: 73-65=8, Resulting Numbers: [5, 10, 8] Generated Node #0,1: 10:[5, 10, 8] Operation: 73-65=8 Moving to Node #0,1 Current State: 10:[5, 10, 8], Operations: ['73-65=8'] Exploring Operation: 10-8=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 10:[5, 2] Operation: 10-8=2 Exploring Operation: 8-5=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 10:[10, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[5, 2], Operations: ['73-65=8', '10-8=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[5, 73, 10, 65], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [5, 10, 8] Generated Node #0,1: 10:[5, 10, 8] Operation: 73-65=8 Moving to Node #0,1 Current State: 10:[5, 10, 8], Operations: ['73-65=8'] Exploring Operation: 10-8=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 10:[5, 2] Operation: 10-8=2 Moving to Node #0,1,0 Current State: 10:[5, 2], Operations: ['73-65=8', '10-8=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 84, 96, 45, 95 ]
91
[ "84+96=180", "180/45=4", "95-4=91" ]
Current State: 91:[84, 96, 45, 95], Operations: [] Exploring Operation: 84+96=180, Resulting Numbers: [45, 95, 180] Generated Node #2: [45, 95, 180] from Operation: 84+96=180 Current State: 91:[45, 95, 180], Operations: ['84+96=180'] Exploring Operation: 180/45=4, Resulting Numbers: [95, 4] Generated Node #3: [95, 4] from Operation: 180/45=4 Current State: 91:[95, 4], Operations: ['84+96=180', '180/45=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[84, 96, 45, 95], Operations: [] Exploring Operation: 84-45=39, Resulting Numbers: [96, 95, 39] Generated Node #0,0: 91:[96, 95, 39] Operation: 84-45=39 Exploring Operation: 96-84=12, Resulting Numbers: [45, 95, 12] Generated Node #0,1: 91:[45, 95, 12] Operation: 96-84=12 Exploring Operation: 95-84=11, Resulting Numbers: [96, 45, 11] Generated Node #0,2: 91:[96, 45, 11] Operation: 95-84=11 Moving to Node #0,0 Current State: 91:[96, 95, 39], Operations: ['84-45=39'] Exploring Operation: 95-39=56, Resulting Numbers: [96, 56] Generated Node #0,0,0: 91:[96, 56] Operation: 95-39=56 Exploring Operation: 96-95=1, Resulting Numbers: [39, 1] Generated Node #0,0,1: 91:[39, 1] Operation: 96-95=1 Exploring Operation: 96-39=57, Resulting Numbers: [95, 57] Generated Node #0,0,2: 91:[95, 57] Operation: 96-39=57 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[39, 1], Operations: ['84-45=39', '96-95=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,91 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,91 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[95, 57], Operations: ['84-45=39', '96-39=57'] Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[96, 56], Operations: ['84-45=39', '95-39=56'] Exploring Operation: 96*56=5376, Resulting Numbers: [5376] 5376,91 unequal: No Solution Exploring Operation: 96+56=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,91 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: 91:[45, 95, 12], Operations: ['96-84=12'] Exploring Operation: 45-12=33, Resulting Numbers: [95, 33] Generated Node #0,1,0: 91:[95, 33] Operation: 45-12=33 Exploring Operation: 45+12=57, Resulting Numbers: [95, 57] Generated Node #0,1,1: 91:[95, 57] Operation: 45+12=57 Exploring Operation: 95-45=50, Resulting Numbers: [12, 50] Generated Node #0,1,2: 91:[12, 50] Operation: 95-45=50 Moving to Node #0,2 Current State: 91:[96, 45, 11], Operations: ['95-84=11'] Exploring Operation: 96-45=51, Resulting Numbers: [11, 51] Generated Node #0,2,0: 91:[11, 51] Operation: 96-45=51 Exploring Operation: 96-11=85, Resulting Numbers: [45, 85] Generated Node #0,2,1: 91:[45, 85] Operation: 96-11=85 Exploring Operation: 45-11=34, Resulting Numbers: [96, 34] Generated Node #0,2,2: 91:[96, 34] Operation: 45-11=34 Moving to Node #0,1,0 Current State: 91:[95, 33], Operations: ['96-84=12', '45-12=33'] Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,91 unequal: No Solution Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[96, 34], Operations: ['95-84=11', '45-11=34'] Exploring Operation: 96+34=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 96*34=3264, Resulting Numbers: [3264] 3264,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[12, 50], Operations: ['96-84=12', '95-45=50'] Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[45, 85], Operations: ['95-84=11', '96-11=85'] Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[95, 57], Operations: ['96-84=12', '45+12=57'] Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,91 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[11, 51], Operations: ['95-84=11', '96-45=51'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,91 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 52, 31, 7, 4 ]
18
[ "52-31=21", "7-4=3", "21-3=18" ]
Current State: 18:[52, 31, 7, 4], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [7, 4, 21] Generated Node #2: [7, 4, 21] from Operation: 52-31=21 Current State: 18:[7, 4, 21], Operations: ['52-31=21'] Exploring Operation: 7-4=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 7-4=3 Current State: 18:[21, 3], Operations: ['52-31=21', '7-4=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[52, 31, 7, 4], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [7, 4, 21] Generated Node #0,0: 18:[7, 4, 21] Operation: 52-31=21 Exploring Operation: 52/4=13, Resulting Numbers: [31, 7, 13] Generated Node #0,1: 18:[31, 7, 13] Operation: 52/4=13 Exploring Operation: 52-7=45, Resulting Numbers: [31, 4, 45] Generated Node #0,2: 18:[31, 4, 45] Operation: 52-7=45 Moving to Node #0,0 Current State: 18:[7, 4, 21], Operations: ['52-31=21'] Exploring Operation: 21-4=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 18:[7, 17] Operation: 21-4=17 Exploring Operation: 7-4=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 18:[21, 3] Operation: 7-4=3 Exploring Operation: 21/7=3, Resulting Numbers: [4, 3] Generated Node #0,0,2: 18:[4, 3] Operation: 21/7=3 Moving to Node #0,1 Current State: 18:[31, 7, 13], Operations: ['52/4=13'] Exploring Operation: 31-13=18, Resulting Numbers: [7, 18] Generated Node #0,1,0: 18:[7, 18] Operation: 31-13=18 Exploring Operation: 31-7=24, Resulting Numbers: [13, 24] Generated Node #0,1,1: 18:[13, 24] Operation: 31-7=24 Exploring Operation: 13-7=6, Resulting Numbers: [31, 6] Generated Node #0,1,2: 18:[31, 6] Operation: 13-7=6 Moving to Node #0,2 Current State: 18:[31, 4, 45], Operations: ['52-7=45'] Exploring Operation: 45-4=41, Resulting Numbers: [31, 41] Generated Node #0,2,0: 18:[31, 41] Operation: 45-4=41 Exploring Operation: 31-4=27, Resulting Numbers: [45, 27] Generated Node #0,2,1: 18:[45, 27] Operation: 31-4=27 Exploring Operation: 45-31=14, Resulting Numbers: [4, 14] Generated Node #0,2,2: 18:[4, 14] Operation: 45-31=14 Moving to Node #0,0,2 Current State: 18:[4, 3], Operations: ['52-31=21', '21/7=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[7, 18], Operations: ['52/4=13', '31-13=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,18 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[7, 17], Operations: ['52-31=21', '21-4=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,18 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[21, 3], Operations: ['52-31=21', '7-4=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[52, 31, 7, 4], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [7, 4, 21] Generated Node #0,0: 18:[7, 4, 21] Operation: 52-31=21 Moving to Node #0,0 Current State: 18:[7, 4, 21], Operations: ['52-31=21'] Exploring Operation: 7-4=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 18:[21, 3] Operation: 7-4=3 Moving to Node #0,0,1 Current State: 18:[21, 3], Operations: ['52-31=21', '7-4=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 99, 5, 3, 90 ]
51
[ "99/3=33", "90/5=18", "33+18=51" ]
Current State: 51:[99, 5, 3, 90], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [5, 90, 33] Generated Node #2: [5, 90, 33] from Operation: 99/3=33 Current State: 51:[5, 90, 33], Operations: ['99/3=33'] Exploring Operation: 90/5=18, Resulting Numbers: [33, 18] Generated Node #3: [33, 18] from Operation: 90/5=18 Current State: 51:[33, 18], Operations: ['99/3=33', '90/5=18'] Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[99, 5, 3, 90], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [5, 90, 33] Generated Node #0,0: 51:[5, 90, 33] Operation: 99/3=33 Exploring Operation: 99-90=9, Resulting Numbers: [5, 3, 9] Generated Node #0,1: 51:[5, 3, 9] Operation: 99-90=9 Exploring Operation: 90/5=18, Resulting Numbers: [99, 3, 18] Generated Node #0,2: 51:[99, 3, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[5, 3, 9], Operations: ['99-90=9'] Exploring Operation: 9/3=3, Resulting Numbers: [5, 3] Generated Node #0,1,0: 51:[5, 3] Operation: 9/3=3 Exploring Operation: 9-5=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 51:[3, 4] Operation: 9-5=4 Exploring Operation: 5+9=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 51:[3, 14] Operation: 5+9=14 Moving to Node #0,1,1 Current State: 51:[3, 4], Operations: ['99-90=9', '9-5=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[5, 3], Operations: ['99-90=9', '9/3=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[3, 14], Operations: ['99-90=9', '5+9=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[99, 3, 18], Operations: ['90/5=18'] Exploring Operation: 99-3=96, Resulting Numbers: [18, 96] Generated Node #0,2,0: 51:[18, 96] Operation: 99-3=96 Exploring Operation: 99-18=81, Resulting Numbers: [3, 81] Generated Node #0,2,1: 51:[3, 81] Operation: 99-18=81 Exploring Operation: 99/3=33, Resulting Numbers: [18, 33] Generated Node #0,2,2: 51:[18, 33] Operation: 99/3=33 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[18, 33], Operations: ['90/5=18', '99/3=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,51 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[99, 5, 3, 90], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [99, 3, 18] Generated Node #0,2: 51:[99, 3, 18] Operation: 90/5=18 Moving to Node #0,2 Current State: 51:[99, 3, 18], Operations: ['90/5=18'] Exploring Operation: 99/3=33, Resulting Numbers: [18, 33] Generated Node #0,2,2: 51:[18, 33] Operation: 99/3=33 Moving to Node #0,2,2 Current State: 51:[18, 33], Operations: ['90/5=18', '99/3=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 73, 21, 53, 5 ]
25
[ "73-53=20", "20/5=4", "21+4=25" ]
Current State: 25:[73, 21, 53, 5], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [21, 5, 20] Generated Node #2: [21, 5, 20] from Operation: 73-53=20 Current State: 25:[21, 5, 20], Operations: ['73-53=20'] Exploring Operation: 20/5=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 20/5=4 Current State: 25:[21, 4], Operations: ['73-53=20', '20/5=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[73, 21, 53, 5], Operations: [] Exploring Operation: 73-21=52, Resulting Numbers: [53, 5, 52] Generated Node #0,0: 25:[53, 5, 52] Operation: 73-21=52 Exploring Operation: 73-53=20, Resulting Numbers: [21, 5, 20] Generated Node #0,1: 25:[21, 5, 20] Operation: 73-53=20 Exploring Operation: 53-21=32, Resulting Numbers: [73, 5, 32] Generated Node #0,2: 25:[73, 5, 32] Operation: 53-21=32 Exploring Operation: 73-5=68, Resulting Numbers: [21, 53, 68] Generated Node #0,3: 25:[21, 53, 68] Operation: 73-5=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[21, 5, 20], Operations: ['73-53=20'] Exploring Operation: 5+20=25, Resulting Numbers: [21, 25] Generated Node #0,1,0: 25:[21, 25] Operation: 5+20=25 Exploring Operation: 20/5=4, Resulting Numbers: [21, 4] Generated Node #0,1,1: 25:[21, 4] Operation: 20/5=4 Exploring Operation: 21-20=1, Resulting Numbers: [5, 1] Generated Node #0,1,2: 25:[5, 1] Operation: 21-20=1 Exploring Operation: 21+5=26, Resulting Numbers: [20, 26] Generated Node #0,1,3: 25:[20, 26] Operation: 21+5=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[21, 25], Operations: ['73-53=20', '5+20=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[5, 1], Operations: ['73-53=20', '21-20=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,25 unequal: No Solution No 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: 25:[21, 4], Operations: ['73-53=20', '20/5=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[73, 21, 53, 5], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [21, 5, 20] Generated Node #0,1: 25:[21, 5, 20] Operation: 73-53=20 Moving to Node #0,1 Current State: 25:[21, 5, 20], Operations: ['73-53=20'] Exploring Operation: 20/5=4, Resulting Numbers: [21, 4] Generated Node #0,1,1: 25:[21, 4] Operation: 20/5=4 Moving to Node #0,1,1 Current State: 25:[21, 4], Operations: ['73-53=20', '20/5=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 10, 58, 89, 3 ]
73
[ "58-10=48", "48/3=16", "89-16=73" ]
Current State: 73:[10, 58, 89, 3], Operations: [] Exploring Operation: 58-10=48, Resulting Numbers: [89, 3, 48] Generated Node #2: [89, 3, 48] from Operation: 58-10=48 Current State: 73:[89, 3, 48], Operations: ['58-10=48'] Exploring Operation: 48/3=16, Resulting Numbers: [89, 16] Generated Node #3: [89, 16] from Operation: 48/3=16 Current State: 73:[89, 16], Operations: ['58-10=48', '48/3=16'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 58, 89, 3], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [58, 3, 79] Generated Node #0,0: 73:[58, 3, 79] Operation: 89-10=79 Exploring Operation: 10*3=30, Resulting Numbers: [58, 89, 30] Generated Node #0,1: 73:[58, 89, 30] Operation: 10*3=30 Exploring Operation: 10+3=13, Resulting Numbers: [58, 89, 13] Generated Node #0,2: 73:[58, 89, 13] Operation: 10+3=13 Exploring Operation: 10+58=68, Resulting Numbers: [89, 3, 68] Generated Node #0,3: 73:[89, 3, 68] Operation: 10+58=68 Moving to Node #0,1 Current State: 73:[58, 89, 30], Operations: ['10*3=30'] Exploring Operation: 58-30=28, Resulting Numbers: [89, 28] Generated Node #0,1,0: 73:[89, 28] Operation: 58-30=28 Exploring Operation: 89-30=59, Resulting Numbers: [58, 59] Generated Node #0,1,1: 73:[58, 59] Operation: 89-30=59 Exploring Operation: 58+30=88, Resulting Numbers: [89, 88] Generated Node #0,1,2: 73:[89, 88] Operation: 58+30=88 Exploring Operation: 89+30=119, Resulting Numbers: [58, 119] Generated Node #0,1,3: 73:[58, 119] Operation: 89+30=119 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[58, 59], Operations: ['10*3=30', '89-30=59'] Exploring Operation: 58*59=3422, Resulting Numbers: [3422] 3422,73 unequal: No Solution Exploring Operation: 58+59=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[89, 88], Operations: ['10*3=30', '58+30=88'] Exploring Operation: 89-88=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 89*88=7832, Resulting Numbers: [7832] 7832,73 unequal: No Solution Exploring Operation: 89+88=177, Resulting Numbers: [177] 177,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[89, 28], Operations: ['10*3=30', '58-30=28'] Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[58, 119], Operations: ['10*3=30', '89+30=119'] Exploring Operation: 119-58=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 58*119=6902, Resulting Numbers: [6902] 6902,73 unequal: No Solution Exploring Operation: 58+119=177, Resulting Numbers: [177] 177,73 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: 73:[58, 89, 13], Operations: ['10+3=13'] Exploring Operation: 89+13=102, Resulting Numbers: [58, 102] Generated Node #0,2,0: 73:[58, 102] Operation: 89+13=102 Exploring Operation: 58-13=45, Resulting Numbers: [89, 45] Generated Node #0,2,1: 73:[89, 45] Operation: 58-13=45 Exploring Operation: 58+13=71, Resulting Numbers: [89, 71] Generated Node #0,2,2: 73:[89, 71] Operation: 58+13=71 Exploring Operation: 89-13=76, Resulting Numbers: [58, 76] Generated Node #0,2,3: 73:[58, 76] Operation: 89-13=76 Moving to Node #0,0 Current State: 73:[58, 3, 79], Operations: ['89-10=79'] Exploring Operation: 79-3=76, Resulting Numbers: [58, 76] Generated Node #0,0,0: 73:[58, 76] Operation: 79-3=76 Exploring Operation: 58+3=61, Resulting Numbers: [79, 61] Generated Node #0,0,1: 73:[79, 61] Operation: 58+3=61 Exploring Operation: 3+79=82, Resulting Numbers: [58, 82] Generated Node #0,0,2: 73:[58, 82] Operation: 3+79=82 Exploring Operation: 58-3=55, Resulting Numbers: [79, 55] Generated Node #0,0,3: 73:[79, 55] Operation: 58-3=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[58, 76], Operations: ['89-10=79', '79-3=76'] Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,73 unequal: No Solution Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,73 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[79, 61], Operations: ['89-10=79', '58+3=61'] Exploring Operation: 79*61=4819, Resulting Numbers: [4819] 4819,73 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 79+61=140, Resulting Numbers: [140] 140,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,2 Current State: 73:[58, 82], Operations: ['89-10=79', '3+79=82'] Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,73 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,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,3 Current State: 73:[79, 55], Operations: ['89-10=79', '58-3=55'] Exploring Operation: 79*55=4345, Resulting Numbers: [4345] 4345,73 unequal: No Solution Exploring Operation: 79+55=134, Resulting Numbers: [134] 134,73 unequal: No Solution Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,73 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: 73:[89, 3, 68], Operations: ['10+58=68'] Exploring Operation: 3+68=71, Resulting Numbers: [89, 71] Generated Node #0,3,0: 73:[89, 71] Operation: 3+68=71 Exploring Operation: 89-3=86, Resulting Numbers: [68, 86] Generated Node #0,3,1: 73:[68, 86] Operation: 89-3=86 Exploring Operation: 89+3=92, Resulting Numbers: [68, 92] Generated Node #0,3,2: 73:[68, 92] Operation: 89+3=92 Exploring Operation: 68-3=65, Resulting Numbers: [89, 65] Generated Node #0,3,3: 73:[89, 65] Operation: 68-3=65 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[89, 71], Operations: ['10+58=68', '3+68=71'] Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,73 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,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,3,1 Current State: 73:[68, 86], Operations: ['10+58=68', '89-3=86'] Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,73 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,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,3,2 Current State: 73:[68, 92], Operations: ['10+58=68', '89+3=92'] Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 68+92=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 68*92=6256, Resulting Numbers: [6256] 6256,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,3,3 Current State: 73:[89, 65], Operations: ['10+58=68', '68-3=65'] Exploring Operation: 89*65=5785, Resulting Numbers: [5785] 5785,73 unequal: No Solution Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 89+65=154, Resulting Numbers: [154] 154,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 73:[89, 71], Operations: ['10+3=13', '58+13=71'] Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,73 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[58, 76], Operations: ['10+3=13', '89-13=76'] Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,73 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[89, 45], Operations: ['10+3=13', '58-13=45'] Exploring Operation: 89*45=4005, Resulting Numbers: [4005] 4005,73 unequal: No Solution Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 89+45=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[58, 102], Operations: ['10+3=13', '89+13=102'] Exploring Operation: 102-58=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 58+102=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 58*102=5916, Resulting Numbers: [5916] 5916,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 68, 45, 66, 31 ]
38
[ "68-66=2", "45+31=76", "76/2=38" ]
Current State: 38:[68, 45, 66, 31], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [45, 31, 2] Generated Node #2: [45, 31, 2] from Operation: 68-66=2 Current State: 38:[45, 31, 2], Operations: ['68-66=2'] Exploring Operation: 45+31=76, Resulting Numbers: [2, 76] Generated Node #3: [2, 76] from Operation: 45+31=76 Current State: 38:[2, 76], Operations: ['68-66=2', '45+31=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[68, 45, 66, 31], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [68, 45, 35] Generated Node #0,0: 38:[68, 45, 35] Operation: 66-31=35 Exploring Operation: 68-31=37, Resulting Numbers: [45, 66, 37] Generated Node #0,1: 38:[45, 66, 37] Operation: 68-31=37 Exploring Operation: 68-66=2, Resulting Numbers: [45, 31, 2] Generated Node #0,2: 38:[45, 31, 2] Operation: 68-66=2 Exploring Operation: 66-45=21, Resulting Numbers: [68, 31, 21] Generated Node #0,3: 38:[68, 31, 21] Operation: 66-45=21 Exploring Operation: 68-45=23, Resulting Numbers: [66, 31, 23] Generated Node #0,4: 38:[66, 31, 23] Operation: 68-45=23 Moving to Node #0,2 Current State: 38:[45, 31, 2], Operations: ['68-66=2'] Exploring Operation: 45-31=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 38:[2, 14] Operation: 45-31=14 Exploring Operation: 45+2=47, Resulting Numbers: [31, 47] Generated Node #0,2,1: 38:[31, 47] Operation: 45+2=47 Exploring Operation: 31+2=33, Resulting Numbers: [45, 33] Generated Node #0,2,2: 38:[45, 33] Operation: 31+2=33 Exploring Operation: 45-2=43, Resulting Numbers: [31, 43] Generated Node #0,2,3: 38:[31, 43] Operation: 45-2=43 Exploring Operation: 31-2=29, Resulting Numbers: [45, 29] Generated Node #0,2,4: 38:[45, 29] Operation: 31-2=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[2, 14], Operations: ['68-66=2', '45-31=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[45, 33], Operations: ['68-66=2', '31+2=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,38 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[31, 43], Operations: ['68-66=2', '45-2=43'] Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[31, 47], Operations: ['68-66=2', '45+2=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 38:[45, 29], Operations: ['68-66=2', '31-2=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,38 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,38 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: 38:[45, 66, 37], Operations: ['68-31=37'] Exploring Operation: 66-37=29, Resulting Numbers: [45, 29] Generated Node #0,1,0: 38:[45, 29] Operation: 66-37=29 Exploring Operation: 45+37=82, Resulting Numbers: [66, 82] Generated Node #0,1,1: 38:[66, 82] Operation: 45+37=82 Exploring Operation: 45-37=8, Resulting Numbers: [66, 8] Generated Node #0,1,2: 38:[66, 8] Operation: 45-37=8 Exploring Operation: 66-45=21, Resulting Numbers: [37, 21] Generated Node #0,1,3: 38:[37, 21] Operation: 66-45=21 Exploring Operation: 66+37=103, Resulting Numbers: [45, 103] Generated Node #0,1,4: 38:[45, 103] Operation: 66+37=103 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[37, 21], Operations: ['68-31=37', '66-45=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[45, 29], Operations: ['68-31=37', '66-37=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[66, 8], Operations: ['68-31=37', '45-37=8'] Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,38 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[66, 82], Operations: ['68-31=37', '45+37=82'] Exploring Operation: 66*82=5412, Resulting Numbers: [5412] 5412,38 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 38:[45, 103], Operations: ['68-31=37', '66+37=103'] Exploring Operation: 45*103=4635, Resulting Numbers: [4635] 4635,38 unequal: No Solution Exploring Operation: 45+103=148, Resulting Numbers: [148] 148,38 unequal: No Solution Exploring Operation: 103-45=58, Resulting Numbers: [58] 58,38 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: 38:[68, 31, 21], Operations: ['66-45=21'] Exploring Operation: 68-31=37, Resulting Numbers: [21, 37] Generated Node #0,3,0: 38:[21, 37] Operation: 68-31=37 Exploring Operation: 68-21=47, Resulting Numbers: [31, 47] Generated Node #0,3,1: 38:[31, 47] Operation: 68-21=47 Exploring Operation: 31+21=52, Resulting Numbers: [68, 52] Generated Node #0,3,2: 38:[68, 52] Operation: 31+21=52 Exploring Operation: 68+21=89, Resulting Numbers: [31, 89] Generated Node #0,3,3: 38:[31, 89] Operation: 68+21=89 Exploring Operation: 31-21=10, Resulting Numbers: [68, 10] Generated Node #0,3,4: 38:[68, 10] Operation: 31-21=10 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[21, 37], Operations: ['66-45=21', '68-31=37'] Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,38 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[31, 47], Operations: ['66-45=21', '68-21=47'] Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 38:[68, 10], Operations: ['66-45=21', '31-21=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,38 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[68, 52], Operations: ['66-45=21', '31+21=52'] Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,38 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[31, 89], Operations: ['66-45=21', '68+21=89'] Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 31*89=2759, Resulting Numbers: [2759] 2759,38 unequal: No Solution Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,38 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: 38:[66, 31, 23], Operations: ['68-45=23'] Exploring Operation: 31-23=8, Resulting Numbers: [66, 8] Generated Node #0,4,0: 38:[66, 8] Operation: 31-23=8 Exploring Operation: 66-31=35, Resulting Numbers: [23, 35] Generated Node #0,4,1: 38:[23, 35] Operation: 66-31=35 Exploring Operation: 66-23=43, Resulting Numbers: [31, 43] Generated Node #0,4,2: 38:[31, 43] Operation: 66-23=43 Exploring Operation: 66+23=89, Resulting Numbers: [31, 89] Generated Node #0,4,3: 38:[31, 89] Operation: 66+23=89 Exploring Operation: 31+23=54, Resulting Numbers: [66, 54] Generated Node #0,4,4: 38:[66, 54] Operation: 31+23=54 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 38:[23, 35], Operations: ['68-45=23', '66-31=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,38 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 38:[31, 43], Operations: ['68-45=23', '66-23=43'] Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,38 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 38:[66, 8], Operations: ['68-45=23', '31-23=8'] Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,38 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 38:[66, 54], Operations: ['68-45=23', '31+23=54'] Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,38 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 66*54=3564, Resulting Numbers: [3564] 3564,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 38:[31, 89], Operations: ['68-45=23', '66+23=89'] Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,38 unequal: No Solution Exploring Operation: 31*89=2759, Resulting Numbers: [2759] 2759,38 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: 38:[68, 45, 35], Operations: ['66-31=35'] Exploring Operation: 45+35=80, Resulting Numbers: [68, 80] Generated Node #0,0,0: 38:[68, 80] Operation: 45+35=80 Exploring Operation: 68+35=103, Resulting Numbers: [45, 103] Generated Node #0,0,1: 38:[45, 103] Operation: 68+35=103 Exploring Operation: 68-35=33, Resulting Numbers: [45, 33] Generated Node #0,0,2: 38:[45, 33] Operation: 68-35=33 Exploring Operation: 45-35=10, Resulting Numbers: [68, 10] Generated Node #0,0,3: 38:[68, 10] Operation: 45-35=10 Exploring Operation: 68-45=23, Resulting Numbers: [35, 23] Generated Node #0,0,4: 38:[35, 23] Operation: 68-45=23 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 38:[35, 23], Operations: ['66-31=35', '68-45=23'] Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,38 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[45, 33], Operations: ['66-31=35', '68-35=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,38 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[68, 10], Operations: ['66-31=35', '45-35=10'] Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,38 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[68, 80], Operations: ['66-31=35', '45+35=80'] Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,38 unequal: No Solution Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,38 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[45, 103], Operations: ['66-31=35', '68+35=103'] Exploring Operation: 103-45=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 45+103=148, Resulting Numbers: [148] 148,38 unequal: No Solution Exploring Operation: 45*103=4635, Resulting Numbers: [4635] 4635,38 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
[ 35, 26, 45, 30 ]
74
[ "26*45=1170", "1170/30=39", "35+39=74" ]
Current State: 74:[35, 26, 45, 30], Operations: [] Exploring Operation: 26*45=1170, Resulting Numbers: [35, 30, 1170] Generated Node #2: [35, 30, 1170] from Operation: 26*45=1170 Current State: 74:[35, 30, 1170], Operations: ['26*45=1170'] Exploring Operation: 1170/30=39, Resulting Numbers: [35, 39] Generated Node #3: [35, 39] from Operation: 1170/30=39 Current State: 74:[35, 39], Operations: ['26*45=1170', '1170/30=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[35, 26, 45, 30], Operations: [] Exploring Operation: 26+45=71, Resulting Numbers: [35, 30, 71] Generated Node #0,0: 74:[35, 30, 71] Operation: 26+45=71 Exploring Operation: 30-26=4, Resulting Numbers: [35, 45, 4] Generated Node #0,1: 74:[35, 45, 4] Operation: 30-26=4 Moving to Node #0,0 Current State: 74:[35, 30, 71], Operations: ['26+45=71'] Exploring Operation: 71-30=41, Resulting Numbers: [35, 41] Generated Node #0,0,0: 74:[35, 41] Operation: 71-30=41 Exploring Operation: 35-30=5, Resulting Numbers: [71, 5] Generated Node #0,0,1: 74:[71, 5] Operation: 35-30=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[35, 41], Operations: ['26+45=71', '71-30=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,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,1 Current State: 74:[71, 5], Operations: ['26+45=71', '35-30=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,74 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: 74:[35, 45, 4], Operations: ['30-26=4'] Exploring Operation: 45-4=41, Resulting Numbers: [35, 41] Generated Node #0,1,0: 74:[35, 41] Operation: 45-4=41 Exploring Operation: 35+45=80, Resulting Numbers: [4, 80] Generated Node #0,1,1: 74:[4, 80] Operation: 35+45=80 Moving to Node #0,1,0 Current State: 74:[35, 41], Operations: ['30-26=4', '45-4=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[4, 80], Operations: ['30-26=4', '35+45=80'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,74 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 23, 29, 28, 58 ]
53
[ "23+28=51", "58/29=2", "51+2=53" ]
Current State: 53:[23, 29, 28, 58], Operations: [] Exploring Operation: 23+28=51, Resulting Numbers: [29, 58, 51] Generated Node #2: [29, 58, 51] from Operation: 23+28=51 Current State: 53:[29, 58, 51], Operations: ['23+28=51'] Exploring Operation: 58/29=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 58/29=2 Current State: 53:[51, 2], Operations: ['23+28=51', '58/29=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[23, 29, 28, 58], Operations: [] Exploring Operation: 29-23=6, Resulting Numbers: [28, 58, 6] Generated Node #0,0: 53:[28, 58, 6] Operation: 29-23=6 Exploring Operation: 23+29=52, Resulting Numbers: [28, 58, 52] Generated Node #0,1: 53:[28, 58, 52] Operation: 23+29=52 Exploring Operation: 23+28=51, Resulting Numbers: [29, 58, 51] Generated Node #0,2: 53:[29, 58, 51] Operation: 23+28=51 Exploring Operation: 29+28=57, Resulting Numbers: [23, 58, 57] Generated Node #0,3: 53:[23, 58, 57] Operation: 29+28=57 Exploring Operation: 58-23=35, Resulting Numbers: [29, 28, 35] Generated Node #0,4: 53:[29, 28, 35] Operation: 58-23=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[28, 58, 52], Operations: ['23+29=52'] Exploring Operation: 28+52=80, Resulting Numbers: [58, 80] Generated Node #0,1,0: 53:[58, 80] Operation: 28+52=80 Exploring Operation: 52-28=24, Resulting Numbers: [58, 24] Generated Node #0,1,1: 53:[58, 24] Operation: 52-28=24 Exploring Operation: 58-28=30, Resulting Numbers: [52, 30] Generated Node #0,1,2: 53:[52, 30] Operation: 58-28=30 Exploring Operation: 58-52=6, Resulting Numbers: [28, 6] Generated Node #0,1,3: 53:[28, 6] Operation: 58-52=6 Exploring Operation: 28+58=86, Resulting Numbers: [52, 86] Generated Node #0,1,4: 53:[52, 86] Operation: 28+58=86 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[52, 30], Operations: ['23+29=52', '58-28=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,53 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,53 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,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,0 Current State: 53:[58, 80], Operations: ['23+29=52', '28+52=80'] Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,53 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,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:[58, 24], Operations: ['23+29=52', '52-28=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,53 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,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,4 Current State: 53:[52, 86], Operations: ['23+29=52', '28+58=86'] Exploring Operation: 52*86=4472, Resulting Numbers: [4472] 4472,53 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 52+86=138, Resulting Numbers: [138] 138,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,3 Current State: 53:[28, 6], Operations: ['23+29=52', '58-52=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,53 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,53 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[29, 58, 51], Operations: ['23+28=51'] Exploring Operation: 29+51=80, Resulting Numbers: [58, 80] Generated Node #0,2,0: 53:[58, 80] Operation: 29+51=80 Exploring Operation: 51-29=22, Resulting Numbers: [58, 22] Generated Node #0,2,1: 53:[58, 22] Operation: 51-29=22 Exploring Operation: 29+58=87, Resulting Numbers: [51, 87] Generated Node #0,2,2: 53:[51, 87] Operation: 29+58=87 Exploring Operation: 58/29=2, Resulting Numbers: [51, 2] Generated Node #0,2,3: 53:[51, 2] Operation: 58/29=2 Exploring Operation: 58-29=29, Resulting Numbers: [51, 29] Generated Node #0,2,4: 53:[51, 29] Operation: 58-29=29 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 53:[51, 29], Operations: ['23+28=51', '58-29=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,53 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[58, 80], Operations: ['23+28=51', '29+51=80'] Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,53 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,53 unequal: No Solution Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[58, 22], Operations: ['23+28=51', '51-29=22'] Exploring Operation: 58*22=1276, Resulting Numbers: [1276] 1276,53 unequal: No Solution Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[51, 87], Operations: ['23+28=51', '29+58=87'] Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[51, 2], Operations: ['23+28=51', '58/29=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[23, 29, 28, 58], Operations: [] Exploring Operation: 23+28=51, Resulting Numbers: [29, 58, 51] Generated Node #0,2: 53:[29, 58, 51] Operation: 23+28=51 Moving to Node #0,2 Current State: 53:[29, 58, 51], Operations: ['23+28=51'] Exploring Operation: 58/29=2, Resulting Numbers: [51, 2] Generated Node #0,2,3: 53:[51, 2] Operation: 58/29=2 Moving to Node #0,2,3 Current State: 53:[51, 2], Operations: ['23+28=51', '58/29=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 58, 52, 87, 9 ]
87
[ "52*87=4524", "4524/58=78", "9+78=87" ]
Current State: 87:[58, 52, 87, 9], Operations: [] Exploring Operation: 52*87=4524, Resulting Numbers: [58, 9, 4524] Generated Node #2: [58, 9, 4524] from Operation: 52*87=4524 Current State: 87:[58, 9, 4524], Operations: ['52*87=4524'] Exploring Operation: 4524/58=78, Resulting Numbers: [9, 78] Generated Node #3: [9, 78] from Operation: 4524/58=78 Current State: 87:[9, 78], Operations: ['52*87=4524', '4524/58=78'] Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[58, 52, 87, 9], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [87, 9, 6] Generated Node #0,0: 87:[87, 9, 6] Operation: 58-52=6 Moving to Node #0,0 Current State: 87:[87, 9, 6], Operations: ['58-52=6'] Exploring Operation: 9-6=3, Resulting Numbers: [87, 3] Generated Node #0,0,0: 87:[87, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 87:[87, 3], Operations: ['58-52=6', '9-6=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 1, 85, 45 ]
80
[ "50*1=50", "85+45=130", "130-50=80" ]
Current State: 80:[50, 1, 85, 45], Operations: [] Exploring Operation: 50*1=50, Resulting Numbers: [85, 45, 50] Generated Node #2: [85, 45, 50] from Operation: 50*1=50 Current State: 80:[85, 45, 50], Operations: ['50*1=50'] Exploring Operation: 85+45=130, Resulting Numbers: [50, 130] Generated Node #3: [50, 130] from Operation: 85+45=130 Current State: 80:[50, 130], Operations: ['50*1=50', '85+45=130'] Exploring Operation: 130-50=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[50, 1, 85, 45], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [1, 85, 5] Generated Node #0,0: 80:[1, 85, 5] Operation: 50-45=5 Exploring Operation: 85-50=35, Resulting Numbers: [1, 45, 35] Generated Node #0,1: 80:[1, 45, 35] Operation: 85-50=35 Exploring Operation: 85-45=40, Resulting Numbers: [50, 1, 40] Generated Node #0,2: 80:[50, 1, 40] Operation: 85-45=40 Exploring Operation: 50-1=49, Resulting Numbers: [85, 45, 49] Generated Node #0,3: 80:[85, 45, 49] Operation: 50-1=49 Moving to Node #0,0 Current State: 80:[1, 85, 5], Operations: ['50-45=5'] Exploring Operation: 1*85=85, Resulting Numbers: [5, 85] Generated Node #0,0,0: 80:[5, 85] Operation: 1*85=85 Exploring Operation: 85-5=80, Resulting Numbers: [1, 80] Generated Node #0,0,1: 80:[1, 80] Operation: 85-5=80 Exploring Operation: 85-1=84, Resulting Numbers: [5, 84] Generated Node #0,0,2: 80:[5, 84] Operation: 85-1=84 Exploring Operation: 85/5=17, Resulting Numbers: [1, 17] Generated Node #0,0,3: 80:[1, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[1, 80], Operations: ['50-45=5', '85-5=80'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[50, 1, 85, 45], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [1, 85, 5] Generated Node #0,0: 80:[1, 85, 5] Operation: 50-45=5 Moving to Node #0,0 Current State: 80:[1, 85, 5], Operations: ['50-45=5'] Exploring Operation: 85-5=80, Resulting Numbers: [1, 80] Generated Node #0,0,1: 80:[1, 80] Operation: 85-5=80 Moving to Node #0,0,1 Current State: 80:[1, 80], Operations: ['50-45=5', '85-5=80'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 35, 80, 48, 88 ]
41
[ "88-80=8", "48/8=6", "35+6=41" ]
Current State: 41:[35, 80, 48, 88], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [35, 48, 8] Generated Node #2: [35, 48, 8] from Operation: 88-80=8 Current State: 41:[35, 48, 8], Operations: ['88-80=8'] Exploring Operation: 48/8=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 48/8=6 Current State: 41:[35, 6], Operations: ['88-80=8', '48/8=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[35, 80, 48, 88], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [35, 48, 8] Generated Node #0,0: 41:[35, 48, 8] Operation: 88-80=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[35, 48, 8], Operations: ['88-80=8'] Exploring Operation: 48-8=40, Resulting Numbers: [35, 40] Generated Node #0,0,0: 41:[35, 40] Operation: 48-8=40 Moving to Node #0,0,0 Current State: 41:[35, 40], Operations: ['88-80=8', '48-8=40'] Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,41 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
[ 10, 5, 1, 12 ]
70
[ "10*1=10", "5*12=60", "10+60=70" ]
Current State: 70:[10, 5, 1, 12], Operations: [] Exploring Operation: 10*1=10, Resulting Numbers: [5, 12, 10] Generated Node #2: [5, 12, 10] from Operation: 10*1=10 Current State: 70:[5, 12, 10], Operations: ['10*1=10'] Exploring Operation: 5*12=60, Resulting Numbers: [10, 60] Generated Node #3: [10, 60] from Operation: 5*12=60 Current State: 70:[10, 60], Operations: ['10*1=10', '5*12=60'] Exploring Operation: 10+60=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 5, 1, 12], Operations: [] Exploring Operation: 12-10=2, Resulting Numbers: [5, 1, 2] Generated Node #0,0: 70:[5, 1, 2] Operation: 12-10=2 Exploring Operation: 1+12=13, Resulting Numbers: [10, 5, 13] Generated Node #0,1: 70:[10, 5, 13] Operation: 1+12=13 Exploring Operation: 10*1=10, Resulting Numbers: [5, 12, 10] Generated Node #0,2: 70:[5, 12, 10] Operation: 10*1=10 Exploring Operation: 12-5=7, Resulting Numbers: [10, 1, 7] Generated Node #0,3: 70:[10, 1, 7] Operation: 12-5=7 Exploring Operation: 12-1=11, Resulting Numbers: [10, 5, 11] Generated Node #0,4: 70:[10, 5, 11] Operation: 12-1=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[5, 1, 2], Operations: ['12-10=2'] Exploring Operation: 1*2=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 70:[5, 2] Operation: 1*2=2 Exploring Operation: 2/1=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 70:[5, 2] Operation: 2/1=2 Exploring Operation: 5*1=5, Resulting Numbers: [2, 5] Generated Node #0,0,2: 70:[2, 5] Operation: 5*1=5 Exploring Operation: 5/1=5, Resulting Numbers: [2, 5] Generated Node #0,0,3: 70:[2, 5] Operation: 5/1=5 Exploring Operation: 5+1=6, Resulting Numbers: [2, 6] Generated Node #0,0,4: 70:[2, 6] Operation: 5+1=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[5, 2], Operations: ['12-10=2', '1*2=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[5, 2], Operations: ['12-10=2', '2/1=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[2, 5], Operations: ['12-10=2', '5*1=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[2, 5], Operations: ['12-10=2', '5/1=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 70:[2, 6], Operations: ['12-10=2', '5+1=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[10, 5, 13], Operations: ['1+12=13'] Exploring Operation: 13-5=8, Resulting Numbers: [10, 8] Generated Node #0,1,0: 70:[10, 8] Operation: 13-5=8 Exploring Operation: 10/5=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 70:[13, 2] Operation: 10/5=2 Exploring Operation: 10+5=15, Resulting Numbers: [13, 15] Generated Node #0,1,2: 70:[13, 15] Operation: 10+5=15 Exploring Operation: 13-10=3, Resulting Numbers: [5, 3] Generated Node #0,1,3: 70:[5, 3] Operation: 13-10=3 Exploring Operation: 10-5=5, Resulting Numbers: [13, 5] Generated Node #0,1,4: 70:[13, 5] Operation: 10-5=5 Moving to Node #0,1,0 Current State: 70:[10, 8], Operations: ['1+12=13', '13-5=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[5, 3], Operations: ['1+12=13', '13-10=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[13, 2], Operations: ['1+12=13', '10/5=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,70 unequal: No Solution Moving to Node #0,1,4 Current State: 70:[13, 5], Operations: ['1+12=13', '10-5=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[13, 15], Operations: ['1+12=13', '10+5=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,70 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[10, 1, 7], Operations: ['12-5=7'] Exploring Operation: 7/1=7, Resulting Numbers: [10, 7] Generated Node #0,3,0: 70:[10, 7] Operation: 7/1=7 Exploring Operation: 10+1=11, Resulting Numbers: [7, 11] Generated Node #0,3,1: 70:[7, 11] Operation: 10+1=11 Exploring Operation: 10*1=10, Resulting Numbers: [7, 10] Generated Node #0,3,2: 70:[7, 10] Operation: 10*1=10 Exploring Operation: 10/1=10, Resulting Numbers: [7, 10] Generated Node #0,3,3: 70:[7, 10] Operation: 10/1=10 Exploring Operation: 1*7=7, Resulting Numbers: [10, 7] Generated Node #0,3,4: 70:[10, 7] Operation: 1*7=7 Moving to Node #0,3,0 Current State: 70:[10, 7], Operations: ['12-5=7', '7/1=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[10, 5, 1, 12], Operations: [] Exploring Operation: 12-5=7, Resulting Numbers: [10, 1, 7] Generated Node #0,3: 70:[10, 1, 7] Operation: 12-5=7 Moving to Node #0,3 Current State: 70:[10, 1, 7], Operations: ['12-5=7'] Exploring Operation: 7/1=7, Resulting Numbers: [10, 7] Generated Node #0,3,0: 70:[10, 7] Operation: 7/1=7 Moving to Node #0,3,0 Current State: 70:[10, 7], Operations: ['12-5=7', '7/1=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic