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
[ 32, 98, 46, 94 ]
82
[ "32+98=130", "94-46=48", "130-48=82" ]
Current State: 82:[32, 98, 46, 94], Operations: [] Exploring Operation: 32+98=130, Resulting Numbers: [46, 94, 130] Generated Node #2: [46, 94, 130] from Operation: 32+98=130 Current State: 82:[46, 94, 130], Operations: ['32+98=130'] Exploring Operation: 94-46=48, Resulting Numbers: [130, 48] Generated Node #3: [130, 48] from Operation: 94-46=48 Current State: 82:[130, 48], Operations: ['32+98=130', '94-46=48'] Exploring Operation: 130-48=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[32, 98, 46, 94], Operations: [] Exploring Operation: 32+46=78, Resulting Numbers: [98, 94, 78] Generated Node #0,0: 82:[98, 94, 78] Operation: 32+46=78 Exploring Operation: 94-46=48, Resulting Numbers: [32, 98, 48] Generated Node #0,1: 82:[32, 98, 48] Operation: 94-46=48 Exploring Operation: 98-46=52, Resulting Numbers: [32, 94, 52] Generated Node #0,2: 82:[32, 94, 52] Operation: 98-46=52 Exploring Operation: 98-94=4, Resulting Numbers: [32, 46, 4] Generated Node #0,3: 82:[32, 46, 4] Operation: 98-94=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[32, 46, 4], Operations: ['98-94=4'] Exploring Operation: 32+46=78, Resulting Numbers: [4, 78] Generated Node #0,3,0: 82:[4, 78] Operation: 32+46=78 Exploring Operation: 32/4=8, Resulting Numbers: [46, 8] Generated Node #0,3,1: 82:[46, 8] Operation: 32/4=8 Exploring Operation: 32+4=36, Resulting Numbers: [46, 36] Generated Node #0,3,2: 82:[46, 36] Operation: 32+4=36 Exploring Operation: 46-4=42, Resulting Numbers: [32, 42] Generated Node #0,3,3: 82:[32, 42] Operation: 46-4=42 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[4, 78], Operations: ['98-94=4', '32+46=78'] Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,82 unequal: No Solution Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[32, 98, 46, 94], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [32, 46, 4] Generated Node #0,3: 82:[32, 46, 4] Operation: 98-94=4 Moving to Node #0,3 Current State: 82:[32, 46, 4], Operations: ['98-94=4'] Exploring Operation: 32+46=78, Resulting Numbers: [4, 78] Generated Node #0,3,0: 82:[4, 78] Operation: 32+46=78 Moving to Node #0,3,0 Current State: 82:[4, 78], Operations: ['98-94=4', '32+46=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 10, 13, 29, 17 ]
35
[ "10+13=23", "29-17=12", "23+12=35" ]
Current State: 35:[10, 13, 29, 17], Operations: [] Exploring Operation: 10+13=23, Resulting Numbers: [29, 17, 23] Generated Node #2: [29, 17, 23] from Operation: 10+13=23 Current State: 35:[29, 17, 23], Operations: ['10+13=23'] Exploring Operation: 29-17=12, Resulting Numbers: [23, 12] Generated Node #3: [23, 12] from Operation: 29-17=12 Current State: 35:[23, 12], Operations: ['10+13=23', '29-17=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[10, 13, 29, 17], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [10, 29, 4] Generated Node #0,0: 35:[10, 29, 4] Operation: 17-13=4 Exploring Operation: 13+17=30, Resulting Numbers: [10, 29, 30] Generated Node #0,1: 35:[10, 29, 30] Operation: 13+17=30 Exploring Operation: 17-10=7, Resulting Numbers: [13, 29, 7] Generated Node #0,2: 35:[13, 29, 7] Operation: 17-10=7 Exploring Operation: 13-10=3, Resulting Numbers: [29, 17, 3] Generated Node #0,3: 35:[29, 17, 3] Operation: 13-10=3 Exploring Operation: 29-17=12, Resulting Numbers: [10, 13, 12] Generated Node #0,4: 35:[10, 13, 12] Operation: 29-17=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[10, 29, 4], Operations: ['17-13=4'] Exploring Operation: 29+4=33, Resulting Numbers: [10, 33] Generated Node #0,0,0: 35:[10, 33] Operation: 29+4=33 Exploring Operation: 29-10=19, Resulting Numbers: [4, 19] Generated Node #0,0,1: 35:[4, 19] Operation: 29-10=19 Exploring Operation: 10*4=40, Resulting Numbers: [29, 40] Generated Node #0,0,2: 35:[29, 40] Operation: 10*4=40 Exploring Operation: 10-4=6, Resulting Numbers: [29, 6] Generated Node #0,0,3: 35:[29, 6] Operation: 10-4=6 Exploring Operation: 10+29=39, Resulting Numbers: [4, 39] Generated Node #0,0,4: 35:[4, 39] Operation: 10+29=39 Moving to Node #0,0,0 Current State: 35:[10, 33], Operations: ['17-13=4', '29+4=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,35 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[4, 39], Operations: ['17-13=4', '10+29=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[10, 13, 29, 17], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [10, 29, 4] Generated Node #0,0: 35:[10, 29, 4] Operation: 17-13=4 Moving to Node #0,0 Current State: 35:[10, 29, 4], Operations: ['17-13=4'] Exploring Operation: 10+29=39, Resulting Numbers: [4, 39] Generated Node #0,0,4: 35:[4, 39] Operation: 10+29=39 Moving to Node #0,0,4 Current State: 35:[4, 39], Operations: ['17-13=4', '10+29=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 99, 4, 36, 41 ]
79
[ "41-36=5", "4*5=20", "99-20=79" ]
Current State: 79:[99, 4, 36, 41], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [99, 4, 5] Generated Node #2: [99, 4, 5] from Operation: 41-36=5 Current State: 79:[99, 4, 5], Operations: ['41-36=5'] Exploring Operation: 4*5=20, Resulting Numbers: [99, 20] Generated Node #3: [99, 20] from Operation: 4*5=20 Current State: 79:[99, 20], Operations: ['41-36=5', '4*5=20'] Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[99, 4, 36, 41], Operations: [] Exploring Operation: 99-4=95, Resulting Numbers: [36, 41, 95] Generated Node #0,0: 79:[36, 41, 95] Operation: 99-4=95 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[36, 41, 95], Operations: ['99-4=95'] Exploring Operation: 36+41=77, Resulting Numbers: [95, 77] Generated Node #0,0,0: 79:[95, 77] Operation: 36+41=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[95, 77], Operations: ['99-4=95', '36+41=77'] Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,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
sum_heuristic
[ 10, 68, 7, 5 ]
73
[ "10/5=2", "68+7=75", "75-2=73" ]
Current State: 73:[10, 68, 7, 5], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [68, 7, 2] Generated Node #2: [68, 7, 2] from Operation: 10/5=2 Current State: 73:[68, 7, 2], Operations: ['10/5=2'] Exploring Operation: 68+7=75, Resulting Numbers: [2, 75] Generated Node #3: [2, 75] from Operation: 68+7=75 Current State: 73:[2, 75], Operations: ['10/5=2', '68+7=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 68, 7, 5], Operations: [] Exploring Operation: 10*5=50, Resulting Numbers: [68, 7, 50] Generated Node #0,0: 73:[68, 7, 50] Operation: 10*5=50 Exploring Operation: 7*5=35, Resulting Numbers: [10, 68, 35] Generated Node #0,1: 73:[10, 68, 35] Operation: 7*5=35 Exploring Operation: 10*7=70, Resulting Numbers: [68, 5, 70] Generated Node #0,2: 73:[68, 5, 70] Operation: 10*7=70 Exploring Operation: 10+7=17, Resulting Numbers: [68, 5, 17] Generated Node #0,3: 73:[68, 5, 17] Operation: 10+7=17 Exploring Operation: 10+5=15, Resulting Numbers: [68, 7, 15] Generated Node #0,4: 73:[68, 7, 15] Operation: 10+5=15 Moving to Node #0,2 Current State: 73:[68, 5, 70], Operations: ['10*7=70'] Exploring Operation: 5+70=75, Resulting Numbers: [68, 75] Generated Node #0,2,0: 73:[68, 75] Operation: 5+70=75 Exploring Operation: 68-5=63, Resulting Numbers: [70, 63] Generated Node #0,2,1: 73:[70, 63] Operation: 68-5=63 Exploring Operation: 68+5=73, Resulting Numbers: [70, 73] Generated Node #0,2,2: 73:[70, 73] Operation: 68+5=73 Exploring Operation: 70/5=14, Resulting Numbers: [68, 14] Generated Node #0,2,3: 73:[68, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [68, 65] Generated Node #0,2,4: 73:[68, 65] Operation: 70-5=65 Moving to Node #0,0 Current State: 73:[68, 7, 50], Operations: ['10*5=50'] Exploring Operation: 68+50=118, Resulting Numbers: [7, 118] Generated Node #0,0,0: 73:[7, 118] Operation: 68+50=118 Exploring Operation: 50-7=43, Resulting Numbers: [68, 43] Generated Node #0,0,1: 73:[68, 43] Operation: 50-7=43 Exploring Operation: 7+50=57, Resulting Numbers: [68, 57] Generated Node #0,0,2: 73:[68, 57] Operation: 7+50=57 Exploring Operation: 68-7=61, Resulting Numbers: [50, 61] Generated Node #0,0,3: 73:[50, 61] Operation: 68-7=61 Exploring Operation: 68+7=75, Resulting Numbers: [50, 75] Generated Node #0,0,4: 73:[50, 75] Operation: 68+7=75 Moving to Node #0,1 Current State: 73:[10, 68, 35], Operations: ['7*5=35'] Exploring Operation: 35-10=25, Resulting Numbers: [68, 25] Generated Node #0,1,0: 73:[68, 25] Operation: 35-10=25 Exploring Operation: 10+68=78, Resulting Numbers: [35, 78] Generated Node #0,1,1: 73:[35, 78] Operation: 10+68=78 Exploring Operation: 68+35=103, Resulting Numbers: [10, 103] Generated Node #0,1,2: 73:[10, 103] Operation: 68+35=103 Exploring Operation: 68-10=58, Resulting Numbers: [35, 58] Generated Node #0,1,3: 73:[35, 58] Operation: 68-10=58 Exploring Operation: 10+35=45, Resulting Numbers: [68, 45] Generated Node #0,1,4: 73:[68, 45] Operation: 10+35=45 Moving to Node #0,3 Current State: 73:[68, 5, 17], Operations: ['10+7=17'] Exploring Operation: 68+5=73, Resulting Numbers: [17, 73] Generated Node #0,3,0: 73:[17, 73] Operation: 68+5=73 Exploring Operation: 17-5=12, Resulting Numbers: [68, 12] Generated Node #0,3,1: 73:[68, 12] Operation: 17-5=12 Exploring Operation: 68-5=63, Resulting Numbers: [17, 63] Generated Node #0,3,2: 73:[17, 63] Operation: 68-5=63 Exploring Operation: 5+17=22, Resulting Numbers: [68, 22] Generated Node #0,3,3: 73:[68, 22] Operation: 5+17=22 Exploring Operation: 5*17=85, Resulting Numbers: [68, 85] Generated Node #0,3,4: 73:[68, 85] Operation: 5*17=85 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 73:[68, 85], Operations: ['10+7=17', '5*17=85'] Exploring Operation: 68*85=5780, Resulting Numbers: [5780] 5780,73 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 68+85=153, Resulting Numbers: [153] 153,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,0 Current State: 73:[17, 73], Operations: ['10+7=17', '68+5=73'] Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,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:[68, 22], Operations: ['10+7=17', '5+17=22'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,73 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,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, 12], Operations: ['10+7=17', '17-5=12'] Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,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:[17, 63], Operations: ['10+7=17', '68-5=63'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 17+63=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 17*63=1071, Resulting Numbers: [1071] 1071,73 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: 73:[68, 7, 15], Operations: ['10+5=15'] Exploring Operation: 68+7=75, Resulting Numbers: [15, 75] Generated Node #0,4,0: 73:[15, 75] Operation: 68+7=75 Exploring Operation: 7+15=22, Resulting Numbers: [68, 22] Generated Node #0,4,1: 73:[68, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [68, 8] Generated Node #0,4,2: 73:[68, 8] Operation: 15-7=8 Exploring Operation: 7*15=105, Resulting Numbers: [68, 105] Generated Node #0,4,3: 73:[68, 105] Operation: 7*15=105 Exploring Operation: 68-7=61, Resulting Numbers: [15, 61] Generated Node #0,4,4: 73:[15, 61] Operation: 68-7=61 Moving to Node #0,2,2 Current State: 73:[70, 73], Operations: ['10*7=70', '68+5=73'] Exploring Operation: 70+73=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 70*73=5110, Resulting Numbers: [5110] 5110,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[68, 75], Operations: ['10*7=70', '5+70=75'] Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,73 unequal: No Solution Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[70, 63], Operations: ['10*7=70', '68-5=63'] Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,73 unequal: No Solution Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[68, 65], Operations: ['10*7=70', '70-5=65'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 68*65=4420, Resulting Numbers: [4420] 4420,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[68, 57], Operations: ['10*5=50', '7+50=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,73 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[50, 75], Operations: ['10*5=50', '68+7=75'] Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 50+75=125, Resulting Numbers: [125] 125,73 unequal: No Solution Exploring Operation: 50*75=3750, Resulting Numbers: [3750] 3750,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[68, 45], Operations: ['7*5=35', '10+35=45'] Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,73 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[50, 61], Operations: ['10*5=50', '68-7=61'] Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[68, 43], Operations: ['10*5=50', '50-7=43'] Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 68*43=2924, Resulting Numbers: [2924] 2924,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[68, 105], Operations: ['10+5=15', '7*15=105'] Exploring Operation: 68*105=7140, Resulting Numbers: [7140] 7140,73 unequal: No Solution Exploring Operation: 105-68=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 68+105=173, Resulting Numbers: [173] 173,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[35, 78], Operations: ['7*5=35', '10+68=78'] Exploring Operation: 35*78=2730, Resulting Numbers: [2730] 2730,73 unequal: No Solution Exploring Operation: 35+78=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[35, 58], Operations: ['7*5=35', '68-10=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[68, 25], Operations: ['7*5=35', '35-10=25'] Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[68, 22], Operations: ['10+5=15', '7+15=22'] Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,73 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[15, 75], Operations: ['10+5=15', '68+7=75'] Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,73 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[68, 14], Operations: ['10*7=70', '70/5=14'] Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[68, 8], Operations: ['10+5=15', '15-7=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,73 unequal: No Solution Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[15, 61], Operations: ['10+5=15', '68-7=61'] Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,73 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[10, 103], Operations: ['7*5=35', '68+35=103'] Exploring Operation: 10+103=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 103-10=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 10*103=1030, Resulting Numbers: [1030] 1030,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[7, 118], Operations: ['10*5=50', '68+50=118'] Exploring Operation: 7+118=125, Resulting Numbers: [125] 125,73 unequal: No Solution Exploring Operation: 7*118=826, Resulting Numbers: [826] 826,73 unequal: No Solution Exploring Operation: 118-7=111, Resulting Numbers: [111] 111,73 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 42, 24, 53, 47 ]
82
[ "42-24=18", "53+47=100", "100-18=82" ]
Current State: 82:[42, 24, 53, 47], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [53, 47, 18] Generated Node #2: [53, 47, 18] from Operation: 42-24=18 Current State: 82:[53, 47, 18], Operations: ['42-24=18'] Exploring Operation: 53+47=100, Resulting Numbers: [18, 100] Generated Node #3: [18, 100] from Operation: 53+47=100 Current State: 82:[18, 100], Operations: ['42-24=18', '53+47=100'] Exploring Operation: 100-18=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[42, 24, 53, 47], Operations: [] Exploring Operation: 24+53=77, Resulting Numbers: [42, 47, 77] Generated Node #0,0: 82:[42, 47, 77] Operation: 24+53=77 Exploring Operation: 53-24=29, Resulting Numbers: [42, 47, 29] Generated Node #0,1: 82:[42, 47, 29] Operation: 53-24=29 Exploring Operation: 53-47=6, Resulting Numbers: [42, 24, 6] Generated Node #0,2: 82:[42, 24, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 82:[42, 47, 77], Operations: ['24+53=77'] Exploring Operation: 47-42=5, Resulting Numbers: [77, 5] Generated Node #0,0,0: 82:[77, 5] Operation: 47-42=5 Exploring Operation: 42+47=89, Resulting Numbers: [77, 89] Generated Node #0,0,1: 82:[77, 89] Operation: 42+47=89 Exploring Operation: 77-42=35, Resulting Numbers: [47, 35] Generated Node #0,0,2: 82:[47, 35] Operation: 77-42=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[77, 5], Operations: ['24+53=77', '47-42=5'] Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,82 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[42, 24, 53, 47], Operations: [] Exploring Operation: 24+53=77, Resulting Numbers: [42, 47, 77] Generated Node #0,0: 82:[42, 47, 77] Operation: 24+53=77 Moving to Node #0,0 Current State: 82:[42, 47, 77], Operations: ['24+53=77'] Exploring Operation: 47-42=5, Resulting Numbers: [77, 5] Generated Node #0,0,0: 82:[77, 5] Operation: 47-42=5 Moving to Node #0,0,0 Current State: 82:[77, 5], Operations: ['24+53=77', '47-42=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 16, 5, 48, 29 ]
99
[ "16*5=80", "48-29=19", "80+19=99" ]
Current State: 99:[16, 5, 48, 29], Operations: [] Exploring Operation: 16*5=80, Resulting Numbers: [48, 29, 80] Generated Node #2: [48, 29, 80] from Operation: 16*5=80 Current State: 99:[48, 29, 80], Operations: ['16*5=80'] Exploring Operation: 48-29=19, Resulting Numbers: [80, 19] Generated Node #3: [80, 19] from Operation: 48-29=19 Current State: 99:[80, 19], Operations: ['16*5=80', '48-29=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[16, 5, 48, 29], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [5, 29, 3] Generated Node #0,0: 99:[5, 29, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[5, 29, 3], Operations: ['48/16=3'] Exploring Operation: 5+29=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 99:[3, 34] Operation: 5+29=34 Moving to Node #0,0,0 Current State: 99:[3, 34], Operations: ['48/16=3', '5+29=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,99 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
[ 99, 94, 80, 2 ]
71
[ "94-80=14", "2*14=28", "99-28=71" ]
Current State: 71:[99, 94, 80, 2], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [99, 2, 14] Generated Node #2: [99, 2, 14] from Operation: 94-80=14 Current State: 71:[99, 2, 14], Operations: ['94-80=14'] Exploring Operation: 2*14=28, Resulting Numbers: [99, 28] Generated Node #3: [99, 28] from Operation: 2*14=28 Current State: 71:[99, 28], Operations: ['94-80=14', '2*14=28'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[99, 94, 80, 2], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [94, 80, 97] Generated Node #0,0: 71:[94, 80, 97] Operation: 99-2=97 Exploring Operation: 94-2=92, Resulting Numbers: [99, 80, 92] Generated Node #0,1: 71:[99, 80, 92] Operation: 94-2=92 Exploring Operation: 80-2=78, Resulting Numbers: [99, 94, 78] Generated Node #0,2: 71:[99, 94, 78] Operation: 80-2=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[94, 80, 97], Operations: ['99-2=97'] Exploring Operation: 97-94=3, Resulting Numbers: [80, 3] Generated Node #0,0,0: 71:[80, 3] Operation: 97-94=3 Exploring Operation: 97-80=17, Resulting Numbers: [94, 17] Generated Node #0,0,1: 71:[94, 17] Operation: 97-80=17 Exploring Operation: 94-80=14, Resulting Numbers: [97, 14] Generated Node #0,0,2: 71:[97, 14] Operation: 94-80=14 Moving to Node #0,0,0 Current State: 71:[80, 3], Operations: ['99-2=97', '97-94=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,71 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,71 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[94, 17], Operations: ['99-2=97', '97-80=17'] Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,71 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[97, 14], Operations: ['99-2=97', '94-80=14'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,71 unequal: No Solution Exploring Operation: 97+14=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 97*14=1358, Resulting Numbers: [1358] 1358,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[99, 80, 92], Operations: ['94-2=92'] Exploring Operation: 92-80=12, Resulting Numbers: [99, 12] Generated Node #0,1,0: 71:[99, 12] Operation: 92-80=12 Exploring Operation: 99-80=19, Resulting Numbers: [92, 19] Generated Node #0,1,1: 71:[92, 19] Operation: 99-80=19 Exploring Operation: 99-92=7, Resulting Numbers: [80, 7] Generated Node #0,1,2: 71:[80, 7] Operation: 99-92=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[92, 19], Operations: ['94-2=92', '99-80=19'] Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,71 unequal: No Solution Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[80, 7], Operations: ['94-2=92', '99-92=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,71 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[99, 12], Operations: ['94-2=92', '92-80=12'] Exploring Operation: 99*12=1188, Resulting Numbers: [1188] 1188,71 unequal: No Solution Exploring Operation: 99+12=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[99, 94, 78], Operations: ['80-2=78'] Exploring Operation: 99-78=21, Resulting Numbers: [94, 21] Generated Node #0,2,0: 71:[94, 21] Operation: 99-78=21 Exploring Operation: 94-78=16, Resulting Numbers: [99, 16] Generated Node #0,2,1: 71:[99, 16] Operation: 94-78=16 Exploring Operation: 99-94=5, Resulting Numbers: [78, 5] Generated Node #0,2,2: 71:[78, 5] Operation: 99-94=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[94, 21], Operations: ['80-2=78', '99-78=21'] Exploring Operation: 94-21=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 94+21=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 94*21=1974, Resulting Numbers: [1974] 1974,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,2,2 Current State: 71:[78, 5], Operations: ['80-2=78', '99-94=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,71 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,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,2,1 Current State: 71:[99, 16], Operations: ['80-2=78', '94-78=16'] Exploring Operation: 99+16=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 99*16=1584, Resulting Numbers: [1584] 1584,71 unequal: No Solution Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 42, 65, 67, 59 ]
62
[ "67+59=126", "126/42=3", "65-3=62" ]
Current State: 62:[42, 65, 67, 59], Operations: [] Exploring Operation: 67+59=126, Resulting Numbers: [42, 65, 126] Generated Node #2: [42, 65, 126] from Operation: 67+59=126 Current State: 62:[42, 65, 126], Operations: ['67+59=126'] Exploring Operation: 126/42=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 126/42=3 Current State: 62:[65, 3], Operations: ['67+59=126', '126/42=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[42, 65, 67, 59], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [42, 67, 6] Generated Node #0,0: 62:[42, 67, 6] Operation: 65-59=6 Exploring Operation: 67-65=2, Resulting Numbers: [42, 59, 2] Generated Node #0,1: 62:[42, 59, 2] Operation: 67-65=2 Exploring Operation: 65-42=23, Resulting Numbers: [67, 59, 23] Generated Node #0,2: 62:[67, 59, 23] Operation: 65-42=23 Exploring Operation: 67-42=25, Resulting Numbers: [65, 59, 25] Generated Node #0,3: 62:[65, 59, 25] Operation: 67-42=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[65, 59, 25], Operations: ['67-42=25'] Exploring Operation: 59+25=84, Resulting Numbers: [65, 84] Generated Node #0,3,0: 62:[65, 84] Operation: 59+25=84 Exploring Operation: 65-25=40, Resulting Numbers: [59, 40] Generated Node #0,3,1: 62:[59, 40] Operation: 65-25=40 Exploring Operation: 59-25=34, Resulting Numbers: [65, 34] Generated Node #0,3,2: 62:[65, 34] Operation: 59-25=34 Exploring Operation: 65-59=6, Resulting Numbers: [25, 6] Generated Node #0,3,3: 62:[25, 6] Operation: 65-59=6 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[65, 34], Operations: ['67-42=25', '59-25=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[25, 6], Operations: ['67-42=25', '65-59=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,62 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[59, 40], Operations: ['67-42=25', '65-25=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,62 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[65, 84], Operations: ['67-42=25', '59+25=84'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 65*84=5460, Resulting Numbers: [5460] 5460,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[42, 59, 2], Operations: ['67-65=2'] Exploring Operation: 59-42=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 62:[2, 17] Operation: 59-42=17 Exploring Operation: 59+2=61, Resulting Numbers: [42, 61] Generated Node #0,1,1: 62:[42, 61] Operation: 59+2=61 Exploring Operation: 42-2=40, Resulting Numbers: [59, 40] Generated Node #0,1,2: 62:[59, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [59, 21] Generated Node #0,1,3: 62:[59, 21] Operation: 42/2=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[42, 61], Operations: ['67-65=2', '59+2=61'] Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,62 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[59, 40], Operations: ['67-65=2', '42-2=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,62 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[59, 21], Operations: ['67-65=2', '42/2=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,62 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[2, 17], Operations: ['67-65=2', '59-42=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[67, 59, 23], Operations: ['65-42=23'] Exploring Operation: 67-23=44, Resulting Numbers: [59, 44] Generated Node #0,2,0: 62:[59, 44] Operation: 67-23=44 Exploring Operation: 67-59=8, Resulting Numbers: [23, 8] Generated Node #0,2,1: 62:[23, 8] Operation: 67-59=8 Exploring Operation: 59-23=36, Resulting Numbers: [67, 36] Generated Node #0,2,2: 62:[67, 36] Operation: 59-23=36 Exploring Operation: 59+23=82, Resulting Numbers: [67, 82] Generated Node #0,2,3: 62:[67, 82] Operation: 59+23=82 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[67, 36], Operations: ['65-42=23', '59-23=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[23, 8], Operations: ['65-42=23', '67-59=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,62 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[59, 44], Operations: ['65-42=23', '67-23=44'] Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,62 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[67, 82], Operations: ['65-42=23', '59+23=82'] Exploring Operation: 67*82=5494, Resulting Numbers: [5494] 5494,62 unequal: No Solution Exploring Operation: 67+82=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[42, 67, 6], Operations: ['65-59=6'] Exploring Operation: 67-42=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 62:[6, 25] Operation: 67-42=25 Exploring Operation: 42/6=7, Resulting Numbers: [67, 7] Generated Node #0,0,1: 62:[67, 7] Operation: 42/6=7 Exploring Operation: 67-6=61, Resulting Numbers: [42, 61] Generated Node #0,0,2: 62:[42, 61] Operation: 67-6=61 Exploring Operation: 42-6=36, Resulting Numbers: [67, 36] Generated Node #0,0,3: 62:[67, 36] Operation: 42-6=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[6, 25], Operations: ['65-59=6', '67-42=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,62 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[67, 7], Operations: ['65-59=6', '42/6=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,62 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,62 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[67, 36], Operations: ['65-59=6', '42-6=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[42, 61], Operations: ['65-59=6', '67-6=61'] Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,62 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 98, 65, 36, 36 ]
39
[ "98-65=33", "36+36=72", "72-33=39" ]
Current State: 39:[98, 65, 36, 36], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [36, 36, 33] Generated Node #2: [36, 36, 33] from Operation: 98-65=33 Current State: 39:[36, 36, 33], Operations: ['98-65=33'] Exploring Operation: 36+36=72, Resulting Numbers: [33, 72] Generated Node #3: [33, 72] from Operation: 36+36=72 Current State: 39:[33, 72], Operations: ['98-65=33', '36+36=72'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[98, 65, 36, 36], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [98, 36, 29] Generated Node #0,0: 39:[98, 36, 29] Operation: 65-36=29 Exploring Operation: 98-65=33, Resulting Numbers: [36, 36, 33] Generated Node #0,1: 39:[36, 36, 33] Operation: 98-65=33 Exploring Operation: 98-36=62, Resulting Numbers: [65, 36, 62] Generated Node #0,2: 39:[65, 36, 62] Operation: 98-36=62 Exploring Operation: 98-36=62, Resulting Numbers: [65, 36, 62] Generated Node #0,3: 39:[65, 36, 62] Operation: 98-36=62 Exploring Operation: 65-36=29, Resulting Numbers: [98, 36, 29] Generated Node #0,4: 39:[98, 36, 29] Operation: 65-36=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[36, 36, 33], Operations: ['98-65=33'] Exploring Operation: 36-33=3, Resulting Numbers: [36, 3] Generated Node #0,1,0: 39:[36, 3] Operation: 36-33=3 Exploring Operation: 36-36=0, Resulting Numbers: [33, 0] Generated Node #0,1,1: 39:[33, 0] Operation: 36-36=0 Exploring Operation: 36/36=1, Resulting Numbers: [33, 1] Generated Node #0,1,2: 39:[33, 1] Operation: 36/36=1 Exploring Operation: 36-33=3, Resulting Numbers: [36, 3] Generated Node #0,1,3: 39:[36, 3] Operation: 36-33=3 Exploring Operation: 36+33=69, Resulting Numbers: [36, 69] Generated Node #0,1,4: 39:[36, 69] Operation: 36+33=69 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[36, 3], Operations: ['98-65=33', '36-33=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,39 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[98, 65, 36, 36], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [36, 36, 33] Generated Node #0,1: 39:[36, 36, 33] Operation: 98-65=33 Moving to Node #0,1 Current State: 39:[36, 36, 33], Operations: ['98-65=33'] Exploring Operation: 36-33=3, Resulting Numbers: [36, 3] Generated Node #0,1,0: 39:[36, 3] Operation: 36-33=3 Moving to Node #0,1,0 Current State: 39:[36, 3], Operations: ['98-65=33', '36-33=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 90, 3, 38, 82 ]
14
[ "90/3=30", "82-38=44", "44-30=14" ]
Current State: 14:[90, 3, 38, 82], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [38, 82, 30] Generated Node #2: [38, 82, 30] from Operation: 90/3=30 Current State: 14:[38, 82, 30], Operations: ['90/3=30'] Exploring Operation: 82-38=44, Resulting Numbers: [30, 44] Generated Node #3: [30, 44] from Operation: 82-38=44 Current State: 14:[30, 44], Operations: ['90/3=30', '82-38=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[90, 3, 38, 82], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [3, 82, 52] Generated Node #0,0: 14:[3, 82, 52] Operation: 90-38=52 Exploring Operation: 90-3=87, Resulting Numbers: [38, 82, 87] Generated Node #0,1: 14:[38, 82, 87] Operation: 90-3=87 Exploring Operation: 82-38=44, Resulting Numbers: [90, 3, 44] Generated Node #0,2: 14:[90, 3, 44] Operation: 82-38=44 Exploring Operation: 90/3=30, Resulting Numbers: [38, 82, 30] Generated Node #0,3: 14:[38, 82, 30] Operation: 90/3=30 Exploring Operation: 90-82=8, Resulting Numbers: [3, 38, 8] Generated Node #0,4: 14:[3, 38, 8] Operation: 90-82=8 Moving to Node #0,4 Current State: 14:[3, 38, 8], Operations: ['90-82=8'] Exploring Operation: 38-8=30, Resulting Numbers: [3, 30] Generated Node #0,4,0: 14:[3, 30] Operation: 38-8=30 Exploring Operation: 3+38=41, Resulting Numbers: [8, 41] Generated Node #0,4,1: 14:[8, 41] Operation: 3+38=41 Exploring Operation: 38-3=35, Resulting Numbers: [8, 35] Generated Node #0,4,2: 14:[8, 35] Operation: 38-3=35 Exploring Operation: 3+8=11, Resulting Numbers: [38, 11] Generated Node #0,4,3: 14:[38, 11] Operation: 3+8=11 Exploring Operation: 8-3=5, Resulting Numbers: [38, 5] Generated Node #0,4,4: 14:[38, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 14:[3, 30], Operations: ['90-82=8', '38-8=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 14:[8, 35], Operations: ['90-82=8', '38-3=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 14:[38, 5], Operations: ['90-82=8', '8-3=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 14:[38, 11], Operations: ['90-82=8', '3+8=11'] Exploring Operation: 38+11=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 38*11=418, Resulting Numbers: [418] 418,14 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 14:[8, 41], Operations: ['90-82=8', '3+38=41'] Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,14 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,14 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: 14:[90, 3, 44], Operations: ['82-38=44'] Exploring Operation: 90-3=87, Resulting Numbers: [44, 87] Generated Node #0,2,0: 14:[44, 87] Operation: 90-3=87 Exploring Operation: 90+3=93, Resulting Numbers: [44, 93] Generated Node #0,2,1: 14:[44, 93] Operation: 90+3=93 Exploring Operation: 90-44=46, Resulting Numbers: [3, 46] Generated Node #0,2,2: 14:[3, 46] Operation: 90-44=46 Exploring Operation: 90/3=30, Resulting Numbers: [44, 30] Generated Node #0,2,3: 14:[44, 30] Operation: 90/3=30 Exploring Operation: 44-3=41, Resulting Numbers: [90, 41] Generated Node #0,2,4: 14:[90, 41] Operation: 44-3=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[3, 46], Operations: ['82-38=44', '90-44=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,14 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[44, 30], Operations: ['82-38=44', '90/3=30'] Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,14 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,14 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[90, 3, 38, 82], Operations: [] Exploring Operation: 82-38=44, Resulting Numbers: [90, 3, 44] Generated Node #0,2: 14:[90, 3, 44] Operation: 82-38=44 Moving to Node #0,2 Current State: 14:[90, 3, 44], Operations: ['82-38=44'] Exploring Operation: 90/3=30, Resulting Numbers: [44, 30] Generated Node #0,2,3: 14:[44, 30] Operation: 90/3=30 Moving to Node #0,2,3 Current State: 14:[44, 30], Operations: ['82-38=44', '90/3=30'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 12, 98, 35, 58 ]
17
[ "12+98=110", "35+58=93", "110-93=17" ]
Current State: 17:[12, 98, 35, 58], Operations: [] Exploring Operation: 12+98=110, Resulting Numbers: [35, 58, 110] Generated Node #2: [35, 58, 110] from Operation: 12+98=110 Current State: 17:[35, 58, 110], Operations: ['12+98=110'] Exploring Operation: 35+58=93, Resulting Numbers: [110, 93] Generated Node #3: [110, 93] from Operation: 35+58=93 Current State: 17:[110, 93], Operations: ['12+98=110', '35+58=93'] Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[12, 98, 35, 58], Operations: [] Exploring Operation: 98-35=63, Resulting Numbers: [12, 58, 63] Generated Node #0,0: 17:[12, 58, 63] Operation: 98-35=63 Exploring Operation: 58-35=23, Resulting Numbers: [12, 98, 23] Generated Node #0,1: 17:[12, 98, 23] Operation: 58-35=23 Exploring Operation: 98-58=40, Resulting Numbers: [12, 35, 40] Generated Node #0,2: 17:[12, 35, 40] Operation: 98-58=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[12, 35, 40], Operations: ['98-58=40'] Exploring Operation: 40-12=28, Resulting Numbers: [35, 28] Generated Node #0,2,0: 17:[35, 28] Operation: 40-12=28 Exploring Operation: 35-12=23, Resulting Numbers: [40, 23] Generated Node #0,2,1: 17:[40, 23] Operation: 35-12=23 Exploring Operation: 40-35=5, Resulting Numbers: [12, 5] Generated Node #0,2,2: 17:[12, 5] Operation: 40-35=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[12, 5], Operations: ['98-58=40', '40-35=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[12, 98, 35, 58], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [12, 35, 40] Generated Node #0,2: 17:[12, 35, 40] Operation: 98-58=40 Moving to Node #0,2 Current State: 17:[12, 35, 40], Operations: ['98-58=40'] Exploring Operation: 40-35=5, Resulting Numbers: [12, 5] Generated Node #0,2,2: 17:[12, 5] Operation: 40-35=5 Moving to Node #0,2,2 Current State: 17:[12, 5], Operations: ['98-58=40', '40-35=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 11, 92, 11, 17 ]
75
[ "11+92=103", "11+17=28", "103-28=75" ]
Current State: 75:[11, 92, 11, 17], Operations: [] Exploring Operation: 11+92=103, Resulting Numbers: [17, 103] Generated Node #2: [17, 103] from Operation: 11+92=103 Current State: 75:[17, 103], Operations: ['11+92=103'] Exploring Operation: 11+17=28, Resulting Numbers: [103, 28] Generated Node #3: [103, 28] from Operation: 11+17=28 Current State: 75:[103, 28], Operations: ['11+92=103', '11+17=28'] Exploring Operation: 103-28=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[11, 92, 11, 17], Operations: [] Exploring Operation: 92-11=81, Resulting Numbers: [11, 17, 81] Generated Node #0,0: 75:[11, 17, 81] Operation: 92-11=81 Exploring Operation: 92-17=75, Resulting Numbers: [11, 11, 75] Generated Node #0,1: 75:[11, 11, 75] Operation: 92-17=75 Moving to Node #0,1 Current State: 75:[11, 11, 75], Operations: ['92-17=75'] Exploring Operation: 11/11=1, Resulting Numbers: [75, 1] Generated Node #0,1,0: 75:[75, 1] Operation: 11/11=1 Exploring Operation: 11+11=22, Resulting Numbers: [75, 22] Generated Node #0,1,1: 75:[75, 22] Operation: 11+11=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[75, 1], Operations: ['92-17=75', '11/11=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[11, 92, 11, 17], Operations: [] Exploring Operation: 92-17=75, Resulting Numbers: [11, 11, 75] Generated Node #0,1: 75:[11, 11, 75] Operation: 92-17=75 Moving to Node #0,1 Current State: 75:[11, 11, 75], Operations: ['92-17=75'] Exploring Operation: 11/11=1, Resulting Numbers: [75, 1] Generated Node #0,1,0: 75:[75, 1] Operation: 11/11=1 Moving to Node #0,1,0 Current State: 75:[75, 1], Operations: ['92-17=75', '11/11=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 81, 99, 6, 96 ]
11
[ "81+6=87", "96-87=9", "99/9=11" ]
Current State: 11:[81, 99, 6, 96], Operations: [] Exploring Operation: 81+6=87, Resulting Numbers: [99, 96, 87] Generated Node #2: [99, 96, 87] from Operation: 81+6=87 Current State: 11:[99, 96, 87], Operations: ['81+6=87'] Exploring Operation: 96-87=9, Resulting Numbers: [99, 9] Generated Node #3: [99, 9] from Operation: 96-87=9 Current State: 11:[99, 9], Operations: ['81+6=87', '96-87=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[81, 99, 6, 96], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [6, 96, 18] Generated Node #0,0: 11:[6, 96, 18] Operation: 99-81=18 Exploring Operation: 81-6=75, Resulting Numbers: [99, 96, 75] Generated Node #0,1: 11:[99, 96, 75] Operation: 81-6=75 Exploring Operation: 96-81=15, Resulting Numbers: [99, 6, 15] Generated Node #0,2: 11:[99, 6, 15] Operation: 96-81=15 Exploring Operation: 99-96=3, Resulting Numbers: [81, 6, 3] Generated Node #0,3: 11:[81, 6, 3] Operation: 99-96=3 Exploring Operation: 96/6=16, Resulting Numbers: [81, 99, 16] Generated Node #0,4: 11:[81, 99, 16] Operation: 96/6=16 Moving to Node #0,3 Current State: 11:[81, 6, 3], Operations: ['99-96=3'] Exploring Operation: 6+3=9, Resulting Numbers: [81, 9] Generated Node #0,3,0: 11:[81, 9] Operation: 6+3=9 Exploring Operation: 81-3=78, Resulting Numbers: [6, 78] Generated Node #0,3,1: 11:[6, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [6, 27] Generated Node #0,3,2: 11:[6, 27] Operation: 81/3=27 Exploring Operation: 6*3=18, Resulting Numbers: [81, 18] Generated Node #0,3,3: 11:[81, 18] Operation: 6*3=18 Exploring Operation: 81-6=75, Resulting Numbers: [3, 75] Generated Node #0,3,4: 11:[3, 75] Operation: 81-6=75 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[6, 27], Operations: ['99-96=3', '81/3=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,11 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[81, 9], Operations: ['99-96=3', '6+3=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,11 unequal: No Solution Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[6, 78], Operations: ['99-96=3', '81-3=78'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[3, 75], Operations: ['99-96=3', '81-6=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[81, 18], Operations: ['99-96=3', '6*3=18'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,11 unequal: No Solution Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 81*18=1458, Resulting Numbers: [1458] 1458,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[99, 6, 15], Operations: ['96-81=15'] Exploring Operation: 15-6=9, Resulting Numbers: [99, 9] Generated Node #0,2,0: 11:[99, 9] Operation: 15-6=9 Exploring Operation: 99-15=84, Resulting Numbers: [6, 84] Generated Node #0,2,1: 11:[6, 84] Operation: 99-15=84 Exploring Operation: 6+15=21, Resulting Numbers: [99, 21] Generated Node #0,2,2: 11:[99, 21] Operation: 6+15=21 Exploring Operation: 99+6=105, Resulting Numbers: [15, 105] Generated Node #0,2,3: 11:[15, 105] Operation: 99+6=105 Exploring Operation: 99-6=93, Resulting Numbers: [15, 93] Generated Node #0,2,4: 11:[15, 93] Operation: 99-6=93 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[6, 84], Operations: ['96-81=15', '99-15=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 6*84=504, Resulting Numbers: [504] 504,11 unequal: No Solution Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 11:[15, 93], Operations: ['96-81=15', '99-6=93'] Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,11 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[99, 9], Operations: ['96-81=15', '15-6=9'] Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[81, 99, 6, 96], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [99, 6, 15] Generated Node #0,2: 11:[99, 6, 15] Operation: 96-81=15 Moving to Node #0,2 Current State: 11:[99, 6, 15], Operations: ['96-81=15'] Exploring Operation: 15-6=9, Resulting Numbers: [99, 9] Generated Node #0,2,0: 11:[99, 9] Operation: 15-6=9 Moving to Node #0,2,0 Current State: 11:[99, 9], Operations: ['96-81=15', '15-6=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 12, 78, 37, 90 ]
37
[ "12+78=90", "37+90=127", "127-90=37" ]
Current State: 37:[12, 78, 37, 90], Operations: [] Exploring Operation: 12+78=90, Resulting Numbers: [37, 90, 90] Generated Node #2: [37, 90, 90] from Operation: 12+78=90 Current State: 37:[37, 90, 90], Operations: ['12+78=90'] Exploring Operation: 37+90=127, Resulting Numbers: [127] 127,37 equal: Goal Reached Exploring Operation: 127-90=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[12, 78, 37, 90], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [37, 90, 66] Generated Node #0,0: 37:[37, 90, 66] Operation: 78-12=66 Exploring Operation: 90-78=12, Resulting Numbers: [12, 37, 12] Generated Node #0,1: 37:[12, 37, 12] Operation: 90-78=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[12, 37, 12], Operations: ['90-78=12'] Exploring Operation: 12+12=24, Resulting Numbers: [37, 24] Generated Node #0,1,0: 37:[37, 24] Operation: 12+12=24 Exploring Operation: 12/12=1, Resulting Numbers: [37, 1] Generated Node #0,1,1: 37:[37, 1] Operation: 12/12=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[37, 24], Operations: ['90-78=12', '12+12=24'] Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[37, 1], Operations: ['90-78=12', '12/12=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[12, 78, 37, 90], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [12, 37, 12] Generated Node #0,1: 37:[12, 37, 12] Operation: 90-78=12 Moving to Node #0,1 Current State: 37:[12, 37, 12], Operations: ['90-78=12'] Exploring Operation: 12/12=1, Resulting Numbers: [37, 1] Generated Node #0,1,1: 37:[37, 1] Operation: 12/12=1 Moving to Node #0,1,1 Current State: 37:[37, 1], Operations: ['90-78=12', '12/12=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 71, 19, 80, 21 ]
62
[ "21-19=2", "71*2=142", "142-80=62" ]
Current State: 62:[71, 19, 80, 21], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [71, 80, 2] Generated Node #2: [71, 80, 2] from Operation: 21-19=2 Current State: 62:[71, 80, 2], Operations: ['21-19=2'] Exploring Operation: 71*2=142, Resulting Numbers: [80, 142] Generated Node #3: [80, 142] from Operation: 71*2=142 Current State: 62:[80, 142], Operations: ['21-19=2', '71*2=142'] Exploring Operation: 142-80=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[71, 19, 80, 21], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [71, 21, 61] Generated Node #0,0: 62:[71, 21, 61] Operation: 80-19=61 Exploring Operation: 21-19=2, Resulting Numbers: [71, 80, 2] Generated Node #0,1: 62:[71, 80, 2] Operation: 21-19=2 Exploring Operation: 80-21=59, Resulting Numbers: [71, 19, 59] Generated Node #0,2: 62:[71, 19, 59] Operation: 80-21=59 Exploring Operation: 80-71=9, Resulting Numbers: [19, 21, 9] Generated Node #0,3: 62:[19, 21, 9] Operation: 80-71=9 Exploring Operation: 19+21=40, Resulting Numbers: [71, 80, 40] Generated Node #0,4: 62:[71, 80, 40] Operation: 19+21=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[71, 21, 61], Operations: ['80-19=61'] Exploring Operation: 71+21=92, Resulting Numbers: [61, 92] Generated Node #0,0,0: 62:[61, 92] Operation: 71+21=92 Exploring Operation: 71-61=10, Resulting Numbers: [21, 10] Generated Node #0,0,1: 62:[21, 10] Operation: 71-61=10 Exploring Operation: 71-21=50, Resulting Numbers: [61, 50] Generated Node #0,0,2: 62:[61, 50] Operation: 71-21=50 Exploring Operation: 21+61=82, Resulting Numbers: [71, 82] Generated Node #0,0,3: 62:[71, 82] Operation: 21+61=82 Exploring Operation: 61-21=40, Resulting Numbers: [71, 40] Generated Node #0,0,4: 62:[71, 40] Operation: 61-21=40 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[61, 50], Operations: ['80-19=61', '71-21=50'] Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 61*50=3050, Resulting Numbers: [3050] 3050,62 unequal: No Solution Exploring Operation: 61+50=111, Resulting Numbers: [111] 111,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[21, 10], Operations: ['80-19=61', '71-61=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,62 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[71, 40], Operations: ['80-19=61', '61-21=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,62 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[71, 82], Operations: ['80-19=61', '21+61=82'] Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,62 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[61, 92], Operations: ['80-19=61', '71+21=92'] Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 61*92=5612, Resulting Numbers: [5612] 5612,62 unequal: No Solution Exploring Operation: 61+92=153, Resulting Numbers: [153] 153,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[71, 19, 59], Operations: ['80-21=59'] Exploring Operation: 59-19=40, Resulting Numbers: [71, 40] Generated Node #0,2,0: 62:[71, 40] Operation: 59-19=40 Exploring Operation: 71-19=52, Resulting Numbers: [59, 52] Generated Node #0,2,1: 62:[59, 52] Operation: 71-19=52 Exploring Operation: 71+19=90, Resulting Numbers: [59, 90] Generated Node #0,2,2: 62:[59, 90] Operation: 71+19=90 Exploring Operation: 19+59=78, Resulting Numbers: [71, 78] Generated Node #0,2,3: 62:[71, 78] Operation: 19+59=78 Exploring Operation: 71-59=12, Resulting Numbers: [19, 12] Generated Node #0,2,4: 62:[19, 12] Operation: 71-59=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[59, 52], Operations: ['80-21=59', '71-19=52'] Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[71, 40], Operations: ['80-21=59', '59-19=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,62 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 62:[19, 12], Operations: ['80-21=59', '71-59=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,62 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[71, 78], Operations: ['80-21=59', '19+59=78'] Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,62 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[59, 90], Operations: ['80-21=59', '71+19=90'] Exploring Operation: 59+90=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 59*90=5310, Resulting Numbers: [5310] 5310,62 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[71, 80, 2], Operations: ['21-19=2'] Exploring Operation: 71-2=69, Resulting Numbers: [80, 69] Generated Node #0,1,0: 62:[80, 69] Operation: 71-2=69 Exploring Operation: 80-2=78, Resulting Numbers: [71, 78] Generated Node #0,1,1: 62:[71, 78] Operation: 80-2=78 Exploring Operation: 71+2=73, Resulting Numbers: [80, 73] Generated Node #0,1,2: 62:[80, 73] Operation: 71+2=73 Exploring Operation: 80-71=9, Resulting Numbers: [2, 9] Generated Node #0,1,3: 62:[2, 9] Operation: 80-71=9 Exploring Operation: 80/2=40, Resulting Numbers: [71, 40] Generated Node #0,1,4: 62:[71, 40] Operation: 80/2=40 Moving to Node #0,1,3 Current State: 62:[2, 9], Operations: ['21-19=2', '80-71=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[71, 40], Operations: ['21-19=2', '80/2=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,62 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[80, 69], Operations: ['21-19=2', '71-2=69'] Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[71, 78], Operations: ['21-19=2', '80-2=78'] Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,62 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[80, 73], Operations: ['21-19=2', '71+2=73'] Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,62 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,62 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[19, 21, 9], Operations: ['80-71=9'] Exploring Operation: 21-19=2, Resulting Numbers: [9, 2] Generated Node #0,3,0: 62:[9, 2] Operation: 21-19=2 Exploring Operation: 19+21=40, Resulting Numbers: [9, 40] Generated Node #0,3,1: 62:[9, 40] Operation: 19+21=40 Exploring Operation: 21+9=30, Resulting Numbers: [19, 30] Generated Node #0,3,2: 62:[19, 30] Operation: 21+9=30 Exploring Operation: 19+9=28, Resulting Numbers: [21, 28] Generated Node #0,3,3: 62:[21, 28] Operation: 19+9=28 Exploring Operation: 19-9=10, Resulting Numbers: [21, 10] Generated Node #0,3,4: 62:[21, 10] Operation: 19-9=10 Moving to Node #0,3,0 Current State: 62:[9, 2], Operations: ['80-71=9', '21-19=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[21, 28], Operations: ['80-71=9', '19+9=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 21*28=588, Resulting Numbers: [588] 588,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[19, 30], Operations: ['80-71=9', '21+9=30'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,62 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[9, 40], Operations: ['80-71=9', '19+21=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[21, 10], Operations: ['80-71=9', '19-9=10'] Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,62 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,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,4 Current State: 62:[71, 80, 40], Operations: ['19+21=40'] Exploring Operation: 71-40=31, Resulting Numbers: [80, 31] Generated Node #0,4,0: 62:[80, 31] Operation: 71-40=31 Exploring Operation: 80-40=40, Resulting Numbers: [71, 40] Generated Node #0,4,1: 62:[71, 40] Operation: 80-40=40 Exploring Operation: 71+40=111, Resulting Numbers: [80, 111] Generated Node #0,4,2: 62:[80, 111] Operation: 71+40=111 Exploring Operation: 80-71=9, Resulting Numbers: [40, 9] Generated Node #0,4,3: 62:[40, 9] Operation: 80-71=9 Exploring Operation: 80/40=2, Resulting Numbers: [71, 2] Generated Node #0,4,4: 62:[71, 2] Operation: 80/40=2 Moving to Node #0,4,4 Current State: 62:[71, 2], Operations: ['19+21=40', '80/40=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,62 unequal: No Solution Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[40, 9], Operations: ['19+21=40', '80-71=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,62 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,62 unequal: No Solution Moving to Node #0,4,0 Current State: 62:[80, 31], Operations: ['19+21=40', '71-40=31'] Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,62 unequal: No Solution Moving to Node #0,4,1 Current State: 62:[71, 40], Operations: ['19+21=40', '80-40=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,62 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[80, 111], Operations: ['19+21=40', '71+40=111'] Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 80*111=8880, Resulting Numbers: [8880] 8880,62 unequal: No Solution Exploring Operation: 80+111=191, Resulting Numbers: [191] 191,62 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
[ 92, 13, 4, 18 ]
83
[ "92+13=105", "4+18=22", "105-22=83" ]
Current State: 83:[92, 13, 4, 18], Operations: [] Exploring Operation: 92+13=105, Resulting Numbers: [4, 18, 105] Generated Node #2: [4, 18, 105] from Operation: 92+13=105 Current State: 83:[4, 18, 105], Operations: ['92+13=105'] Exploring Operation: 4+18=22, Resulting Numbers: [105, 22] Generated Node #3: [105, 22] from Operation: 4+18=22 Current State: 83:[105, 22], Operations: ['92+13=105', '4+18=22'] Exploring Operation: 105-22=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[92, 13, 4, 18], Operations: [] Exploring Operation: 4*18=72, Resulting Numbers: [92, 13, 72] Generated Node #0,0: 83:[92, 13, 72] Operation: 4*18=72 Moving to Node #0,0 Current State: 83:[92, 13, 72], Operations: ['4*18=72'] Exploring Operation: 13+72=85, Resulting Numbers: [92, 85] Generated Node #0,0,0: 83:[92, 85] Operation: 13+72=85 Moving to Node #0,0,0 Current State: 83:[92, 85], Operations: ['4*18=72', '13+72=85'] Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,83 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 72, 10, 45 ]
25
[ "72-54=18", "10*45=450", "450/18=25" ]
Current State: 25:[54, 72, 10, 45], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [10, 45, 18] Generated Node #2: [10, 45, 18] from Operation: 72-54=18 Current State: 25:[10, 45, 18], Operations: ['72-54=18'] Exploring Operation: 10*45=450, Resulting Numbers: [18, 450] Generated Node #3: [18, 450] from Operation: 10*45=450 Current State: 25:[18, 450], Operations: ['72-54=18', '10*45=450'] Exploring Operation: 450/18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[54, 72, 10, 45], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [54, 10, 27] Generated Node #0,0: 25:[54, 10, 27] Operation: 72-45=27 Exploring Operation: 72-54=18, Resulting Numbers: [10, 45, 18] Generated Node #0,1: 25:[10, 45, 18] Operation: 72-54=18 Exploring Operation: 54-45=9, Resulting Numbers: [72, 10, 9] Generated Node #0,2: 25:[72, 10, 9] Operation: 54-45=9 Moving to Node #0,1 Current State: 25:[10, 45, 18], Operations: ['72-54=18'] Exploring Operation: 10+18=28, Resulting Numbers: [45, 28] Generated Node #0,1,0: 25:[45, 28] Operation: 10+18=28 Exploring Operation: 45-18=27, Resulting Numbers: [10, 27] Generated Node #0,1,1: 25:[10, 27] Operation: 45-18=27 Exploring Operation: 45-10=35, Resulting Numbers: [18, 35] Generated Node #0,1,2: 25:[18, 35] Operation: 45-10=35 Moving to Node #0,0 Current State: 25:[54, 10, 27], Operations: ['72-45=27'] Exploring Operation: 54-27=27, Resulting Numbers: [10, 27] Generated Node #0,0,0: 25:[10, 27] Operation: 54-27=27 Exploring Operation: 54-10=44, Resulting Numbers: [27, 44] Generated Node #0,0,1: 25:[27, 44] Operation: 54-10=44 Exploring Operation: 54/27=2, Resulting Numbers: [10, 2] Generated Node #0,0,2: 25:[10, 2] Operation: 54/27=2 Moving to Node #0,2 Current State: 25:[72, 10, 9], Operations: ['54-45=9'] Exploring Operation: 72/9=8, Resulting Numbers: [10, 8] Generated Node #0,2,0: 25:[10, 8] Operation: 72/9=8 Exploring Operation: 72-9=63, Resulting Numbers: [10, 63] Generated Node #0,2,1: 25:[10, 63] Operation: 72-9=63 Exploring Operation: 72-10=62, Resulting Numbers: [9, 62] Generated Node #0,2,2: 25:[9, 62] Operation: 72-10=62 Moving to Node #0,1,1 Current State: 25:[10, 27], Operations: ['72-54=18', '45-18=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,25 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[10, 27], Operations: ['72-45=27', '54-27=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,25 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[10, 8], Operations: ['54-45=9', '72/9=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[10, 2], Operations: ['72-45=27', '54/27=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[18, 35], Operations: ['72-54=18', '45-10=35'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,25 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[27, 44], Operations: ['72-45=27', '54-10=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[45, 28], Operations: ['72-54=18', '10+18=28'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,25 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[9, 62], Operations: ['54-45=9', '72-10=62'] Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,25 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[10, 63], Operations: ['54-45=9', '72-9=63'] Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,25 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,25 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 82, 80, 84, 67 ]
54
[ "84-82=2", "67*2=134", "134-80=54" ]
Current State: 54:[82, 80, 84, 67], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [80, 67, 2] Generated Node #2: [80, 67, 2] from Operation: 84-82=2 Current State: 54:[80, 67, 2], Operations: ['84-82=2'] Exploring Operation: 67*2=134, Resulting Numbers: [80, 134] Generated Node #3: [80, 134] from Operation: 67*2=134 Current State: 54:[80, 134], Operations: ['84-82=2', '67*2=134'] Exploring Operation: 134-80=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[82, 80, 84, 67], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [80, 67, 2] Generated Node #0,0: 54:[80, 67, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[80, 67, 2], Operations: ['84-82=2'] Exploring Operation: 80-67=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 54:[2, 13] Operation: 80-67=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[2, 13], Operations: ['84-82=2', '80-67=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,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_1
mult_heuristic
[ 19, 66, 24, 9 ]
100
[ "19+66=85", "24-9=15", "85+15=100" ]
Current State: 100:[19, 66, 24, 9], Operations: [] Exploring Operation: 19+66=85, Resulting Numbers: [24, 9, 85] Generated Node #2: [24, 9, 85] from Operation: 19+66=85 Current State: 100:[24, 9, 85], Operations: ['19+66=85'] Exploring Operation: 24-9=15, Resulting Numbers: [85, 15] Generated Node #3: [85, 15] from Operation: 24-9=15 Current State: 100:[85, 15], Operations: ['19+66=85', '24-9=15'] Exploring Operation: 85+15=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[19, 66, 24, 9], Operations: [] Exploring Operation: 19+66=85, Resulting Numbers: [24, 9, 85] Generated Node #0,0: 100:[24, 9, 85] Operation: 19+66=85 Exploring Operation: 66+24=90, Resulting Numbers: [19, 9, 90] Generated Node #0,1: 100:[19, 9, 90] Operation: 66+24=90 Exploring Operation: 66-19=47, Resulting Numbers: [24, 9, 47] Generated Node #0,2: 100:[24, 9, 47] Operation: 66-19=47 Exploring Operation: 66-9=57, Resulting Numbers: [19, 24, 57] Generated Node #0,3: 100:[19, 24, 57] Operation: 66-9=57 Exploring Operation: 66-24=42, Resulting Numbers: [19, 9, 42] Generated Node #0,4: 100:[19, 9, 42] Operation: 66-24=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[24, 9, 47], Operations: ['66-19=47'] Exploring Operation: 24+9=33, Resulting Numbers: [47, 33] Generated Node #0,2,0: 100:[47, 33] Operation: 24+9=33 Exploring Operation: 24-9=15, Resulting Numbers: [47, 15] Generated Node #0,2,1: 100:[47, 15] Operation: 24-9=15 Exploring Operation: 47-9=38, Resulting Numbers: [24, 38] Generated Node #0,2,2: 100:[24, 38] Operation: 47-9=38 Exploring Operation: 9+47=56, Resulting Numbers: [24, 56] Generated Node #0,2,3: 100:[24, 56] Operation: 9+47=56 Exploring Operation: 47-24=23, Resulting Numbers: [9, 23] Generated Node #0,2,4: 100:[9, 23] Operation: 47-24=23 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 100:[9, 23], Operations: ['66-19=47', '47-24=23'] Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,100 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 100:[24, 56], Operations: ['66-19=47', '9+47=56'] Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,100 unequal: No Solution Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,100 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[47, 15], Operations: ['66-19=47', '24-9=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,100 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[47, 33], Operations: ['66-19=47', '24+9=33'] Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,100 unequal: No Solution Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,100 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[24, 38], Operations: ['66-19=47', '47-9=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,100 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,100 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: 100:[19, 24, 57], Operations: ['66-9=57'] Exploring Operation: 57/19=3, Resulting Numbers: [24, 3] Generated Node #0,3,0: 100:[24, 3] Operation: 57/19=3 Exploring Operation: 24-19=5, Resulting Numbers: [57, 5] Generated Node #0,3,1: 100:[57, 5] Operation: 24-19=5 Exploring Operation: 19+24=43, Resulting Numbers: [57, 43] Generated Node #0,3,2: 100:[57, 43] Operation: 19+24=43 Exploring Operation: 57-24=33, Resulting Numbers: [19, 33] Generated Node #0,3,3: 100:[19, 33] Operation: 57-24=33 Exploring Operation: 57-19=38, Resulting Numbers: [24, 38] Generated Node #0,3,4: 100:[24, 38] Operation: 57-19=38 Moving to Node #0,3,0 Current State: 100:[24, 3], Operations: ['66-9=57', '57/19=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[57, 5], Operations: ['66-9=57', '24-19=5'] Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[19, 33], Operations: ['66-9=57', '57-24=33'] Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[24, 38], Operations: ['66-9=57', '57-19=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[57, 43], Operations: ['66-9=57', '19+24=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[19, 66, 24, 9], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [19, 24, 57] Generated Node #0,3: 100:[19, 24, 57] Operation: 66-9=57 Moving to Node #0,3 Current State: 100:[19, 24, 57], Operations: ['66-9=57'] Exploring Operation: 19+24=43, Resulting Numbers: [57, 43] Generated Node #0,3,2: 100:[57, 43] Operation: 19+24=43 Moving to Node #0,3,2 Current State: 100:[57, 43], Operations: ['66-9=57', '19+24=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
sum_heuristic
[ 5, 82, 93, 84 ]
96
[ "5+82=87", "93-84=9", "87+9=96" ]
Current State: 96:[5, 82, 93, 84], Operations: [] Exploring Operation: 5+82=87, Resulting Numbers: [93, 84, 87] Generated Node #2: [93, 84, 87] from Operation: 5+82=87 Current State: 96:[93, 84, 87], Operations: ['5+82=87'] Exploring Operation: 93-84=9, Resulting Numbers: [87, 9] Generated Node #3: [87, 9] from Operation: 93-84=9 Current State: 96:[87, 9], Operations: ['5+82=87', '93-84=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[5, 82, 93, 84], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [5, 82, 9] Generated Node #0,0: 96:[5, 82, 9] Operation: 93-84=9 Exploring Operation: 93-82=11, Resulting Numbers: [5, 84, 11] Generated Node #0,1: 96:[5, 84, 11] Operation: 93-82=11 Exploring Operation: 5+82=87, Resulting Numbers: [93, 84, 87] Generated Node #0,2: 96:[93, 84, 87] Operation: 5+82=87 Exploring Operation: 84-82=2, Resulting Numbers: [5, 93, 2] Generated Node #0,3: 96:[5, 93, 2] Operation: 84-82=2 Moving to Node #0,3 Current State: 96:[5, 93, 2], Operations: ['84-82=2'] Exploring Operation: 93+2=95, Resulting Numbers: [5, 95] Generated Node #0,3,0: 96:[5, 95] Operation: 93+2=95 Exploring Operation: 5+2=7, Resulting Numbers: [93, 7] Generated Node #0,3,1: 96:[93, 7] Operation: 5+2=7 Exploring Operation: 5+93=98, Resulting Numbers: [2, 98] Generated Node #0,3,2: 96:[2, 98] Operation: 5+93=98 Exploring Operation: 5-2=3, Resulting Numbers: [93, 3] Generated Node #0,3,3: 96:[93, 3] Operation: 5-2=3 Moving to Node #0,1 Current State: 96:[5, 84, 11], Operations: ['93-82=11'] Exploring Operation: 5+11=16, Resulting Numbers: [84, 16] Generated Node #0,1,0: 96:[84, 16] Operation: 5+11=16 Exploring Operation: 5+84=89, Resulting Numbers: [11, 89] Generated Node #0,1,1: 96:[11, 89] Operation: 5+84=89 Exploring Operation: 11-5=6, Resulting Numbers: [84, 6] Generated Node #0,1,2: 96:[84, 6] Operation: 11-5=6 Exploring Operation: 84+11=95, Resulting Numbers: [5, 95] Generated Node #0,1,3: 96:[5, 95] Operation: 84+11=95 Moving to Node #0,0 Current State: 96:[5, 82, 9], Operations: ['93-84=9'] Exploring Operation: 5+82=87, Resulting Numbers: [9, 87] Generated Node #0,0,0: 96:[9, 87] Operation: 5+82=87 Exploring Operation: 5+9=14, Resulting Numbers: [82, 14] Generated Node #0,0,1: 96:[82, 14] Operation: 5+9=14 Exploring Operation: 9-5=4, Resulting Numbers: [82, 4] Generated Node #0,0,2: 96:[82, 4] Operation: 9-5=4 Exploring Operation: 82+9=91, Resulting Numbers: [5, 91] Generated Node #0,0,3: 96:[5, 91] Operation: 82+9=91 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[5, 91], Operations: ['93-84=9', '82+9=91'] Exploring Operation: 5*91=455, Resulting Numbers: [455] 455,96 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,96 unequal: No Solution Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[5, 82, 93, 84], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [5, 82, 9] Generated Node #0,0: 96:[5, 82, 9] Operation: 93-84=9 Moving to Node #0,0 Current State: 96:[5, 82, 9], Operations: ['93-84=9'] Exploring Operation: 82+9=91, Resulting Numbers: [5, 91] Generated Node #0,0,3: 96:[5, 91] Operation: 82+9=91 Moving to Node #0,0,3 Current State: 96:[5, 91], Operations: ['93-84=9', '82+9=91'] Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 17, 65, 27, 39 ]
17
[ "65-27=38", "39-38=1", "17*1=17" ]
Current State: 17:[17, 65, 27, 39], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [17, 39, 38] Generated Node #2: [17, 39, 38] from Operation: 65-27=38 Current State: 17:[17, 39, 38], Operations: ['65-27=38'] Exploring Operation: 39-38=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 39-38=1 Current State: 17:[17, 1], Operations: ['65-27=38', '39-38=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[17, 65, 27, 39], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [17, 27, 26] Generated Node #0,0: 17:[17, 27, 26] Operation: 65-39=26 Exploring Operation: 65-27=38, Resulting Numbers: [17, 39, 38] Generated Node #0,1: 17:[17, 39, 38] Operation: 65-27=38 Moving to Node #0,0 Current State: 17:[17, 27, 26], Operations: ['65-39=26'] Exploring Operation: 27-26=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 17:[17, 1] Operation: 27-26=1 Exploring Operation: 27-17=10, Resulting Numbers: [26, 10] Generated Node #0,0,1: 17:[26, 10] Operation: 27-17=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[17, 1], Operations: ['65-39=26', '27-26=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[17, 65, 27, 39], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [17, 27, 26] Generated Node #0,0: 17:[17, 27, 26] Operation: 65-39=26 Moving to Node #0,0 Current State: 17:[17, 27, 26], Operations: ['65-39=26'] Exploring Operation: 27-26=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 17:[17, 1] Operation: 27-26=1 Moving to Node #0,0,0 Current State: 17:[17, 1], Operations: ['65-39=26', '27-26=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 81, 24, 1, 3 ]
10
[ "81+1=82", "24*3=72", "82-72=10" ]
Current State: 10:[81, 24, 1, 3], Operations: [] Exploring Operation: 81+1=82, Resulting Numbers: [24, 3, 82] Generated Node #2: [24, 3, 82] from Operation: 81+1=82 Current State: 10:[24, 3, 82], Operations: ['81+1=82'] Exploring Operation: 24*3=72, Resulting Numbers: [82, 72] Generated Node #3: [82, 72] from Operation: 24*3=72 Current State: 10:[82, 72], Operations: ['81+1=82', '24*3=72'] Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[81, 24, 1, 3], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [81, 1, 8] Generated Node #0,0: 10:[81, 1, 8] Operation: 24/3=8 Exploring Operation: 81/3=27, Resulting Numbers: [24, 1, 27] Generated Node #0,1: 10:[24, 1, 27] Operation: 81/3=27 Exploring Operation: 81-24=57, Resulting Numbers: [1, 3, 57] Generated Node #0,2: 10:[1, 3, 57] Operation: 81-24=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[24, 1, 27], Operations: ['81/3=27'] Exploring Operation: 27-24=3, Resulting Numbers: [1, 3] Generated Node #0,1,0: 10:[1, 3] Operation: 27-24=3 Exploring Operation: 27-1=26, Resulting Numbers: [24, 26] Generated Node #0,1,1: 10:[24, 26] Operation: 27-1=26 Exploring Operation: 24-1=23, Resulting Numbers: [27, 23] Generated Node #0,1,2: 10:[27, 23] Operation: 24-1=23 Moving to Node #0,1,0 Current State: 10:[1, 3], Operations: ['81/3=27', '27-24=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[24, 26], Operations: ['81/3=27', '27-1=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[27, 23], Operations: ['81/3=27', '24-1=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,10 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[1, 3, 57], Operations: ['81-24=57'] Exploring Operation: 57/3=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 10:[1, 19] Operation: 57/3=19 Exploring Operation: 3-1=2, Resulting Numbers: [57, 2] Generated Node #0,2,1: 10:[57, 2] Operation: 3-1=2 Exploring Operation: 57-3=54, Resulting Numbers: [1, 54] Generated Node #0,2,2: 10:[1, 54] Operation: 57-3=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[1, 19], Operations: ['81-24=57', '57/3=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[1, 54], Operations: ['81-24=57', '57-3=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[57, 2], Operations: ['81-24=57', '3-1=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,10 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[81, 1, 8], Operations: ['24/3=8'] Exploring Operation: 81-8=73, Resulting Numbers: [1, 73] Generated Node #0,0,0: 10:[1, 73] Operation: 81-8=73 Exploring Operation: 81-1=80, Resulting Numbers: [8, 80] Generated Node #0,0,1: 10:[8, 80] Operation: 81-1=80 Exploring Operation: 1+8=9, Resulting Numbers: [81, 9] Generated Node #0,0,2: 10:[81, 9] Operation: 1+8=9 Moving to Node #0,0,0 Current State: 10:[1, 73], Operations: ['24/3=8', '81-8=73'] Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[8, 80], Operations: ['24/3=8', '81-1=80'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[81, 24, 1, 3], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [81, 1, 8] Generated Node #0,0: 10:[81, 1, 8] Operation: 24/3=8 Moving to Node #0,0 Current State: 10:[81, 1, 8], Operations: ['24/3=8'] Exploring Operation: 81-1=80, Resulting Numbers: [8, 80] Generated Node #0,0,1: 10:[8, 80] Operation: 81-1=80 Moving to Node #0,0,1 Current State: 10:[8, 80], Operations: ['24/3=8', '81-1=80'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_3
mult_heuristic
[ 67, 92, 86, 39 ]
72
[ "92-67=25", "86-39=47", "25+47=72" ]
Current State: 72:[67, 92, 86, 39], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [86, 39, 25] Generated Node #2: [86, 39, 25] from Operation: 92-67=25 Current State: 72:[86, 39, 25], Operations: ['92-67=25'] Exploring Operation: 86-39=47, Resulting Numbers: [25, 47] Generated Node #3: [25, 47] from Operation: 86-39=47 Current State: 72:[25, 47], Operations: ['92-67=25', '86-39=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[67, 92, 86, 39], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [67, 39, 6] Generated Node #0,0: 72:[67, 39, 6] Operation: 92-86=6 Exploring Operation: 86-67=19, Resulting Numbers: [92, 39, 19] Generated Node #0,1: 72:[92, 39, 19] Operation: 86-67=19 Exploring Operation: 92-67=25, Resulting Numbers: [86, 39, 25] Generated Node #0,2: 72:[86, 39, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 72:[67, 39, 6], Operations: ['92-86=6'] Exploring Operation: 39-6=33, Resulting Numbers: [67, 33] Generated Node #0,0,0: 72:[67, 33] Operation: 39-6=33 Exploring Operation: 67-39=28, Resulting Numbers: [6, 28] Generated Node #0,0,1: 72:[6, 28] Operation: 67-39=28 Exploring Operation: 67+6=73, Resulting Numbers: [39, 73] Generated Node #0,0,2: 72:[39, 73] Operation: 67+6=73 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[6, 28], Operations: ['92-86=6', '67-39=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,72 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,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,0,2 Current State: 72:[39, 73], Operations: ['92-86=6', '67+6=73'] Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,72 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,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,0,0 Current State: 72:[67, 33], Operations: ['92-86=6', '39-6=33'] Exploring Operation: 67*33=2211, Resulting Numbers: [2211] 2211,72 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 67+33=100, Resulting Numbers: [100] 100,72 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: 72:[86, 39, 25], Operations: ['92-67=25'] Exploring Operation: 39-25=14, Resulting Numbers: [86, 14] Generated Node #0,2,0: 72:[86, 14] Operation: 39-25=14 Exploring Operation: 86-25=61, Resulting Numbers: [39, 61] Generated Node #0,2,1: 72:[39, 61] Operation: 86-25=61 Exploring Operation: 86-39=47, Resulting Numbers: [25, 47] Generated Node #0,2,2: 72:[25, 47] Operation: 86-39=47 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[25, 47], Operations: ['92-67=25', '86-39=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,72 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[67, 92, 86, 39], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [86, 39, 25] Generated Node #0,2: 72:[86, 39, 25] Operation: 92-67=25 Moving to Node #0,2 Current State: 72:[86, 39, 25], Operations: ['92-67=25'] Exploring Operation: 86-39=47, Resulting Numbers: [25, 47] Generated Node #0,2,2: 72:[25, 47] Operation: 86-39=47 Moving to Node #0,2,2 Current State: 72:[25, 47], Operations: ['92-67=25', '86-39=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 65, 11, 66, 62 ]
33
[ "65-62=3", "11*3=33", "66-33=33" ]
Current State: 33:[65, 11, 66, 62], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [11, 66, 3] Generated Node #2: [11, 66, 3] from Operation: 65-62=3 Current State: 33:[11, 66, 3], Operations: ['65-62=3'] Exploring Operation: 11*3=33, Resulting Numbers: [66, 33] Generated Node #3: [66, 33] from Operation: 11*3=33 Current State: 33:[66, 33], Operations: ['65-62=3', '11*3=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[65, 11, 66, 62], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [11, 66, 3] Generated Node #0,0: 33:[11, 66, 3] Operation: 65-62=3 Exploring Operation: 66-62=4, Resulting Numbers: [65, 11, 4] Generated Node #0,1: 33:[65, 11, 4] Operation: 66-62=4 Exploring Operation: 66-65=1, Resulting Numbers: [11, 62, 1] Generated Node #0,2: 33:[11, 62, 1] Operation: 66-65=1 Moving to Node #0,2 Current State: 33:[11, 62, 1], Operations: ['66-65=1'] Exploring Operation: 62-11=51, Resulting Numbers: [1, 51] Generated Node #0,2,0: 33:[1, 51] Operation: 62-11=51 Exploring Operation: 11*1=11, Resulting Numbers: [62, 11] Generated Node #0,2,1: 33:[62, 11] Operation: 11*1=11 Exploring Operation: 62-1=61, Resulting Numbers: [11, 61] Generated Node #0,2,2: 33:[11, 61] Operation: 62-1=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[1, 51], Operations: ['66-65=1', '62-11=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[11, 61], Operations: ['66-65=1', '62-1=61'] Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,33 unequal: No Solution Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,33 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[62, 11], Operations: ['66-65=1', '11*1=11'] Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,33 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,33 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: 33:[11, 66, 3], Operations: ['65-62=3'] Exploring Operation: 66/11=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 33:[3, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [3, 55] Generated Node #0,0,1: 33:[3, 55] Operation: 66-11=55 Exploring Operation: 66/3=22, Resulting Numbers: [11, 22] Generated Node #0,0,2: 33:[11, 22] Operation: 66/3=22 Moving to Node #0,1 Current State: 33:[65, 11, 4], Operations: ['66-62=4'] Exploring Operation: 65+4=69, Resulting Numbers: [11, 69] Generated Node #0,1,0: 33:[11, 69] Operation: 65+4=69 Exploring Operation: 65-4=61, Resulting Numbers: [11, 61] Generated Node #0,1,1: 33:[11, 61] Operation: 65-4=61 Exploring Operation: 65-11=54, Resulting Numbers: [4, 54] Generated Node #0,1,2: 33:[4, 54] Operation: 65-11=54 Moving to Node #0,0,0 Current State: 33:[3, 6], Operations: ['65-62=3', '66/11=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[11, 22], Operations: ['65-62=3', '66/3=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[65, 11, 66, 62], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [11, 66, 3] Generated Node #0,0: 33:[11, 66, 3] Operation: 65-62=3 Moving to Node #0,0 Current State: 33:[11, 66, 3], Operations: ['65-62=3'] Exploring Operation: 66/3=22, Resulting Numbers: [11, 22] Generated Node #0,0,2: 33:[11, 22] Operation: 66/3=22 Moving to Node #0,0,2 Current State: 33:[11, 22], Operations: ['65-62=3', '66/3=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 73, 3, 81, 51 ]
97
[ "73+51=124", "81/3=27", "124-27=97" ]
Current State: 97:[73, 3, 81, 51], Operations: [] Exploring Operation: 73+51=124, Resulting Numbers: [3, 81, 124] Generated Node #2: [3, 81, 124] from Operation: 73+51=124 Current State: 97:[3, 81, 124], Operations: ['73+51=124'] Exploring Operation: 81/3=27, Resulting Numbers: [124, 27] Generated Node #3: [124, 27] from Operation: 81/3=27 Current State: 97:[124, 27], Operations: ['73+51=124', '81/3=27'] Exploring Operation: 124-27=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[73, 3, 81, 51], Operations: [] Exploring Operation: 3+81=84, Resulting Numbers: [73, 51, 84] Generated Node #0,0: 97:[73, 51, 84] Operation: 3+81=84 Exploring Operation: 3+51=54, Resulting Numbers: [73, 81, 54] Generated Node #0,1: 97:[73, 81, 54] Operation: 3+51=54 Exploring Operation: 73-3=70, Resulting Numbers: [81, 51, 70] Generated Node #0,2: 97:[81, 51, 70] Operation: 73-3=70 Exploring Operation: 73+3=76, Resulting Numbers: [81, 51, 76] Generated Node #0,3: 97:[81, 51, 76] Operation: 73+3=76 Moving to Node #0,0 Current State: 97:[73, 51, 84], Operations: ['3+81=84'] Exploring Operation: 51+84=135, Resulting Numbers: [73, 135] Generated Node #0,0,0: 97:[73, 135] Operation: 51+84=135 Exploring Operation: 73+51=124, Resulting Numbers: [84, 124] Generated Node #0,0,1: 97:[84, 124] Operation: 73+51=124 Exploring Operation: 73-51=22, Resulting Numbers: [84, 22] Generated Node #0,0,2: 97:[84, 22] Operation: 73-51=22 Exploring Operation: 84-51=33, Resulting Numbers: [73, 33] Generated Node #0,0,3: 97:[73, 33] Operation: 84-51=33 Moving to Node #0,3 Current State: 97:[81, 51, 76], Operations: ['73+3=76'] Exploring Operation: 81+51=132, Resulting Numbers: [76, 132] Generated Node #0,3,0: 97:[76, 132] Operation: 81+51=132 Exploring Operation: 76-51=25, Resulting Numbers: [81, 25] Generated Node #0,3,1: 97:[81, 25] Operation: 76-51=25 Exploring Operation: 81-51=30, Resulting Numbers: [76, 30] Generated Node #0,3,2: 97:[76, 30] Operation: 81-51=30 Exploring Operation: 51+76=127, Resulting Numbers: [81, 127] Generated Node #0,3,3: 97:[81, 127] Operation: 51+76=127 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[81, 127], Operations: ['73+3=76', '51+76=127'] Exploring Operation: 81*127=10287, Resulting Numbers: [10287] 10287,97 unequal: No Solution Exploring Operation: 127-81=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 81+127=208, Resulting Numbers: [208] 208,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[76, 132], Operations: ['73+3=76', '81+51=132'] Exploring Operation: 76+132=208, Resulting Numbers: [208] 208,97 unequal: No Solution Exploring Operation: 76*132=10032, Resulting Numbers: [10032] 10032,97 unequal: No Solution Exploring Operation: 132-76=56, Resulting Numbers: [56] 56,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[81, 25], Operations: ['73+3=76', '76-51=25'] Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[76, 30], Operations: ['73+3=76', '81-51=30'] Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 76*30=2280, Resulting Numbers: [2280] 2280,97 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: 97:[73, 81, 54], Operations: ['3+51=54'] Exploring Operation: 81-54=27, Resulting Numbers: [73, 27] Generated Node #0,1,0: 97:[73, 27] Operation: 81-54=27 Exploring Operation: 73+54=127, Resulting Numbers: [81, 127] Generated Node #0,1,1: 97:[81, 127] Operation: 73+54=127 Exploring Operation: 81+54=135, Resulting Numbers: [73, 135] Generated Node #0,1,2: 97:[73, 135] Operation: 81+54=135 Exploring Operation: 73-54=19, Resulting Numbers: [81, 19] Generated Node #0,1,3: 97:[81, 19] Operation: 73-54=19 Moving to Node #0,2 Current State: 97:[81, 51, 70], Operations: ['73-3=70'] Exploring Operation: 70-51=19, Resulting Numbers: [81, 19] Generated Node #0,2,0: 97:[81, 19] Operation: 70-51=19 Exploring Operation: 81-51=30, Resulting Numbers: [70, 30] Generated Node #0,2,1: 97:[70, 30] Operation: 81-51=30 Exploring Operation: 51+70=121, Resulting Numbers: [81, 121] Generated Node #0,2,2: 97:[81, 121] Operation: 51+70=121 Exploring Operation: 81+51=132, Resulting Numbers: [70, 132] Generated Node #0,2,3: 97:[70, 132] Operation: 81+51=132 Moving to Node #0,0,1 Current State: 97:[84, 124], Operations: ['3+81=84', '73+51=124'] Exploring Operation: 84*124=10416, Resulting Numbers: [10416] 10416,97 unequal: No Solution Exploring Operation: 124-84=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 84+124=208, Resulting Numbers: [208] 208,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[81, 121], Operations: ['73-3=70', '51+70=121'] Exploring Operation: 121-81=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 81+121=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 81*121=9801, Resulting Numbers: [9801] 9801,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[81, 127], Operations: ['3+51=54', '73+54=127'] Exploring Operation: 81*127=10287, Resulting Numbers: [10287] 10287,97 unequal: No Solution Exploring Operation: 81+127=208, Resulting Numbers: [208] 208,97 unequal: No Solution Exploring Operation: 127-81=46, Resulting Numbers: [46] 46,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[73, 135], Operations: ['3+51=54', '81+54=135'] Exploring Operation: 73*135=9855, Resulting Numbers: [9855] 9855,97 unequal: No Solution Exploring Operation: 135-73=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 73+135=208, Resulting Numbers: [208] 208,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[73, 135], Operations: ['3+81=84', '51+84=135'] Exploring Operation: 73+135=208, Resulting Numbers: [208] 208,97 unequal: No Solution Exploring Operation: 135-73=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 73*135=9855, Resulting Numbers: [9855] 9855,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[70, 132], Operations: ['73-3=70', '81+51=132'] Exploring Operation: 70*132=9240, Resulting Numbers: [9240] 9240,97 unequal: No Solution Exploring Operation: 132-70=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 70+132=202, Resulting Numbers: [202] 202,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[84, 22], Operations: ['3+81=84', '73-51=22'] Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,97 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[73, 33], Operations: ['3+81=84', '84-51=33'] Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 73+33=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 73*33=2409, Resulting Numbers: [2409] 2409,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[81, 19], Operations: ['73-3=70', '70-51=19'] Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,97 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[73, 27], Operations: ['3+51=54', '81-54=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,97 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[70, 30], Operations: ['73-3=70', '81-51=30'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,97 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[81, 19], Operations: ['3+51=54', '73-54=19'] Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,97 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 30, 67, 64, 74 ]
70
[ "74-64=10", "30/10=3", "67+3=70" ]
Current State: 70:[30, 67, 64, 74], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [30, 67, 10] Generated Node #2: [30, 67, 10] from Operation: 74-64=10 Current State: 70:[30, 67, 10], Operations: ['74-64=10'] Exploring Operation: 30/10=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 30/10=3 Current State: 70:[67, 3], Operations: ['74-64=10', '30/10=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[30, 67, 64, 74], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [30, 67, 10] Generated Node #0,0: 70:[30, 67, 10] Operation: 74-64=10 Exploring Operation: 64-30=34, Resulting Numbers: [67, 74, 34] Generated Node #0,1: 70:[67, 74, 34] Operation: 64-30=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[30, 67, 10], Operations: ['74-64=10'] Exploring Operation: 30/10=3, Resulting Numbers: [67, 3] Generated Node #0,0,0: 70:[67, 3] Operation: 30/10=3 Exploring Operation: 67-30=37, Resulting Numbers: [10, 37] Generated Node #0,0,1: 70:[10, 37] Operation: 67-30=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[10, 37], Operations: ['74-64=10', '67-30=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,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,0 Current State: 70:[67, 3], Operations: ['74-64=10', '30/10=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[30, 67, 64, 74], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [30, 67, 10] Generated Node #0,0: 70:[30, 67, 10] Operation: 74-64=10 Moving to Node #0,0 Current State: 70:[30, 67, 10], Operations: ['74-64=10'] Exploring Operation: 30/10=3, Resulting Numbers: [67, 3] Generated Node #0,0,0: 70:[67, 3] Operation: 30/10=3 Moving to Node #0,0,0 Current State: 70:[67, 3], Operations: ['74-64=10', '30/10=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 18, 20, 81, 12 ]
63
[ "20-12=8", "18*8=144", "144-81=63" ]
Current State: 63:[18, 20, 81, 12], Operations: [] Exploring Operation: 20-12=8, Resulting Numbers: [18, 81, 8] Generated Node #2: [18, 81, 8] from Operation: 20-12=8 Current State: 63:[18, 81, 8], Operations: ['20-12=8'] Exploring Operation: 18*8=144, Resulting Numbers: [81, 144] Generated Node #3: [81, 144] from Operation: 18*8=144 Current State: 63:[81, 144], Operations: ['20-12=8', '18*8=144'] Exploring Operation: 144-81=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[18, 20, 81, 12], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [20, 12, 63] Generated Node #0,0: 63:[20, 12, 63] Operation: 81-18=63 Exploring Operation: 81-20=61, Resulting Numbers: [18, 12, 61] Generated Node #0,1: 63:[18, 12, 61] Operation: 81-20=61 Moving to Node #0,0 Current State: 63:[20, 12, 63], Operations: ['81-18=63'] Exploring Operation: 20+12=32, Resulting Numbers: [63, 32] Generated Node #0,0,0: 63:[63, 32] Operation: 20+12=32 Exploring Operation: 20-12=8, Resulting Numbers: [63, 8] Generated Node #0,0,1: 63:[63, 8] Operation: 20-12=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[63, 8], Operations: ['81-18=63', '20-12=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[63, 32], Operations: ['81-18=63', '20+12=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 63:[18, 12, 61], Operations: ['81-20=61'] Exploring Operation: 18+12=30, Resulting Numbers: [61, 30] Generated Node #0,1,0: 63:[61, 30] Operation: 18+12=30 Exploring Operation: 18-12=6, Resulting Numbers: [61, 6] Generated Node #0,1,1: 63:[61, 6] Operation: 18-12=6 Moving to Node #0,1,1 Current State: 63:[61, 6], Operations: ['81-20=61', '18-12=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[61, 30], Operations: ['81-20=61', '18+12=30'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 2, 84, 57 ]
33
[ "54*2=108", "84+57=141", "141-108=33" ]
Current State: 33:[54, 2, 84, 57], Operations: [] Exploring Operation: 54*2=108, Resulting Numbers: [84, 57, 108] Generated Node #2: [84, 57, 108] from Operation: 54*2=108 Current State: 33:[84, 57, 108], Operations: ['54*2=108'] Exploring Operation: 84+57=141, Resulting Numbers: [108, 141] Generated Node #3: [108, 141] from Operation: 84+57=141 Current State: 33:[108, 141], Operations: ['54*2=108', '84+57=141'] Exploring Operation: 141-108=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[54, 2, 84, 57], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [54, 2, 27] Generated Node #0,0: 33:[54, 2, 27] Operation: 84-57=27 Exploring Operation: 57-54=3, Resulting Numbers: [2, 84, 3] Generated Node #0,1: 33:[2, 84, 3] Operation: 57-54=3 Exploring Operation: 84-54=30, Resulting Numbers: [2, 57, 30] Generated Node #0,2: 33:[2, 57, 30] Operation: 84-54=30 Moving to Node #0,0 Current State: 33:[54, 2, 27], Operations: ['84-57=27'] Exploring Operation: 54/27=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 33:[2, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [2, 27] Generated Node #0,0,1: 33:[2, 27] Operation: 54-27=27 Exploring Operation: 54/2=27, Resulting Numbers: [27, 27] Generated Node #0,0,2: 33:[27, 27] Operation: 54/2=27 Moving to Node #0,2 Current State: 33:[2, 57, 30], Operations: ['84-54=30'] Exploring Operation: 57-2=55, Resulting Numbers: [30, 55] Generated Node #0,2,0: 33:[30, 55] Operation: 57-2=55 Exploring Operation: 2+30=32, Resulting Numbers: [57, 32] Generated Node #0,2,1: 33:[57, 32] Operation: 2+30=32 Exploring Operation: 57-30=27, Resulting Numbers: [2, 27] Generated Node #0,2,2: 33:[2, 27] Operation: 57-30=27 Moving to Node #0,1 Current State: 33:[2, 84, 3], Operations: ['57-54=3'] Exploring Operation: 84/2=42, Resulting Numbers: [3, 42] Generated Node #0,1,0: 33:[3, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [3, 82] Generated Node #0,1,1: 33:[3, 82] Operation: 84-2=82 Exploring Operation: 84/3=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 33:[2, 28] Operation: 84/3=28 Moving to Node #0,0,0 Current State: 33:[2, 2], Operations: ['84-57=27', '54/27=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[2, 28], Operations: ['57-54=3', '84/3=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[2, 27], Operations: ['84-57=27', '54-27=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[2, 27], Operations: ['84-54=30', '57-30=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[3, 42], Operations: ['57-54=3', '84/2=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[27, 27], Operations: ['84-57=27', '54/2=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[57, 32], Operations: ['84-54=30', '2+30=32'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,33 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[30, 55], Operations: ['84-54=30', '57-2=55'] Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[3, 82], Operations: ['57-54=3', '84-2=82'] Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,33 unequal: No Solution Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,33 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 48, 89, 53, 67 ]
79
[ "89-48=41", "53+67=120", "120-41=79" ]
Current State: 79:[48, 89, 53, 67], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [53, 67, 41] Generated Node #2: [53, 67, 41] from Operation: 89-48=41 Current State: 79:[53, 67, 41], Operations: ['89-48=41'] Exploring Operation: 53+67=120, Resulting Numbers: [41, 120] Generated Node #3: [41, 120] from Operation: 53+67=120 Current State: 79:[41, 120], Operations: ['89-48=41', '53+67=120'] Exploring Operation: 120-41=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[48, 89, 53, 67], Operations: [] Exploring Operation: 48+53=101, Resulting Numbers: [89, 67, 101] Generated Node #0,0: 79:[89, 67, 101] Operation: 48+53=101 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[89, 67, 101], Operations: ['48+53=101'] Exploring Operation: 101-67=34, Resulting Numbers: [89, 34] Generated Node #0,0,0: 79:[89, 34] Operation: 101-67=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[89, 34], Operations: ['48+53=101', '101-67=34'] Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,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
[ 55, 72, 33, 15 ]
31
[ "72-55=17", "33+15=48", "48-17=31" ]
Current State: 31:[55, 72, 33, 15], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [33, 15, 17] Generated Node #2: [33, 15, 17] from Operation: 72-55=17 Current State: 31:[33, 15, 17], Operations: ['72-55=17'] Exploring Operation: 33+15=48, Resulting Numbers: [17, 48] Generated Node #3: [17, 48] from Operation: 33+15=48 Current State: 31:[17, 48], Operations: ['72-55=17', '33+15=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[55, 72, 33, 15], Operations: [] Exploring Operation: 72-15=57, Resulting Numbers: [55, 33, 57] Generated Node #0,0: 31:[55, 33, 57] Operation: 72-15=57 Exploring Operation: 55-33=22, Resulting Numbers: [72, 15, 22] Generated Node #0,1: 31:[72, 15, 22] Operation: 55-33=22 Exploring Operation: 55-15=40, Resulting Numbers: [72, 33, 40] Generated Node #0,2: 31:[72, 33, 40] Operation: 55-15=40 Exploring Operation: 72-33=39, Resulting Numbers: [55, 15, 39] Generated Node #0,3: 31:[55, 15, 39] Operation: 72-33=39 Exploring Operation: 72-55=17, Resulting Numbers: [33, 15, 17] Generated Node #0,4: 31:[33, 15, 17] Operation: 72-55=17 Moving to Node #0,4 Current State: 31:[33, 15, 17], Operations: ['72-55=17'] Exploring Operation: 17-15=2, Resulting Numbers: [33, 2] Generated Node #0,4,0: 31:[33, 2] Operation: 17-15=2 Exploring Operation: 33-17=16, Resulting Numbers: [15, 16] Generated Node #0,4,1: 31:[15, 16] Operation: 33-17=16 Exploring Operation: 15+17=32, Resulting Numbers: [33, 32] Generated Node #0,4,2: 31:[33, 32] Operation: 15+17=32 Exploring Operation: 33-15=18, Resulting Numbers: [17, 18] Generated Node #0,4,3: 31:[17, 18] Operation: 33-15=18 Exploring Operation: 33+15=48, Resulting Numbers: [17, 48] Generated Node #0,4,4: 31:[17, 48] Operation: 33+15=48 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 31:[33, 32], Operations: ['72-55=17', '15+17=32'] Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,31 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 31:[17, 18], Operations: ['72-55=17', '33-15=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[33, 2], Operations: ['72-55=17', '17-15=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[55, 72, 33, 15], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [33, 15, 17] Generated Node #0,4: 31:[33, 15, 17] Operation: 72-55=17 Moving to Node #0,4 Current State: 31:[33, 15, 17], Operations: ['72-55=17'] Exploring Operation: 17-15=2, Resulting Numbers: [33, 2] Generated Node #0,4,0: 31:[33, 2] Operation: 17-15=2 Moving to Node #0,4,0 Current State: 31:[33, 2], Operations: ['72-55=17', '17-15=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 39, 18, 40, 9 ]
28
[ "39-18=21", "40+9=49", "49-21=28" ]
Current State: 28:[39, 18, 40, 9], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [40, 9, 21] Generated Node #2: [40, 9, 21] from Operation: 39-18=21 Current State: 28:[40, 9, 21], Operations: ['39-18=21'] Exploring Operation: 40+9=49, Resulting Numbers: [21, 49] Generated Node #3: [21, 49] from Operation: 40+9=49 Current State: 28:[21, 49], Operations: ['39-18=21', '40+9=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[39, 18, 40, 9], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [40, 9, 21] Generated Node #0,0: 28:[40, 9, 21] Operation: 39-18=21 Exploring Operation: 40-9=31, Resulting Numbers: [39, 18, 31] Generated Node #0,1: 28:[39, 18, 31] Operation: 40-9=31 Exploring Operation: 40-39=1, Resulting Numbers: [18, 9, 1] Generated Node #0,2: 28:[18, 9, 1] Operation: 40-39=1 Exploring Operation: 39-9=30, Resulting Numbers: [18, 40, 30] Generated Node #0,3: 28:[18, 40, 30] Operation: 39-9=30 Exploring Operation: 40-18=22, Resulting Numbers: [39, 9, 22] Generated Node #0,4: 28:[39, 9, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[18, 9, 1], Operations: ['40-39=1'] Exploring Operation: 18/9=2, Resulting Numbers: [1, 2] Generated Node #0,2,0: 28:[1, 2] Operation: 18/9=2 Exploring Operation: 18-1=17, Resulting Numbers: [9, 17] Generated Node #0,2,1: 28:[9, 17] Operation: 18-1=17 Exploring Operation: 18-9=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 28:[1, 9] Operation: 18-9=9 Exploring Operation: 18+9=27, Resulting Numbers: [1, 27] Generated Node #0,2,3: 28:[1, 27] Operation: 18+9=27 Exploring Operation: 9-1=8, Resulting Numbers: [18, 8] Generated Node #0,2,4: 28:[18, 8] Operation: 9-1=8 Moving to Node #0,2,0 Current State: 28:[1, 2], Operations: ['40-39=1', '18/9=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[1, 27], Operations: ['40-39=1', '18+9=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[39, 18, 40, 9], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [18, 9, 1] Generated Node #0,2: 28:[18, 9, 1] Operation: 40-39=1 Moving to Node #0,2 Current State: 28:[18, 9, 1], Operations: ['40-39=1'] Exploring Operation: 18+9=27, Resulting Numbers: [1, 27] Generated Node #0,2,3: 28:[1, 27] Operation: 18+9=27 Moving to Node #0,2,3 Current State: 28:[1, 27], Operations: ['40-39=1', '18+9=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 3, 19, 51, 11 ]
13
[ "51/3=17", "19+11=30", "30-17=13" ]
Current State: 13:[3, 19, 51, 11], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [19, 11, 17] Generated Node #2: [19, 11, 17] from Operation: 51/3=17 Current State: 13:[19, 11, 17], Operations: ['51/3=17'] Exploring Operation: 19+11=30, Resulting Numbers: [17, 30] Generated Node #3: [17, 30] from Operation: 19+11=30 Current State: 13:[17, 30], Operations: ['51/3=17', '19+11=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 19, 51, 11], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [19, 11, 17] Generated Node #0,0: 13:[19, 11, 17] Operation: 51/3=17 Exploring Operation: 51-19=32, Resulting Numbers: [3, 11, 32] Generated Node #0,1: 13:[3, 11, 32] Operation: 51-19=32 Moving to Node #0,0 Current State: 13:[19, 11, 17], Operations: ['51/3=17'] Exploring Operation: 19-17=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 13:[11, 2] Operation: 19-17=2 Exploring Operation: 19-11=8, Resulting Numbers: [17, 8] Generated Node #0,0,1: 13:[17, 8] Operation: 19-11=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[17, 8], Operations: ['51/3=17', '19-11=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[11, 2], Operations: ['51/3=17', '19-17=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[3, 19, 51, 11], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [19, 11, 17] Generated Node #0,0: 13:[19, 11, 17] Operation: 51/3=17 Moving to Node #0,0 Current State: 13:[19, 11, 17], Operations: ['51/3=17'] Exploring Operation: 19-17=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 13:[11, 2] Operation: 19-17=2 Moving to Node #0,0,0 Current State: 13:[11, 2], Operations: ['51/3=17', '19-17=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 18, 36, 18, 33 ]
49
[ "36/18=2", "18+33=51", "51-2=49" ]
Current State: 49:[18, 36, 18, 33], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [33, 2] Generated Node #2: [33, 2] from Operation: 36/18=2 Current State: 49:[33, 2], Operations: ['36/18=2'] Exploring Operation: 18+33=51, Resulting Numbers: [2, 51] Generated Node #3: [2, 51] from Operation: 18+33=51 Current State: 49:[2, 51], Operations: ['36/18=2', '18+33=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[18, 36, 18, 33], Operations: [] Exploring Operation: 18+33=51, Resulting Numbers: [36, 18, 51] Generated Node #0,0: 49:[36, 18, 51] Operation: 18+33=51 Exploring Operation: 36-33=3, Resulting Numbers: [18, 18, 3] Generated Node #0,1: 49:[18, 18, 3] Operation: 36-33=3 Moving to Node #0,0 Current State: 49:[36, 18, 51], Operations: ['18+33=51'] Exploring Operation: 36+18=54, Resulting Numbers: [51, 54] Generated Node #0,0,0: 49:[51, 54] Operation: 36+18=54 Exploring Operation: 36/18=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 49:[51, 2] Operation: 36/18=2 Moving to Node #0,1 Current State: 49:[18, 18, 3], Operations: ['36-33=3'] Exploring Operation: 18/18=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 49:[3, 1] Operation: 18/18=1 Exploring Operation: 18-18=0, Resulting Numbers: [3, 0] Generated Node #0,1,1: 49:[3, 0] Operation: 18-18=0 Moving to Node #0,0,0 Current State: 49:[51, 54], Operations: ['18+33=51', '36+18=54'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[51, 2], Operations: ['18+33=51', '36/18=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[18, 36, 18, 33], Operations: [] Exploring Operation: 18+33=51, Resulting Numbers: [36, 18, 51] Generated Node #0,0: 49:[36, 18, 51] Operation: 18+33=51 Moving to Node #0,0 Current State: 49:[36, 18, 51], Operations: ['18+33=51'] Exploring Operation: 36/18=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 49:[51, 2] Operation: 36/18=2 Moving to Node #0,0,1 Current State: 49:[51, 2], Operations: ['18+33=51', '36/18=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.987847
hs_2
mult_heuristic
[ 98, 67, 74, 69 ]
86
[ "98+74=172", "69-67=2", "172/2=86" ]
Current State: 86:[98, 67, 74, 69], Operations: [] Exploring Operation: 98+74=172, Resulting Numbers: [67, 69, 172] Generated Node #2: [67, 69, 172] from Operation: 98+74=172 Current State: 86:[67, 69, 172], Operations: ['98+74=172'] Exploring Operation: 69-67=2, Resulting Numbers: [172, 2] Generated Node #3: [172, 2] from Operation: 69-67=2 Current State: 86:[172, 2], Operations: ['98+74=172', '69-67=2'] Exploring Operation: 172/2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[98, 67, 74, 69], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [98, 67, 5] Generated Node #0,0: 86:[98, 67, 5] Operation: 74-69=5 Exploring Operation: 69-67=2, Resulting Numbers: [98, 74, 2] Generated Node #0,1: 86:[98, 74, 2] Operation: 69-67=2 Exploring Operation: 74-67=7, Resulting Numbers: [98, 69, 7] Generated Node #0,2: 86:[98, 69, 7] Operation: 74-67=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[98, 74, 2], Operations: ['69-67=2'] Exploring Operation: 98-74=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 86:[2, 24] Operation: 98-74=24 Exploring Operation: 98/2=49, Resulting Numbers: [74, 49] Generated Node #0,1,1: 86:[74, 49] Operation: 98/2=49 Exploring Operation: 74/2=37, Resulting Numbers: [98, 37] Generated Node #0,1,2: 86:[98, 37] Operation: 74/2=37 Moving to Node #0,1,1 Current State: 86:[74, 49], Operations: ['69-67=2', '98/2=49'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[98, 37], Operations: ['69-67=2', '74/2=37'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 98+37=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 98*37=3626, Resulting Numbers: [3626] 3626,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[2, 24], Operations: ['69-67=2', '98-74=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,86 unequal: No Solution No 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: 86:[98, 67, 5], Operations: ['74-69=5'] Exploring Operation: 98-67=31, Resulting Numbers: [5, 31] Generated Node #0,0,0: 86:[5, 31] Operation: 98-67=31 Exploring Operation: 67+5=72, Resulting Numbers: [98, 72] Generated Node #0,0,1: 86:[98, 72] Operation: 67+5=72 Exploring Operation: 98-5=93, Resulting Numbers: [67, 93] Generated Node #0,0,2: 86:[67, 93] Operation: 98-5=93 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[5, 31], Operations: ['74-69=5', '98-67=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,86 unequal: No Solution No 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: 86:[98, 72], Operations: ['74-69=5', '67+5=72'] Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 98*72=7056, Resulting Numbers: [7056] 7056,86 unequal: No Solution Exploring Operation: 98+72=170, Resulting Numbers: [170] 170,86 unequal: No Solution No 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: 86:[67, 93], Operations: ['74-69=5', '98-5=93'] Exploring Operation: 67+93=160, Resulting Numbers: [160] 160,86 unequal: No Solution Exploring Operation: 67*93=6231, Resulting Numbers: [6231] 6231,86 unequal: No Solution Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[98, 69, 7], Operations: ['74-67=7'] Exploring Operation: 69+7=76, Resulting Numbers: [98, 76] Generated Node #0,2,0: 86:[98, 76] Operation: 69+7=76 Exploring Operation: 98-69=29, Resulting Numbers: [7, 29] Generated Node #0,2,1: 86:[7, 29] Operation: 98-69=29 Exploring Operation: 98-7=91, Resulting Numbers: [69, 91] Generated Node #0,2,2: 86:[69, 91] Operation: 98-7=91 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[7, 29], Operations: ['74-67=7', '98-69=29'] Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,86 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,86 unequal: No Solution No 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: 86:[98, 76], Operations: ['74-67=7', '69+7=76'] Exploring Operation: 98+76=174, Resulting Numbers: [174] 174,86 unequal: No Solution Exploring Operation: 98*76=7448, Resulting Numbers: [7448] 7448,86 unequal: No Solution Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,86 unequal: No Solution No 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: 86:[69, 91], Operations: ['74-67=7', '98-7=91'] Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 69*91=6279, Resulting Numbers: [6279] 6279,86 unequal: No Solution Exploring Operation: 69+91=160, Resulting Numbers: [160] 160,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 34, 37, 80, 65 ]
77
[ "37+65=102", "102/34=3", "80-3=77" ]
Current State: 77:[34, 37, 80, 65], Operations: [] Exploring Operation: 37+65=102, Resulting Numbers: [34, 80, 102] Generated Node #2: [34, 80, 102] from Operation: 37+65=102 Current State: 77:[34, 80, 102], Operations: ['37+65=102'] Exploring Operation: 102/34=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 102/34=3 Current State: 77:[80, 3], Operations: ['37+65=102', '102/34=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[34, 37, 80, 65], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [80, 65, 3] Generated Node #0,0: 77:[80, 65, 3] Operation: 37-34=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[80, 65, 3], Operations: ['37-34=3'] Exploring Operation: 80-65=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 77:[3, 15] Operation: 80-65=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[3, 15], Operations: ['37-34=3', '80-65=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,77 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
[ 15, 80, 73, 6 ]
97
[ "15*6=90", "80-73=7", "90+7=97" ]
Current State: 97:[15, 80, 73, 6], Operations: [] Exploring Operation: 15*6=90, Resulting Numbers: [80, 73, 90] Generated Node #2: [80, 73, 90] from Operation: 15*6=90 Current State: 97:[80, 73, 90], Operations: ['15*6=90'] Exploring Operation: 80-73=7, Resulting Numbers: [90, 7] Generated Node #3: [90, 7] from Operation: 80-73=7 Current State: 97:[90, 7], Operations: ['15*6=90', '80-73=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[15, 80, 73, 6], Operations: [] Exploring Operation: 15+80=95, Resulting Numbers: [73, 6, 95] Generated Node #0,0: 97:[73, 6, 95] Operation: 15+80=95 Exploring Operation: 15+73=88, Resulting Numbers: [80, 6, 88] Generated Node #0,1: 97:[80, 6, 88] Operation: 15+73=88 Exploring Operation: 15*6=90, Resulting Numbers: [80, 73, 90] Generated Node #0,2: 97:[80, 73, 90] Operation: 15*6=90 Moving to Node #0,2 Current State: 97:[80, 73, 90], Operations: ['15*6=90'] Exploring Operation: 80-73=7, Resulting Numbers: [90, 7] Generated Node #0,2,0: 97:[90, 7] Operation: 80-73=7 Exploring Operation: 73+90=163, Resulting Numbers: [80, 163] Generated Node #0,2,1: 97:[80, 163] Operation: 73+90=163 Exploring Operation: 80+73=153, Resulting Numbers: [90, 153] Generated Node #0,2,2: 97:[90, 153] Operation: 80+73=153 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[90, 153], Operations: ['15*6=90', '80+73=153'] Exploring Operation: 90*153=13770, Resulting Numbers: [13770] 13770,97 unequal: No Solution Exploring Operation: 90+153=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 153-90=63, Resulting Numbers: [63] 63,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:[80, 163], Operations: ['15*6=90', '73+90=163'] Exploring Operation: 80+163=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 163-80=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 80*163=13040, Resulting Numbers: [13040] 13040,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:[90, 7], Operations: ['15*6=90', '80-73=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[15, 80, 73, 6], Operations: [] Exploring Operation: 15*6=90, Resulting Numbers: [80, 73, 90] Generated Node #0,2: 97:[80, 73, 90] Operation: 15*6=90 Moving to Node #0,2 Current State: 97:[80, 73, 90], Operations: ['15*6=90'] Exploring Operation: 80-73=7, Resulting Numbers: [90, 7] Generated Node #0,2,0: 97:[90, 7] Operation: 80-73=7 Moving to Node #0,2,0 Current State: 97:[90, 7], Operations: ['15*6=90', '80-73=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 21, 50, 42, 48 ]
26
[ "42/21=2", "48/2=24", "50-24=26" ]
Current State: 26:[21, 50, 42, 48], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [50, 48, 2] Generated Node #2: [50, 48, 2] from Operation: 42/21=2 Current State: 26:[50, 48, 2], Operations: ['42/21=2'] Exploring Operation: 48/2=24, Resulting Numbers: [50, 24] Generated Node #3: [50, 24] from Operation: 48/2=24 Current State: 26:[50, 24], Operations: ['42/21=2', '48/2=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[21, 50, 42, 48], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [21, 42, 2] Generated Node #0,0: 26:[21, 42, 2] Operation: 50-48=2 Exploring Operation: 50-21=29, Resulting Numbers: [42, 48, 29] Generated Node #0,1: 26:[42, 48, 29] Operation: 50-21=29 Exploring Operation: 50-42=8, Resulting Numbers: [21, 48, 8] Generated Node #0,2: 26:[21, 48, 8] Operation: 50-42=8 Exploring Operation: 48-42=6, Resulting Numbers: [21, 50, 6] Generated Node #0,3: 26:[21, 50, 6] Operation: 48-42=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[21, 42, 2], Operations: ['50-48=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21, 21] Generated Node #0,0,0: 26:[21, 21] Operation: 42/2=21 Exploring Operation: 42/21=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 26:[2, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [2, 21] Generated Node #0,0,2: 26:[2, 21] Operation: 42-21=21 Exploring Operation: 21+2=23, Resulting Numbers: [42, 23] Generated Node #0,0,3: 26:[42, 23] Operation: 21+2=23 Moving to Node #0,0,1 Current State: 26:[2, 2], Operations: ['50-48=2', '42/21=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[2, 21], Operations: ['50-48=2', '42-21=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[21, 21], Operations: ['50-48=2', '42/2=21'] Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,26 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[42, 23], Operations: ['50-48=2', '21+2=23'] Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,26 unequal: No Solution Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[21, 48, 8], Operations: ['50-42=8'] Exploring Operation: 21-8=13, Resulting Numbers: [48, 13] Generated Node #0,2,0: 26:[48, 13] Operation: 21-8=13 Exploring Operation: 48-8=40, Resulting Numbers: [21, 40] Generated Node #0,2,1: 26:[21, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [21, 6] Generated Node #0,2,2: 26:[21, 6] Operation: 48/8=6 Exploring Operation: 48-21=27, Resulting Numbers: [8, 27] Generated Node #0,2,3: 26:[8, 27] Operation: 48-21=27 Moving to Node #0,2,3 Current State: 26:[8, 27], Operations: ['50-42=8', '48-21=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[21, 6], Operations: ['50-42=8', '48/8=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[21, 40], Operations: ['50-42=8', '48-8=40'] Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,26 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[48, 13], Operations: ['50-42=8', '21-8=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,26 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[21, 50, 6], Operations: ['48-42=6'] Exploring Operation: 50-21=29, Resulting Numbers: [6, 29] Generated Node #0,3,0: 26:[6, 29] Operation: 50-21=29 Exploring Operation: 21-6=15, Resulting Numbers: [50, 15] Generated Node #0,3,1: 26:[50, 15] Operation: 21-6=15 Exploring Operation: 50-6=44, Resulting Numbers: [21, 44] Generated Node #0,3,2: 26:[21, 44] Operation: 50-6=44 Exploring Operation: 21+6=27, Resulting Numbers: [50, 27] Generated Node #0,3,3: 26:[50, 27] Operation: 21+6=27 Moving to Node #0,3,0 Current State: 26:[6, 29], Operations: ['48-42=6', '50-21=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,26 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[21, 44], Operations: ['48-42=6', '50-6=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,26 unequal: No Solution Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[50, 27], Operations: ['48-42=6', '21+6=27'] Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,26 unequal: No Solution Exploring Operation: 50*27=1350, Resulting Numbers: [1350] 1350,26 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[50, 15], Operations: ['48-42=6', '21-6=15'] Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 50*15=750, Resulting Numbers: [750] 750,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[42, 48, 29], Operations: ['50-21=29'] Exploring Operation: 48-29=19, Resulting Numbers: [42, 19] Generated Node #0,1,0: 26:[42, 19] Operation: 48-29=19 Exploring Operation: 42-29=13, Resulting Numbers: [48, 13] Generated Node #0,1,1: 26:[48, 13] Operation: 42-29=13 Exploring Operation: 48-42=6, Resulting Numbers: [29, 6] Generated Node #0,1,2: 26:[29, 6] Operation: 48-42=6 Exploring Operation: 42+48=90, Resulting Numbers: [29, 90] Generated Node #0,1,3: 26:[29, 90] Operation: 42+48=90 Moving to Node #0,1,2 Current State: 26:[29, 6], Operations: ['50-21=29', '48-42=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,26 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[48, 13], Operations: ['50-21=29', '42-29=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,26 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[42, 19], Operations: ['50-21=29', '48-29=19'] Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,26 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[29, 90], Operations: ['50-21=29', '42+48=90'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 29+90=119, Resulting Numbers: [119] 119,26 unequal: No Solution Exploring Operation: 29*90=2610, Resulting Numbers: [2610] 2610,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 23, 9, 53 ]
83
[ "62-23=39", "53-9=44", "39+44=83" ]
Current State: 83:[62, 23, 9, 53], Operations: [] Exploring Operation: 62-23=39, Resulting Numbers: [9, 53, 39] Generated Node #2: [9, 53, 39] from Operation: 62-23=39 Current State: 83:[9, 53, 39], Operations: ['62-23=39'] Exploring Operation: 53-9=44, Resulting Numbers: [39, 44] Generated Node #3: [39, 44] from Operation: 53-9=44 Current State: 83:[39, 44], Operations: ['62-23=39', '53-9=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[62, 23, 9, 53], Operations: [] Exploring Operation: 62+9=71, Resulting Numbers: [23, 53, 71] Generated Node #0,0: 83:[23, 53, 71] Operation: 62+9=71 Exploring Operation: 23+53=76, Resulting Numbers: [62, 9, 76] Generated Node #0,1: 83:[62, 9, 76] Operation: 23+53=76 Exploring Operation: 23+9=32, Resulting Numbers: [62, 53, 32] Generated Node #0,2: 83:[62, 53, 32] Operation: 23+9=32 Exploring Operation: 9+53=62, Resulting Numbers: [62, 23, 62] Generated Node #0,3: 83:[62, 23, 62] Operation: 9+53=62 Moving to Node #0,0 Current State: 83:[23, 53, 71], Operations: ['62+9=71'] Exploring Operation: 53-23=30, Resulting Numbers: [71, 30] Generated Node #0,0,0: 83:[71, 30] Operation: 53-23=30 Exploring Operation: 23+53=76, Resulting Numbers: [71, 76] Generated Node #0,0,1: 83:[71, 76] Operation: 23+53=76 Exploring Operation: 71-23=48, Resulting Numbers: [53, 48] Generated Node #0,0,2: 83:[53, 48] Operation: 71-23=48 Exploring Operation: 23+71=94, Resulting Numbers: [53, 94] Generated Node #0,0,3: 83:[53, 94] Operation: 23+71=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[71, 76], Operations: ['62+9=71', '23+53=76'] Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,83 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,83 unequal: No Solution No 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: 83:[53, 94], Operations: ['62+9=71', '23+71=94'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 53*94=4982, Resulting Numbers: [4982] 4982,83 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,83 unequal: No Solution No 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: 83:[71, 30], Operations: ['62+9=71', '53-23=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,83 unequal: No Solution No 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: 83:[53, 48], Operations: ['62+9=71', '71-23=48'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,83 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: 83:[62, 53, 32], Operations: ['23+9=32'] Exploring Operation: 62-32=30, Resulting Numbers: [53, 30] Generated Node #0,2,0: 83:[53, 30] Operation: 62-32=30 Exploring Operation: 53+32=85, Resulting Numbers: [62, 85] Generated Node #0,2,1: 83:[62, 85] Operation: 53+32=85 Exploring Operation: 62+32=94, Resulting Numbers: [53, 94] Generated Node #0,2,2: 83:[53, 94] Operation: 62+32=94 Exploring Operation: 62+53=115, Resulting Numbers: [32, 115] Generated Node #0,2,3: 83:[32, 115] Operation: 62+53=115 Moving to Node #0,1 Current State: 83:[62, 9, 76], Operations: ['23+53=76'] Exploring Operation: 9+76=85, Resulting Numbers: [62, 85] Generated Node #0,1,0: 83:[62, 85] Operation: 9+76=85 Exploring Operation: 62-9=53, Resulting Numbers: [76, 53] Generated Node #0,1,1: 83:[76, 53] Operation: 62-9=53 Exploring Operation: 76-9=67, Resulting Numbers: [62, 67] Generated Node #0,1,2: 83:[62, 67] Operation: 76-9=67 Exploring Operation: 62+9=71, Resulting Numbers: [76, 71] Generated Node #0,1,3: 83:[76, 71] Operation: 62+9=71 Moving to Node #0,3 Current State: 83:[62, 23, 62], Operations: ['9+53=62'] Exploring Operation: 62-23=39, Resulting Numbers: [62, 39] Generated Node #0,3,0: 83:[62, 39] Operation: 62-23=39 Exploring Operation: 23+62=85, Resulting Numbers: [62, 85] Generated Node #0,3,1: 83:[62, 85] Operation: 23+62=85 Exploring Operation: 62+23=85, Resulting Numbers: [62, 85] Generated Node #0,3,2: 83:[62, 85] Operation: 62+23=85 Exploring Operation: 62-23=39, Resulting Numbers: [62, 39] Generated Node #0,3,3: 83:[62, 39] Operation: 62-23=39 Moving to Node #0,1,3 Current State: 83:[76, 71], Operations: ['23+53=76', '62+9=71'] Exploring Operation: 76*71=5396, Resulting Numbers: [5396] 5396,83 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 76+71=147, Resulting Numbers: [147] 147,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[62, 85], Operations: ['23+53=76', '9+76=85'] Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,83 unequal: No Solution Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[62, 85], Operations: ['23+9=32', '53+32=85'] Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,83 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[62, 85], Operations: ['9+53=62', '62+23=85'] Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[62, 85], Operations: ['9+53=62', '23+62=85'] Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,83 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[76, 53], Operations: ['23+53=76', '62-9=53'] Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,83 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[62, 67], Operations: ['23+53=76', '76-9=67'] Exploring Operation: 62*67=4154, Resulting Numbers: [4154] 4154,83 unequal: No Solution Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[53, 94], Operations: ['23+9=32', '62+32=94'] Exploring Operation: 53*94=4982, Resulting Numbers: [4982] 4982,83 unequal: No Solution Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[62, 39], Operations: ['9+53=62', '62-23=39'] Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[62, 39], Operations: ['9+53=62', '62-23=39'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[32, 115], Operations: ['23+9=32', '62+53=115'] Exploring Operation: 32*115=3680, Resulting Numbers: [3680] 3680,83 unequal: No Solution Exploring Operation: 115-32=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[62, 23, 9, 53], Operations: [] Exploring Operation: 23+9=32, Resulting Numbers: [62, 53, 32] Generated Node #0,2: 83:[62, 53, 32] Operation: 23+9=32 Moving to Node #0,2 Current State: 83:[62, 53, 32], Operations: ['23+9=32'] Exploring Operation: 62+53=115, Resulting Numbers: [32, 115] Generated Node #0,2,3: 83:[32, 115] Operation: 62+53=115 Moving to Node #0,2,3 Current State: 83:[32, 115], Operations: ['23+9=32', '62+53=115'] Exploring Operation: 115-32=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.940972
hs_4
sum_heuristic
[ 38, 13, 52, 87 ]
95
[ "52-38=14", "13*14=182", "182-87=95" ]
Current State: 95:[38, 13, 52, 87], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [13, 87, 14] Generated Node #2: [13, 87, 14] from Operation: 52-38=14 Current State: 95:[13, 87, 14], Operations: ['52-38=14'] Exploring Operation: 13*14=182, Resulting Numbers: [87, 182] Generated Node #3: [87, 182] from Operation: 13*14=182 Current State: 95:[87, 182], Operations: ['52-38=14', '13*14=182'] Exploring Operation: 182-87=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[38, 13, 52, 87], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [13, 87, 14] Generated Node #0,0: 95:[13, 87, 14] Operation: 52-38=14 Exploring Operation: 38+52=90, Resulting Numbers: [13, 87, 90] Generated Node #0,1: 95:[13, 87, 90] Operation: 38+52=90 Exploring Operation: 87-52=35, Resulting Numbers: [38, 13, 35] Generated Node #0,2: 95:[38, 13, 35] Operation: 87-52=35 Exploring Operation: 52/13=4, Resulting Numbers: [38, 87, 4] Generated Node #0,3: 95:[38, 87, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 95:[13, 87, 14], Operations: ['52-38=14'] Exploring Operation: 14-13=1, Resulting Numbers: [87, 1] Generated Node #0,0,0: 95:[87, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [87, 27] Generated Node #0,0,1: 95:[87, 27] Operation: 13+14=27 Exploring Operation: 87+14=101, Resulting Numbers: [13, 101] Generated Node #0,0,2: 95:[13, 101] Operation: 87+14=101 Exploring Operation: 13+87=100, Resulting Numbers: [14, 100] Generated Node #0,0,3: 95:[14, 100] Operation: 13+87=100 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[14, 100], Operations: ['52-38=14', '13+87=100'] Exploring Operation: 14+100=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 14*100=1400, Resulting Numbers: [1400] 1400,95 unequal: No Solution Exploring Operation: 100-14=86, Resulting Numbers: [86] 86,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[87, 1], Operations: ['52-38=14', '14-13=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[13, 101], Operations: ['52-38=14', '87+14=101'] Exploring Operation: 13*101=1313, Resulting Numbers: [1313] 1313,95 unequal: No Solution Exploring Operation: 13+101=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 101-13=88, Resulting Numbers: [88] 88,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[87, 27], Operations: ['52-38=14', '13+14=27'] Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,95 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,95 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: 95:[13, 87, 90], Operations: ['38+52=90'] Exploring Operation: 87-13=74, Resulting Numbers: [90, 74] Generated Node #0,1,0: 95:[90, 74] Operation: 87-13=74 Exploring Operation: 13+87=100, Resulting Numbers: [90, 100] Generated Node #0,1,1: 95:[90, 100] Operation: 13+87=100 Exploring Operation: 13+90=103, Resulting Numbers: [87, 103] Generated Node #0,1,2: 95:[87, 103] Operation: 13+90=103 Exploring Operation: 90-87=3, Resulting Numbers: [13, 3] Generated Node #0,1,3: 95:[13, 3] Operation: 90-87=3 Moving to Node #0,3 Current State: 95:[38, 87, 4], Operations: ['52/13=4'] Exploring Operation: 38-4=34, Resulting Numbers: [87, 34] Generated Node #0,3,0: 95:[87, 34] Operation: 38-4=34 Exploring Operation: 87+4=91, Resulting Numbers: [38, 91] Generated Node #0,3,1: 95:[38, 91] Operation: 87+4=91 Exploring Operation: 87-38=49, Resulting Numbers: [4, 49] Generated Node #0,3,2: 95:[4, 49] Operation: 87-38=49 Exploring Operation: 38+87=125, Resulting Numbers: [4, 125] Generated Node #0,3,3: 95:[4, 125] Operation: 38+87=125 Moving to Node #0,2 Current State: 95:[38, 13, 35], Operations: ['87-52=35'] Exploring Operation: 38+35=73, Resulting Numbers: [13, 73] Generated Node #0,2,0: 95:[13, 73] Operation: 38+35=73 Exploring Operation: 38-35=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 95:[13, 3] Operation: 38-35=3 Exploring Operation: 35-13=22, Resulting Numbers: [38, 22] Generated Node #0,2,2: 95:[38, 22] Operation: 35-13=22 Exploring Operation: 38-13=25, Resulting Numbers: [35, 25] Generated Node #0,2,3: 95:[35, 25] Operation: 38-13=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[13, 3], Operations: ['87-52=35', '38-35=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[38, 22], Operations: ['87-52=35', '35-13=22'] Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,95 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[35, 25], Operations: ['87-52=35', '38-13=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[13, 73], Operations: ['87-52=35', '38+35=73'] Exploring Operation: 13+73=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 13*73=949, Resulting Numbers: [949] 949,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 95:[13, 3], Operations: ['38+52=90', '90-87=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[90, 100], Operations: ['38+52=90', '13+87=100'] Exploring Operation: 90*100=9000, Resulting Numbers: [9000] 9000,95 unequal: No Solution Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,95 unequal: No Solution Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[87, 103], Operations: ['38+52=90', '13+90=103'] Exploring Operation: 87*103=8961, Resulting Numbers: [8961] 8961,95 unequal: No Solution Exploring Operation: 103-87=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 87+103=190, Resulting Numbers: [190] 190,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[38, 91], Operations: ['52/13=4', '87+4=91'] Exploring Operation: 38*91=3458, Resulting Numbers: [3458] 3458,95 unequal: No Solution Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 38+91=129, Resulting Numbers: [129] 129,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[87, 34], Operations: ['52/13=4', '38-4=34'] Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,95 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,95 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[90, 74], Operations: ['38+52=90', '87-13=74'] Exploring Operation: 90+74=164, Resulting Numbers: [164] 164,95 unequal: No Solution Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 90*74=6660, Resulting Numbers: [6660] 6660,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[4, 125], Operations: ['52/13=4', '38+87=125'] Exploring Operation: 125-4=121, Resulting Numbers: [121] 121,95 unequal: No Solution Exploring Operation: 4*125=500, Resulting Numbers: [500] 500,95 unequal: No Solution Exploring Operation: 4+125=129, Resulting Numbers: [129] 129,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[4, 49], Operations: ['52/13=4', '87-38=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,95 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 51, 39, 38, 37 ]
70
[ "39-37=2", "38/2=19", "51+19=70" ]
Current State: 70:[51, 39, 38, 37], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [51, 38, 2] Generated Node #2: [51, 38, 2] from Operation: 39-37=2 Current State: 70:[51, 38, 2], Operations: ['39-37=2'] Exploring Operation: 38/2=19, Resulting Numbers: [51, 19] Generated Node #3: [51, 19] from Operation: 38/2=19 Current State: 70:[51, 19], Operations: ['39-37=2', '38/2=19'] Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[51, 39, 38, 37], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [38, 37, 12] Generated Node #0,0: 70:[38, 37, 12] Operation: 51-39=12 Moving to Node #0,0 Current State: 70:[38, 37, 12], Operations: ['51-39=12'] Exploring Operation: 38-37=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 70:[12, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[12, 1], Operations: ['51-39=12', '38-37=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,70 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
[ 99, 5, 38, 68 ]
93
[ "68-38=30", "30/5=6", "99-6=93" ]
Current State: 93:[99, 5, 38, 68], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [99, 5, 30] Generated Node #2: [99, 5, 30] from Operation: 68-38=30 Current State: 93:[99, 5, 30], Operations: ['68-38=30'] Exploring Operation: 30/5=6, Resulting Numbers: [99, 6] Generated Node #3: [99, 6] from Operation: 30/5=6 Current State: 93:[99, 6], Operations: ['68-38=30', '30/5=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[99, 5, 38, 68], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [99, 5, 30] Generated Node #0,0: 93:[99, 5, 30] Operation: 68-38=30 Exploring Operation: 38+68=106, Resulting Numbers: [99, 5, 106] Generated Node #0,1: 93:[99, 5, 106] Operation: 38+68=106 Exploring Operation: 99-68=31, Resulting Numbers: [5, 38, 31] Generated Node #0,2: 93:[5, 38, 31] Operation: 99-68=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[99, 5, 30], Operations: ['68-38=30'] Exploring Operation: 99-5=94, Resulting Numbers: [30, 94] Generated Node #0,0,0: 93:[30, 94] Operation: 99-5=94 Exploring Operation: 5+30=35, Resulting Numbers: [99, 35] Generated Node #0,0,1: 93:[99, 35] Operation: 5+30=35 Exploring Operation: 30/5=6, Resulting Numbers: [99, 6] Generated Node #0,0,2: 93:[99, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[30, 94], Operations: ['68-38=30', '99-5=94'] Exploring Operation: 30+94=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 30*94=2820, Resulting Numbers: [2820] 2820,93 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[99, 6], Operations: ['68-38=30', '30/5=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[99, 5, 38, 68], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [99, 5, 30] Generated Node #0,0: 93:[99, 5, 30] Operation: 68-38=30 Moving to Node #0,0 Current State: 93:[99, 5, 30], Operations: ['68-38=30'] Exploring Operation: 30/5=6, Resulting Numbers: [99, 6] Generated Node #0,0,2: 93:[99, 6] Operation: 30/5=6 Moving to Node #0,0,2 Current State: 93:[99, 6], Operations: ['68-38=30', '30/5=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 98, 46, 97, 2 ]
46
[ "98-97=1", "2-1=1", "46*1=46" ]
Current State: 46:[98, 46, 97, 2], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [46, 2, 1] Generated Node #2: [46, 2, 1] from Operation: 98-97=1 Current State: 46:[46, 2, 1], Operations: ['98-97=1'] Exploring Operation: 2-1=1, Resulting Numbers: [46, 1] Generated Node #3: [46, 1] from Operation: 2-1=1 Current State: 46:[46, 1], Operations: ['98-97=1', '2-1=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[98, 46, 97, 2], Operations: [] Exploring Operation: 98-2=96, Resulting Numbers: [46, 97, 96] Generated Node #0,0: 46:[46, 97, 96] Operation: 98-2=96 Exploring Operation: 98-97=1, Resulting Numbers: [46, 2, 1] Generated Node #0,1: 46:[46, 2, 1] Operation: 98-97=1 Exploring Operation: 98-46=52, Resulting Numbers: [97, 2, 52] Generated Node #0,2: 46:[97, 2, 52] Operation: 98-46=52 Exploring Operation: 98/2=49, Resulting Numbers: [46, 97, 49] Generated Node #0,3: 46:[46, 97, 49] Operation: 98/2=49 Exploring Operation: 97-46=51, Resulting Numbers: [98, 2, 51] Generated Node #0,4: 46:[98, 2, 51] Operation: 97-46=51 Moving to Node #0,1 Current State: 46:[46, 2, 1], Operations: ['98-97=1'] Exploring Operation: 46/2=23, Resulting Numbers: [1, 23] Generated Node #0,1,0: 46:[1, 23] Operation: 46/2=23 Exploring Operation: 2*1=2, Resulting Numbers: [46, 2] Generated Node #0,1,1: 46:[46, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 46:[46, 2] Operation: 2/1=2 Exploring Operation: 46/1=46, Resulting Numbers: [2, 46] Generated Node #0,1,3: 46:[2, 46] Operation: 46/1=46 Exploring Operation: 46*1=46, Resulting Numbers: [2, 46] Generated Node #0,1,4: 46:[2, 46] Operation: 46*1=46 Moving to Node #0,3 Current State: 46:[46, 97, 49], Operations: ['98/2=49'] Exploring Operation: 97-46=51, Resulting Numbers: [49, 51] Generated Node #0,3,0: 46:[49, 51] Operation: 97-46=51 Exploring Operation: 46+49=95, Resulting Numbers: [97, 95] Generated Node #0,3,1: 46:[97, 95] Operation: 46+49=95 Exploring Operation: 49-46=3, Resulting Numbers: [97, 3] Generated Node #0,3,2: 46:[97, 3] Operation: 49-46=3 Exploring Operation: 97-49=48, Resulting Numbers: [46, 48] Generated Node #0,3,3: 46:[46, 48] Operation: 97-49=48 Exploring Operation: 46+97=143, Resulting Numbers: [49, 143] Generated Node #0,3,4: 46:[49, 143] Operation: 46+97=143 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[46, 48], Operations: ['98/2=49', '97-49=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[49, 51], Operations: ['98/2=49', '97-46=51'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[97, 3], Operations: ['98/2=49', '49-46=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[97, 95], Operations: ['98/2=49', '46+49=95'] Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,46 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[49, 143], Operations: ['98/2=49', '46+97=143'] Exploring Operation: 49+143=192, Resulting Numbers: [192] 192,46 unequal: No Solution Exploring Operation: 49*143=7007, Resulting Numbers: [7007] 7007,46 unequal: No Solution Exploring Operation: 143-49=94, Resulting Numbers: [94] 94,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 46:[97, 2, 52], Operations: ['98-46=52'] Exploring Operation: 97+2=99, Resulting Numbers: [52, 99] Generated Node #0,2,0: 46:[52, 99] Operation: 97+2=99 Exploring Operation: 97-52=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 46:[2, 45] Operation: 97-52=45 Exploring Operation: 52-2=50, Resulting Numbers: [97, 50] Generated Node #0,2,2: 46:[97, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [97, 26] Generated Node #0,2,3: 46:[97, 26] Operation: 52/2=26 Exploring Operation: 97-2=95, Resulting Numbers: [52, 95] Generated Node #0,2,4: 46:[52, 95] Operation: 97-2=95 Moving to Node #0,4 Current State: 46:[98, 2, 51], Operations: ['97-46=51'] Exploring Operation: 98-2=96, Resulting Numbers: [51, 96] Generated Node #0,4,0: 46:[51, 96] Operation: 98-2=96 Exploring Operation: 98+2=100, Resulting Numbers: [51, 100] Generated Node #0,4,1: 46:[51, 100] Operation: 98+2=100 Exploring Operation: 51-2=49, Resulting Numbers: [98, 49] Generated Node #0,4,2: 46:[98, 49] Operation: 51-2=49 Exploring Operation: 98/2=49, Resulting Numbers: [51, 49] Generated Node #0,4,3: 46:[51, 49] Operation: 98/2=49 Exploring Operation: 98-51=47, Resulting Numbers: [2, 47] Generated Node #0,4,4: 46:[2, 47] Operation: 98-51=47 Moving to Node #0,0 Current State: 46:[46, 97, 96], Operations: ['98-2=96'] Exploring Operation: 97-46=51, Resulting Numbers: [96, 51] Generated Node #0,0,0: 46:[96, 51] Operation: 97-46=51 Exploring Operation: 96-46=50, Resulting Numbers: [97, 50] Generated Node #0,0,1: 46:[97, 50] Operation: 96-46=50 Exploring Operation: 46+97=143, Resulting Numbers: [96, 143] Generated Node #0,0,2: 46:[96, 143] Operation: 46+97=143 Exploring Operation: 46+96=142, Resulting Numbers: [97, 142] Generated Node #0,0,3: 46:[97, 142] Operation: 46+96=142 Exploring Operation: 97-96=1, Resulting Numbers: [46, 1] Generated Node #0,0,4: 46:[46, 1] Operation: 97-96=1 Moving to Node #0,1,1 Current State: 46:[46, 2], Operations: ['98-97=1', '2*1=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[2, 46], Operations: ['98-97=1', '46/1=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[46, 2], Operations: ['98-97=1', '2/1=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[2, 46], Operations: ['98-97=1', '46*1=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[2, 45], Operations: ['98-46=52', '97-52=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[1, 23], Operations: ['98-97=1', '46/2=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[2, 47], Operations: ['97-46=51', '98-51=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[46, 1], Operations: ['98-2=96', '97-96=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[98, 46, 97, 2], Operations: [] Exploring Operation: 98-2=96, Resulting Numbers: [46, 97, 96] Generated Node #0,0: 46:[46, 97, 96] Operation: 98-2=96 Moving to Node #0,0 Current State: 46:[46, 97, 96], Operations: ['98-2=96'] Exploring Operation: 97-96=1, Resulting Numbers: [46, 1] Generated Node #0,0,4: 46:[46, 1] Operation: 97-96=1 Moving to Node #0,0,4 Current State: 46:[46, 1], Operations: ['98-2=96', '97-96=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.934028
hs_5
mult_heuristic
[ 55, 31, 58, 12 ]
22
[ "55-31=24", "58-12=46", "46-24=22" ]
Current State: 22:[55, 31, 58, 12], Operations: [] Exploring Operation: 55-31=24, Resulting Numbers: [58, 12, 24] Generated Node #2: [58, 12, 24] from Operation: 55-31=24 Current State: 22:[58, 12, 24], Operations: ['55-31=24'] Exploring Operation: 58-12=46, Resulting Numbers: [24, 46] Generated Node #3: [24, 46] from Operation: 58-12=46 Current State: 22:[24, 46], Operations: ['55-31=24', '58-12=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[55, 31, 58, 12], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [31, 12, 3] Generated Node #0,0: 22:[31, 12, 3] Operation: 58-55=3 Exploring Operation: 55-31=24, Resulting Numbers: [58, 12, 24] Generated Node #0,1: 22:[58, 12, 24] Operation: 55-31=24 Exploring Operation: 58-31=27, Resulting Numbers: [55, 12, 27] Generated Node #0,2: 22:[55, 12, 27] Operation: 58-31=27 Exploring Operation: 55-12=43, Resulting Numbers: [31, 58, 43] Generated Node #0,3: 22:[31, 58, 43] Operation: 55-12=43 Exploring Operation: 58-12=46, Resulting Numbers: [55, 31, 46] Generated Node #0,4: 22:[55, 31, 46] Operation: 58-12=46 Moving to Node #0,0 Current State: 22:[31, 12, 3], Operations: ['58-55=3'] Exploring Operation: 31+3=34, Resulting Numbers: [12, 34] Generated Node #0,0,0: 22:[12, 34] Operation: 31+3=34 Exploring Operation: 31-12=19, Resulting Numbers: [3, 19] Generated Node #0,0,1: 22:[3, 19] Operation: 31-12=19 Exploring Operation: 31-3=28, Resulting Numbers: [12, 28] Generated Node #0,0,2: 22:[12, 28] Operation: 31-3=28 Exploring Operation: 12-3=9, Resulting Numbers: [31, 9] Generated Node #0,0,3: 22:[31, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [31, 4] Generated Node #0,0,4: 22:[31, 4] Operation: 12/3=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[3, 19], Operations: ['58-55=3', '31-12=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[55, 31, 58, 12], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [31, 12, 3] Generated Node #0,0: 22:[31, 12, 3] Operation: 58-55=3 Moving to Node #0,0 Current State: 22:[31, 12, 3], Operations: ['58-55=3'] Exploring Operation: 31-12=19, Resulting Numbers: [3, 19] Generated Node #0,0,1: 22:[3, 19] Operation: 31-12=19 Moving to Node #0,0,1 Current State: 22:[3, 19], Operations: ['58-55=3', '31-12=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 23, 63, 84, 26 ]
63
[ "26-23=3", "84-63=21", "3*21=63" ]
Current State: 63:[23, 63, 84, 26], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [63, 84, 3] Generated Node #2: [63, 84, 3] from Operation: 26-23=3 Current State: 63:[63, 84, 3], Operations: ['26-23=3'] Exploring Operation: 84-63=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 84-63=21 Current State: 63:[3, 21], Operations: ['26-23=3', '84-63=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[23, 63, 84, 26], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [23, 26, 21] Generated Node #0,0: 63:[23, 26, 21] Operation: 84-63=21 Exploring Operation: 84-23=61, Resulting Numbers: [63, 26, 61] Generated Node #0,1: 63:[63, 26, 61] Operation: 84-23=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[23, 26, 21], Operations: ['84-63=21'] Exploring Operation: 26-21=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 63:[23, 5] Operation: 26-21=5 Exploring Operation: 26-23=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 63:[21, 3] Operation: 26-23=3 Moving to Node #0,0,1 Current State: 63:[21, 3], Operations: ['84-63=21', '26-23=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[23, 63, 84, 26], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [23, 26, 21] Generated Node #0,0: 63:[23, 26, 21] Operation: 84-63=21 Moving to Node #0,0 Current State: 63:[23, 26, 21], Operations: ['84-63=21'] Exploring Operation: 26-23=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 63:[21, 3] Operation: 26-23=3 Moving to Node #0,0,1 Current State: 63:[21, 3], Operations: ['84-63=21', '26-23=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 91, 16, 21, 21 ]
91
[ "21-21=0", "16*0=0", "91+0=91" ]
Current State: 91:[91, 16, 21, 21], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [91, 16, 0] Generated Node #2: [91, 16, 0] from Operation: 21-21=0 Current State: 91:[91, 16, 0], Operations: ['21-21=0'] Exploring Operation: 16*0=0, Resulting Numbers: [91, 0] Generated Node #3: [91, 0] from Operation: 16*0=0 Current State: 91:[91, 0], Operations: ['21-21=0', '16*0=0'] Exploring Operation: 91+0=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[91, 16, 21, 21], Operations: [] Exploring Operation: 91+16=107, Resulting Numbers: [21, 21, 107] Generated Node #0,0: 91:[21, 21, 107] Operation: 91+16=107 Exploring Operation: 21/21=1, Resulting Numbers: [91, 16, 1] Generated Node #0,1: 91:[91, 16, 1] Operation: 21/21=1 Exploring Operation: 21-16=5, Resulting Numbers: [91, 21, 5] Generated Node #0,2: 91:[91, 21, 5] Operation: 21-16=5 Exploring Operation: 21-16=5, Resulting Numbers: [91, 21, 5] Generated Node #0,3: 91:[91, 21, 5] Operation: 21-16=5 Exploring Operation: 21-21=0, Resulting Numbers: [91, 16, 0] Generated Node #0,4: 91:[91, 16, 0] Operation: 21-21=0 Moving to Node #0,1 Current State: 91:[91, 16, 1], Operations: ['21/21=1'] Exploring Operation: 91/1=91, Resulting Numbers: [16, 91] Generated Node #0,1,0: 91:[16, 91] Operation: 91/1=91 Exploring Operation: 16*1=16, Resulting Numbers: [91, 16] Generated Node #0,1,1: 91:[91, 16] Operation: 16*1=16 Exploring Operation: 16-1=15, Resulting Numbers: [91, 15] Generated Node #0,1,2: 91:[91, 15] Operation: 16-1=15 Exploring Operation: 16/1=16, Resulting Numbers: [91, 16] Generated Node #0,1,3: 91:[91, 16] Operation: 16/1=16 Exploring Operation: 91*1=91, Resulting Numbers: [16, 91] Generated Node #0,1,4: 91:[16, 91] Operation: 91*1=91 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[91, 15], Operations: ['21/21=1', '16-1=15'] Exploring Operation: 91*15=1365, Resulting Numbers: [1365] 1365,91 unequal: No Solution Exploring Operation: 91+15=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[16, 91], Operations: ['21/21=1', '91/1=91'] Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[91, 16], Operations: ['21/21=1', '16*1=16'] Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[91, 16], Operations: ['21/21=1', '16/1=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 91:[16, 91], Operations: ['21/21=1', '91*1=91'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,91 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: 91:[91, 21, 5], Operations: ['21-16=5'] Exploring Operation: 21+5=26, Resulting Numbers: [91, 26] Generated Node #0,3,0: 91:[91, 26] Operation: 21+5=26 Exploring Operation: 21-5=16, Resulting Numbers: [91, 16] Generated Node #0,3,1: 91:[91, 16] Operation: 21-5=16 Exploring Operation: 91+5=96, Resulting Numbers: [21, 96] Generated Node #0,3,2: 91:[21, 96] Operation: 91+5=96 Exploring Operation: 21*5=105, Resulting Numbers: [91, 105] Generated Node #0,3,3: 91:[91, 105] Operation: 21*5=105 Exploring Operation: 91-5=86, Resulting Numbers: [21, 86] Generated Node #0,3,4: 91:[21, 86] Operation: 91-5=86 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[91, 16], Operations: ['21-16=5', '21-5=16'] Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,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,3,0 Current State: 91:[91, 26], Operations: ['21-16=5', '21+5=26'] Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,91 unequal: No Solution Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,91 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,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,3,2 Current State: 91:[21, 96], Operations: ['21-16=5', '91+5=96'] Exploring Operation: 21*96=2016, Resulting Numbers: [2016] 2016,91 unequal: No Solution Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 21+96=117, Resulting Numbers: [117] 117,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,3,4 Current State: 91:[21, 86], Operations: ['21-16=5', '91-5=86'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,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,3,3 Current State: 91:[91, 105], Operations: ['21-16=5', '21*5=105'] Exploring Operation: 91+105=196, Resulting Numbers: [196] 196,91 unequal: No Solution Exploring Operation: 105-91=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 91*105=9555, Resulting Numbers: [9555] 9555,91 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: 91:[91, 21, 5], Operations: ['21-16=5'] Exploring Operation: 21+5=26, Resulting Numbers: [91, 26] Generated Node #0,2,0: 91:[91, 26] Operation: 21+5=26 Exploring Operation: 21-5=16, Resulting Numbers: [91, 16] Generated Node #0,2,1: 91:[91, 16] Operation: 21-5=16 Exploring Operation: 21*5=105, Resulting Numbers: [91, 105] Generated Node #0,2,2: 91:[91, 105] Operation: 21*5=105 Exploring Operation: 91+5=96, Resulting Numbers: [21, 96] Generated Node #0,2,3: 91:[21, 96] Operation: 91+5=96 Exploring Operation: 91-5=86, Resulting Numbers: [21, 86] Generated Node #0,2,4: 91:[21, 86] Operation: 91-5=86 Moving to Node #0,4 Current State: 91:[91, 16, 0], Operations: ['21-21=0'] Exploring Operation: 16+0=16, Resulting Numbers: [91, 16] Generated Node #0,4,0: 91:[91, 16] Operation: 16+0=16 Exploring Operation: 91+0=91, Resulting Numbers: [16, 91] Generated Node #0,4,1: 91:[16, 91] Operation: 91+0=91 Exploring Operation: 16*0=0, Resulting Numbers: [91, 0] Generated Node #0,4,2: 91:[91, 0] Operation: 16*0=0 Exploring Operation: 16-0=16, Resulting Numbers: [91, 16] Generated Node #0,4,3: 91:[91, 16] Operation: 16-0=16 Exploring Operation: 91-0=91, Resulting Numbers: [16, 91] Generated Node #0,4,4: 91:[16, 91] Operation: 91-0=91 Moving to Node #0,0 Current State: 91:[21, 21, 107], Operations: ['91+16=107'] Exploring Operation: 21-21=0, Resulting Numbers: [107, 0] Generated Node #0,0,0: 91:[107, 0] Operation: 21-21=0 Exploring Operation: 107-21=86, Resulting Numbers: [21, 86] Generated Node #0,0,1: 91:[21, 86] Operation: 107-21=86 Exploring Operation: 21/21=1, Resulting Numbers: [107, 1] Generated Node #0,0,2: 91:[107, 1] Operation: 21/21=1 Exploring Operation: 21+21=42, Resulting Numbers: [107, 42] Generated Node #0,0,3: 91:[107, 42] Operation: 21+21=42 Exploring Operation: 107-21=86, Resulting Numbers: [21, 86] Generated Node #0,0,4: 91:[21, 86] Operation: 107-21=86 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[21, 86], Operations: ['91+16=107', '107-21=86'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,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,4 Current State: 91:[21, 86], Operations: ['91+16=107', '107-21=86'] Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,91 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,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:[107, 1], Operations: ['91+16=107', '21/21=1'] Exploring Operation: 107+1=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 107/1=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 107-1=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 107*1=107, Resulting Numbers: [107] 107,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:[107, 0], Operations: ['91+16=107', '21-21=0'] Exploring Operation: 107-0=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 107+0=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 107*0=0, Resulting Numbers: [0] 0,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,3 Current State: 91:[107, 42], Operations: ['91+16=107', '21+21=42'] Exploring Operation: 107*42=4494, Resulting Numbers: [4494] 4494,91 unequal: No Solution Exploring Operation: 107-42=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 107+42=149, Resulting Numbers: [149] 149,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 91:[91, 16], Operations: ['21-16=5', '21-5=16'] Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[91, 16], Operations: ['21-21=0', '16+0=16'] Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[16, 91], Operations: ['21-21=0', '91+0=91'] Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[91, 16], Operations: ['21-21=0', '16-0=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[16, 91], Operations: ['21-21=0', '91-0=91'] Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,91 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[91, 0], Operations: ['21-21=0', '16*0=0'] Exploring Operation: 91+0=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[91, 16, 21, 21], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [91, 16, 0] Generated Node #0,4: 91:[91, 16, 0] Operation: 21-21=0 Moving to Node #0,4 Current State: 91:[91, 16, 0], Operations: ['21-21=0'] Exploring Operation: 16*0=0, Resulting Numbers: [91, 0] Generated Node #0,4,2: 91:[91, 0] Operation: 16*0=0 Moving to Node #0,4,2 Current State: 91:[91, 0], Operations: ['21-21=0', '16*0=0'] Exploring Operation: 91+0=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.916667
hs_5
mult_heuristic
[ 13, 73, 32, 33 ]
68
[ "32+33=65", "65/13=5", "73-5=68" ]
Current State: 68:[13, 73, 32, 33], Operations: [] Exploring Operation: 32+33=65, Resulting Numbers: [13, 73, 65] Generated Node #2: [13, 73, 65] from Operation: 32+33=65 Current State: 68:[13, 73, 65], Operations: ['32+33=65'] Exploring Operation: 65/13=5, Resulting Numbers: [73, 5] Generated Node #3: [73, 5] from Operation: 65/13=5 Current State: 68:[73, 5], Operations: ['32+33=65', '65/13=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[13, 73, 32, 33], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [73, 33, 19] Generated Node #0,0: 68:[73, 33, 19] Operation: 32-13=19 Exploring Operation: 33-13=20, Resulting Numbers: [73, 32, 20] Generated Node #0,1: 68:[73, 32, 20] Operation: 33-13=20 Moving to Node #0,0 Current State: 68:[73, 33, 19], Operations: ['32-13=19'] Exploring Operation: 73-33=40, Resulting Numbers: [19, 40] Generated Node #0,0,0: 68:[19, 40] Operation: 73-33=40 Exploring Operation: 33-19=14, Resulting Numbers: [73, 14] Generated Node #0,0,1: 68:[73, 14] Operation: 33-19=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[19, 40], Operations: ['32-13=19', '73-33=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[73, 14], Operations: ['32-13=19', '33-19=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,68 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,68 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: 68:[73, 32, 20], Operations: ['33-13=20'] Exploring Operation: 32-20=12, Resulting Numbers: [73, 12] Generated Node #0,1,0: 68:[73, 12] Operation: 32-20=12 Exploring Operation: 73-32=41, Resulting Numbers: [20, 41] Generated Node #0,1,1: 68:[20, 41] Operation: 73-32=41 Moving to Node #0,1,0 Current State: 68:[73, 12], Operations: ['33-13=20', '32-20=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[20, 41], Operations: ['33-13=20', '73-32=41'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,68 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 99, 50, 49, 98 ]
47
[ "99-50=49", "98/49=2", "49-2=47" ]
Current State: 47:[99, 50, 49, 98], Operations: [] Exploring Operation: 99-50=49, Resulting Numbers: [49, 98, 49] Generated Node #2: [49, 98, 49] from Operation: 99-50=49 Current State: 47:[49, 98, 49], Operations: ['99-50=49'] Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,47 equal: Goal Reached Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[99, 50, 49, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [99, 49, 48] Generated Node #0,0: 47:[99, 49, 48] Operation: 98-50=48 Exploring Operation: 99-98=1, Resulting Numbers: [50, 49, 1] Generated Node #0,1: 47:[50, 49, 1] Operation: 99-98=1 Exploring Operation: 99-50=49, Resulting Numbers: [49, 98, 49] Generated Node #0,2: 47:[49, 98, 49] Operation: 99-50=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[50, 49, 1], Operations: ['99-98=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49, 49] Generated Node #0,1,0: 47:[49, 49] Operation: 50-1=49 Exploring Operation: 50*1=50, Resulting Numbers: [49, 50] Generated Node #0,1,1: 47:[49, 50] Operation: 50*1=50 Exploring Operation: 49-1=48, Resulting Numbers: [50, 48] Generated Node #0,1,2: 47:[50, 48] Operation: 49-1=48 Moving to Node #0,1,0 Current State: 47:[49, 49], Operations: ['99-98=1', '50-1=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[50, 48], Operations: ['99-98=1', '49-1=48'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[49, 50], Operations: ['99-98=1', '50*1=50'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,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:[99, 49, 48], Operations: ['98-50=48'] Exploring Operation: 99-49=50, Resulting Numbers: [48, 50] Generated Node #0,0,0: 47:[48, 50] Operation: 99-49=50 Exploring Operation: 49-48=1, Resulting Numbers: [99, 1] Generated Node #0,0,1: 47:[99, 1] Operation: 49-48=1 Exploring Operation: 99-48=51, Resulting Numbers: [49, 51] Generated Node #0,0,2: 47:[49, 51] Operation: 99-48=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[48, 50], Operations: ['98-50=48', '99-49=50'] Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,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:[49, 51], Operations: ['98-50=48', '99-48=51'] Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,47 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[99, 1], Operations: ['98-50=48', '49-48=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,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,2 Current State: 47:[49, 98, 49], Operations: ['99-50=49'] Exploring Operation: 98-49=49, Resulting Numbers: [49, 49] Generated Node #0,2,0: 47:[49, 49] Operation: 98-49=49 Exploring Operation: 98-49=49, Resulting Numbers: [49, 49] Generated Node #0,2,1: 47:[49, 49] Operation: 98-49=49 Exploring Operation: 98/49=2, Resulting Numbers: [49, 2] Generated Node #0,2,2: 47:[49, 2] Operation: 98/49=2 Moving to Node #0,2,0 Current State: 47:[49, 49], Operations: ['99-50=49', '98-49=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[49, 49], Operations: ['99-50=49', '98-49=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[49, 2], Operations: ['99-50=49', '98/49=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[99, 50, 49, 98], Operations: [] Exploring Operation: 99-50=49, Resulting Numbers: [49, 98, 49] Generated Node #0,2: 47:[49, 98, 49] Operation: 99-50=49 Moving to Node #0,2 Current State: 47:[49, 98, 49], Operations: ['99-50=49'] Exploring Operation: 98/49=2, Resulting Numbers: [49, 2] Generated Node #0,2,2: 47:[49, 2] Operation: 98/49=2 Moving to Node #0,2,2 Current State: 47:[49, 2], Operations: ['99-50=49', '98/49=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
mult_heuristic
[ 77, 16, 35, 65 ]
55
[ "77*35=2695", "65-16=49", "2695/49=55" ]
Current State: 55:[77, 16, 35, 65], Operations: [] Exploring Operation: 77*35=2695, Resulting Numbers: [16, 65, 2695] Generated Node #2: [16, 65, 2695] from Operation: 77*35=2695 Current State: 55:[16, 65, 2695], Operations: ['77*35=2695'] Exploring Operation: 65-16=49, Resulting Numbers: [2695, 49] Generated Node #3: [2695, 49] from Operation: 65-16=49 Current State: 55:[2695, 49], Operations: ['77*35=2695', '65-16=49'] Exploring Operation: 2695/49=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[77, 16, 35, 65], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [16, 35, 12] Generated Node #0,0: 55:[16, 35, 12] Operation: 77-65=12 Moving to Node #0,0 Current State: 55:[16, 35, 12], Operations: ['77-65=12'] Exploring Operation: 16+35=51, Resulting Numbers: [12, 51] Generated Node #0,0,0: 55:[12, 51] Operation: 16+35=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[12, 51], Operations: ['77-65=12', '16+35=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 49, 85, 70, 47 ]
50
[ "49-47=2", "70/2=35", "85-35=50" ]
Current State: 50:[49, 85, 70, 47], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [85, 70, 2] Generated Node #2: [85, 70, 2] from Operation: 49-47=2 Current State: 50:[85, 70, 2], Operations: ['49-47=2'] Exploring Operation: 70/2=35, Resulting Numbers: [85, 35] Generated Node #3: [85, 35] from Operation: 70/2=35 Current State: 50:[85, 35], Operations: ['49-47=2', '70/2=35'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[49, 85, 70, 47], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [49, 47, 15] Generated Node #0,0: 50:[49, 47, 15] Operation: 85-70=15 Exploring Operation: 70-49=21, Resulting Numbers: [85, 47, 21] Generated Node #0,1: 50:[85, 47, 21] Operation: 70-49=21 Exploring Operation: 85-49=36, Resulting Numbers: [70, 47, 36] Generated Node #0,2: 50:[70, 47, 36] Operation: 85-49=36 Exploring Operation: 70-47=23, Resulting Numbers: [49, 85, 23] Generated Node #0,3: 50:[49, 85, 23] Operation: 70-47=23 Exploring Operation: 85-47=38, Resulting Numbers: [49, 70, 38] Generated Node #0,4: 50:[49, 70, 38] Operation: 85-47=38 Moving to Node #0,0 Current State: 50:[49, 47, 15], Operations: ['85-70=15'] Exploring Operation: 49+15=64, Resulting Numbers: [47, 64] Generated Node #0,0,0: 50:[47, 64] Operation: 49+15=64 Exploring Operation: 49-47=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 50:[15, 2] Operation: 49-47=2 Exploring Operation: 47-15=32, Resulting Numbers: [49, 32] Generated Node #0,0,2: 50:[49, 32] Operation: 47-15=32 Exploring Operation: 47+15=62, Resulting Numbers: [49, 62] Generated Node #0,0,3: 50:[49, 62] Operation: 47+15=62 Exploring Operation: 49-15=34, Resulting Numbers: [47, 34] Generated Node #0,0,4: 50:[47, 34] Operation: 49-15=34 Moving to Node #0,4 Current State: 50:[49, 70, 38], Operations: ['85-47=38'] Exploring Operation: 70+38=108, Resulting Numbers: [49, 108] Generated Node #0,4,0: 50:[49, 108] Operation: 70+38=108 Exploring Operation: 49+38=87, Resulting Numbers: [70, 87] Generated Node #0,4,1: 50:[70, 87] Operation: 49+38=87 Exploring Operation: 70-38=32, Resulting Numbers: [49, 32] Generated Node #0,4,2: 50:[49, 32] Operation: 70-38=32 Exploring Operation: 49-38=11, Resulting Numbers: [70, 11] Generated Node #0,4,3: 50:[70, 11] Operation: 49-38=11 Exploring Operation: 70-49=21, Resulting Numbers: [38, 21] Generated Node #0,4,4: 50:[38, 21] Operation: 70-49=21 Moving to Node #0,2 Current State: 50:[70, 47, 36], Operations: ['85-49=36'] Exploring Operation: 70-36=34, Resulting Numbers: [47, 34] Generated Node #0,2,0: 50:[47, 34] Operation: 70-36=34 Exploring Operation: 47-36=11, Resulting Numbers: [70, 11] Generated Node #0,2,1: 50:[70, 11] Operation: 47-36=11 Exploring Operation: 70-47=23, Resulting Numbers: [36, 23] Generated Node #0,2,2: 50:[36, 23] Operation: 70-47=23 Exploring Operation: 47+36=83, Resulting Numbers: [70, 83] Generated Node #0,2,3: 50:[70, 83] Operation: 47+36=83 Exploring Operation: 70+36=106, Resulting Numbers: [47, 106] Generated Node #0,2,4: 50:[47, 106] Operation: 70+36=106 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[47, 34], Operations: ['85-49=36', '70-36=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,50 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[36, 23], Operations: ['85-49=36', '70-47=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[70, 11], Operations: ['85-49=36', '47-36=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[70, 83], Operations: ['85-49=36', '47+36=83'] Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,50 unequal: No Solution Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,50 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 50:[47, 106], Operations: ['85-49=36', '70+36=106'] Exploring Operation: 47*106=4982, Resulting Numbers: [4982] 4982,50 unequal: No Solution Exploring Operation: 47+106=153, Resulting Numbers: [153] 153,50 unequal: No Solution Exploring Operation: 106-47=59, Resulting Numbers: [59] 59,50 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: 50:[49, 85, 23], Operations: ['70-47=23'] Exploring Operation: 85-23=62, Resulting Numbers: [49, 62] Generated Node #0,3,0: 50:[49, 62] Operation: 85-23=62 Exploring Operation: 85+23=108, Resulting Numbers: [49, 108] Generated Node #0,3,1: 50:[49, 108] Operation: 85+23=108 Exploring Operation: 49+23=72, Resulting Numbers: [85, 72] Generated Node #0,3,2: 50:[85, 72] Operation: 49+23=72 Exploring Operation: 85-49=36, Resulting Numbers: [23, 36] Generated Node #0,3,3: 50:[23, 36] Operation: 85-49=36 Exploring Operation: 49-23=26, Resulting Numbers: [85, 26] Generated Node #0,3,4: 50:[85, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[49, 62], Operations: ['70-47=23', '85-23=62'] Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,50 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[23, 36], Operations: ['70-47=23', '85-49=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,50 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 50:[85, 26], Operations: ['70-47=23', '49-23=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[85, 72], Operations: ['70-47=23', '49+23=72'] Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,50 unequal: No Solution Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,50 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[49, 108], Operations: ['70-47=23', '85+23=108'] Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 49*108=5292, Resulting Numbers: [5292] 5292,50 unequal: No Solution Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 50:[85, 47, 21], Operations: ['70-49=21'] Exploring Operation: 47-21=26, Resulting Numbers: [85, 26] Generated Node #0,1,0: 50:[85, 26] Operation: 47-21=26 Exploring Operation: 85-47=38, Resulting Numbers: [21, 38] Generated Node #0,1,1: 50:[21, 38] Operation: 85-47=38 Exploring Operation: 85-21=64, Resulting Numbers: [47, 64] Generated Node #0,1,2: 50:[47, 64] Operation: 85-21=64 Exploring Operation: 85+21=106, Resulting Numbers: [47, 106] Generated Node #0,1,3: 50:[47, 106] Operation: 85+21=106 Exploring Operation: 47+21=68, Resulting Numbers: [85, 68] Generated Node #0,1,4: 50:[85, 68] Operation: 47+21=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[21, 38], Operations: ['70-49=21', '85-47=38'] Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,50 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[47, 64], Operations: ['70-49=21', '85-21=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,50 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[85, 26], Operations: ['70-49=21', '47-21=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 50:[85, 68], Operations: ['70-49=21', '47+21=68'] Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,50 unequal: No Solution Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,50 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[47, 106], Operations: ['70-49=21', '85+21=106'] Exploring Operation: 106-47=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 47*106=4982, Resulting Numbers: [4982] 4982,50 unequal: No Solution Exploring Operation: 47+106=153, Resulting Numbers: [153] 153,50 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: 50:[15, 2], Operations: ['85-70=15', '49-47=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,50 unequal: No Solution Moving to Node #0,4,2 Current State: 50:[49, 32], Operations: ['85-47=38', '70-38=32'] Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,50 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[49, 32], Operations: ['85-70=15', '47-15=32'] Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,50 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,50 unequal: No Solution Moving to Node #0,0,4 Current State: 50:[47, 34], Operations: ['85-70=15', '49-15=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,50 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[49, 62], Operations: ['85-70=15', '47+15=62'] Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,50 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,50 unequal: No Solution Moving to Node #0,4,4 Current State: 50:[38, 21], Operations: ['85-47=38', '70-49=21'] Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,50 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[47, 64], Operations: ['85-70=15', '49+15=64'] Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,50 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,50 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,50 unequal: No Solution Moving to Node #0,4,3 Current State: 50:[70, 11], Operations: ['85-47=38', '49-38=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,50 unequal: No Solution Moving to Node #0,4,1 Current State: 50:[70, 87], Operations: ['85-47=38', '49+38=87'] Exploring Operation: 70+87=157, Resulting Numbers: [157] 157,50 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 70*87=6090, Resulting Numbers: [6090] 6090,50 unequal: No Solution Moving to Node #0,4,0 Current State: 50:[49, 108], Operations: ['85-47=38', '70+38=108'] Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,50 unequal: No Solution Exploring Operation: 49*108=5292, Resulting Numbers: [5292] 5292,50 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 23, 30, 67, 33 ]
92
[ "67-30=37", "37-33=4", "23*4=92" ]
Current State: 92:[23, 30, 67, 33], Operations: [] Exploring Operation: 67-30=37, Resulting Numbers: [23, 33, 37] Generated Node #2: [23, 33, 37] from Operation: 67-30=37 Current State: 92:[23, 33, 37], Operations: ['67-30=37'] Exploring Operation: 37-33=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 37-33=4 Current State: 92:[23, 4], Operations: ['67-30=37', '37-33=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[23, 30, 67, 33], Operations: [] Exploring Operation: 30+67=97, Resulting Numbers: [23, 33, 97] Generated Node #0,0: 92:[23, 33, 97] Operation: 30+67=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[23, 33, 97], Operations: ['30+67=97'] Exploring Operation: 33-23=10, Resulting Numbers: [97, 10] Generated Node #0,0,0: 92:[97, 10] Operation: 33-23=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[97, 10], Operations: ['30+67=97', '33-23=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 63, 28, 20, 3 ]
47
[ "28+20=48", "48/3=16", "63-16=47" ]
Current State: 47:[63, 28, 20, 3], Operations: [] Exploring Operation: 28+20=48, Resulting Numbers: [63, 3, 48] Generated Node #2: [63, 3, 48] from Operation: 28+20=48 Current State: 47:[63, 3, 48], Operations: ['28+20=48'] Exploring Operation: 48/3=16, Resulting Numbers: [63, 16] Generated Node #3: [63, 16] from Operation: 48/3=16 Current State: 47:[63, 16], Operations: ['28+20=48', '48/3=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[63, 28, 20, 3], Operations: [] Exploring Operation: 63-3=60, Resulting Numbers: [28, 20, 60] Generated Node #0,0: 47:[28, 20, 60] Operation: 63-3=60 Exploring Operation: 20*3=60, Resulting Numbers: [63, 28, 60] Generated Node #0,1: 47:[63, 28, 60] Operation: 20*3=60 Moving to Node #0,1 Current State: 47:[63, 28, 60], Operations: ['20*3=60'] Exploring Operation: 63-28=35, Resulting Numbers: [60, 35] Generated Node #0,1,0: 47:[60, 35] Operation: 63-28=35 Exploring Operation: 60-28=32, Resulting Numbers: [63, 32] Generated Node #0,1,1: 47:[63, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[60, 35], Operations: ['20*3=60', '63-28=35'] Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,47 unequal: No Solution Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[63, 32], Operations: ['20*3=60', '60-28=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,47 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: 47:[28, 20, 60], Operations: ['63-3=60'] Exploring Operation: 60-20=40, Resulting Numbers: [28, 40] Generated Node #0,0,0: 47:[28, 40] Operation: 60-20=40 Exploring Operation: 28+20=48, Resulting Numbers: [60, 48] Generated Node #0,0,1: 47:[60, 48] Operation: 28+20=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[60, 48], Operations: ['63-3=60', '28+20=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,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,0 Current State: 47:[28, 40], Operations: ['63-3=60', '60-20=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 45, 48, 53, 60 ]
54
[ "53-45=8", "48/8=6", "60-6=54" ]
Current State: 54:[45, 48, 53, 60], Operations: [] Exploring Operation: 53-45=8, Resulting Numbers: [48, 60, 8] Generated Node #2: [48, 60, 8] from Operation: 53-45=8 Current State: 54:[48, 60, 8], Operations: ['53-45=8'] Exploring Operation: 48/8=6, Resulting Numbers: [60, 6] Generated Node #3: [60, 6] from Operation: 48/8=6 Current State: 54:[60, 6], Operations: ['53-45=8', '48/8=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[45, 48, 53, 60], Operations: [] Exploring Operation: 60-45=15, Resulting Numbers: [48, 53, 15] Generated Node #0,0: 54:[48, 53, 15] Operation: 60-45=15 Exploring Operation: 53-45=8, Resulting Numbers: [48, 60, 8] Generated Node #0,1: 54:[48, 60, 8] Operation: 53-45=8 Exploring Operation: 53-48=5, Resulting Numbers: [45, 60, 5] Generated Node #0,2: 54:[45, 60, 5] Operation: 53-48=5 Exploring Operation: 48-45=3, Resulting Numbers: [53, 60, 3] Generated Node #0,3: 54:[53, 60, 3] Operation: 48-45=3 Exploring Operation: 60-48=12, Resulting Numbers: [45, 53, 12] Generated Node #0,4: 54:[45, 53, 12] Operation: 60-48=12 Moving to Node #0,3 Current State: 54:[53, 60, 3], Operations: ['48-45=3'] Exploring Operation: 53-3=50, Resulting Numbers: [60, 50] Generated Node #0,3,0: 54:[60, 50] Operation: 53-3=50 Exploring Operation: 53+3=56, Resulting Numbers: [60, 56] Generated Node #0,3,1: 54:[60, 56] Operation: 53+3=56 Exploring Operation: 60-53=7, Resulting Numbers: [3, 7] Generated Node #0,3,2: 54:[3, 7] Operation: 60-53=7 Exploring Operation: 60-3=57, Resulting Numbers: [53, 57] Generated Node #0,3,3: 54:[53, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [53, 20] Generated Node #0,3,4: 54:[53, 20] Operation: 60/3=20 Moving to Node #0,0 Current State: 54:[48, 53, 15], Operations: ['60-45=15'] Exploring Operation: 53-15=38, Resulting Numbers: [48, 38] Generated Node #0,0,0: 54:[48, 38] Operation: 53-15=38 Exploring Operation: 48+15=63, Resulting Numbers: [53, 63] Generated Node #0,0,1: 54:[53, 63] Operation: 48+15=63 Exploring Operation: 53-48=5, Resulting Numbers: [15, 5] Generated Node #0,0,2: 54:[15, 5] Operation: 53-48=5 Exploring Operation: 48-15=33, Resulting Numbers: [53, 33] Generated Node #0,0,3: 54:[53, 33] Operation: 48-15=33 Exploring Operation: 53+15=68, Resulting Numbers: [48, 68] Generated Node #0,0,4: 54:[48, 68] Operation: 53+15=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[15, 5], Operations: ['60-45=15', '53-48=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,54 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 54:[53, 33], Operations: ['60-45=15', '48-15=33'] Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,54 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,54 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,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:[53, 63], Operations: ['60-45=15', '48+15=63'] Exploring Operation: 53*63=3339, Resulting Numbers: [3339] 3339,54 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[48, 38], Operations: ['60-45=15', '53-15=38'] Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,54 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,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,4 Current State: 54:[48, 68], Operations: ['60-45=15', '53+15=68'] Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,54 unequal: No Solution Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,54 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,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:[48, 60, 8], Operations: ['53-45=8'] Exploring Operation: 48+8=56, Resulting Numbers: [60, 56] Generated Node #0,1,0: 54:[60, 56] Operation: 48+8=56 Exploring Operation: 60-8=52, Resulting Numbers: [48, 52] Generated Node #0,1,1: 54:[48, 52] Operation: 60-8=52 Exploring Operation: 48-8=40, Resulting Numbers: [60, 40] Generated Node #0,1,2: 54:[60, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [60, 6] Generated Node #0,1,3: 54:[60, 6] Operation: 48/8=6 Exploring Operation: 60-48=12, Resulting Numbers: [8, 12] Generated Node #0,1,4: 54:[8, 12] Operation: 60-48=12 Moving to Node #0,4 Current State: 54:[45, 53, 12], Operations: ['60-48=12'] Exploring Operation: 53+12=65, Resulting Numbers: [45, 65] Generated Node #0,4,0: 54:[45, 65] Operation: 53+12=65 Exploring Operation: 53-12=41, Resulting Numbers: [45, 41] Generated Node #0,4,1: 54:[45, 41] Operation: 53-12=41 Exploring Operation: 45-12=33, Resulting Numbers: [53, 33] Generated Node #0,4,2: 54:[53, 33] Operation: 45-12=33 Exploring Operation: 45+12=57, Resulting Numbers: [53, 57] Generated Node #0,4,3: 54:[53, 57] Operation: 45+12=57 Exploring Operation: 53-45=8, Resulting Numbers: [12, 8] Generated Node #0,4,4: 54:[12, 8] Operation: 53-45=8 Moving to Node #0,2 Current State: 54:[45, 60, 5], Operations: ['53-48=5'] Exploring Operation: 60/5=12, Resulting Numbers: [45, 12] Generated Node #0,2,0: 54:[45, 12] Operation: 60/5=12 Exploring Operation: 45/5=9, Resulting Numbers: [60, 9] Generated Node #0,2,1: 54:[60, 9] Operation: 45/5=9 Exploring Operation: 60-45=15, Resulting Numbers: [5, 15] Generated Node #0,2,2: 54:[5, 15] Operation: 60-45=15 Exploring Operation: 60-5=55, Resulting Numbers: [45, 55] Generated Node #0,2,3: 54:[45, 55] Operation: 60-5=55 Exploring Operation: 45+5=50, Resulting Numbers: [60, 50] Generated Node #0,2,4: 54:[60, 50] Operation: 45+5=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[5, 15], Operations: ['53-48=5', '60-45=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,54 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[60, 9], Operations: ['53-48=5', '45/5=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,54 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[45, 55], Operations: ['53-48=5', '60-5=55'] Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,54 unequal: No Solution Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,54 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 54:[60, 50], Operations: ['53-48=5', '45+5=50'] Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,54 unequal: No Solution Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[45, 12], Operations: ['53-48=5', '60/5=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 54:[3, 7], Operations: ['48-45=3', '60-53=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,54 unequal: No Solution Moving to Node #0,3,4 Current State: 54:[53, 20], Operations: ['48-45=3', '60/3=20'] Exploring Operation: 53*20=1060, Resulting Numbers: [1060] 1060,54 unequal: No Solution Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,54 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[53, 57], Operations: ['48-45=3', '60-3=57'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[8, 12], Operations: ['53-45=8', '60-48=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[12, 8], Operations: ['60-48=12', '53-45=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[53, 57], Operations: ['60-48=12', '45+12=57'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,54 unequal: No Solution Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[60, 6], Operations: ['53-45=8', '48/8=6'] Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,54 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[45, 48, 53, 60], Operations: [] Exploring Operation: 53-45=8, Resulting Numbers: [48, 60, 8] Generated Node #0,1: 54:[48, 60, 8] Operation: 53-45=8 Moving to Node #0,1 Current State: 54:[48, 60, 8], Operations: ['53-45=8'] Exploring Operation: 48/8=6, Resulting Numbers: [60, 6] Generated Node #0,1,3: 54:[60, 6] Operation: 48/8=6 Moving to Node #0,1,3 Current State: 54:[60, 6], Operations: ['53-45=8', '48/8=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.923611
hs_5
mult_heuristic
[ 26, 26, 38, 65 ]
79
[ "26+26=52", "65-38=27", "52+27=79" ]
Current State: 79:[26, 26, 38, 65], Operations: [] Exploring Operation: 26+26=52, Resulting Numbers: [38, 65, 52] Generated Node #2: [38, 65, 52] from Operation: 26+26=52 Current State: 79:[38, 65, 52], Operations: ['26+26=52'] Exploring Operation: 65-38=27, Resulting Numbers: [52, 27] Generated Node #3: [52, 27] from Operation: 65-38=27 Current State: 79:[52, 27], Operations: ['26+26=52', '65-38=27'] Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[26, 26, 38, 65], Operations: [] Exploring Operation: 26+26=52, Resulting Numbers: [38, 65, 52] Generated Node #0,0: 79:[38, 65, 52] Operation: 26+26=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[38, 65, 52], Operations: ['26+26=52'] Exploring Operation: 38+52=90, Resulting Numbers: [65, 90] Generated Node #0,0,0: 79:[65, 90] Operation: 38+52=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[65, 90], Operations: ['26+26=52', '38+52=90'] Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,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
[ 37, 33, 82, 84 ]
41
[ "84-82=2", "37*2=74", "74-33=41" ]
Current State: 41:[37, 33, 82, 84], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [37, 33, 2] Generated Node #2: [37, 33, 2] from Operation: 84-82=2 Current State: 41:[37, 33, 2], Operations: ['84-82=2'] Exploring Operation: 37*2=74, Resulting Numbers: [33, 74] Generated Node #3: [33, 74] from Operation: 37*2=74 Current State: 41:[33, 74], Operations: ['84-82=2', '37*2=74'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[37, 33, 82, 84], Operations: [] Exploring Operation: 84-37=47, Resulting Numbers: [33, 82, 47] Generated Node #0,0: 41:[33, 82, 47] Operation: 84-37=47 Exploring Operation: 84-33=51, Resulting Numbers: [37, 82, 51] Generated Node #0,1: 41:[37, 82, 51] Operation: 84-33=51 Exploring Operation: 82-37=45, Resulting Numbers: [33, 84, 45] Generated Node #0,2: 41:[33, 84, 45] Operation: 82-37=45 Exploring Operation: 82-33=49, Resulting Numbers: [37, 84, 49] Generated Node #0,3: 41:[37, 84, 49] Operation: 82-33=49 Exploring Operation: 84-82=2, Resulting Numbers: [37, 33, 2] Generated Node #0,4: 41:[37, 33, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[37, 33, 2], Operations: ['84-82=2'] Exploring Operation: 37-2=35, Resulting Numbers: [33, 35] Generated Node #0,4,0: 41:[33, 35] Operation: 37-2=35 Exploring Operation: 37+2=39, Resulting Numbers: [33, 39] Generated Node #0,4,1: 41:[33, 39] Operation: 37+2=39 Exploring Operation: 33*2=66, Resulting Numbers: [37, 66] Generated Node #0,4,2: 41:[37, 66] Operation: 33*2=66 Exploring Operation: 33+2=35, Resulting Numbers: [37, 35] Generated Node #0,4,3: 41:[37, 35] Operation: 33+2=35 Exploring Operation: 33-2=31, Resulting Numbers: [37, 31] Generated Node #0,4,4: 41:[37, 31] Operation: 33-2=31 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[33, 39], Operations: ['84-82=2', '37+2=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,41 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[37, 35], Operations: ['84-82=2', '33+2=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,41 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,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:[33, 35], Operations: ['84-82=2', '37-2=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,41 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,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:[37, 31], Operations: ['84-82=2', '33-2=31'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,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:[37, 66], Operations: ['84-82=2', '33*2=66'] Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,41 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[33, 82, 47], Operations: ['84-37=47'] Exploring Operation: 82-47=35, Resulting Numbers: [33, 35] Generated Node #0,0,0: 41:[33, 35] Operation: 82-47=35 Exploring Operation: 82-33=49, Resulting Numbers: [47, 49] Generated Node #0,0,1: 41:[47, 49] Operation: 82-33=49 Exploring Operation: 47-33=14, Resulting Numbers: [82, 14] Generated Node #0,0,2: 41:[82, 14] Operation: 47-33=14 Exploring Operation: 33+47=80, Resulting Numbers: [82, 80] Generated Node #0,0,3: 41:[82, 80] Operation: 33+47=80 Exploring Operation: 33+82=115, Resulting Numbers: [47, 115] Generated Node #0,0,4: 41:[47, 115] Operation: 33+82=115 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[33, 35], Operations: ['84-37=47', '82-47=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,41 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[47, 49], Operations: ['84-37=47', '82-33=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[82, 14], Operations: ['84-37=47', '47-33=14'] Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,41 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[82, 80], Operations: ['84-37=47', '33+47=80'] Exploring Operation: 82*80=6560, Resulting Numbers: [6560] 6560,41 unequal: No Solution Exploring Operation: 82+80=162, Resulting Numbers: [162] 162,41 unequal: No Solution Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 41:[47, 115], Operations: ['84-37=47', '33+82=115'] Exploring Operation: 115-47=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 47*115=5405, Resulting Numbers: [5405] 5405,41 unequal: No Solution Exploring Operation: 47+115=162, Resulting Numbers: [162] 162,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[37, 82, 51], Operations: ['84-33=51'] Exploring Operation: 37+82=119, Resulting Numbers: [51, 119] Generated Node #0,1,0: 41:[51, 119] Operation: 37+82=119 Exploring Operation: 82-51=31, Resulting Numbers: [37, 31] Generated Node #0,1,1: 41:[37, 31] Operation: 82-51=31 Exploring Operation: 37+51=88, Resulting Numbers: [82, 88] Generated Node #0,1,2: 41:[82, 88] Operation: 37+51=88 Exploring Operation: 51-37=14, Resulting Numbers: [82, 14] Generated Node #0,1,3: 41:[82, 14] Operation: 51-37=14 Exploring Operation: 82-37=45, Resulting Numbers: [51, 45] Generated Node #0,1,4: 41:[51, 45] Operation: 82-37=45 Moving to Node #0,1,1 Current State: 41:[37, 31], Operations: ['84-33=51', '82-51=31'] Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,41 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[51, 45], Operations: ['84-33=51', '82-37=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[82, 14], Operations: ['84-33=51', '51-37=14'] Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,41 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[51, 119], Operations: ['84-33=51', '37+82=119'] Exploring Operation: 51+119=170, Resulting Numbers: [170] 170,41 unequal: No Solution Exploring Operation: 119-51=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 51*119=6069, Resulting Numbers: [6069] 6069,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[82, 88], Operations: ['84-33=51', '37+51=88'] Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,41 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[33, 84, 45], Operations: ['82-37=45'] Exploring Operation: 33+84=117, Resulting Numbers: [45, 117] Generated Node #0,2,0: 41:[45, 117] Operation: 33+84=117 Exploring Operation: 84-33=51, Resulting Numbers: [45, 51] Generated Node #0,2,1: 41:[45, 51] Operation: 84-33=51 Exploring Operation: 45-33=12, Resulting Numbers: [84, 12] Generated Node #0,2,2: 41:[84, 12] Operation: 45-33=12 Exploring Operation: 33+45=78, Resulting Numbers: [84, 78] Generated Node #0,2,3: 41:[84, 78] Operation: 33+45=78 Exploring Operation: 84-45=39, Resulting Numbers: [33, 39] Generated Node #0,2,4: 41:[33, 39] Operation: 84-45=39 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 41:[33, 39], Operations: ['82-37=45', '84-45=39'] Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,41 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[45, 51], Operations: ['82-37=45', '84-33=51'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[84, 12], Operations: ['82-37=45', '45-33=12'] Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,41 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[45, 117], Operations: ['82-37=45', '33+84=117'] Exploring Operation: 45+117=162, Resulting Numbers: [162] 162,41 unequal: No Solution Exploring Operation: 117-45=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 45*117=5265, Resulting Numbers: [5265] 5265,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[84, 78], Operations: ['82-37=45', '33+45=78'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,41 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,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:[37, 84, 49], Operations: ['82-33=49'] Exploring Operation: 49-37=12, Resulting Numbers: [84, 12] Generated Node #0,3,0: 41:[84, 12] Operation: 49-37=12 Exploring Operation: 84-49=35, Resulting Numbers: [37, 35] Generated Node #0,3,1: 41:[37, 35] Operation: 84-49=35 Exploring Operation: 37+84=121, Resulting Numbers: [49, 121] Generated Node #0,3,2: 41:[49, 121] Operation: 37+84=121 Exploring Operation: 84-37=47, Resulting Numbers: [49, 47] Generated Node #0,3,3: 41:[49, 47] Operation: 84-37=47 Exploring Operation: 37+49=86, Resulting Numbers: [84, 86] Generated Node #0,3,4: 41:[84, 86] Operation: 37+49=86 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[37, 35], Operations: ['82-33=49', '84-49=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[49, 47], Operations: ['82-33=49', '84-37=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[84, 12], Operations: ['82-33=49', '49-37=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,41 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[49, 121], Operations: ['82-33=49', '37+84=121'] Exploring Operation: 121-49=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 49+121=170, Resulting Numbers: [170] 170,41 unequal: No Solution Exploring Operation: 49*121=5929, Resulting Numbers: [5929] 5929,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[84, 86], Operations: ['82-33=49', '37+49=86'] Exploring Operation: 84*86=7224, Resulting Numbers: [7224] 7224,41 unequal: No Solution Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 84+86=170, Resulting Numbers: [170] 170,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 59, 14, 40, 18 ]
76
[ "59-40=19", "18-14=4", "19*4=76" ]
Current State: 76:[59, 14, 40, 18], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [14, 18, 19] Generated Node #2: [14, 18, 19] from Operation: 59-40=19 Current State: 76:[14, 18, 19], Operations: ['59-40=19'] Exploring Operation: 18-14=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 18-14=4 Current State: 76:[19, 4], Operations: ['59-40=19', '18-14=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[59, 14, 40, 18], Operations: [] Exploring Operation: 59+18=77, Resulting Numbers: [14, 40, 77] Generated Node #0,0: 76:[14, 40, 77] Operation: 59+18=77 Exploring Operation: 59-18=41, Resulting Numbers: [14, 40, 41] Generated Node #0,1: 76:[14, 40, 41] Operation: 59-18=41 Exploring Operation: 59-40=19, Resulting Numbers: [14, 18, 19] Generated Node #0,2: 76:[14, 18, 19] Operation: 59-40=19 Exploring Operation: 59+14=73, Resulting Numbers: [40, 18, 73] Generated Node #0,3: 76:[40, 18, 73] Operation: 59+14=73 Exploring Operation: 59-14=45, Resulting Numbers: [40, 18, 45] Generated Node #0,4: 76:[40, 18, 45] Operation: 59-14=45 Moving to Node #0,2 Current State: 76:[14, 18, 19], Operations: ['59-40=19'] Exploring Operation: 14+19=33, Resulting Numbers: [18, 33] Generated Node #0,2,0: 76:[18, 33] Operation: 14+19=33 Exploring Operation: 18+19=37, Resulting Numbers: [14, 37] Generated Node #0,2,1: 76:[14, 37] Operation: 18+19=37 Exploring Operation: 19-14=5, Resulting Numbers: [18, 5] Generated Node #0,2,2: 76:[18, 5] Operation: 19-14=5 Exploring Operation: 18-14=4, Resulting Numbers: [19, 4] Generated Node #0,2,3: 76:[19, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [19, 32] Generated Node #0,2,4: 76:[19, 32] Operation: 14+18=32 Moving to Node #0,3 Current State: 76:[40, 18, 73], Operations: ['59+14=73'] Exploring Operation: 73-18=55, Resulting Numbers: [40, 55] Generated Node #0,3,0: 76:[40, 55] Operation: 73-18=55 Exploring Operation: 73-40=33, Resulting Numbers: [18, 33] Generated Node #0,3,1: 76:[18, 33] Operation: 73-40=33 Exploring Operation: 18+73=91, Resulting Numbers: [40, 91] Generated Node #0,3,2: 76:[40, 91] Operation: 18+73=91 Exploring Operation: 40+18=58, Resulting Numbers: [73, 58] Generated Node #0,3,3: 76:[73, 58] Operation: 40+18=58 Exploring Operation: 40-18=22, Resulting Numbers: [73, 22] Generated Node #0,3,4: 76:[73, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[18, 33], Operations: ['59+14=73', '73-40=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,76 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 76:[73, 22], Operations: ['59+14=73', '40-18=22'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,76 unequal: No Solution Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[40, 91], Operations: ['59+14=73', '18+73=91'] Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,76 unequal: No Solution Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[40, 55], Operations: ['59+14=73', '73-18=55'] Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,76 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[73, 58], Operations: ['59+14=73', '40+18=58'] Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,76 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[14, 40, 77], Operations: ['59+18=77'] Exploring Operation: 77-14=63, Resulting Numbers: [40, 63] Generated Node #0,0,0: 76:[40, 63] Operation: 77-14=63 Exploring Operation: 40-14=26, Resulting Numbers: [77, 26] Generated Node #0,0,1: 76:[77, 26] Operation: 40-14=26 Exploring Operation: 14+77=91, Resulting Numbers: [40, 91] Generated Node #0,0,2: 76:[40, 91] Operation: 14+77=91 Exploring Operation: 14+40=54, Resulting Numbers: [77, 54] Generated Node #0,0,3: 76:[77, 54] Operation: 14+40=54 Exploring Operation: 77-40=37, Resulting Numbers: [14, 37] Generated Node #0,0,4: 76:[14, 37] Operation: 77-40=37 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[14, 37], Operations: ['59+18=77', '77-40=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,76 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[77, 26], Operations: ['59+18=77', '40-14=26'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[40, 63], Operations: ['59+18=77', '77-14=63'] Exploring Operation: 40+63=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 40*63=2520, Resulting Numbers: [2520] 2520,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[40, 91], Operations: ['59+18=77', '14+77=91'] Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,76 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[77, 54], Operations: ['59+18=77', '14+40=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,76 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,76 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: 76:[14, 40, 41], Operations: ['59-18=41'] Exploring Operation: 41-14=27, Resulting Numbers: [40, 27] Generated Node #0,1,0: 76:[40, 27] Operation: 41-14=27 Exploring Operation: 40+41=81, Resulting Numbers: [14, 81] Generated Node #0,1,1: 76:[14, 81] Operation: 40+41=81 Exploring Operation: 41-40=1, Resulting Numbers: [14, 1] Generated Node #0,1,2: 76:[14, 1] Operation: 41-40=1 Exploring Operation: 14+40=54, Resulting Numbers: [41, 54] Generated Node #0,1,3: 76:[41, 54] Operation: 14+40=54 Exploring Operation: 40-14=26, Resulting Numbers: [41, 26] Generated Node #0,1,4: 76:[41, 26] Operation: 40-14=26 Moving to Node #0,4 Current State: 76:[40, 18, 45], Operations: ['59-14=45'] Exploring Operation: 45-18=27, Resulting Numbers: [40, 27] Generated Node #0,4,0: 76:[40, 27] Operation: 45-18=27 Exploring Operation: 40+45=85, Resulting Numbers: [18, 85] Generated Node #0,4,1: 76:[18, 85] Operation: 40+45=85 Exploring Operation: 45-40=5, Resulting Numbers: [18, 5] Generated Node #0,4,2: 76:[18, 5] Operation: 45-40=5 Exploring Operation: 18+45=63, Resulting Numbers: [40, 63] Generated Node #0,4,3: 76:[40, 63] Operation: 18+45=63 Exploring Operation: 40-18=22, Resulting Numbers: [45, 22] Generated Node #0,4,4: 76:[45, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[18, 5], Operations: ['59-14=45', '45-40=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[40, 27], Operations: ['59-14=45', '45-18=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,76 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[18, 85], Operations: ['59-14=45', '40+45=85'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[45, 22], Operations: ['59-14=45', '40-18=22'] Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,76 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[40, 63], Operations: ['59-14=45', '18+45=63'] Exploring Operation: 40*63=2520, Resulting Numbers: [2520] 2520,76 unequal: No Solution Exploring Operation: 40+63=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,76 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: 76:[19, 4], Operations: ['59-40=19', '18-14=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[59, 14, 40, 18], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [14, 18, 19] Generated Node #0,2: 76:[14, 18, 19] Operation: 59-40=19 Moving to Node #0,2 Current State: 76:[14, 18, 19], Operations: ['59-40=19'] Exploring Operation: 18-14=4, Resulting Numbers: [19, 4] Generated Node #0,2,3: 76:[19, 4] Operation: 18-14=4 Moving to Node #0,2,3 Current State: 76:[19, 4], Operations: ['59-40=19', '18-14=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.928819
hs_5
sum_heuristic
[ 14, 5, 11, 14 ]
73
[ "14*5=70", "14-11=3", "70+3=73" ]
Current State: 73:[14, 5, 11, 14], Operations: [] Exploring Operation: 14*5=70, Resulting Numbers: [11, 70] Generated Node #2: [11, 70] from Operation: 14*5=70 Current State: 73:[11, 70], Operations: ['14*5=70'] Exploring Operation: 14-11=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 14-11=3 Current State: 73:[70, 3], Operations: ['14*5=70', '14-11=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[14, 5, 11, 14], Operations: [] Exploring Operation: 5*14=70, Resulting Numbers: [14, 11, 70] Generated Node #0,0: 73:[14, 11, 70] Operation: 5*14=70 Exploring Operation: 14*5=70, Resulting Numbers: [11, 14, 70] Generated Node #0,1: 73:[11, 14, 70] Operation: 14*5=70 Moving to Node #0,0 Current State: 73:[14, 11, 70], Operations: ['5*14=70'] Exploring Operation: 11+70=81, Resulting Numbers: [14, 81] Generated Node #0,0,0: 73:[14, 81] Operation: 11+70=81 Exploring Operation: 14+11=25, Resulting Numbers: [70, 25] Generated Node #0,0,1: 73:[70, 25] Operation: 14+11=25 Moving to Node #0,1 Current State: 73:[11, 14, 70], Operations: ['14*5=70'] Exploring Operation: 11+14=25, Resulting Numbers: [70, 25] Generated Node #0,1,0: 73:[70, 25] Operation: 11+14=25 Exploring Operation: 11+70=81, Resulting Numbers: [14, 81] Generated Node #0,1,1: 73:[14, 81] Operation: 11+70=81 Moving to Node #0,0,1 Current State: 73:[70, 25], Operations: ['5*14=70', '14+11=25'] Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[70, 25], Operations: ['14*5=70', '11+14=25'] Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[14, 81], Operations: ['5*14=70', '11+70=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[14, 81], Operations: ['14*5=70', '11+70=81'] Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 20, 20, 16, 36 ]
90
[ "20+20=40", "36*40=1440", "1440/16=90" ]
Current State: 90:[20, 20, 16, 36], Operations: [] Exploring Operation: 20+20=40, Resulting Numbers: [16, 36, 40] Generated Node #2: [16, 36, 40] from Operation: 20+20=40 Current State: 90:[16, 36, 40], Operations: ['20+20=40'] Exploring Operation: 36*40=1440, Resulting Numbers: [16, 1440] Generated Node #3: [16, 1440] from Operation: 36*40=1440 Current State: 90:[16, 1440], Operations: ['20+20=40', '36*40=1440'] Exploring Operation: 1440/16=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[20, 20, 16, 36], Operations: [] Exploring Operation: 36-20=16, Resulting Numbers: [20, 16, 16] Generated Node #0,0: 90:[20, 16, 16] Operation: 36-20=16 Exploring Operation: 36-20=16, Resulting Numbers: [20, 16, 16] Generated Node #0,1: 90:[20, 16, 16] Operation: 36-20=16 Moving to Node #0,0 Current State: 90:[20, 16, 16], Operations: ['36-20=16'] Exploring Operation: 20-16=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 90:[16, 4] Operation: 20-16=4 Exploring Operation: 20-16=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 90:[16, 4] Operation: 20-16=4 Moving to Node #0,1 Current State: 90:[20, 16, 16], Operations: ['36-20=16'] Exploring Operation: 20-16=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 90:[16, 4] Operation: 20-16=4 Exploring Operation: 20-16=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 90:[16, 4] Operation: 20-16=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[16, 4], Operations: ['36-20=16', '20-16=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[16, 4], Operations: ['36-20=16', '20-16=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 90:[16, 4], Operations: ['36-20=16', '20-16=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[16, 4], Operations: ['36-20=16', '20-16=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 34, 33, 74, 42 ]
31
[ "34-33=1", "74-42=32", "32-1=31" ]
Current State: 31:[34, 33, 74, 42], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [74, 42, 1] Generated Node #2: [74, 42, 1] from Operation: 34-33=1 Current State: 31:[74, 42, 1], Operations: ['34-33=1'] Exploring Operation: 74-42=32, Resulting Numbers: [1, 32] Generated Node #3: [1, 32] from Operation: 74-42=32 Current State: 31:[1, 32], Operations: ['34-33=1', '74-42=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[34, 33, 74, 42], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [33, 42, 40] Generated Node #0,0: 31:[33, 42, 40] Operation: 74-34=40 Exploring Operation: 74-33=41, Resulting Numbers: [34, 42, 41] Generated Node #0,1: 31:[34, 42, 41] Operation: 74-33=41 Exploring Operation: 74-42=32, Resulting Numbers: [34, 33, 32] Generated Node #0,2: 31:[34, 33, 32] Operation: 74-42=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[34, 33, 32], Operations: ['74-42=32'] Exploring Operation: 34-33=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 31:[32, 1] Operation: 34-33=1 Exploring Operation: 33-32=1, Resulting Numbers: [34, 1] Generated Node #0,2,1: 31:[34, 1] Operation: 33-32=1 Exploring Operation: 34-32=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 31:[33, 2] Operation: 34-32=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[32, 1], Operations: ['74-42=32', '34-33=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[34, 33, 74, 42], Operations: [] Exploring Operation: 74-42=32, Resulting Numbers: [34, 33, 32] Generated Node #0,2: 31:[34, 33, 32] Operation: 74-42=32 Moving to Node #0,2 Current State: 31:[34, 33, 32], Operations: ['74-42=32'] Exploring Operation: 34-33=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 31:[32, 1] Operation: 34-33=1 Moving to Node #0,2,0 Current State: 31:[32, 1], Operations: ['74-42=32', '34-33=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 6, 25, 82, 15 ]
33
[ "6*15=90", "82-25=57", "90-57=33" ]
Current State: 33:[6, 25, 82, 15], Operations: [] Exploring Operation: 6*15=90, Resulting Numbers: [25, 82, 90] Generated Node #2: [25, 82, 90] from Operation: 6*15=90 Current State: 33:[25, 82, 90], Operations: ['6*15=90'] Exploring Operation: 82-25=57, Resulting Numbers: [90, 57] Generated Node #3: [90, 57] from Operation: 82-25=57 Current State: 33:[90, 57], Operations: ['6*15=90', '82-25=57'] Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[6, 25, 82, 15], Operations: [] Exploring Operation: 25-15=10, Resulting Numbers: [6, 82, 10] Generated Node #0,0: 33:[6, 82, 10] Operation: 25-15=10 Exploring Operation: 6+25=31, Resulting Numbers: [82, 15, 31] Generated Node #0,1: 33:[82, 15, 31] Operation: 6+25=31 Exploring Operation: 82-15=67, Resulting Numbers: [6, 25, 67] Generated Node #0,2: 33:[6, 25, 67] Operation: 82-15=67 Exploring Operation: 82-25=57, Resulting Numbers: [6, 15, 57] Generated Node #0,3: 33:[6, 15, 57] Operation: 82-25=57 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[6, 15, 57], Operations: ['82-25=57'] Exploring Operation: 6+15=21, Resulting Numbers: [57, 21] Generated Node #0,3,0: 33:[57, 21] Operation: 6+15=21 Exploring Operation: 57-6=51, Resulting Numbers: [15, 51] Generated Node #0,3,1: 33:[15, 51] Operation: 57-6=51 Exploring Operation: 57-15=42, Resulting Numbers: [6, 42] Generated Node #0,3,2: 33:[6, 42] Operation: 57-15=42 Exploring Operation: 15-6=9, Resulting Numbers: [57, 9] Generated Node #0,3,3: 33:[57, 9] Operation: 15-6=9 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[6, 42], Operations: ['82-25=57', '57-15=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[15, 51], Operations: ['82-25=57', '57-6=51'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 15*51=765, Resulting Numbers: [765] 765,33 unequal: No Solution Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 33:[57, 9], Operations: ['82-25=57', '15-6=9'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,33 unequal: No Solution Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[57, 21], Operations: ['82-25=57', '6+15=21'] Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,33 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[6, 25, 67], Operations: ['82-15=67'] Exploring Operation: 6+25=31, Resulting Numbers: [67, 31] Generated Node #0,2,0: 33:[67, 31] Operation: 6+25=31 Exploring Operation: 25-6=19, Resulting Numbers: [67, 19] Generated Node #0,2,1: 33:[67, 19] Operation: 25-6=19 Exploring Operation: 67-6=61, Resulting Numbers: [25, 61] Generated Node #0,2,2: 33:[25, 61] Operation: 67-6=61 Exploring Operation: 67-25=42, Resulting Numbers: [6, 42] Generated Node #0,2,3: 33:[6, 42] Operation: 67-25=42 Moving to Node #0,2,3 Current State: 33:[6, 42], Operations: ['82-15=67', '67-25=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[25, 61], Operations: ['82-15=67', '67-6=61'] Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,33 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[67, 31], Operations: ['82-15=67', '6+25=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,33 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[67, 19], Operations: ['82-15=67', '25-6=19'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,33 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[6, 82, 10], Operations: ['25-15=10'] Exploring Operation: 10-6=4, Resulting Numbers: [82, 4] Generated Node #0,0,0: 33:[82, 4] Operation: 10-6=4 Exploring Operation: 82-10=72, Resulting Numbers: [6, 72] Generated Node #0,0,1: 33:[6, 72] Operation: 82-10=72 Exploring Operation: 6+10=16, Resulting Numbers: [82, 16] Generated Node #0,0,2: 33:[82, 16] Operation: 6+10=16 Exploring Operation: 82-6=76, Resulting Numbers: [10, 76] Generated Node #0,0,3: 33:[10, 76] Operation: 82-6=76 Moving to Node #0,0,1 Current State: 33:[6, 72], Operations: ['25-15=10', '82-10=72'] Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[10, 76], Operations: ['25-15=10', '82-6=76'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 10*76=760, Resulting Numbers: [760] 760,33 unequal: No Solution Exploring Operation: 10+76=86, Resulting Numbers: [86] 86,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[82, 4], Operations: ['25-15=10', '10-6=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,33 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[82, 16], Operations: ['25-15=10', '6+10=16'] Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[82, 15, 31], Operations: ['6+25=31'] Exploring Operation: 82-31=51, Resulting Numbers: [15, 51] Generated Node #0,1,0: 33:[15, 51] Operation: 82-31=51 Exploring Operation: 82-15=67, Resulting Numbers: [31, 67] Generated Node #0,1,1: 33:[31, 67] Operation: 82-15=67 Exploring Operation: 31-15=16, Resulting Numbers: [82, 16] Generated Node #0,1,2: 33:[82, 16] Operation: 31-15=16 Exploring Operation: 15+31=46, Resulting Numbers: [82, 46] Generated Node #0,1,3: 33:[82, 46] Operation: 15+31=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[15, 51], Operations: ['6+25=31', '82-31=51'] Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 15*51=765, Resulting Numbers: [765] 765,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[31, 67], Operations: ['6+25=31', '82-15=67'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[82, 16], Operations: ['6+25=31', '31-15=16'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[82, 46], Operations: ['6+25=31', '15+31=46'] Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,33 unequal: No Solution Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,33 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 48, 86, 11, 28 ]
95
[ "48+86=134", "11+28=39", "134-39=95" ]
Current State: 95:[48, 86, 11, 28], Operations: [] Exploring Operation: 48+86=134, Resulting Numbers: [11, 28, 134] Generated Node #2: [11, 28, 134] from Operation: 48+86=134 Current State: 95:[11, 28, 134], Operations: ['48+86=134'] Exploring Operation: 11+28=39, Resulting Numbers: [134, 39] Generated Node #3: [134, 39] from Operation: 11+28=39 Current State: 95:[134, 39], Operations: ['48+86=134', '11+28=39'] Exploring Operation: 134-39=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[48, 86, 11, 28], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [11, 28, 38] Generated Node #0,0: 95:[11, 28, 38] Operation: 86-48=38 Exploring Operation: 48-11=37, Resulting Numbers: [86, 28, 37] Generated Node #0,1: 95:[86, 28, 37] Operation: 48-11=37 Exploring Operation: 48-28=20, Resulting Numbers: [86, 11, 20] Generated Node #0,2: 95:[86, 11, 20] Operation: 48-28=20 Exploring Operation: 48+28=76, Resulting Numbers: [86, 11, 76] Generated Node #0,3: 95:[86, 11, 76] Operation: 48+28=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[86, 11, 20], Operations: ['48-28=20'] Exploring Operation: 86+20=106, Resulting Numbers: [11, 106] Generated Node #0,2,0: 95:[11, 106] Operation: 86+20=106 Exploring Operation: 86+11=97, Resulting Numbers: [20, 97] Generated Node #0,2,1: 95:[20, 97] Operation: 86+11=97 Exploring Operation: 86-11=75, Resulting Numbers: [20, 75] Generated Node #0,2,2: 95:[20, 75] Operation: 86-11=75 Exploring Operation: 20-11=9, Resulting Numbers: [86, 9] Generated Node #0,2,3: 95:[86, 9] Operation: 20-11=9 Moving to Node #0,2,1 Current State: 95:[20, 97], Operations: ['48-28=20', '86+11=97'] Exploring Operation: 20*97=1940, Resulting Numbers: [1940] 1940,95 unequal: No Solution Exploring Operation: 97-20=77, Resulting Numbers: [77] 77,95 unequal: No Solution Exploring Operation: 20+97=117, Resulting Numbers: [117] 117,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[86, 9], Operations: ['48-28=20', '20-11=9'] Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,95 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[48, 86, 11, 28], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [86, 11, 20] Generated Node #0,2: 95:[86, 11, 20] Operation: 48-28=20 Moving to Node #0,2 Current State: 95:[86, 11, 20], Operations: ['48-28=20'] Exploring Operation: 20-11=9, Resulting Numbers: [86, 9] Generated Node #0,2,3: 95:[86, 9] Operation: 20-11=9 Moving to Node #0,2,3 Current State: 95:[86, 9], Operations: ['48-28=20', '20-11=9'] Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 79, 76, 50, 25 ]
72
[ "79-76=3", "50+25=75", "75-3=72" ]
Current State: 72:[79, 76, 50, 25], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [50, 25, 3] Generated Node #2: [50, 25, 3] from Operation: 79-76=3 Current State: 72:[50, 25, 3], Operations: ['79-76=3'] Exploring Operation: 50+25=75, Resulting Numbers: [3, 75] Generated Node #3: [3, 75] from Operation: 50+25=75 Current State: 72:[3, 75], Operations: ['79-76=3', '50+25=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[79, 76, 50, 25], Operations: [] Exploring Operation: 50-25=25, Resulting Numbers: [79, 76, 25] Generated Node #0,0: 72:[79, 76, 25] Operation: 50-25=25 Exploring Operation: 76-50=26, Resulting Numbers: [79, 25, 26] Generated Node #0,1: 72:[79, 25, 26] Operation: 76-50=26 Exploring Operation: 50/25=2, Resulting Numbers: [79, 76, 2] Generated Node #0,2: 72:[79, 76, 2] Operation: 50/25=2 Exploring Operation: 79-50=29, Resulting Numbers: [76, 25, 29] Generated Node #0,3: 72:[76, 25, 29] Operation: 79-50=29 Moving to Node #0,1 Current State: 72:[79, 25, 26], Operations: ['76-50=26'] Exploring Operation: 79-25=54, Resulting Numbers: [26, 54] Generated Node #0,1,0: 72:[26, 54] Operation: 79-25=54 Exploring Operation: 79-26=53, Resulting Numbers: [25, 53] Generated Node #0,1,1: 72:[25, 53] Operation: 79-26=53 Exploring Operation: 26-25=1, Resulting Numbers: [79, 1] Generated Node #0,1,2: 72:[79, 1] Operation: 26-25=1 Exploring Operation: 25+26=51, Resulting Numbers: [79, 51] Generated Node #0,1,3: 72:[79, 51] Operation: 25+26=51 Moving to Node #0,3 Current State: 72:[76, 25, 29], Operations: ['79-50=29'] Exploring Operation: 76-25=51, Resulting Numbers: [29, 51] Generated Node #0,3,0: 72:[29, 51] Operation: 76-25=51 Exploring Operation: 76-29=47, Resulting Numbers: [25, 47] Generated Node #0,3,1: 72:[25, 47] Operation: 76-29=47 Exploring Operation: 25+29=54, Resulting Numbers: [76, 54] Generated Node #0,3,2: 72:[76, 54] Operation: 25+29=54 Exploring Operation: 29-25=4, Resulting Numbers: [76, 4] Generated Node #0,3,3: 72:[76, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[76, 4], Operations: ['79-50=29', '29-25=4'] Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,72 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[79, 76, 50, 25], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [76, 25, 29] Generated Node #0,3: 72:[76, 25, 29] Operation: 79-50=29 Moving to Node #0,3 Current State: 72:[76, 25, 29], Operations: ['79-50=29'] Exploring Operation: 29-25=4, Resulting Numbers: [76, 4] Generated Node #0,3,3: 72:[76, 4] Operation: 29-25=4 Moving to Node #0,3,3 Current State: 72:[76, 4], Operations: ['79-50=29', '29-25=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 3, 64, 27, 6 ]
71
[ "27-6=21", "21/3=7", "64+7=71" ]
Current State: 71:[3, 64, 27, 6], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [3, 64, 21] Generated Node #2: [3, 64, 21] from Operation: 27-6=21 Current State: 71:[3, 64, 21], Operations: ['27-6=21'] Exploring Operation: 21/3=7, Resulting Numbers: [64, 7] Generated Node #3: [64, 7] from Operation: 21/3=7 Current State: 71:[64, 7], Operations: ['27-6=21', '21/3=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 64, 27, 6], Operations: [] Exploring Operation: 3+6=9, Resulting Numbers: [64, 27, 9] Generated Node #0,0: 71:[64, 27, 9] Operation: 3+6=9 Exploring Operation: 3*27=81, Resulting Numbers: [64, 6, 81] Generated Node #0,1: 71:[64, 6, 81] Operation: 3*27=81 Exploring Operation: 3+27=30, Resulting Numbers: [64, 6, 30] Generated Node #0,2: 71:[64, 6, 30] Operation: 3+27=30 Exploring Operation: 3+64=67, Resulting Numbers: [27, 6, 67] Generated Node #0,3: 71:[27, 6, 67] Operation: 3+64=67 Exploring Operation: 3*6=18, Resulting Numbers: [64, 27, 18] Generated Node #0,4: 71:[64, 27, 18] Operation: 3*6=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[64, 6, 81], Operations: ['3*27=81'] Exploring Operation: 6+81=87, Resulting Numbers: [64, 87] Generated Node #0,1,0: 71:[64, 87] Operation: 6+81=87 Exploring Operation: 64+6=70, Resulting Numbers: [81, 70] Generated Node #0,1,1: 71:[81, 70] Operation: 64+6=70 Exploring Operation: 81-64=17, Resulting Numbers: [6, 17] Generated Node #0,1,2: 71:[6, 17] Operation: 81-64=17 Exploring Operation: 81-6=75, Resulting Numbers: [64, 75] Generated Node #0,1,3: 71:[64, 75] Operation: 81-6=75 Exploring Operation: 64-6=58, Resulting Numbers: [81, 58] Generated Node #0,1,4: 71:[81, 58] Operation: 64-6=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[81, 70], Operations: ['3*27=81', '64+6=70'] Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[64, 75], Operations: ['3*27=81', '81-6=75'] Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,71 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[64, 87], Operations: ['3*27=81', '6+81=87'] Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 71:[81, 58], Operations: ['3*27=81', '64-6=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,71 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[6, 17], Operations: ['3*27=81', '81-64=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[64, 27, 18], Operations: ['3*6=18'] Exploring Operation: 27-18=9, Resulting Numbers: [64, 9] Generated Node #0,4,0: 71:[64, 9] Operation: 27-18=9 Exploring Operation: 64-18=46, Resulting Numbers: [27, 46] Generated Node #0,4,1: 71:[27, 46] Operation: 64-18=46 Exploring Operation: 64+27=91, Resulting Numbers: [18, 91] Generated Node #0,4,2: 71:[18, 91] Operation: 64+27=91 Exploring Operation: 27+18=45, Resulting Numbers: [64, 45] Generated Node #0,4,3: 71:[64, 45] Operation: 27+18=45 Exploring Operation: 64+18=82, Resulting Numbers: [27, 82] Generated Node #0,4,4: 71:[27, 82] Operation: 64+18=82 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 71:[64, 45], Operations: ['3*6=18', '27+18=45'] Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,71 unequal: No Solution Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,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,4,4 Current State: 71:[27, 82], Operations: ['3*6=18', '64+18=82'] Exploring Operation: 27*82=2214, Resulting Numbers: [2214] 2214,71 unequal: No Solution Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,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,4,0 Current State: 71:[64, 9], Operations: ['3*6=18', '27-18=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,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,4,1 Current State: 71:[27, 46], Operations: ['3*6=18', '64-18=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,71 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,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,4,2 Current State: 71:[18, 91], Operations: ['3*6=18', '64+27=91'] Exploring Operation: 18*91=1638, Resulting Numbers: [1638] 1638,71 unequal: No Solution Exploring Operation: 18+91=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[64, 27, 9], Operations: ['3+6=9'] Exploring Operation: 64-9=55, Resulting Numbers: [27, 55] Generated Node #0,0,0: 71:[27, 55] Operation: 64-9=55 Exploring Operation: 27+9=36, Resulting Numbers: [64, 36] Generated Node #0,0,1: 71:[64, 36] Operation: 27+9=36 Exploring Operation: 27/9=3, Resulting Numbers: [64, 3] Generated Node #0,0,2: 71:[64, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [64, 18] Generated Node #0,0,3: 71:[64, 18] Operation: 27-9=18 Exploring Operation: 64+9=73, Resulting Numbers: [27, 73] Generated Node #0,0,4: 71:[27, 73] Operation: 64+9=73 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[64, 36], Operations: ['3+6=9', '27+9=36'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,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,4 Current State: 71:[27, 73], Operations: ['3+6=9', '64+9=73'] Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,71 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,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:[27, 55], Operations: ['3+6=9', '64-9=55'] Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,71 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,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,3 Current State: 71:[64, 18], Operations: ['3+6=9', '27-9=18'] Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,71 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[64, 3], Operations: ['3+6=9', '27/9=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[64, 6, 30], Operations: ['3+27=30'] Exploring Operation: 30/6=5, Resulting Numbers: [64, 5] Generated Node #0,2,0: 71:[64, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [64, 24] Generated Node #0,2,1: 71:[64, 24] Operation: 30-6=24 Exploring Operation: 6+30=36, Resulting Numbers: [64, 36] Generated Node #0,2,2: 71:[64, 36] Operation: 6+30=36 Exploring Operation: 64+6=70, Resulting Numbers: [30, 70] Generated Node #0,2,3: 71:[30, 70] Operation: 64+6=70 Exploring Operation: 64-6=58, Resulting Numbers: [30, 58] Generated Node #0,2,4: 71:[30, 58] Operation: 64-6=58 Moving to Node #0,2,2 Current State: 71:[64, 36], Operations: ['3+27=30', '6+30=36'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[30, 70], Operations: ['3+27=30', '64+6=70'] Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 30*70=2100, Resulting Numbers: [2100] 2100,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[64, 24], Operations: ['3+27=30', '30-6=24'] Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,71 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[30, 58], Operations: ['3+27=30', '64-6=58'] Exploring Operation: 30+58=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 30*58=1740, Resulting Numbers: [1740] 1740,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[64, 5], Operations: ['3+27=30', '30/6=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,71 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,71 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[27, 6, 67], Operations: ['3+64=67'] Exploring Operation: 6+67=73, Resulting Numbers: [27, 73] Generated Node #0,3,0: 71:[27, 73] Operation: 6+67=73 Exploring Operation: 27-6=21, Resulting Numbers: [67, 21] Generated Node #0,3,1: 71:[67, 21] Operation: 27-6=21 Exploring Operation: 27+67=94, Resulting Numbers: [6, 94] Generated Node #0,3,2: 71:[6, 94] Operation: 27+67=94 Exploring Operation: 27+6=33, Resulting Numbers: [67, 33] Generated Node #0,3,3: 71:[67, 33] Operation: 27+6=33 Exploring Operation: 67-6=61, Resulting Numbers: [27, 61] Generated Node #0,3,4: 71:[27, 61] Operation: 67-6=61 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[67, 33], Operations: ['3+64=67', '27+6=33'] Exploring Operation: 67*33=2211, Resulting Numbers: [2211] 2211,71 unequal: No Solution Exploring Operation: 67+33=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,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,3,0 Current State: 71:[27, 73], Operations: ['3+64=67', '6+67=73'] Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,71 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,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,3,1 Current State: 71:[67, 21], Operations: ['3+64=67', '27-6=21'] Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,71 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,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,3,4 Current State: 71:[27, 61], Operations: ['3+64=67', '67-6=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,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,3,2 Current State: 71:[6, 94], Operations: ['3+64=67', '27+67=94'] Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 6*94=564, Resulting Numbers: [564] 564,71 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 41, 2, 98, 39 ]
58
[ "41+39=80", "80/2=40", "98-40=58" ]
Current State: 58:[41, 2, 98, 39], Operations: [] Exploring Operation: 41+39=80, Resulting Numbers: [2, 98, 80] Generated Node #2: [2, 98, 80] from Operation: 41+39=80 Current State: 58:[2, 98, 80], Operations: ['41+39=80'] Exploring Operation: 80/2=40, Resulting Numbers: [98, 40] Generated Node #3: [98, 40] from Operation: 80/2=40 Current State: 58:[98, 40], Operations: ['41+39=80', '80/2=40'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[41, 2, 98, 39], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [41, 2, 59] Generated Node #0,0: 58:[41, 2, 59] Operation: 98-39=59 Exploring Operation: 98-41=57, Resulting Numbers: [2, 39, 57] Generated Node #0,1: 58:[2, 39, 57] Operation: 98-41=57 Moving to Node #0,1 Current State: 58:[2, 39, 57], Operations: ['98-41=57'] Exploring Operation: 39-2=37, Resulting Numbers: [57, 37] Generated Node #0,1,0: 58:[57, 37] Operation: 39-2=37 Exploring Operation: 2+57=59, Resulting Numbers: [39, 59] Generated Node #0,1,1: 58:[39, 59] Operation: 2+57=59 Moving to Node #0,0 Current State: 58:[41, 2, 59], Operations: ['98-39=59'] Exploring Operation: 59-41=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 58:[2, 18] Operation: 59-41=18 Exploring Operation: 41-2=39, Resulting Numbers: [59, 39] Generated Node #0,0,1: 58:[59, 39] Operation: 41-2=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 18], Operations: ['98-39=59', '59-41=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,58 unequal: No Solution No 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: 58:[59, 39], Operations: ['98-39=59', '41-2=39'] Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,58 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: 58:[57, 37], Operations: ['98-41=57', '39-2=37'] Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[39, 59], Operations: ['98-41=57', '2+57=59'] Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,58 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 16, 5, 56 ]
73
[ "16-4=12", "5+56=61", "12+61=73" ]
Current State: 73:[4, 16, 5, 56], Operations: [] Exploring Operation: 16-4=12, Resulting Numbers: [5, 56, 12] Generated Node #2: [5, 56, 12] from Operation: 16-4=12 Current State: 73:[5, 56, 12], Operations: ['16-4=12'] Exploring Operation: 5+56=61, Resulting Numbers: [12, 61] Generated Node #3: [12, 61] from Operation: 5+56=61 Current State: 73:[12, 61], Operations: ['16-4=12', '5+56=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[4, 16, 5, 56], Operations: [] Exploring Operation: 16*5=80, Resulting Numbers: [4, 56, 80] Generated Node #0,0: 73:[4, 56, 80] Operation: 16*5=80 Exploring Operation: 4*16=64, Resulting Numbers: [5, 56, 64] Generated Node #0,1: 73:[5, 56, 64] Operation: 4*16=64 Moving to Node #0,0 Current State: 73:[4, 56, 80], Operations: ['16*5=80'] Exploring Operation: 4+56=60, Resulting Numbers: [80, 60] Generated Node #0,0,0: 73:[80, 60] Operation: 4+56=60 Exploring Operation: 80-4=76, Resulting Numbers: [56, 76] Generated Node #0,0,1: 73:[56, 76] Operation: 80-4=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[80, 60], Operations: ['16*5=80', '4+56=60'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 80+60=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,1 Current State: 73:[56, 76], Operations: ['16*5=80', '80-4=76'] Exploring Operation: 56+76=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 73:[5, 56, 64], Operations: ['4*16=64'] Exploring Operation: 5+56=61, Resulting Numbers: [64, 61] Generated Node #0,1,0: 73:[64, 61] Operation: 5+56=61 Exploring Operation: 5+64=69, Resulting Numbers: [56, 69] Generated Node #0,1,1: 73:[56, 69] Operation: 5+64=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[64, 61], Operations: ['4*16=64', '5+56=61'] Exploring Operation: 64+61=125, Resulting Numbers: [125] 125,73 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[56, 69], Operations: ['4*16=64', '5+64=69'] Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 79, 2, 19, 81 ]
96
[ "79*2=158", "81-19=62", "158-62=96" ]
Current State: 96:[79, 2, 19, 81], Operations: [] Exploring Operation: 79*2=158, Resulting Numbers: [19, 81, 158] Generated Node #2: [19, 81, 158] from Operation: 79*2=158 Current State: 96:[19, 81, 158], Operations: ['79*2=158'] Exploring Operation: 81-19=62, Resulting Numbers: [158, 62] Generated Node #3: [158, 62] from Operation: 81-19=62 Current State: 96:[158, 62], Operations: ['79*2=158', '81-19=62'] Exploring Operation: 158-62=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[79, 2, 19, 81], Operations: [] Exploring Operation: 79+19=98, Resulting Numbers: [2, 81, 98] Generated Node #0,0: 96:[2, 81, 98] Operation: 79+19=98 Exploring Operation: 79-19=60, Resulting Numbers: [2, 81, 60] Generated Node #0,1: 96:[2, 81, 60] Operation: 79-19=60 Exploring Operation: 19+81=100, Resulting Numbers: [79, 2, 100] Generated Node #0,2: 96:[79, 2, 100] Operation: 19+81=100 Exploring Operation: 81-79=2, Resulting Numbers: [2, 19, 2] Generated Node #0,3: 96:[2, 19, 2] Operation: 81-79=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[2, 19, 2], Operations: ['81-79=2'] Exploring Operation: 19-2=17, Resulting Numbers: [2, 17] Generated Node #0,3,0: 96:[2, 17] Operation: 19-2=17 Exploring Operation: 2+19=21, Resulting Numbers: [2, 21] Generated Node #0,3,1: 96:[2, 21] Operation: 2+19=21 Exploring Operation: 19-2=17, Resulting Numbers: [2, 17] Generated Node #0,3,2: 96:[2, 17] Operation: 19-2=17 Exploring Operation: 2+2=4, Resulting Numbers: [19, 4] Generated Node #0,3,3: 96:[19, 4] Operation: 2+2=4 Moving to Node #0,3,0 Current State: 96:[2, 17], Operations: ['81-79=2', '19-2=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[2, 17], Operations: ['81-79=2', '19-2=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[19, 4], Operations: ['81-79=2', '2+2=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[2, 21], Operations: ['81-79=2', '2+19=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,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 Current State: 96:[2, 81, 98], Operations: ['79+19=98'] Exploring Operation: 98/2=49, Resulting Numbers: [81, 49] Generated Node #0,0,0: 96:[81, 49] Operation: 98/2=49 Exploring Operation: 2+81=83, Resulting Numbers: [98, 83] Generated Node #0,0,1: 96:[98, 83] Operation: 2+81=83 Exploring Operation: 98-2=96, Resulting Numbers: [81, 96] Generated Node #0,0,2: 96:[81, 96] Operation: 98-2=96 Exploring Operation: 98-81=17, Resulting Numbers: [2, 17] Generated Node #0,0,3: 96:[2, 17] Operation: 98-81=17 Moving to Node #0,0,3 Current State: 96:[2, 17], Operations: ['79+19=98', '98-81=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[81, 96], Operations: ['79+19=98', '98-2=96'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 81+96=177, Resulting Numbers: [177] 177,96 unequal: No Solution Exploring Operation: 81*96=7776, Resulting Numbers: [7776] 7776,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[98, 83], Operations: ['79+19=98', '2+81=83'] Exploring Operation: 98+83=181, Resulting Numbers: [181] 181,96 unequal: No Solution Exploring Operation: 98*83=8134, Resulting Numbers: [8134] 8134,96 unequal: No Solution Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[81, 49], Operations: ['79+19=98', '98/2=49'] Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,96 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,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,2 Current State: 96:[79, 2, 100], Operations: ['19+81=100'] Exploring Operation: 100/2=50, Resulting Numbers: [79, 50] Generated Node #0,2,0: 96:[79, 50] Operation: 100/2=50 Exploring Operation: 100-79=21, Resulting Numbers: [2, 21] Generated Node #0,2,1: 96:[2, 21] Operation: 100-79=21 Exploring Operation: 100-2=98, Resulting Numbers: [79, 98] Generated Node #0,2,2: 96:[79, 98] Operation: 100-2=98 Exploring Operation: 79+2=81, Resulting Numbers: [100, 81] Generated Node #0,2,3: 96:[100, 81] Operation: 79+2=81 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[2, 21], Operations: ['19+81=100', '100-79=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[79, 50], Operations: ['19+81=100', '100/2=50'] Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,96 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,96 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[79, 98], Operations: ['19+81=100', '100-2=98'] Exploring Operation: 79+98=177, Resulting Numbers: [177] 177,96 unequal: No Solution Exploring Operation: 79*98=7742, Resulting Numbers: [7742] 7742,96 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 96:[100, 81], Operations: ['19+81=100', '79+2=81'] Exploring Operation: 100+81=181, Resulting Numbers: [181] 181,96 unequal: No Solution Exploring Operation: 100*81=8100, Resulting Numbers: [8100] 8100,96 unequal: No Solution Exploring Operation: 100-81=19, Resulting Numbers: [19] 19,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[2, 81, 60], Operations: ['79-19=60'] Exploring Operation: 60-2=58, Resulting Numbers: [81, 58] Generated Node #0,1,0: 96:[81, 58] Operation: 60-2=58 Exploring Operation: 81-60=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 96:[2, 21] Operation: 81-60=21 Exploring Operation: 60/2=30, Resulting Numbers: [81, 30] Generated Node #0,1,2: 96:[81, 30] Operation: 60/2=30 Exploring Operation: 2+81=83, Resulting Numbers: [60, 83] Generated Node #0,1,3: 96:[60, 83] Operation: 2+81=83 Moving to Node #0,1,1 Current State: 96:[2, 21], Operations: ['79-19=60', '81-60=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[81, 30], Operations: ['79-19=60', '60/2=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,96 unequal: No Solution Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[60, 83], Operations: ['79-19=60', '2+81=83'] Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[81, 58], Operations: ['79-19=60', '60-2=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,96 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,96 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,96 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
[ 13, 11, 16, 22 ]
34
[ "13*16=208", "11*22=242", "242-208=34" ]
Current State: 34:[13, 11, 16, 22], Operations: [] Exploring Operation: 13*16=208, Resulting Numbers: [11, 22, 208] Generated Node #2: [11, 22, 208] from Operation: 13*16=208 Current State: 34:[11, 22, 208], Operations: ['13*16=208'] Exploring Operation: 11*22=242, Resulting Numbers: [208, 242] Generated Node #3: [208, 242] from Operation: 11*22=242 Current State: 34:[208, 242], Operations: ['13*16=208', '11*22=242'] Exploring Operation: 242-208=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[13, 11, 16, 22], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [13, 16, 2] Generated Node #0,0: 34:[13, 16, 2] Operation: 22/11=2 Exploring Operation: 13-11=2, Resulting Numbers: [16, 22, 2] Generated Node #0,1: 34:[16, 22, 2] Operation: 13-11=2 Exploring Operation: 11+22=33, Resulting Numbers: [13, 16, 33] Generated Node #0,2: 34:[13, 16, 33] Operation: 11+22=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[13, 16, 2], Operations: ['22/11=2'] Exploring Operation: 13+16=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 34:[2, 29] Operation: 13+16=29 Exploring Operation: 13+2=15, Resulting Numbers: [16, 15] Generated Node #0,0,1: 34:[16, 15] Operation: 13+2=15 Exploring Operation: 16-13=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 34:[2, 3] Operation: 16-13=3 Moving to Node #0,0,2 Current State: 34:[2, 3], Operations: ['22/11=2', '16-13=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[16, 15], Operations: ['22/11=2', '13+2=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[2, 29], Operations: ['22/11=2', '13+16=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,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,1 Current State: 34:[16, 22, 2], Operations: ['13-11=2'] Exploring Operation: 22-2=20, Resulting Numbers: [16, 20] Generated Node #0,1,0: 34:[16, 20] Operation: 22-2=20 Exploring Operation: 22-16=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 34:[2, 6] Operation: 22-16=6 Exploring Operation: 16+22=38, Resulting Numbers: [2, 38] Generated Node #0,1,2: 34:[2, 38] Operation: 16+22=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[16, 20], Operations: ['13-11=2', '22-2=20'] Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,34 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,34 unequal: No Solution No 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: 34:[2, 6], Operations: ['13-11=2', '22-16=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,34 unequal: No Solution No 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: 34:[2, 38], Operations: ['13-11=2', '16+22=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[13, 16, 33], Operations: ['11+22=33'] Exploring Operation: 33-16=17, Resulting Numbers: [13, 17] Generated Node #0,2,0: 34:[13, 17] Operation: 33-16=17 Exploring Operation: 33-13=20, Resulting Numbers: [16, 20] Generated Node #0,2,1: 34:[16, 20] Operation: 33-13=20 Exploring Operation: 16-13=3, Resulting Numbers: [33, 3] Generated Node #0,2,2: 34:[33, 3] Operation: 16-13=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[33, 3], Operations: ['11+22=33', '16-13=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,34 unequal: No Solution No 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: 34:[13, 17], Operations: ['11+22=33', '33-16=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,34 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,34 unequal: No Solution No 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: 34:[16, 20], Operations: ['11+22=33', '33-13=20'] Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,34 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 80, 87, 32, 30 ]
12
[ "80*30=2400", "2400/32=75", "87-75=12" ]
Current State: 12:[80, 87, 32, 30], Operations: [] Exploring Operation: 80*30=2400, Resulting Numbers: [87, 32, 2400] Generated Node #2: [87, 32, 2400] from Operation: 80*30=2400 Current State: 12:[87, 32, 2400], Operations: ['80*30=2400'] Exploring Operation: 2400/32=75, Resulting Numbers: [87, 75] Generated Node #3: [87, 75] from Operation: 2400/32=75 Current State: 12:[87, 75], Operations: ['80*30=2400', '2400/32=75'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[80, 87, 32, 30], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [87, 30, 48] Generated Node #0,0: 12:[87, 30, 48] Operation: 80-32=48 Exploring Operation: 87-80=7, Resulting Numbers: [32, 30, 7] Generated Node #0,1: 12:[32, 30, 7] Operation: 87-80=7 Moving to Node #0,1 Current State: 12:[32, 30, 7], Operations: ['87-80=7'] Exploring Operation: 32-30=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 12:[7, 2] Operation: 32-30=2 Exploring Operation: 32-7=25, Resulting Numbers: [30, 25] Generated Node #0,1,1: 12:[30, 25] Operation: 32-7=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[7, 2], Operations: ['87-80=7', '32-30=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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,1 Current State: 12:[30, 25], Operations: ['87-80=7', '32-7=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,12 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: 12:[87, 30, 48], Operations: ['80-32=48'] Exploring Operation: 87-48=39, Resulting Numbers: [30, 39] Generated Node #0,0,0: 12:[30, 39] Operation: 87-48=39 Exploring Operation: 87-30=57, Resulting Numbers: [48, 57] Generated Node #0,0,1: 12:[48, 57] Operation: 87-30=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[30, 39], Operations: ['80-32=48', '87-48=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[48, 57], Operations: ['80-32=48', '87-30=57'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,12 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
[ 26, 4, 95, 24 ]
97
[ "26-4=22", "95+24=119", "119-22=97" ]
Current State: 97:[26, 4, 95, 24], Operations: [] Exploring Operation: 26-4=22, Resulting Numbers: [95, 24, 22] Generated Node #2: [95, 24, 22] from Operation: 26-4=22 Current State: 97:[95, 24, 22], Operations: ['26-4=22'] Exploring Operation: 95+24=119, Resulting Numbers: [22, 119] Generated Node #3: [22, 119] from Operation: 95+24=119 Current State: 97:[22, 119], Operations: ['26-4=22', '95+24=119'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[26, 4, 95, 24], Operations: [] Exploring Operation: 26+4=30, Resulting Numbers: [95, 24, 30] Generated Node #0,0: 97:[95, 24, 30] Operation: 26+4=30 Exploring Operation: 4+24=28, Resulting Numbers: [26, 95, 28] Generated Node #0,1: 97:[26, 95, 28] Operation: 4+24=28 Exploring Operation: 26+24=50, Resulting Numbers: [4, 95, 50] Generated Node #0,2: 97:[4, 95, 50] Operation: 26+24=50 Exploring Operation: 4*24=96, Resulting Numbers: [26, 95, 96] Generated Node #0,3: 97:[26, 95, 96] Operation: 4*24=96 Exploring Operation: 26*4=104, Resulting Numbers: [95, 24, 104] Generated Node #0,4: 97:[95, 24, 104] Operation: 26*4=104 Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[26, 95, 96], Operations: ['4*24=96'] Exploring Operation: 95+96=191, Resulting Numbers: [26, 191] Generated Node #0,3,0: 97:[26, 191] Operation: 95+96=191 Exploring Operation: 95-26=69, Resulting Numbers: [96, 69] Generated Node #0,3,1: 97:[96, 69] Operation: 95-26=69 Exploring Operation: 26+95=121, Resulting Numbers: [96, 121] Generated Node #0,3,2: 97:[96, 121] Operation: 26+95=121 Exploring Operation: 96-26=70, Resulting Numbers: [95, 70] Generated Node #0,3,3: 97:[95, 70] Operation: 96-26=70 Exploring Operation: 26+96=122, Resulting Numbers: [95, 122] Generated Node #0,3,4: 97:[95, 122] Operation: 26+96=122 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[96, 121], Operations: ['4*24=96', '26+95=121'] Exploring Operation: 121-96=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 96+121=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 96*121=11616, Resulting Numbers: [11616] 11616,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 97:[95, 122], Operations: ['4*24=96', '26+96=122'] Exploring Operation: 95+122=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 95*122=11590, Resulting Numbers: [11590] 11590,97 unequal: No Solution Exploring Operation: 122-95=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[96, 69], Operations: ['4*24=96', '95-26=69'] Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 96+69=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 96*69=6624, Resulting Numbers: [6624] 6624,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[95, 70], Operations: ['4*24=96', '96-26=70'] Exploring Operation: 95+70=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 95*70=6650, Resulting Numbers: [6650] 6650,97 unequal: No Solution Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[26, 191], Operations: ['4*24=96', '95+96=191'] Exploring Operation: 26*191=4966, Resulting Numbers: [4966] 4966,97 unequal: No Solution Exploring Operation: 191-26=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 26+191=217, Resulting Numbers: [217] 217,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 97:[95, 24, 104], Operations: ['26*4=104'] Exploring Operation: 104-95=9, Resulting Numbers: [24, 9] Generated Node #0,4,0: 97:[24, 9] Operation: 104-95=9 Exploring Operation: 104-24=80, Resulting Numbers: [95, 80] Generated Node #0,4,1: 97:[95, 80] Operation: 104-24=80 Exploring Operation: 95-24=71, Resulting Numbers: [104, 71] Generated Node #0,4,2: 97:[104, 71] Operation: 95-24=71 Exploring Operation: 95+24=119, Resulting Numbers: [104, 119] Generated Node #0,4,3: 97:[104, 119] Operation: 95+24=119 Exploring Operation: 24+104=128, Resulting Numbers: [95, 128] Generated Node #0,4,4: 97:[95, 128] Operation: 24+104=128 Moving to Node #0,4,1 Current State: 97:[95, 80], Operations: ['26*4=104', '104-24=80'] Exploring Operation: 95+80=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 95*80=7600, Resulting Numbers: [7600] 7600,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[104, 119], Operations: ['26*4=104', '95+24=119'] Exploring Operation: 119-104=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 104*119=12376, Resulting Numbers: [12376] 12376,97 unequal: No Solution Exploring Operation: 104+119=223, Resulting Numbers: [223] 223,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[104, 71], Operations: ['26*4=104', '95-24=71'] Exploring Operation: 104-71=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 104*71=7384, Resulting Numbers: [7384] 7384,97 unequal: No Solution Exploring Operation: 104+71=175, Resulting Numbers: [175] 175,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[95, 128], Operations: ['26*4=104', '24+104=128'] Exploring Operation: 95*128=12160, Resulting Numbers: [12160] 12160,97 unequal: No Solution Exploring Operation: 95+128=223, Resulting Numbers: [223] 223,97 unequal: No Solution Exploring Operation: 128-95=33, Resulting Numbers: [33] 33,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[24, 9], Operations: ['26*4=104', '104-95=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,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,0 Current State: 97:[95, 24, 30], Operations: ['26+4=30'] Exploring Operation: 30-24=6, Resulting Numbers: [95, 6] Generated Node #0,0,0: 97:[95, 6] Operation: 30-24=6 Exploring Operation: 95+24=119, Resulting Numbers: [30, 119] Generated Node #0,0,1: 97:[30, 119] Operation: 95+24=119 Exploring Operation: 95+30=125, Resulting Numbers: [24, 125] Generated Node #0,0,2: 97:[24, 125] Operation: 95+30=125 Exploring Operation: 95-24=71, Resulting Numbers: [30, 71] Generated Node #0,0,3: 97:[30, 71] Operation: 95-24=71 Exploring Operation: 24+30=54, Resulting Numbers: [95, 54] Generated Node #0,0,4: 97:[95, 54] Operation: 24+30=54 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 97:[95, 54], Operations: ['26+4=30', '24+30=54'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,97 unequal: No Solution Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[30, 119], Operations: ['26+4=30', '95+24=119'] Exploring Operation: 30*119=3570, Resulting Numbers: [3570] 3570,97 unequal: No Solution Exploring Operation: 119-30=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 30+119=149, Resulting Numbers: [149] 149,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[95, 6], Operations: ['26+4=30', '30-24=6'] Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,97 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[30, 71], Operations: ['26+4=30', '95-24=71'] Exploring Operation: 30*71=2130, Resulting Numbers: [2130] 2130,97 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[24, 125], Operations: ['26+4=30', '95+30=125'] Exploring Operation: 24+125=149, Resulting Numbers: [149] 149,97 unequal: No Solution Exploring Operation: 125-24=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 24*125=3000, Resulting Numbers: [3000] 3000,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[26, 95, 28], Operations: ['4+24=28'] Exploring Operation: 95-26=69, Resulting Numbers: [28, 69] Generated Node #0,1,0: 97:[28, 69] Operation: 95-26=69 Exploring Operation: 28-26=2, Resulting Numbers: [95, 2] Generated Node #0,1,1: 97:[95, 2] Operation: 28-26=2 Exploring Operation: 26+28=54, Resulting Numbers: [95, 54] Generated Node #0,1,2: 97:[95, 54] Operation: 26+28=54 Exploring Operation: 95+28=123, Resulting Numbers: [26, 123] Generated Node #0,1,3: 97:[26, 123] Operation: 95+28=123 Exploring Operation: 26+95=121, Resulting Numbers: [28, 121] Generated Node #0,1,4: 97:[28, 121] Operation: 26+95=121 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[95, 54], Operations: ['4+24=28', '26+28=54'] Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,97 unequal: No Solution Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,97 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 97:[28, 121], Operations: ['4+24=28', '26+95=121'] Exploring Operation: 28+121=149, Resulting Numbers: [149] 149,97 unequal: No Solution Exploring Operation: 28*121=3388, Resulting Numbers: [3388] 3388,97 unequal: No Solution Exploring Operation: 121-28=93, Resulting Numbers: [93] 93,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[28, 69], Operations: ['4+24=28', '95-26=69'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 28+69=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[26, 4, 95, 24], Operations: [] Exploring Operation: 4+24=28, Resulting Numbers: [26, 95, 28] Generated Node #0,1: 97:[26, 95, 28] Operation: 4+24=28 Moving to Node #0,1 Current State: 97:[26, 95, 28], Operations: ['4+24=28'] Exploring Operation: 95-26=69, Resulting Numbers: [28, 69] Generated Node #0,1,0: 97:[28, 69] Operation: 95-26=69 Moving to Node #0,1,0 Current State: 97:[28, 69], Operations: ['4+24=28', '95-26=69'] Exploring Operation: 28+69=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.928819
hs_5
mult_heuristic
[ 13, 19, 18, 31 ]
19
[ "13+19=32", "31-18=13", "32-13=19" ]
Current State: 19:[13, 19, 18, 31], Operations: [] Exploring Operation: 13+19=32, Resulting Numbers: [18, 31, 32] Generated Node #2: [18, 31, 32] from Operation: 13+19=32 Current State: 19:[18, 31, 32], Operations: ['13+19=32'] Exploring Operation: 31-18=13, Resulting Numbers: [32, 13] Generated Node #3: [32, 13] from Operation: 31-18=13 Current State: 19:[32, 13], Operations: ['13+19=32', '31-18=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[13, 19, 18, 31], Operations: [] Exploring Operation: 31-13=18, Resulting Numbers: [19, 18, 18] Generated Node #0,0: 19:[19, 18, 18] Operation: 31-13=18 Exploring Operation: 13+18=31, Resulting Numbers: [19, 31, 31] Generated Node #0,1: 19:[19, 31, 31] Operation: 13+18=31 Exploring Operation: 31-19=12, Resulting Numbers: [13, 18, 12] Generated Node #0,2: 19:[13, 18, 12] Operation: 31-19=12 Exploring Operation: 13+19=32, Resulting Numbers: [18, 31, 32] Generated Node #0,3: 19:[18, 31, 32] Operation: 13+19=32 Exploring Operation: 31-18=13, Resulting Numbers: [13, 19, 13] Generated Node #0,4: 19:[13, 19, 13] Operation: 31-18=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[19, 18, 18], Operations: ['31-13=18'] Exploring Operation: 18+18=36, Resulting Numbers: [19, 36] Generated Node #0,0,0: 19:[19, 36] Operation: 18+18=36 Exploring Operation: 18/18=1, Resulting Numbers: [19, 1] Generated Node #0,0,1: 19:[19, 1] Operation: 18/18=1 Exploring Operation: 19+18=37, Resulting Numbers: [18, 37] Generated Node #0,0,2: 19:[18, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [18, 1] Generated Node #0,0,3: 19:[18, 1] Operation: 19-18=1 Exploring Operation: 19+18=37, Resulting Numbers: [18, 37] Generated Node #0,0,4: 19:[18, 37] Operation: 19+18=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[19, 36], Operations: ['31-13=18', '18+18=36'] Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,19 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,19 unequal: No Solution No 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: 19:[19, 1], Operations: ['31-13=18', '18/18=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[13, 19, 18, 31], Operations: [] Exploring Operation: 31-13=18, Resulting Numbers: [19, 18, 18] Generated Node #0,0: 19:[19, 18, 18] Operation: 31-13=18 Moving to Node #0,0 Current State: 19:[19, 18, 18], Operations: ['31-13=18'] Exploring Operation: 18/18=1, Resulting Numbers: [19, 1] Generated Node #0,0,1: 19:[19, 1] Operation: 18/18=1 Moving to Node #0,0,1 Current State: 19:[19, 1], Operations: ['31-13=18', '18/18=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 59, 62, 36, 94 ]
99
[ "59*62=3658", "3658-94=3564", "3564/36=99" ]
Current State: 99:[59, 62, 36, 94], Operations: [] Exploring Operation: 59*62=3658, Resulting Numbers: [36, 94, 3658] Generated Node #2: [36, 94, 3658] from Operation: 59*62=3658 Current State: 99:[36, 94, 3658], Operations: ['59*62=3658'] Exploring Operation: 3658-94=3564, Resulting Numbers: [36, 3564] Generated Node #3: [36, 3564] from Operation: 3658-94=3564 Current State: 99:[36, 3564], Operations: ['59*62=3658', '3658-94=3564'] Exploring Operation: 3564/36=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[59, 62, 36, 94], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [59, 36, 32] Generated Node #0,0: 99:[59, 36, 32] Operation: 94-62=32 Exploring Operation: 62+36=98, Resulting Numbers: [59, 94, 98] Generated Node #0,1: 99:[59, 94, 98] Operation: 62+36=98 Exploring Operation: 59+62=121, Resulting Numbers: [36, 94, 121] Generated Node #0,2: 99:[36, 94, 121] Operation: 59+62=121 Exploring Operation: 62-59=3, Resulting Numbers: [36, 94, 3] Generated Node #0,3: 99:[36, 94, 3] Operation: 62-59=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[36, 94, 3], Operations: ['62-59=3'] Exploring Operation: 36+3=39, Resulting Numbers: [94, 39] Generated Node #0,3,0: 99:[94, 39] Operation: 36+3=39 Exploring Operation: 94+3=97, Resulting Numbers: [36, 97] Generated Node #0,3,1: 99:[36, 97] Operation: 94+3=97 Exploring Operation: 36/3=12, Resulting Numbers: [94, 12] Generated Node #0,3,2: 99:[94, 12] Operation: 36/3=12 Exploring Operation: 36-3=33, Resulting Numbers: [94, 33] Generated Node #0,3,3: 99:[94, 33] Operation: 36-3=33 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[36, 97], Operations: ['62-59=3', '94+3=97'] Exploring Operation: 36+97=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 36*97=3492, Resulting Numbers: [3492] 3492,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[94, 33], Operations: ['62-59=3', '36-3=33'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 94*33=3102, Resulting Numbers: [3102] 3102,99 unequal: No Solution Exploring Operation: 94+33=127, Resulting Numbers: [127] 127,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[94, 12], Operations: ['62-59=3', '36/3=12'] Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,99 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[94, 39], Operations: ['62-59=3', '36+3=39'] Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,99 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[59, 36, 32], Operations: ['94-62=32'] Exploring Operation: 59-36=23, Resulting Numbers: [32, 23] Generated Node #0,0,0: 99:[32, 23] Operation: 59-36=23 Exploring Operation: 59+32=91, Resulting Numbers: [36, 91] Generated Node #0,0,1: 99:[36, 91] Operation: 59+32=91 Exploring Operation: 59+36=95, Resulting Numbers: [32, 95] Generated Node #0,0,2: 99:[32, 95] Operation: 59+36=95 Exploring Operation: 59-32=27, Resulting Numbers: [36, 27] Generated Node #0,0,3: 99:[36, 27] Operation: 59-32=27 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 99:[32, 95], Operations: ['94-62=32', '59+36=95'] Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 32*95=3040, Resulting Numbers: [3040] 3040,99 unequal: No Solution Exploring Operation: 32+95=127, Resulting Numbers: [127] 127,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 99:[36, 27], Operations: ['94-62=32', '59-32=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,99 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[32, 23], Operations: ['94-62=32', '59-36=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,99 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[36, 91], Operations: ['94-62=32', '59+32=91'] Exploring Operation: 36+91=127, Resulting Numbers: [127] 127,99 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 36*91=3276, Resulting Numbers: [3276] 3276,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[36, 94, 121], Operations: ['59+62=121'] Exploring Operation: 36+94=130, Resulting Numbers: [121, 130] Generated Node #0,2,0: 99:[121, 130] Operation: 36+94=130 Exploring Operation: 94-36=58, Resulting Numbers: [121, 58] Generated Node #0,2,1: 99:[121, 58] Operation: 94-36=58 Exploring Operation: 121-94=27, Resulting Numbers: [36, 27] Generated Node #0,2,2: 99:[36, 27] Operation: 121-94=27 Exploring Operation: 121-36=85, Resulting Numbers: [94, 85] Generated Node #0,2,3: 99:[94, 85] Operation: 121-36=85 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[36, 27], Operations: ['59+62=121', '121-94=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,99 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[94, 85], Operations: ['59+62=121', '121-36=85'] Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,99 unequal: No Solution Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,99 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[121, 58], Operations: ['59+62=121', '94-36=58'] Exploring Operation: 121*58=7018, Resulting Numbers: [7018] 7018,99 unequal: No Solution Exploring Operation: 121+58=179, Resulting Numbers: [179] 179,99 unequal: No Solution Exploring Operation: 121-58=63, Resulting Numbers: [63] 63,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[121, 130], Operations: ['59+62=121', '36+94=130'] Exploring Operation: 121+130=251, Resulting Numbers: [251] 251,99 unequal: No Solution Exploring Operation: 121*130=15730, Resulting Numbers: [15730] 15730,99 unequal: No Solution Exploring Operation: 130-121=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[59, 94, 98], Operations: ['62+36=98'] Exploring Operation: 94-59=35, Resulting Numbers: [98, 35] Generated Node #0,1,0: 99:[98, 35] Operation: 94-59=35 Exploring Operation: 59+94=153, Resulting Numbers: [98, 153] Generated Node #0,1,1: 99:[98, 153] Operation: 59+94=153 Exploring Operation: 98-94=4, Resulting Numbers: [59, 4] Generated Node #0,1,2: 99:[59, 4] Operation: 98-94=4 Exploring Operation: 98-59=39, Resulting Numbers: [94, 39] Generated Node #0,1,3: 99:[94, 39] Operation: 98-59=39 Moving to Node #0,1,0 Current State: 99:[98, 35], Operations: ['62+36=98', '94-59=35'] Exploring Operation: 98+35=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 98*35=3430, Resulting Numbers: [3430] 3430,99 unequal: No Solution Exploring Operation: 98-35=63, Resulting Numbers: [63] 63,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[94, 39], Operations: ['62+36=98', '98-59=39'] Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,99 unequal: No Solution Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[59, 4], Operations: ['62+36=98', '98-94=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,99 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[98, 153], Operations: ['62+36=98', '59+94=153'] Exploring Operation: 153-98=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 98*153=14994, Resulting Numbers: [14994] 14994,99 unequal: No Solution Exploring Operation: 98+153=251, Resulting Numbers: [251] 251,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 13, 95, 43, 4 ]
90
[ "95-13=82", "43*4=172", "172-82=90" ]
Current State: 90:[13, 95, 43, 4], Operations: [] Exploring Operation: 95-13=82, Resulting Numbers: [43, 4, 82] Generated Node #2: [43, 4, 82] from Operation: 95-13=82 Current State: 90:[43, 4, 82], Operations: ['95-13=82'] Exploring Operation: 43*4=172, Resulting Numbers: [82, 172] Generated Node #3: [82, 172] from Operation: 43*4=172 Current State: 90:[82, 172], Operations: ['95-13=82', '43*4=172'] Exploring Operation: 172-82=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[13, 95, 43, 4], Operations: [] Exploring Operation: 43-13=30, Resulting Numbers: [95, 4, 30] Generated Node #0,0: 90:[95, 4, 30] Operation: 43-13=30 Exploring Operation: 95-4=91, Resulting Numbers: [13, 43, 91] Generated Node #0,1: 90:[13, 43, 91] Operation: 95-4=91 Moving to Node #0,1 Current State: 90:[13, 43, 91], Operations: ['95-4=91'] Exploring Operation: 43-13=30, Resulting Numbers: [91, 30] Generated Node #0,1,0: 90:[91, 30] Operation: 43-13=30 Exploring Operation: 91/13=7, Resulting Numbers: [43, 7] Generated Node #0,1,1: 90:[43, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 90:[95, 4, 30], Operations: ['43-13=30'] Exploring Operation: 95+4=99, Resulting Numbers: [30, 99] Generated Node #0,0,0: 90:[30, 99] Operation: 95+4=99 Exploring Operation: 95-4=91, Resulting Numbers: [30, 91] Generated Node #0,0,1: 90:[30, 91] Operation: 95-4=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[30, 91], Operations: ['43-13=30', '95-4=91'] Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,90 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,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,0 Current State: 90:[30, 99], Operations: ['43-13=30', '95+4=99'] Exploring Operation: 30+99=129, Resulting Numbers: [129] 129,90 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,90 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: 90:[91, 30], Operations: ['95-4=91', '43-13=30'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,90 unequal: No Solution Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[43, 7], Operations: ['95-4=91', '91/13=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,90 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 49, 99, 98 ]
57
[ "78*98=7644", "7644/49=156", "156-99=57" ]
Current State: 57:[78, 49, 99, 98], Operations: [] Exploring Operation: 78*98=7644, Resulting Numbers: [49, 99, 7644] Generated Node #2: [49, 99, 7644] from Operation: 78*98=7644 Current State: 57:[49, 99, 7644], Operations: ['78*98=7644'] Exploring Operation: 7644/49=156, Resulting Numbers: [99, 156] Generated Node #3: [99, 156] from Operation: 7644/49=156 Current State: 57:[99, 156], Operations: ['78*98=7644', '7644/49=156'] Exploring Operation: 156-99=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[78, 49, 99, 98], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [78, 49, 1] Generated Node #0,0: 57:[78, 49, 1] Operation: 99-98=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[78, 49, 1], Operations: ['99-98=1'] Exploring Operation: 78-49=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 57:[1, 29] Operation: 78-49=29 Moving to Node #0,0,0 Current State: 57:[1, 29], Operations: ['99-98=1', '78-49=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 76, 22, 8, 78 ]
56
[ "76+78=154", "154/22=7", "8*7=56" ]
Current State: 56:[76, 22, 8, 78], Operations: [] Exploring Operation: 76+78=154, Resulting Numbers: [22, 8, 154] Generated Node #2: [22, 8, 154] from Operation: 76+78=154 Current State: 56:[22, 8, 154], Operations: ['76+78=154'] Exploring Operation: 154/22=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 154/22=7 Current State: 56:[8, 7], Operations: ['76+78=154', '154/22=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[76, 22, 8, 78], Operations: [] Exploring Operation: 76-8=68, Resulting Numbers: [22, 78, 68] Generated Node #0,0: 56:[22, 78, 68] Operation: 76-8=68 Exploring Operation: 78-22=56, Resulting Numbers: [76, 8, 56] Generated Node #0,1: 56:[76, 8, 56] Operation: 78-22=56 Exploring Operation: 78-76=2, Resulting Numbers: [22, 8, 2] Generated Node #0,2: 56:[22, 8, 2] Operation: 78-76=2 Exploring Operation: 78-8=70, Resulting Numbers: [76, 22, 70] Generated Node #0,3: 56:[76, 22, 70] Operation: 78-8=70 Exploring Operation: 76-22=54, Resulting Numbers: [8, 78, 54] Generated Node #0,4: 56:[8, 78, 54] Operation: 76-22=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[22, 8, 2], Operations: ['78-76=2'] Exploring Operation: 22-8=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 56:[2, 14] Operation: 22-8=14 Exploring Operation: 22-2=20, Resulting Numbers: [8, 20] Generated Node #0,2,1: 56:[8, 20] Operation: 22-2=20 Exploring Operation: 22+2=24, Resulting Numbers: [8, 24] Generated Node #0,2,2: 56:[8, 24] Operation: 22+2=24 Exploring Operation: 22+8=30, Resulting Numbers: [2, 30] Generated Node #0,2,3: 56:[2, 30] Operation: 22+8=30 Exploring Operation: 22/2=11, Resulting Numbers: [8, 11] Generated Node #0,2,4: 56:[8, 11] Operation: 22/2=11 Moving to Node #0,2,0 Current State: 56:[2, 14], Operations: ['78-76=2', '22-8=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[2, 30], Operations: ['78-76=2', '22+8=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[8, 11], Operations: ['78-76=2', '22/2=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[8, 24], Operations: ['78-76=2', '22+2=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,56 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[8, 20], Operations: ['78-76=2', '22-2=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,56 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[76, 8, 56], Operations: ['78-22=56'] Exploring Operation: 8+56=64, Resulting Numbers: [76, 64] Generated Node #0,1,0: 56:[76, 64] Operation: 8+56=64 Exploring Operation: 56/8=7, Resulting Numbers: [76, 7] Generated Node #0,1,1: 56:[76, 7] Operation: 56/8=7 Exploring Operation: 76+8=84, Resulting Numbers: [56, 84] Generated Node #0,1,2: 56:[56, 84] Operation: 76+8=84 Exploring Operation: 76-8=68, Resulting Numbers: [56, 68] Generated Node #0,1,3: 56:[56, 68] Operation: 76-8=68 Exploring Operation: 76-56=20, Resulting Numbers: [8, 20] Generated Node #0,1,4: 56:[8, 20] Operation: 76-56=20 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 56:[8, 20], Operations: ['78-22=56', '76-56=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,56 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[56, 68], Operations: ['78-22=56', '76-8=68'] Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,56 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[76, 7], Operations: ['78-22=56', '56/8=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[76, 64], Operations: ['78-22=56', '8+56=64'] Exploring Operation: 76+64=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 76*64=4864, Resulting Numbers: [4864] 4864,56 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[56, 84], Operations: ['78-22=56', '76+8=84'] Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 56*84=4704, Resulting Numbers: [4704] 4704,56 unequal: No Solution Exploring Operation: 56+84=140, Resulting Numbers: [140] 140,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[8, 78, 54], Operations: ['76-22=54'] Exploring Operation: 8+78=86, Resulting Numbers: [54, 86] Generated Node #0,4,0: 56:[54, 86] Operation: 8+78=86 Exploring Operation: 78-54=24, Resulting Numbers: [8, 24] Generated Node #0,4,1: 56:[8, 24] Operation: 78-54=24 Exploring Operation: 8+54=62, Resulting Numbers: [78, 62] Generated Node #0,4,2: 56:[78, 62] Operation: 8+54=62 Exploring Operation: 78-8=70, Resulting Numbers: [54, 70] Generated Node #0,4,3: 56:[54, 70] Operation: 78-8=70 Exploring Operation: 54-8=46, Resulting Numbers: [78, 46] Generated Node #0,4,4: 56:[78, 46] Operation: 54-8=46 Moving to Node #0,4,1 Current State: 56:[8, 24], Operations: ['76-22=54', '78-54=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,56 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[54, 70], Operations: ['76-22=54', '78-8=70'] Exploring Operation: 54+70=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 54*70=3780, Resulting Numbers: [3780] 3780,56 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[78, 62], Operations: ['76-22=54', '8+54=62'] Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,56 unequal: No Solution Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[54, 86], Operations: ['76-22=54', '8+78=86'] Exploring Operation: 54+86=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 54*86=4644, Resulting Numbers: [4644] 4644,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[78, 46], Operations: ['76-22=54', '54-8=46'] Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,56 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[22, 78, 68], Operations: ['76-8=68'] Exploring Operation: 68-22=46, Resulting Numbers: [78, 46] Generated Node #0,0,0: 56:[78, 46] Operation: 68-22=46 Exploring Operation: 78-22=56, Resulting Numbers: [68, 56] Generated Node #0,0,1: 56:[68, 56] Operation: 78-22=56 Exploring Operation: 78-68=10, Resulting Numbers: [22, 10] Generated Node #0,0,2: 56:[22, 10] Operation: 78-68=10 Exploring Operation: 22+68=90, Resulting Numbers: [78, 90] Generated Node #0,0,3: 56:[78, 90] Operation: 22+68=90 Exploring Operation: 22+78=100, Resulting Numbers: [68, 100] Generated Node #0,0,4: 56:[68, 100] Operation: 22+78=100 Moving to Node #0,0,2 Current State: 56:[22, 10], Operations: ['76-8=68', '78-68=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[68, 56], Operations: ['76-8=68', '78-22=56'] Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,56 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[78, 46], Operations: ['76-8=68', '68-22=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[78, 90], Operations: ['76-8=68', '22+68=90'] Exploring Operation: 78+90=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 78*90=7020, Resulting Numbers: [7020] 7020,56 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[68, 100], Operations: ['76-8=68', '22+78=100'] Exploring Operation: 68+100=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 68*100=6800, Resulting Numbers: [6800] 6800,56 unequal: No Solution Exploring Operation: 100-68=32, Resulting Numbers: [32] 32,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[76, 22, 70], Operations: ['78-8=70'] Exploring Operation: 76-70=6, Resulting Numbers: [22, 6] Generated Node #0,3,0: 56:[22, 6] Operation: 76-70=6 Exploring Operation: 22+70=92, Resulting Numbers: [76, 92] Generated Node #0,3,1: 56:[76, 92] Operation: 22+70=92 Exploring Operation: 76+22=98, Resulting Numbers: [70, 98] Generated Node #0,3,2: 56:[70, 98] Operation: 76+22=98 Exploring Operation: 76-22=54, Resulting Numbers: [70, 54] Generated Node #0,3,3: 56:[70, 54] Operation: 76-22=54 Exploring Operation: 70-22=48, Resulting Numbers: [76, 48] Generated Node #0,3,4: 56:[76, 48] Operation: 70-22=48 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[22, 6], Operations: ['78-8=70', '76-70=6'] Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,56 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[70, 54], Operations: ['78-8=70', '76-22=54'] Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,56 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 56:[76, 48], Operations: ['78-8=70', '70-22=48'] Exploring Operation: 76*48=3648, Resulting Numbers: [3648] 3648,56 unequal: No Solution Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 76+48=124, Resulting Numbers: [124] 124,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[76, 92], Operations: ['78-8=70', '22+70=92'] Exploring Operation: 76*92=6992, Resulting Numbers: [6992] 6992,56 unequal: No Solution Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 76+92=168, Resulting Numbers: [168] 168,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[70, 98], Operations: ['78-8=70', '76+22=98'] Exploring Operation: 70*98=6860, Resulting Numbers: [6860] 6860,56 unequal: No Solution Exploring Operation: 70+98=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 49, 52, 53 ]
55
[ "5+49=54", "53-52=1", "54+1=55" ]
Current State: 55:[5, 49, 52, 53], Operations: [] Exploring Operation: 5+49=54, Resulting Numbers: [52, 53, 54] Generated Node #2: [52, 53, 54] from Operation: 5+49=54 Current State: 55:[52, 53, 54], Operations: ['5+49=54'] Exploring Operation: 53-52=1, Resulting Numbers: [54, 1] Generated Node #3: [54, 1] from Operation: 53-52=1 Current State: 55:[54, 1], Operations: ['5+49=54', '53-52=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[5, 49, 52, 53], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [5, 53, 3] Generated Node #0,0: 55:[5, 53, 3] Operation: 52-49=3 Exploring Operation: 53-49=4, Resulting Numbers: [5, 52, 4] Generated Node #0,1: 55:[5, 52, 4] Operation: 53-49=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[5, 53, 3], Operations: ['52-49=3'] Exploring Operation: 53+3=56, Resulting Numbers: [5, 56] Generated Node #0,0,0: 55:[5, 56] Operation: 53+3=56 Exploring Operation: 5+53=58, Resulting Numbers: [3, 58] Generated Node #0,0,1: 55:[3, 58] Operation: 5+53=58 Moving to Node #0,0,0 Current State: 55:[5, 56], Operations: ['52-49=3', '53+3=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[3, 58], Operations: ['52-49=3', '5+53=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[5, 49, 52, 53], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [5, 53, 3] Generated Node #0,0: 55:[5, 53, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 55:[5, 53, 3], Operations: ['52-49=3'] Exploring Operation: 5+53=58, Resulting Numbers: [3, 58] Generated Node #0,0,1: 55:[3, 58] Operation: 5+53=58 Moving to Node #0,0,1 Current State: 55:[3, 58], Operations: ['52-49=3', '5+53=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 53, 76, 59, 97 ]
76
[ "59*97=5723", "53+5723=5776", "5776/76=76" ]
Current State: 76:[53, 76, 59, 97], Operations: [] Exploring Operation: 59*97=5723, Resulting Numbers: [53, 76, 5723] Generated Node #2: [53, 76, 5723] from Operation: 59*97=5723 Current State: 76:[53, 76, 5723], Operations: ['59*97=5723'] Exploring Operation: 53+5723=5776, Resulting Numbers: [76, 5776] Generated Node #3: [76, 5776] from Operation: 53+5723=5776 Current State: 76:[76, 5776], Operations: ['59*97=5723', '53+5723=5776'] Exploring Operation: 5776/76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[53, 76, 59, 97], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [53, 76, 38] Generated Node #0,0: 76:[53, 76, 38] Operation: 97-59=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[53, 76, 38], Operations: ['97-59=38'] Exploring Operation: 76-53=23, Resulting Numbers: [38, 23] Generated Node #0,0,0: 76:[38, 23] Operation: 76-53=23 Moving to Node #0,0,0 Current State: 76:[38, 23], Operations: ['97-59=38', '76-53=23'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,76 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
[ 75, 53, 71, 7 ]
25
[ "75-71=4", "7*4=28", "53-28=25" ]
Current State: 25:[75, 53, 71, 7], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [53, 7, 4] Generated Node #2: [53, 7, 4] from Operation: 75-71=4 Current State: 25:[53, 7, 4], Operations: ['75-71=4'] Exploring Operation: 7*4=28, Resulting Numbers: [53, 28] Generated Node #3: [53, 28] from Operation: 7*4=28 Current State: 25:[53, 28], Operations: ['75-71=4', '7*4=28'] Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[75, 53, 71, 7], Operations: [] Exploring Operation: 75-7=68, Resulting Numbers: [53, 71, 68] Generated Node #0,0: 25:[53, 71, 68] Operation: 75-7=68 Exploring Operation: 53-7=46, Resulting Numbers: [75, 71, 46] Generated Node #0,1: 25:[75, 71, 46] Operation: 53-7=46 Exploring Operation: 75-71=4, Resulting Numbers: [53, 7, 4] Generated Node #0,2: 25:[53, 7, 4] Operation: 75-71=4 Exploring Operation: 71-53=18, Resulting Numbers: [75, 7, 18] Generated Node #0,3: 25:[75, 7, 18] Operation: 71-53=18 Exploring Operation: 75-53=22, Resulting Numbers: [71, 7, 22] Generated Node #0,4: 25:[71, 7, 22] Operation: 75-53=22 Moving to Node #0,2 Current State: 25:[53, 7, 4], Operations: ['75-71=4'] Exploring Operation: 7*4=28, Resulting Numbers: [53, 28] Generated Node #0,2,0: 25:[53, 28] Operation: 7*4=28 Exploring Operation: 53-7=46, Resulting Numbers: [4, 46] Generated Node #0,2,1: 25:[4, 46] Operation: 53-7=46 Exploring Operation: 7-4=3, Resulting Numbers: [53, 3] Generated Node #0,2,2: 25:[53, 3] Operation: 7-4=3 Exploring Operation: 53-4=49, Resulting Numbers: [7, 49] Generated Node #0,2,3: 25:[7, 49] Operation: 53-4=49 Exploring Operation: 53+4=57, Resulting Numbers: [7, 57] Generated Node #0,2,4: 25:[7, 57] Operation: 53+4=57 Moving to Node #0,4 Current State: 25:[71, 7, 22], Operations: ['75-53=22'] Exploring Operation: 71-7=64, Resulting Numbers: [22, 64] Generated Node #0,4,0: 25:[22, 64] Operation: 71-7=64 Exploring Operation: 7+22=29, Resulting Numbers: [71, 29] Generated Node #0,4,1: 25:[71, 29] Operation: 7+22=29 Exploring Operation: 71-22=49, Resulting Numbers: [7, 49] Generated Node #0,4,2: 25:[7, 49] Operation: 71-22=49 Exploring Operation: 22-7=15, Resulting Numbers: [71, 15] Generated Node #0,4,3: 25:[71, 15] Operation: 22-7=15 Exploring Operation: 71+7=78, Resulting Numbers: [22, 78] Generated Node #0,4,4: 25:[22, 78] Operation: 71+7=78 Moving to Node #0,3 Current State: 25:[75, 7, 18], Operations: ['71-53=18'] Exploring Operation: 75+7=82, Resulting Numbers: [18, 82] Generated Node #0,3,0: 25:[18, 82] Operation: 75+7=82 Exploring Operation: 75-18=57, Resulting Numbers: [7, 57] Generated Node #0,3,1: 25:[7, 57] Operation: 75-18=57 Exploring Operation: 75-7=68, Resulting Numbers: [18, 68] Generated Node #0,3,2: 25:[18, 68] Operation: 75-7=68 Exploring Operation: 18-7=11, Resulting Numbers: [75, 11] Generated Node #0,3,3: 25:[75, 11] Operation: 18-7=11 Exploring Operation: 7+18=25, Resulting Numbers: [75, 25] Generated Node #0,3,4: 25:[75, 25] Operation: 7+18=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[7, 57], Operations: ['71-53=18', '75-18=57'] Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,25 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[18, 68], Operations: ['71-53=18', '75-7=68'] Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,25 unequal: No Solution Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[75, 25], Operations: ['71-53=18', '7+18=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,25 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[75, 11], Operations: ['71-53=18', '18-7=11'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,25 unequal: No Solution Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[18, 82], Operations: ['71-53=18', '75+7=82'] Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 18+82=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 18*82=1476, Resulting Numbers: [1476] 1476,25 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: 25:[53, 71, 68], Operations: ['75-7=68'] Exploring Operation: 71-68=3, Resulting Numbers: [53, 3] Generated Node #0,0,0: 25:[53, 3] Operation: 71-68=3 Exploring Operation: 53+71=124, Resulting Numbers: [68, 124] Generated Node #0,0,1: 25:[68, 124] Operation: 53+71=124 Exploring Operation: 71-53=18, Resulting Numbers: [68, 18] Generated Node #0,0,2: 25:[68, 18] Operation: 71-53=18 Exploring Operation: 53+68=121, Resulting Numbers: [71, 121] Generated Node #0,0,3: 25:[71, 121] Operation: 53+68=121 Exploring Operation: 68-53=15, Resulting Numbers: [71, 15] Generated Node #0,0,4: 25:[71, 15] Operation: 68-53=15 Moving to Node #0,1 Current State: 25:[75, 71, 46], Operations: ['53-7=46'] Exploring Operation: 71-46=25, Resulting Numbers: [75, 25] Generated Node #0,1,0: 25:[75, 25] Operation: 71-46=25 Exploring Operation: 75-71=4, Resulting Numbers: [46, 4] Generated Node #0,1,1: 25:[46, 4] Operation: 75-71=4 Exploring Operation: 75+71=146, Resulting Numbers: [46, 146] Generated Node #0,1,2: 25:[46, 146] Operation: 75+71=146 Exploring Operation: 75+46=121, Resulting Numbers: [71, 121] Generated Node #0,1,3: 25:[71, 121] Operation: 75+46=121 Exploring Operation: 75-46=29, Resulting Numbers: [71, 29] Generated Node #0,1,4: 25:[71, 29] Operation: 75-46=29 Moving to Node #0,2,1 Current State: 25:[4, 46], Operations: ['75-71=4', '53-7=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[46, 4], Operations: ['53-7=46', '75-71=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[7, 49], Operations: ['75-53=22', '71-22=49'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[7, 49], Operations: ['75-71=4', '53-4=49'] Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,25 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[53, 3], Operations: ['75-71=4', '7-4=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,25 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[53, 3], Operations: ['75-7=68', '71-68=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,25 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[53, 28], Operations: ['75-71=4', '7*4=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,25 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[75, 53, 71, 7], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [53, 7, 4] Generated Node #0,2: 25:[53, 7, 4] Operation: 75-71=4 Moving to Node #0,2 Current State: 25:[53, 7, 4], Operations: ['75-71=4'] Exploring Operation: 7*4=28, Resulting Numbers: [53, 28] Generated Node #0,2,0: 25:[53, 28] Operation: 7*4=28 Moving to Node #0,2,0 Current State: 25:[53, 28], Operations: ['75-71=4', '7*4=28'] Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.936632
hs_5
sum_heuristic
[ 51, 32, 98, 66 ]
51
[ "51+32=83", "98-66=32", "83-32=51" ]
Current State: 51:[51, 32, 98, 66], Operations: [] Exploring Operation: 51+32=83, Resulting Numbers: [98, 66, 83] Generated Node #2: [98, 66, 83] from Operation: 51+32=83 Current State: 51:[98, 66, 83], Operations: ['51+32=83'] Exploring Operation: 98-66=32, Resulting Numbers: [83, 32] Generated Node #3: [83, 32] from Operation: 98-66=32 Current State: 51:[83, 32], Operations: ['51+32=83', '98-66=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[51, 32, 98, 66], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [51, 32, 32] Generated Node #0,0: 51:[51, 32, 32] Operation: 98-66=32 Exploring Operation: 66-51=15, Resulting Numbers: [32, 98, 15] Generated Node #0,1: 51:[32, 98, 15] Operation: 66-51=15 Exploring Operation: 98-51=47, Resulting Numbers: [32, 66, 47] Generated Node #0,2: 51:[32, 66, 47] Operation: 98-51=47 Exploring Operation: 51-32=19, Resulting Numbers: [98, 66, 19] Generated Node #0,3: 51:[98, 66, 19] Operation: 51-32=19 Exploring Operation: 98-32=66, Resulting Numbers: [51, 66, 66] Generated Node #0,4: 51:[51, 66, 66] Operation: 98-32=66 Moving to Node #0,0 Current State: 51:[51, 32, 32], Operations: ['98-66=32'] Exploring Operation: 32+32=64, Resulting Numbers: [51, 64] Generated Node #0,0,0: 51:[51, 64] Operation: 32+32=64 Exploring Operation: 51-32=19, Resulting Numbers: [32, 19] Generated Node #0,0,1: 51:[32, 19] Operation: 51-32=19 Exploring Operation: 32-32=0, Resulting Numbers: [51, 0] Generated Node #0,0,2: 51:[51, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [51, 1] Generated Node #0,0,3: 51:[51, 1] Operation: 32/32=1 Exploring Operation: 51-32=19, Resulting Numbers: [32, 19] Generated Node #0,0,4: 51:[32, 19] Operation: 51-32=19 Moving to Node #0,4 Current State: 51:[51, 66, 66], Operations: ['98-32=66'] Exploring Operation: 66/66=1, Resulting Numbers: [51, 1] Generated Node #0,4,0: 51:[51, 1] Operation: 66/66=1 Exploring Operation: 66-66=0, Resulting Numbers: [51, 0] Generated Node #0,4,1: 51:[51, 0] Operation: 66-66=0 Exploring Operation: 66-51=15, Resulting Numbers: [66, 15] Generated Node #0,4,2: 51:[66, 15] Operation: 66-51=15 Exploring Operation: 51+66=117, Resulting Numbers: [66, 117] Generated Node #0,4,3: 51:[66, 117] Operation: 51+66=117 Exploring Operation: 66-51=15, Resulting Numbers: [66, 15] Generated Node #0,4,4: 51:[66, 15] Operation: 66-51=15 Moving to Node #0,2 Current State: 51:[32, 66, 47], Operations: ['98-51=47'] Exploring Operation: 66-32=34, Resulting Numbers: [47, 34] Generated Node #0,2,0: 51:[47, 34] Operation: 66-32=34 Exploring Operation: 32+47=79, Resulting Numbers: [66, 79] Generated Node #0,2,1: 51:[66, 79] Operation: 32+47=79 Exploring Operation: 66-47=19, Resulting Numbers: [32, 19] Generated Node #0,2,2: 51:[32, 19] Operation: 66-47=19 Exploring Operation: 47-32=15, Resulting Numbers: [66, 15] Generated Node #0,2,3: 51:[66, 15] Operation: 47-32=15 Exploring Operation: 32+66=98, Resulting Numbers: [47, 98] Generated Node #0,2,4: 51:[47, 98] Operation: 32+66=98 Moving to Node #0,1 Current State: 51:[32, 98, 15], Operations: ['66-51=15'] Exploring Operation: 32+15=47, Resulting Numbers: [98, 47] Generated Node #0,1,0: 51:[98, 47] Operation: 32+15=47 Exploring Operation: 32-15=17, Resulting Numbers: [98, 17] Generated Node #0,1,1: 51:[98, 17] Operation: 32-15=17 Exploring Operation: 98-15=83, Resulting Numbers: [32, 83] Generated Node #0,1,2: 51:[32, 83] Operation: 98-15=83 Exploring Operation: 98-32=66, Resulting Numbers: [15, 66] Generated Node #0,1,3: 51:[15, 66] Operation: 98-32=66 Exploring Operation: 98+15=113, Resulting Numbers: [32, 113] Generated Node #0,1,4: 51:[32, 113] Operation: 98+15=113 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[15, 66], Operations: ['66-51=15', '98-32=66'] Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[51, 32, 98, 66], Operations: [] Exploring Operation: 66-51=15, Resulting Numbers: [32, 98, 15] Generated Node #0,1: 51:[32, 98, 15] Operation: 66-51=15 Moving to Node #0,1 Current State: 51:[32, 98, 15], Operations: ['66-51=15'] Exploring Operation: 98-32=66, Resulting Numbers: [15, 66] Generated Node #0,1,3: 51:[15, 66] Operation: 98-32=66 Moving to Node #0,1,3 Current State: 51:[15, 66], Operations: ['66-51=15', '98-32=66'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
sum_heuristic
[ 34, 51, 27, 83 ]
65
[ "34*27=918", "918/51=18", "83-18=65" ]
Current State: 65:[34, 51, 27, 83], Operations: [] Exploring Operation: 34*27=918, Resulting Numbers: [51, 83, 918] Generated Node #2: [51, 83, 918] from Operation: 34*27=918 Current State: 65:[51, 83, 918], Operations: ['34*27=918'] Exploring Operation: 918/51=18, Resulting Numbers: [83, 18] Generated Node #3: [83, 18] from Operation: 918/51=18 Current State: 65:[83, 18], Operations: ['34*27=918', '918/51=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[34, 51, 27, 83], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [51, 83, 7] Generated Node #0,0: 65:[51, 83, 7] Operation: 34-27=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[51, 83, 7], Operations: ['34-27=7'] Exploring Operation: 83-51=32, Resulting Numbers: [7, 32] Generated Node #0,0,0: 65:[7, 32] Operation: 83-51=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[7, 32], Operations: ['34-27=7', '83-51=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,65 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
[ 26, 91, 94, 2 ]
62
[ "26+94=120", "91*2=182", "182-120=62" ]
Current State: 62:[26, 91, 94, 2], Operations: [] Exploring Operation: 26+94=120, Resulting Numbers: [91, 2, 120] Generated Node #2: [91, 2, 120] from Operation: 26+94=120 Current State: 62:[91, 2, 120], Operations: ['26+94=120'] Exploring Operation: 91*2=182, Resulting Numbers: [120, 182] Generated Node #3: [120, 182] from Operation: 91*2=182 Current State: 62:[120, 182], Operations: ['26+94=120', '91*2=182'] Exploring Operation: 182-120=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[26, 91, 94, 2], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [26, 2, 3] Generated Node #0,0: 62:[26, 2, 3] Operation: 94-91=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[26, 2, 3], Operations: ['94-91=3'] Exploring Operation: 26+3=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 62:[2, 29] Operation: 26+3=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[2, 29], Operations: ['94-91=3', '26+3=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 80, 82, 88, 98 ]
20
[ "82-80=2", "98-88=10", "2*10=20" ]
Current State: 20:[80, 82, 88, 98], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [88, 98, 2] Generated Node #2: [88, 98, 2] from Operation: 82-80=2 Current State: 20:[88, 98, 2], Operations: ['82-80=2'] Exploring Operation: 98-88=10, Resulting Numbers: [2, 10] Generated Node #3: [2, 10] from Operation: 98-88=10 Current State: 20:[2, 10], Operations: ['82-80=2', '98-88=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[80, 82, 88, 98], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [80, 82, 10] Generated Node #0,0: 20:[80, 82, 10] Operation: 98-88=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[80, 82, 10], Operations: ['98-88=10'] Exploring Operation: 82-80=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 20:[10, 2] Operation: 82-80=2 Moving to Node #0,0,0 Current State: 20:[10, 2], Operations: ['98-88=10', '82-80=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[80, 82, 88, 98], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [80, 82, 10] Generated Node #0,0: 20:[80, 82, 10] Operation: 98-88=10 Moving to Node #0,0 Current State: 20:[80, 82, 10], Operations: ['98-88=10'] Exploring Operation: 82-80=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 20:[10, 2] Operation: 82-80=2 Moving to Node #0,0,0 Current State: 20:[10, 2], Operations: ['98-88=10', '82-80=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 86, 47, 51, 20 ]
91
[ "51-47=4", "20/4=5", "86+5=91" ]
Current State: 91:[86, 47, 51, 20], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [86, 20, 4] Generated Node #2: [86, 20, 4] from Operation: 51-47=4 Current State: 91:[86, 20, 4], Operations: ['51-47=4'] Exploring Operation: 20/4=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 20/4=5 Current State: 91:[86, 5], Operations: ['51-47=4', '20/4=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[86, 47, 51, 20], Operations: [] Exploring Operation: 51+20=71, Resulting Numbers: [86, 47, 71] Generated Node #0,0: 91:[86, 47, 71] Operation: 51+20=71 Exploring Operation: 47-20=27, Resulting Numbers: [86, 51, 27] Generated Node #0,1: 91:[86, 51, 27] Operation: 47-20=27 Exploring Operation: 47+51=98, Resulting Numbers: [86, 20, 98] Generated Node #0,2: 91:[86, 20, 98] Operation: 47+51=98 Exploring Operation: 51-20=31, Resulting Numbers: [86, 47, 31] Generated Node #0,3: 91:[86, 47, 31] Operation: 51-20=31 Exploring Operation: 51-47=4, Resulting Numbers: [86, 20, 4] Generated Node #0,4: 91:[86, 20, 4] Operation: 51-47=4 Moving to Node #0,4 Current State: 91:[86, 20, 4], Operations: ['51-47=4'] Exploring Operation: 20/4=5, Resulting Numbers: [86, 5] Generated Node #0,4,0: 91:[86, 5] Operation: 20/4=5 Exploring Operation: 86+4=90, Resulting Numbers: [20, 90] Generated Node #0,4,1: 91:[20, 90] Operation: 86+4=90 Exploring Operation: 20+4=24, Resulting Numbers: [86, 24] Generated Node #0,4,2: 91:[86, 24] Operation: 20+4=24 Exploring Operation: 86-4=82, Resulting Numbers: [20, 82] Generated Node #0,4,3: 91:[20, 82] Operation: 86-4=82 Exploring Operation: 20-4=16, Resulting Numbers: [86, 16] Generated Node #0,4,4: 91:[86, 16] Operation: 20-4=16 Moving to Node #0,2 Current State: 91:[86, 20, 98], Operations: ['47+51=98'] Exploring Operation: 86+20=106, Resulting Numbers: [98, 106] Generated Node #0,2,0: 91:[98, 106] Operation: 86+20=106 Exploring Operation: 20+98=118, Resulting Numbers: [86, 118] Generated Node #0,2,1: 91:[86, 118] Operation: 20+98=118 Exploring Operation: 86-20=66, Resulting Numbers: [98, 66] Generated Node #0,2,2: 91:[98, 66] Operation: 86-20=66 Exploring Operation: 98-86=12, Resulting Numbers: [20, 12] Generated Node #0,2,3: 91:[20, 12] Operation: 98-86=12 Exploring Operation: 98-20=78, Resulting Numbers: [86, 78] Generated Node #0,2,4: 91:[86, 78] Operation: 98-20=78 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[20, 12], Operations: ['47+51=98', '98-86=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,91 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,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,2,4 Current State: 91:[86, 78], Operations: ['47+51=98', '98-20=78'] Exploring Operation: 86*78=6708, Resulting Numbers: [6708] 6708,91 unequal: No Solution Exploring Operation: 86+78=164, Resulting Numbers: [164] 164,91 unequal: No Solution Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,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,2,0 Current State: 91:[98, 106], Operations: ['47+51=98', '86+20=106'] Exploring Operation: 106-98=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 98+106=204, Resulting Numbers: [204] 204,91 unequal: No Solution Exploring Operation: 98*106=10388, Resulting Numbers: [10388] 10388,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,2,1 Current State: 91:[86, 118], Operations: ['47+51=98', '20+98=118'] Exploring Operation: 86*118=10148, Resulting Numbers: [10148] 10148,91 unequal: No Solution Exploring Operation: 118-86=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 86+118=204, Resulting Numbers: [204] 204,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,2,2 Current State: 91:[98, 66], Operations: ['47+51=98', '86-20=66'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 98*66=6468, Resulting Numbers: [6468] 6468,91 unequal: No Solution Exploring Operation: 98+66=164, Resulting Numbers: [164] 164,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:[86, 51, 27], Operations: ['47-20=27'] Exploring Operation: 51-27=24, Resulting Numbers: [86, 24] Generated Node #0,1,0: 91:[86, 24] Operation: 51-27=24 Exploring Operation: 86-51=35, Resulting Numbers: [27, 35] Generated Node #0,1,1: 91:[27, 35] Operation: 86-51=35 Exploring Operation: 51+27=78, Resulting Numbers: [86, 78] Generated Node #0,1,2: 91:[86, 78] Operation: 51+27=78 Exploring Operation: 86+51=137, Resulting Numbers: [27, 137] Generated Node #0,1,3: 91:[27, 137] Operation: 86+51=137 Exploring Operation: 86+27=113, Resulting Numbers: [51, 113] Generated Node #0,1,4: 91:[51, 113] Operation: 86+27=113 Moving to Node #0,3 Current State: 91:[86, 47, 31], Operations: ['51-20=31'] Exploring Operation: 47-31=16, Resulting Numbers: [86, 16] Generated Node #0,3,0: 91:[86, 16] Operation: 47-31=16 Exploring Operation: 86-47=39, Resulting Numbers: [31, 39] Generated Node #0,3,1: 91:[31, 39] Operation: 86-47=39 Exploring Operation: 86+31=117, Resulting Numbers: [47, 117] Generated Node #0,3,2: 91:[47, 117] Operation: 86+31=117 Exploring Operation: 47+31=78, Resulting Numbers: [86, 78] Generated Node #0,3,3: 91:[86, 78] Operation: 47+31=78 Exploring Operation: 86+47=133, Resulting Numbers: [31, 133] Generated Node #0,3,4: 91:[31, 133] Operation: 86+47=133 Moving to Node #0,0 Current State: 91:[86, 47, 71], Operations: ['51+20=71'] Exploring Operation: 86-47=39, Resulting Numbers: [71, 39] Generated Node #0,0,0: 91:[71, 39] Operation: 86-47=39 Exploring Operation: 86-71=15, Resulting Numbers: [47, 15] Generated Node #0,0,1: 91:[47, 15] Operation: 86-71=15 Exploring Operation: 86+47=133, Resulting Numbers: [71, 133] Generated Node #0,0,2: 91:[71, 133] Operation: 86+47=133 Exploring Operation: 47+71=118, Resulting Numbers: [86, 118] Generated Node #0,0,3: 91:[86, 118] Operation: 47+71=118 Exploring Operation: 71-47=24, Resulting Numbers: [86, 24] Generated Node #0,0,4: 91:[86, 24] Operation: 71-47=24 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[86, 24], Operations: ['51+20=71', '71-47=24'] Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,91 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,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,3 Current State: 91:[86, 118], Operations: ['51+20=71', '47+71=118'] Exploring Operation: 86*118=10148, Resulting Numbers: [10148] 10148,91 unequal: No Solution Exploring Operation: 86+118=204, Resulting Numbers: [204] 204,91 unequal: No Solution Exploring Operation: 118-86=32, Resulting Numbers: [32] 32,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,1 Current State: 91:[47, 15], Operations: ['51+20=71', '86-71=15'] Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,91 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,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:[71, 39], Operations: ['51+20=71', '86-47=39'] Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 71*39=2769, Resulting Numbers: [2769] 2769,91 unequal: No Solution Exploring Operation: 71+39=110, Resulting Numbers: [110] 110,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:[71, 133], Operations: ['51+20=71', '86+47=133'] Exploring Operation: 71+133=204, Resulting Numbers: [204] 204,91 unequal: No Solution Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 71*133=9443, Resulting Numbers: [9443] 9443,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 91:[86, 5], Operations: ['51-47=4', '20/4=5'] Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,91 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[86, 47, 51, 20], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [86, 20, 4] Generated Node #0,4: 91:[86, 20, 4] Operation: 51-47=4 Moving to Node #0,4 Current State: 91:[86, 20, 4], Operations: ['51-47=4'] Exploring Operation: 20/4=5, Resulting Numbers: [86, 5] Generated Node #0,4,0: 91:[86, 5] Operation: 20/4=5 Moving to Node #0,4,0 Current State: 91:[86, 5], Operations: ['51-47=4', '20/4=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 80, 80, 85, 33 ]
17
[ "85-80=5", "80/5=16", "33-16=17" ]
Current State: 17:[80, 80, 85, 33], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [33, 5] Generated Node #2: [33, 5] from Operation: 85-80=5 Current State: 17:[33, 5], Operations: ['85-80=5'] Exploring Operation: 80/5=16, Resulting Numbers: [33, 16] Generated Node #3: [33, 16] from Operation: 80/5=16 Current State: 17:[33, 16], Operations: ['85-80=5', '80/5=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[80, 80, 85, 33], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [80, 33, 5] Generated Node #0,0: 17:[80, 33, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 17:[80, 33, 5], Operations: ['85-80=5'] Exploring Operation: 80/5=16, Resulting Numbers: [33, 16] Generated Node #0,0,0: 17:[33, 16] Operation: 80/5=16 Moving to Node #0,0,0 Current State: 17:[33, 16], Operations: ['85-80=5', '80/5=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[80, 80, 85, 33], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [80, 33, 5] Generated Node #0,0: 17:[80, 33, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 17:[80, 33, 5], Operations: ['85-80=5'] Exploring Operation: 80/5=16, Resulting Numbers: [33, 16] Generated Node #0,0,0: 17:[33, 16] Operation: 80/5=16 Moving to Node #0,0,0 Current State: 17:[33, 16], Operations: ['85-80=5', '80/5=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 4, 34, 57, 58 ]
34
[ "57-34=23", "4*23=92", "92-58=34" ]
Current State: 34:[4, 34, 57, 58], Operations: [] Exploring Operation: 57-34=23, Resulting Numbers: [4, 58, 23] Generated Node #2: [4, 58, 23] from Operation: 57-34=23 Current State: 34:[4, 58, 23], Operations: ['57-34=23'] Exploring Operation: 4*23=92, Resulting Numbers: [58, 92] Generated Node #3: [58, 92] from Operation: 4*23=92 Current State: 34:[58, 92], Operations: ['57-34=23', '4*23=92'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[4, 34, 57, 58], Operations: [] Exploring Operation: 58-4=54, Resulting Numbers: [34, 57, 54] Generated Node #0,0: 34:[34, 57, 54] Operation: 58-4=54 Exploring Operation: 57-34=23, Resulting Numbers: [4, 58, 23] Generated Node #0,1: 34:[4, 58, 23] Operation: 57-34=23 Exploring Operation: 58-57=1, Resulting Numbers: [4, 34, 1] Generated Node #0,2: 34:[4, 34, 1] Operation: 58-57=1 Exploring Operation: 57-4=53, Resulting Numbers: [34, 58, 53] Generated Node #0,3: 34:[34, 58, 53] Operation: 57-4=53 Exploring Operation: 58-34=24, Resulting Numbers: [4, 57, 24] Generated Node #0,4: 34:[4, 57, 24] Operation: 58-34=24 Moving to Node #0,2 Current State: 34:[4, 34, 1], Operations: ['58-57=1'] Exploring Operation: 34*1=34, Resulting Numbers: [4, 34] Generated Node #0,2,0: 34:[4, 34] Operation: 34*1=34 Exploring Operation: 4/1=4, Resulting Numbers: [34, 4] Generated Node #0,2,1: 34:[34, 4] Operation: 4/1=4 Exploring Operation: 34/1=34, Resulting Numbers: [4, 34] Generated Node #0,2,2: 34:[4, 34] Operation: 34/1=34 Exploring Operation: 4-1=3, Resulting Numbers: [34, 3] Generated Node #0,2,3: 34:[34, 3] Operation: 4-1=3 Exploring Operation: 4*1=4, Resulting Numbers: [34, 4] Generated Node #0,2,4: 34:[34, 4] Operation: 4*1=4 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[34, 3], Operations: ['58-57=1', '4-1=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,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,0 Current State: 34:[4, 34], Operations: ['58-57=1', '34*1=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,34 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,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,1 Current State: 34:[34, 4], Operations: ['58-57=1', '4/1=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,34 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,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,2 Current State: 34:[4, 34], Operations: ['58-57=1', '34/1=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,34 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,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,4 Current State: 34:[34, 4], Operations: ['58-57=1', '4*1=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,34 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: 34:[4, 57, 24], Operations: ['58-34=24'] Exploring Operation: 57-4=53, Resulting Numbers: [24, 53] Generated Node #0,4,0: 34:[24, 53] Operation: 57-4=53 Exploring Operation: 57-24=33, Resulting Numbers: [4, 33] Generated Node #0,4,1: 34:[4, 33] Operation: 57-24=33 Exploring Operation: 24/4=6, Resulting Numbers: [57, 6] Generated Node #0,4,2: 34:[57, 6] Operation: 24/4=6 Exploring Operation: 24-4=20, Resulting Numbers: [57, 20] Generated Node #0,4,3: 34:[57, 20] Operation: 24-4=20 Exploring Operation: 4+24=28, Resulting Numbers: [57, 28] Generated Node #0,4,4: 34:[57, 28] Operation: 4+24=28 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[4, 33], Operations: ['58-34=24', '57-24=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,34 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 34:[24, 53], Operations: ['58-34=24', '57-4=53'] Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 34:[57, 20], Operations: ['58-34=24', '24-4=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,34 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 34:[57, 6], Operations: ['58-34=24', '24/4=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,34 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[57, 28], Operations: ['58-34=24', '4+24=28'] Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,34 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,34 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: 34:[4, 58, 23], Operations: ['57-34=23'] Exploring Operation: 58-23=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 34:[4, 35] Operation: 58-23=35 Exploring Operation: 4+58=62, Resulting Numbers: [23, 62] Generated Node #0,1,1: 34:[23, 62] Operation: 4+58=62 Exploring Operation: 23-4=19, Resulting Numbers: [58, 19] Generated Node #0,1,2: 34:[58, 19] Operation: 23-4=19 Exploring Operation: 58-4=54, Resulting Numbers: [23, 54] Generated Node #0,1,3: 34:[23, 54] Operation: 58-4=54 Exploring Operation: 4+23=27, Resulting Numbers: [58, 27] Generated Node #0,1,4: 34:[58, 27] Operation: 4+23=27 Moving to Node #0,0 Current State: 34:[34, 57, 54], Operations: ['58-4=54'] Exploring Operation: 57-34=23, Resulting Numbers: [54, 23] Generated Node #0,0,0: 34:[54, 23] Operation: 57-34=23 Exploring Operation: 34+57=91, Resulting Numbers: [54, 91] Generated Node #0,0,1: 34:[54, 91] Operation: 34+57=91 Exploring Operation: 57-54=3, Resulting Numbers: [34, 3] Generated Node #0,0,2: 34:[34, 3] Operation: 57-54=3 Exploring Operation: 54-34=20, Resulting Numbers: [57, 20] Generated Node #0,0,3: 34:[57, 20] Operation: 54-34=20 Exploring Operation: 34+54=88, Resulting Numbers: [57, 88] Generated Node #0,0,4: 34:[57, 88] Operation: 34+54=88 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[34, 3], Operations: ['58-4=54', '57-54=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[54, 23], Operations: ['58-4=54', '57-34=23'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[57, 20], Operations: ['58-4=54', '54-34=20'] Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,34 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,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,1 Current State: 34:[54, 91], Operations: ['58-4=54', '34+57=91'] Exploring Operation: 54+91=145, Resulting Numbers: [145] 145,34 unequal: No Solution Exploring Operation: 54*91=4914, Resulting Numbers: [4914] 4914,34 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 34:[57, 88], Operations: ['58-4=54', '34+54=88'] Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,34 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,34 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: 34:[34, 58, 53], Operations: ['57-4=53'] Exploring Operation: 34+53=87, Resulting Numbers: [58, 87] Generated Node #0,3,0: 34:[58, 87] Operation: 34+53=87 Exploring Operation: 58-34=24, Resulting Numbers: [53, 24] Generated Node #0,3,1: 34:[53, 24] Operation: 58-34=24 Exploring Operation: 34+58=92, Resulting Numbers: [53, 92] Generated Node #0,3,2: 34:[53, 92] Operation: 34+58=92 Exploring Operation: 53-34=19, Resulting Numbers: [58, 19] Generated Node #0,3,3: 34:[58, 19] Operation: 53-34=19 Exploring Operation: 58-53=5, Resulting Numbers: [34, 5] Generated Node #0,3,4: 34:[34, 5] Operation: 58-53=5 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[34, 5], Operations: ['57-4=53', '58-53=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,34 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[53, 24], Operations: ['57-4=53', '58-34=24'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,34 unequal: No Solution Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,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:[58, 19], Operations: ['57-4=53', '53-34=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,34 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[58, 87], Operations: ['57-4=53', '34+53=87'] Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 58+87=145, Resulting Numbers: [145] 145,34 unequal: No Solution Exploring Operation: 58*87=5046, Resulting Numbers: [5046] 5046,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:[53, 92], Operations: ['57-4=53', '34+58=92'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 53+92=145, Resulting Numbers: [145] 145,34 unequal: No Solution Exploring Operation: 53*92=4876, Resulting Numbers: [4876] 4876,34 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: 34:[4, 35], Operations: ['57-34=23', '58-23=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,34 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[23, 54], Operations: ['57-34=23', '58-4=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[58, 19], Operations: ['57-34=23', '23-4=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[58, 27], Operations: ['57-34=23', '4+23=27'] Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,34 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[23, 62], Operations: ['57-34=23', '4+58=62'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,34 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 75, 34, 97 ]
61
[ "49+75=124", "97-34=63", "124-63=61" ]
Current State: 61:[49, 75, 34, 97], Operations: [] Exploring Operation: 49+75=124, Resulting Numbers: [34, 97, 124] Generated Node #2: [34, 97, 124] from Operation: 49+75=124 Current State: 61:[34, 97, 124], Operations: ['49+75=124'] Exploring Operation: 97-34=63, Resulting Numbers: [124, 63] Generated Node #3: [124, 63] from Operation: 97-34=63 Current State: 61:[124, 63], Operations: ['49+75=124', '97-34=63'] Exploring Operation: 124-63=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[49, 75, 34, 97], Operations: [] Exploring Operation: 97-49=48, Resulting Numbers: [75, 34, 48] Generated Node #0,0: 61:[75, 34, 48] Operation: 97-49=48 Exploring Operation: 97-34=63, Resulting Numbers: [49, 75, 63] Generated Node #0,1: 61:[49, 75, 63] Operation: 97-34=63 Exploring Operation: 97-75=22, Resulting Numbers: [49, 34, 22] Generated Node #0,2: 61:[49, 34, 22] Operation: 97-75=22 Exploring Operation: 75-34=41, Resulting Numbers: [49, 97, 41] Generated Node #0,3: 61:[49, 97, 41] Operation: 75-34=41 Exploring Operation: 49+34=83, Resulting Numbers: [75, 97, 83] Generated Node #0,4: 61:[75, 97, 83] Operation: 49+34=83 Moving to Node #0,1 Current State: 61:[49, 75, 63], Operations: ['97-34=63'] Exploring Operation: 49+63=112, Resulting Numbers: [75, 112] Generated Node #0,1,0: 61:[75, 112] Operation: 49+63=112 Exploring Operation: 75-49=26, Resulting Numbers: [63, 26] Generated Node #0,1,1: 61:[63, 26] Operation: 75-49=26 Exploring Operation: 63-49=14, Resulting Numbers: [75, 14] Generated Node #0,1,2: 61:[75, 14] Operation: 63-49=14 Exploring Operation: 75-63=12, Resulting Numbers: [49, 12] Generated Node #0,1,3: 61:[49, 12] Operation: 75-63=12 Exploring Operation: 49+75=124, Resulting Numbers: [63, 124] Generated Node #0,1,4: 61:[63, 124] Operation: 49+75=124 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[63, 26], Operations: ['97-34=63', '75-49=26'] Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,61 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[75, 14], Operations: ['97-34=63', '63-49=14'] Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,61 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[49, 75, 34, 97], Operations: [] Exploring Operation: 97-34=63, Resulting Numbers: [49, 75, 63] Generated Node #0,1: 61:[49, 75, 63] Operation: 97-34=63 Moving to Node #0,1 Current State: 61:[49, 75, 63], Operations: ['97-34=63'] Exploring Operation: 63-49=14, Resulting Numbers: [75, 14] Generated Node #0,1,2: 61:[75, 14] Operation: 63-49=14 Moving to Node #0,1,2 Current State: 61:[75, 14], Operations: ['97-34=63', '63-49=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 71, 60, 60, 90 ]
69
[ "90-60=30", "60/30=2", "71-2=69" ]
Current State: 69:[71, 60, 60, 90], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [71, 30] Generated Node #2: [71, 30] from Operation: 90-60=30 Current State: 69:[71, 30], Operations: ['90-60=30'] Exploring Operation: 60/30=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 60/30=2 Current State: 69:[71, 2], Operations: ['90-60=30', '60/30=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[71, 60, 60, 90], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [71, 60, 30] Generated Node #0,0: 69:[71, 60, 30] Operation: 90-60=30 Exploring Operation: 60/60=1, Resulting Numbers: [71, 90, 1] Generated Node #0,1: 69:[71, 90, 1] Operation: 60/60=1 Exploring Operation: 60-60=0, Resulting Numbers: [71, 90, 0] Generated Node #0,2: 69:[71, 90, 0] Operation: 60-60=0 Exploring Operation: 90-71=19, Resulting Numbers: [60, 60, 19] Generated Node #0,3: 69:[60, 60, 19] Operation: 90-71=19 Exploring Operation: 90-60=30, Resulting Numbers: [71, 60, 30] Generated Node #0,4: 69:[71, 60, 30] Operation: 90-60=30 Moving to Node #0,0 Current State: 69:[71, 60, 30], Operations: ['90-60=30'] Exploring Operation: 60/30=2, Resulting Numbers: [71, 2] Generated Node #0,0,0: 69:[71, 2] Operation: 60/30=2 Exploring Operation: 71-30=41, Resulting Numbers: [60, 41] Generated Node #0,0,1: 69:[60, 41] Operation: 71-30=41 Exploring Operation: 60-30=30, Resulting Numbers: [71, 30] Generated Node #0,0,2: 69:[71, 30] Operation: 60-30=30 Exploring Operation: 71-60=11, Resulting Numbers: [30, 11] Generated Node #0,0,3: 69:[30, 11] Operation: 71-60=11 Exploring Operation: 60+30=90, Resulting Numbers: [71, 90] Generated Node #0,0,4: 69:[71, 90] Operation: 60+30=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[71, 2], Operations: ['90-60=30', '60/30=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,69 unequal: No Solution Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,69 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[71, 60, 60, 90], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [71, 60, 30] Generated Node #0,0: 69:[71, 60, 30] Operation: 90-60=30 Moving to Node #0,0 Current State: 69:[71, 60, 30], Operations: ['90-60=30'] Exploring Operation: 60/30=2, Resulting Numbers: [71, 2] Generated Node #0,0,0: 69:[71, 2] Operation: 60/30=2 Moving to Node #0,0,0 Current State: 69:[71, 2], Operations: ['90-60=30', '60/30=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 20, 73, 55, 83 ]
85
[ "73-20=53", "55+83=138", "138-53=85" ]
Current State: 85:[20, 73, 55, 83], Operations: [] Exploring Operation: 73-20=53, Resulting Numbers: [55, 83, 53] Generated Node #2: [55, 83, 53] from Operation: 73-20=53 Current State: 85:[55, 83, 53], Operations: ['73-20=53'] Exploring Operation: 55+83=138, Resulting Numbers: [53, 138] Generated Node #3: [53, 138] from Operation: 55+83=138 Current State: 85:[53, 138], Operations: ['73-20=53', '55+83=138'] Exploring Operation: 138-53=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[20, 73, 55, 83], Operations: [] Exploring Operation: 20+55=75, Resulting Numbers: [73, 83, 75] Generated Node #0,0: 85:[73, 83, 75] Operation: 20+55=75 Exploring Operation: 73-55=18, Resulting Numbers: [20, 83, 18] Generated Node #0,1: 85:[20, 83, 18] Operation: 73-55=18 Exploring Operation: 83-55=28, Resulting Numbers: [20, 73, 28] Generated Node #0,2: 85:[20, 73, 28] Operation: 83-55=28 Exploring Operation: 55-20=35, Resulting Numbers: [73, 83, 35] Generated Node #0,3: 85:[73, 83, 35] Operation: 55-20=35 Exploring Operation: 83-73=10, Resulting Numbers: [20, 55, 10] Generated Node #0,4: 85:[20, 55, 10] Operation: 83-73=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[20, 83, 18], Operations: ['73-55=18'] Exploring Operation: 20+83=103, Resulting Numbers: [18, 103] Generated Node #0,1,0: 85:[18, 103] Operation: 20+83=103 Exploring Operation: 83-20=63, Resulting Numbers: [18, 63] Generated Node #0,1,1: 85:[18, 63] Operation: 83-20=63 Exploring Operation: 20-18=2, Resulting Numbers: [83, 2] Generated Node #0,1,2: 85:[83, 2] Operation: 20-18=2 Exploring Operation: 20+18=38, Resulting Numbers: [83, 38] Generated Node #0,1,3: 85:[83, 38] Operation: 20+18=38 Exploring Operation: 83+18=101, Resulting Numbers: [20, 101] Generated Node #0,1,4: 85:[20, 101] Operation: 83+18=101 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[83, 2], Operations: ['73-55=18', '20-18=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,85 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[20, 73, 55, 83], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [20, 83, 18] Generated Node #0,1: 85:[20, 83, 18] Operation: 73-55=18 Moving to Node #0,1 Current State: 85:[20, 83, 18], Operations: ['73-55=18'] Exploring Operation: 20-18=2, Resulting Numbers: [83, 2] Generated Node #0,1,2: 85:[83, 2] Operation: 20-18=2 Moving to Node #0,1,2 Current State: 85:[83, 2], Operations: ['73-55=18', '20-18=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 93, 58, 27, 42 ]
82
[ "93+58=151", "27+42=69", "151-69=82" ]
Current State: 82:[93, 58, 27, 42], Operations: [] Exploring Operation: 93+58=151, Resulting Numbers: [27, 42, 151] Generated Node #2: [27, 42, 151] from Operation: 93+58=151 Current State: 82:[27, 42, 151], Operations: ['93+58=151'] Exploring Operation: 27+42=69, Resulting Numbers: [151, 69] Generated Node #3: [151, 69] from Operation: 27+42=69 Current State: 82:[151, 69], Operations: ['93+58=151', '27+42=69'] Exploring Operation: 151-69=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[93, 58, 27, 42], Operations: [] Exploring Operation: 58+27=85, Resulting Numbers: [93, 42, 85] Generated Node #0,0: 82:[93, 42, 85] Operation: 58+27=85 Exploring Operation: 93-58=35, Resulting Numbers: [27, 42, 35] Generated Node #0,1: 82:[27, 42, 35] Operation: 93-58=35 Exploring Operation: 58-27=31, Resulting Numbers: [93, 42, 31] Generated Node #0,2: 82:[93, 42, 31] Operation: 58-27=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[93, 42, 85], Operations: ['58+27=85'] Exploring Operation: 93-85=8, Resulting Numbers: [42, 8] Generated Node #0,0,0: 82:[42, 8] Operation: 93-85=8 Exploring Operation: 93-42=51, Resulting Numbers: [85, 51] Generated Node #0,0,1: 82:[85, 51] Operation: 93-42=51 Exploring Operation: 85-42=43, Resulting Numbers: [93, 43] Generated Node #0,0,2: 82:[93, 43] Operation: 85-42=43 Moving to Node #0,0,0 Current State: 82:[42, 8], Operations: ['58+27=85', '93-85=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,82 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[85, 51], Operations: ['58+27=85', '93-42=51'] Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,82 unequal: No Solution Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[93, 43], Operations: ['58+27=85', '85-42=43'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,82 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[27, 42, 35], Operations: ['93-58=35'] Exploring Operation: 27+42=69, Resulting Numbers: [35, 69] Generated Node #0,1,0: 82:[35, 69] Operation: 27+42=69 Exploring Operation: 42-27=15, Resulting Numbers: [35, 15] Generated Node #0,1,1: 82:[35, 15] Operation: 42-27=15 Exploring Operation: 35-27=8, Resulting Numbers: [42, 8] Generated Node #0,1,2: 82:[42, 8] Operation: 35-27=8 Moving to Node #0,1,2 Current State: 82:[42, 8], Operations: ['93-58=35', '35-27=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,82 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[35, 69], Operations: ['93-58=35', '27+42=69'] Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,82 unequal: No Solution Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,82 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[35, 15], Operations: ['93-58=35', '42-27=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,82 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[93, 42, 31], Operations: ['58-27=31'] Exploring Operation: 93-42=51, Resulting Numbers: [31, 51] Generated Node #0,2,0: 82:[31, 51] Operation: 93-42=51 Exploring Operation: 42+31=73, Resulting Numbers: [93, 73] Generated Node #0,2,1: 82:[93, 73] Operation: 42+31=73 Exploring Operation: 93/31=3, Resulting Numbers: [42, 3] Generated Node #0,2,2: 82:[42, 3] Operation: 93/31=3 Moving to Node #0,2,2 Current State: 82:[42, 3], Operations: ['58-27=31', '93/31=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[31, 51], Operations: ['58-27=31', '93-42=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[93, 58, 27, 42], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [93, 42, 31] Generated Node #0,2: 82:[93, 42, 31] Operation: 58-27=31 Moving to Node #0,2 Current State: 82:[93, 42, 31], Operations: ['58-27=31'] Exploring Operation: 93-42=51, Resulting Numbers: [31, 51] Generated Node #0,2,0: 82:[31, 51] Operation: 93-42=51 Moving to Node #0,2,0 Current State: 82:[31, 51], Operations: ['58-27=31', '93-42=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_3
mult_heuristic
[ 8, 15, 15, 16 ]
24
[ "8+15=23", "16-15=1", "23+1=24" ]
Current State: 24:[8, 15, 15, 16], Operations: [] Exploring Operation: 8+15=23, Resulting Numbers: [16, 23] Generated Node #2: [16, 23] from Operation: 8+15=23 Current State: 24:[16, 23], Operations: ['8+15=23'] Exploring Operation: 16-15=1, Resulting Numbers: [23, 1] Generated Node #3: [23, 1] from Operation: 16-15=1 Current State: 24:[23, 1], Operations: ['8+15=23', '16-15=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[8, 15, 15, 16], Operations: [] Exploring Operation: 16-15=1, Resulting Numbers: [8, 15, 1] Generated Node #0,0: 24:[8, 15, 1] Operation: 16-15=1 Exploring Operation: 16-15=1, Resulting Numbers: [8, 15, 1] Generated Node #0,1: 24:[8, 15, 1] Operation: 16-15=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[8, 15, 1], Operations: ['16-15=1'] Exploring Operation: 15-8=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 24:[1, 7] Operation: 15-8=7 Exploring Operation: 8+15=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 24:[1, 23] Operation: 8+15=23 Moving to Node #0,0,0 Current State: 24:[1, 7], Operations: ['16-15=1', '15-8=7'] Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[1, 23], Operations: ['16-15=1', '8+15=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[8, 15, 15, 16], Operations: [] Exploring Operation: 16-15=1, Resulting Numbers: [8, 15, 1] Generated Node #0,0: 24:[8, 15, 1] Operation: 16-15=1 Moving to Node #0,0 Current State: 24:[8, 15, 1], Operations: ['16-15=1'] Exploring Operation: 8+15=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 24:[1, 23] Operation: 8+15=23 Moving to Node #0,0,1 Current State: 24:[1, 23], Operations: ['16-15=1', '8+15=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 11, 54, 52, 63 ]
37
[ "11+63=74", "54-52=2", "74/2=37" ]
Current State: 37:[11, 54, 52, 63], Operations: [] Exploring Operation: 11+63=74, Resulting Numbers: [54, 52, 74] Generated Node #2: [54, 52, 74] from Operation: 11+63=74 Current State: 37:[54, 52, 74], Operations: ['11+63=74'] Exploring Operation: 54-52=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 54-52=2 Current State: 37:[74, 2], Operations: ['11+63=74', '54-52=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[11, 54, 52, 63], Operations: [] Exploring Operation: 63-11=52, Resulting Numbers: [54, 52, 52] Generated Node #0,0: 37:[54, 52, 52] Operation: 63-11=52 Exploring Operation: 54-11=43, Resulting Numbers: [52, 63, 43] Generated Node #0,1: 37:[52, 63, 43] Operation: 54-11=43 Exploring Operation: 52-11=41, Resulting Numbers: [54, 63, 41] Generated Node #0,2: 37:[54, 63, 41] Operation: 52-11=41 Moving to Node #0,0 Current State: 37:[54, 52, 52], Operations: ['63-11=52'] Exploring Operation: 54-52=2, Resulting Numbers: [52, 2] Generated Node #0,0,0: 37:[52, 2] Operation: 54-52=2 Exploring Operation: 54-52=2, Resulting Numbers: [52, 2] Generated Node #0,0,1: 37:[52, 2] Operation: 54-52=2 Exploring Operation: 52/52=1, Resulting Numbers: [54, 1] Generated Node #0,0,2: 37:[54, 1] Operation: 52/52=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[52, 2], Operations: ['63-11=52', '54-52=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[52, 2], Operations: ['63-11=52', '54-52=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[54, 1], Operations: ['63-11=52', '52/52=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,37 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: 37:[52, 63, 43], Operations: ['54-11=43'] Exploring Operation: 63-52=11, Resulting Numbers: [43, 11] Generated Node #0,1,0: 37:[43, 11] Operation: 63-52=11 Exploring Operation: 63-43=20, Resulting Numbers: [52, 20] Generated Node #0,1,1: 37:[52, 20] Operation: 63-43=20 Exploring Operation: 52-43=9, Resulting Numbers: [63, 9] Generated Node #0,1,2: 37:[63, 9] Operation: 52-43=9 Moving to Node #0,2 Current State: 37:[54, 63, 41], Operations: ['52-11=41'] Exploring Operation: 63-41=22, Resulting Numbers: [54, 22] Generated Node #0,2,0: 37:[54, 22] Operation: 63-41=22 Exploring Operation: 54-41=13, Resulting Numbers: [63, 13] Generated Node #0,2,1: 37:[63, 13] Operation: 54-41=13 Exploring Operation: 63-54=9, Resulting Numbers: [41, 9] Generated Node #0,2,2: 37:[41, 9] Operation: 63-54=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[54, 22], Operations: ['52-11=41', '63-41=22'] Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,37 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[41, 9], Operations: ['52-11=41', '63-54=9'] Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,37 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,37 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[63, 13], Operations: ['52-11=41', '54-41=13'] Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,37 unequal: No Solution Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,37 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: 37:[43, 11], Operations: ['54-11=43', '63-52=11'] Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,37 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[52, 20], Operations: ['54-11=43', '63-43=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,37 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[63, 9], Operations: ['54-11=43', '52-43=9'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 64, 34, 91, 59 ]
62
[ "64-34=30", "91-59=32", "30+32=62" ]
Current State: 62:[64, 34, 91, 59], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [91, 59, 30] Generated Node #2: [91, 59, 30] from Operation: 64-34=30 Current State: 62:[91, 59, 30], Operations: ['64-34=30'] Exploring Operation: 91-59=32, Resulting Numbers: [30, 32] Generated Node #3: [30, 32] from Operation: 91-59=32 Current State: 62:[30, 32], Operations: ['64-34=30', '91-59=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[64, 34, 91, 59], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [64, 34, 32] Generated Node #0,0: 62:[64, 34, 32] Operation: 91-59=32 Exploring Operation: 91-64=27, Resulting Numbers: [34, 59, 27] Generated Node #0,1: 62:[34, 59, 27] Operation: 91-64=27 Moving to Node #0,0 Current State: 62:[64, 34, 32], Operations: ['91-59=32'] Exploring Operation: 34-32=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 62:[64, 2] Operation: 34-32=2 Exploring Operation: 64-34=30, Resulting Numbers: [32, 30] Generated Node #0,0,1: 62:[32, 30] Operation: 64-34=30 Moving to Node #0,1 Current State: 62:[34, 59, 27], Operations: ['91-64=27'] Exploring Operation: 59-27=32, Resulting Numbers: [34, 32] Generated Node #0,1,0: 62:[34, 32] Operation: 59-27=32 Exploring Operation: 34+27=61, Resulting Numbers: [59, 61] Generated Node #0,1,1: 62:[59, 61] Operation: 34+27=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[34, 32], Operations: ['91-64=27', '59-27=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,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:[59, 61], Operations: ['91-64=27', '34+27=61'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,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:[64, 2], Operations: ['91-59=32', '34-32=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[64, 34, 91, 59], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [64, 34, 32] Generated Node #0,0: 62:[64, 34, 32] Operation: 91-59=32 Moving to Node #0,0 Current State: 62:[64, 34, 32], Operations: ['91-59=32'] Exploring Operation: 34-32=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 62:[64, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 62:[64, 2], Operations: ['91-59=32', '34-32=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 3, 49, 26, 50 ]
100
[ "3+49=52", "52/26=2", "50*2=100" ]
Current State: 100:[3, 49, 26, 50], Operations: [] Exploring Operation: 3+49=52, Resulting Numbers: [26, 50, 52] Generated Node #2: [26, 50, 52] from Operation: 3+49=52 Current State: 100:[26, 50, 52], Operations: ['3+49=52'] Exploring Operation: 52/26=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 52/26=2 Current State: 100:[50, 2], Operations: ['3+49=52', '52/26=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[3, 49, 26, 50], Operations: [] Exploring Operation: 3+49=52, Resulting Numbers: [26, 50, 52] Generated Node #0,0: 100:[26, 50, 52] Operation: 3+49=52 Exploring Operation: 49-26=23, Resulting Numbers: [3, 50, 23] Generated Node #0,1: 100:[3, 50, 23] Operation: 49-26=23 Exploring Operation: 49+50=99, Resulting Numbers: [3, 26, 99] Generated Node #0,2: 100:[3, 26, 99] Operation: 49+50=99 Exploring Operation: 26-3=23, Resulting Numbers: [49, 50, 23] Generated Node #0,3: 100:[49, 50, 23] Operation: 26-3=23 Exploring Operation: 50-49=1, Resulting Numbers: [3, 26, 1] Generated Node #0,4: 100:[3, 26, 1] Operation: 50-49=1 Moving to Node #0,0 Current State: 100:[26, 50, 52], Operations: ['3+49=52'] Exploring Operation: 52-50=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 100:[26, 2] Operation: 52-50=2 Exploring Operation: 52/26=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 100:[50, 2] Operation: 52/26=2 Exploring Operation: 50-26=24, Resulting Numbers: [52, 24] Generated Node #0,0,2: 100:[52, 24] Operation: 50-26=24 Exploring Operation: 50+52=102, Resulting Numbers: [26, 102] Generated Node #0,0,3: 100:[26, 102] Operation: 50+52=102 Exploring Operation: 52-26=26, Resulting Numbers: [50, 26] Generated Node #0,0,4: 100:[50, 26] Operation: 52-26=26 Moving to Node #0,2 Current State: 100:[3, 26, 99], Operations: ['49+50=99'] Exploring Operation: 26-3=23, Resulting Numbers: [99, 23] Generated Node #0,2,0: 100:[99, 23] Operation: 26-3=23 Exploring Operation: 99/3=33, Resulting Numbers: [26, 33] Generated Node #0,2,1: 100:[26, 33] Operation: 99/3=33 Exploring Operation: 3+26=29, Resulting Numbers: [99, 29] Generated Node #0,2,2: 100:[99, 29] Operation: 3+26=29 Exploring Operation: 99-3=96, Resulting Numbers: [26, 96] Generated Node #0,2,3: 100:[26, 96] Operation: 99-3=96 Exploring Operation: 3+99=102, Resulting Numbers: [26, 102] Generated Node #0,2,4: 100:[26, 102] Operation: 3+99=102 Moving to Node #0,4 Current State: 100:[3, 26, 1], Operations: ['50-49=1'] Exploring Operation: 3+1=4, Resulting Numbers: [26, 4] Generated Node #0,4,0: 100:[26, 4] Operation: 3+1=4 Exploring Operation: 3/1=3, Resulting Numbers: [26, 3] Generated Node #0,4,1: 100:[26, 3] Operation: 3/1=3 Exploring Operation: 3*1=3, Resulting Numbers: [26, 3] Generated Node #0,4,2: 100:[26, 3] Operation: 3*1=3 Exploring Operation: 26-1=25, Resulting Numbers: [3, 25] Generated Node #0,4,3: 100:[3, 25] Operation: 26-1=25 Exploring Operation: 3-1=2, Resulting Numbers: [26, 2] Generated Node #0,4,4: 100:[26, 2] Operation: 3-1=2 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 100:[26, 4], Operations: ['50-49=1', '3+1=4'] Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,100 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,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,4,3 Current State: 100:[3, 25], Operations: ['50-49=1', '26-1=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,100 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,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,4,4 Current State: 100:[26, 2], Operations: ['50-49=1', '3-1=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,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,4,1 Current State: 100:[26, 3], Operations: ['50-49=1', '3/1=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,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,4,2 Current State: 100:[26, 3], Operations: ['50-49=1', '3*1=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 100:[3, 50, 23], Operations: ['49-26=23'] Exploring Operation: 23-3=20, Resulting Numbers: [50, 20] Generated Node #0,1,0: 100:[50, 20] Operation: 23-3=20 Exploring Operation: 50-3=47, Resulting Numbers: [23, 47] Generated Node #0,1,1: 100:[23, 47] Operation: 50-3=47 Exploring Operation: 3+23=26, Resulting Numbers: [50, 26] Generated Node #0,1,2: 100:[50, 26] Operation: 3+23=26 Exploring Operation: 50-23=27, Resulting Numbers: [3, 27] Generated Node #0,1,3: 100:[3, 27] Operation: 50-23=27 Exploring Operation: 3+50=53, Resulting Numbers: [23, 53] Generated Node #0,1,4: 100:[23, 53] Operation: 3+50=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[50, 20], Operations: ['49-26=23', '23-3=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,100 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[50, 26], Operations: ['49-26=23', '3+23=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,100 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[3, 27], Operations: ['49-26=23', '50-23=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[23, 47], Operations: ['49-26=23', '50-3=47'] Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,100 unequal: No Solution Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 100:[23, 53], Operations: ['49-26=23', '3+50=53'] Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,100 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,100 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: 100:[49, 50, 23], Operations: ['26-3=23'] Exploring Operation: 49-23=26, Resulting Numbers: [50, 26] Generated Node #0,3,0: 100:[50, 26] Operation: 49-23=26 Exploring Operation: 49+50=99, Resulting Numbers: [23, 99] Generated Node #0,3,1: 100:[23, 99] Operation: 49+50=99 Exploring Operation: 50-23=27, Resulting Numbers: [49, 27] Generated Node #0,3,2: 100:[49, 27] Operation: 50-23=27 Exploring Operation: 50-49=1, Resulting Numbers: [23, 1] Generated Node #0,3,3: 100:[23, 1] Operation: 50-49=1 Exploring Operation: 49+23=72, Resulting Numbers: [50, 72] Generated Node #0,3,4: 100:[50, 72] Operation: 49+23=72 Moving to Node #0,0,1 Current State: 100:[50, 2], Operations: ['3+49=52', '52/26=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[3, 49, 26, 50], Operations: [] Exploring Operation: 3+49=52, Resulting Numbers: [26, 50, 52] Generated Node #0,0: 100:[26, 50, 52] Operation: 3+49=52 Moving to Node #0,0 Current State: 100:[26, 50, 52], Operations: ['3+49=52'] Exploring Operation: 52/26=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 100:[50, 2] Operation: 52/26=2 Moving to Node #0,0,1 Current State: 100:[50, 2], Operations: ['3+49=52', '52/26=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 22, 68, 24, 1 ]
65
[ "22+68=90", "24+1=25", "90-25=65" ]
Current State: 65:[22, 68, 24, 1], Operations: [] Exploring Operation: 22+68=90, Resulting Numbers: [24, 1, 90] Generated Node #2: [24, 1, 90] from Operation: 22+68=90 Current State: 65:[24, 1, 90], Operations: ['22+68=90'] Exploring Operation: 24+1=25, Resulting Numbers: [90, 25] Generated Node #3: [90, 25] from Operation: 24+1=25 Current State: 65:[90, 25], Operations: ['22+68=90', '24+1=25'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[22, 68, 24, 1], Operations: [] Exploring Operation: 22-1=21, Resulting Numbers: [68, 24, 21] Generated Node #0,0: 65:[68, 24, 21] Operation: 22-1=21 Exploring Operation: 24-22=2, Resulting Numbers: [68, 1, 2] Generated Node #0,1: 65:[68, 1, 2] Operation: 24-22=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[68, 1, 2], Operations: ['24-22=2'] Exploring Operation: 68-1=67, Resulting Numbers: [2, 67] Generated Node #0,1,0: 65:[2, 67] Operation: 68-1=67 Exploring Operation: 68-2=66, Resulting Numbers: [1, 66] Generated Node #0,1,1: 65:[1, 66] Operation: 68-2=66 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[2, 67], Operations: ['24-22=2', '68-1=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[22, 68, 24, 1], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [68, 1, 2] Generated Node #0,1: 65:[68, 1, 2] Operation: 24-22=2 Moving to Node #0,1 Current State: 65:[68, 1, 2], Operations: ['24-22=2'] Exploring Operation: 68-1=67, Resulting Numbers: [2, 67] Generated Node #0,1,0: 65:[2, 67] Operation: 68-1=67 Moving to Node #0,1,0 Current State: 65:[2, 67], Operations: ['24-22=2', '68-1=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 34, 1, 55, 70 ]
53
[ "34+1=35", "70/35=2", "55-2=53" ]
Current State: 53:[34, 1, 55, 70], Operations: [] Exploring Operation: 34+1=35, Resulting Numbers: [55, 70, 35] Generated Node #2: [55, 70, 35] from Operation: 34+1=35 Current State: 53:[55, 70, 35], Operations: ['34+1=35'] Exploring Operation: 70/35=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 70/35=2 Current State: 53:[55, 2], Operations: ['34+1=35', '70/35=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[34, 1, 55, 70], Operations: [] Exploring Operation: 34+1=35, Resulting Numbers: [55, 70, 35] Generated Node #0,0: 53:[55, 70, 35] Operation: 34+1=35 Exploring Operation: 70-1=69, Resulting Numbers: [34, 55, 69] Generated Node #0,1: 53:[34, 55, 69] Operation: 70-1=69 Exploring Operation: 55-1=54, Resulting Numbers: [34, 70, 54] Generated Node #0,2: 53:[34, 70, 54] Operation: 55-1=54 Moving to Node #0,0 Current State: 53:[55, 70, 35], Operations: ['34+1=35'] Exploring Operation: 70-35=35, Resulting Numbers: [55, 35] Generated Node #0,0,0: 53:[55, 35] Operation: 70-35=35 Exploring Operation: 55-35=20, Resulting Numbers: [70, 20] Generated Node #0,0,1: 53:[70, 20] Operation: 55-35=20 Exploring Operation: 70/35=2, Resulting Numbers: [55, 2] Generated Node #0,0,2: 53:[55, 2] Operation: 70/35=2 Moving to Node #0,1 Current State: 53:[34, 55, 69], Operations: ['70-1=69'] Exploring Operation: 69-34=35, Resulting Numbers: [55, 35] Generated Node #0,1,0: 53:[55, 35] Operation: 69-34=35 Exploring Operation: 34+55=89, Resulting Numbers: [69, 89] Generated Node #0,1,1: 53:[69, 89] Operation: 34+55=89 Exploring Operation: 55-34=21, Resulting Numbers: [69, 21] Generated Node #0,1,2: 53:[69, 21] Operation: 55-34=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[55, 35], Operations: ['70-1=69', '69-34=35'] Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,53 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[69, 21], Operations: ['70-1=69', '55-34=21'] Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,53 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[69, 89], Operations: ['70-1=69', '34+55=89'] Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 69+89=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 69*89=6141, Resulting Numbers: [6141] 6141,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 53:[34, 70, 54], Operations: ['55-1=54'] Exploring Operation: 54-34=20, Resulting Numbers: [70, 20] Generated Node #0,2,0: 53:[70, 20] Operation: 54-34=20 Exploring Operation: 34+70=104, Resulting Numbers: [54, 104] Generated Node #0,2,1: 53:[54, 104] Operation: 34+70=104 Exploring Operation: 70-34=36, Resulting Numbers: [54, 36] Generated Node #0,2,2: 53:[54, 36] Operation: 70-34=36 Moving to Node #0,2,2 Current State: 53:[54, 36], Operations: ['55-1=54', '70-34=36'] Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[55, 35], Operations: ['34+1=35', '70-35=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,53 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[70, 20], Operations: ['55-1=54', '54-34=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,53 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[70, 20], Operations: ['34+1=35', '55-35=20'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,53 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[54, 104], Operations: ['55-1=54', '34+70=104'] Exploring Operation: 54+104=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 54*104=5616, Resulting Numbers: [5616] 5616,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[55, 2], Operations: ['34+1=35', '70/35=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[34, 1, 55, 70], Operations: [] Exploring Operation: 34+1=35, Resulting Numbers: [55, 70, 35] Generated Node #0,0: 53:[55, 70, 35] Operation: 34+1=35 Moving to Node #0,0 Current State: 53:[55, 70, 35], Operations: ['34+1=35'] Exploring Operation: 70/35=2, Resulting Numbers: [55, 2] Generated Node #0,0,2: 53:[55, 2] Operation: 70/35=2 Moving to Node #0,0,2 Current State: 53:[55, 2], Operations: ['34+1=35', '70/35=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 58, 61, 30, 12 ]
15
[ "61-58=3", "30-12=18", "18-3=15" ]
Current State: 15:[58, 61, 30, 12], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [30, 12, 3] Generated Node #2: [30, 12, 3] from Operation: 61-58=3 Current State: 15:[30, 12, 3], Operations: ['61-58=3'] Exploring Operation: 30-12=18, Resulting Numbers: [3, 18] Generated Node #3: [3, 18] from Operation: 30-12=18 Current State: 15:[3, 18], Operations: ['61-58=3', '30-12=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[58, 61, 30, 12], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [30, 12, 3] Generated Node #0,0: 15:[30, 12, 3] Operation: 61-58=3 Moving to Node #0,0 Current State: 15:[30, 12, 3], Operations: ['61-58=3'] Exploring Operation: 30-12=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 15:[3, 18] Operation: 30-12=18 Moving to Node #0,0,0 Current State: 15:[3, 18], Operations: ['61-58=3', '30-12=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[58, 61, 30, 12], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [30, 12, 3] Generated Node #0,0: 15:[30, 12, 3] Operation: 61-58=3 Moving to Node #0,0 Current State: 15:[30, 12, 3], Operations: ['61-58=3'] Exploring Operation: 30-12=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 15:[3, 18] Operation: 30-12=18 Moving to Node #0,0,0 Current State: 15:[3, 18], Operations: ['61-58=3', '30-12=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 39, 71, 28, 22 ]
33
[ "39+71=110", "110/22=5", "28+5=33" ]
Current State: 33:[39, 71, 28, 22], Operations: [] Exploring Operation: 39+71=110, Resulting Numbers: [28, 22, 110] Generated Node #2: [28, 22, 110] from Operation: 39+71=110 Current State: 33:[28, 22, 110], Operations: ['39+71=110'] Exploring Operation: 110/22=5, Resulting Numbers: [28, 5] Generated Node #3: [28, 5] from Operation: 110/22=5 Current State: 33:[28, 5], Operations: ['39+71=110', '110/22=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[39, 71, 28, 22], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [39, 28, 49] Generated Node #0,0: 33:[39, 28, 49] Operation: 71-22=49 Exploring Operation: 28-22=6, Resulting Numbers: [39, 71, 6] Generated Node #0,1: 33:[39, 71, 6] Operation: 28-22=6 Exploring Operation: 71-39=32, Resulting Numbers: [28, 22, 32] Generated Node #0,2: 33:[28, 22, 32] Operation: 71-39=32 Exploring Operation: 71-28=43, Resulting Numbers: [39, 22, 43] Generated Node #0,3: 33:[39, 22, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[28, 22, 32], Operations: ['71-39=32'] Exploring Operation: 28-22=6, Resulting Numbers: [32, 6] Generated Node #0,2,0: 33:[32, 6] Operation: 28-22=6 Exploring Operation: 28+22=50, Resulting Numbers: [32, 50] Generated Node #0,2,1: 33:[32, 50] Operation: 28+22=50 Exploring Operation: 32-28=4, Resulting Numbers: [22, 4] Generated Node #0,2,2: 33:[22, 4] Operation: 32-28=4 Exploring Operation: 32-22=10, Resulting Numbers: [28, 10] Generated Node #0,2,3: 33:[28, 10] Operation: 32-22=10 Moving to Node #0,2,0 Current State: 33:[32, 6], Operations: ['71-39=32', '28-22=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,33 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[28, 10], Operations: ['71-39=32', '32-22=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,33 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[22, 4], Operations: ['71-39=32', '32-28=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[32, 50], Operations: ['71-39=32', '28+22=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,33 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[39, 28, 49], Operations: ['71-22=49'] Exploring Operation: 49-28=21, Resulting Numbers: [39, 21] Generated Node #0,0,0: 33:[39, 21] Operation: 49-28=21 Exploring Operation: 49-39=10, Resulting Numbers: [28, 10] Generated Node #0,0,1: 33:[28, 10] Operation: 49-39=10 Exploring Operation: 39-28=11, Resulting Numbers: [49, 11] Generated Node #0,0,2: 33:[49, 11] Operation: 39-28=11 Exploring Operation: 39+28=67, Resulting Numbers: [49, 67] Generated Node #0,0,3: 33:[49, 67] Operation: 39+28=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[28, 10], Operations: ['71-22=49', '49-39=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,33 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[39, 21], Operations: ['71-22=49', '49-28=21'] Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[49, 11], Operations: ['71-22=49', '39-28=11'] Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,33 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[49, 67], Operations: ['71-22=49', '39+28=67'] Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 49*67=3283, Resulting Numbers: [3283] 3283,33 unequal: No Solution Exploring Operation: 49+67=116, Resulting Numbers: [116] 116,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[39, 22, 43], Operations: ['71-28=43'] Exploring Operation: 39+22=61, Resulting Numbers: [43, 61] Generated Node #0,3,0: 33:[43, 61] Operation: 39+22=61 Exploring Operation: 39-22=17, Resulting Numbers: [43, 17] Generated Node #0,3,1: 33:[43, 17] Operation: 39-22=17 Exploring Operation: 43-22=21, Resulting Numbers: [39, 21] Generated Node #0,3,2: 33:[39, 21] Operation: 43-22=21 Exploring Operation: 43-39=4, Resulting Numbers: [22, 4] Generated Node #0,3,3: 33:[22, 4] Operation: 43-39=4 Moving to Node #0,3,3 Current State: 33:[22, 4], Operations: ['71-28=43', '43-39=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[39, 21], Operations: ['71-28=43', '43-22=21'] Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[43, 17], Operations: ['71-28=43', '39-22=17'] Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,33 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[43, 61], Operations: ['71-28=43', '39+22=61'] Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,33 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[39, 71, 6], Operations: ['28-22=6'] Exploring Operation: 71-6=65, Resulting Numbers: [39, 65] Generated Node #0,1,0: 33:[39, 65] Operation: 71-6=65 Exploring Operation: 39+6=45, Resulting Numbers: [71, 45] Generated Node #0,1,1: 33:[71, 45] Operation: 39+6=45 Exploring Operation: 71-39=32, Resulting Numbers: [6, 32] Generated Node #0,1,2: 33:[6, 32] Operation: 71-39=32 Exploring Operation: 39-6=33, Resulting Numbers: [71, 33] Generated Node #0,1,3: 33:[71, 33] Operation: 39-6=33 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[6, 32], Operations: ['28-22=6', '71-39=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,33 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[39, 65], Operations: ['28-22=6', '71-6=65'] Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,33 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[71, 33], Operations: ['28-22=6', '39-6=33'] Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,33 unequal: No Solution Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[71, 45], Operations: ['28-22=6', '39+6=45'] Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,33 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,33 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 3, 64, 65, 27 ]
50
[ "65-27=38", "3*38=114", "114-64=50" ]
Current State: 50:[3, 64, 65, 27], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [3, 64, 38] Generated Node #2: [3, 64, 38] from Operation: 65-27=38 Current State: 50:[3, 64, 38], Operations: ['65-27=38'] Exploring Operation: 3*38=114, Resulting Numbers: [64, 114] Generated Node #3: [64, 114] from Operation: 3*38=114 Current State: 50:[64, 114], Operations: ['65-27=38', '3*38=114'] Exploring Operation: 114-64=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[3, 64, 65, 27], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [3, 64, 38] Generated Node #0,0: 50:[3, 64, 38] Operation: 65-27=38 Exploring Operation: 65-64=1, Resulting Numbers: [3, 27, 1] Generated Node #0,1: 50:[3, 27, 1] Operation: 65-64=1 Exploring Operation: 64-3=61, Resulting Numbers: [65, 27, 61] Generated Node #0,2: 50:[65, 27, 61] Operation: 64-3=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[3, 27, 1], Operations: ['65-64=1'] Exploring Operation: 3-1=2, Resulting Numbers: [27, 2] Generated Node #0,1,0: 50:[27, 2] Operation: 3-1=2 Exploring Operation: 27-3=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 50:[1, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [1, 9] Generated Node #0,1,2: 50:[1, 9] Operation: 27/3=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[27, 2], Operations: ['65-64=1', '3-1=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[1, 24], Operations: ['65-64=1', '27-3=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[1, 9], Operations: ['65-64=1', '27/3=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,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:[3, 64, 38], Operations: ['65-27=38'] Exploring Operation: 3+38=41, Resulting Numbers: [64, 41] Generated Node #0,0,0: 50:[64, 41] Operation: 3+38=41 Exploring Operation: 64-3=61, Resulting Numbers: [38, 61] Generated Node #0,0,1: 50:[38, 61] Operation: 64-3=61 Exploring Operation: 64-38=26, Resulting Numbers: [3, 26] Generated Node #0,0,2: 50:[3, 26] Operation: 64-38=26 Moving to Node #0,0,2 Current State: 50:[3, 26], Operations: ['65-27=38', '64-38=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[64, 41], Operations: ['65-27=38', '3+38=41'] Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,50 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[38, 61], Operations: ['65-27=38', '64-3=61'] Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,50 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[65, 27, 61], Operations: ['64-3=61'] Exploring Operation: 65-61=4, Resulting Numbers: [27, 4] Generated Node #0,2,0: 50:[27, 4] Operation: 65-61=4 Exploring Operation: 61-27=34, Resulting Numbers: [65, 34] Generated Node #0,2,1: 50:[65, 34] Operation: 61-27=34 Exploring Operation: 65-27=38, Resulting Numbers: [61, 38] Generated Node #0,2,2: 50:[61, 38] Operation: 65-27=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[27, 4], Operations: ['64-3=61', '65-61=4'] Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[61, 38], Operations: ['64-3=61', '65-27=38'] Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,50 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[65, 34], Operations: ['64-3=61', '61-27=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 71, 80, 39, 3 ]
10
[ "80-71=9", "39-9=30", "30/3=10" ]
Current State: 10:[71, 80, 39, 3], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [39, 3, 9] Generated Node #2: [39, 3, 9] from Operation: 80-71=9 Current State: 10:[39, 3, 9], Operations: ['80-71=9'] Exploring Operation: 39-9=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 39-9=30 Current State: 10:[3, 30], Operations: ['80-71=9', '39-9=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[71, 80, 39, 3], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [80, 3, 32] Generated Node #0,0: 10:[80, 3, 32] Operation: 71-39=32 Exploring Operation: 80-39=41, Resulting Numbers: [71, 3, 41] Generated Node #0,1: 10:[71, 3, 41] Operation: 80-39=41 Exploring Operation: 80-71=9, Resulting Numbers: [39, 3, 9] Generated Node #0,2: 10:[39, 3, 9] Operation: 80-71=9 Moving to Node #0,2 Current State: 10:[39, 3, 9], Operations: ['80-71=9'] Exploring Operation: 39/3=13, Resulting Numbers: [9, 13] Generated Node #0,2,0: 10:[9, 13] Operation: 39/3=13 Exploring Operation: 39-9=30, Resulting Numbers: [3, 30] Generated Node #0,2,1: 10:[3, 30] Operation: 39-9=30 Exploring Operation: 39-3=36, Resulting Numbers: [9, 36] Generated Node #0,2,2: 10:[9, 36] Operation: 39-3=36 Moving to Node #0,0 Current State: 10:[80, 3, 32], Operations: ['71-39=32'] Exploring Operation: 32-3=29, Resulting Numbers: [80, 29] Generated Node #0,0,0: 10:[80, 29] Operation: 32-3=29 Exploring Operation: 80-32=48, Resulting Numbers: [3, 48] Generated Node #0,0,1: 10:[3, 48] Operation: 80-32=48 Exploring Operation: 80-3=77, Resulting Numbers: [32, 77] Generated Node #0,0,2: 10:[32, 77] Operation: 80-3=77 Moving to Node #0,1 Current State: 10:[71, 3, 41], Operations: ['80-39=41'] Exploring Operation: 71-3=68, Resulting Numbers: [41, 68] Generated Node #0,1,0: 10:[41, 68] Operation: 71-3=68 Exploring Operation: 41-3=38, Resulting Numbers: [71, 38] Generated Node #0,1,1: 10:[71, 38] Operation: 41-3=38 Exploring Operation: 71-41=30, Resulting Numbers: [3, 30] Generated Node #0,1,2: 10:[3, 30] Operation: 71-41=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[3, 30], Operations: ['80-39=41', '71-41=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[71, 80, 39, 3], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [71, 3, 41] Generated Node #0,1: 10:[71, 3, 41] Operation: 80-39=41 Moving to Node #0,1 Current State: 10:[71, 3, 41], Operations: ['80-39=41'] Exploring Operation: 71-41=30, Resulting Numbers: [3, 30] Generated Node #0,1,2: 10:[3, 30] Operation: 71-41=30 Moving to Node #0,1,2 Current State: 10:[3, 30], Operations: ['80-39=41', '71-41=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 10, 54, 24, 56 ]
53
[ "54-24=30", "30/10=3", "56-3=53" ]
Current State: 53:[10, 54, 24, 56], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [10, 56, 30] Generated Node #2: [10, 56, 30] from Operation: 54-24=30 Current State: 53:[10, 56, 30], Operations: ['54-24=30'] Exploring Operation: 30/10=3, Resulting Numbers: [56, 3] Generated Node #3: [56, 3] from Operation: 30/10=3 Current State: 53:[56, 3], Operations: ['54-24=30', '30/10=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[10, 54, 24, 56], Operations: [] Exploring Operation: 10+24=34, Resulting Numbers: [54, 56, 34] Generated Node #0,0: 53:[54, 56, 34] Operation: 10+24=34 Exploring Operation: 54-10=44, Resulting Numbers: [24, 56, 44] Generated Node #0,1: 53:[24, 56, 44] Operation: 54-10=44 Exploring Operation: 56-10=46, Resulting Numbers: [54, 24, 46] Generated Node #0,2: 53:[54, 24, 46] Operation: 56-10=46 Moving to Node #0,0 Current State: 53:[54, 56, 34], Operations: ['10+24=34'] Exploring Operation: 56-34=22, Resulting Numbers: [54, 22] Generated Node #0,0,0: 53:[54, 22] Operation: 56-34=22 Exploring Operation: 54+34=88, Resulting Numbers: [56, 88] Generated Node #0,0,1: 53:[56, 88] Operation: 54+34=88 Exploring Operation: 54-34=20, Resulting Numbers: [56, 20] Generated Node #0,0,2: 53:[56, 20] Operation: 54-34=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[54, 22], Operations: ['10+24=34', '56-34=22'] Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[56, 20], Operations: ['10+24=34', '54-34=20'] Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,53 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[56, 88], Operations: ['10+24=34', '54+34=88'] Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 56+88=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 56*88=4928, Resulting Numbers: [4928] 4928,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 53:[54, 24, 46], Operations: ['56-10=46'] Exploring Operation: 54+24=78, Resulting Numbers: [46, 78] Generated Node #0,2,0: 53:[46, 78] Operation: 54+24=78 Exploring Operation: 24+46=70, Resulting Numbers: [54, 70] Generated Node #0,2,1: 53:[54, 70] Operation: 24+46=70 Exploring Operation: 54-24=30, Resulting Numbers: [46, 30] Generated Node #0,2,2: 53:[46, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[54, 70], Operations: ['56-10=46', '24+46=70'] Exploring Operation: 54*70=3780, Resulting Numbers: [3780] 3780,53 unequal: No Solution Exploring Operation: 54+70=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[46, 30], Operations: ['56-10=46', '54-24=30'] Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,53 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[46, 78], Operations: ['56-10=46', '54+24=78'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,53 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: 53:[24, 56, 44], Operations: ['54-10=44'] Exploring Operation: 56-24=32, Resulting Numbers: [44, 32] Generated Node #0,1,0: 53:[44, 32] Operation: 56-24=32 Exploring Operation: 24+44=68, Resulting Numbers: [56, 68] Generated Node #0,1,1: 53:[56, 68] Operation: 24+44=68 Exploring Operation: 24+56=80, Resulting Numbers: [44, 80] Generated Node #0,1,2: 53:[44, 80] Operation: 24+56=80 Moving to Node #0,1,1 Current State: 53:[56, 68], Operations: ['54-10=44', '24+44=68'] Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,53 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[44, 32], Operations: ['54-10=44', '56-24=32'] Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,53 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[44, 80], Operations: ['54-10=44', '24+56=80'] Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 64, 92, 36, 96 ]
55
[ "96-92=4", "36/4=9", "64-9=55" ]
Current State: 55:[64, 92, 36, 96], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [64, 36, 4] Generated Node #2: [64, 36, 4] from Operation: 96-92=4 Current State: 55:[64, 36, 4], Operations: ['96-92=4'] Exploring Operation: 36/4=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 36/4=9 Current State: 55:[64, 9], Operations: ['96-92=4', '36/4=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[64, 92, 36, 96], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [64, 36, 4] Generated Node #0,0: 55:[64, 36, 4] Operation: 96-92=4 Exploring Operation: 92-36=56, Resulting Numbers: [64, 96, 56] Generated Node #0,1: 55:[64, 96, 56] Operation: 92-36=56 Moving to Node #0,0 Current State: 55:[64, 36, 4], Operations: ['96-92=4'] Exploring Operation: 36/4=9, Resulting Numbers: [64, 9] Generated Node #0,0,0: 55:[64, 9] Operation: 36/4=9 Exploring Operation: 64-36=28, Resulting Numbers: [4, 28] Generated Node #0,0,1: 55:[4, 28] Operation: 64-36=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[64, 9], Operations: ['96-92=4', '36/4=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[64, 92, 36, 96], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [64, 36, 4] Generated Node #0,0: 55:[64, 36, 4] Operation: 96-92=4 Moving to Node #0,0 Current State: 55:[64, 36, 4], Operations: ['96-92=4'] Exploring Operation: 36/4=9, Resulting Numbers: [64, 9] Generated Node #0,0,0: 55:[64, 9] Operation: 36/4=9 Moving to Node #0,0,0 Current State: 55:[64, 9], Operations: ['96-92=4', '36/4=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 27, 52, 82, 50 ]
53
[ "27+52=79", "82+50=132", "132-79=53" ]
Current State: 53:[27, 52, 82, 50], Operations: [] Exploring Operation: 27+52=79, Resulting Numbers: [82, 50, 79] Generated Node #2: [82, 50, 79] from Operation: 27+52=79 Current State: 53:[82, 50, 79], Operations: ['27+52=79'] Exploring Operation: 82+50=132, Resulting Numbers: [79, 132] Generated Node #3: [79, 132] from Operation: 82+50=132 Current State: 53:[79, 132], Operations: ['27+52=79', '82+50=132'] Exploring Operation: 132-79=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[27, 52, 82, 50], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [27, 50, 30] Generated Node #0,0: 53:[27, 50, 30] Operation: 82-52=30 Exploring Operation: 82-27=55, Resulting Numbers: [52, 50, 55] Generated Node #0,1: 53:[52, 50, 55] Operation: 82-27=55 Exploring Operation: 27+50=77, Resulting Numbers: [52, 82, 77] Generated Node #0,2: 53:[52, 82, 77] Operation: 27+50=77 Exploring Operation: 82-50=32, Resulting Numbers: [27, 52, 32] Generated Node #0,3: 53:[27, 52, 32] Operation: 82-50=32 Moving to Node #0,1 Current State: 53:[52, 50, 55], Operations: ['82-27=55'] Exploring Operation: 55-52=3, Resulting Numbers: [50, 3] Generated Node #0,1,0: 53:[50, 3] Operation: 55-52=3 Exploring Operation: 52-50=2, Resulting Numbers: [55, 2] Generated Node #0,1,1: 53:[55, 2] Operation: 52-50=2 Exploring Operation: 52+50=102, Resulting Numbers: [55, 102] Generated Node #0,1,2: 53:[55, 102] Operation: 52+50=102 Exploring Operation: 55-50=5, Resulting Numbers: [52, 5] Generated Node #0,1,3: 53:[52, 5] Operation: 55-50=5 Moving to Node #0,3 Current State: 53:[27, 52, 32], Operations: ['82-50=32'] Exploring Operation: 27+32=59, Resulting Numbers: [52, 59] Generated Node #0,3,0: 53:[52, 59] Operation: 27+32=59 Exploring Operation: 52-27=25, Resulting Numbers: [32, 25] Generated Node #0,3,1: 53:[32, 25] Operation: 52-27=25 Exploring Operation: 32-27=5, Resulting Numbers: [52, 5] Generated Node #0,3,2: 53:[52, 5] Operation: 32-27=5 Exploring Operation: 27+52=79, Resulting Numbers: [32, 79] Generated Node #0,3,3: 53:[32, 79] Operation: 27+52=79 Moving to Node #0,0 Current State: 53:[27, 50, 30], Operations: ['82-52=30'] Exploring Operation: 50-27=23, Resulting Numbers: [30, 23] Generated Node #0,0,0: 53:[30, 23] Operation: 50-27=23 Exploring Operation: 30-27=3, Resulting Numbers: [50, 3] Generated Node #0,0,1: 53:[50, 3] Operation: 30-27=3 Exploring Operation: 27+30=57, Resulting Numbers: [50, 57] Generated Node #0,0,2: 53:[50, 57] Operation: 27+30=57 Exploring Operation: 27+50=77, Resulting Numbers: [30, 77] Generated Node #0,0,3: 53:[30, 77] Operation: 27+50=77 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[50, 57], Operations: ['82-52=30', '27+30=57'] Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,53 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[30, 77], Operations: ['82-52=30', '27+50=77'] Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,53 unequal: No Solution Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[30, 23], Operations: ['82-52=30', '50-27=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[27, 52, 82, 50], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [27, 50, 30] Generated Node #0,0: 53:[27, 50, 30] Operation: 82-52=30 Moving to Node #0,0 Current State: 53:[27, 50, 30], Operations: ['82-52=30'] Exploring Operation: 50-27=23, Resulting Numbers: [30, 23] Generated Node #0,0,0: 53:[30, 23] Operation: 50-27=23 Moving to Node #0,0,0 Current State: 53:[30, 23], Operations: ['82-52=30', '50-27=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic