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
[ 31, 37, 61, 72 ]
79
[ "31+37=68", "72-61=11", "68+11=79" ]
Current State: 79:[31, 37, 61, 72], Operations: [] Exploring Operation: 31+37=68, Resulting Numbers: [61, 72, 68] Generated Node #2: [61, 72, 68] from Operation: 31+37=68 Current State: 79:[61, 72, 68], Operations: ['31+37=68'] Exploring Operation: 72-61=11, Resulting Numbers: [68, 11] Generated Node #3: [68, 11] from Operation: 72-61=11 Current State: 79:[68, 11], Operations: ['31+37=68', '72-61=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[31, 37, 61, 72], Operations: [] Exploring Operation: 37+61=98, Resulting Numbers: [31, 72, 98] Generated Node #0,0: 79:[31, 72, 98] Operation: 37+61=98 Exploring Operation: 31+37=68, Resulting Numbers: [61, 72, 68] Generated Node #0,1: 79:[61, 72, 68] Operation: 31+37=68 Exploring Operation: 37+72=109, Resulting Numbers: [31, 61, 109] Generated Node #0,2: 79:[31, 61, 109] Operation: 37+72=109 Exploring Operation: 31+72=103, Resulting Numbers: [37, 61, 103] Generated Node #0,3: 79:[37, 61, 103] Operation: 31+72=103 Exploring Operation: 31+61=92, Resulting Numbers: [37, 72, 92] Generated Node #0,4: 79:[37, 72, 92] Operation: 31+61=92 Moving to Node #0,1 Current State: 79:[61, 72, 68], Operations: ['31+37=68'] Exploring Operation: 68-61=7, Resulting Numbers: [72, 7] Generated Node #0,1,0: 79:[72, 7] Operation: 68-61=7 Exploring Operation: 61+68=129, Resulting Numbers: [72, 129] Generated Node #0,1,1: 79:[72, 129] Operation: 61+68=129 Exploring Operation: 61+72=133, Resulting Numbers: [68, 133] Generated Node #0,1,2: 79:[68, 133] Operation: 61+72=133 Exploring Operation: 72+68=140, Resulting Numbers: [61, 140] Generated Node #0,1,3: 79:[61, 140] Operation: 72+68=140 Exploring Operation: 72-61=11, Resulting Numbers: [68, 11] Generated Node #0,1,4: 79:[68, 11] Operation: 72-61=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[72, 129], Operations: ['31+37=68', '61+68=129'] Exploring Operation: 129-72=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 72*129=9288, Resulting Numbers: [9288] 9288,79 unequal: No Solution Exploring Operation: 72+129=201, Resulting Numbers: [201] 201,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[68, 133], Operations: ['31+37=68', '61+72=133'] Exploring Operation: 133-68=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 68*133=9044, Resulting Numbers: [9044] 9044,79 unequal: No Solution Exploring Operation: 68+133=201, Resulting Numbers: [201] 201,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[72, 7], Operations: ['31+37=68', '68-61=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[31, 37, 61, 72], Operations: [] Exploring Operation: 31+37=68, Resulting Numbers: [61, 72, 68] Generated Node #0,1: 79:[61, 72, 68] Operation: 31+37=68 Moving to Node #0,1 Current State: 79:[61, 72, 68], Operations: ['31+37=68'] Exploring Operation: 68-61=7, Resulting Numbers: [72, 7] Generated Node #0,1,0: 79:[72, 7] Operation: 68-61=7 Moving to Node #0,1,0 Current State: 79:[72, 7], Operations: ['31+37=68', '68-61=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 95, 25, 11, 90 ]
30
[ "95-90=5", "11*5=55", "55-25=30" ]
Current State: 30:[95, 25, 11, 90], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [25, 11, 5] Generated Node #2: [25, 11, 5] from Operation: 95-90=5 Current State: 30:[25, 11, 5], Operations: ['95-90=5'] Exploring Operation: 11*5=55, Resulting Numbers: [25, 55] Generated Node #3: [25, 55] from Operation: 11*5=55 Current State: 30:[25, 55], Operations: ['95-90=5', '11*5=55'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[95, 25, 11, 90], Operations: [] Exploring Operation: 95-25=70, Resulting Numbers: [11, 90, 70] Generated Node #0,0: 30:[11, 90, 70] Operation: 95-25=70 Exploring Operation: 90-25=65, Resulting Numbers: [95, 11, 65] Generated Node #0,1: 30:[95, 11, 65] Operation: 90-25=65 Exploring Operation: 95-90=5, Resulting Numbers: [25, 11, 5] Generated Node #0,2: 30:[25, 11, 5] Operation: 95-90=5 Exploring Operation: 95-11=84, Resulting Numbers: [25, 90, 84] Generated Node #0,3: 30:[25, 90, 84] Operation: 95-11=84 Moving to Node #0,2 Current State: 30:[25, 11, 5], Operations: ['95-90=5'] Exploring Operation: 25-11=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 30:[5, 14] Operation: 25-11=14 Exploring Operation: 25+5=30, Resulting Numbers: [11, 30] Generated Node #0,2,1: 30:[11, 30] Operation: 25+5=30 Exploring Operation: 11-5=6, Resulting Numbers: [25, 6] Generated Node #0,2,2: 30:[25, 6] Operation: 11-5=6 Exploring Operation: 25/5=5, Resulting Numbers: [11, 5] Generated Node #0,2,3: 30:[11, 5] Operation: 25/5=5 Moving to Node #0,1 Current State: 30:[95, 11, 65], Operations: ['90-25=65'] Exploring Operation: 65-11=54, Resulting Numbers: [95, 54] Generated Node #0,1,0: 30:[95, 54] Operation: 65-11=54 Exploring Operation: 95+11=106, Resulting Numbers: [65, 106] Generated Node #0,1,1: 30:[65, 106] Operation: 95+11=106 Exploring Operation: 95-65=30, Resulting Numbers: [11, 30] Generated Node #0,1,2: 30:[11, 30] Operation: 95-65=30 Exploring Operation: 95-11=84, Resulting Numbers: [65, 84] Generated Node #0,1,3: 30:[65, 84] Operation: 95-11=84 Moving to Node #0,0 Current State: 30:[11, 90, 70], Operations: ['95-25=70'] Exploring Operation: 90-70=20, Resulting Numbers: [11, 20] Generated Node #0,0,0: 30:[11, 20] Operation: 90-70=20 Exploring Operation: 11+90=101, Resulting Numbers: [70, 101] Generated Node #0,0,1: 30:[70, 101] Operation: 11+90=101 Exploring Operation: 70-11=59, Resulting Numbers: [90, 59] Generated Node #0,0,2: 30:[90, 59] Operation: 70-11=59 Exploring Operation: 90-11=79, Resulting Numbers: [70, 79] Generated Node #0,0,3: 30:[70, 79] Operation: 90-11=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[11, 20], Operations: ['95-25=70', '90-70=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,30 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[90, 59], Operations: ['95-25=70', '70-11=59'] Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,30 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[70, 79], Operations: ['95-25=70', '90-11=79'] Exploring Operation: 70+79=149, Resulting Numbers: [149] 149,30 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 70*79=5530, Resulting Numbers: [5530] 5530,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[70, 101], Operations: ['95-25=70', '11+90=101'] Exploring Operation: 101-70=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 70*101=7070, Resulting Numbers: [7070] 7070,30 unequal: No Solution Exploring Operation: 70+101=171, Resulting Numbers: [171] 171,30 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: 30:[25, 90, 84], Operations: ['95-11=84'] Exploring Operation: 90-25=65, Resulting Numbers: [84, 65] Generated Node #0,3,0: 30:[84, 65] Operation: 90-25=65 Exploring Operation: 25+90=115, Resulting Numbers: [84, 115] Generated Node #0,3,1: 30:[84, 115] Operation: 25+90=115 Exploring Operation: 84-25=59, Resulting Numbers: [90, 59] Generated Node #0,3,2: 30:[90, 59] Operation: 84-25=59 Exploring Operation: 90-84=6, Resulting Numbers: [25, 6] Generated Node #0,3,3: 30:[25, 6] Operation: 90-84=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 30:[25, 6], Operations: ['95-11=84', '90-84=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[84, 65], Operations: ['95-11=84', '90-25=65'] Exploring Operation: 84*65=5460, Resulting Numbers: [5460] 5460,30 unequal: No Solution Exploring Operation: 84+65=149, Resulting Numbers: [149] 149,30 unequal: No Solution Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 30:[90, 59], Operations: ['95-11=84', '84-25=59'] Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,30 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 30:[84, 115], Operations: ['95-11=84', '25+90=115'] Exploring Operation: 84+115=199, Resulting Numbers: [199] 199,30 unequal: No Solution Exploring Operation: 84*115=9660, Resulting Numbers: [9660] 9660,30 unequal: No Solution Exploring Operation: 115-84=31, Resulting Numbers: [31] 31,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 30:[5, 14], Operations: ['95-90=5', '25-11=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[11, 5], Operations: ['95-90=5', '25/5=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[11, 30], Operations: ['95-90=5', '25+5=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,30 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[11, 30], Operations: ['90-25=65', '95-65=30'] Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,30 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[25, 6], Operations: ['95-90=5', '11-5=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,30 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[65, 84], Operations: ['90-25=65', '95-11=84'] Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,30 unequal: No Solution Exploring Operation: 65*84=5460, Resulting Numbers: [5460] 5460,30 unequal: No Solution Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[95, 54], Operations: ['90-25=65', '65-11=54'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,30 unequal: No Solution Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[65, 106], Operations: ['90-25=65', '95+11=106'] Exploring Operation: 65*106=6890, Resulting Numbers: [6890] 6890,30 unequal: No Solution Exploring Operation: 65+106=171, Resulting Numbers: [171] 171,30 unequal: No Solution Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,30 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 14, 31, 10, 3 ]
62
[ "14*31=434", "10-3=7", "434/7=62" ]
Current State: 62:[14, 31, 10, 3], Operations: [] Exploring Operation: 14*31=434, Resulting Numbers: [10, 3, 434] Generated Node #2: [10, 3, 434] from Operation: 14*31=434 Current State: 62:[10, 3, 434], Operations: ['14*31=434'] Exploring Operation: 10-3=7, Resulting Numbers: [434, 7] Generated Node #3: [434, 7] from Operation: 10-3=7 Current State: 62:[434, 7], Operations: ['14*31=434', '10-3=7'] Exploring Operation: 434/7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[14, 31, 10, 3], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [31, 3, 4] Generated Node #0,0: 62:[31, 3, 4] Operation: 14-10=4 Moving to Node #0,0 Current State: 62:[31, 3, 4], Operations: ['14-10=4'] Exploring Operation: 4-3=1, Resulting Numbers: [31, 1] Generated Node #0,0,0: 62:[31, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 62:[31, 1], Operations: ['14-10=4', '4-3=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 12, 9, 99 ]
29
[ "99-20=79", "12*9=108", "108-79=29" ]
Current State: 29:[20, 12, 9, 99], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [12, 9, 79] Generated Node #2: [12, 9, 79] from Operation: 99-20=79 Current State: 29:[12, 9, 79], Operations: ['99-20=79'] Exploring Operation: 12*9=108, Resulting Numbers: [79, 108] Generated Node #3: [79, 108] from Operation: 12*9=108 Current State: 29:[79, 108], Operations: ['99-20=79', '12*9=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[20, 12, 9, 99], Operations: [] Exploring Operation: 20+9=29, Resulting Numbers: [12, 99, 29] Generated Node #0,0: 29:[12, 99, 29] Operation: 20+9=29 Exploring Operation: 99-20=79, Resulting Numbers: [12, 9, 79] Generated Node #0,1: 29:[12, 9, 79] Operation: 99-20=79 Exploring Operation: 99/9=11, Resulting Numbers: [20, 12, 11] Generated Node #0,2: 29:[20, 12, 11] Operation: 99/9=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[20, 12, 11], Operations: ['99/9=11'] Exploring Operation: 20+11=31, Resulting Numbers: [12, 31] Generated Node #0,2,0: 29:[12, 31] Operation: 20+11=31 Exploring Operation: 20+12=32, Resulting Numbers: [11, 32] Generated Node #0,2,1: 29:[11, 32] Operation: 20+12=32 Exploring Operation: 12+11=23, Resulting Numbers: [20, 23] Generated Node #0,2,2: 29:[20, 23] Operation: 12+11=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[20, 23], Operations: ['99/9=11', '12+11=23'] Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,29 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[12, 31], Operations: ['99/9=11', '20+11=31'] Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[11, 32], Operations: ['99/9=11', '20+12=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,29 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,29 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: 29:[12, 99, 29], Operations: ['20+9=29'] Exploring Operation: 99-12=87, Resulting Numbers: [29, 87] Generated Node #0,0,0: 29:[29, 87] Operation: 99-12=87 Exploring Operation: 99-29=70, Resulting Numbers: [12, 70] Generated Node #0,0,1: 29:[12, 70] Operation: 99-29=70 Exploring Operation: 12+99=111, Resulting Numbers: [29, 111] Generated Node #0,0,2: 29:[29, 111] Operation: 12+99=111 Moving to Node #0,0,0 Current State: 29:[29, 87], Operations: ['20+9=29', '99-12=87'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 29+87=116, Resulting Numbers: [116] 116,29 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[12, 70], Operations: ['20+9=29', '99-29=70'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,29 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[29, 111], Operations: ['20+9=29', '12+99=111'] Exploring Operation: 29+111=140, Resulting Numbers: [140] 140,29 unequal: No Solution Exploring Operation: 29*111=3219, Resulting Numbers: [3219] 3219,29 unequal: No Solution Exploring Operation: 111-29=82, Resulting Numbers: [82] 82,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[12, 9, 79], Operations: ['99-20=79'] Exploring Operation: 12+9=21, Resulting Numbers: [79, 21] Generated Node #0,1,0: 29:[79, 21] Operation: 12+9=21 Exploring Operation: 79-9=70, Resulting Numbers: [12, 70] Generated Node #0,1,1: 29:[12, 70] Operation: 79-9=70 Exploring Operation: 79-12=67, Resulting Numbers: [9, 67] Generated Node #0,1,2: 29:[9, 67] Operation: 79-12=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[79, 21], Operations: ['99-20=79', '12+9=21'] Exploring Operation: 79+21=100, Resulting Numbers: [100] 100,29 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 79*21=1659, Resulting Numbers: [1659] 1659,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[12, 70], Operations: ['99-20=79', '79-9=70'] Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,29 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[9, 67], Operations: ['99-20=79', '79-12=67'] Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 9*67=603, Resulting Numbers: [603] 603,29 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
[ 34, 49, 19, 20 ]
14
[ "49-34=15", "20-19=1", "15-1=14" ]
Current State: 14:[34, 49, 19, 20], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [19, 20, 15] Generated Node #2: [19, 20, 15] from Operation: 49-34=15 Current State: 14:[19, 20, 15], Operations: ['49-34=15'] Exploring Operation: 20-19=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 20-19=1 Current State: 14:[15, 1], Operations: ['49-34=15', '20-19=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[34, 49, 19, 20], Operations: [] Exploring Operation: 49-20=29, Resulting Numbers: [34, 19, 29] Generated Node #0,0: 14:[34, 19, 29] Operation: 49-20=29 Exploring Operation: 34-20=14, Resulting Numbers: [49, 19, 14] Generated Node #0,1: 14:[49, 19, 14] Operation: 34-20=14 Exploring Operation: 49-34=15, Resulting Numbers: [19, 20, 15] Generated Node #0,2: 14:[19, 20, 15] Operation: 49-34=15 Moving to Node #0,2 Current State: 14:[19, 20, 15], Operations: ['49-34=15'] Exploring Operation: 20-19=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 14:[15, 1] Operation: 20-19=1 Exploring Operation: 20-15=5, Resulting Numbers: [19, 5] Generated Node #0,2,1: 14:[19, 5] Operation: 20-15=5 Exploring Operation: 19-15=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 14:[20, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[15, 1], Operations: ['49-34=15', '20-19=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[34, 49, 19, 20], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [19, 20, 15] Generated Node #0,2: 14:[19, 20, 15] Operation: 49-34=15 Moving to Node #0,2 Current State: 14:[19, 20, 15], Operations: ['49-34=15'] Exploring Operation: 20-19=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 14:[15, 1] Operation: 20-19=1 Moving to Node #0,2,0 Current State: 14:[15, 1], Operations: ['49-34=15', '20-19=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 5, 45, 10, 61 ]
70
[ "10-5=5", "45/5=9", "61+9=70" ]
Current State: 70:[5, 45, 10, 61], Operations: [] Exploring Operation: 10-5=5, Resulting Numbers: [45, 61, 5] Generated Node #2: [45, 61, 5] from Operation: 10-5=5 Current State: 70:[45, 61, 5], Operations: ['10-5=5'] Exploring Operation: 45/5=9, Resulting Numbers: [61, 9] Generated Node #3: [61, 9] from Operation: 45/5=9 Current State: 70:[61, 9], Operations: ['10-5=5', '45/5=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[5, 45, 10, 61], Operations: [] Exploring Operation: 10+61=71, Resulting Numbers: [5, 45, 71] Generated Node #0,0: 70:[5, 45, 71] Operation: 10+61=71 Exploring Operation: 61-45=16, Resulting Numbers: [5, 10, 16] Generated Node #0,1: 70:[5, 10, 16] Operation: 61-45=16 Exploring Operation: 45/5=9, Resulting Numbers: [10, 61, 9] Generated Node #0,2: 70:[10, 61, 9] Operation: 45/5=9 Exploring Operation: 45-10=35, Resulting Numbers: [5, 61, 35] Generated Node #0,3: 70:[5, 61, 35] Operation: 45-10=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[5, 10, 16], Operations: ['61-45=16'] Exploring Operation: 10/5=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 70:[16, 2] Operation: 10/5=2 Exploring Operation: 16-10=6, Resulting Numbers: [5, 6] Generated Node #0,1,1: 70:[5, 6] Operation: 16-10=6 Exploring Operation: 16-5=11, Resulting Numbers: [10, 11] Generated Node #0,1,2: 70:[10, 11] Operation: 16-5=11 Exploring Operation: 10-5=5, Resulting Numbers: [16, 5] Generated Node #0,1,3: 70:[16, 5] Operation: 10-5=5 Moving to Node #0,1,1 Current State: 70:[5, 6], Operations: ['61-45=16', '16-10=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[10, 11], Operations: ['61-45=16', '16-5=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,70 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[16, 5], Operations: ['61-45=16', '10-5=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[16, 2], Operations: ['61-45=16', '10/5=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[5, 61, 35], Operations: ['45-10=35'] Exploring Operation: 35/5=7, Resulting Numbers: [61, 7] Generated Node #0,3,0: 70:[61, 7] Operation: 35/5=7 Exploring Operation: 61-35=26, Resulting Numbers: [5, 26] Generated Node #0,3,1: 70:[5, 26] Operation: 61-35=26 Exploring Operation: 5+61=66, Resulting Numbers: [35, 66] Generated Node #0,3,2: 70:[35, 66] Operation: 5+61=66 Exploring Operation: 61-5=56, Resulting Numbers: [35, 56] Generated Node #0,3,3: 70:[35, 56] Operation: 61-5=56 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 70:[35, 66], Operations: ['45-10=35', '5+61=66'] Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,70 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,70 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,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,3,0 Current State: 70:[61, 7], Operations: ['45-10=35', '35/5=7'] Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,70 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,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,3,1 Current State: 70:[5, 26], Operations: ['45-10=35', '61-35=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,70 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,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,3,3 Current State: 70:[35, 56], Operations: ['45-10=35', '61-5=56'] Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[10, 61, 9], Operations: ['45/5=9'] Exploring Operation: 10-9=1, Resulting Numbers: [61, 1] Generated Node #0,2,0: 70:[61, 1] Operation: 10-9=1 Exploring Operation: 10+9=19, Resulting Numbers: [61, 19] Generated Node #0,2,1: 70:[61, 19] Operation: 10+9=19 Exploring Operation: 61+9=70, Resulting Numbers: [10, 70] Generated Node #0,2,2: 70:[10, 70] Operation: 61+9=70 Exploring Operation: 10+61=71, Resulting Numbers: [9, 71] Generated Node #0,2,3: 70:[9, 71] Operation: 10+61=71 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[10, 70], Operations: ['45/5=9', '61+9=70'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 10*70=700, Resulting Numbers: [700] 700,70 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[9, 71], Operations: ['45/5=9', '10+61=71'] Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,70 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[61, 1], Operations: ['45/5=9', '10-9=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[61, 19], Operations: ['45/5=9', '10+9=19'] Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,70 unequal: No Solution Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[5, 45, 71], Operations: ['10+61=71'] Exploring Operation: 45-5=40, Resulting Numbers: [71, 40] Generated Node #0,0,0: 70:[71, 40] Operation: 45-5=40 Exploring Operation: 71-5=66, Resulting Numbers: [45, 66] Generated Node #0,0,1: 70:[45, 66] Operation: 71-5=66 Exploring Operation: 71-45=26, Resulting Numbers: [5, 26] Generated Node #0,0,2: 70:[5, 26] Operation: 71-45=26 Exploring Operation: 45/5=9, Resulting Numbers: [71, 9] Generated Node #0,0,3: 70:[71, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[71, 9], Operations: ['10+61=71', '45/5=9'] Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,70 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,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:[71, 40], Operations: ['10+61=71', '45-5=40'] Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,70 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,70 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[5, 26], Operations: ['10+61=71', '71-45=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,70 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[45, 66], Operations: ['10+61=71', '71-5=66'] Exploring Operation: 45*66=2970, Resulting Numbers: [2970] 2970,70 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 45+66=111, Resulting Numbers: [111] 111,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 67, 69, 45, 71 ]
19
[ "69-67=2", "45*2=90", "90-71=19" ]
Current State: 19:[67, 69, 45, 71], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [45, 71, 2] Generated Node #2: [45, 71, 2] from Operation: 69-67=2 Current State: 19:[45, 71, 2], Operations: ['69-67=2'] Exploring Operation: 45*2=90, Resulting Numbers: [71, 90] Generated Node #3: [71, 90] from Operation: 45*2=90 Current State: 19:[71, 90], Operations: ['69-67=2', '45*2=90'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[67, 69, 45, 71], Operations: [] Exploring Operation: 71-67=4, Resulting Numbers: [69, 45, 4] Generated Node #0,0: 19:[69, 45, 4] Operation: 71-67=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[69, 45, 4], Operations: ['71-67=4'] Exploring Operation: 69-45=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 19:[4, 24] Operation: 69-45=24 Moving to Node #0,0,0 Current State: 19:[4, 24], Operations: ['71-67=4', '69-45=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,19 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
[ 14, 61, 5, 34 ]
18
[ "61-14=47", "34-5=29", "47-29=18" ]
Current State: 18:[14, 61, 5, 34], Operations: [] Exploring Operation: 61-14=47, Resulting Numbers: [5, 34, 47] Generated Node #2: [5, 34, 47] from Operation: 61-14=47 Current State: 18:[5, 34, 47], Operations: ['61-14=47'] Exploring Operation: 34-5=29, Resulting Numbers: [47, 29] Generated Node #3: [47, 29] from Operation: 34-5=29 Current State: 18:[47, 29], Operations: ['61-14=47', '34-5=29'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[14, 61, 5, 34], Operations: [] Exploring Operation: 61-34=27, Resulting Numbers: [14, 5, 27] Generated Node #0,0: 18:[14, 5, 27] Operation: 61-34=27 Exploring Operation: 61-5=56, Resulting Numbers: [14, 34, 56] Generated Node #0,1: 18:[14, 34, 56] Operation: 61-5=56 Exploring Operation: 34-14=20, Resulting Numbers: [61, 5, 20] Generated Node #0,2: 18:[61, 5, 20] Operation: 34-14=20 Exploring Operation: 61-14=47, Resulting Numbers: [5, 34, 47] Generated Node #0,3: 18:[5, 34, 47] Operation: 61-14=47 Exploring Operation: 34-5=29, Resulting Numbers: [14, 61, 29] Generated Node #0,4: 18:[14, 61, 29] Operation: 34-5=29 Moving to Node #0,0 Current State: 18:[14, 5, 27], Operations: ['61-34=27'] Exploring Operation: 27-5=22, Resulting Numbers: [14, 22] Generated Node #0,0,0: 18:[14, 22] Operation: 27-5=22 Exploring Operation: 14-5=9, Resulting Numbers: [27, 9] Generated Node #0,0,1: 18:[27, 9] Operation: 14-5=9 Exploring Operation: 5+27=32, Resulting Numbers: [14, 32] Generated Node #0,0,2: 18:[14, 32] Operation: 5+27=32 Exploring Operation: 14+5=19, Resulting Numbers: [27, 19] Generated Node #0,0,3: 18:[27, 19] Operation: 14+5=19 Exploring Operation: 27-14=13, Resulting Numbers: [5, 13] Generated Node #0,0,4: 18:[5, 13] Operation: 27-14=13 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 18:[5, 13], Operations: ['61-34=27', '27-14=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[14, 61, 5, 34], Operations: [] Exploring Operation: 61-34=27, Resulting Numbers: [14, 5, 27] Generated Node #0,0: 18:[14, 5, 27] Operation: 61-34=27 Moving to Node #0,0 Current State: 18:[14, 5, 27], Operations: ['61-34=27'] Exploring Operation: 27-14=13, Resulting Numbers: [5, 13] Generated Node #0,0,4: 18:[5, 13] Operation: 27-14=13 Moving to Node #0,0,4 Current State: 18:[5, 13], Operations: ['61-34=27', '27-14=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 80, 84, 24, 24 ]
30
[ "84-80=4", "24/4=6", "24+6=30" ]
Current State: 30:[80, 84, 24, 24], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [24, 24, 4] Generated Node #2: [24, 24, 4] from Operation: 84-80=4 Current State: 30:[24, 24, 4], Operations: ['84-80=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,30 equal: Goal Reached Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[80, 84, 24, 24], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [80, 24, 60] Generated Node #0,0: 30:[80, 24, 60] Operation: 84-24=60 Exploring Operation: 80-24=56, Resulting Numbers: [84, 24, 56] Generated Node #0,1: 30:[84, 24, 56] Operation: 80-24=56 Exploring Operation: 84-80=4, Resulting Numbers: [24, 24, 4] Generated Node #0,2: 30:[24, 24, 4] Operation: 84-80=4 Exploring Operation: 80-24=56, Resulting Numbers: [84, 24, 56] Generated Node #0,3: 30:[84, 24, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[24, 24, 4], Operations: ['84-80=4'] Exploring Operation: 24-24=0, Resulting Numbers: [4, 0] Generated Node #0,2,0: 30:[4, 0] Operation: 24-24=0 Exploring Operation: 24/4=6, Resulting Numbers: [24, 6] Generated Node #0,2,1: 30:[24, 6] Operation: 24/4=6 Exploring Operation: 24/24=1, Resulting Numbers: [4, 1] Generated Node #0,2,2: 30:[4, 1] Operation: 24/24=1 Exploring Operation: 24/4=6, Resulting Numbers: [24, 6] Generated Node #0,2,3: 30:[24, 6] Operation: 24/4=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 30:[4, 1], Operations: ['84-80=4', '24/24=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[4, 0], Operations: ['84-80=4', '24-24=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[24, 6], Operations: ['84-80=4', '24/4=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[80, 84, 24, 24], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [24, 24, 4] Generated Node #0,2: 30:[24, 24, 4] Operation: 84-80=4 Moving to Node #0,2 Current State: 30:[24, 24, 4], Operations: ['84-80=4'] Exploring Operation: 24/4=6, Resulting Numbers: [24, 6] Generated Node #0,2,1: 30:[24, 6] Operation: 24/4=6 Moving to Node #0,2,1 Current State: 30:[24, 6], Operations: ['84-80=4', '24/4=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 14, 21, 74, 60 ]
49
[ "14+21=35", "74-60=14", "35+14=49" ]
Current State: 49:[14, 21, 74, 60], Operations: [] Exploring Operation: 14+21=35, Resulting Numbers: [74, 60, 35] Generated Node #2: [74, 60, 35] from Operation: 14+21=35 Current State: 49:[74, 60, 35], Operations: ['14+21=35'] Exploring Operation: 74-60=14, Resulting Numbers: [35, 14] Generated Node #3: [35, 14] from Operation: 74-60=14 Current State: 49:[35, 14], Operations: ['14+21=35', '74-60=14'] Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[14, 21, 74, 60], Operations: [] Exploring Operation: 74-21=53, Resulting Numbers: [14, 60, 53] Generated Node #0,0: 49:[14, 60, 53] Operation: 74-21=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[14, 60, 53], Operations: ['74-21=53'] Exploring Operation: 60-14=46, Resulting Numbers: [53, 46] Generated Node #0,0,0: 49:[53, 46] Operation: 60-14=46 Moving to Node #0,0,0 Current State: 49:[53, 46], Operations: ['74-21=53', '60-14=46'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,49 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
[ 15, 29, 79, 15 ]
50
[ "15+29=44", "79+15=94", "94-44=50" ]
Current State: 50:[15, 29, 79, 15], Operations: [] Exploring Operation: 15+29=44, Resulting Numbers: [79, 44] Generated Node #2: [79, 44] from Operation: 15+29=44 Current State: 50:[79, 44], Operations: ['15+29=44'] Exploring Operation: 79+15=94, Resulting Numbers: [44, 94] Generated Node #3: [44, 94] from Operation: 79+15=94 Current State: 50:[44, 94], Operations: ['15+29=44', '79+15=94'] Exploring Operation: 94-44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[15, 29, 79, 15], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [29, 15, 64] Generated Node #0,0: 50:[29, 15, 64] Operation: 79-15=64 Exploring Operation: 79-29=50, Resulting Numbers: [15, 15, 50] Generated Node #0,1: 50:[15, 15, 50] Operation: 79-29=50 Exploring Operation: 79-15=64, Resulting Numbers: [15, 29, 64] Generated Node #0,2: 50:[15, 29, 64] Operation: 79-15=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[15, 15, 50], Operations: ['79-29=50'] Exploring Operation: 15+15=30, Resulting Numbers: [50, 30] Generated Node #0,1,0: 50:[50, 30] Operation: 15+15=30 Exploring Operation: 15-15=0, Resulting Numbers: [50, 0] Generated Node #0,1,1: 50:[50, 0] Operation: 15-15=0 Exploring Operation: 15/15=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 50:[50, 1] Operation: 15/15=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[50, 1], Operations: ['79-29=50', '15/15=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[15, 29, 79, 15], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [15, 15, 50] Generated Node #0,1: 50:[15, 15, 50] Operation: 79-29=50 Moving to Node #0,1 Current State: 50:[15, 15, 50], Operations: ['79-29=50'] Exploring Operation: 15/15=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 50:[50, 1] Operation: 15/15=1 Moving to Node #0,1,2 Current State: 50:[50, 1], Operations: ['79-29=50', '15/15=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 5, 13, 20, 67 ]
79
[ "13-5=8", "20+67=87", "87-8=79" ]
Current State: 79:[5, 13, 20, 67], Operations: [] Exploring Operation: 13-5=8, Resulting Numbers: [20, 67, 8] Generated Node #2: [20, 67, 8] from Operation: 13-5=8 Current State: 79:[20, 67, 8], Operations: ['13-5=8'] Exploring Operation: 20+67=87, Resulting Numbers: [8, 87] Generated Node #3: [8, 87] from Operation: 20+67=87 Current State: 79:[8, 87], Operations: ['13-5=8', '20+67=87'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[5, 13, 20, 67], Operations: [] Exploring Operation: 5+20=25, Resulting Numbers: [13, 67, 25] Generated Node #0,0: 79:[13, 67, 25] Operation: 5+20=25 Exploring Operation: 5*20=100, Resulting Numbers: [13, 67, 100] Generated Node #0,1: 79:[13, 67, 100] Operation: 5*20=100 Exploring Operation: 5+13=18, Resulting Numbers: [20, 67, 18] Generated Node #0,2: 79:[20, 67, 18] Operation: 5+13=18 Exploring Operation: 5*13=65, Resulting Numbers: [20, 67, 65] Generated Node #0,3: 79:[20, 67, 65] Operation: 5*13=65 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[20, 67, 65], Operations: ['5*13=65'] Exploring Operation: 67-20=47, Resulting Numbers: [65, 47] Generated Node #0,3,0: 79:[65, 47] Operation: 67-20=47 Exploring Operation: 20+65=85, Resulting Numbers: [67, 85] Generated Node #0,3,1: 79:[67, 85] Operation: 20+65=85 Exploring Operation: 20+67=87, Resulting Numbers: [65, 87] Generated Node #0,3,2: 79:[65, 87] Operation: 20+67=87 Exploring Operation: 65-20=45, Resulting Numbers: [67, 45] Generated Node #0,3,3: 79:[67, 45] Operation: 65-20=45 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[67, 85], Operations: ['5*13=65', '20+65=85'] Exploring Operation: 67+85=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 67*85=5695, Resulting Numbers: [5695] 5695,79 unequal: No Solution Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,79 unequal: No Solution No 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: 79:[65, 87], Operations: ['5*13=65', '20+67=87'] Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 65+87=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 65*87=5655, Resulting Numbers: [5655] 5655,79 unequal: No Solution No 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: 79:[65, 47], Operations: ['5*13=65', '67-20=47'] Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,79 unequal: No Solution Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 65*47=3055, Resulting Numbers: [3055] 3055,79 unequal: No Solution No 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: 79:[67, 45], Operations: ['5*13=65', '65-20=45'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[13, 67, 100], Operations: ['5*20=100'] Exploring Operation: 13+67=80, Resulting Numbers: [100, 80] Generated Node #0,1,0: 79:[100, 80] Operation: 13+67=80 Exploring Operation: 67-13=54, Resulting Numbers: [100, 54] Generated Node #0,1,1: 79:[100, 54] Operation: 67-13=54 Exploring Operation: 100-13=87, Resulting Numbers: [67, 87] Generated Node #0,1,2: 79:[67, 87] Operation: 100-13=87 Exploring Operation: 13+100=113, Resulting Numbers: [67, 113] Generated Node #0,1,3: 79:[67, 113] Operation: 13+100=113 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[67, 87], Operations: ['5*20=100', '100-13=87'] Exploring Operation: 67*87=5829, Resulting Numbers: [5829] 5829,79 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 67+87=154, Resulting Numbers: [154] 154,79 unequal: No Solution No 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: 79:[100, 80], Operations: ['5*20=100', '13+67=80'] Exploring Operation: 100*80=8000, Resulting Numbers: [8000] 8000,79 unequal: No Solution Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 100+80=180, Resulting Numbers: [180] 180,79 unequal: No Solution No 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: 79:[100, 54], Operations: ['5*20=100', '67-13=54'] Exploring Operation: 100+54=154, Resulting Numbers: [154] 154,79 unequal: No Solution Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 100*54=5400, Resulting Numbers: [5400] 5400,79 unequal: No Solution No 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: 79:[67, 113], Operations: ['5*20=100', '13+100=113'] Exploring Operation: 113-67=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 67*113=7571, Resulting Numbers: [7571] 7571,79 unequal: No Solution Exploring Operation: 67+113=180, Resulting Numbers: [180] 180,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[13, 67, 25], Operations: ['5+20=25'] Exploring Operation: 13+25=38, Resulting Numbers: [67, 38] Generated Node #0,0,0: 79:[67, 38] Operation: 13+25=38 Exploring Operation: 67-13=54, Resulting Numbers: [25, 54] Generated Node #0,0,1: 79:[25, 54] Operation: 67-13=54 Exploring Operation: 13+67=80, Resulting Numbers: [25, 80] Generated Node #0,0,2: 79:[25, 80] Operation: 13+67=80 Exploring Operation: 25-13=12, Resulting Numbers: [67, 12] Generated Node #0,0,3: 79:[67, 12] Operation: 25-13=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[67, 38], Operations: ['5+20=25', '13+25=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,79 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,79 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,79 unequal: No Solution No 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: 79:[25, 80], Operations: ['5+20=25', '13+67=80'] Exploring Operation: 25+80=105, Resulting Numbers: [105] 105,79 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 25*80=2000, Resulting Numbers: [2000] 2000,79 unequal: No Solution No 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: 79:[25, 54], Operations: ['5+20=25', '67-13=54'] Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,79 unequal: No Solution Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[5, 13, 20, 67], Operations: [] Exploring Operation: 5+20=25, Resulting Numbers: [13, 67, 25] Generated Node #0,0: 79:[13, 67, 25] Operation: 5+20=25 Moving to Node #0,0 Current State: 79:[13, 67, 25], Operations: ['5+20=25'] Exploring Operation: 67-13=54, Resulting Numbers: [25, 54] Generated Node #0,0,1: 79:[25, 54] Operation: 67-13=54 Moving to Node #0,0,1 Current State: 79:[25, 54], Operations: ['5+20=25', '67-13=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 4, 1, 44, 32 ]
88
[ "1+32=33", "4*33=132", "132-44=88" ]
Current State: 88:[4, 1, 44, 32], Operations: [] Exploring Operation: 1+32=33, Resulting Numbers: [4, 44, 33] Generated Node #2: [4, 44, 33] from Operation: 1+32=33 Current State: 88:[4, 44, 33], Operations: ['1+32=33'] Exploring Operation: 4*33=132, Resulting Numbers: [44, 132] Generated Node #3: [44, 132] from Operation: 4*33=132 Current State: 88:[44, 132], Operations: ['1+32=33', '4*33=132'] Exploring Operation: 132-44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[4, 1, 44, 32], Operations: [] Exploring Operation: 44-32=12, Resulting Numbers: [4, 1, 12] Generated Node #0,0: 88:[4, 1, 12] Operation: 44-32=12 Exploring Operation: 32/4=8, Resulting Numbers: [1, 44, 8] Generated Node #0,1: 88:[1, 44, 8] Operation: 32/4=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[1, 44, 8], Operations: ['32/4=8'] Exploring Operation: 44/1=44, Resulting Numbers: [8, 44] Generated Node #0,1,0: 88:[8, 44] Operation: 44/1=44 Exploring Operation: 1*44=44, Resulting Numbers: [8, 44] Generated Node #0,1,1: 88:[8, 44] Operation: 1*44=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[8, 44], Operations: ['32/4=8', '44/1=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,88 unequal: No Solution No 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: 88:[8, 44], Operations: ['32/4=8', '1*44=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,88 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: 88:[4, 1, 12], Operations: ['44-32=12'] Exploring Operation: 4*1=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 88:[12, 4] Operation: 4*1=4 Exploring Operation: 12-1=11, Resulting Numbers: [4, 11] Generated Node #0,0,1: 88:[4, 11] Operation: 12-1=11 Moving to Node #0,0,1 Current State: 88:[4, 11], Operations: ['44-32=12', '12-1=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[12, 4], Operations: ['44-32=12', '4*1=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,88 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
[ 80, 4, 89, 16 ]
20
[ "89-80=9", "4*9=36", "36-16=20" ]
Current State: 20:[80, 4, 89, 16], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [4, 16, 9] Generated Node #2: [4, 16, 9] from Operation: 89-80=9 Current State: 20:[4, 16, 9], Operations: ['89-80=9'] Exploring Operation: 4*9=36, Resulting Numbers: [16, 36] Generated Node #3: [16, 36] from Operation: 4*9=36 Current State: 20:[16, 36], Operations: ['89-80=9', '4*9=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[80, 4, 89, 16], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [4, 16, 9] Generated Node #0,0: 20:[4, 16, 9] Operation: 89-80=9 Exploring Operation: 80/16=5, Resulting Numbers: [4, 89, 5] Generated Node #0,1: 20:[4, 89, 5] Operation: 80/16=5 Moving to Node #0,0 Current State: 20:[4, 16, 9], Operations: ['89-80=9'] Exploring Operation: 16/4=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 20:[9, 4] Operation: 16/4=4 Exploring Operation: 4+16=20, Resulting Numbers: [9, 20] Generated Node #0,0,1: 20:[9, 20] Operation: 4+16=20 Moving to Node #0,1 Current State: 20:[4, 89, 5], Operations: ['80/16=5'] Exploring Operation: 89-4=85, Resulting Numbers: [5, 85] Generated Node #0,1,0: 20:[5, 85] Operation: 89-4=85 Exploring Operation: 89-5=84, Resulting Numbers: [4, 84] Generated Node #0,1,1: 20:[4, 84] Operation: 89-5=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[4, 84], Operations: ['80/16=5', '89-5=84'] Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,20 unequal: No Solution No 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: 20:[5, 85], Operations: ['80/16=5', '89-4=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,20 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: 20:[9, 4], Operations: ['89-80=9', '16/4=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[9, 20], Operations: ['89-80=9', '4+16=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,20 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 41, 26, 63, 59 ]
19
[ "41-26=15", "63-59=4", "15+4=19" ]
Current State: 19:[41, 26, 63, 59], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [63, 59, 15] Generated Node #2: [63, 59, 15] from Operation: 41-26=15 Current State: 19:[63, 59, 15], Operations: ['41-26=15'] Exploring Operation: 63-59=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 63-59=4 Current State: 19:[15, 4], Operations: ['41-26=15', '63-59=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[41, 26, 63, 59], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [26, 59, 22] Generated Node #0,0: 19:[26, 59, 22] Operation: 63-41=22 Exploring Operation: 59-41=18, Resulting Numbers: [26, 63, 18] Generated Node #0,1: 19:[26, 63, 18] Operation: 59-41=18 Exploring Operation: 63-59=4, Resulting Numbers: [41, 26, 4] Generated Node #0,2: 19:[41, 26, 4] Operation: 63-59=4 Moving to Node #0,2 Current State: 19:[41, 26, 4], Operations: ['63-59=4'] Exploring Operation: 41-4=37, Resulting Numbers: [26, 37] Generated Node #0,2,0: 19:[26, 37] Operation: 41-4=37 Exploring Operation: 26-4=22, Resulting Numbers: [41, 22] Generated Node #0,2,1: 19:[41, 22] Operation: 26-4=22 Exploring Operation: 41-26=15, Resulting Numbers: [4, 15] Generated Node #0,2,2: 19:[4, 15] Operation: 41-26=15 Moving to Node #0,0 Current State: 19:[26, 59, 22], Operations: ['63-41=22'] Exploring Operation: 59-26=33, Resulting Numbers: [22, 33] Generated Node #0,0,0: 19:[22, 33] Operation: 59-26=33 Exploring Operation: 59-22=37, Resulting Numbers: [26, 37] Generated Node #0,0,1: 19:[26, 37] Operation: 59-22=37 Exploring Operation: 26-22=4, Resulting Numbers: [59, 4] Generated Node #0,0,2: 19:[59, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[22, 33], Operations: ['63-41=22', '59-26=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,19 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[26, 37], Operations: ['63-41=22', '59-22=37'] Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,19 unequal: No Solution Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[59, 4], Operations: ['63-41=22', '26-22=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,19 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: 19:[26, 63, 18], Operations: ['59-41=18'] Exploring Operation: 63-18=45, Resulting Numbers: [26, 45] Generated Node #0,1,0: 19:[26, 45] Operation: 63-18=45 Exploring Operation: 63-26=37, Resulting Numbers: [18, 37] Generated Node #0,1,1: 19:[18, 37] Operation: 63-26=37 Exploring Operation: 26-18=8, Resulting Numbers: [63, 8] Generated Node #0,1,2: 19:[63, 8] Operation: 26-18=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[18, 37], Operations: ['59-41=18', '63-26=37'] Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[41, 26, 63, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [26, 63, 18] Generated Node #0,1: 19:[26, 63, 18] Operation: 59-41=18 Moving to Node #0,1 Current State: 19:[26, 63, 18], Operations: ['59-41=18'] Exploring Operation: 63-26=37, Resulting Numbers: [18, 37] Generated Node #0,1,1: 19:[18, 37] Operation: 63-26=37 Moving to Node #0,1,1 Current State: 19:[18, 37], Operations: ['59-41=18', '63-26=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 28, 72, 87, 78 ]
91
[ "28+72=100", "87-78=9", "100-9=91" ]
Current State: 91:[28, 72, 87, 78], Operations: [] Exploring Operation: 28+72=100, Resulting Numbers: [87, 78, 100] Generated Node #2: [87, 78, 100] from Operation: 28+72=100 Current State: 91:[87, 78, 100], Operations: ['28+72=100'] Exploring Operation: 87-78=9, Resulting Numbers: [100, 9] Generated Node #3: [100, 9] from Operation: 87-78=9 Current State: 91:[100, 9], Operations: ['28+72=100', '87-78=9'] Exploring Operation: 100-9=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[28, 72, 87, 78], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [28, 78, 15] Generated Node #0,0: 91:[28, 78, 15] Operation: 87-72=15 Exploring Operation: 78-72=6, Resulting Numbers: [28, 87, 6] Generated Node #0,1: 91:[28, 87, 6] Operation: 78-72=6 Exploring Operation: 28+72=100, Resulting Numbers: [87, 78, 100] Generated Node #0,2: 91:[87, 78, 100] Operation: 28+72=100 Moving to Node #0,1 Current State: 91:[28, 87, 6], Operations: ['78-72=6'] Exploring Operation: 28-6=22, Resulting Numbers: [87, 22] Generated Node #0,1,0: 91:[87, 22] Operation: 28-6=22 Exploring Operation: 87+6=93, Resulting Numbers: [28, 93] Generated Node #0,1,1: 91:[28, 93] Operation: 87+6=93 Exploring Operation: 28+87=115, Resulting Numbers: [6, 115] Generated Node #0,1,2: 91:[6, 115] Operation: 28+87=115 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[87, 22], Operations: ['78-72=6', '28-6=22'] Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,91 unequal: No Solution Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,91 unequal: No Solution Exploring Operation: 87-22=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,1,1 Current State: 91:[28, 93], Operations: ['78-72=6', '87+6=93'] Exploring Operation: 28*93=2604, Resulting Numbers: [2604] 2604,91 unequal: No Solution Exploring Operation: 28+93=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 93-28=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,1,2 Current State: 91:[6, 115], Operations: ['78-72=6', '28+87=115'] Exploring Operation: 6+115=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 115-6=109, Resulting Numbers: [109] 109,91 unequal: No Solution Exploring Operation: 6*115=690, Resulting Numbers: [690] 690,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:[87, 78, 100], Operations: ['28+72=100'] Exploring Operation: 100-87=13, Resulting Numbers: [78, 13] Generated Node #0,2,0: 91:[78, 13] Operation: 100-87=13 Exploring Operation: 100-78=22, Resulting Numbers: [87, 22] Generated Node #0,2,1: 91:[87, 22] Operation: 100-78=22 Exploring Operation: 87-78=9, Resulting Numbers: [100, 9] Generated Node #0,2,2: 91:[100, 9] Operation: 87-78=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[100, 9], Operations: ['28+72=100', '87-78=9'] Exploring Operation: 100+9=109, Resulting Numbers: [109] 109,91 unequal: No Solution Exploring Operation: 100-9=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[28, 72, 87, 78], Operations: [] Exploring Operation: 28+72=100, Resulting Numbers: [87, 78, 100] Generated Node #0,2: 91:[87, 78, 100] Operation: 28+72=100 Moving to Node #0,2 Current State: 91:[87, 78, 100], Operations: ['28+72=100'] Exploring Operation: 87-78=9, Resulting Numbers: [100, 9] Generated Node #0,2,2: 91:[100, 9] Operation: 87-78=9 Moving to Node #0,2,2 Current State: 91:[100, 9], Operations: ['28+72=100', '87-78=9'] Exploring Operation: 100-9=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 63, 9, 5, 2 ]
47
[ "63-9=54", "5+2=7", "54-7=47" ]
Current State: 47:[63, 9, 5, 2], Operations: [] Exploring Operation: 63-9=54, Resulting Numbers: [5, 2, 54] Generated Node #2: [5, 2, 54] from Operation: 63-9=54 Current State: 47:[5, 2, 54], Operations: ['63-9=54'] Exploring Operation: 5+2=7, Resulting Numbers: [54, 7] Generated Node #3: [54, 7] from Operation: 5+2=7 Current State: 47:[54, 7], Operations: ['63-9=54', '5+2=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[63, 9, 5, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [63, 9, 10] Generated Node #0,0: 47:[63, 9, 10] Operation: 5*2=10 Exploring Operation: 63-9=54, Resulting Numbers: [5, 2, 54] Generated Node #0,1: 47:[5, 2, 54] Operation: 63-9=54 Exploring Operation: 9*5=45, Resulting Numbers: [63, 2, 45] Generated Node #0,2: 47:[63, 2, 45] Operation: 9*5=45 Exploring Operation: 9*2=18, Resulting Numbers: [63, 5, 18] Generated Node #0,3: 47:[63, 5, 18] Operation: 9*2=18 Moving to Node #0,2 Current State: 47:[63, 2, 45], Operations: ['9*5=45'] Exploring Operation: 63+2=65, Resulting Numbers: [45, 65] Generated Node #0,2,0: 47:[45, 65] Operation: 63+2=65 Exploring Operation: 45-2=43, Resulting Numbers: [63, 43] Generated Node #0,2,1: 47:[63, 43] Operation: 45-2=43 Exploring Operation: 2+45=47, Resulting Numbers: [63, 47] Generated Node #0,2,2: 47:[63, 47] Operation: 2+45=47 Exploring Operation: 63-2=61, Resulting Numbers: [45, 61] Generated Node #0,2,3: 47:[45, 61] Operation: 63-2=61 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[63, 47], Operations: ['9*5=45', '2+45=47'] Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,47 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,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,2,3 Current State: 47:[45, 61], Operations: ['9*5=45', '63-2=61'] Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,47 unequal: No Solution Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,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,2,0 Current State: 47:[45, 65], Operations: ['9*5=45', '63+2=65'] Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,47 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,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,2,1 Current State: 47:[63, 43], Operations: ['9*5=45', '45-2=43'] Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,47 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,47 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: 47:[63, 5, 18], Operations: ['9*2=18'] Exploring Operation: 63+5=68, Resulting Numbers: [18, 68] Generated Node #0,3,0: 47:[18, 68] Operation: 63+5=68 Exploring Operation: 5+18=23, Resulting Numbers: [63, 23] Generated Node #0,3,1: 47:[63, 23] Operation: 5+18=23 Exploring Operation: 63-5=58, Resulting Numbers: [18, 58] Generated Node #0,3,2: 47:[18, 58] Operation: 63-5=58 Exploring Operation: 63-18=45, Resulting Numbers: [5, 45] Generated Node #0,3,3: 47:[5, 45] Operation: 63-18=45 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[63, 23], Operations: ['9*2=18', '5+18=23'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,47 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[18, 58], Operations: ['9*2=18', '63-5=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[5, 45], Operations: ['9*2=18', '63-18=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[18, 68], Operations: ['9*2=18', '63+5=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,47 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,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:[63, 9, 10], Operations: ['5*2=10'] Exploring Operation: 63-10=53, Resulting Numbers: [9, 53] Generated Node #0,0,0: 47:[9, 53] Operation: 63-10=53 Exploring Operation: 9*10=90, Resulting Numbers: [63, 90] Generated Node #0,0,1: 47:[63, 90] Operation: 9*10=90 Exploring Operation: 63-9=54, Resulting Numbers: [10, 54] Generated Node #0,0,2: 47:[10, 54] Operation: 63-9=54 Exploring Operation: 9+10=19, Resulting Numbers: [63, 19] Generated Node #0,0,3: 47:[63, 19] Operation: 9+10=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[9, 53], Operations: ['5*2=10', '63-10=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 9*53=477, Resulting Numbers: [477] 477,47 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,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,2 Current State: 47:[10, 54], Operations: ['5*2=10', '63-9=54'] Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,47 unequal: No Solution Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,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,3 Current State: 47:[63, 19], Operations: ['5*2=10', '9+10=19'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 63*19=1197, Resulting Numbers: [1197] 1197,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[63, 90], Operations: ['5*2=10', '9*10=90'] Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,47 unequal: No Solution Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[5, 2, 54], Operations: ['63-9=54'] Exploring Operation: 5*2=10, Resulting Numbers: [54, 10] Generated Node #0,1,0: 47:[54, 10] Operation: 5*2=10 Exploring Operation: 54-2=52, Resulting Numbers: [5, 52] Generated Node #0,1,1: 47:[5, 52] Operation: 54-2=52 Exploring Operation: 5+2=7, Resulting Numbers: [54, 7] Generated Node #0,1,2: 47:[54, 7] Operation: 5+2=7 Exploring Operation: 54-5=49, Resulting Numbers: [2, 49] Generated Node #0,1,3: 47:[2, 49] Operation: 54-5=49 Moving to Node #0,1,0 Current State: 47:[54, 10], Operations: ['63-9=54', '5*2=10'] Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 54*10=540, Resulting Numbers: [540] 540,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[54, 7], Operations: ['63-9=54', '5+2=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[63, 9, 5, 2], Operations: [] Exploring Operation: 63-9=54, Resulting Numbers: [5, 2, 54] Generated Node #0,1: 47:[5, 2, 54] Operation: 63-9=54 Moving to Node #0,1 Current State: 47:[5, 2, 54], Operations: ['63-9=54'] Exploring Operation: 5+2=7, Resulting Numbers: [54, 7] Generated Node #0,1,2: 47:[54, 7] Operation: 5+2=7 Moving to Node #0,1,2 Current State: 47:[54, 7], Operations: ['63-9=54', '5+2=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 88, 50, 4, 6 ]
94
[ "6-4=2", "88/2=44", "50+44=94" ]
Current State: 94:[88, 50, 4, 6], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [88, 50, 2] Generated Node #2: [88, 50, 2] from Operation: 6-4=2 Current State: 94:[88, 50, 2], Operations: ['6-4=2'] Exploring Operation: 88/2=44, Resulting Numbers: [50, 44] Generated Node #3: [50, 44] from Operation: 88/2=44 Current State: 94:[50, 44], Operations: ['6-4=2', '88/2=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 50, 4, 6], Operations: [] Exploring Operation: 88+4=92, Resulting Numbers: [50, 6, 92] Generated Node #0,0: 94:[50, 6, 92] Operation: 88+4=92 Exploring Operation: 6-4=2, Resulting Numbers: [88, 50, 2] Generated Node #0,1: 94:[88, 50, 2] Operation: 6-4=2 Exploring Operation: 50-6=44, Resulting Numbers: [88, 4, 44] Generated Node #0,2: 94:[88, 4, 44] Operation: 50-6=44 Exploring Operation: 88+6=94, Resulting Numbers: [50, 4, 94] Generated Node #0,3: 94:[50, 4, 94] Operation: 88+6=94 Exploring Operation: 50-4=46, Resulting Numbers: [88, 6, 46] Generated Node #0,4: 94:[88, 6, 46] Operation: 50-4=46 Moving to Node #0,3 Current State: 94:[50, 4, 94], Operations: ['88+6=94'] Exploring Operation: 94-4=90, Resulting Numbers: [50, 90] Generated Node #0,3,0: 94:[50, 90] Operation: 94-4=90 Exploring Operation: 4+94=98, Resulting Numbers: [50, 98] Generated Node #0,3,1: 94:[50, 98] Operation: 4+94=98 Exploring Operation: 50+4=54, Resulting Numbers: [94, 54] Generated Node #0,3,2: 94:[94, 54] Operation: 50+4=54 Exploring Operation: 50-4=46, Resulting Numbers: [94, 46] Generated Node #0,3,3: 94:[94, 46] Operation: 50-4=46 Exploring Operation: 94-50=44, Resulting Numbers: [4, 44] Generated Node #0,3,4: 94:[4, 44] Operation: 94-50=44 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[94, 46], Operations: ['88+6=94', '50-4=46'] Exploring Operation: 94*46=4324, Resulting Numbers: [4324] 4324,94 unequal: No Solution Exploring Operation: 94+46=140, Resulting Numbers: [140] 140,94 unequal: No Solution Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 94:[4, 44], Operations: ['88+6=94', '94-50=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[50, 90], Operations: ['88+6=94', '94-4=90'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 50+90=140, Resulting Numbers: [140] 140,94 unequal: No Solution Exploring Operation: 50*90=4500, Resulting Numbers: [4500] 4500,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[50, 98], Operations: ['88+6=94', '4+94=98'] Exploring Operation: 50+98=148, Resulting Numbers: [148] 148,94 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 50*98=4900, Resulting Numbers: [4900] 4900,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[94, 54], Operations: ['88+6=94', '50+4=54'] Exploring Operation: 94*54=5076, Resulting Numbers: [5076] 5076,94 unequal: No Solution Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 94+54=148, Resulting Numbers: [148] 148,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[88, 50, 2], Operations: ['6-4=2'] Exploring Operation: 88+2=90, Resulting Numbers: [50, 90] Generated Node #0,1,0: 94:[50, 90] Operation: 88+2=90 Exploring Operation: 88/2=44, Resulting Numbers: [50, 44] Generated Node #0,1,1: 94:[50, 44] Operation: 88/2=44 Exploring Operation: 88-50=38, Resulting Numbers: [2, 38] Generated Node #0,1,2: 94:[2, 38] Operation: 88-50=38 Exploring Operation: 88-2=86, Resulting Numbers: [50, 86] Generated Node #0,1,3: 94:[50, 86] Operation: 88-2=86 Exploring Operation: 50-2=48, Resulting Numbers: [88, 48] Generated Node #0,1,4: 94:[88, 48] Operation: 50-2=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[50, 44], Operations: ['6-4=2', '88/2=44'] Exploring Operation: 50*44=2200, Resulting Numbers: [2200] 2200,94 unequal: No Solution Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 50, 4, 6], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [88, 50, 2] Generated Node #0,1: 94:[88, 50, 2] Operation: 6-4=2 Moving to Node #0,1 Current State: 94:[88, 50, 2], Operations: ['6-4=2'] Exploring Operation: 88/2=44, Resulting Numbers: [50, 44] Generated Node #0,1,1: 94:[50, 44] Operation: 88/2=44 Moving to Node #0,1,1 Current State: 94:[50, 44], Operations: ['6-4=2', '88/2=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 41, 9, 66, 17 ]
46
[ "41+66=107", "9*17=153", "153-107=46" ]
Current State: 46:[41, 9, 66, 17], Operations: [] Exploring Operation: 41+66=107, Resulting Numbers: [9, 17, 107] Generated Node #2: [9, 17, 107] from Operation: 41+66=107 Current State: 46:[9, 17, 107], Operations: ['41+66=107'] Exploring Operation: 9*17=153, Resulting Numbers: [107, 153] Generated Node #3: [107, 153] from Operation: 9*17=153 Current State: 46:[107, 153], Operations: ['41+66=107', '9*17=153'] Exploring Operation: 153-107=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[41, 9, 66, 17], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [41, 17, 57] Generated Node #0,0: 46:[41, 17, 57] Operation: 66-9=57 Exploring Operation: 66-41=25, Resulting Numbers: [9, 17, 25] Generated Node #0,1: 46:[9, 17, 25] Operation: 66-41=25 Exploring Operation: 9+17=26, Resulting Numbers: [41, 66, 26] Generated Node #0,2: 46:[41, 66, 26] Operation: 9+17=26 Exploring Operation: 41-17=24, Resulting Numbers: [9, 66, 24] Generated Node #0,3: 46:[9, 66, 24] Operation: 41-17=24 Exploring Operation: 66-17=49, Resulting Numbers: [41, 9, 49] Generated Node #0,4: 46:[41, 9, 49] Operation: 66-17=49 Moving to Node #0,1 Current State: 46:[9, 17, 25], Operations: ['66-41=25'] Exploring Operation: 25-9=16, Resulting Numbers: [17, 16] Generated Node #0,1,0: 46:[17, 16] Operation: 25-9=16 Exploring Operation: 17-9=8, Resulting Numbers: [25, 8] Generated Node #0,1,1: 46:[25, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [25, 26] Generated Node #0,1,2: 46:[25, 26] Operation: 9+17=26 Exploring Operation: 17+25=42, Resulting Numbers: [9, 42] Generated Node #0,1,3: 46:[9, 42] Operation: 17+25=42 Exploring Operation: 25-17=8, Resulting Numbers: [9, 8] Generated Node #0,1,4: 46:[9, 8] Operation: 25-17=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[25, 26], Operations: ['66-41=25', '9+17=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,46 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,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,1,1 Current State: 46:[25, 8], Operations: ['66-41=25', '17-9=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,46 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,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,1,3 Current State: 46:[9, 42], Operations: ['66-41=25', '17+25=42'] Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,46 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,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,1,0 Current State: 46:[17, 16], Operations: ['66-41=25', '25-9=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,46 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,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,1,4 Current State: 46:[9, 8], Operations: ['66-41=25', '25-17=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 46:[41, 9, 49], Operations: ['66-17=49'] Exploring Operation: 41+9=50, Resulting Numbers: [49, 50] Generated Node #0,4,0: 46:[49, 50] Operation: 41+9=50 Exploring Operation: 49-9=40, Resulting Numbers: [41, 40] Generated Node #0,4,1: 46:[41, 40] Operation: 49-9=40 Exploring Operation: 41-9=32, Resulting Numbers: [49, 32] Generated Node #0,4,2: 46:[49, 32] Operation: 41-9=32 Exploring Operation: 49-41=8, Resulting Numbers: [9, 8] Generated Node #0,4,3: 46:[9, 8] Operation: 49-41=8 Exploring Operation: 9+49=58, Resulting Numbers: [41, 58] Generated Node #0,4,4: 46:[41, 58] Operation: 9+49=58 Moving to Node #0,0 Current State: 46:[41, 17, 57], Operations: ['66-9=57'] Exploring Operation: 41+17=58, Resulting Numbers: [57, 58] Generated Node #0,0,0: 46:[57, 58] Operation: 41+17=58 Exploring Operation: 17+57=74, Resulting Numbers: [41, 74] Generated Node #0,0,1: 46:[41, 74] Operation: 17+57=74 Exploring Operation: 57-41=16, Resulting Numbers: [17, 16] Generated Node #0,0,2: 46:[17, 16] Operation: 57-41=16 Exploring Operation: 41-17=24, Resulting Numbers: [57, 24] Generated Node #0,0,3: 46:[57, 24] Operation: 41-17=24 Exploring Operation: 57-17=40, Resulting Numbers: [41, 40] Generated Node #0,0,4: 46:[41, 40] Operation: 57-17=40 Moving to Node #0,2 Current State: 46:[41, 66, 26], Operations: ['9+17=26'] Exploring Operation: 66-41=25, Resulting Numbers: [26, 25] Generated Node #0,2,0: 46:[26, 25] Operation: 66-41=25 Exploring Operation: 66+26=92, Resulting Numbers: [41, 92] Generated Node #0,2,1: 46:[41, 92] Operation: 66+26=92 Exploring Operation: 41-26=15, Resulting Numbers: [66, 15] Generated Node #0,2,2: 46:[66, 15] Operation: 41-26=15 Exploring Operation: 41+26=67, Resulting Numbers: [66, 67] Generated Node #0,2,3: 46:[66, 67] Operation: 41+26=67 Exploring Operation: 66-26=40, Resulting Numbers: [41, 40] Generated Node #0,2,4: 46:[41, 40] Operation: 66-26=40 Moving to Node #0,3 Current State: 46:[9, 66, 24], Operations: ['41-17=24'] Exploring Operation: 66-9=57, Resulting Numbers: [24, 57] Generated Node #0,3,0: 46:[24, 57] Operation: 66-9=57 Exploring Operation: 9+66=75, Resulting Numbers: [24, 75] Generated Node #0,3,1: 46:[24, 75] Operation: 9+66=75 Exploring Operation: 24-9=15, Resulting Numbers: [66, 15] Generated Node #0,3,2: 46:[66, 15] Operation: 24-9=15 Exploring Operation: 66-24=42, Resulting Numbers: [9, 42] Generated Node #0,3,3: 46:[9, 42] Operation: 66-24=42 Exploring Operation: 9+24=33, Resulting Numbers: [66, 33] Generated Node #0,3,4: 46:[66, 33] Operation: 9+24=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[9, 42], Operations: ['41-17=24', '66-24=42'] Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,46 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,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:[24, 57], Operations: ['41-17=24', '66-9=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 24*57=1368, Resulting Numbers: [1368] 1368,46 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,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:[66, 15], Operations: ['41-17=24', '24-9=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,46 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,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:[24, 75], Operations: ['41-17=24', '9+66=75'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 24*75=1800, Resulting Numbers: [1800] 1800,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:[66, 33], Operations: ['41-17=24', '9+24=33'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 46:[26, 25], Operations: ['9+17=26', '66-41=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,46 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[49, 50], Operations: ['66-17=49', '41+9=50'] Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,46 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[41, 40], Operations: ['66-9=57', '57-17=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[41, 40], Operations: ['9+17=26', '66-26=40'] Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,46 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[41, 40], Operations: ['66-17=49', '49-9=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[57, 24], Operations: ['66-9=57', '41-17=24'] Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,46 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[49, 32], Operations: ['66-17=49', '41-9=32'] Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,46 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[9, 8], Operations: ['66-17=49', '49-41=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[17, 16], Operations: ['66-9=57', '57-41=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[41, 58], Operations: ['66-17=49', '9+49=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[57, 58], Operations: ['66-9=57', '41+17=58'] Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,46 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[66, 15], Operations: ['9+17=26', '41-26=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,46 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[41, 74], Operations: ['66-9=57', '17+57=74'] Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,46 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[66, 67], Operations: ['9+17=26', '41+26=67'] Exploring Operation: 66*67=4422, Resulting Numbers: [4422] 4422,46 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[41, 92], Operations: ['9+17=26', '66+26=92'] Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 41+92=133, Resulting Numbers: [133] 133,46 unequal: No Solution Exploring Operation: 41*92=3772, Resulting Numbers: [3772] 3772,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 7, 26, 87, 76 ]
22
[ "7+26=33", "87-76=11", "33-11=22" ]
Current State: 22:[7, 26, 87, 76], Operations: [] Exploring Operation: 7+26=33, Resulting Numbers: [87, 76, 33] Generated Node #2: [87, 76, 33] from Operation: 7+26=33 Current State: 22:[87, 76, 33], Operations: ['7+26=33'] Exploring Operation: 87-76=11, Resulting Numbers: [33, 11] Generated Node #3: [33, 11] from Operation: 87-76=11 Current State: 22:[33, 11], Operations: ['7+26=33', '87-76=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[7, 26, 87, 76], Operations: [] Exploring Operation: 87-26=61, Resulting Numbers: [7, 76, 61] Generated Node #0,0: 22:[7, 76, 61] Operation: 87-26=61 Exploring Operation: 87-76=11, Resulting Numbers: [7, 26, 11] Generated Node #0,1: 22:[7, 26, 11] Operation: 87-76=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[7, 26, 11], Operations: ['87-76=11'] Exploring Operation: 26-7=19, Resulting Numbers: [11, 19] Generated Node #0,1,0: 22:[11, 19] Operation: 26-7=19 Exploring Operation: 11-7=4, Resulting Numbers: [26, 4] Generated Node #0,1,1: 22:[26, 4] Operation: 11-7=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[11, 19], Operations: ['87-76=11', '26-7=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,22 unequal: No Solution No 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: 22:[26, 4], Operations: ['87-76=11', '11-7=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[7, 26, 87, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [7, 26, 11] Generated Node #0,1: 22:[7, 26, 11] Operation: 87-76=11 Moving to Node #0,1 Current State: 22:[7, 26, 11], Operations: ['87-76=11'] Exploring Operation: 11-7=4, Resulting Numbers: [26, 4] Generated Node #0,1,1: 22:[26, 4] Operation: 11-7=4 Moving to Node #0,1,1 Current State: 22:[26, 4], Operations: ['87-76=11', '11-7=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 66, 59, 92, 26 ]
90
[ "66-59=7", "26*7=182", "182-92=90" ]
Current State: 90:[66, 59, 92, 26], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [92, 26, 7] Generated Node #2: [92, 26, 7] from Operation: 66-59=7 Current State: 90:[92, 26, 7], Operations: ['66-59=7'] Exploring Operation: 26*7=182, Resulting Numbers: [92, 182] Generated Node #3: [92, 182] from Operation: 26*7=182 Current State: 90:[92, 182], Operations: ['66-59=7', '26*7=182'] Exploring Operation: 182-92=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[66, 59, 92, 26], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [92, 26, 7] Generated Node #0,0: 90:[92, 26, 7] Operation: 66-59=7 Exploring Operation: 66+26=92, Resulting Numbers: [59, 92, 92] Generated Node #0,1: 90:[59, 92, 92] Operation: 66+26=92 Exploring Operation: 66-26=40, Resulting Numbers: [59, 92, 40] Generated Node #0,2: 90:[59, 92, 40] Operation: 66-26=40 Exploring Operation: 59-26=33, Resulting Numbers: [66, 92, 33] Generated Node #0,3: 90:[66, 92, 33] Operation: 59-26=33 Exploring Operation: 92-66=26, Resulting Numbers: [59, 26, 26] Generated Node #0,4: 90:[59, 26, 26] Operation: 92-66=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[92, 26, 7], Operations: ['66-59=7'] Exploring Operation: 92-26=66, Resulting Numbers: [7, 66] Generated Node #0,0,0: 90:[7, 66] Operation: 92-26=66 Exploring Operation: 26-7=19, Resulting Numbers: [92, 19] Generated Node #0,0,1: 90:[92, 19] Operation: 26-7=19 Exploring Operation: 92+7=99, Resulting Numbers: [26, 99] Generated Node #0,0,2: 90:[26, 99] Operation: 92+7=99 Exploring Operation: 92-7=85, Resulting Numbers: [26, 85] Generated Node #0,0,3: 90:[26, 85] Operation: 92-7=85 Exploring Operation: 26+7=33, Resulting Numbers: [92, 33] Generated Node #0,0,4: 90:[92, 33] Operation: 26+7=33 Moving to Node #0,0,1 Current State: 90:[92, 19], Operations: ['66-59=7', '26-7=19'] Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[92, 33], Operations: ['66-59=7', '26+7=33'] Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,90 unequal: No Solution Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[26, 85], Operations: ['66-59=7', '92-7=85'] Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,90 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[26, 99], Operations: ['66-59=7', '92+7=99'] Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 26*99=2574, Resulting Numbers: [2574] 2574,90 unequal: No Solution Exploring Operation: 26+99=125, Resulting Numbers: [125] 125,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[7, 66], Operations: ['66-59=7', '92-26=66'] Exploring Operation: 7*66=462, Resulting Numbers: [462] 462,90 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[59, 92, 92], Operations: ['66+26=92'] Exploring Operation: 92-92=0, Resulting Numbers: [59, 0] Generated Node #0,1,0: 90:[59, 0] Operation: 92-92=0 Exploring Operation: 59+92=151, Resulting Numbers: [92, 151] Generated Node #0,1,1: 90:[92, 151] Operation: 59+92=151 Exploring Operation: 92-59=33, Resulting Numbers: [92, 33] Generated Node #0,1,2: 90:[92, 33] Operation: 92-59=33 Exploring Operation: 92-59=33, Resulting Numbers: [92, 33] Generated Node #0,1,3: 90:[92, 33] Operation: 92-59=33 Exploring Operation: 92/92=1, Resulting Numbers: [59, 1] Generated Node #0,1,4: 90:[59, 1] Operation: 92/92=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[92, 33], Operations: ['66+26=92', '92-59=33'] Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,90 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 90:[92, 33], Operations: ['66+26=92', '92-59=33'] Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 90:[59, 1], Operations: ['66+26=92', '92/92=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[59, 0], Operations: ['66+26=92', '92-92=0'] Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[92, 151], Operations: ['66+26=92', '59+92=151'] Exploring Operation: 92+151=243, Resulting Numbers: [243] 243,90 unequal: No Solution Exploring Operation: 151-92=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 92*151=13892, Resulting Numbers: [13892] 13892,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[59, 92, 40], Operations: ['66-26=40'] Exploring Operation: 59+40=99, Resulting Numbers: [92, 99] Generated Node #0,2,0: 90:[92, 99] Operation: 59+40=99 Exploring Operation: 59-40=19, Resulting Numbers: [92, 19] Generated Node #0,2,1: 90:[92, 19] Operation: 59-40=19 Exploring Operation: 92-59=33, Resulting Numbers: [40, 33] Generated Node #0,2,2: 90:[40, 33] Operation: 92-59=33 Exploring Operation: 92-40=52, Resulting Numbers: [59, 52] Generated Node #0,2,3: 90:[59, 52] Operation: 92-40=52 Exploring Operation: 92+40=132, Resulting Numbers: [59, 132] Generated Node #0,2,4: 90:[59, 132] Operation: 92+40=132 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[92, 19], Operations: ['66-26=40', '59-40=19'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,90 unequal: No Solution Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[40, 33], Operations: ['66-26=40', '92-59=33'] Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,90 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[92, 99], Operations: ['66-26=40', '59+40=99'] Exploring Operation: 92+99=191, Resulting Numbers: [191] 191,90 unequal: No Solution Exploring Operation: 92*99=9108, Resulting Numbers: [9108] 9108,90 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 90:[59, 52], Operations: ['66-26=40', '92-40=52'] Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,90 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 90:[59, 132], Operations: ['66-26=40', '92+40=132'] Exploring Operation: 59*132=7788, Resulting Numbers: [7788] 7788,90 unequal: No Solution Exploring Operation: 132-59=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 59+132=191, Resulting Numbers: [191] 191,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[59, 26, 26], Operations: ['92-66=26'] Exploring Operation: 59+26=85, Resulting Numbers: [26, 85] Generated Node #0,4,0: 90:[26, 85] Operation: 59+26=85 Exploring Operation: 26/26=1, Resulting Numbers: [59, 1] Generated Node #0,4,1: 90:[59, 1] Operation: 26/26=1 Exploring Operation: 59+26=85, Resulting Numbers: [26, 85] Generated Node #0,4,2: 90:[26, 85] Operation: 59+26=85 Exploring Operation: 59-26=33, Resulting Numbers: [26, 33] Generated Node #0,4,3: 90:[26, 33] Operation: 59-26=33 Exploring Operation: 59-26=33, Resulting Numbers: [26, 33] Generated Node #0,4,4: 90:[26, 33] Operation: 59-26=33 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 90:[26, 33], Operations: ['92-66=26', '59-26=33'] Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,90 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 90:[26, 33], Operations: ['92-66=26', '59-26=33'] Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,90 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 90:[26, 85], Operations: ['92-66=26', '59+26=85'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 90:[26, 85], Operations: ['92-66=26', '59+26=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 90:[59, 1], Operations: ['92-66=26', '26/26=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[66, 92, 33], Operations: ['59-26=33'] Exploring Operation: 66/33=2, Resulting Numbers: [92, 2] Generated Node #0,3,0: 90:[92, 2] Operation: 66/33=2 Exploring Operation: 92-33=59, Resulting Numbers: [66, 59] Generated Node #0,3,1: 90:[66, 59] Operation: 92-33=59 Exploring Operation: 92-66=26, Resulting Numbers: [33, 26] Generated Node #0,3,2: 90:[33, 26] Operation: 92-66=26 Exploring Operation: 66-33=33, Resulting Numbers: [92, 33] Generated Node #0,3,3: 90:[92, 33] Operation: 66-33=33 Exploring Operation: 66+33=99, Resulting Numbers: [92, 99] Generated Node #0,3,4: 90:[92, 99] Operation: 66+33=99 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 90:[92, 2], Operations: ['59-26=33', '66/33=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,90 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[66, 59, 92, 26], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [66, 92, 33] Generated Node #0,3: 90:[66, 92, 33] Operation: 59-26=33 Moving to Node #0,3 Current State: 90:[66, 92, 33], Operations: ['59-26=33'] Exploring Operation: 66/33=2, Resulting Numbers: [92, 2] Generated Node #0,3,0: 90:[92, 2] Operation: 66/33=2 Moving to Node #0,3,0 Current State: 90:[92, 2], Operations: ['59-26=33', '66/33=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914931
hs_5
mult_heuristic
[ 11, 73, 82, 39 ]
62
[ "82+39=121", "121/11=11", "73-11=62" ]
Current State: 62:[11, 73, 82, 39], Operations: [] Exploring Operation: 82+39=121, Resulting Numbers: [11, 73, 121] Generated Node #2: [11, 73, 121] from Operation: 82+39=121 Current State: 62:[11, 73, 121], Operations: ['82+39=121'] Exploring Operation: 121/11=11, Resulting Numbers: [73, 11] Generated Node #3: [73, 11] from Operation: 121/11=11 Current State: 62:[73, 11], Operations: ['82+39=121', '121/11=11'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[11, 73, 82, 39], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [11, 39, 9] Generated Node #0,0: 62:[11, 39, 9] Operation: 82-73=9 Exploring Operation: 73-11=62, Resulting Numbers: [82, 39, 62] Generated Node #0,1: 62:[82, 39, 62] Operation: 73-11=62 Moving to Node #0,0 Current State: 62:[11, 39, 9], Operations: ['82-73=9'] Exploring Operation: 11-9=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 62:[39, 2] Operation: 11-9=2 Exploring Operation: 39-11=28, Resulting Numbers: [9, 28] Generated Node #0,0,1: 62:[9, 28] Operation: 39-11=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[39, 2], Operations: ['82-73=9', '11-9=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[9, 28], Operations: ['82-73=9', '39-11=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,62 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: 62:[82, 39, 62], Operations: ['73-11=62'] Exploring Operation: 82-62=20, Resulting Numbers: [39, 20] Generated Node #0,1,0: 62:[39, 20] Operation: 82-62=20 Exploring Operation: 82-39=43, Resulting Numbers: [62, 43] Generated Node #0,1,1: 62:[62, 43] Operation: 82-39=43 Moving to Node #0,1,1 Current State: 62:[62, 43], Operations: ['73-11=62', '82-39=43'] Exploring Operation: 62+43=105, Resulting Numbers: [105] 105,62 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[39, 20], Operations: ['73-11=62', '82-62=20'] Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,62 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 3, 63, 27 ]
42
[ "54/3=18", "63*18=1134", "1134/27=42" ]
Current State: 42:[54, 3, 63, 27], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [63, 27, 18] Generated Node #2: [63, 27, 18] from Operation: 54/3=18 Current State: 42:[63, 27, 18], Operations: ['54/3=18'] Exploring Operation: 63*18=1134, Resulting Numbers: [27, 1134] Generated Node #3: [27, 1134] from Operation: 63*18=1134 Current State: 42:[27, 1134], Operations: ['54/3=18', '63*18=1134'] Exploring Operation: 1134/27=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[54, 3, 63, 27], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [3, 63, 27] Generated Node #0,0: 42:[3, 63, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [3, 63, 2] Generated Node #0,1: 42:[3, 63, 2] Operation: 54/27=2 Exploring Operation: 63-54=9, Resulting Numbers: [3, 27, 9] Generated Node #0,2: 42:[3, 27, 9] Operation: 63-54=9 Exploring Operation: 63-27=36, Resulting Numbers: [54, 3, 36] Generated Node #0,3: 42:[54, 3, 36] Operation: 63-27=36 Exploring Operation: 63/3=21, Resulting Numbers: [54, 27, 21] Generated Node #0,4: 42:[54, 27, 21] Operation: 63/3=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[3, 27, 9], Operations: ['63-54=9'] Exploring Operation: 27/3=9, Resulting Numbers: [9, 9] Generated Node #0,2,0: 42:[9, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [9, 24] Generated Node #0,2,1: 42:[9, 24] Operation: 27-3=24 Exploring Operation: 27/9=3, Resulting Numbers: [3, 3] Generated Node #0,2,2: 42:[3, 3] Operation: 27/9=3 Exploring Operation: 9-3=6, Resulting Numbers: [27, 6] Generated Node #0,2,3: 42:[27, 6] Operation: 9-3=6 Exploring Operation: 27-9=18, Resulting Numbers: [3, 18] Generated Node #0,2,4: 42:[3, 18] Operation: 27-9=18 Moving to Node #0,2,2 Current State: 42:[3, 3], Operations: ['63-54=9', '27/9=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,42 unequal: No Solution Moving to Node #0,2,4 Current State: 42:[3, 18], Operations: ['63-54=9', '27-9=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[9, 9], Operations: ['63-54=9', '27/3=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[9, 24], Operations: ['63-54=9', '27-3=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,42 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[27, 6], Operations: ['63-54=9', '9-3=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,42 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[54, 3, 36], Operations: ['63-27=36'] Exploring Operation: 54-36=18, Resulting Numbers: [3, 18] Generated Node #0,3,0: 42:[3, 18] Operation: 54-36=18 Exploring Operation: 54-3=51, Resulting Numbers: [36, 51] Generated Node #0,3,1: 42:[36, 51] Operation: 54-3=51 Exploring Operation: 54/3=18, Resulting Numbers: [36, 18] Generated Node #0,3,2: 42:[36, 18] Operation: 54/3=18 Exploring Operation: 36/3=12, Resulting Numbers: [54, 12] Generated Node #0,3,3: 42:[54, 12] Operation: 36/3=12 Exploring Operation: 3+36=39, Resulting Numbers: [54, 39] Generated Node #0,3,4: 42:[54, 39] Operation: 3+36=39 Moving to Node #0,3,0 Current State: 42:[3, 18], Operations: ['63-27=36', '54-36=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[36, 18], Operations: ['63-27=36', '54/3=18'] Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,42 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[54, 12], Operations: ['63-27=36', '36/3=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[54, 3, 63, 27], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [54, 3, 36] Generated Node #0,3: 42:[54, 3, 36] Operation: 63-27=36 Moving to Node #0,3 Current State: 42:[54, 3, 36], Operations: ['63-27=36'] Exploring Operation: 36/3=12, Resulting Numbers: [54, 12] Generated Node #0,3,3: 42:[54, 12] Operation: 36/3=12 Moving to Node #0,3,3 Current State: 42:[54, 12], Operations: ['63-27=36', '36/3=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 78, 27, 32, 39 ]
86
[ "78*27=2106", "2106/39=54", "32+54=86" ]
Current State: 86:[78, 27, 32, 39], Operations: [] Exploring Operation: 78*27=2106, Resulting Numbers: [32, 39, 2106] Generated Node #2: [32, 39, 2106] from Operation: 78*27=2106 Current State: 86:[32, 39, 2106], Operations: ['78*27=2106'] Exploring Operation: 2106/39=54, Resulting Numbers: [32, 54] Generated Node #3: [32, 54] from Operation: 2106/39=54 Current State: 86:[32, 54], Operations: ['78*27=2106', '2106/39=54'] Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[78, 27, 32, 39], Operations: [] Exploring Operation: 32-27=5, Resulting Numbers: [78, 39, 5] Generated Node #0,0: 86:[78, 39, 5] Operation: 32-27=5 Moving to Node #0,0 Current State: 86:[78, 39, 5], Operations: ['32-27=5'] Exploring Operation: 78/39=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 86:[5, 2] Operation: 78/39=2 Moving to Node #0,0,0 Current State: 86:[5, 2], Operations: ['32-27=5', '78/39=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 20, 75, 89 ]
89
[ "20-20=0", "75*0=0", "89+0=89" ]
Current State: 89:[20, 20, 75, 89], Operations: [] Exploring Operation: 20-20=0, Resulting Numbers: [75, 89, 0] Generated Node #2: [75, 89, 0] from Operation: 20-20=0 Current State: 89:[75, 89, 0], Operations: ['20-20=0'] Exploring Operation: 75*0=0, Resulting Numbers: [89, 0] Generated Node #3: [89, 0] from Operation: 75*0=0 Current State: 89:[89, 0], Operations: ['20-20=0', '75*0=0'] Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[20, 20, 75, 89], Operations: [] Exploring Operation: 20+75=95, Resulting Numbers: [20, 89, 95] Generated Node #0,0: 89:[20, 89, 95] Operation: 20+75=95 Exploring Operation: 20+75=95, Resulting Numbers: [20, 89, 95] Generated Node #0,1: 89:[20, 89, 95] Operation: 20+75=95 Exploring Operation: 20/20=1, Resulting Numbers: [75, 89, 1] Generated Node #0,2: 89:[75, 89, 1] Operation: 20/20=1 Exploring Operation: 20+20=40, Resulting Numbers: [75, 89, 40] Generated Node #0,3: 89:[75, 89, 40] Operation: 20+20=40 Moving to Node #0,3 Current State: 89:[75, 89, 40], Operations: ['20+20=40'] Exploring Operation: 89+40=129, Resulting Numbers: [75, 129] Generated Node #0,3,0: 89:[75, 129] Operation: 89+40=129 Exploring Operation: 75-40=35, Resulting Numbers: [89, 35] Generated Node #0,3,1: 89:[89, 35] Operation: 75-40=35 Exploring Operation: 75+40=115, Resulting Numbers: [89, 115] Generated Node #0,3,2: 89:[89, 115] Operation: 75+40=115 Exploring Operation: 89-40=49, Resulting Numbers: [75, 49] Generated Node #0,3,3: 89:[75, 49] Operation: 89-40=49 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[89, 115], Operations: ['20+20=40', '75+40=115'] Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[75, 129], Operations: ['20+20=40', '89+40=129'] Exploring Operation: 75*129=9675, Resulting Numbers: [9675] 9675,89 unequal: No Solution Exploring Operation: 129-75=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 75+129=204, Resulting Numbers: [204] 204,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[89, 35], Operations: ['20+20=40', '75-40=35'] Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,89 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 89*35=3115, Resulting Numbers: [3115] 3115,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[75, 49], Operations: ['20+20=40', '89-40=49'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 75*49=3675, Resulting Numbers: [3675] 3675,89 unequal: No Solution Exploring Operation: 75+49=124, Resulting Numbers: [124] 124,89 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: 89:[20, 89, 95], Operations: ['20+75=95'] Exploring Operation: 20+95=115, Resulting Numbers: [89, 115] Generated Node #0,1,0: 89:[89, 115] Operation: 20+95=115 Exploring Operation: 89-20=69, Resulting Numbers: [95, 69] Generated Node #0,1,1: 89:[95, 69] Operation: 89-20=69 Exploring Operation: 20+89=109, Resulting Numbers: [95, 109] Generated Node #0,1,2: 89:[95, 109] Operation: 20+89=109 Exploring Operation: 95-20=75, Resulting Numbers: [89, 75] Generated Node #0,1,3: 89:[89, 75] Operation: 95-20=75 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[89, 75], Operations: ['20+75=95', '95-20=75'] Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,89 unequal: No Solution Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[89, 115], Operations: ['20+75=95', '20+95=115'] Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,89 unequal: No Solution Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[95, 69], Operations: ['20+75=95', '89-20=69'] Exploring Operation: 95+69=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 95*69=6555, Resulting Numbers: [6555] 6555,89 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[95, 109], Operations: ['20+75=95', '20+89=109'] Exploring Operation: 95+109=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 95*109=10355, Resulting Numbers: [10355] 10355,89 unequal: No Solution Exploring Operation: 109-95=14, Resulting Numbers: [14] 14,89 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: 89:[20, 89, 95], Operations: ['20+75=95'] Exploring Operation: 20+89=109, Resulting Numbers: [95, 109] Generated Node #0,0,0: 89:[95, 109] Operation: 20+89=109 Exploring Operation: 95-20=75, Resulting Numbers: [89, 75] Generated Node #0,0,1: 89:[89, 75] Operation: 95-20=75 Exploring Operation: 89-20=69, Resulting Numbers: [95, 69] Generated Node #0,0,2: 89:[95, 69] Operation: 89-20=69 Exploring Operation: 20+95=115, Resulting Numbers: [89, 115] Generated Node #0,0,3: 89:[89, 115] Operation: 20+95=115 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[89, 75], Operations: ['20+75=95', '95-20=75'] Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[95, 109], Operations: ['20+75=95', '20+89=109'] Exploring Operation: 95+109=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 109-95=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 95*109=10355, Resulting Numbers: [10355] 10355,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[95, 69], Operations: ['20+75=95', '89-20=69'] Exploring Operation: 95+69=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 95*69=6555, Resulting Numbers: [6555] 6555,89 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[89, 115], Operations: ['20+75=95', '20+95=115'] Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,89 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: 89:[75, 89, 1], Operations: ['20/20=1'] Exploring Operation: 89*1=89, Resulting Numbers: [75, 89] Generated Node #0,2,0: 89:[75, 89] Operation: 89*1=89 Exploring Operation: 75+1=76, Resulting Numbers: [89, 76] Generated Node #0,2,1: 89:[89, 76] Operation: 75+1=76 Exploring Operation: 75*1=75, Resulting Numbers: [89, 75] Generated Node #0,2,2: 89:[89, 75] Operation: 75*1=75 Exploring Operation: 75/1=75, Resulting Numbers: [89, 75] Generated Node #0,2,3: 89:[89, 75] Operation: 75/1=75 Moving to Node #0,2,1 Current State: 89:[89, 76], Operations: ['20/20=1', '75+1=76'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 89+76=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 89*76=6764, Resulting Numbers: [6764] 6764,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[89, 75], Operations: ['20/20=1', '75*1=75'] Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,89 unequal: No Solution Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[75, 89], Operations: ['20/20=1', '89*1=89'] Exploring Operation: 75+89=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 75*89=6675, Resulting Numbers: [6675] 6675,89 unequal: No Solution Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[89, 75], Operations: ['20/20=1', '75/1=75'] Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,89 unequal: No Solution Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 36, 9, 47 ]
62
[ "47-36=11", "9*11=99", "99-37=62" ]
Current State: 62:[37, 36, 9, 47], Operations: [] Exploring Operation: 47-36=11, Resulting Numbers: [37, 9, 11] Generated Node #2: [37, 9, 11] from Operation: 47-36=11 Current State: 62:[37, 9, 11], Operations: ['47-36=11'] Exploring Operation: 9*11=99, Resulting Numbers: [37, 99] Generated Node #3: [37, 99] from Operation: 9*11=99 Current State: 62:[37, 99], Operations: ['47-36=11', '9*11=99'] Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[37, 36, 9, 47], Operations: [] Exploring Operation: 9+47=56, Resulting Numbers: [37, 36, 56] Generated Node #0,0: 62:[37, 36, 56] Operation: 9+47=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[37, 36, 56], Operations: ['9+47=56'] Exploring Operation: 37-36=1, Resulting Numbers: [56, 1] Generated Node #0,0,0: 62:[56, 1] Operation: 37-36=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[56, 1], Operations: ['9+47=56', '37-36=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,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
sum_heuristic
[ 99, 3, 21, 37 ]
51
[ "37-21=16", "3*16=48", "99-48=51" ]
Current State: 51:[99, 3, 21, 37], Operations: [] Exploring Operation: 37-21=16, Resulting Numbers: [99, 3, 16] Generated Node #2: [99, 3, 16] from Operation: 37-21=16 Current State: 51:[99, 3, 16], Operations: ['37-21=16'] Exploring Operation: 3*16=48, Resulting Numbers: [99, 48] Generated Node #3: [99, 48] from Operation: 3*16=48 Current State: 51:[99, 48], Operations: ['37-21=16', '3*16=48'] Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[99, 3, 21, 37], Operations: [] Exploring Operation: 99-21=78, Resulting Numbers: [3, 37, 78] Generated Node #0,0: 51:[3, 37, 78] Operation: 99-21=78 Exploring Operation: 99-37=62, Resulting Numbers: [3, 21, 62] Generated Node #0,1: 51:[3, 21, 62] Operation: 99-37=62 Exploring Operation: 99/3=33, Resulting Numbers: [21, 37, 33] Generated Node #0,2: 51:[21, 37, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[3, 21, 62], Operations: ['99-37=62'] Exploring Operation: 62-3=59, Resulting Numbers: [21, 59] Generated Node #0,1,0: 51:[21, 59] Operation: 62-3=59 Exploring Operation: 21-3=18, Resulting Numbers: [62, 18] Generated Node #0,1,1: 51:[62, 18] Operation: 21-3=18 Exploring Operation: 62-21=41, Resulting Numbers: [3, 41] Generated Node #0,1,2: 51:[3, 41] Operation: 62-21=41 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[3, 41], Operations: ['99-37=62', '62-21=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,51 unequal: No Solution No 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: 51:[21, 59], Operations: ['99-37=62', '62-3=59'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 21+59=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 21*59=1239, Resulting Numbers: [1239] 1239,51 unequal: No Solution No 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: 51:[62, 18], Operations: ['99-37=62', '21-3=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,51 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,51 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: 51:[21, 37, 33], Operations: ['99/3=33'] Exploring Operation: 37-33=4, Resulting Numbers: [21, 4] Generated Node #0,2,0: 51:[21, 4] Operation: 37-33=4 Exploring Operation: 21+33=54, Resulting Numbers: [37, 54] Generated Node #0,2,1: 51:[37, 54] Operation: 21+33=54 Exploring Operation: 37-21=16, Resulting Numbers: [33, 16] Generated Node #0,2,2: 51:[33, 16] Operation: 37-21=16 Moving to Node #0,2,0 Current State: 51:[21, 4], Operations: ['99/3=33', '37-33=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,51 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[37, 54], Operations: ['99/3=33', '21+33=54'] Exploring Operation: 37*54=1998, Resulting Numbers: [1998] 1998,51 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 37+54=91, Resulting Numbers: [91] 91,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[33, 16], Operations: ['99/3=33', '37-21=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[3, 37, 78], Operations: ['99-21=78'] Exploring Operation: 78/3=26, Resulting Numbers: [37, 26] Generated Node #0,0,0: 51:[37, 26] Operation: 78/3=26 Exploring Operation: 78-37=41, Resulting Numbers: [3, 41] Generated Node #0,0,1: 51:[3, 41] Operation: 78-37=41 Exploring Operation: 3+37=40, Resulting Numbers: [78, 40] Generated Node #0,0,2: 51:[78, 40] Operation: 3+37=40 Moving to Node #0,0,1 Current State: 51:[3, 41], Operations: ['99-21=78', '78-37=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[37, 26], Operations: ['99-21=78', '78/3=26'] Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,51 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[78, 40], Operations: ['99-21=78', '3+37=40'] Exploring Operation: 78*40=3120, Resulting Numbers: [3120] 3120,51 unequal: No Solution Exploring Operation: 78+40=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 42, 35, 90, 87 ]
70
[ "87-42=45", "35*90=3150", "3150/45=70" ]
Current State: 70:[42, 35, 90, 87], Operations: [] Exploring Operation: 87-42=45, Resulting Numbers: [35, 90, 45] Generated Node #2: [35, 90, 45] from Operation: 87-42=45 Current State: 70:[35, 90, 45], Operations: ['87-42=45'] Exploring Operation: 35*90=3150, Resulting Numbers: [45, 3150] Generated Node #3: [45, 3150] from Operation: 35*90=3150 Current State: 70:[45, 3150], Operations: ['87-42=45', '35*90=3150'] Exploring Operation: 3150/45=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[42, 35, 90, 87], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [42, 35, 3] Generated Node #0,0: 70:[42, 35, 3] Operation: 90-87=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[42, 35, 3], Operations: ['90-87=3'] Exploring Operation: 42/3=14, Resulting Numbers: [35, 14] Generated Node #0,0,0: 70:[35, 14] Operation: 42/3=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[35, 14], Operations: ['90-87=3', '42/3=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 95, 16, 15, 65 ]
32
[ "95-65=30", "16*30=480", "480/15=32" ]
Current State: 32:[95, 16, 15, 65], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [16, 15, 30] Generated Node #2: [16, 15, 30] from Operation: 95-65=30 Current State: 32:[16, 15, 30], Operations: ['95-65=30'] Exploring Operation: 16*30=480, Resulting Numbers: [15, 480] Generated Node #3: [15, 480] from Operation: 16*30=480 Current State: 32:[15, 480], Operations: ['95-65=30', '16*30=480'] Exploring Operation: 480/15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[95, 16, 15, 65], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [16, 15, 30] Generated Node #0,0: 32:[16, 15, 30] Operation: 95-65=30 Moving to Node #0,0 Current State: 32:[16, 15, 30], Operations: ['95-65=30'] Exploring Operation: 30/15=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 32:[16, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[16, 2], Operations: ['95-65=30', '30/15=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[95, 16, 15, 65], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [16, 15, 30] Generated Node #0,0: 32:[16, 15, 30] Operation: 95-65=30 Moving to Node #0,0 Current State: 32:[16, 15, 30], Operations: ['95-65=30'] Exploring Operation: 30/15=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 32:[16, 2] Operation: 30/15=2 Moving to Node #0,0,0 Current State: 32:[16, 2], Operations: ['95-65=30', '30/15=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 71, 74, 96 ]
68
[ "74-71=3", "84/3=28", "96-28=68" ]
Current State: 68:[84, 71, 74, 96], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [84, 96, 3] Generated Node #2: [84, 96, 3] from Operation: 74-71=3 Current State: 68:[84, 96, 3], Operations: ['74-71=3'] Exploring Operation: 84/3=28, Resulting Numbers: [96, 28] Generated Node #3: [96, 28] from Operation: 84/3=28 Current State: 68:[96, 28], Operations: ['74-71=3', '84/3=28'] Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[84, 71, 74, 96], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [71, 74, 12] Generated Node #0,0: 68:[71, 74, 12] Operation: 96-84=12 Exploring Operation: 96-74=22, Resulting Numbers: [84, 71, 22] Generated Node #0,1: 68:[84, 71, 22] Operation: 96-74=22 Moving to Node #0,0 Current State: 68:[71, 74, 12], Operations: ['96-84=12'] Exploring Operation: 74-12=62, Resulting Numbers: [71, 62] Generated Node #0,0,0: 68:[71, 62] Operation: 74-12=62 Exploring Operation: 74-71=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 68:[12, 3] Operation: 74-71=3 Moving to Node #0,1 Current State: 68:[84, 71, 22], Operations: ['96-74=22'] Exploring Operation: 84-22=62, Resulting Numbers: [71, 62] Generated Node #0,1,0: 68:[71, 62] Operation: 84-22=62 Exploring Operation: 84-71=13, Resulting Numbers: [22, 13] Generated Node #0,1,1: 68:[22, 13] Operation: 84-71=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[71, 62], Operations: ['96-74=22', '84-22=62'] Exploring Operation: 71+62=133, Resulting Numbers: [133] 133,68 unequal: No Solution Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[22, 13], Operations: ['96-74=22', '84-71=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,68 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: 68:[12, 3], Operations: ['96-84=12', '74-71=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[71, 62], Operations: ['96-84=12', '74-12=62'] Exploring Operation: 71+62=133, Resulting Numbers: [133] 133,68 unequal: No Solution Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,68 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 96, 19, 11 ]
93
[ "2*11=22", "96+19=115", "115-22=93" ]
Current State: 93:[2, 96, 19, 11], Operations: [] Exploring Operation: 2*11=22, Resulting Numbers: [96, 19, 22] Generated Node #2: [96, 19, 22] from Operation: 2*11=22 Current State: 93:[96, 19, 22], Operations: ['2*11=22'] Exploring Operation: 96+19=115, Resulting Numbers: [22, 115] Generated Node #3: [22, 115] from Operation: 96+19=115 Current State: 93:[22, 115], Operations: ['2*11=22', '96+19=115'] Exploring Operation: 115-22=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[2, 96, 19, 11], Operations: [] Exploring Operation: 19+11=30, Resulting Numbers: [2, 96, 30] Generated Node #0,0: 93:[2, 96, 30] Operation: 19+11=30 Exploring Operation: 19-11=8, Resulting Numbers: [2, 96, 8] Generated Node #0,1: 93:[2, 96, 8] Operation: 19-11=8 Moving to Node #0,0 Current State: 93:[2, 96, 30], Operations: ['19+11=30'] Exploring Operation: 96-2=94, Resulting Numbers: [30, 94] Generated Node #0,0,0: 93:[30, 94] Operation: 96-2=94 Exploring Operation: 2+30=32, Resulting Numbers: [96, 32] Generated Node #0,0,1: 93:[96, 32] Operation: 2+30=32 Moving to Node #0,1 Current State: 93:[2, 96, 8], Operations: ['19-11=8'] Exploring Operation: 8/2=4, Resulting Numbers: [96, 4] Generated Node #0,1,0: 93:[96, 4] Operation: 8/2=4 Exploring Operation: 96-2=94, Resulting Numbers: [8, 94] Generated Node #0,1,1: 93:[8, 94] Operation: 96-2=94 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[96, 4], Operations: ['19-11=8', '8/2=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,93 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[8, 94], Operations: ['19-11=8', '96-2=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,93 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: 93:[30, 94], Operations: ['19+11=30', '96-2=94'] Exploring Operation: 30+94=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[96, 32], Operations: ['19+11=30', '2+30=32'] Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 70, 9, 83, 55 ]
59
[ "70+9=79", "83+55=138", "138-79=59" ]
Current State: 59:[70, 9, 83, 55], Operations: [] Exploring Operation: 70+9=79, Resulting Numbers: [83, 55, 79] Generated Node #2: [83, 55, 79] from Operation: 70+9=79 Current State: 59:[83, 55, 79], Operations: ['70+9=79'] Exploring Operation: 83+55=138, Resulting Numbers: [79, 138] Generated Node #3: [79, 138] from Operation: 83+55=138 Current State: 59:[79, 138], Operations: ['70+9=79', '83+55=138'] Exploring Operation: 138-79=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[70, 9, 83, 55], Operations: [] Exploring Operation: 70-9=61, Resulting Numbers: [83, 55, 61] Generated Node #0,0: 59:[83, 55, 61] Operation: 70-9=61 Exploring Operation: 83-9=74, Resulting Numbers: [70, 55, 74] Generated Node #0,1: 59:[70, 55, 74] Operation: 83-9=74 Moving to Node #0,0 Current State: 59:[83, 55, 61], Operations: ['70-9=61'] Exploring Operation: 83-55=28, Resulting Numbers: [61, 28] Generated Node #0,0,0: 59:[61, 28] Operation: 83-55=28 Exploring Operation: 83-61=22, Resulting Numbers: [55, 22] Generated Node #0,0,1: 59:[55, 22] Operation: 83-61=22 Moving to Node #0,1 Current State: 59:[70, 55, 74], Operations: ['83-9=74'] Exploring Operation: 70-55=15, Resulting Numbers: [74, 15] Generated Node #0,1,0: 59:[74, 15] Operation: 70-55=15 Exploring Operation: 74-55=19, Resulting Numbers: [70, 19] Generated Node #0,1,1: 59:[70, 19] Operation: 74-55=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[70, 19], Operations: ['83-9=74', '74-55=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[74, 15], Operations: ['83-9=74', '70-55=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[70, 9, 83, 55], Operations: [] Exploring Operation: 83-9=74, Resulting Numbers: [70, 55, 74] Generated Node #0,1: 59:[70, 55, 74] Operation: 83-9=74 Moving to Node #0,1 Current State: 59:[70, 55, 74], Operations: ['83-9=74'] Exploring Operation: 70-55=15, Resulting Numbers: [74, 15] Generated Node #0,1,0: 59:[74, 15] Operation: 70-55=15 Moving to Node #0,1,0 Current State: 59:[74, 15], Operations: ['83-9=74', '70-55=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 61, 47, 14, 96 ]
96
[ "61-47=14", "14+96=110", "110-14=96" ]
Current State: 96:[61, 47, 14, 96], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [14, 96, 14] Generated Node #2: [14, 96, 14] from Operation: 61-47=14 Current State: 96:[14, 96, 14], Operations: ['61-47=14'] Exploring Operation: 14+96=110, Resulting Numbers: [110] 110,96 equal: Goal Reached Exploring Operation: 110-14=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[61, 47, 14, 96], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [14, 96, 14] Generated Node #0,0: 96:[14, 96, 14] Operation: 61-47=14 Exploring Operation: 96-61=35, Resulting Numbers: [47, 14, 35] Generated Node #0,1: 96:[47, 14, 35] Operation: 96-61=35 Exploring Operation: 61-14=47, Resulting Numbers: [47, 96, 47] Generated Node #0,2: 96:[47, 96, 47] Operation: 61-14=47 Exploring Operation: 61+47=108, Resulting Numbers: [14, 96, 108] Generated Node #0,3: 96:[14, 96, 108] Operation: 61+47=108 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[47, 96, 47], Operations: ['61-14=47'] Exploring Operation: 47-47=0, Resulting Numbers: [96, 0] Generated Node #0,2,0: 96:[96, 0] Operation: 47-47=0 Exploring Operation: 47/47=1, Resulting Numbers: [96, 1] Generated Node #0,2,1: 96:[96, 1] Operation: 47/47=1 Exploring Operation: 47+47=94, Resulting Numbers: [96, 94] Generated Node #0,2,2: 96:[96, 94] Operation: 47+47=94 Exploring Operation: 96-47=49, Resulting Numbers: [47, 49] Generated Node #0,2,3: 96:[47, 49] Operation: 96-47=49 Moving to Node #0,2,1 Current State: 96:[96, 1], Operations: ['61-14=47', '47/47=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[61, 47, 14, 96], Operations: [] Exploring Operation: 61-14=47, Resulting Numbers: [47, 96, 47] Generated Node #0,2: 96:[47, 96, 47] Operation: 61-14=47 Moving to Node #0,2 Current State: 96:[47, 96, 47], Operations: ['61-14=47'] Exploring Operation: 47/47=1, Resulting Numbers: [96, 1] Generated Node #0,2,1: 96:[96, 1] Operation: 47/47=1 Moving to Node #0,2,1 Current State: 96:[96, 1], Operations: ['61-14=47', '47/47=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 32, 35, 61, 63 ]
19
[ "63-61=2", "32/2=16", "35-16=19" ]
Current State: 19:[32, 35, 61, 63], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [32, 35, 2] Generated Node #2: [32, 35, 2] from Operation: 63-61=2 Current State: 19:[32, 35, 2], Operations: ['63-61=2'] Exploring Operation: 32/2=16, Resulting Numbers: [35, 16] Generated Node #3: [35, 16] from Operation: 32/2=16 Current State: 19:[35, 16], Operations: ['63-61=2', '32/2=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[32, 35, 61, 63], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [35, 63, 29] Generated Node #0,0: 19:[35, 63, 29] Operation: 61-32=29 Exploring Operation: 61-35=26, Resulting Numbers: [32, 63, 26] Generated Node #0,1: 19:[32, 63, 26] Operation: 61-35=26 Exploring Operation: 63-61=2, Resulting Numbers: [32, 35, 2] Generated Node #0,2: 19:[32, 35, 2] Operation: 63-61=2 Exploring Operation: 63-35=28, Resulting Numbers: [32, 61, 28] Generated Node #0,3: 19:[32, 61, 28] Operation: 63-35=28 Moving to Node #0,2 Current State: 19:[32, 35, 2], Operations: ['63-61=2'] Exploring Operation: 35-2=33, Resulting Numbers: [32, 33] Generated Node #0,2,0: 19:[32, 33] Operation: 35-2=33 Exploring Operation: 32+2=34, Resulting Numbers: [35, 34] Generated Node #0,2,1: 19:[35, 34] Operation: 32+2=34 Exploring Operation: 32/2=16, Resulting Numbers: [35, 16] Generated Node #0,2,2: 19:[35, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [35, 30] Generated Node #0,2,3: 19:[35, 30] Operation: 32-2=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[35, 16], Operations: ['63-61=2', '32/2=16'] Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,19 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[32, 35, 61, 63], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [32, 35, 2] Generated Node #0,2: 19:[32, 35, 2] Operation: 63-61=2 Moving to Node #0,2 Current State: 19:[32, 35, 2], Operations: ['63-61=2'] Exploring Operation: 32/2=16, Resulting Numbers: [35, 16] Generated Node #0,2,2: 19:[35, 16] Operation: 32/2=16 Moving to Node #0,2,2 Current State: 19:[35, 16], Operations: ['63-61=2', '32/2=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 1, 29, 54, 72 ]
46
[ "29-1=28", "72-54=18", "28+18=46" ]
Current State: 46:[1, 29, 54, 72], Operations: [] Exploring Operation: 29-1=28, Resulting Numbers: [54, 72, 28] Generated Node #2: [54, 72, 28] from Operation: 29-1=28 Current State: 46:[54, 72, 28], Operations: ['29-1=28'] Exploring Operation: 72-54=18, Resulting Numbers: [28, 18] Generated Node #3: [28, 18] from Operation: 72-54=18 Current State: 46:[28, 18], Operations: ['29-1=28', '72-54=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[1, 29, 54, 72], Operations: [] Exploring Operation: 72-29=43, Resulting Numbers: [1, 54, 43] Generated Node #0,0: 46:[1, 54, 43] Operation: 72-29=43 Moving to Node #0,0 Current State: 46:[1, 54, 43], Operations: ['72-29=43'] Exploring Operation: 54-1=53, Resulting Numbers: [43, 53] Generated Node #0,0,0: 46:[43, 53] Operation: 54-1=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[43, 53], Operations: ['72-29=43', '54-1=53'] Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 83, 91, 16, 71 ]
87
[ "83+91=174", "16+71=87", "174-87=87" ]
Current State: 87:[83, 91, 16, 71], Operations: [] Exploring Operation: 83+91=174, Resulting Numbers: [16, 71, 174] Generated Node #2: [16, 71, 174] from Operation: 83+91=174 Current State: 87:[16, 71, 174], Operations: ['83+91=174'] Exploring Operation: 16+71=87, Resulting Numbers: [174, 87] Generated Node #3: [174, 87] from Operation: 16+71=87 Current State: 87:[174, 87], Operations: ['83+91=174', '16+71=87'] Exploring Operation: 174-87=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[83, 91, 16, 71], Operations: [] Exploring Operation: 16+71=87, Resulting Numbers: [83, 91, 87] Generated Node #0,0: 87:[83, 91, 87] Operation: 16+71=87 Moving to Node #0,0 Current State: 87:[83, 91, 87], Operations: ['16+71=87'] Exploring Operation: 91-83=8, Resulting Numbers: [87, 8] Generated Node #0,0,0: 87:[87, 8] Operation: 91-83=8 Moving to Node #0,0,0 Current State: 87:[87, 8], Operations: ['16+71=87', '91-83=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 43, 50, 85, 79 ]
71
[ "43+50=93", "85+79=164", "164-93=71" ]
Current State: 71:[43, 50, 85, 79], Operations: [] Exploring Operation: 43+50=93, Resulting Numbers: [85, 79, 93] Generated Node #2: [85, 79, 93] from Operation: 43+50=93 Current State: 71:[85, 79, 93], Operations: ['43+50=93'] Exploring Operation: 85+79=164, Resulting Numbers: [93, 164] Generated Node #3: [93, 164] from Operation: 85+79=164 Current State: 71:[93, 164], Operations: ['43+50=93', '85+79=164'] Exploring Operation: 164-93=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[43, 50, 85, 79], Operations: [] Exploring Operation: 43+50=93, Resulting Numbers: [85, 79, 93] Generated Node #0,0: 71:[85, 79, 93] Operation: 43+50=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[85, 79, 93], Operations: ['43+50=93'] Exploring Operation: 93-85=8, Resulting Numbers: [79, 8] Generated Node #0,0,0: 71:[79, 8] Operation: 93-85=8 Moving to Node #0,0,0 Current State: 71:[79, 8], Operations: ['43+50=93', '93-85=8'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[43, 50, 85, 79], Operations: [] Exploring Operation: 43+50=93, Resulting Numbers: [85, 79, 93] Generated Node #0,0: 71:[85, 79, 93] Operation: 43+50=93 Moving to Node #0,0 Current State: 71:[85, 79, 93], Operations: ['43+50=93'] Exploring Operation: 93-85=8, Resulting Numbers: [79, 8] Generated Node #0,0,0: 71:[79, 8] Operation: 93-85=8 Moving to Node #0,0,0 Current State: 71:[79, 8], Operations: ['43+50=93', '93-85=8'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 38, 3, 3, 7 ]
50
[ "7-3=4", "3*4=12", "38+12=50" ]
Current State: 50:[38, 3, 3, 7], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [38, 4] Generated Node #2: [38, 4] from Operation: 7-3=4 Current State: 50:[38, 4], Operations: ['7-3=4'] Exploring Operation: 3*4=12, Resulting Numbers: [38, 12] Generated Node #3: [38, 12] from Operation: 3*4=12 Current State: 50:[38, 12], Operations: ['7-3=4', '3*4=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[38, 3, 3, 7], Operations: [] Exploring Operation: 38+3=41, Resulting Numbers: [3, 7, 41] Generated Node #0,0: 50:[3, 7, 41] Operation: 38+3=41 Exploring Operation: 38+7=45, Resulting Numbers: [3, 3, 45] Generated Node #0,1: 50:[3, 3, 45] Operation: 38+7=45 Exploring Operation: 38-7=31, Resulting Numbers: [3, 3, 31] Generated Node #0,2: 50:[3, 3, 31] Operation: 38-7=31 Exploring Operation: 38+3=41, Resulting Numbers: [3, 7, 41] Generated Node #0,3: 50:[3, 7, 41] Operation: 38+3=41 Exploring Operation: 38-3=35, Resulting Numbers: [3, 7, 35] Generated Node #0,4: 50:[3, 7, 35] Operation: 38-3=35 Moving to Node #0,1 Current State: 50:[3, 3, 45], Operations: ['38+7=45'] Exploring Operation: 3*3=9, Resulting Numbers: [45, 9] Generated Node #0,1,0: 50:[45, 9] Operation: 3*3=9 Exploring Operation: 3/3=1, Resulting Numbers: [45, 1] Generated Node #0,1,1: 50:[45, 1] Operation: 3/3=1 Exploring Operation: 3+45=48, Resulting Numbers: [3, 48] Generated Node #0,1,2: 50:[3, 48] Operation: 3+45=48 Exploring Operation: 3+3=6, Resulting Numbers: [45, 6] Generated Node #0,1,3: 50:[45, 6] Operation: 3+3=6 Exploring Operation: 3+45=48, Resulting Numbers: [3, 48] Generated Node #0,1,4: 50:[3, 48] Operation: 3+45=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[3, 48], Operations: ['38+7=45', '3+45=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,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:[3, 48], Operations: ['38+7=45', '3+45=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,50 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,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:[45, 9], Operations: ['38+7=45', '3*3=9'] Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,50 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[45, 1], Operations: ['38+7=45', '3/3=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,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:[45, 6], Operations: ['38+7=45', '3+3=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,50 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[3, 3, 31], Operations: ['38-7=31'] Exploring Operation: 3+3=6, Resulting Numbers: [31, 6] Generated Node #0,2,0: 50:[31, 6] Operation: 3+3=6 Exploring Operation: 31-3=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 50:[3, 28] Operation: 31-3=28 Exploring Operation: 3/3=1, Resulting Numbers: [31, 1] Generated Node #0,2,2: 50:[31, 1] Operation: 3/3=1 Exploring Operation: 31-3=28, Resulting Numbers: [3, 28] Generated Node #0,2,3: 50:[3, 28] Operation: 31-3=28 Exploring Operation: 3*3=9, Resulting Numbers: [31, 9] Generated Node #0,2,4: 50:[31, 9] Operation: 3*3=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[3, 28], Operations: ['38-7=31', '31-3=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,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:[3, 28], Operations: ['38-7=31', '31-3=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[31, 6], Operations: ['38-7=31', '3+3=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,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:[31, 1], Operations: ['38-7=31', '3/3=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 50:[31, 9], Operations: ['38-7=31', '3*3=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 50:[3, 7, 41], Operations: ['38+3=41'] Exploring Operation: 3+7=10, Resulting Numbers: [41, 10] Generated Node #0,0,0: 50:[41, 10] Operation: 3+7=10 Exploring Operation: 3+41=44, Resulting Numbers: [7, 44] Generated Node #0,0,1: 50:[7, 44] Operation: 3+41=44 Exploring Operation: 41-7=34, Resulting Numbers: [3, 34] Generated Node #0,0,2: 50:[3, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [3, 48] Generated Node #0,0,3: 50:[3, 48] Operation: 7+41=48 Exploring Operation: 7-3=4, Resulting Numbers: [41, 4] Generated Node #0,0,4: 50:[41, 4] Operation: 7-3=4 Moving to Node #0,3 Current State: 50:[3, 7, 41], Operations: ['38+3=41'] Exploring Operation: 3+41=44, Resulting Numbers: [7, 44] Generated Node #0,3,0: 50:[7, 44] Operation: 3+41=44 Exploring Operation: 7+41=48, Resulting Numbers: [3, 48] Generated Node #0,3,1: 50:[3, 48] Operation: 7+41=48 Exploring Operation: 41-7=34, Resulting Numbers: [3, 34] Generated Node #0,3,2: 50:[3, 34] Operation: 41-7=34 Exploring Operation: 7-3=4, Resulting Numbers: [41, 4] Generated Node #0,3,3: 50:[41, 4] Operation: 7-3=4 Exploring Operation: 3+7=10, Resulting Numbers: [41, 10] Generated Node #0,3,4: 50:[41, 10] Operation: 3+7=10 Moving to Node #0,4 Current State: 50:[3, 7, 35], Operations: ['38-3=35'] Exploring Operation: 35-7=28, Resulting Numbers: [3, 28] Generated Node #0,4,0: 50:[3, 28] Operation: 35-7=28 Exploring Operation: 3+7=10, Resulting Numbers: [35, 10] Generated Node #0,4,1: 50:[35, 10] Operation: 3+7=10 Exploring Operation: 35-3=32, Resulting Numbers: [7, 32] Generated Node #0,4,2: 50:[7, 32] Operation: 35-3=32 Exploring Operation: 7+35=42, Resulting Numbers: [3, 42] Generated Node #0,4,3: 50:[3, 42] Operation: 7+35=42 Exploring Operation: 35/7=5, Resulting Numbers: [3, 5] Generated Node #0,4,4: 50:[3, 5] Operation: 35/7=5 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 50:[3, 5], Operations: ['38-3=35', '35/7=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,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,4,0 Current State: 50:[3, 28], Operations: ['38-3=35', '35-7=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,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,4,2 Current State: 50:[7, 32], Operations: ['38-3=35', '35-3=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,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,4,3 Current State: 50:[3, 42], Operations: ['38-3=35', '7+35=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,50 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,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,4,1 Current State: 50:[35, 10], Operations: ['38-3=35', '3+7=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,50 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 50:[3, 48], Operations: ['38+3=41', '7+41=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[3, 48], Operations: ['38+3=41', '7+41=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[7, 44], Operations: ['38+3=41', '3+41=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[7, 44], Operations: ['38+3=41', '3+41=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,50 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[41, 10], Operations: ['38+3=41', '3+7=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,50 unequal: No Solution Moving to Node #0,3,4 Current State: 50:[41, 10], Operations: ['38+3=41', '3+7=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[3, 34], Operations: ['38+3=41', '41-7=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[41, 4], Operations: ['38+3=41', '7-3=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,50 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,50 unequal: No Solution Moving to Node #0,0,4 Current State: 50:[41, 4], Operations: ['38+3=41', '7-3=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,50 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[3, 34], Operations: ['38+3=41', '41-7=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,50 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 85, 49, 24, 97 ]
51
[ "97-85=12", "24/12=2", "49+2=51" ]
Current State: 51:[85, 49, 24, 97], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [49, 24, 12] Generated Node #2: [49, 24, 12] from Operation: 97-85=12 Current State: 51:[49, 24, 12], Operations: ['97-85=12'] Exploring Operation: 24/12=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 24/12=2 Current State: 51:[49, 2], Operations: ['97-85=12', '24/12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[85, 49, 24, 97], Operations: [] Exploring Operation: 97-24=73, Resulting Numbers: [85, 49, 73] Generated Node #0,0: 51:[85, 49, 73] Operation: 97-24=73 Exploring Operation: 97-85=12, Resulting Numbers: [49, 24, 12] Generated Node #0,1: 51:[49, 24, 12] Operation: 97-85=12 Exploring Operation: 85-24=61, Resulting Numbers: [49, 97, 61] Generated Node #0,2: 51:[49, 97, 61] Operation: 85-24=61 Exploring Operation: 85-49=36, Resulting Numbers: [24, 97, 36] Generated Node #0,3: 51:[24, 97, 36] Operation: 85-49=36 Exploring Operation: 97-49=48, Resulting Numbers: [85, 24, 48] Generated Node #0,4: 51:[85, 24, 48] Operation: 97-49=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[49, 24, 12], Operations: ['97-85=12'] Exploring Operation: 49+12=61, Resulting Numbers: [24, 61] Generated Node #0,1,0: 51:[24, 61] Operation: 49+12=61 Exploring Operation: 49-24=25, Resulting Numbers: [12, 25] Generated Node #0,1,1: 51:[12, 25] Operation: 49-24=25 Exploring Operation: 24-12=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 51:[49, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [49, 2] Generated Node #0,1,3: 51:[49, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [49, 36] Generated Node #0,1,4: 51:[49, 36] Operation: 24+12=36 Moving to Node #0,1,3 Current State: 51:[49, 2], Operations: ['97-85=12', '24/12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[85, 49, 24, 97], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [49, 24, 12] Generated Node #0,1: 51:[49, 24, 12] Operation: 97-85=12 Moving to Node #0,1 Current State: 51:[49, 24, 12], Operations: ['97-85=12'] Exploring Operation: 24/12=2, Resulting Numbers: [49, 2] Generated Node #0,1,3: 51:[49, 2] Operation: 24/12=2 Moving to Node #0,1,3 Current State: 51:[49, 2], Operations: ['97-85=12', '24/12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 59, 8, 89, 7 ]
31
[ "59-8=51", "89-7=82", "82-51=31" ]
Current State: 31:[59, 8, 89, 7], Operations: [] Exploring Operation: 59-8=51, Resulting Numbers: [89, 7, 51] Generated Node #2: [89, 7, 51] from Operation: 59-8=51 Current State: 31:[89, 7, 51], Operations: ['59-8=51'] Exploring Operation: 89-7=82, Resulting Numbers: [51, 82] Generated Node #3: [51, 82] from Operation: 89-7=82 Current State: 31:[51, 82], Operations: ['59-8=51', '89-7=82'] Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[59, 8, 89, 7], Operations: [] Exploring Operation: 89-59=30, Resulting Numbers: [8, 7, 30] Generated Node #0,0: 31:[8, 7, 30] Operation: 89-59=30 Exploring Operation: 59-8=51, Resulting Numbers: [89, 7, 51] Generated Node #0,1: 31:[89, 7, 51] Operation: 59-8=51 Exploring Operation: 59-7=52, Resulting Numbers: [8, 89, 52] Generated Node #0,2: 31:[8, 89, 52] Operation: 59-7=52 Exploring Operation: 89-8=81, Resulting Numbers: [59, 7, 81] Generated Node #0,3: 31:[59, 7, 81] Operation: 89-8=81 Moving to Node #0,0 Current State: 31:[8, 7, 30], Operations: ['89-59=30'] Exploring Operation: 8*7=56, Resulting Numbers: [30, 56] Generated Node #0,0,0: 31:[30, 56] Operation: 8*7=56 Exploring Operation: 7+30=37, Resulting Numbers: [8, 37] Generated Node #0,0,1: 31:[8, 37] Operation: 7+30=37 Exploring Operation: 8-7=1, Resulting Numbers: [30, 1] Generated Node #0,0,2: 31:[30, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [30, 15] Generated Node #0,0,3: 31:[30, 15] Operation: 8+7=15 Moving to Node #0,2 Current State: 31:[8, 89, 52], Operations: ['59-7=52'] Exploring Operation: 8+89=97, Resulting Numbers: [52, 97] Generated Node #0,2,0: 31:[52, 97] Operation: 8+89=97 Exploring Operation: 89-8=81, Resulting Numbers: [52, 81] Generated Node #0,2,1: 31:[52, 81] Operation: 89-8=81 Exploring Operation: 89-52=37, Resulting Numbers: [8, 37] Generated Node #0,2,2: 31:[8, 37] Operation: 89-52=37 Exploring Operation: 52-8=44, Resulting Numbers: [89, 44] Generated Node #0,2,3: 31:[89, 44] Operation: 52-8=44 Moving to Node #0,1 Current State: 31:[89, 7, 51], Operations: ['59-8=51'] Exploring Operation: 89-7=82, Resulting Numbers: [51, 82] Generated Node #0,1,0: 31:[51, 82] Operation: 89-7=82 Exploring Operation: 51-7=44, Resulting Numbers: [89, 44] Generated Node #0,1,1: 31:[89, 44] Operation: 51-7=44 Exploring Operation: 89-51=38, Resulting Numbers: [7, 38] Generated Node #0,1,2: 31:[7, 38] Operation: 89-51=38 Exploring Operation: 89+7=96, Resulting Numbers: [51, 96] Generated Node #0,1,3: 31:[51, 96] Operation: 89+7=96 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[7, 38], Operations: ['59-8=51', '89-51=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,31 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[59, 8, 89, 7], Operations: [] Exploring Operation: 59-8=51, Resulting Numbers: [89, 7, 51] Generated Node #0,1: 31:[89, 7, 51] Operation: 59-8=51 Moving to Node #0,1 Current State: 31:[89, 7, 51], Operations: ['59-8=51'] Exploring Operation: 89-51=38, Resulting Numbers: [7, 38] Generated Node #0,1,2: 31:[7, 38] Operation: 89-51=38 Moving to Node #0,1,2 Current State: 31:[7, 38], Operations: ['59-8=51', '89-51=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 44, 4, 14, 69 ]
85
[ "44/4=11", "14*11=154", "154-69=85" ]
Current State: 85:[44, 4, 14, 69], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [14, 69, 11] Generated Node #2: [14, 69, 11] from Operation: 44/4=11 Current State: 85:[14, 69, 11], Operations: ['44/4=11'] Exploring Operation: 14*11=154, Resulting Numbers: [69, 154] Generated Node #3: [69, 154] from Operation: 14*11=154 Current State: 85:[69, 154], Operations: ['44/4=11', '14*11=154'] Exploring Operation: 154-69=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[44, 4, 14, 69], Operations: [] Exploring Operation: 14+69=83, Resulting Numbers: [44, 4, 83] Generated Node #0,0: 85:[44, 4, 83] Operation: 14+69=83 Exploring Operation: 69-44=25, Resulting Numbers: [4, 14, 25] Generated Node #0,1: 85:[4, 14, 25] Operation: 69-44=25 Exploring Operation: 44/4=11, Resulting Numbers: [14, 69, 11] Generated Node #0,2: 85:[14, 69, 11] Operation: 44/4=11 Exploring Operation: 44-14=30, Resulting Numbers: [4, 69, 30] Generated Node #0,3: 85:[4, 69, 30] Operation: 44-14=30 Moving to Node #0,1 Current State: 85:[4, 14, 25], Operations: ['69-44=25'] Exploring Operation: 14-4=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 85:[25, 10] Operation: 14-4=10 Exploring Operation: 25-4=21, Resulting Numbers: [14, 21] Generated Node #0,1,1: 85:[14, 21] Operation: 25-4=21 Exploring Operation: 25-14=11, Resulting Numbers: [4, 11] Generated Node #0,1,2: 85:[4, 11] Operation: 25-14=11 Exploring Operation: 4+14=18, Resulting Numbers: [25, 18] Generated Node #0,1,3: 85:[25, 18] Operation: 4+14=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[14, 21], Operations: ['69-44=25', '25-4=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[4, 11], Operations: ['69-44=25', '25-14=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 85:[25, 18], Operations: ['69-44=25', '4+14=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,85 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[25, 10], Operations: ['69-44=25', '14-4=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,85 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 85:[14, 69, 11], Operations: ['44/4=11'] Exploring Operation: 14+69=83, Resulting Numbers: [11, 83] Generated Node #0,2,0: 85:[11, 83] Operation: 14+69=83 Exploring Operation: 14+11=25, Resulting Numbers: [69, 25] Generated Node #0,2,1: 85:[69, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [69, 3] Generated Node #0,2,2: 85:[69, 3] Operation: 14-11=3 Exploring Operation: 69+11=80, Resulting Numbers: [14, 80] Generated Node #0,2,3: 85:[14, 80] Operation: 69+11=80 Moving to Node #0,3 Current State: 85:[4, 69, 30], Operations: ['44-14=30'] Exploring Operation: 30-4=26, Resulting Numbers: [69, 26] Generated Node #0,3,0: 85:[69, 26] Operation: 30-4=26 Exploring Operation: 69+30=99, Resulting Numbers: [4, 99] Generated Node #0,3,1: 85:[4, 99] Operation: 69+30=99 Exploring Operation: 4+69=73, Resulting Numbers: [30, 73] Generated Node #0,3,2: 85:[30, 73] Operation: 4+69=73 Exploring Operation: 69-30=39, Resulting Numbers: [4, 39] Generated Node #0,3,3: 85:[4, 39] Operation: 69-30=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[4, 99], Operations: ['44-14=30', '69+30=99'] Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,85 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[4, 39], Operations: ['44-14=30', '69-30=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[69, 26], Operations: ['44-14=30', '30-4=26'] Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,85 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[30, 73], Operations: ['44-14=30', '4+69=73'] Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,85 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 85:[44, 4, 83], Operations: ['14+69=83'] Exploring Operation: 83-44=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 85:[4, 39] Operation: 83-44=39 Exploring Operation: 44-4=40, Resulting Numbers: [83, 40] Generated Node #0,0,1: 85:[83, 40] Operation: 44-4=40 Exploring Operation: 4+83=87, Resulting Numbers: [44, 87] Generated Node #0,0,2: 85:[44, 87] Operation: 4+83=87 Exploring Operation: 44/4=11, Resulting Numbers: [83, 11] Generated Node #0,0,3: 85:[83, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[83, 11], Operations: ['14+69=83', '44/4=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,85 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[4, 39], Operations: ['14+69=83', '83-44=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,85 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[83, 40], Operations: ['14+69=83', '44-4=40'] Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,85 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,85 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[44, 87], Operations: ['14+69=83', '4+83=87'] Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,85 unequal: No Solution Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,85 unequal: No Solution Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 85:[11, 83], Operations: ['44/4=11', '14+69=83'] Exploring Operation: 11*83=913, Resulting Numbers: [913] 913,85 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 11+83=94, Resulting Numbers: [94] 94,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[14, 80], Operations: ['44/4=11', '69+11=80'] Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,85 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,85 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[69, 3], Operations: ['44/4=11', '14-11=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,85 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[69, 25], Operations: ['44/4=11', '14+11=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,85 unequal: No Solution Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,85 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,85 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 18, 27, 57, 45 ]
12
[ "57-27=30", "18*30=540", "540/45=12" ]
Current State: 12:[18, 27, 57, 45], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [18, 45, 30] Generated Node #2: [18, 45, 30] from Operation: 57-27=30 Current State: 12:[18, 45, 30], Operations: ['57-27=30'] Exploring Operation: 18*30=540, Resulting Numbers: [45, 540] Generated Node #3: [45, 540] from Operation: 18*30=540 Current State: 12:[45, 540], Operations: ['57-27=30', '18*30=540'] Exploring Operation: 540/45=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[18, 27, 57, 45], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [18, 45, 30] Generated Node #0,0: 12:[18, 45, 30] Operation: 57-27=30 Exploring Operation: 57-45=12, Resulting Numbers: [18, 27, 12] Generated Node #0,1: 12:[18, 27, 12] Operation: 57-45=12 Exploring Operation: 57-18=39, Resulting Numbers: [27, 45, 39] Generated Node #0,2: 12:[27, 45, 39] Operation: 57-18=39 Exploring Operation: 45-27=18, Resulting Numbers: [18, 57, 18] Generated Node #0,3: 12:[18, 57, 18] Operation: 45-27=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[18, 27, 12], Operations: ['57-45=12'] Exploring Operation: 27-12=15, Resulting Numbers: [18, 15] Generated Node #0,1,0: 12:[18, 15] Operation: 27-12=15 Exploring Operation: 27-18=9, Resulting Numbers: [12, 9] Generated Node #0,1,1: 12:[12, 9] Operation: 27-18=9 Exploring Operation: 18+27=45, Resulting Numbers: [12, 45] Generated Node #0,1,2: 12:[12, 45] Operation: 18+27=45 Exploring Operation: 18-12=6, Resulting Numbers: [27, 6] Generated Node #0,1,3: 12:[27, 6] Operation: 18-12=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[12, 9], Operations: ['57-45=12', '27-18=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[18, 15], Operations: ['57-45=12', '27-12=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,12 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[27, 6], Operations: ['57-45=12', '18-12=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,12 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[12, 45], Operations: ['57-45=12', '18+27=45'] Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,12 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[18, 45, 30], Operations: ['57-27=30'] Exploring Operation: 30-18=12, Resulting Numbers: [45, 12] Generated Node #0,0,0: 12:[45, 12] Operation: 30-18=12 Exploring Operation: 45-18=27, Resulting Numbers: [30, 27] Generated Node #0,0,1: 12:[30, 27] Operation: 45-18=27 Exploring Operation: 18+45=63, Resulting Numbers: [30, 63] Generated Node #0,0,2: 12:[30, 63] Operation: 18+45=63 Exploring Operation: 45-30=15, Resulting Numbers: [18, 15] Generated Node #0,0,3: 12:[18, 15] Operation: 45-30=15 Moving to Node #0,0,3 Current State: 12:[18, 15], Operations: ['57-27=30', '45-30=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,12 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[30, 27], Operations: ['57-27=30', '45-18=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,12 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[45, 12], Operations: ['57-27=30', '30-18=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,12 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[30, 63], Operations: ['57-27=30', '18+45=63'] Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,12 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[18, 57, 18], Operations: ['45-27=18'] Exploring Operation: 57-18=39, Resulting Numbers: [18, 39] Generated Node #0,3,0: 12:[18, 39] Operation: 57-18=39 Exploring Operation: 18-18=0, Resulting Numbers: [57, 0] Generated Node #0,3,1: 12:[57, 0] Operation: 18-18=0 Exploring Operation: 18/18=1, Resulting Numbers: [57, 1] Generated Node #0,3,2: 12:[57, 1] Operation: 18/18=1 Exploring Operation: 57-18=39, Resulting Numbers: [18, 39] Generated Node #0,3,3: 12:[18, 39] Operation: 57-18=39 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[18, 39], Operations: ['45-27=18', '57-18=39'] Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[18, 39], Operations: ['45-27=18', '57-18=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,12 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[57, 1], Operations: ['45-27=18', '18/18=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 12:[57, 0], Operations: ['45-27=18', '18-18=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 57-0=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 57*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[27, 45, 39], Operations: ['57-18=39'] Exploring Operation: 27+45=72, Resulting Numbers: [39, 72] Generated Node #0,2,0: 12:[39, 72] Operation: 27+45=72 Exploring Operation: 45-27=18, Resulting Numbers: [39, 18] Generated Node #0,2,1: 12:[39, 18] Operation: 45-27=18 Exploring Operation: 39-27=12, Resulting Numbers: [45, 12] Generated Node #0,2,2: 12:[45, 12] Operation: 39-27=12 Exploring Operation: 45-39=6, Resulting Numbers: [27, 6] Generated Node #0,2,3: 12:[27, 6] Operation: 45-39=6 Moving to Node #0,2,3 Current State: 12:[27, 6], Operations: ['57-18=39', '45-39=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,12 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[45, 12], Operations: ['57-18=39', '39-27=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,12 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[39, 18], Operations: ['57-18=39', '45-27=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,12 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[39, 72], Operations: ['57-18=39', '27+45=72'] Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 39+72=111, Resulting Numbers: [111] 111,12 unequal: No Solution Exploring Operation: 39*72=2808, Resulting Numbers: [2808] 2808,12 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
[ 86, 56, 35, 62 ]
15
[ "86-62=24", "35*24=840", "840/56=15" ]
Current State: 15:[86, 56, 35, 62], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [56, 35, 24] Generated Node #2: [56, 35, 24] from Operation: 86-62=24 Current State: 15:[56, 35, 24], Operations: ['86-62=24'] Exploring Operation: 35*24=840, Resulting Numbers: [56, 840] Generated Node #3: [56, 840] from Operation: 35*24=840 Current State: 15:[56, 840], Operations: ['86-62=24', '35*24=840'] Exploring Operation: 840/56=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[86, 56, 35, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [86, 35, 6] Generated Node #0,0: 15:[86, 35, 6] Operation: 62-56=6 Exploring Operation: 86-62=24, Resulting Numbers: [56, 35, 24] Generated Node #0,1: 15:[56, 35, 24] Operation: 86-62=24 Exploring Operation: 86-56=30, Resulting Numbers: [35, 62, 30] Generated Node #0,2: 15:[35, 62, 30] Operation: 86-56=30 Exploring Operation: 86-35=51, Resulting Numbers: [56, 62, 51] Generated Node #0,3: 15:[56, 62, 51] Operation: 86-35=51 Moving to Node #0,1 Current State: 15:[56, 35, 24], Operations: ['86-62=24'] Exploring Operation: 35-24=11, Resulting Numbers: [56, 11] Generated Node #0,1,0: 15:[56, 11] Operation: 35-24=11 Exploring Operation: 56-35=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 15:[24, 21] Operation: 56-35=21 Exploring Operation: 56+35=91, Resulting Numbers: [24, 91] Generated Node #0,1,2: 15:[24, 91] Operation: 56+35=91 Exploring Operation: 56-24=32, Resulting Numbers: [35, 32] Generated Node #0,1,3: 15:[35, 32] Operation: 56-24=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[24, 21], Operations: ['86-62=24', '56-35=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,15 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[35, 32], Operations: ['86-62=24', '56-24=32'] Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,15 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[56, 11], Operations: ['86-62=24', '35-24=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[24, 91], Operations: ['86-62=24', '56+35=91'] Exploring Operation: 24+91=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 24*91=2184, Resulting Numbers: [2184] 2184,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 15:[35, 62, 30], Operations: ['86-56=30'] Exploring Operation: 62-35=27, Resulting Numbers: [30, 27] Generated Node #0,2,0: 15:[30, 27] Operation: 62-35=27 Exploring Operation: 35+62=97, Resulting Numbers: [30, 97] Generated Node #0,2,1: 15:[30, 97] Operation: 35+62=97 Exploring Operation: 62-30=32, Resulting Numbers: [35, 32] Generated Node #0,2,2: 15:[35, 32] Operation: 62-30=32 Exploring Operation: 35-30=5, Resulting Numbers: [62, 5] Generated Node #0,2,3: 15:[62, 5] Operation: 35-30=5 Moving to Node #0,0 Current State: 15:[86, 35, 6], Operations: ['62-56=6'] Exploring Operation: 86+6=92, Resulting Numbers: [35, 92] Generated Node #0,0,0: 15:[35, 92] Operation: 86+6=92 Exploring Operation: 86-6=80, Resulting Numbers: [35, 80] Generated Node #0,0,1: 15:[35, 80] Operation: 86-6=80 Exploring Operation: 86-35=51, Resulting Numbers: [6, 51] Generated Node #0,0,2: 15:[6, 51] Operation: 86-35=51 Exploring Operation: 35-6=29, Resulting Numbers: [86, 29] Generated Node #0,0,3: 15:[86, 29] Operation: 35-6=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[6, 51], Operations: ['62-56=6', '86-35=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,15 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[35, 80], Operations: ['62-56=6', '86-6=80'] Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,15 unequal: No Solution Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[86, 29], Operations: ['62-56=6', '35-6=29'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,15 unequal: No Solution Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[35, 92], Operations: ['62-56=6', '86+6=92'] Exploring Operation: 35*92=3220, Resulting Numbers: [3220] 3220,15 unequal: No Solution Exploring Operation: 35+92=127, Resulting Numbers: [127] 127,15 unequal: No Solution Exploring Operation: 92-35=57, Resulting Numbers: [57] 57,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 15:[56, 62, 51], Operations: ['86-35=51'] Exploring Operation: 62-56=6, Resulting Numbers: [51, 6] Generated Node #0,3,0: 15:[51, 6] Operation: 62-56=6 Exploring Operation: 56+62=118, Resulting Numbers: [51, 118] Generated Node #0,3,1: 15:[51, 118] Operation: 56+62=118 Exploring Operation: 62-51=11, Resulting Numbers: [56, 11] Generated Node #0,3,2: 15:[56, 11] Operation: 62-51=11 Exploring Operation: 56-51=5, Resulting Numbers: [62, 5] Generated Node #0,3,3: 15:[62, 5] Operation: 56-51=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[51, 6], Operations: ['86-35=51', '62-56=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[56, 11], Operations: ['86-35=51', '62-51=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[62, 5], Operations: ['86-35=51', '56-51=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,15 unequal: No Solution Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[51, 118], Operations: ['86-35=51', '56+62=118'] Exploring Operation: 51*118=6018, Resulting Numbers: [6018] 6018,15 unequal: No Solution Exploring Operation: 118-51=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 51+118=169, Resulting Numbers: [169] 169,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 15:[30, 27], Operations: ['86-56=30', '62-35=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[35, 32], Operations: ['86-56=30', '62-30=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,15 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[62, 5], Operations: ['86-56=30', '35-30=5'] Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[30, 97], Operations: ['86-56=30', '35+62=97'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 30*97=2910, Resulting Numbers: [2910] 2910,15 unequal: No Solution Exploring Operation: 30+97=127, Resulting Numbers: [127] 127,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 23, 21, 84, 59 ]
17
[ "23-21=2", "84/2=42", "59-42=17" ]
Current State: 17:[23, 21, 84, 59], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [84, 59, 2] Generated Node #2: [84, 59, 2] from Operation: 23-21=2 Current State: 17:[84, 59, 2], Operations: ['23-21=2'] Exploring Operation: 84/2=42, Resulting Numbers: [59, 42] Generated Node #3: [59, 42] from Operation: 84/2=42 Current State: 17:[59, 42], Operations: ['23-21=2', '84/2=42'] Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[23, 21, 84, 59], Operations: [] Exploring Operation: 84-23=61, Resulting Numbers: [21, 59, 61] Generated Node #0,0: 17:[21, 59, 61] Operation: 84-23=61 Exploring Operation: 59-23=36, Resulting Numbers: [21, 84, 36] Generated Node #0,1: 17:[21, 84, 36] Operation: 59-23=36 Exploring Operation: 84-21=63, Resulting Numbers: [23, 59, 63] Generated Node #0,2: 17:[23, 59, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [23, 59, 4] Generated Node #0,3: 17:[23, 59, 4] Operation: 84/21=4 Exploring Operation: 84-59=25, Resulting Numbers: [23, 21, 25] Generated Node #0,4: 17:[23, 21, 25] Operation: 84-59=25 Moving to Node #0,4 Current State: 17:[23, 21, 25], Operations: ['84-59=25'] Exploring Operation: 23+25=48, Resulting Numbers: [21, 48] Generated Node #0,4,0: 17:[21, 48] Operation: 23+25=48 Exploring Operation: 25-23=2, Resulting Numbers: [21, 2] Generated Node #0,4,1: 17:[21, 2] Operation: 25-23=2 Exploring Operation: 23+21=44, Resulting Numbers: [25, 44] Generated Node #0,4,2: 17:[25, 44] Operation: 23+21=44 Exploring Operation: 25-21=4, Resulting Numbers: [23, 4] Generated Node #0,4,3: 17:[23, 4] Operation: 25-21=4 Exploring Operation: 23-21=2, Resulting Numbers: [25, 2] Generated Node #0,4,4: 17:[25, 2] Operation: 23-21=2 Moving to Node #0,3 Current State: 17:[23, 59, 4], Operations: ['84/21=4'] Exploring Operation: 59-23=36, Resulting Numbers: [4, 36] Generated Node #0,3,0: 17:[4, 36] Operation: 59-23=36 Exploring Operation: 23+4=27, Resulting Numbers: [59, 27] Generated Node #0,3,1: 17:[59, 27] Operation: 23+4=27 Exploring Operation: 59-4=55, Resulting Numbers: [23, 55] Generated Node #0,3,2: 17:[23, 55] Operation: 59-4=55 Exploring Operation: 59+4=63, Resulting Numbers: [23, 63] Generated Node #0,3,3: 17:[23, 63] Operation: 59+4=63 Exploring Operation: 23-4=19, Resulting Numbers: [59, 19] Generated Node #0,3,4: 17:[59, 19] Operation: 23-4=19 Moving to Node #0,0 Current State: 17:[21, 59, 61], Operations: ['84-23=61'] Exploring Operation: 61-21=40, Resulting Numbers: [59, 40] Generated Node #0,0,0: 17:[59, 40] Operation: 61-21=40 Exploring Operation: 59-21=38, Resulting Numbers: [61, 38] Generated Node #0,0,1: 17:[61, 38] Operation: 59-21=38 Exploring Operation: 21+61=82, Resulting Numbers: [59, 82] Generated Node #0,0,2: 17:[59, 82] Operation: 21+61=82 Exploring Operation: 21+59=80, Resulting Numbers: [61, 80] Generated Node #0,0,3: 17:[61, 80] Operation: 21+59=80 Exploring Operation: 61-59=2, Resulting Numbers: [21, 2] Generated Node #0,0,4: 17:[21, 2] Operation: 61-59=2 Moving to Node #0,1 Current State: 17:[21, 84, 36], Operations: ['59-23=36'] Exploring Operation: 36-21=15, Resulting Numbers: [84, 15] Generated Node #0,1,0: 17:[84, 15] Operation: 36-21=15 Exploring Operation: 84/21=4, Resulting Numbers: [36, 4] Generated Node #0,1,1: 17:[36, 4] Operation: 84/21=4 Exploring Operation: 84-36=48, Resulting Numbers: [21, 48] Generated Node #0,1,2: 17:[21, 48] Operation: 84-36=48 Exploring Operation: 84-21=63, Resulting Numbers: [36, 63] Generated Node #0,1,3: 17:[36, 63] Operation: 84-21=63 Exploring Operation: 21+84=105, Resulting Numbers: [36, 105] Generated Node #0,1,4: 17:[36, 105] Operation: 21+84=105 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[36, 4], Operations: ['59-23=36', '84/21=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[21, 48], Operations: ['59-23=36', '84-36=48'] Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[36, 63], Operations: ['59-23=36', '84-21=63'] Exploring Operation: 36+63=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 36*63=2268, Resulting Numbers: [2268] 2268,17 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[84, 15], Operations: ['59-23=36', '36-21=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,17 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 17:[36, 105], Operations: ['59-23=36', '21+84=105'] Exploring Operation: 36*105=3780, Resulting Numbers: [3780] 3780,17 unequal: No Solution Exploring Operation: 36+105=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 105-36=69, Resulting Numbers: [69] 69,17 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: 17:[23, 59, 63], Operations: ['84-21=63'] Exploring Operation: 59-23=36, Resulting Numbers: [63, 36] Generated Node #0,2,0: 17:[63, 36] Operation: 59-23=36 Exploring Operation: 23+63=86, Resulting Numbers: [59, 86] Generated Node #0,2,1: 17:[59, 86] Operation: 23+63=86 Exploring Operation: 23+59=82, Resulting Numbers: [63, 82] Generated Node #0,2,2: 17:[63, 82] Operation: 23+59=82 Exploring Operation: 63-23=40, Resulting Numbers: [59, 40] Generated Node #0,2,3: 17:[59, 40] Operation: 63-23=40 Exploring Operation: 63-59=4, Resulting Numbers: [23, 4] Generated Node #0,2,4: 17:[23, 4] Operation: 63-59=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 17:[23, 4], Operations: ['84-21=63', '63-59=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[63, 36], Operations: ['84-21=63', '59-23=36'] Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 63*36=2268, Resulting Numbers: [2268] 2268,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[59, 40], Operations: ['84-21=63', '63-23=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,17 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[59, 86], Operations: ['84-21=63', '23+63=86'] Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,17 unequal: No Solution Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,17 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[63, 82], Operations: ['84-21=63', '23+59=82'] Exploring Operation: 63*82=5166, Resulting Numbers: [5166] 5166,17 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 17:[21, 2], Operations: ['84-59=25', '25-23=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[23, 4], Operations: ['84-59=25', '25-21=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,17 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[21, 2], Operations: ['84-23=61', '61-59=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[25, 2], Operations: ['84-59=25', '23-21=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[4, 36], Operations: ['84/21=4', '59-23=36'] Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[25, 44], Operations: ['84-59=25', '23+21=44'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[21, 48], Operations: ['84-59=25', '23+25=48'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[23, 55], Operations: ['84/21=4', '59-4=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,17 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[59, 19], Operations: ['84/21=4', '23-4=19'] Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[23, 63], Operations: ['84/21=4', '59+4=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,17 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[59, 27], Operations: ['84/21=4', '23+4=27'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,17 unequal: No Solution Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[61, 38], Operations: ['84-23=61', '59-21=38'] Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,17 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[59, 40], Operations: ['84-23=61', '61-21=40'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,17 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[59, 82], Operations: ['84-23=61', '21+61=82'] Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,17 unequal: No Solution Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[61, 80], Operations: ['84-23=61', '21+59=80'] Exploring Operation: 61*80=4880, Resulting Numbers: [4880] 4880,17 unequal: No Solution Exploring Operation: 61+80=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 44, 19, 28, 76 ]
39
[ "44*19=836", "836/76=11", "28+11=39" ]
Current State: 39:[44, 19, 28, 76], Operations: [] Exploring Operation: 44*19=836, Resulting Numbers: [28, 76, 836] Generated Node #2: [28, 76, 836] from Operation: 44*19=836 Current State: 39:[28, 76, 836], Operations: ['44*19=836'] Exploring Operation: 836/76=11, Resulting Numbers: [28, 11] Generated Node #3: [28, 11] from Operation: 836/76=11 Current State: 39:[28, 11], Operations: ['44*19=836', '836/76=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[44, 19, 28, 76], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [44, 28, 4] Generated Node #0,0: 39:[44, 28, 4] Operation: 76/19=4 Exploring Operation: 76-28=48, Resulting Numbers: [44, 19, 48] Generated Node #0,1: 39:[44, 19, 48] Operation: 76-28=48 Exploring Operation: 76-44=32, Resulting Numbers: [19, 28, 32] Generated Node #0,2: 39:[19, 28, 32] Operation: 76-44=32 Moving to Node #0,0 Current State: 39:[44, 28, 4], Operations: ['76/19=4'] Exploring Operation: 44-4=40, Resulting Numbers: [28, 40] Generated Node #0,0,0: 39:[28, 40] Operation: 44-4=40 Exploring Operation: 44-28=16, Resulting Numbers: [4, 16] Generated Node #0,0,1: 39:[4, 16] Operation: 44-28=16 Exploring Operation: 28/4=7, Resulting Numbers: [44, 7] Generated Node #0,0,2: 39:[44, 7] Operation: 28/4=7 Moving to Node #0,1 Current State: 39:[44, 19, 48], Operations: ['76-28=48'] Exploring Operation: 48-19=29, Resulting Numbers: [44, 29] Generated Node #0,1,0: 39:[44, 29] Operation: 48-19=29 Exploring Operation: 48-44=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 39:[19, 4] Operation: 48-44=4 Exploring Operation: 44-19=25, Resulting Numbers: [48, 25] Generated Node #0,1,2: 39:[48, 25] Operation: 44-19=25 Moving to Node #0,2 Current State: 39:[19, 28, 32], Operations: ['76-44=32'] Exploring Operation: 28-19=9, Resulting Numbers: [32, 9] Generated Node #0,2,0: 39:[32, 9] Operation: 28-19=9 Exploring Operation: 32-28=4, Resulting Numbers: [19, 4] Generated Node #0,2,1: 39:[19, 4] Operation: 32-28=4 Exploring Operation: 32-19=13, Resulting Numbers: [28, 13] Generated Node #0,2,2: 39:[28, 13] Operation: 32-19=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[19, 4], Operations: ['76-44=32', '32-28=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[32, 9], Operations: ['76-44=32', '28-19=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,39 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[28, 13], Operations: ['76-44=32', '32-19=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,39 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,39 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: 39:[4, 16], Operations: ['76/19=4', '44-28=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[19, 4], Operations: ['76-28=48', '48-44=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[44, 7], Operations: ['76/19=4', '28/4=7'] Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,39 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[28, 40], Operations: ['76/19=4', '44-4=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,39 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[44, 29], Operations: ['76-28=48', '48-19=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[48, 25], Operations: ['76-28=48', '44-19=25'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,39 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,39 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 17, 53, 43 ]
98
[ "53-17=36", "43-36=7", "14*7=98" ]
Current State: 98:[14, 17, 53, 43], Operations: [] Exploring Operation: 53-17=36, Resulting Numbers: [14, 43, 36] Generated Node #2: [14, 43, 36] from Operation: 53-17=36 Current State: 98:[14, 43, 36], Operations: ['53-17=36'] Exploring Operation: 43-36=7, Resulting Numbers: [14, 7] Generated Node #3: [14, 7] from Operation: 43-36=7 Current State: 98:[14, 7], Operations: ['53-17=36', '43-36=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[14, 17, 53, 43], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [14, 17, 10] Generated Node #0,0: 98:[14, 17, 10] Operation: 53-43=10 Exploring Operation: 14+43=57, Resulting Numbers: [17, 53, 57] Generated Node #0,1: 98:[17, 53, 57] Operation: 14+43=57 Exploring Operation: 17+43=60, Resulting Numbers: [14, 53, 60] Generated Node #0,2: 98:[14, 53, 60] Operation: 17+43=60 Exploring Operation: 53+43=96, Resulting Numbers: [14, 17, 96] Generated Node #0,3: 98:[14, 17, 96] Operation: 53+43=96 Exploring Operation: 17-14=3, Resulting Numbers: [53, 43, 3] Generated Node #0,4: 98:[53, 43, 3] Operation: 17-14=3 Moving to Node #0,3 Current State: 98:[14, 17, 96], Operations: ['53+43=96'] Exploring Operation: 14+17=31, Resulting Numbers: [96, 31] Generated Node #0,3,0: 98:[96, 31] Operation: 14+17=31 Exploring Operation: 17+96=113, Resulting Numbers: [14, 113] Generated Node #0,3,1: 98:[14, 113] Operation: 17+96=113 Exploring Operation: 96-14=82, Resulting Numbers: [17, 82] Generated Node #0,3,2: 98:[17, 82] Operation: 96-14=82 Exploring Operation: 14+96=110, Resulting Numbers: [17, 110] Generated Node #0,3,3: 98:[17, 110] Operation: 14+96=110 Exploring Operation: 17-14=3, Resulting Numbers: [96, 3] Generated Node #0,3,4: 98:[96, 3] Operation: 17-14=3 Moving to Node #0,0 Current State: 98:[14, 17, 10], Operations: ['53-43=10'] Exploring Operation: 14-10=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 98:[17, 4] Operation: 14-10=4 Exploring Operation: 14+10=24, Resulting Numbers: [17, 24] Generated Node #0,0,1: 98:[17, 24] Operation: 14+10=24 Exploring Operation: 17+10=27, Resulting Numbers: [14, 27] Generated Node #0,0,2: 98:[14, 27] Operation: 17+10=27 Exploring Operation: 17-14=3, Resulting Numbers: [10, 3] Generated Node #0,0,3: 98:[10, 3] Operation: 17-14=3 Exploring Operation: 17-10=7, Resulting Numbers: [14, 7] Generated Node #0,0,4: 98:[14, 7] Operation: 17-10=7 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 98:[14, 7], Operations: ['53-43=10', '17-10=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[14, 17, 53, 43], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [14, 17, 10] Generated Node #0,0: 98:[14, 17, 10] Operation: 53-43=10 Moving to Node #0,0 Current State: 98:[14, 17, 10], Operations: ['53-43=10'] Exploring Operation: 17-10=7, Resulting Numbers: [14, 7] Generated Node #0,0,4: 98:[14, 7] Operation: 17-10=7 Moving to Node #0,0,4 Current State: 98:[14, 7], Operations: ['53-43=10', '17-10=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 96, 86, 15, 51 ]
26
[ "96-86=10", "51-15=36", "36-10=26" ]
Current State: 26:[96, 86, 15, 51], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [15, 51, 10] Generated Node #2: [15, 51, 10] from Operation: 96-86=10 Current State: 26:[15, 51, 10], Operations: ['96-86=10'] Exploring Operation: 51-15=36, Resulting Numbers: [10, 36] Generated Node #3: [10, 36] from Operation: 51-15=36 Current State: 26:[10, 36], Operations: ['96-86=10', '51-15=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[96, 86, 15, 51], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [15, 51, 10] Generated Node #0,0: 26:[15, 51, 10] Operation: 96-86=10 Exploring Operation: 86-51=35, Resulting Numbers: [96, 15, 35] Generated Node #0,1: 26:[96, 15, 35] Operation: 86-51=35 Exploring Operation: 96-51=45, Resulting Numbers: [86, 15, 45] Generated Node #0,2: 26:[86, 15, 45] Operation: 96-51=45 Moving to Node #0,0 Current State: 26:[15, 51, 10], Operations: ['96-86=10'] Exploring Operation: 51-15=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 26:[10, 36] Operation: 51-15=36 Exploring Operation: 15+10=25, Resulting Numbers: [51, 25] Generated Node #0,0,1: 26:[51, 25] Operation: 15+10=25 Exploring Operation: 51-10=41, Resulting Numbers: [15, 41] Generated Node #0,0,2: 26:[15, 41] Operation: 51-10=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[10, 36], Operations: ['96-86=10', '51-15=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,26 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[96, 86, 15, 51], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [15, 51, 10] Generated Node #0,0: 26:[15, 51, 10] Operation: 96-86=10 Moving to Node #0,0 Current State: 26:[15, 51, 10], Operations: ['96-86=10'] Exploring Operation: 51-15=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 26:[10, 36] Operation: 51-15=36 Moving to Node #0,0,0 Current State: 26:[10, 36], Operations: ['96-86=10', '51-15=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 70, 63, 17, 5 ]
84
[ "70-63=7", "17-5=12", "7*12=84" ]
Current State: 84:[70, 63, 17, 5], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [17, 5, 7] Generated Node #2: [17, 5, 7] from Operation: 70-63=7 Current State: 84:[17, 5, 7], Operations: ['70-63=7'] Exploring Operation: 17-5=12, Resulting Numbers: [7, 12] Generated Node #3: [7, 12] from Operation: 17-5=12 Current State: 84:[7, 12], Operations: ['70-63=7', '17-5=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[70, 63, 17, 5], Operations: [] Exploring Operation: 63+17=80, Resulting Numbers: [70, 5, 80] Generated Node #0,0: 84:[70, 5, 80] Operation: 63+17=80 Exploring Operation: 70+17=87, Resulting Numbers: [63, 5, 87] Generated Node #0,1: 84:[63, 5, 87] Operation: 70+17=87 Exploring Operation: 63-17=46, Resulting Numbers: [70, 5, 46] Generated Node #0,2: 84:[70, 5, 46] Operation: 63-17=46 Exploring Operation: 70/5=14, Resulting Numbers: [63, 17, 14] Generated Node #0,3: 84:[63, 17, 14] Operation: 70/5=14 Exploring Operation: 70-63=7, Resulting Numbers: [17, 5, 7] Generated Node #0,4: 84:[17, 5, 7] Operation: 70-63=7 Moving to Node #0,4 Current State: 84:[17, 5, 7], Operations: ['70-63=7'] Exploring Operation: 5+7=12, Resulting Numbers: [17, 12] Generated Node #0,4,0: 84:[17, 12] Operation: 5+7=12 Exploring Operation: 17+5=22, Resulting Numbers: [7, 22] Generated Node #0,4,1: 84:[7, 22] Operation: 17+5=22 Exploring Operation: 17-5=12, Resulting Numbers: [7, 12] Generated Node #0,4,2: 84:[7, 12] Operation: 17-5=12 Exploring Operation: 17*5=85, Resulting Numbers: [7, 85] Generated Node #0,4,3: 84:[7, 85] Operation: 17*5=85 Exploring Operation: 17-7=10, Resulting Numbers: [5, 10] Generated Node #0,4,4: 84:[5, 10] Operation: 17-7=10 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 84:[7, 12], Operations: ['70-63=7', '17-5=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[70, 63, 17, 5], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [17, 5, 7] Generated Node #0,4: 84:[17, 5, 7] Operation: 70-63=7 Moving to Node #0,4 Current State: 84:[17, 5, 7], Operations: ['70-63=7'] Exploring Operation: 17-5=12, Resulting Numbers: [7, 12] Generated Node #0,4,2: 84:[7, 12] Operation: 17-5=12 Moving to Node #0,4,2 Current State: 84:[7, 12], Operations: ['70-63=7', '17-5=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 63, 22, 2, 6 ]
29
[ "63-22=41", "2*6=12", "41-12=29" ]
Current State: 29:[63, 22, 2, 6], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [2, 6, 41] Generated Node #2: [2, 6, 41] from Operation: 63-22=41 Current State: 29:[2, 6, 41], Operations: ['63-22=41'] Exploring Operation: 2*6=12, Resulting Numbers: [41, 12] Generated Node #3: [41, 12] from Operation: 2*6=12 Current State: 29:[41, 12], Operations: ['63-22=41', '2*6=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[63, 22, 2, 6], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [22, 6, 61] Generated Node #0,0: 29:[22, 6, 61] Operation: 63-2=61 Exploring Operation: 2*6=12, Resulting Numbers: [63, 22, 12] Generated Node #0,1: 29:[63, 22, 12] Operation: 2*6=12 Exploring Operation: 63-22=41, Resulting Numbers: [2, 6, 41] Generated Node #0,2: 29:[2, 6, 41] Operation: 63-22=41 Moving to Node #0,1 Current State: 29:[63, 22, 12], Operations: ['2*6=12'] Exploring Operation: 63-12=51, Resulting Numbers: [22, 51] Generated Node #0,1,0: 29:[22, 51] Operation: 63-12=51 Exploring Operation: 63-22=41, Resulting Numbers: [12, 41] Generated Node #0,1,1: 29:[12, 41] Operation: 63-22=41 Exploring Operation: 22+12=34, Resulting Numbers: [63, 34] Generated Node #0,1,2: 29:[63, 34] Operation: 22+12=34 Moving to Node #0,0 Current State: 29:[22, 6, 61], Operations: ['63-2=61'] Exploring Operation: 61-22=39, Resulting Numbers: [6, 39] Generated Node #0,0,0: 29:[6, 39] Operation: 61-22=39 Exploring Operation: 61-6=55, Resulting Numbers: [22, 55] Generated Node #0,0,1: 29:[22, 55] Operation: 61-6=55 Exploring Operation: 22+6=28, Resulting Numbers: [61, 28] Generated Node #0,0,2: 29:[61, 28] Operation: 22+6=28 Moving to Node #0,2 Current State: 29:[2, 6, 41], Operations: ['63-22=41'] Exploring Operation: 2*6=12, Resulting Numbers: [41, 12] Generated Node #0,2,0: 29:[41, 12] Operation: 2*6=12 Exploring Operation: 2+6=8, Resulting Numbers: [41, 8] Generated Node #0,2,1: 29:[41, 8] Operation: 2+6=8 Exploring Operation: 41-2=39, Resulting Numbers: [6, 39] Generated Node #0,2,2: 29:[6, 39] Operation: 41-2=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[41, 12], Operations: ['63-22=41', '2*6=12'] Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,29 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[63, 22, 2, 6], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [2, 6, 41] Generated Node #0,2: 29:[2, 6, 41] Operation: 63-22=41 Moving to Node #0,2 Current State: 29:[2, 6, 41], Operations: ['63-22=41'] Exploring Operation: 2*6=12, Resulting Numbers: [41, 12] Generated Node #0,2,0: 29:[41, 12] Operation: 2*6=12 Moving to Node #0,2,0 Current State: 29:[41, 12], Operations: ['63-22=41', '2*6=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 49, 22, 68, 59 ]
18
[ "49-22=27", "68-59=9", "27-9=18" ]
Current State: 18:[49, 22, 68, 59], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [68, 59, 27] Generated Node #2: [68, 59, 27] from Operation: 49-22=27 Current State: 18:[68, 59, 27], Operations: ['49-22=27'] Exploring Operation: 68-59=9, Resulting Numbers: [27, 9] Generated Node #3: [27, 9] from Operation: 68-59=9 Current State: 18:[27, 9], Operations: ['49-22=27', '68-59=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[49, 22, 68, 59], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [22, 59, 19] Generated Node #0,0: 18:[22, 59, 19] Operation: 68-49=19 Exploring Operation: 59-49=10, Resulting Numbers: [22, 68, 10] Generated Node #0,1: 18:[22, 68, 10] Operation: 59-49=10 Exploring Operation: 68-59=9, Resulting Numbers: [49, 22, 9] Generated Node #0,2: 18:[49, 22, 9] Operation: 68-59=9 Moving to Node #0,2 Current State: 18:[49, 22, 9], Operations: ['68-59=9'] Exploring Operation: 49-9=40, Resulting Numbers: [22, 40] Generated Node #0,2,0: 18:[22, 40] Operation: 49-9=40 Exploring Operation: 49-22=27, Resulting Numbers: [9, 27] Generated Node #0,2,1: 18:[9, 27] Operation: 49-22=27 Exploring Operation: 22-9=13, Resulting Numbers: [49, 13] Generated Node #0,2,2: 18:[49, 13] Operation: 22-9=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[9, 27], Operations: ['68-59=9', '49-22=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[49, 22, 68, 59], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [49, 22, 9] Generated Node #0,2: 18:[49, 22, 9] Operation: 68-59=9 Moving to Node #0,2 Current State: 18:[49, 22, 9], Operations: ['68-59=9'] Exploring Operation: 49-22=27, Resulting Numbers: [9, 27] Generated Node #0,2,1: 18:[9, 27] Operation: 49-22=27 Moving to Node #0,2,1 Current State: 18:[9, 27], Operations: ['68-59=9', '49-22=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 63, 47, 52, 86 ]
76
[ "63+47=110", "86-52=34", "110-34=76" ]
Current State: 76:[63, 47, 52, 86], Operations: [] Exploring Operation: 63+47=110, Resulting Numbers: [52, 86, 110] Generated Node #2: [52, 86, 110] from Operation: 63+47=110 Current State: 76:[52, 86, 110], Operations: ['63+47=110'] Exploring Operation: 86-52=34, Resulting Numbers: [110, 34] Generated Node #3: [110, 34] from Operation: 86-52=34 Current State: 76:[110, 34], Operations: ['63+47=110', '86-52=34'] Exploring Operation: 110-34=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[63, 47, 52, 86], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [47, 86, 11] Generated Node #0,0: 76:[47, 86, 11] Operation: 63-52=11 Exploring Operation: 52-47=5, Resulting Numbers: [63, 86, 5] Generated Node #0,1: 76:[63, 86, 5] Operation: 52-47=5 Moving to Node #0,1 Current State: 76:[63, 86, 5], Operations: ['52-47=5'] Exploring Operation: 86-63=23, Resulting Numbers: [5, 23] Generated Node #0,1,0: 76:[5, 23] Operation: 86-63=23 Exploring Operation: 63+5=68, Resulting Numbers: [86, 68] Generated Node #0,1,1: 76:[86, 68] Operation: 63+5=68 Moving to Node #0,0 Current State: 76:[47, 86, 11], Operations: ['63-52=11'] Exploring Operation: 86-11=75, Resulting Numbers: [47, 75] Generated Node #0,0,0: 76:[47, 75] Operation: 86-11=75 Exploring Operation: 86-47=39, Resulting Numbers: [11, 39] Generated Node #0,0,1: 76:[11, 39] Operation: 86-47=39 Moving to Node #0,1,0 Current State: 76:[5, 23], Operations: ['52-47=5', '86-63=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[11, 39], Operations: ['63-52=11', '86-47=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[47, 75], Operations: ['63-52=11', '86-11=75'] Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[86, 68], Operations: ['52-47=5', '63+5=68'] Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,76 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 65, 5, 54, 10 ]
51
[ "65/5=13", "54+10=64", "64-13=51" ]
Current State: 51:[65, 5, 54, 10], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [54, 10, 13] Generated Node #2: [54, 10, 13] from Operation: 65/5=13 Current State: 51:[54, 10, 13], Operations: ['65/5=13'] Exploring Operation: 54+10=64, Resulting Numbers: [13, 64] Generated Node #3: [13, 64] from Operation: 54+10=64 Current State: 51:[13, 64], Operations: ['65/5=13', '54+10=64'] Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[65, 5, 54, 10], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [54, 10, 13] Generated Node #0,0: 51:[54, 10, 13] Operation: 65/5=13 Exploring Operation: 65-10=55, Resulting Numbers: [5, 54, 55] Generated Node #0,1: 51:[5, 54, 55] Operation: 65-10=55 Exploring Operation: 65-54=11, Resulting Numbers: [5, 10, 11] Generated Node #0,2: 51:[5, 10, 11] Operation: 65-54=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[5, 54, 55], Operations: ['65-10=55'] Exploring Operation: 54-5=49, Resulting Numbers: [55, 49] Generated Node #0,1,0: 51:[55, 49] Operation: 54-5=49 Exploring Operation: 55-54=1, Resulting Numbers: [5, 1] Generated Node #0,1,1: 51:[5, 1] Operation: 55-54=1 Exploring Operation: 55-5=50, Resulting Numbers: [54, 50] Generated Node #0,1,2: 51:[54, 50] Operation: 55-5=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[5, 1], Operations: ['65-10=55', '55-54=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,51 unequal: No Solution No 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: 51:[54, 50], Operations: ['65-10=55', '55-5=50'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,51 unequal: No Solution No 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: 51:[55, 49], Operations: ['65-10=55', '54-5=49'] Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,51 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,51 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: 51:[54, 10, 13], Operations: ['65/5=13'] Exploring Operation: 13-10=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 51:[54, 3] Operation: 13-10=3 Exploring Operation: 10+13=23, Resulting Numbers: [54, 23] Generated Node #0,0,1: 51:[54, 23] Operation: 10+13=23 Exploring Operation: 54-10=44, Resulting Numbers: [13, 44] Generated Node #0,0,2: 51:[13, 44] Operation: 54-10=44 Moving to Node #0,0,0 Current State: 51:[54, 3], Operations: ['65/5=13', '13-10=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[65, 5, 54, 10], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [54, 10, 13] Generated Node #0,0: 51:[54, 10, 13] Operation: 65/5=13 Moving to Node #0,0 Current State: 51:[54, 10, 13], Operations: ['65/5=13'] Exploring Operation: 13-10=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 51:[54, 3] Operation: 13-10=3 Moving to Node #0,0,0 Current State: 51:[54, 3], Operations: ['65/5=13', '13-10=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 16, 19, 54, 90 ]
24
[ "19-16=3", "90/3=30", "54-30=24" ]
Current State: 24:[16, 19, 54, 90], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [54, 90, 3] Generated Node #2: [54, 90, 3] from Operation: 19-16=3 Current State: 24:[54, 90, 3], Operations: ['19-16=3'] Exploring Operation: 90/3=30, Resulting Numbers: [54, 30] Generated Node #3: [54, 30] from Operation: 90/3=30 Current State: 24:[54, 30], Operations: ['19-16=3', '90/3=30'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[16, 19, 54, 90], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [16, 19, 36] Generated Node #0,0: 24:[16, 19, 36] Operation: 90-54=36 Moving to Node #0,0 Current State: 24:[16, 19, 36], Operations: ['90-54=36'] Exploring Operation: 36-16=20, Resulting Numbers: [19, 20] Generated Node #0,0,0: 24:[19, 20] Operation: 36-16=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[19, 20], Operations: ['90-54=36', '36-16=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 99, 84, 99 ]
87
[ "2+84=86", "99/99=1", "86+1=87" ]
Current State: 87:[2, 99, 84, 99], Operations: [] Exploring Operation: 2+84=86, Resulting Numbers: [99, 99, 86] Generated Node #2: [99, 99, 86] from Operation: 2+84=86 Current State: 87:[99, 99, 86], Operations: ['2+84=86'] Exploring Operation: 99/99=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 99/99=1 Current State: 87:[86, 1], Operations: ['2+84=86', '99/99=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[2, 99, 84, 99], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [2, 84, 1] Generated Node #0,0: 87:[2, 84, 1] Operation: 99/99=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[2, 84, 1], Operations: ['99/99=1'] Exploring Operation: 2+84=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 87:[1, 86] Operation: 2+84=86 Moving to Node #0,0,0 Current State: 87:[1, 86], Operations: ['99/99=1', '2+84=86'] Exploring Operation: 1+86=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[2, 99, 84, 99], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [2, 84, 1] Generated Node #0,0: 87:[2, 84, 1] Operation: 99/99=1 Moving to Node #0,0 Current State: 87:[2, 84, 1], Operations: ['99/99=1'] Exploring Operation: 2+84=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 87:[1, 86] Operation: 2+84=86 Moving to Node #0,0,0 Current State: 87:[1, 86], Operations: ['99/99=1', '2+84=86'] Exploring Operation: 1+86=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 62, 66, 81, 18 ]
67
[ "66-62=4", "81-18=63", "4+63=67" ]
Current State: 67:[62, 66, 81, 18], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [81, 18, 4] Generated Node #2: [81, 18, 4] from Operation: 66-62=4 Current State: 67:[81, 18, 4], Operations: ['66-62=4'] Exploring Operation: 81-18=63, Resulting Numbers: [4, 63] Generated Node #3: [4, 63] from Operation: 81-18=63 Current State: 67:[4, 63], Operations: ['66-62=4', '81-18=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[62, 66, 81, 18], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [62, 66, 63] Generated Node #0,0: 67:[62, 66, 63] Operation: 81-18=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[62, 66, 63], Operations: ['81-18=63'] Exploring Operation: 62+63=125, Resulting Numbers: [66, 125] Generated Node #0,0,0: 67:[66, 125] Operation: 62+63=125 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[66, 125], Operations: ['81-18=63', '62+63=125'] Exploring Operation: 125-66=59, Resulting Numbers: [59] 59,67 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
[ 60, 15, 61, 57 ]
66
[ "60-57=3", "15/3=5", "61+5=66" ]
Current State: 66:[60, 15, 61, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [15, 61, 3] Generated Node #2: [15, 61, 3] from Operation: 60-57=3 Current State: 66:[15, 61, 3], Operations: ['60-57=3'] Exploring Operation: 15/3=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 15/3=5 Current State: 66:[61, 5], Operations: ['60-57=3', '15/3=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[60, 15, 61, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [15, 61, 3] Generated Node #0,0: 66:[15, 61, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[15, 61, 3], Operations: ['60-57=3'] Exploring Operation: 15-3=12, Resulting Numbers: [61, 12] Generated Node #0,0,0: 66:[61, 12] Operation: 15-3=12 Moving to Node #0,0,0 Current State: 66:[61, 12], Operations: ['60-57=3', '15-3=12'] Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,66 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
[ 18, 7, 91, 17 ]
98
[ "18-17=1", "7+91=98", "1*98=98" ]
Current State: 98:[18, 7, 91, 17], Operations: [] Exploring Operation: 18-17=1, Resulting Numbers: [7, 91, 1] Generated Node #2: [7, 91, 1] from Operation: 18-17=1 Current State: 98:[7, 91, 1], Operations: ['18-17=1'] Exploring Operation: 7+91=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 7+91=98 Current State: 98:[1, 98], Operations: ['18-17=1', '7+91=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[18, 7, 91, 17], Operations: [] Exploring Operation: 7+91=98, Resulting Numbers: [18, 17, 98] Generated Node #0,0: 98:[18, 17, 98] Operation: 7+91=98 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[18, 17, 98], Operations: ['7+91=98'] Exploring Operation: 18-17=1, Resulting Numbers: [98, 1] Generated Node #0,0,0: 98:[98, 1] Operation: 18-17=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[98, 1], Operations: ['7+91=98', '18-17=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[18, 7, 91, 17], Operations: [] Exploring Operation: 7+91=98, Resulting Numbers: [18, 17, 98] Generated Node #0,0: 98:[18, 17, 98] Operation: 7+91=98 Moving to Node #0,0 Current State: 98:[18, 17, 98], Operations: ['7+91=98'] Exploring Operation: 18-17=1, Resulting Numbers: [98, 1] Generated Node #0,0,0: 98:[98, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 98:[98, 1], Operations: ['7+91=98', '18-17=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 75, 16, 4 ]
80
[ "17+75=92", "16-4=12", "92-12=80" ]
Current State: 80:[17, 75, 16, 4], Operations: [] Exploring Operation: 17+75=92, Resulting Numbers: [16, 4, 92] Generated Node #2: [16, 4, 92] from Operation: 17+75=92 Current State: 80:[16, 4, 92], Operations: ['17+75=92'] Exploring Operation: 16-4=12, Resulting Numbers: [92, 12] Generated Node #3: [92, 12] from Operation: 16-4=12 Current State: 80:[92, 12], Operations: ['17+75=92', '16-4=12'] Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[17, 75, 16, 4], Operations: [] Exploring Operation: 16+4=20, Resulting Numbers: [17, 75, 20] Generated Node #0,0: 80:[17, 75, 20] Operation: 16+4=20 Exploring Operation: 17-16=1, Resulting Numbers: [75, 4, 1] Generated Node #0,1: 80:[75, 4, 1] Operation: 17-16=1 Exploring Operation: 17+4=21, Resulting Numbers: [75, 16, 21] Generated Node #0,2: 80:[75, 16, 21] Operation: 17+4=21 Exploring Operation: 75+4=79, Resulting Numbers: [17, 16, 79] Generated Node #0,3: 80:[17, 16, 79] Operation: 75+4=79 Moving to Node #0,3 Current State: 80:[17, 16, 79], Operations: ['75+4=79'] Exploring Operation: 17+79=96, Resulting Numbers: [16, 96] Generated Node #0,3,0: 80:[16, 96] Operation: 17+79=96 Exploring Operation: 17-16=1, Resulting Numbers: [79, 1] Generated Node #0,3,1: 80:[79, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [79, 33] Generated Node #0,3,2: 80:[79, 33] Operation: 17+16=33 Exploring Operation: 16+79=95, Resulting Numbers: [17, 95] Generated Node #0,3,3: 80:[17, 95] Operation: 16+79=95 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[79, 1], Operations: ['75+4=79', '17-16=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[17, 75, 16, 4], Operations: [] Exploring Operation: 75+4=79, Resulting Numbers: [17, 16, 79] Generated Node #0,3: 80:[17, 16, 79] Operation: 75+4=79 Moving to Node #0,3 Current State: 80:[17, 16, 79], Operations: ['75+4=79'] Exploring Operation: 17-16=1, Resulting Numbers: [79, 1] Generated Node #0,3,1: 80:[79, 1] Operation: 17-16=1 Moving to Node #0,3,1 Current State: 80:[79, 1], Operations: ['75+4=79', '17-16=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 20, 2, 28, 44 ]
72
[ "28-20=8", "44-8=36", "2*36=72" ]
Current State: 72:[20, 2, 28, 44], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [2, 44, 8] Generated Node #2: [2, 44, 8] from Operation: 28-20=8 Current State: 72:[2, 44, 8], Operations: ['28-20=8'] Exploring Operation: 44-8=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 44-8=36 Current State: 72:[2, 36], Operations: ['28-20=8', '44-8=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[20, 2, 28, 44], Operations: [] Exploring Operation: 28+44=72, Resulting Numbers: [20, 2, 72] Generated Node #0,0: 72:[20, 2, 72] Operation: 28+44=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[20, 2, 72], Operations: ['28+44=72'] Exploring Operation: 20-2=18, Resulting Numbers: [72, 18] Generated Node #0,0,0: 72:[72, 18] Operation: 20-2=18 Moving to Node #0,0,0 Current State: 72:[72, 18], Operations: ['28+44=72', '20-2=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,72 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
[ 50, 41, 40, 1 ]
48
[ "50-41=9", "40-1=39", "9+39=48" ]
Current State: 48:[50, 41, 40, 1], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [40, 1, 9] Generated Node #2: [40, 1, 9] from Operation: 50-41=9 Current State: 48:[40, 1, 9], Operations: ['50-41=9'] Exploring Operation: 40-1=39, Resulting Numbers: [9, 39] Generated Node #3: [9, 39] from Operation: 40-1=39 Current State: 48:[9, 39], Operations: ['50-41=9', '40-1=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[50, 41, 40, 1], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [40, 1, 9] Generated Node #0,0: 48:[40, 1, 9] Operation: 50-41=9 Exploring Operation: 41-40=1, Resulting Numbers: [50, 1, 1] Generated Node #0,1: 48:[50, 1, 1] Operation: 41-40=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[50, 1, 1], Operations: ['41-40=1'] Exploring Operation: 50-1=49, Resulting Numbers: [1, 49] Generated Node #0,1,0: 48:[1, 49] Operation: 50-1=49 Exploring Operation: 50-1=49, Resulting Numbers: [1, 49] Generated Node #0,1,1: 48:[1, 49] Operation: 50-1=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[1, 49], Operations: ['41-40=1', '50-1=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[50, 41, 40, 1], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [50, 1, 1] Generated Node #0,1: 48:[50, 1, 1] Operation: 41-40=1 Moving to Node #0,1 Current State: 48:[50, 1, 1], Operations: ['41-40=1'] Exploring Operation: 50-1=49, Resulting Numbers: [1, 49] Generated Node #0,1,0: 48:[1, 49] Operation: 50-1=49 Moving to Node #0,1,0 Current State: 48:[1, 49], Operations: ['41-40=1', '50-1=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 12, 58, 73, 1 ]
64
[ "73-1=72", "72/12=6", "58+6=64" ]
Current State: 64:[12, 58, 73, 1], Operations: [] Exploring Operation: 73-1=72, Resulting Numbers: [12, 58, 72] Generated Node #2: [12, 58, 72] from Operation: 73-1=72 Current State: 64:[12, 58, 72], Operations: ['73-1=72'] Exploring Operation: 72/12=6, Resulting Numbers: [58, 6] Generated Node #3: [58, 6] from Operation: 72/12=6 Current State: 64:[58, 6], Operations: ['73-1=72', '72/12=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[12, 58, 73, 1], Operations: [] Exploring Operation: 12+1=13, Resulting Numbers: [58, 73, 13] Generated Node #0,0: 64:[58, 73, 13] Operation: 12+1=13 Exploring Operation: 73-58=15, Resulting Numbers: [12, 1, 15] Generated Node #0,1: 64:[12, 1, 15] Operation: 73-58=15 Exploring Operation: 12+58=70, Resulting Numbers: [73, 1, 70] Generated Node #0,2: 64:[73, 1, 70] Operation: 12+58=70 Exploring Operation: 73-12=61, Resulting Numbers: [58, 1, 61] Generated Node #0,3: 64:[58, 1, 61] Operation: 73-12=61 Moving to Node #0,1 Current State: 64:[12, 1, 15], Operations: ['73-58=15'] Exploring Operation: 1+15=16, Resulting Numbers: [12, 16] Generated Node #0,1,0: 64:[12, 16] Operation: 1+15=16 Exploring Operation: 12+1=13, Resulting Numbers: [15, 13] Generated Node #0,1,1: 64:[15, 13] Operation: 12+1=13 Exploring Operation: 15-12=3, Resulting Numbers: [1, 3] Generated Node #0,1,2: 64:[1, 3] Operation: 15-12=3 Exploring Operation: 12-1=11, Resulting Numbers: [15, 11] Generated Node #0,1,3: 64:[15, 11] Operation: 12-1=11 Moving to Node #0,3 Current State: 64:[58, 1, 61], Operations: ['73-12=61'] Exploring Operation: 61-58=3, Resulting Numbers: [1, 3] Generated Node #0,3,0: 64:[1, 3] Operation: 61-58=3 Exploring Operation: 58+1=59, Resulting Numbers: [61, 59] Generated Node #0,3,1: 64:[61, 59] Operation: 58+1=59 Exploring Operation: 1+61=62, Resulting Numbers: [58, 62] Generated Node #0,3,2: 64:[58, 62] Operation: 1+61=62 Exploring Operation: 58*1=58, Resulting Numbers: [61, 58] Generated Node #0,3,3: 64:[61, 58] Operation: 58*1=58 Moving to Node #0,2 Current State: 64:[73, 1, 70], Operations: ['12+58=70'] Exploring Operation: 73-1=72, Resulting Numbers: [70, 72] Generated Node #0,2,0: 64:[70, 72] Operation: 73-1=72 Exploring Operation: 70-1=69, Resulting Numbers: [73, 69] Generated Node #0,2,1: 64:[73, 69] Operation: 70-1=69 Exploring Operation: 73-70=3, Resulting Numbers: [1, 3] Generated Node #0,2,2: 64:[1, 3] Operation: 73-70=3 Exploring Operation: 73*1=73, Resulting Numbers: [70, 73] Generated Node #0,2,3: 64:[70, 73] Operation: 73*1=73 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[1, 3], Operations: ['12+58=70', '73-70=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[70, 72], Operations: ['12+58=70', '73-1=72'] Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,64 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[73, 69], Operations: ['12+58=70', '70-1=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,64 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[70, 73], Operations: ['12+58=70', '73*1=73'] Exploring Operation: 70*73=5110, Resulting Numbers: [5110] 5110,64 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 70+73=143, Resulting Numbers: [143] 143,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[58, 73, 13], Operations: ['12+1=13'] Exploring Operation: 73-58=15, Resulting Numbers: [13, 15] Generated Node #0,0,0: 64:[13, 15] Operation: 73-58=15 Exploring Operation: 73-13=60, Resulting Numbers: [58, 60] Generated Node #0,0,1: 64:[58, 60] Operation: 73-13=60 Exploring Operation: 58-13=45, Resulting Numbers: [73, 45] Generated Node #0,0,2: 64:[73, 45] Operation: 58-13=45 Exploring Operation: 58+13=71, Resulting Numbers: [73, 71] Generated Node #0,0,3: 64:[73, 71] Operation: 58+13=71 Moving to Node #0,1,2 Current State: 64:[1, 3], Operations: ['73-58=15', '15-12=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[1, 3], Operations: ['73-12=61', '61-58=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[15, 13], Operations: ['73-58=15', '12+1=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[12, 16], Operations: ['73-58=15', '1+15=16'] Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,64 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[15, 11], Operations: ['73-58=15', '12-1=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[13, 15], Operations: ['12+1=13', '73-58=15'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,64 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[58, 62], Operations: ['73-12=61', '1+61=62'] Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,64 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[61, 59], Operations: ['73-12=61', '58+1=59'] Exploring Operation: 61*59=3599, Resulting Numbers: [3599] 3599,64 unequal: No Solution Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[61, 58], Operations: ['73-12=61', '58*1=58'] Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,64 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[58, 60], Operations: ['12+1=13', '73-13=60'] Exploring Operation: 58+60=118, Resulting Numbers: [118] 118,64 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 58*60=3480, Resulting Numbers: [3480] 3480,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[73, 71], Operations: ['12+1=13', '58+13=71'] Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,64 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[73, 45], Operations: ['12+1=13', '58-13=45'] Exploring Operation: 73+45=118, Resulting Numbers: [118] 118,64 unequal: No Solution Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 73*45=3285, Resulting Numbers: [3285] 3285,64 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 19, 28, 24, 3 ]
88
[ "19+3=22", "28-24=4", "22*4=88" ]
Current State: 88:[19, 28, 24, 3], Operations: [] Exploring Operation: 19+3=22, Resulting Numbers: [28, 24, 22] Generated Node #2: [28, 24, 22] from Operation: 19+3=22 Current State: 88:[28, 24, 22], Operations: ['19+3=22'] Exploring Operation: 28-24=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 28-24=4 Current State: 88:[22, 4], Operations: ['19+3=22', '28-24=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[19, 28, 24, 3], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [19, 3, 4] Generated Node #0,0: 88:[19, 3, 4] Operation: 28-24=4 Exploring Operation: 19+28=47, Resulting Numbers: [24, 3, 47] Generated Node #0,1: 88:[24, 3, 47] Operation: 19+28=47 Exploring Operation: 28-19=9, Resulting Numbers: [24, 3, 9] Generated Node #0,2: 88:[24, 3, 9] Operation: 28-19=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[19, 3, 4], Operations: ['28-24=4'] Exploring Operation: 19+4=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 88:[3, 23] Operation: 19+4=23 Exploring Operation: 3+4=7, Resulting Numbers: [19, 7] Generated Node #0,0,1: 88:[19, 7] Operation: 3+4=7 Exploring Operation: 19+3=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 88:[4, 22] Operation: 19+3=22 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[4, 22], Operations: ['28-24=4', '19+3=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[19, 28, 24, 3], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [19, 3, 4] Generated Node #0,0: 88:[19, 3, 4] Operation: 28-24=4 Moving to Node #0,0 Current State: 88:[19, 3, 4], Operations: ['28-24=4'] Exploring Operation: 19+3=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 88:[4, 22] Operation: 19+3=22 Moving to Node #0,0,2 Current State: 88:[4, 22], Operations: ['28-24=4', '19+3=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 99, 95, 2, 87 ]
83
[ "95-87=8", "2*8=16", "99-16=83" ]
Current State: 83:[99, 95, 2, 87], Operations: [] Exploring Operation: 95-87=8, Resulting Numbers: [99, 2, 8] Generated Node #2: [99, 2, 8] from Operation: 95-87=8 Current State: 83:[99, 2, 8], Operations: ['95-87=8'] Exploring Operation: 2*8=16, Resulting Numbers: [99, 16] Generated Node #3: [99, 16] from Operation: 2*8=16 Current State: 83:[99, 16], Operations: ['95-87=8', '2*8=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[99, 95, 2, 87], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [95, 87, 97] Generated Node #0,0: 83:[95, 87, 97] Operation: 99-2=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[95, 87, 97], Operations: ['99-2=97'] Exploring Operation: 97-95=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 83:[87, 2] Operation: 97-95=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[87, 2], Operations: ['99-2=97', '97-95=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 86, 63, 74, 47 ]
50
[ "86-63=23", "74-47=27", "23+27=50" ]
Current State: 50:[86, 63, 74, 47], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [74, 47, 23] Generated Node #2: [74, 47, 23] from Operation: 86-63=23 Current State: 50:[74, 47, 23], Operations: ['86-63=23'] Exploring Operation: 74-47=27, Resulting Numbers: [23, 27] Generated Node #3: [23, 27] from Operation: 74-47=27 Current State: 50:[23, 27], Operations: ['86-63=23', '74-47=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[86, 63, 74, 47], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [63, 47, 12] Generated Node #0,0: 50:[63, 47, 12] Operation: 86-74=12 Exploring Operation: 86-63=23, Resulting Numbers: [74, 47, 23] Generated Node #0,1: 50:[74, 47, 23] Operation: 86-63=23 Moving to Node #0,0 Current State: 50:[63, 47, 12], Operations: ['86-74=12'] Exploring Operation: 63-47=16, Resulting Numbers: [12, 16] Generated Node #0,0,0: 50:[12, 16] Operation: 63-47=16 Exploring Operation: 63-12=51, Resulting Numbers: [47, 51] Generated Node #0,0,1: 50:[47, 51] Operation: 63-12=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[47, 51], Operations: ['86-74=12', '63-12=51'] Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[12, 16], Operations: ['86-74=12', '63-47=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,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:[74, 47, 23], Operations: ['86-63=23'] Exploring Operation: 74-47=27, Resulting Numbers: [23, 27] Generated Node #0,1,0: 50:[23, 27] Operation: 74-47=27 Exploring Operation: 74-23=51, Resulting Numbers: [47, 51] Generated Node #0,1,1: 50:[47, 51] Operation: 74-23=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[23, 27], Operations: ['86-63=23', '74-47=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[86, 63, 74, 47], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [74, 47, 23] Generated Node #0,1: 50:[74, 47, 23] Operation: 86-63=23 Moving to Node #0,1 Current State: 50:[74, 47, 23], Operations: ['86-63=23'] Exploring Operation: 74-47=27, Resulting Numbers: [23, 27] Generated Node #0,1,0: 50:[23, 27] Operation: 74-47=27 Moving to Node #0,1,0 Current State: 50:[23, 27], Operations: ['86-63=23', '74-47=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 75, 8, 56, 16 ]
21
[ "75-56=19", "16/8=2", "19+2=21" ]
Current State: 21:[75, 8, 56, 16], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [8, 16, 19] Generated Node #2: [8, 16, 19] from Operation: 75-56=19 Current State: 21:[8, 16, 19], Operations: ['75-56=19'] Exploring Operation: 16/8=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 16/8=2 Current State: 21:[19, 2], Operations: ['75-56=19', '16/8=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[75, 8, 56, 16], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [8, 16, 19] Generated Node #0,0: 21:[8, 16, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[8, 16, 19], Operations: ['75-56=19'] Exploring Operation: 19-16=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 21:[8, 3] Operation: 19-16=3 Moving to Node #0,0,0 Current State: 21:[8, 3], Operations: ['75-56=19', '19-16=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,21 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
[ 34, 23, 30, 33 ]
40
[ "34-30=4", "33-23=10", "4*10=40" ]
Current State: 40:[34, 23, 30, 33], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [23, 33, 4] Generated Node #2: [23, 33, 4] from Operation: 34-30=4 Current State: 40:[23, 33, 4], Operations: ['34-30=4'] Exploring Operation: 33-23=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 33-23=10 Current State: 40:[4, 10], Operations: ['34-30=4', '33-23=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[34, 23, 30, 33], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [23, 33, 4] Generated Node #0,0: 40:[23, 33, 4] Operation: 34-30=4 Moving to Node #0,0 Current State: 40:[23, 33, 4], Operations: ['34-30=4'] Exploring Operation: 33-23=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 33-23=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['34-30=4', '33-23=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[34, 23, 30, 33], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [23, 33, 4] Generated Node #0,0: 40:[23, 33, 4] Operation: 34-30=4 Moving to Node #0,0 Current State: 40:[23, 33, 4], Operations: ['34-30=4'] Exploring Operation: 33-23=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 33-23=10 Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['34-30=4', '33-23=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 33, 22, 20, 77 ]
37
[ "20*77=1540", "1540/22=70", "70-33=37" ]
Current State: 37:[33, 22, 20, 77], Operations: [] Exploring Operation: 20*77=1540, Resulting Numbers: [33, 22, 1540] Generated Node #2: [33, 22, 1540] from Operation: 20*77=1540 Current State: 37:[33, 22, 1540], Operations: ['20*77=1540'] Exploring Operation: 1540/22=70, Resulting Numbers: [33, 70] Generated Node #3: [33, 70] from Operation: 1540/22=70 Current State: 37:[33, 70], Operations: ['20*77=1540', '1540/22=70'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[33, 22, 20, 77], Operations: [] Exploring Operation: 77-20=57, Resulting Numbers: [33, 22, 57] Generated Node #0,0: 37:[33, 22, 57] Operation: 77-20=57 Exploring Operation: 22+20=42, Resulting Numbers: [33, 77, 42] Generated Node #0,1: 37:[33, 77, 42] Operation: 22+20=42 Exploring Operation: 33+20=53, Resulting Numbers: [22, 77, 53] Generated Node #0,2: 37:[22, 77, 53] Operation: 33+20=53 Exploring Operation: 77-22=55, Resulting Numbers: [33, 20, 55] Generated Node #0,3: 37:[33, 20, 55] Operation: 77-22=55 Exploring Operation: 77-33=44, Resulting Numbers: [22, 20, 44] Generated Node #0,4: 37:[22, 20, 44] Operation: 77-33=44 Moving to Node #0,0 Current State: 37:[33, 22, 57], Operations: ['77-20=57'] Exploring Operation: 33-22=11, Resulting Numbers: [57, 11] Generated Node #0,0,0: 37:[57, 11] Operation: 33-22=11 Exploring Operation: 57-22=35, Resulting Numbers: [33, 35] Generated Node #0,0,1: 37:[33, 35] Operation: 57-22=35 Exploring Operation: 57-33=24, Resulting Numbers: [22, 24] Generated Node #0,0,2: 37:[22, 24] Operation: 57-33=24 Exploring Operation: 33+22=55, Resulting Numbers: [57, 55] Generated Node #0,0,3: 37:[57, 55] Operation: 33+22=55 Exploring Operation: 22+57=79, Resulting Numbers: [33, 79] Generated Node #0,0,4: 37:[33, 79] Operation: 22+57=79 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[33, 35], Operations: ['77-20=57', '57-22=35'] Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,37 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,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:[22, 24], Operations: ['77-20=57', '57-33=24'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,37 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,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,3 Current State: 37:[57, 55], Operations: ['77-20=57', '33+22=55'] Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,37 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,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,0 Current State: 37:[57, 11], Operations: ['77-20=57', '33-22=11'] Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,37 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,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,4 Current State: 37:[33, 79], Operations: ['77-20=57', '22+57=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,37 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: 37:[22, 20, 44], Operations: ['77-33=44'] Exploring Operation: 44-22=22, Resulting Numbers: [20, 22] Generated Node #0,4,0: 37:[20, 22] Operation: 44-22=22 Exploring Operation: 22+20=42, Resulting Numbers: [44, 42] Generated Node #0,4,1: 37:[44, 42] Operation: 22+20=42 Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #0,4,2: 37:[44, 2] Operation: 22-20=2 Exploring Operation: 20+44=64, Resulting Numbers: [22, 64] Generated Node #0,4,3: 37:[22, 64] Operation: 20+44=64 Exploring Operation: 44-20=24, Resulting Numbers: [22, 24] Generated Node #0,4,4: 37:[22, 24] Operation: 44-20=24 Moving to Node #0,3 Current State: 37:[33, 20, 55], Operations: ['77-22=55'] Exploring Operation: 55-20=35, Resulting Numbers: [33, 35] Generated Node #0,3,0: 37:[33, 35] Operation: 55-20=35 Exploring Operation: 33+20=53, Resulting Numbers: [55, 53] Generated Node #0,3,1: 37:[55, 53] Operation: 33+20=53 Exploring Operation: 55-33=22, Resulting Numbers: [20, 22] Generated Node #0,3,2: 37:[20, 22] Operation: 55-33=22 Exploring Operation: 33-20=13, Resulting Numbers: [55, 13] Generated Node #0,3,3: 37:[55, 13] Operation: 33-20=13 Exploring Operation: 20+55=75, Resulting Numbers: [33, 75] Generated Node #0,3,4: 37:[33, 75] Operation: 20+55=75 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[33, 35], Operations: ['77-22=55', '55-20=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,37 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,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,3,2 Current State: 37:[20, 22], Operations: ['77-22=55', '55-33=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,37 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,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,3,1 Current State: 37:[55, 53], Operations: ['77-22=55', '33+20=53'] Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,37 unequal: No Solution Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,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,3,3 Current State: 37:[55, 13], Operations: ['77-22=55', '33-20=13'] Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,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,3,4 Current State: 37:[33, 75], Operations: ['77-22=55', '20+55=75'] Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,37 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,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:[33, 77, 42], Operations: ['22+20=42'] Exploring Operation: 33+77=110, Resulting Numbers: [42, 110] Generated Node #0,1,0: 37:[42, 110] Operation: 33+77=110 Exploring Operation: 33+42=75, Resulting Numbers: [77, 75] Generated Node #0,1,1: 37:[77, 75] Operation: 33+42=75 Exploring Operation: 77-42=35, Resulting Numbers: [33, 35] Generated Node #0,1,2: 37:[33, 35] Operation: 77-42=35 Exploring Operation: 77-33=44, Resulting Numbers: [42, 44] Generated Node #0,1,3: 37:[42, 44] Operation: 77-33=44 Exploring Operation: 42-33=9, Resulting Numbers: [77, 9] Generated Node #0,1,4: 37:[77, 9] Operation: 42-33=9 Moving to Node #0,2 Current State: 37:[22, 77, 53], Operations: ['33+20=53'] Exploring Operation: 77-22=55, Resulting Numbers: [53, 55] Generated Node #0,2,0: 37:[53, 55] Operation: 77-22=55 Exploring Operation: 77-53=24, Resulting Numbers: [22, 24] Generated Node #0,2,1: 37:[22, 24] Operation: 77-53=24 Exploring Operation: 22+77=99, Resulting Numbers: [53, 99] Generated Node #0,2,2: 37:[53, 99] Operation: 22+77=99 Exploring Operation: 22+53=75, Resulting Numbers: [77, 75] Generated Node #0,2,3: 37:[77, 75] Operation: 22+53=75 Exploring Operation: 53-22=31, Resulting Numbers: [77, 31] Generated Node #0,2,4: 37:[77, 31] Operation: 53-22=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[22, 24], Operations: ['33+20=53', '77-53=24'] Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,37 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,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,0 Current State: 37:[53, 55], Operations: ['33+20=53', '77-22=55'] Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,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,4 Current State: 37:[77, 31], Operations: ['33+20=53', '53-22=31'] Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,37 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,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:[53, 99], Operations: ['33+20=53', '22+77=99'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 53+99=152, Resulting Numbers: [152] 152,37 unequal: No Solution Exploring Operation: 53*99=5247, Resulting Numbers: [5247] 5247,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,3 Current State: 37:[77, 75], Operations: ['33+20=53', '22+53=75'] Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 77*75=5775, Resulting Numbers: [5775] 5775,37 unequal: No Solution Exploring Operation: 77+75=152, Resulting Numbers: [152] 152,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 37:[33, 35], Operations: ['22+20=42', '77-42=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[44, 42], Operations: ['77-33=44', '22+20=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,37 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[42, 44], Operations: ['22+20=42', '77-33=44'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[22, 24], Operations: ['77-33=44', '44-20=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[20, 22], Operations: ['77-33=44', '44-22=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[22, 64], Operations: ['77-33=44', '20+44=64'] Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 22*64=1408, Resulting Numbers: [1408] 1408,37 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[44, 2], Operations: ['77-33=44', '22-20=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[77, 9], Operations: ['22+20=42', '42-33=9'] Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,37 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[77, 75], Operations: ['22+20=42', '33+42=75'] Exploring Operation: 77*75=5775, Resulting Numbers: [5775] 5775,37 unequal: No Solution Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 77+75=152, Resulting Numbers: [152] 152,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[42, 110], Operations: ['22+20=42', '33+77=110'] Exploring Operation: 42+110=152, Resulting Numbers: [152] 152,37 unequal: No Solution Exploring Operation: 42*110=4620, Resulting Numbers: [4620] 4620,37 unequal: No Solution Exploring Operation: 110-42=68, Resulting Numbers: [68] 68,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 79, 41, 14, 57 ]
49
[ "79+41=120", "14+57=71", "120-71=49" ]
Current State: 49:[79, 41, 14, 57], Operations: [] Exploring Operation: 79+41=120, Resulting Numbers: [14, 57, 120] Generated Node #2: [14, 57, 120] from Operation: 79+41=120 Current State: 49:[14, 57, 120], Operations: ['79+41=120'] Exploring Operation: 14+57=71, Resulting Numbers: [120, 71] Generated Node #3: [120, 71] from Operation: 14+57=71 Current State: 49:[120, 71], Operations: ['79+41=120', '14+57=71'] Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[79, 41, 14, 57], Operations: [] Exploring Operation: 79-41=38, Resulting Numbers: [14, 57, 38] Generated Node #0,0: 49:[14, 57, 38] Operation: 79-41=38 Exploring Operation: 79-57=22, Resulting Numbers: [41, 14, 22] Generated Node #0,1: 49:[41, 14, 22] Operation: 79-57=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[14, 57, 38], Operations: ['79-41=38'] Exploring Operation: 57-14=43, Resulting Numbers: [38, 43] Generated Node #0,0,0: 49:[38, 43] Operation: 57-14=43 Exploring Operation: 14+38=52, Resulting Numbers: [57, 52] Generated Node #0,0,1: 49:[57, 52] Operation: 14+38=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[57, 52], Operations: ['79-41=38', '14+38=52'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,49 unequal: No Solution No 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: 49:[38, 43], Operations: ['79-41=38', '57-14=43'] Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,49 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,49 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: 49:[41, 14, 22], Operations: ['79-57=22'] Exploring Operation: 41-22=19, Resulting Numbers: [14, 19] Generated Node #0,1,0: 49:[14, 19] Operation: 41-22=19 Exploring Operation: 22-14=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 49:[41, 8] Operation: 22-14=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[41, 8], Operations: ['79-57=22', '22-14=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[79, 41, 14, 57], Operations: [] Exploring Operation: 79-57=22, Resulting Numbers: [41, 14, 22] Generated Node #0,1: 49:[41, 14, 22] Operation: 79-57=22 Moving to Node #0,1 Current State: 49:[41, 14, 22], Operations: ['79-57=22'] Exploring Operation: 22-14=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 49:[41, 8] Operation: 22-14=8 Moving to Node #0,1,1 Current State: 49:[41, 8], Operations: ['79-57=22', '22-14=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 15, 45, 35, 68 ]
87
[ "45*68=3060", "3060-15=3045", "3045/35=87" ]
Current State: 87:[15, 45, 35, 68], Operations: [] Exploring Operation: 45*68=3060, Resulting Numbers: [15, 35, 3060] Generated Node #2: [15, 35, 3060] from Operation: 45*68=3060 Current State: 87:[15, 35, 3060], Operations: ['45*68=3060'] Exploring Operation: 3060-15=3045, Resulting Numbers: [35, 3045] Generated Node #3: [35, 3045] from Operation: 3060-15=3045 Current State: 87:[35, 3045], Operations: ['45*68=3060', '3060-15=3045'] Exploring Operation: 3045/35=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[15, 45, 35, 68], Operations: [] Exploring Operation: 68-45=23, Resulting Numbers: [15, 35, 23] Generated Node #0,0: 87:[15, 35, 23] Operation: 68-45=23 Moving to Node #0,0 Current State: 87:[15, 35, 23], Operations: ['68-45=23'] Exploring Operation: 23-15=8, Resulting Numbers: [35, 8] Generated Node #0,0,0: 87:[35, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[35, 8], Operations: ['68-45=23', '23-15=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,87 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
[ 42, 7, 70, 88 ]
22
[ "70-42=28", "7*88=616", "616/28=22" ]
Current State: 22:[42, 7, 70, 88], Operations: [] Exploring Operation: 70-42=28, Resulting Numbers: [7, 88, 28] Generated Node #2: [7, 88, 28] from Operation: 70-42=28 Current State: 22:[7, 88, 28], Operations: ['70-42=28'] Exploring Operation: 7*88=616, Resulting Numbers: [28, 616] Generated Node #3: [28, 616] from Operation: 7*88=616 Current State: 22:[28, 616], Operations: ['70-42=28', '7*88=616'] Exploring Operation: 616/28=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[42, 7, 70, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [42, 7, 18] Generated Node #0,0: 22:[42, 7, 18] Operation: 88-70=18 Exploring Operation: 70-42=28, Resulting Numbers: [7, 88, 28] Generated Node #0,1: 22:[7, 88, 28] Operation: 70-42=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[42, 7, 18], Operations: ['88-70=18'] Exploring Operation: 42-18=24, Resulting Numbers: [7, 24] Generated Node #0,0,0: 22:[7, 24] Operation: 42-18=24 Exploring Operation: 42/7=6, Resulting Numbers: [18, 6] Generated Node #0,0,1: 22:[18, 6] Operation: 42/7=6 Moving to Node #0,0,0 Current State: 22:[7, 24], Operations: ['88-70=18', '42-18=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[18, 6], Operations: ['88-70=18', '42/7=6'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[7, 88, 28], Operations: ['70-42=28'] Exploring Operation: 88-7=81, Resulting Numbers: [28, 81] Generated Node #0,1,0: 22:[28, 81] Operation: 88-7=81 Exploring Operation: 88-28=60, Resulting Numbers: [7, 60] Generated Node #0,1,1: 22:[7, 60] Operation: 88-28=60 Moving to Node #0,1,1 Current State: 22:[7, 60], Operations: ['70-42=28', '88-28=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[28, 81], Operations: ['70-42=28', '88-7=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,22 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
[ 54, 49, 95, 8 ]
36
[ "49+95=144", "144/8=18", "54-18=36" ]
Current State: 36:[54, 49, 95, 8], Operations: [] Exploring Operation: 49+95=144, Resulting Numbers: [54, 8, 144] Generated Node #2: [54, 8, 144] from Operation: 49+95=144 Current State: 36:[54, 8, 144], Operations: ['49+95=144'] Exploring Operation: 144/8=18, Resulting Numbers: [54, 18] Generated Node #3: [54, 18] from Operation: 144/8=18 Current State: 36:[54, 18], Operations: ['49+95=144', '144/8=18'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[54, 49, 95, 8], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [54, 8, 46] Generated Node #0,0: 36:[54, 8, 46] Operation: 95-49=46 Exploring Operation: 54-8=46, Resulting Numbers: [49, 95, 46] Generated Node #0,1: 36:[49, 95, 46] Operation: 54-8=46 Exploring Operation: 95-54=41, Resulting Numbers: [49, 8, 41] Generated Node #0,2: 36:[49, 8, 41] Operation: 95-54=41 Exploring Operation: 49-8=41, Resulting Numbers: [54, 95, 41] Generated Node #0,3: 36:[54, 95, 41] Operation: 49-8=41 Exploring Operation: 54-49=5, Resulting Numbers: [95, 8, 5] Generated Node #0,4: 36:[95, 8, 5] Operation: 54-49=5 Moving to Node #0,2 Current State: 36:[49, 8, 41], Operations: ['95-54=41'] Exploring Operation: 49-41=8, Resulting Numbers: [8, 8] Generated Node #0,2,0: 36:[8, 8] Operation: 49-41=8 Exploring Operation: 49+8=57, Resulting Numbers: [41, 57] Generated Node #0,2,1: 36:[41, 57] Operation: 49+8=57 Exploring Operation: 41-8=33, Resulting Numbers: [49, 33] Generated Node #0,2,2: 36:[49, 33] Operation: 41-8=33 Exploring Operation: 8+41=49, Resulting Numbers: [49, 49] Generated Node #0,2,3: 36:[49, 49] Operation: 8+41=49 Exploring Operation: 49-8=41, Resulting Numbers: [41, 41] Generated Node #0,2,4: 36:[41, 41] Operation: 49-8=41 Moving to Node #0,0 Current State: 36:[54, 8, 46], Operations: ['95-49=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54, 54] Generated Node #0,0,0: 36:[54, 54] Operation: 8+46=54 Exploring Operation: 54+8=62, Resulting Numbers: [46, 62] Generated Node #0,0,1: 36:[46, 62] Operation: 54+8=62 Exploring Operation: 54-46=8, Resulting Numbers: [8, 8] Generated Node #0,0,2: 36:[8, 8] Operation: 54-46=8 Exploring Operation: 46-8=38, Resulting Numbers: [54, 38] Generated Node #0,0,3: 36:[54, 38] Operation: 46-8=38 Exploring Operation: 54-8=46, Resulting Numbers: [46, 46] Generated Node #0,0,4: 36:[46, 46] Operation: 54-8=46 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[8, 8], Operations: ['95-49=46', '54-46=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[54, 38], Operations: ['95-49=46', '46-8=38'] Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,36 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 36:[46, 46], Operations: ['95-49=46', '54-8=46'] Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[54, 54], Operations: ['95-49=46', '8+46=54'] Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[46, 62], Operations: ['95-49=46', '54+8=62'] Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,36 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: 36:[95, 8, 5], Operations: ['54-49=5'] Exploring Operation: 8-5=3, Resulting Numbers: [95, 3] Generated Node #0,4,0: 36:[95, 3] Operation: 8-5=3 Exploring Operation: 95-8=87, Resulting Numbers: [5, 87] Generated Node #0,4,1: 36:[5, 87] Operation: 95-8=87 Exploring Operation: 8+5=13, Resulting Numbers: [95, 13] Generated Node #0,4,2: 36:[95, 13] Operation: 8+5=13 Exploring Operation: 95/5=19, Resulting Numbers: [8, 19] Generated Node #0,4,3: 36:[8, 19] Operation: 95/5=19 Exploring Operation: 95-5=90, Resulting Numbers: [8, 90] Generated Node #0,4,4: 36:[8, 90] Operation: 95-5=90 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 36:[8, 19], Operations: ['54-49=5', '95/5=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 36:[5, 87], Operations: ['54-49=5', '95-8=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 36:[8, 90], Operations: ['54-49=5', '95-5=90'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 8*90=720, Resulting Numbers: [720] 720,36 unequal: No Solution Exploring Operation: 8+90=98, Resulting Numbers: [98] 98,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 36:[95, 3], Operations: ['54-49=5', '8-5=3'] Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,36 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 36:[95, 13], Operations: ['54-49=5', '8+5=13'] Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,36 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,36 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: 36:[49, 95, 46], Operations: ['54-8=46'] Exploring Operation: 49-46=3, Resulting Numbers: [95, 3] Generated Node #0,1,0: 36:[95, 3] Operation: 49-46=3 Exploring Operation: 49+95=144, Resulting Numbers: [46, 144] Generated Node #0,1,1: 36:[46, 144] Operation: 49+95=144 Exploring Operation: 95-46=49, Resulting Numbers: [49, 49] Generated Node #0,1,2: 36:[49, 49] Operation: 95-46=49 Exploring Operation: 49+46=95, Resulting Numbers: [95, 95] Generated Node #0,1,3: 36:[95, 95] Operation: 49+46=95 Exploring Operation: 95-49=46, Resulting Numbers: [46, 46] Generated Node #0,1,4: 36:[46, 46] Operation: 95-49=46 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[46, 46], Operations: ['54-8=46', '95-49=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,36 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[49, 49], Operations: ['54-8=46', '95-46=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,36 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[95, 3], Operations: ['54-8=46', '49-46=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[46, 144], Operations: ['54-8=46', '49+95=144'] Exploring Operation: 46*144=6624, Resulting Numbers: [6624] 6624,36 unequal: No Solution Exploring Operation: 46+144=190, Resulting Numbers: [190] 190,36 unequal: No Solution Exploring Operation: 144-46=98, Resulting Numbers: [98] 98,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[95, 95], Operations: ['54-8=46', '49+46=95'] Exploring Operation: 95/95=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 95*95=9025, Resulting Numbers: [9025] 9025,36 unequal: No Solution Exploring Operation: 95-95=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 95+95=190, Resulting Numbers: [190] 190,36 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: 36:[54, 95, 41], Operations: ['49-8=41'] Exploring Operation: 54-41=13, Resulting Numbers: [95, 13] Generated Node #0,3,0: 36:[95, 13] Operation: 54-41=13 Exploring Operation: 54+95=149, Resulting Numbers: [41, 149] Generated Node #0,3,1: 36:[41, 149] Operation: 54+95=149 Exploring Operation: 54+41=95, Resulting Numbers: [95, 95] Generated Node #0,3,2: 36:[95, 95] Operation: 54+41=95 Exploring Operation: 95-41=54, Resulting Numbers: [54, 54] Generated Node #0,3,3: 36:[54, 54] Operation: 95-41=54 Exploring Operation: 95-54=41, Resulting Numbers: [41, 41] Generated Node #0,3,4: 36:[41, 41] Operation: 95-54=41 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 36:[41, 41], Operations: ['49-8=41', '95-54=41'] Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[54, 54], Operations: ['49-8=41', '95-41=54'] Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,36 unequal: No Solution Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[95, 13], Operations: ['49-8=41', '54-41=13'] Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,36 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[41, 149], Operations: ['49-8=41', '54+95=149'] Exploring Operation: 149-41=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 41+149=190, Resulting Numbers: [190] 190,36 unequal: No Solution Exploring Operation: 41*149=6109, Resulting Numbers: [6109] 6109,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[95, 95], Operations: ['49-8=41', '54+41=95'] Exploring Operation: 95-95=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 95+95=190, Resulting Numbers: [190] 190,36 unequal: No Solution Exploring Operation: 95*95=9025, Resulting Numbers: [9025] 9025,36 unequal: No Solution Exploring Operation: 95/95=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 36:[8, 8], Operations: ['95-54=41', '49-41=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[41, 41], Operations: ['95-54=41', '49-8=41'] Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,36 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[49, 33], Operations: ['95-54=41', '41-8=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[41, 57], Operations: ['95-54=41', '49+8=57'] Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,36 unequal: No Solution Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[49, 49], Operations: ['95-54=41', '8+41=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,36 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,36 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 45, 29, 55 ]
84
[ "45-45=0", "29+55=84", "0+84=84" ]
Current State: 84:[45, 45, 29, 55], Operations: [] Exploring Operation: 45-45=0, Resulting Numbers: [29, 55, 0] Generated Node #2: [29, 55, 0] from Operation: 45-45=0 Current State: 84:[29, 55, 0], Operations: ['45-45=0'] Exploring Operation: 29+55=84, Resulting Numbers: [0, 84] Generated Node #3: [0, 84] from Operation: 29+55=84 Current State: 84:[0, 84], Operations: ['45-45=0', '29+55=84'] Exploring Operation: 0+84=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[45, 45, 29, 55], Operations: [] Exploring Operation: 29+55=84, Resulting Numbers: [45, 45, 84] Generated Node #0,0: 84:[45, 45, 84] Operation: 29+55=84 Exploring Operation: 55-45=10, Resulting Numbers: [45, 29, 10] Generated Node #0,1: 84:[45, 29, 10] Operation: 55-45=10 Exploring Operation: 55-45=10, Resulting Numbers: [45, 29, 10] Generated Node #0,2: 84:[45, 29, 10] Operation: 55-45=10 Exploring Operation: 55-29=26, Resulting Numbers: [45, 45, 26] Generated Node #0,3: 84:[45, 45, 26] Operation: 55-29=26 Moving to Node #0,0 Current State: 84:[45, 45, 84], Operations: ['29+55=84'] Exploring Operation: 45-45=0, Resulting Numbers: [84, 0] Generated Node #0,0,0: 84:[84, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [84, 1] Generated Node #0,0,1: 84:[84, 1] Operation: 45/45=1 Exploring Operation: 84-45=39, Resulting Numbers: [45, 39] Generated Node #0,0,2: 84:[45, 39] Operation: 84-45=39 Exploring Operation: 45+45=90, Resulting Numbers: [84, 90] Generated Node #0,0,3: 84:[84, 90] Operation: 45+45=90 Moving to Node #0,2 Current State: 84:[45, 29, 10], Operations: ['55-45=10'] Exploring Operation: 29-10=19, Resulting Numbers: [45, 19] Generated Node #0,2,0: 84:[45, 19] Operation: 29-10=19 Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,2,1: 84:[45, 39] Operation: 29+10=39 Exploring Operation: 45-29=16, Resulting Numbers: [10, 16] Generated Node #0,2,2: 84:[10, 16] Operation: 45-29=16 Exploring Operation: 45-10=35, Resulting Numbers: [29, 35] Generated Node #0,2,3: 84:[29, 35] Operation: 45-10=35 Moving to Node #0,1 Current State: 84:[45, 29, 10], Operations: ['55-45=10'] Exploring Operation: 45-10=35, Resulting Numbers: [29, 35] Generated Node #0,1,0: 84:[29, 35] Operation: 45-10=35 Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,1,1: 84:[45, 39] Operation: 29+10=39 Exploring Operation: 29-10=19, Resulting Numbers: [45, 19] Generated Node #0,1,2: 84:[45, 19] Operation: 29-10=19 Exploring Operation: 45-29=16, Resulting Numbers: [10, 16] Generated Node #0,1,3: 84:[10, 16] Operation: 45-29=16 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[10, 16], Operations: ['55-45=10', '45-29=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,84 unequal: No Solution No 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: 84:[45, 19], Operations: ['55-45=10', '29-10=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,84 unequal: No Solution No 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: 84:[45, 39], Operations: ['55-45=10', '29+10=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[45, 45, 29, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [45, 29, 10] Generated Node #0,1: 84:[45, 29, 10] Operation: 55-45=10 Moving to Node #0,1 Current State: 84:[45, 29, 10], Operations: ['55-45=10'] Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,1,1: 84:[45, 39] Operation: 29+10=39 Moving to Node #0,1,1 Current State: 84:[45, 39], Operations: ['55-45=10', '29+10=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
mult_heuristic
[ 39, 64, 80, 10 ]
13
[ "39+64=103", "80+10=90", "103-90=13" ]
Current State: 13:[39, 64, 80, 10], Operations: [] Exploring Operation: 39+64=103, Resulting Numbers: [80, 10, 103] Generated Node #2: [80, 10, 103] from Operation: 39+64=103 Current State: 13:[80, 10, 103], Operations: ['39+64=103'] Exploring Operation: 80+10=90, Resulting Numbers: [103, 90] Generated Node #3: [103, 90] from Operation: 80+10=90 Current State: 13:[103, 90], Operations: ['39+64=103', '80+10=90'] Exploring Operation: 103-90=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[39, 64, 80, 10], Operations: [] Exploring Operation: 64-39=25, Resulting Numbers: [80, 10, 25] Generated Node #0,0: 13:[80, 10, 25] Operation: 64-39=25 Exploring Operation: 80-39=41, Resulting Numbers: [64, 10, 41] Generated Node #0,1: 13:[64, 10, 41] Operation: 80-39=41 Exploring Operation: 80-64=16, Resulting Numbers: [39, 10, 16] Generated Node #0,2: 13:[39, 10, 16] Operation: 80-64=16 Moving to Node #0,2 Current State: 13:[39, 10, 16], Operations: ['80-64=16'] Exploring Operation: 16-10=6, Resulting Numbers: [39, 6] Generated Node #0,2,0: 13:[39, 6] Operation: 16-10=6 Exploring Operation: 39-10=29, Resulting Numbers: [16, 29] Generated Node #0,2,1: 13:[16, 29] Operation: 39-10=29 Exploring Operation: 39-16=23, Resulting Numbers: [10, 23] Generated Node #0,2,2: 13:[10, 23] Operation: 39-16=23 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[10, 23], Operations: ['80-64=16', '39-16=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[39, 64, 80, 10], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [39, 10, 16] Generated Node #0,2: 13:[39, 10, 16] Operation: 80-64=16 Moving to Node #0,2 Current State: 13:[39, 10, 16], Operations: ['80-64=16'] Exploring Operation: 39-16=23, Resulting Numbers: [10, 23] Generated Node #0,2,2: 13:[10, 23] Operation: 39-16=23 Moving to Node #0,2,2 Current State: 13:[10, 23], Operations: ['80-64=16', '39-16=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 2, 52, 38, 29 ]
63
[ "2+52=54", "38-29=9", "54+9=63" ]
Current State: 63:[2, 52, 38, 29], Operations: [] Exploring Operation: 2+52=54, Resulting Numbers: [38, 29, 54] Generated Node #2: [38, 29, 54] from Operation: 2+52=54 Current State: 63:[38, 29, 54], Operations: ['2+52=54'] Exploring Operation: 38-29=9, Resulting Numbers: [54, 9] Generated Node #3: [54, 9] from Operation: 38-29=9 Current State: 63:[54, 9], Operations: ['2+52=54', '38-29=9'] Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[2, 52, 38, 29], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [2, 52, 9] Generated Node #0,0: 63:[2, 52, 9] Operation: 38-29=9 Exploring Operation: 52-38=14, Resulting Numbers: [2, 29, 14] Generated Node #0,1: 63:[2, 29, 14] Operation: 52-38=14 Moving to Node #0,0 Current State: 63:[2, 52, 9], Operations: ['38-29=9'] Exploring Operation: 52/2=26, Resulting Numbers: [9, 26] Generated Node #0,0,0: 63:[9, 26] Operation: 52/2=26 Exploring Operation: 52+9=61, Resulting Numbers: [2, 61] Generated Node #0,0,1: 63:[2, 61] Operation: 52+9=61 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[2, 61], Operations: ['38-29=9', '52+9=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[2, 52, 38, 29], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [2, 52, 9] Generated Node #0,0: 63:[2, 52, 9] Operation: 38-29=9 Moving to Node #0,0 Current State: 63:[2, 52, 9], Operations: ['38-29=9'] Exploring Operation: 52+9=61, Resulting Numbers: [2, 61] Generated Node #0,0,1: 63:[2, 61] Operation: 52+9=61 Moving to Node #0,0,1 Current State: 63:[2, 61], Operations: ['38-29=9', '52+9=61'] Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 3, 17, 34, 90 ]
47
[ "90/3=30", "34-17=17", "30+17=47" ]
Current State: 47:[3, 17, 34, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [17, 34, 30] Generated Node #2: [17, 34, 30] from Operation: 90/3=30 Current State: 47:[17, 34, 30], Operations: ['90/3=30'] Exploring Operation: 34-17=17, Resulting Numbers: [30, 17] Generated Node #3: [30, 17] from Operation: 34-17=17 Current State: 47:[30, 17], Operations: ['90/3=30', '34-17=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[3, 17, 34, 90], Operations: [] Exploring Operation: 3+17=20, Resulting Numbers: [34, 90, 20] Generated Node #0,0: 47:[34, 90, 20] Operation: 3+17=20 Exploring Operation: 90/3=30, Resulting Numbers: [17, 34, 30] Generated Node #0,1: 47:[17, 34, 30] Operation: 90/3=30 Exploring Operation: 3*17=51, Resulting Numbers: [34, 90, 51] Generated Node #0,2: 47:[34, 90, 51] Operation: 3*17=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[17, 34, 30], Operations: ['90/3=30'] Exploring Operation: 17+34=51, Resulting Numbers: [30, 51] Generated Node #0,1,0: 47:[30, 51] Operation: 17+34=51 Exploring Operation: 34-17=17, Resulting Numbers: [30, 17] Generated Node #0,1,1: 47:[30, 17] Operation: 34-17=17 Exploring Operation: 17+30=47, Resulting Numbers: [34, 47] Generated Node #0,1,2: 47:[34, 47] Operation: 17+30=47 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[34, 47], Operations: ['90/3=30', '17+30=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,47 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,47 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,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,1,0 Current State: 47:[30, 51], Operations: ['90/3=30', '17+34=51'] Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,47 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,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,1,1 Current State: 47:[30, 17], Operations: ['90/3=30', '34-17=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[3, 17, 34, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [17, 34, 30] Generated Node #0,1: 47:[17, 34, 30] Operation: 90/3=30 Moving to Node #0,1 Current State: 47:[17, 34, 30], Operations: ['90/3=30'] Exploring Operation: 34-17=17, Resulting Numbers: [30, 17] Generated Node #0,1,1: 47:[30, 17] Operation: 34-17=17 Moving to Node #0,1,1 Current State: 47:[30, 17], Operations: ['90/3=30', '34-17=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 23, 70, 46, 58 ]
35
[ "70-23=47", "58-46=12", "47-12=35" ]
Current State: 35:[23, 70, 46, 58], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [46, 58, 47] Generated Node #2: [46, 58, 47] from Operation: 70-23=47 Current State: 35:[46, 58, 47], Operations: ['70-23=47'] Exploring Operation: 58-46=12, Resulting Numbers: [47, 12] Generated Node #3: [47, 12] from Operation: 58-46=12 Current State: 35:[47, 12], Operations: ['70-23=47', '58-46=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[23, 70, 46, 58], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [23, 58, 24] Generated Node #0,0: 35:[23, 58, 24] Operation: 70-46=24 Exploring Operation: 58-46=12, Resulting Numbers: [23, 70, 12] Generated Node #0,1: 35:[23, 70, 12] Operation: 58-46=12 Exploring Operation: 70-23=47, Resulting Numbers: [46, 58, 47] Generated Node #0,2: 35:[46, 58, 47] Operation: 70-23=47 Exploring Operation: 70-58=12, Resulting Numbers: [23, 46, 12] Generated Node #0,3: 35:[23, 46, 12] Operation: 70-58=12 Exploring Operation: 58-23=35, Resulting Numbers: [70, 46, 35] Generated Node #0,4: 35:[70, 46, 35] Operation: 58-23=35 Moving to Node #0,3 Current State: 35:[23, 46, 12], Operations: ['70-58=12'] Exploring Operation: 23-12=11, Resulting Numbers: [46, 11] Generated Node #0,3,0: 35:[46, 11] Operation: 23-12=11 Exploring Operation: 46/23=2, Resulting Numbers: [12, 2] Generated Node #0,3,1: 35:[12, 2] Operation: 46/23=2 Exploring Operation: 23+12=35, Resulting Numbers: [46, 35] Generated Node #0,3,2: 35:[46, 35] Operation: 23+12=35 Exploring Operation: 46-12=34, Resulting Numbers: [23, 34] Generated Node #0,3,3: 35:[23, 34] Operation: 46-12=34 Exploring Operation: 46-23=23, Resulting Numbers: [12, 23] Generated Node #0,3,4: 35:[12, 23] Operation: 46-23=23 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[12, 2], Operations: ['70-58=12', '46/23=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,35 unequal: No Solution No 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: 35:[46, 35], Operations: ['70-58=12', '23+12=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,35 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,35 unequal: No Solution No 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: 35:[23, 34], Operations: ['70-58=12', '46-12=34'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 23*34=782, Resulting Numbers: [782] 782,35 unequal: No Solution Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,35 unequal: No Solution No 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: 35:[46, 11], Operations: ['70-58=12', '23-12=11'] Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,35 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[23, 70, 46, 58], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [23, 46, 12] Generated Node #0,3: 35:[23, 46, 12] Operation: 70-58=12 Moving to Node #0,3 Current State: 35:[23, 46, 12], Operations: ['70-58=12'] Exploring Operation: 23-12=11, Resulting Numbers: [46, 11] Generated Node #0,3,0: 35:[46, 11] Operation: 23-12=11 Moving to Node #0,3,0 Current State: 35:[46, 11], Operations: ['70-58=12', '23-12=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 41, 12, 61, 77 ]
85
[ "41+12=53", "61+77=138", "138-53=85" ]
Current State: 85:[41, 12, 61, 77], Operations: [] Exploring Operation: 41+12=53, Resulting Numbers: [61, 77, 53] Generated Node #2: [61, 77, 53] from Operation: 41+12=53 Current State: 85:[61, 77, 53], Operations: ['41+12=53'] Exploring Operation: 61+77=138, Resulting Numbers: [53, 138] Generated Node #3: [53, 138] from Operation: 61+77=138 Current State: 85:[53, 138], Operations: ['41+12=53', '61+77=138'] Exploring Operation: 138-53=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[41, 12, 61, 77], Operations: [] Exploring Operation: 41-12=29, Resulting Numbers: [61, 77, 29] Generated Node #0,0: 85:[61, 77, 29] Operation: 41-12=29 Exploring Operation: 77-61=16, Resulting Numbers: [41, 12, 16] Generated Node #0,1: 85:[41, 12, 16] Operation: 77-61=16 Exploring Operation: 41+61=102, Resulting Numbers: [12, 77, 102] Generated Node #0,2: 85:[12, 77, 102] Operation: 41+61=102 Exploring Operation: 61-41=20, Resulting Numbers: [12, 77, 20] Generated Node #0,3: 85:[12, 77, 20] Operation: 61-41=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[12, 77, 20], Operations: ['61-41=20'] Exploring Operation: 20-12=8, Resulting Numbers: [77, 8] Generated Node #0,3,0: 85:[77, 8] Operation: 20-12=8 Exploring Operation: 77-12=65, Resulting Numbers: [20, 65] Generated Node #0,3,1: 85:[20, 65] Operation: 77-12=65 Exploring Operation: 12+77=89, Resulting Numbers: [20, 89] Generated Node #0,3,2: 85:[20, 89] Operation: 12+77=89 Exploring Operation: 77+20=97, Resulting Numbers: [12, 97] Generated Node #0,3,3: 85:[12, 97] Operation: 77+20=97 Moving to Node #0,3,2 Current State: 85:[20, 89], Operations: ['61-41=20', '12+77=89'] Exploring Operation: 20+89=109, Resulting Numbers: [109] 109,85 unequal: No Solution Exploring Operation: 20*89=1780, Resulting Numbers: [1780] 1780,85 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[77, 8], Operations: ['61-41=20', '20-12=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[41, 12, 61, 77], Operations: [] Exploring Operation: 61-41=20, Resulting Numbers: [12, 77, 20] Generated Node #0,3: 85:[12, 77, 20] Operation: 61-41=20 Moving to Node #0,3 Current State: 85:[12, 77, 20], Operations: ['61-41=20'] Exploring Operation: 20-12=8, Resulting Numbers: [77, 8] Generated Node #0,3,0: 85:[77, 8] Operation: 20-12=8 Moving to Node #0,3,0 Current State: 85:[77, 8], Operations: ['61-41=20', '20-12=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 31, 91, 83, 33 ]
87
[ "33-31=2", "91+83=174", "174/2=87" ]
Current State: 87:[31, 91, 83, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [91, 83, 2] Generated Node #2: [91, 83, 2] from Operation: 33-31=2 Current State: 87:[91, 83, 2], Operations: ['33-31=2'] Exploring Operation: 91+83=174, Resulting Numbers: [2, 174] Generated Node #3: [2, 174] from Operation: 91+83=174 Current State: 87:[2, 174], Operations: ['33-31=2', '91+83=174'] Exploring Operation: 174/2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 91, 83, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [91, 83, 2] Generated Node #0,0: 87:[91, 83, 2] Operation: 33-31=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[91, 83, 2], Operations: ['33-31=2'] Exploring Operation: 91-83=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 87:[2, 8] Operation: 91-83=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[2, 8], Operations: ['33-31=2', '91-83=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 22, 60, 80 ]
88
[ "80-60=20", "20/5=4", "22*4=88" ]
Current State: 88:[5, 22, 60, 80], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [5, 22, 20] Generated Node #2: [5, 22, 20] from Operation: 80-60=20 Current State: 88:[5, 22, 20], Operations: ['80-60=20'] Exploring Operation: 20/5=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 20/5=4 Current State: 88:[22, 4], Operations: ['80-60=20', '20/5=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 22, 60, 80], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [22, 80, 12] Generated Node #0,0: 88:[22, 80, 12] Operation: 60/5=12 Exploring Operation: 60-22=38, Resulting Numbers: [5, 80, 38] Generated Node #0,1: 88:[5, 80, 38] Operation: 60-22=38 Exploring Operation: 80-60=20, Resulting Numbers: [5, 22, 20] Generated Node #0,2: 88:[5, 22, 20] Operation: 80-60=20 Exploring Operation: 60-5=55, Resulting Numbers: [22, 80, 55] Generated Node #0,3: 88:[22, 80, 55] Operation: 60-5=55 Exploring Operation: 22+60=82, Resulting Numbers: [5, 80, 82] Generated Node #0,4: 88:[5, 80, 82] Operation: 22+60=82 Moving to Node #0,2 Current State: 88:[5, 22, 20], Operations: ['80-60=20'] Exploring Operation: 22+20=42, Resulting Numbers: [5, 42] Generated Node #0,2,0: 88:[5, 42] Operation: 22+20=42 Exploring Operation: 20-5=15, Resulting Numbers: [22, 15] Generated Node #0,2,1: 88:[22, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [22, 4] Generated Node #0,2,2: 88:[22, 4] Operation: 20/5=4 Exploring Operation: 5+20=25, Resulting Numbers: [22, 25] Generated Node #0,2,3: 88:[22, 25] Operation: 5+20=25 Exploring Operation: 22-20=2, Resulting Numbers: [5, 2] Generated Node #0,2,4: 88:[5, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[22, 4], Operations: ['80-60=20', '20/5=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[5, 22, 60, 80], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [5, 22, 20] Generated Node #0,2: 88:[5, 22, 20] Operation: 80-60=20 Moving to Node #0,2 Current State: 88:[5, 22, 20], Operations: ['80-60=20'] Exploring Operation: 20/5=4, Resulting Numbers: [22, 4] Generated Node #0,2,2: 88:[22, 4] Operation: 20/5=4 Moving to Node #0,2,2 Current State: 88:[22, 4], Operations: ['80-60=20', '20/5=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 41, 73, 26, 41 ]
46
[ "41/41=1", "73-26=47", "47-1=46" ]
Current State: 46:[41, 73, 26, 41], Operations: [] Exploring Operation: 41/41=1, Resulting Numbers: [73, 26, 1] Generated Node #2: [73, 26, 1] from Operation: 41/41=1 Current State: 46:[73, 26, 1], Operations: ['41/41=1'] Exploring Operation: 73-26=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 73-26=47 Current State: 46:[1, 47], Operations: ['41/41=1', '73-26=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[41, 73, 26, 41], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [41, 41, 47] Generated Node #0,0: 46:[41, 41, 47] Operation: 73-26=47 Moving to Node #0,0 Current State: 46:[41, 41, 47], Operations: ['73-26=47'] Exploring Operation: 41/41=1, Resulting Numbers: [47, 1] Generated Node #0,0,0: 46:[47, 1] Operation: 41/41=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[47, 1], Operations: ['73-26=47', '41/41=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[41, 73, 26, 41], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [41, 41, 47] Generated Node #0,0: 46:[41, 41, 47] Operation: 73-26=47 Moving to Node #0,0 Current State: 46:[41, 41, 47], Operations: ['73-26=47'] Exploring Operation: 41/41=1, Resulting Numbers: [47, 1] Generated Node #0,0,0: 46:[47, 1] Operation: 41/41=1 Moving to Node #0,0,0 Current State: 46:[47, 1], Operations: ['73-26=47', '41/41=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 57, 46, 48, 84 ]
72
[ "57*48=2736", "84-46=38", "2736/38=72" ]
Current State: 72:[57, 46, 48, 84], Operations: [] Exploring Operation: 57*48=2736, Resulting Numbers: [46, 84, 2736] Generated Node #2: [46, 84, 2736] from Operation: 57*48=2736 Current State: 72:[46, 84, 2736], Operations: ['57*48=2736'] Exploring Operation: 84-46=38, Resulting Numbers: [2736, 38] Generated Node #3: [2736, 38] from Operation: 84-46=38 Current State: 72:[2736, 38], Operations: ['57*48=2736', '84-46=38'] Exploring Operation: 2736/38=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[57, 46, 48, 84], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [46, 48, 27] Generated Node #0,0: 72:[46, 48, 27] Operation: 84-57=27 Exploring Operation: 57-46=11, Resulting Numbers: [48, 84, 11] Generated Node #0,1: 72:[48, 84, 11] Operation: 57-46=11 Exploring Operation: 84-48=36, Resulting Numbers: [57, 46, 36] Generated Node #0,2: 72:[57, 46, 36] Operation: 84-48=36 Exploring Operation: 57-48=9, Resulting Numbers: [46, 84, 9] Generated Node #0,3: 72:[46, 84, 9] Operation: 57-48=9 Moving to Node #0,3 Current State: 72:[46, 84, 9], Operations: ['57-48=9'] Exploring Operation: 84-46=38, Resulting Numbers: [9, 38] Generated Node #0,3,0: 72:[9, 38] Operation: 84-46=38 Exploring Operation: 84-9=75, Resulting Numbers: [46, 75] Generated Node #0,3,1: 72:[46, 75] Operation: 84-9=75 Exploring Operation: 46+9=55, Resulting Numbers: [84, 55] Generated Node #0,3,2: 72:[84, 55] Operation: 46+9=55 Exploring Operation: 46-9=37, Resulting Numbers: [84, 37] Generated Node #0,3,3: 72:[84, 37] Operation: 46-9=37 Moving to Node #0,1 Current State: 72:[48, 84, 11], Operations: ['57-46=11'] Exploring Operation: 84-11=73, Resulting Numbers: [48, 73] Generated Node #0,1,0: 72:[48, 73] Operation: 84-11=73 Exploring Operation: 84-48=36, Resulting Numbers: [11, 36] Generated Node #0,1,1: 72:[11, 36] Operation: 84-48=36 Exploring Operation: 48+11=59, Resulting Numbers: [84, 59] Generated Node #0,1,2: 72:[84, 59] Operation: 48+11=59 Exploring Operation: 48-11=37, Resulting Numbers: [84, 37] Generated Node #0,1,3: 72:[84, 37] Operation: 48-11=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[11, 36], Operations: ['57-46=11', '84-48=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,72 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[48, 73], Operations: ['57-46=11', '84-11=73'] Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,72 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[84, 37], Operations: ['57-46=11', '48-11=37'] Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,72 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[84, 59], Operations: ['57-46=11', '48+11=59'] Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 84*59=4956, Resulting Numbers: [4956] 4956,72 unequal: No Solution Exploring Operation: 84+59=143, Resulting Numbers: [143] 143,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 72:[46, 48, 27], Operations: ['84-57=27'] Exploring Operation: 48+27=75, Resulting Numbers: [46, 75] Generated Node #0,0,0: 72:[46, 75] Operation: 48+27=75 Exploring Operation: 48-46=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 72:[27, 2] Operation: 48-46=2 Exploring Operation: 46+27=73, Resulting Numbers: [48, 73] Generated Node #0,0,2: 72:[48, 73] Operation: 46+27=73 Exploring Operation: 46-27=19, Resulting Numbers: [48, 19] Generated Node #0,0,3: 72:[48, 19] Operation: 46-27=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[27, 2], Operations: ['84-57=27', '48-46=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,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:[46, 75], Operations: ['84-57=27', '48+27=75'] Exploring Operation: 46*75=3450, Resulting Numbers: [3450] 3450,72 unequal: No Solution Exploring Operation: 46+75=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,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:[48, 73], Operations: ['84-57=27', '46+27=73'] Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,72 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,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,3 Current State: 72:[48, 19], Operations: ['84-57=27', '46-27=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,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:[57, 46, 36], Operations: ['84-48=36'] Exploring Operation: 46-36=10, Resulting Numbers: [57, 10] Generated Node #0,2,0: 72:[57, 10] Operation: 46-36=10 Exploring Operation: 57-46=11, Resulting Numbers: [36, 11] Generated Node #0,2,1: 72:[36, 11] Operation: 57-46=11 Exploring Operation: 46+36=82, Resulting Numbers: [57, 82] Generated Node #0,2,2: 72:[57, 82] Operation: 46+36=82 Exploring Operation: 57-36=21, Resulting Numbers: [46, 21] Generated Node #0,2,3: 72:[46, 21] Operation: 57-36=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[36, 11], Operations: ['84-48=36', '57-46=11'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,72 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,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,2,3 Current State: 72:[46, 21], Operations: ['84-48=36', '57-36=21'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,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,2,0 Current State: 72:[57, 10], Operations: ['84-48=36', '46-36=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,72 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,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,2,2 Current State: 72:[57, 82], Operations: ['84-48=36', '46+36=82'] Exploring Operation: 57*82=4674, Resulting Numbers: [4674] 4674,72 unequal: No Solution Exploring Operation: 57+82=139, Resulting Numbers: [139] 139,72 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 72:[9, 38], Operations: ['57-48=9', '84-46=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,72 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[84, 37], Operations: ['57-48=9', '46-9=37'] Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,72 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[46, 75], Operations: ['57-48=9', '84-9=75'] Exploring Operation: 46+75=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 46*75=3450, Resulting Numbers: [3450] 3450,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[84, 55], Operations: ['57-48=9', '46+9=55'] Exploring Operation: 84*55=4620, Resulting Numbers: [4620] 4620,72 unequal: No Solution Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,72 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,72 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 90, 82, 22, 31 ]
28
[ "82*31=2542", "2542-22=2520", "2520/90=28" ]
Current State: 28:[90, 82, 22, 31], Operations: [] Exploring Operation: 82*31=2542, Resulting Numbers: [90, 22, 2542] Generated Node #2: [90, 22, 2542] from Operation: 82*31=2542 Current State: 28:[90, 22, 2542], Operations: ['82*31=2542'] Exploring Operation: 2542-22=2520, Resulting Numbers: [90, 2520] Generated Node #3: [90, 2520] from Operation: 2542-22=2520 Current State: 28:[90, 2520], Operations: ['82*31=2542', '2542-22=2520'] Exploring Operation: 2520/90=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[90, 82, 22, 31], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [82, 22, 59] Generated Node #0,0: 28:[82, 22, 59] Operation: 90-31=59 Exploring Operation: 90-22=68, Resulting Numbers: [82, 31, 68] Generated Node #0,1: 28:[82, 31, 68] Operation: 90-22=68 Exploring Operation: 82-31=51, Resulting Numbers: [90, 22, 51] Generated Node #0,2: 28:[90, 22, 51] Operation: 82-31=51 Exploring Operation: 82-22=60, Resulting Numbers: [90, 31, 60] Generated Node #0,3: 28:[90, 31, 60] Operation: 82-22=60 Exploring Operation: 90-82=8, Resulting Numbers: [22, 31, 8] Generated Node #0,4: 28:[22, 31, 8] Operation: 90-82=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[22, 31, 8], Operations: ['90-82=8'] Exploring Operation: 22-8=14, Resulting Numbers: [31, 14] Generated Node #0,4,0: 28:[31, 14] Operation: 22-8=14 Exploring Operation: 31-22=9, Resulting Numbers: [8, 9] Generated Node #0,4,1: 28:[8, 9] Operation: 31-22=9 Exploring Operation: 31-8=23, Resulting Numbers: [22, 23] Generated Node #0,4,2: 28:[22, 23] Operation: 31-8=23 Exploring Operation: 22+8=30, Resulting Numbers: [31, 30] Generated Node #0,4,3: 28:[31, 30] Operation: 22+8=30 Exploring Operation: 31+8=39, Resulting Numbers: [22, 39] Generated Node #0,4,4: 28:[22, 39] Operation: 31+8=39 Moving to Node #0,4,0 Current State: 28:[31, 14], Operations: ['90-82=8', '22-8=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,28 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Moving to Node #0,4,1 Current State: 28:[8, 9], Operations: ['90-82=8', '31-22=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,28 unequal: No Solution Moving to Node #0,4,3 Current State: 28:[31, 30], Operations: ['90-82=8', '22+8=30'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,28 unequal: No Solution Moving to Node #0,4,2 Current State: 28:[22, 23], Operations: ['90-82=8', '31-8=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,28 unequal: No Solution Moving to Node #0,4,4 Current State: 28:[22, 39], Operations: ['90-82=8', '31+8=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[82, 22, 59], Operations: ['90-31=59'] Exploring Operation: 59-22=37, Resulting Numbers: [82, 37] Generated Node #0,0,0: 28:[82, 37] Operation: 59-22=37 Exploring Operation: 22+59=81, Resulting Numbers: [82, 81] Generated Node #0,0,1: 28:[82, 81] Operation: 22+59=81 Exploring Operation: 82+22=104, Resulting Numbers: [59, 104] Generated Node #0,0,2: 28:[59, 104] Operation: 82+22=104 Exploring Operation: 82-59=23, Resulting Numbers: [22, 23] Generated Node #0,0,3: 28:[22, 23] Operation: 82-59=23 Exploring Operation: 82-22=60, Resulting Numbers: [59, 60] Generated Node #0,0,4: 28:[59, 60] Operation: 82-22=60 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[22, 23], Operations: ['90-31=59', '82-59=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,28 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[82, 37], Operations: ['90-31=59', '59-22=37'] Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[59, 60], Operations: ['90-31=59', '82-22=60'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,28 unequal: No Solution Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[82, 81], Operations: ['90-31=59', '22+59=81'] Exploring Operation: 82+81=163, Resulting Numbers: [163] 163,28 unequal: No Solution Exploring Operation: 82*81=6642, Resulting Numbers: [6642] 6642,28 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[59, 104], Operations: ['90-31=59', '82+22=104'] Exploring Operation: 59+104=163, Resulting Numbers: [163] 163,28 unequal: No Solution Exploring Operation: 59*104=6136, Resulting Numbers: [6136] 6136,28 unequal: No Solution Exploring Operation: 104-59=45, Resulting Numbers: [45] 45,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[90, 22, 51], Operations: ['82-31=51'] Exploring Operation: 90-51=39, Resulting Numbers: [22, 39] Generated Node #0,2,0: 28:[22, 39] Operation: 90-51=39 Exploring Operation: 22+51=73, Resulting Numbers: [90, 73] Generated Node #0,2,1: 28:[90, 73] Operation: 22+51=73 Exploring Operation: 51-22=29, Resulting Numbers: [90, 29] Generated Node #0,2,2: 28:[90, 29] Operation: 51-22=29 Exploring Operation: 90+22=112, Resulting Numbers: [51, 112] Generated Node #0,2,3: 28:[51, 112] Operation: 90+22=112 Exploring Operation: 90-22=68, Resulting Numbers: [51, 68] Generated Node #0,2,4: 28:[51, 68] Operation: 90-22=68 Moving to Node #0,2,0 Current State: 28:[22, 39], Operations: ['82-31=51', '90-51=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[51, 68], Operations: ['82-31=51', '90-22=68'] Exploring Operation: 51*68=3468, Resulting Numbers: [3468] 3468,28 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[90, 29], Operations: ['82-31=51', '51-22=29'] Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[90, 73], Operations: ['82-31=51', '22+51=73'] Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,28 unequal: No Solution Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[51, 112], Operations: ['82-31=51', '90+22=112'] Exploring Operation: 51+112=163, Resulting Numbers: [163] 163,28 unequal: No Solution Exploring Operation: 51*112=5712, Resulting Numbers: [5712] 5712,28 unequal: No Solution Exploring Operation: 112-51=61, Resulting Numbers: [61] 61,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[82, 31, 68], Operations: ['90-22=68'] Exploring Operation: 68-31=37, Resulting Numbers: [82, 37] Generated Node #0,1,0: 28:[82, 37] Operation: 68-31=37 Exploring Operation: 82-68=14, Resulting Numbers: [31, 14] Generated Node #0,1,1: 28:[31, 14] Operation: 82-68=14 Exploring Operation: 82-31=51, Resulting Numbers: [68, 51] Generated Node #0,1,2: 28:[68, 51] Operation: 82-31=51 Exploring Operation: 82+68=150, Resulting Numbers: [31, 150] Generated Node #0,1,3: 28:[31, 150] Operation: 82+68=150 Exploring Operation: 82+31=113, Resulting Numbers: [68, 113] Generated Node #0,1,4: 28:[68, 113] Operation: 82+31=113 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[31, 14], Operations: ['90-22=68', '82-68=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,28 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[82, 37], Operations: ['90-22=68', '68-31=37'] Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[68, 51], Operations: ['90-22=68', '82-31=51'] Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,28 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 28:[31, 150], Operations: ['90-22=68', '82+68=150'] Exploring Operation: 150-31=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 31*150=4650, Resulting Numbers: [4650] 4650,28 unequal: No Solution Exploring Operation: 31+150=181, Resulting Numbers: [181] 181,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 28:[68, 113], Operations: ['90-22=68', '82+31=113'] Exploring Operation: 113-68=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 68+113=181, Resulting Numbers: [181] 181,28 unequal: No Solution Exploring Operation: 68*113=7684, Resulting Numbers: [7684] 7684,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[90, 31, 60], Operations: ['82-22=60'] Exploring Operation: 60-31=29, Resulting Numbers: [90, 29] Generated Node #0,3,0: 28:[90, 29] Operation: 60-31=29 Exploring Operation: 90-31=59, Resulting Numbers: [60, 59] Generated Node #0,3,1: 28:[60, 59] Operation: 90-31=59 Exploring Operation: 90+60=150, Resulting Numbers: [31, 150] Generated Node #0,3,2: 28:[31, 150] Operation: 90+60=150 Exploring Operation: 90-60=30, Resulting Numbers: [31, 30] Generated Node #0,3,3: 28:[31, 30] Operation: 90-60=30 Exploring Operation: 90+31=121, Resulting Numbers: [60, 121] Generated Node #0,3,4: 28:[60, 121] Operation: 90+31=121 Moving to Node #0,3,3 Current State: 28:[31, 30], Operations: ['82-22=60', '90-60=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[60, 59], Operations: ['82-22=60', '90-31=59'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 60*59=3540, Resulting Numbers: [3540] 3540,28 unequal: No Solution Exploring Operation: 60+59=119, Resulting Numbers: [119] 119,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[90, 29], Operations: ['82-22=60', '60-31=29'] Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,28 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[31, 150], Operations: ['82-22=60', '90+60=150'] Exploring Operation: 31*150=4650, Resulting Numbers: [4650] 4650,28 unequal: No Solution Exploring Operation: 150-31=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 31+150=181, Resulting Numbers: [181] 181,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[60, 121], Operations: ['82-22=60', '90+31=121'] Exploring Operation: 60*121=7260, Resulting Numbers: [7260] 7260,28 unequal: No Solution Exploring Operation: 121-60=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 60+121=181, Resulting Numbers: [181] 181,28 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
[ 3, 57, 39, 24 ]
84
[ "3*39=117", "57-24=33", "117-33=84" ]
Current State: 84:[3, 57, 39, 24], Operations: [] Exploring Operation: 3*39=117, Resulting Numbers: [57, 24, 117] Generated Node #2: [57, 24, 117] from Operation: 3*39=117 Current State: 84:[57, 24, 117], Operations: ['3*39=117'] Exploring Operation: 57-24=33, Resulting Numbers: [117, 33] Generated Node #3: [117, 33] from Operation: 57-24=33 Current State: 84:[117, 33], Operations: ['3*39=117', '57-24=33'] Exploring Operation: 117-33=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[3, 57, 39, 24], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [39, 24, 19] Generated Node #0,0: 84:[39, 24, 19] Operation: 57/3=19 Exploring Operation: 57+24=81, Resulting Numbers: [3, 39, 81] Generated Node #0,1: 84:[3, 39, 81] Operation: 57+24=81 Exploring Operation: 57-24=33, Resulting Numbers: [3, 39, 33] Generated Node #0,2: 84:[3, 39, 33] Operation: 57-24=33 Exploring Operation: 57-39=18, Resulting Numbers: [3, 24, 18] Generated Node #0,3: 84:[3, 24, 18] Operation: 57-39=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[3, 39, 81], Operations: ['57+24=81'] Exploring Operation: 3+39=42, Resulting Numbers: [81, 42] Generated Node #0,1,0: 84:[81, 42] Operation: 3+39=42 Exploring Operation: 39/3=13, Resulting Numbers: [81, 13] Generated Node #0,1,1: 84:[81, 13] Operation: 39/3=13 Exploring Operation: 3+81=84, Resulting Numbers: [39, 84] Generated Node #0,1,2: 84:[39, 84] Operation: 3+81=84 Exploring Operation: 81-39=42, Resulting Numbers: [3, 42] Generated Node #0,1,3: 84:[3, 42] Operation: 81-39=42 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 84:[3, 42], Operations: ['57+24=81', '81-39=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[81, 42], Operations: ['57+24=81', '3+39=42'] Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[39, 84], Operations: ['57+24=81', '3+81=84'] Exploring Operation: 39*84=3276, Resulting Numbers: [3276] 3276,84 unequal: No Solution Exploring Operation: 39+84=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 84-39=45, Resulting Numbers: [45] 45,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[81, 13], Operations: ['57+24=81', '39/3=13'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,84 unequal: No Solution Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[3, 24, 18], Operations: ['57-39=18'] Exploring Operation: 3+18=21, Resulting Numbers: [24, 21] Generated Node #0,3,0: 84:[24, 21] Operation: 3+18=21 Exploring Operation: 24-3=21, Resulting Numbers: [18, 21] Generated Node #0,3,1: 84:[18, 21] Operation: 24-3=21 Exploring Operation: 24+18=42, Resulting Numbers: [3, 42] Generated Node #0,3,2: 84:[3, 42] Operation: 24+18=42 Exploring Operation: 24-18=6, Resulting Numbers: [3, 6] Generated Node #0,3,3: 84:[3, 6] Operation: 24-18=6 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 84:[3, 42], Operations: ['57-39=18', '24+18=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 84:[3, 6], Operations: ['57-39=18', '24-18=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 84:[24, 21], Operations: ['57-39=18', '3+18=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 84:[18, 21], Operations: ['57-39=18', '24-3=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,84 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[39, 24, 19], Operations: ['57/3=19'] Exploring Operation: 39-24=15, Resulting Numbers: [19, 15] Generated Node #0,0,0: 84:[19, 15] Operation: 39-24=15 Exploring Operation: 24+19=43, Resulting Numbers: [39, 43] Generated Node #0,0,1: 84:[39, 43] Operation: 24+19=43 Exploring Operation: 24-19=5, Resulting Numbers: [39, 5] Generated Node #0,0,2: 84:[39, 5] Operation: 24-19=5 Exploring Operation: 39-19=20, Resulting Numbers: [24, 20] Generated Node #0,0,3: 84:[24, 20] Operation: 39-19=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[19, 15], Operations: ['57/3=19', '39-24=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[39, 43], Operations: ['57/3=19', '24+19=43'] Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,84 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[39, 5], Operations: ['57/3=19', '24-19=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[24, 20], Operations: ['57/3=19', '39-19=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[3, 39, 33], Operations: ['57-24=33'] Exploring Operation: 33-3=30, Resulting Numbers: [39, 30] Generated Node #0,2,0: 84:[39, 30] Operation: 33-3=30 Exploring Operation: 3+39=42, Resulting Numbers: [33, 42] Generated Node #0,2,1: 84:[33, 42] Operation: 3+39=42 Exploring Operation: 33/3=11, Resulting Numbers: [39, 11] Generated Node #0,2,2: 84:[39, 11] Operation: 33/3=11 Exploring Operation: 39-33=6, Resulting Numbers: [3, 6] Generated Node #0,2,3: 84:[3, 6] Operation: 39-33=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[3, 6], Operations: ['57-24=33', '39-33=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[39, 11], Operations: ['57-24=33', '33/3=11'] Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,84 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[39, 30], Operations: ['57-24=33', '33-3=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,84 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[33, 42], Operations: ['57-24=33', '3+39=42'] Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,84 unequal: No Solution Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 82, 45, 3, 50 ]
80
[ "82+45=127", "50-3=47", "127-47=80" ]
Current State: 80:[82, 45, 3, 50], Operations: [] Exploring Operation: 82+45=127, Resulting Numbers: [3, 50, 127] Generated Node #2: [3, 50, 127] from Operation: 82+45=127 Current State: 80:[3, 50, 127], Operations: ['82+45=127'] Exploring Operation: 50-3=47, Resulting Numbers: [127, 47] Generated Node #3: [127, 47] from Operation: 50-3=47 Current State: 80:[127, 47], Operations: ['82+45=127', '50-3=47'] Exploring Operation: 127-47=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[82, 45, 3, 50], Operations: [] Exploring Operation: 45/3=15, Resulting Numbers: [82, 50, 15] Generated Node #0,0: 80:[82, 50, 15] Operation: 45/3=15 Exploring Operation: 50-45=5, Resulting Numbers: [82, 3, 5] Generated Node #0,1: 80:[82, 3, 5] Operation: 50-45=5 Exploring Operation: 82-45=37, Resulting Numbers: [3, 50, 37] Generated Node #0,2: 80:[3, 50, 37] Operation: 82-45=37 Exploring Operation: 82-50=32, Resulting Numbers: [45, 3, 32] Generated Node #0,3: 80:[45, 3, 32] Operation: 82-50=32 Exploring Operation: 45-3=42, Resulting Numbers: [82, 50, 42] Generated Node #0,4: 80:[82, 50, 42] Operation: 45-3=42 Moving to Node #0,1 Current State: 80:[82, 3, 5], Operations: ['50-45=5'] Exploring Operation: 82-3=79, Resulting Numbers: [5, 79] Generated Node #0,1,0: 80:[5, 79] Operation: 82-3=79 Exploring Operation: 5-3=2, Resulting Numbers: [82, 2] Generated Node #0,1,1: 80:[82, 2] Operation: 5-3=2 Exploring Operation: 82-5=77, Resulting Numbers: [3, 77] Generated Node #0,1,2: 80:[3, 77] Operation: 82-5=77 Exploring Operation: 3*5=15, Resulting Numbers: [82, 15] Generated Node #0,1,3: 80:[82, 15] Operation: 3*5=15 Exploring Operation: 3+5=8, Resulting Numbers: [82, 8] Generated Node #0,1,4: 80:[82, 8] Operation: 3+5=8 Moving to Node #0,0 Current State: 80:[82, 50, 15], Operations: ['45/3=15'] Exploring Operation: 50-15=35, Resulting Numbers: [82, 35] Generated Node #0,0,0: 80:[82, 35] Operation: 50-15=35 Exploring Operation: 50+15=65, Resulting Numbers: [82, 65] Generated Node #0,0,1: 80:[82, 65] Operation: 50+15=65 Exploring Operation: 82+15=97, Resulting Numbers: [50, 97] Generated Node #0,0,2: 80:[50, 97] Operation: 82+15=97 Exploring Operation: 82-50=32, Resulting Numbers: [15, 32] Generated Node #0,0,3: 80:[15, 32] Operation: 82-50=32 Exploring Operation: 82-15=67, Resulting Numbers: [50, 67] Generated Node #0,0,4: 80:[50, 67] Operation: 82-15=67 Moving to Node #0,2 Current State: 80:[3, 50, 37], Operations: ['82-45=37'] Exploring Operation: 50-3=47, Resulting Numbers: [37, 47] Generated Node #0,2,0: 80:[37, 47] Operation: 50-3=47 Exploring Operation: 3+50=53, Resulting Numbers: [37, 53] Generated Node #0,2,1: 80:[37, 53] Operation: 3+50=53 Exploring Operation: 3+37=40, Resulting Numbers: [50, 40] Generated Node #0,2,2: 80:[50, 40] Operation: 3+37=40 Exploring Operation: 50+37=87, Resulting Numbers: [3, 87] Generated Node #0,2,3: 80:[3, 87] Operation: 50+37=87 Exploring Operation: 50-37=13, Resulting Numbers: [3, 13] Generated Node #0,2,4: 80:[3, 13] Operation: 50-37=13 Moving to Node #0,3 Current State: 80:[45, 3, 32], Operations: ['82-50=32'] Exploring Operation: 45-3=42, Resulting Numbers: [32, 42] Generated Node #0,3,0: 80:[32, 42] Operation: 45-3=42 Exploring Operation: 45+32=77, Resulting Numbers: [3, 77] Generated Node #0,3,1: 80:[3, 77] Operation: 45+32=77 Exploring Operation: 3+32=35, Resulting Numbers: [45, 35] Generated Node #0,3,2: 80:[45, 35] Operation: 3+32=35 Exploring Operation: 45/3=15, Resulting Numbers: [32, 15] Generated Node #0,3,3: 80:[32, 15] Operation: 45/3=15 Exploring Operation: 45-32=13, Resulting Numbers: [3, 13] Generated Node #0,3,4: 80:[3, 13] Operation: 45-32=13 Moving to Node #0,4 Current State: 80:[82, 50, 42], Operations: ['45-3=42'] Exploring Operation: 50+42=92, Resulting Numbers: [82, 92] Generated Node #0,4,0: 80:[82, 92] Operation: 50+42=92 Exploring Operation: 82+50=132, Resulting Numbers: [42, 132] Generated Node #0,4,1: 80:[42, 132] Operation: 82+50=132 Exploring Operation: 82-42=40, Resulting Numbers: [50, 40] Generated Node #0,4,2: 80:[50, 40] Operation: 82-42=40 Exploring Operation: 50-42=8, Resulting Numbers: [82, 8] Generated Node #0,4,3: 80:[82, 8] Operation: 50-42=8 Exploring Operation: 82-50=32, Resulting Numbers: [42, 32] Generated Node #0,4,4: 80:[42, 32] Operation: 82-50=32 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 80:[82, 8], Operations: ['45-3=42', '50-42=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 80:[50, 40], Operations: ['45-3=42', '82-42=40'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,80 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 80:[42, 32], Operations: ['45-3=42', '82-50=32'] Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,80 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 80:[82, 92], Operations: ['45-3=42', '50+42=92'] Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,80 unequal: No Solution Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,80 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 80:[42, 132], Operations: ['45-3=42', '82+50=132'] Exploring Operation: 42+132=174, Resulting Numbers: [174] 174,80 unequal: No Solution Exploring Operation: 132-42=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 42*132=5544, Resulting Numbers: [5544] 5544,80 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: 80:[5, 79], Operations: ['50-45=5', '82-3=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[82, 8], Operations: ['50-45=5', '3+5=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[82, 2], Operations: ['50-45=5', '5-3=2'] Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,80 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[82, 45, 3, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [82, 3, 5] Generated Node #0,1: 80:[82, 3, 5] Operation: 50-45=5 Moving to Node #0,1 Current State: 80:[82, 3, 5], Operations: ['50-45=5'] Exploring Operation: 5-3=2, Resulting Numbers: [82, 2] Generated Node #0,1,1: 80:[82, 2] Operation: 5-3=2 Moving to Node #0,1,1 Current State: 80:[82, 2], Operations: ['50-45=5', '5-3=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.948785
hs_5
mult_heuristic
[ 73, 12, 49, 53 ]
70
[ "53-49=4", "12/4=3", "73-3=70" ]
Current State: 70:[73, 12, 49, 53], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [73, 12, 4] Generated Node #2: [73, 12, 4] from Operation: 53-49=4 Current State: 70:[73, 12, 4], Operations: ['53-49=4'] Exploring Operation: 12/4=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 12/4=3 Current State: 70:[73, 3], Operations: ['53-49=4', '12/4=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[73, 12, 49, 53], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [73, 53, 37] Generated Node #0,0: 70:[73, 53, 37] Operation: 49-12=37 Exploring Operation: 73-53=20, Resulting Numbers: [12, 49, 20] Generated Node #0,1: 70:[12, 49, 20] Operation: 73-53=20 Exploring Operation: 53-49=4, Resulting Numbers: [73, 12, 4] Generated Node #0,2: 70:[73, 12, 4] Operation: 53-49=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[73, 12, 4], Operations: ['53-49=4'] Exploring Operation: 73-4=69, Resulting Numbers: [12, 69] Generated Node #0,2,0: 70:[12, 69] Operation: 73-4=69 Exploring Operation: 12-4=8, Resulting Numbers: [73, 8] Generated Node #0,2,1: 70:[73, 8] Operation: 12-4=8 Exploring Operation: 12/4=3, Resulting Numbers: [73, 3] Generated Node #0,2,2: 70:[73, 3] Operation: 12/4=3 Moving to Node #0,2,0 Current State: 70:[12, 69], Operations: ['53-49=4', '73-4=69'] Exploring Operation: 12*69=828, Resulting Numbers: [828] 828,70 unequal: No Solution Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,70 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[73, 8], Operations: ['53-49=4', '12-4=8'] Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,70 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[73, 3], Operations: ['53-49=4', '12/4=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 73*3=219, Resulting Numbers: [219] 219,70 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[73, 12, 49, 53], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [73, 12, 4] Generated Node #0,2: 70:[73, 12, 4] Operation: 53-49=4 Moving to Node #0,2 Current State: 70:[73, 12, 4], Operations: ['53-49=4'] Exploring Operation: 12/4=3, Resulting Numbers: [73, 3] Generated Node #0,2,2: 70:[73, 3] Operation: 12/4=3 Moving to Node #0,2,2 Current State: 70:[73, 3], Operations: ['53-49=4', '12/4=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 31, 17, 4, 7 ]
85
[ "31+4=35", "17*35=595", "595/7=85" ]
Current State: 85:[31, 17, 4, 7], Operations: [] Exploring Operation: 31+4=35, Resulting Numbers: [17, 7, 35] Generated Node #2: [17, 7, 35] from Operation: 31+4=35 Current State: 85:[17, 7, 35], Operations: ['31+4=35'] Exploring Operation: 17*35=595, Resulting Numbers: [7, 595] Generated Node #3: [7, 595] from Operation: 17*35=595 Current State: 85:[7, 595], Operations: ['31+4=35', '17*35=595'] Exploring Operation: 595/7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[31, 17, 4, 7], Operations: [] Exploring Operation: 31-7=24, Resulting Numbers: [17, 4, 24] Generated Node #0,0: 85:[17, 4, 24] Operation: 31-7=24 Exploring Operation: 31-17=14, Resulting Numbers: [4, 7, 14] Generated Node #0,1: 85:[4, 7, 14] Operation: 31-17=14 Exploring Operation: 31-4=27, Resulting Numbers: [17, 7, 27] Generated Node #0,2: 85:[17, 7, 27] Operation: 31-4=27 Moving to Node #0,1 Current State: 85:[4, 7, 14], Operations: ['31-17=14'] Exploring Operation: 14/7=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 85:[4, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [4, 7] Generated Node #0,1,1: 85:[4, 7] Operation: 14-7=7 Exploring Operation: 4+14=18, Resulting Numbers: [7, 18] Generated Node #0,1,2: 85:[7, 18] Operation: 4+14=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[4, 7], Operations: ['31-17=14', '14-7=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[7, 18], Operations: ['31-17=14', '4+14=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[4, 2], Operations: ['31-17=14', '14/7=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 85:[17, 4, 24], Operations: ['31-7=24'] Exploring Operation: 24-4=20, Resulting Numbers: [17, 20] Generated Node #0,0,0: 85:[17, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [17, 6] Generated Node #0,0,1: 85:[17, 6] Operation: 24/4=6 Exploring Operation: 24-17=7, Resulting Numbers: [4, 7] Generated Node #0,0,2: 85:[4, 7] Operation: 24-17=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[17, 6], Operations: ['31-7=24', '24/4=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,85 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[17, 20], Operations: ['31-7=24', '24-4=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[4, 7], Operations: ['31-7=24', '24-17=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 85:[17, 7, 27], Operations: ['31-4=27'] Exploring Operation: 17-7=10, Resulting Numbers: [27, 10] Generated Node #0,2,0: 85:[27, 10] Operation: 17-7=10 Exploring Operation: 27-7=20, Resulting Numbers: [17, 20] Generated Node #0,2,1: 85:[17, 20] Operation: 27-7=20 Exploring Operation: 27-17=10, Resulting Numbers: [7, 10] Generated Node #0,2,2: 85:[7, 10] Operation: 27-17=10 Moving to Node #0,2,1 Current State: 85:[17, 20], Operations: ['31-4=27', '27-7=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[7, 10], Operations: ['31-4=27', '27-17=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,85 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[27, 10], Operations: ['31-4=27', '17-7=10'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,85 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,85 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 25, 3, 40, 5 ]
14
[ "25-3=22", "40/5=8", "22-8=14" ]
Current State: 14:[25, 3, 40, 5], Operations: [] Exploring Operation: 25-3=22, Resulting Numbers: [40, 5, 22] Generated Node #2: [40, 5, 22] from Operation: 25-3=22 Current State: 14:[40, 5, 22], Operations: ['25-3=22'] Exploring Operation: 40/5=8, Resulting Numbers: [22, 8] Generated Node #3: [22, 8] from Operation: 40/5=8 Current State: 14:[22, 8], Operations: ['25-3=22', '40/5=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[25, 3, 40, 5], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [25, 3, 8] Generated Node #0,0: 14:[25, 3, 8] Operation: 40/5=8 Exploring Operation: 40-25=15, Resulting Numbers: [3, 5, 15] Generated Node #0,1: 14:[3, 5, 15] Operation: 40-25=15 Exploring Operation: 25/5=5, Resulting Numbers: [3, 40, 5] Generated Node #0,2: 14:[3, 40, 5] Operation: 25/5=5 Moving to Node #0,1 Current State: 14:[3, 5, 15], Operations: ['40-25=15'] Exploring Operation: 5-3=2, Resulting Numbers: [15, 2] Generated Node #0,1,0: 14:[15, 2] Operation: 5-3=2 Exploring Operation: 3*5=15, Resulting Numbers: [15, 15] Generated Node #0,1,1: 14:[15, 15] Operation: 3*5=15 Exploring Operation: 3+5=8, Resulting Numbers: [15, 8] Generated Node #0,1,2: 14:[15, 8] Operation: 3+5=8 Moving to Node #0,0 Current State: 14:[25, 3, 8], Operations: ['40/5=8'] Exploring Operation: 8-3=5, Resulting Numbers: [25, 5] Generated Node #0,0,0: 14:[25, 5] Operation: 8-3=5 Exploring Operation: 25-3=22, Resulting Numbers: [8, 22] Generated Node #0,0,1: 14:[8, 22] Operation: 25-3=22 Exploring Operation: 25-8=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 14:[3, 17] Operation: 25-8=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[3, 17], Operations: ['40/5=8', '25-8=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[25, 3, 40, 5], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [25, 3, 8] Generated Node #0,0: 14:[25, 3, 8] Operation: 40/5=8 Moving to Node #0,0 Current State: 14:[25, 3, 8], Operations: ['40/5=8'] Exploring Operation: 25-8=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 14:[3, 17] Operation: 25-8=17 Moving to Node #0,0,2 Current State: 14:[3, 17], Operations: ['40/5=8', '25-8=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 7, 79, 44, 89 ]
41
[ "7+79=86", "89-44=45", "86-45=41" ]
Current State: 41:[7, 79, 44, 89], Operations: [] Exploring Operation: 7+79=86, Resulting Numbers: [44, 89, 86] Generated Node #2: [44, 89, 86] from Operation: 7+79=86 Current State: 41:[44, 89, 86], Operations: ['7+79=86'] Exploring Operation: 89-44=45, Resulting Numbers: [86, 45] Generated Node #3: [86, 45] from Operation: 89-44=45 Current State: 41:[86, 45], Operations: ['7+79=86', '89-44=45'] Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[7, 79, 44, 89], Operations: [] Exploring Operation: 79-7=72, Resulting Numbers: [44, 89, 72] Generated Node #0,0: 41:[44, 89, 72] Operation: 79-7=72 Exploring Operation: 89-7=82, Resulting Numbers: [79, 44, 82] Generated Node #0,1: 41:[79, 44, 82] Operation: 89-7=82 Exploring Operation: 89-79=10, Resulting Numbers: [7, 44, 10] Generated Node #0,2: 41:[7, 44, 10] Operation: 89-79=10 Exploring Operation: 89-44=45, Resulting Numbers: [7, 79, 45] Generated Node #0,3: 41:[7, 79, 45] Operation: 89-44=45 Moving to Node #0,2 Current State: 41:[7, 44, 10], Operations: ['89-79=10'] Exploring Operation: 44-7=37, Resulting Numbers: [10, 37] Generated Node #0,2,0: 41:[10, 37] Operation: 44-7=37 Exploring Operation: 7+10=17, Resulting Numbers: [44, 17] Generated Node #0,2,1: 41:[44, 17] Operation: 7+10=17 Exploring Operation: 7+44=51, Resulting Numbers: [10, 51] Generated Node #0,2,2: 41:[10, 51] Operation: 7+44=51 Exploring Operation: 7*10=70, Resulting Numbers: [44, 70] Generated Node #0,2,3: 41:[44, 70] Operation: 7*10=70 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[44, 17], Operations: ['89-79=10', '7+10=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 44*17=748, Resulting Numbers: [748] 748,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[44, 70], Operations: ['89-79=10', '7*10=70'] Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,41 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[10, 37], Operations: ['89-79=10', '44-7=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,41 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[10, 51], Operations: ['89-79=10', '7+44=51'] Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,41 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[7, 79, 44, 89], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [7, 44, 10] Generated Node #0,2: 41:[7, 44, 10] Operation: 89-79=10 Moving to Node #0,2 Current State: 41:[7, 44, 10], Operations: ['89-79=10'] Exploring Operation: 7+44=51, Resulting Numbers: [10, 51] Generated Node #0,2,2: 41:[10, 51] Operation: 7+44=51 Moving to Node #0,2,2 Current State: 41:[10, 51], Operations: ['89-79=10', '7+44=51'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 89, 16, 87, 74 ]
87
[ "89-16=73", "74-73=1", "87*1=87" ]
Current State: 87:[89, 16, 87, 74], Operations: [] Exploring Operation: 89-16=73, Resulting Numbers: [87, 74, 73] Generated Node #2: [87, 74, 73] from Operation: 89-16=73 Current State: 87:[87, 74, 73], Operations: ['89-16=73'] Exploring Operation: 74-73=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 74-73=1 Current State: 87:[87, 1], Operations: ['89-16=73', '74-73=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[89, 16, 87, 74], Operations: [] Exploring Operation: 16+74=90, Resulting Numbers: [89, 87, 90] Generated Node #0,0: 87:[89, 87, 90] Operation: 16+74=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[89, 87, 90], Operations: ['16+74=90'] Exploring Operation: 90-89=1, Resulting Numbers: [87, 1] Generated Node #0,0,0: 87:[87, 1] Operation: 90-89=1 Moving to Node #0,0,0 Current State: 87:[87, 1], Operations: ['16+74=90', '90-89=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[89, 16, 87, 74], Operations: [] Exploring Operation: 16+74=90, Resulting Numbers: [89, 87, 90] Generated Node #0,0: 87:[89, 87, 90] Operation: 16+74=90 Moving to Node #0,0 Current State: 87:[89, 87, 90], Operations: ['16+74=90'] Exploring Operation: 90-89=1, Resulting Numbers: [87, 1] Generated Node #0,0,0: 87:[87, 1] Operation: 90-89=1 Moving to Node #0,0,0 Current State: 87:[87, 1], Operations: ['16+74=90', '90-89=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 1, 33, 72 ]
75
[ "36*1=36", "72-33=39", "36+39=75" ]
Current State: 75:[36, 1, 33, 72], Operations: [] Exploring Operation: 36*1=36, Resulting Numbers: [33, 72, 36] Generated Node #2: [33, 72, 36] from Operation: 36*1=36 Current State: 75:[33, 72, 36], Operations: ['36*1=36'] Exploring Operation: 72-33=39, Resulting Numbers: [36, 39] Generated Node #3: [36, 39] from Operation: 72-33=39 Current State: 75:[36, 39], Operations: ['36*1=36', '72-33=39'] Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[36, 1, 33, 72], Operations: [] Exploring Operation: 36+33=69, Resulting Numbers: [1, 72, 69] Generated Node #0,0: 75:[1, 72, 69] Operation: 36+33=69 Exploring Operation: 72/36=2, Resulting Numbers: [1, 33, 2] Generated Node #0,1: 75:[1, 33, 2] Operation: 72/36=2 Exploring Operation: 36-33=3, Resulting Numbers: [1, 72, 3] Generated Node #0,2: 75:[1, 72, 3] Operation: 36-33=3 Moving to Node #0,2 Current State: 75:[1, 72, 3], Operations: ['36-33=3'] Exploring Operation: 1*72=72, Resulting Numbers: [3, 72] Generated Node #0,2,0: 75:[3, 72] Operation: 1*72=72 Exploring Operation: 72+3=75, Resulting Numbers: [1, 75] Generated Node #0,2,1: 75:[1, 75] Operation: 72+3=75 Exploring Operation: 1+72=73, Resulting Numbers: [3, 73] Generated Node #0,2,2: 75:[3, 73] Operation: 1+72=73 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[1, 75], Operations: ['36-33=3', '72+3=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[36, 1, 33, 72], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [1, 72, 3] Generated Node #0,2: 75:[1, 72, 3] Operation: 36-33=3 Moving to Node #0,2 Current State: 75:[1, 72, 3], Operations: ['36-33=3'] Exploring Operation: 72+3=75, Resulting Numbers: [1, 75] Generated Node #0,2,1: 75:[1, 75] Operation: 72+3=75 Moving to Node #0,2,1 Current State: 75:[1, 75], Operations: ['36-33=3', '72+3=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 37, 7, 60, 42 ]
91
[ "37+60=97", "42/7=6", "97-6=91" ]
Current State: 91:[37, 7, 60, 42], Operations: [] Exploring Operation: 37+60=97, Resulting Numbers: [7, 42, 97] Generated Node #2: [7, 42, 97] from Operation: 37+60=97 Current State: 91:[7, 42, 97], Operations: ['37+60=97'] Exploring Operation: 42/7=6, Resulting Numbers: [97, 6] Generated Node #3: [97, 6] from Operation: 42/7=6 Current State: 91:[97, 6], Operations: ['37+60=97', '42/7=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[37, 7, 60, 42], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [37, 7, 18] Generated Node #0,0: 91:[37, 7, 18] Operation: 60-42=18 Exploring Operation: 37+60=97, Resulting Numbers: [7, 42, 97] Generated Node #0,1: 91:[7, 42, 97] Operation: 37+60=97 Exploring Operation: 60+42=102, Resulting Numbers: [37, 7, 102] Generated Node #0,2: 91:[37, 7, 102] Operation: 60+42=102 Exploring Operation: 42-37=5, Resulting Numbers: [7, 60, 5] Generated Node #0,3: 91:[7, 60, 5] Operation: 42-37=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[37, 7, 18], Operations: ['60-42=18'] Exploring Operation: 37-18=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 91:[7, 19] Operation: 37-18=19 Exploring Operation: 37+7=44, Resulting Numbers: [18, 44] Generated Node #0,0,1: 91:[18, 44] Operation: 37+7=44 Exploring Operation: 18-7=11, Resulting Numbers: [37, 11] Generated Node #0,0,2: 91:[37, 11] Operation: 18-7=11 Exploring Operation: 37-7=30, Resulting Numbers: [18, 30] Generated Node #0,0,3: 91:[18, 30] Operation: 37-7=30 Moving to Node #0,0,0 Current State: 91:[7, 19], Operations: ['60-42=18', '37-18=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,91 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[18, 30], Operations: ['60-42=18', '37-7=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[37, 11], Operations: ['60-42=18', '18-7=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[18, 44], Operations: ['60-42=18', '37+7=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,91 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,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 Current State: 91:[7, 60, 5], Operations: ['42-37=5'] Exploring Operation: 7+60=67, Resulting Numbers: [5, 67] Generated Node #0,3,0: 91:[5, 67] Operation: 7+60=67 Exploring Operation: 60/5=12, Resulting Numbers: [7, 12] Generated Node #0,3,1: 91:[7, 12] Operation: 60/5=12 Exploring Operation: 7+5=12, Resulting Numbers: [60, 12] Generated Node #0,3,2: 91:[60, 12] Operation: 7+5=12 Exploring Operation: 60+5=65, Resulting Numbers: [7, 65] Generated Node #0,3,3: 91:[7, 65] Operation: 60+5=65 Moving to Node #0,3,1 Current State: 91:[7, 12], Operations: ['42-37=5', '60/5=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[7, 65], Operations: ['42-37=5', '60+5=65'] Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,91 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[5, 67], Operations: ['42-37=5', '7+60=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,91 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[60, 12], Operations: ['42-37=5', '7+5=12'] Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,91 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[7, 42, 97], Operations: ['37+60=97'] Exploring Operation: 97-7=90, Resulting Numbers: [42, 90] Generated Node #0,1,0: 91:[42, 90] Operation: 97-7=90 Exploring Operation: 97-42=55, Resulting Numbers: [7, 55] Generated Node #0,1,1: 91:[7, 55] Operation: 97-42=55 Exploring Operation: 42-7=35, Resulting Numbers: [97, 35] Generated Node #0,1,2: 91:[97, 35] Operation: 42-7=35 Exploring Operation: 42/7=6, Resulting Numbers: [97, 6] Generated Node #0,1,3: 91:[97, 6] Operation: 42/7=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[97, 6], Operations: ['37+60=97', '42/7=6'] Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,91 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[37, 7, 60, 42], Operations: [] Exploring Operation: 37+60=97, Resulting Numbers: [7, 42, 97] Generated Node #0,1: 91:[7, 42, 97] Operation: 37+60=97 Moving to Node #0,1 Current State: 91:[7, 42, 97], Operations: ['37+60=97'] Exploring Operation: 42/7=6, Resulting Numbers: [97, 6] Generated Node #0,1,3: 91:[97, 6] Operation: 42/7=6 Moving to Node #0,1,3 Current State: 91:[97, 6], Operations: ['37+60=97', '42/7=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_4
sum_heuristic
[ 76, 82, 51, 81 ]
25
[ "76-51=25", "82-81=1", "25*1=25" ]
Current State: 25:[76, 82, 51, 81], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [82, 81, 25] Generated Node #2: [82, 81, 25] from Operation: 76-51=25 Current State: 25:[82, 81, 25], Operations: ['76-51=25'] Exploring Operation: 82-81=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 82-81=1 Current State: 25:[25, 1], Operations: ['76-51=25', '82-81=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[76, 82, 51, 81], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [76, 51, 1] Generated Node #0,0: 25:[76, 51, 1] Operation: 82-81=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[76, 51, 1], Operations: ['82-81=1'] Exploring Operation: 76-51=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 25:[1, 25] Operation: 76-51=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[1, 25], Operations: ['82-81=1', '76-51=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[76, 82, 51, 81], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [76, 51, 1] Generated Node #0,0: 25:[76, 51, 1] Operation: 82-81=1 Moving to Node #0,0 Current State: 25:[76, 51, 1], Operations: ['82-81=1'] Exploring Operation: 76-51=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 25:[1, 25] Operation: 76-51=25 Moving to Node #0,0,0 Current State: 25:[1, 25], Operations: ['82-81=1', '76-51=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 54, 81, 29, 30 ]
27
[ "81-54=27", "30-29=1", "27*1=27" ]
Current State: 27:[54, 81, 29, 30], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [29, 30, 27] Generated Node #2: [29, 30, 27] from Operation: 81-54=27 Current State: 27:[29, 30, 27], Operations: ['81-54=27'] Exploring Operation: 30-29=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 30-29=1 Current State: 27:[27, 1], Operations: ['81-54=27', '30-29=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[54, 81, 29, 30], Operations: [] Exploring Operation: 81-30=51, Resulting Numbers: [54, 29, 51] Generated Node #0,0: 27:[54, 29, 51] Operation: 81-30=51 Exploring Operation: 81-54=27, Resulting Numbers: [29, 30, 27] Generated Node #0,1: 27:[29, 30, 27] Operation: 81-54=27 Exploring Operation: 81-29=52, Resulting Numbers: [54, 30, 52] Generated Node #0,2: 27:[54, 30, 52] Operation: 81-29=52 Exploring Operation: 54-29=25, Resulting Numbers: [81, 30, 25] Generated Node #0,3: 27:[81, 30, 25] Operation: 54-29=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[29, 30, 27], Operations: ['81-54=27'] Exploring Operation: 30-29=1, Resulting Numbers: [27, 1] Generated Node #0,1,0: 27:[27, 1] Operation: 30-29=1 Exploring Operation: 30-27=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 27:[29, 3] Operation: 30-27=3 Exploring Operation: 29-27=2, Resulting Numbers: [30, 2] Generated Node #0,1,2: 27:[30, 2] Operation: 29-27=2 Exploring Operation: 29+30=59, Resulting Numbers: [27, 59] Generated Node #0,1,3: 27:[27, 59] Operation: 29+30=59 Moving to Node #0,1,0 Current State: 27:[27, 1], Operations: ['81-54=27', '30-29=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[54, 81, 29, 30], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [29, 30, 27] Generated Node #0,1: 27:[29, 30, 27] Operation: 81-54=27 Moving to Node #0,1 Current State: 27:[29, 30, 27], Operations: ['81-54=27'] Exploring Operation: 30-29=1, Resulting Numbers: [27, 1] Generated Node #0,1,0: 27:[27, 1] Operation: 30-29=1 Moving to Node #0,1,0 Current State: 27:[27, 1], Operations: ['81-54=27', '30-29=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 95, 28, 80, 8 ]
51
[ "95+28=123", "80-8=72", "123-72=51" ]
Current State: 51:[95, 28, 80, 8], Operations: [] Exploring Operation: 95+28=123, Resulting Numbers: [80, 8, 123] Generated Node #2: [80, 8, 123] from Operation: 95+28=123 Current State: 51:[80, 8, 123], Operations: ['95+28=123'] Exploring Operation: 80-8=72, Resulting Numbers: [123, 72] Generated Node #3: [123, 72] from Operation: 80-8=72 Current State: 51:[123, 72], Operations: ['95+28=123', '80-8=72'] Exploring Operation: 123-72=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[95, 28, 80, 8], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [28, 8, 15] Generated Node #0,0: 51:[28, 8, 15] Operation: 95-80=15 Exploring Operation: 95-28=67, Resulting Numbers: [80, 8, 67] Generated Node #0,1: 51:[80, 8, 67] Operation: 95-28=67 Moving to Node #0,0 Current State: 51:[28, 8, 15], Operations: ['95-80=15'] Exploring Operation: 28-8=20, Resulting Numbers: [15, 20] Generated Node #0,0,0: 51:[15, 20] Operation: 28-8=20 Exploring Operation: 28-15=13, Resulting Numbers: [8, 13] Generated Node #0,0,1: 51:[8, 13] Operation: 28-15=13 Moving to Node #0,1 Current State: 51:[80, 8, 67], Operations: ['95-28=67'] Exploring Operation: 80/8=10, Resulting Numbers: [67, 10] Generated Node #0,1,0: 51:[67, 10] Operation: 80/8=10 Exploring Operation: 80-67=13, Resulting Numbers: [8, 13] Generated Node #0,1,1: 51:[8, 13] Operation: 80-67=13 Moving to Node #0,0,0 Current State: 51:[15, 20], Operations: ['95-80=15', '28-8=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[8, 13], Operations: ['95-28=67', '80-67=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[8, 13], Operations: ['95-80=15', '28-15=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[67, 10], Operations: ['95-28=67', '80/8=10'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,51 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 28, 84, 84 ]
73
[ "46+28=74", "84/84=1", "74-1=73" ]
Current State: 73:[46, 28, 84, 84], Operations: [] Exploring Operation: 46+28=74, Resulting Numbers: [84, 84, 74] Generated Node #2: [84, 84, 74] from Operation: 46+28=74 Current State: 73:[84, 84, 74], Operations: ['46+28=74'] Exploring Operation: 84/84=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 84/84=1 Current State: 73:[74, 1], Operations: ['46+28=74', '84/84=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[46, 28, 84, 84], Operations: [] Exploring Operation: 46+28=74, Resulting Numbers: [84, 84, 74] Generated Node #0,0: 73:[84, 84, 74] Operation: 46+28=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[84, 84, 74], Operations: ['46+28=74'] Exploring Operation: 84/84=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 73:[74, 1] Operation: 84/84=1 Moving to Node #0,0,0 Current State: 73:[74, 1], Operations: ['46+28=74', '84/84=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[46, 28, 84, 84], Operations: [] Exploring Operation: 46+28=74, Resulting Numbers: [84, 84, 74] Generated Node #0,0: 73:[84, 84, 74] Operation: 46+28=74 Moving to Node #0,0 Current State: 73:[84, 84, 74], Operations: ['46+28=74'] Exploring Operation: 84/84=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 73:[74, 1] Operation: 84/84=1 Moving to Node #0,0,0 Current State: 73:[74, 1], Operations: ['46+28=74', '84/84=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 28, 21, 56 ]
21
[ "56-56=0", "28*0=0", "21+0=21" ]
Current State: 21:[56, 28, 21, 56], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [28, 21, 0] Generated Node #2: [28, 21, 0] from Operation: 56-56=0 Current State: 21:[28, 21, 0], Operations: ['56-56=0'] Exploring Operation: 28*0=0, Resulting Numbers: [21, 0] Generated Node #3: [21, 0] from Operation: 28*0=0 Current State: 21:[21, 0], Operations: ['56-56=0', '28*0=0'] Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[56, 28, 21, 56], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [28, 21, 0] Generated Node #0,0: 21:[28, 21, 0] Operation: 56-56=0 Exploring Operation: 56/28=2, Resulting Numbers: [21, 56, 2] Generated Node #0,1: 21:[21, 56, 2] Operation: 56/28=2 Exploring Operation: 56/56=1, Resulting Numbers: [28, 21, 1] Generated Node #0,2: 21:[28, 21, 1] Operation: 56/56=1 Exploring Operation: 56-28=28, Resulting Numbers: [21, 56, 28] Generated Node #0,3: 21:[21, 56, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [56, 21, 2] Generated Node #0,4: 21:[56, 21, 2] Operation: 56/28=2 Moving to Node #0,2 Current State: 21:[28, 21, 1], Operations: ['56/56=1'] Exploring Operation: 28-21=7, Resulting Numbers: [1, 7] Generated Node #0,2,0: 21:[1, 7] Operation: 28-21=7 Exploring Operation: 28*1=28, Resulting Numbers: [21, 28] Generated Node #0,2,1: 21:[21, 28] Operation: 28*1=28 Exploring Operation: 28-1=27, Resulting Numbers: [21, 27] Generated Node #0,2,2: 21:[21, 27] Operation: 28-1=27 Exploring Operation: 28/1=28, Resulting Numbers: [21, 28] Generated Node #0,2,3: 21:[21, 28] Operation: 28/1=28 Exploring Operation: 21*1=21, Resulting Numbers: [28, 21] Generated Node #0,2,4: 21:[28, 21] Operation: 21*1=21 Moving to Node #0,0 Current State: 21:[28, 21, 0], Operations: ['56-56=0'] Exploring Operation: 28-21=7, Resulting Numbers: [0, 7] Generated Node #0,0,0: 21:[0, 7] Operation: 28-21=7 Exploring Operation: 28-0=28, Resulting Numbers: [21, 28] Generated Node #0,0,1: 21:[21, 28] Operation: 28-0=28 Exploring Operation: 28+0=28, Resulting Numbers: [21, 28] Generated Node #0,0,2: 21:[21, 28] Operation: 28+0=28 Exploring Operation: 28*0=0, Resulting Numbers: [21, 0] Generated Node #0,0,3: 21:[21, 0] Operation: 28*0=0 Exploring Operation: 21+0=21, Resulting Numbers: [28, 21] Generated Node #0,0,4: 21:[28, 21] Operation: 21+0=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[0, 7], Operations: ['56-56=0', '28-21=7'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 0+7=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 0*7=0, Resulting Numbers: [0] 0,21 unequal: No Solution No 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: 21:[21, 0], Operations: ['56-56=0', '28*0=0'] Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[56, 28, 21, 56], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [28, 21, 0] Generated Node #0,0: 21:[28, 21, 0] Operation: 56-56=0 Moving to Node #0,0 Current State: 21:[28, 21, 0], Operations: ['56-56=0'] Exploring Operation: 28*0=0, Resulting Numbers: [21, 0] Generated Node #0,0,3: 21:[21, 0] Operation: 28*0=0 Moving to Node #0,0,3 Current State: 21:[21, 0], Operations: ['56-56=0', '28*0=0'] Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 40, 8, 6, 22 ]
44
[ "22-8=14", "6*14=84", "84-40=44" ]
Current State: 44:[40, 8, 6, 22], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [40, 6, 14] Generated Node #2: [40, 6, 14] from Operation: 22-8=14 Current State: 44:[40, 6, 14], Operations: ['22-8=14'] Exploring Operation: 6*14=84, Resulting Numbers: [40, 84] Generated Node #3: [40, 84] from Operation: 6*14=84 Current State: 44:[40, 84], Operations: ['22-8=14', '6*14=84'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[40, 8, 6, 22], Operations: [] Exploring Operation: 40+8=48, Resulting Numbers: [6, 22, 48] Generated Node #0,0: 44:[6, 22, 48] Operation: 40+8=48 Exploring Operation: 8+6=14, Resulting Numbers: [40, 22, 14] Generated Node #0,1: 44:[40, 22, 14] Operation: 8+6=14 Exploring Operation: 40/8=5, Resulting Numbers: [6, 22, 5] Generated Node #0,2: 44:[6, 22, 5] Operation: 40/8=5 Exploring Operation: 8-6=2, Resulting Numbers: [40, 22, 2] Generated Node #0,3: 44:[40, 22, 2] Operation: 8-6=2 Exploring Operation: 40+6=46, Resulting Numbers: [8, 22, 46] Generated Node #0,4: 44:[8, 22, 46] Operation: 40+6=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[6, 22, 5], Operations: ['40/8=5'] Exploring Operation: 6+5=11, Resulting Numbers: [22, 11] Generated Node #0,2,0: 44:[22, 11] Operation: 6+5=11 Exploring Operation: 6+22=28, Resulting Numbers: [5, 28] Generated Node #0,2,1: 44:[5, 28] Operation: 6+22=28 Exploring Operation: 22-6=16, Resulting Numbers: [5, 16] Generated Node #0,2,2: 44:[5, 16] Operation: 22-6=16 Exploring Operation: 22+5=27, Resulting Numbers: [6, 27] Generated Node #0,2,3: 44:[6, 27] Operation: 22+5=27 Exploring Operation: 6-5=1, Resulting Numbers: [22, 1] Generated Node #0,2,4: 44:[22, 1] Operation: 6-5=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 44:[22, 11], Operations: ['40/8=5', '6+5=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 44:[22, 1], Operations: ['40/8=5', '6-5=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 44:[5, 16], Operations: ['40/8=5', '22-6=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 44:[5, 28], Operations: ['40/8=5', '6+22=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,44 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 44:[6, 27], Operations: ['40/8=5', '22+5=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,44 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[40, 22, 2], Operations: ['8-6=2'] Exploring Operation: 22/2=11, Resulting Numbers: [40, 11] Generated Node #0,3,0: 44:[40, 11] Operation: 22/2=11 Exploring Operation: 40+2=42, Resulting Numbers: [22, 42] Generated Node #0,3,1: 44:[22, 42] Operation: 40+2=42 Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #0,3,2: 44:[22, 20] Operation: 40/2=20 Exploring Operation: 40-22=18, Resulting Numbers: [2, 18] Generated Node #0,3,3: 44:[2, 18] Operation: 40-22=18 Exploring Operation: 22*2=44, Resulting Numbers: [40, 44] Generated Node #0,3,4: 44:[40, 44] Operation: 22*2=44 Moving to Node #0,3,1 Current State: 44:[22, 42], Operations: ['8-6=2', '40+2=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[22, 20], Operations: ['8-6=2', '40/2=20'] Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,44 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[40, 11], Operations: ['8-6=2', '22/2=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,44 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[2, 18], Operations: ['8-6=2', '40-22=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[40, 44], Operations: ['8-6=2', '22*2=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,44 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[8, 22, 46], Operations: ['40+6=46'] Exploring Operation: 46-8=38, Resulting Numbers: [22, 38] Generated Node #0,4,0: 44:[22, 38] Operation: 46-8=38 Exploring Operation: 8+46=54, Resulting Numbers: [22, 54] Generated Node #0,4,1: 44:[22, 54] Operation: 8+46=54 Exploring Operation: 46-22=24, Resulting Numbers: [8, 24] Generated Node #0,4,2: 44:[8, 24] Operation: 46-22=24 Exploring Operation: 22-8=14, Resulting Numbers: [46, 14] Generated Node #0,4,3: 44:[46, 14] Operation: 22-8=14 Exploring Operation: 8+22=30, Resulting Numbers: [46, 30] Generated Node #0,4,4: 44:[46, 30] Operation: 8+22=30 Moving to Node #0,4,2 Current State: 44:[8, 24], Operations: ['40+6=46', '46-22=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,44 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,44 unequal: No Solution Moving to Node #0,4,3 Current State: 44:[46, 14], Operations: ['40+6=46', '22-8=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,44 unequal: No Solution Moving to Node #0,4,0 Current State: 44:[22, 38], Operations: ['40+6=46', '46-8=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[22, 54], Operations: ['40+6=46', '8+46=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,44 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,44 unequal: No Solution Moving to Node #0,4,4 Current State: 44:[46, 30], Operations: ['40+6=46', '8+22=30'] Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,44 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[6, 22, 48], Operations: ['40+8=48'] Exploring Operation: 48-22=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 44:[6, 26] Operation: 48-22=26 Exploring Operation: 48/6=8, Resulting Numbers: [22, 8] Generated Node #0,0,1: 44:[22, 8] Operation: 48/6=8 Exploring Operation: 22-6=16, Resulting Numbers: [48, 16] Generated Node #0,0,2: 44:[48, 16] Operation: 22-6=16 Exploring Operation: 48-6=42, Resulting Numbers: [22, 42] Generated Node #0,0,3: 44:[22, 42] Operation: 48-6=42 Exploring Operation: 6+22=28, Resulting Numbers: [48, 28] Generated Node #0,0,4: 44:[48, 28] Operation: 6+22=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[22, 42], Operations: ['40+8=48', '48-6=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[22, 8], Operations: ['40+8=48', '48/6=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,44 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[6, 26], Operations: ['40+8=48', '48-22=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[48, 16], Operations: ['40+8=48', '22-6=16'] Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,44 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 44:[48, 28], Operations: ['40+8=48', '6+22=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,44 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[40, 22, 14], Operations: ['8+6=14'] Exploring Operation: 40-14=26, Resulting Numbers: [22, 26] Generated Node #0,1,0: 44:[22, 26] Operation: 40-14=26 Exploring Operation: 40-22=18, Resulting Numbers: [14, 18] Generated Node #0,1,1: 44:[14, 18] Operation: 40-22=18 Exploring Operation: 22-14=8, Resulting Numbers: [40, 8] Generated Node #0,1,2: 44:[40, 8] Operation: 22-14=8 Exploring Operation: 40+14=54, Resulting Numbers: [22, 54] Generated Node #0,1,3: 44:[22, 54] Operation: 40+14=54 Exploring Operation: 22+14=36, Resulting Numbers: [40, 36] Generated Node #0,1,4: 44:[40, 36] Operation: 22+14=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[22, 26], Operations: ['8+6=14', '40-14=26'] Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,44 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[14, 18], Operations: ['8+6=14', '40-22=18'] Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,44 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[40, 8], Operations: ['8+6=14', '22-14=8'] Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,44 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[22, 54], Operations: ['8+6=14', '40+14=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 44:[40, 36], Operations: ['8+6=14', '22+14=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 86, 17, 5, 77 ]
62
[ "86-77=9", "5*9=45", "17+45=62" ]
Current State: 62:[86, 17, 5, 77], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [17, 5, 9] Generated Node #2: [17, 5, 9] from Operation: 86-77=9 Current State: 62:[17, 5, 9], Operations: ['86-77=9'] Exploring Operation: 5*9=45, Resulting Numbers: [17, 45] Generated Node #3: [17, 45] from Operation: 5*9=45 Current State: 62:[17, 45], Operations: ['86-77=9', '5*9=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[86, 17, 5, 77], Operations: [] Exploring Operation: 77-17=60, Resulting Numbers: [86, 5, 60] Generated Node #0,0: 62:[86, 5, 60] Operation: 77-17=60 Exploring Operation: 86-17=69, Resulting Numbers: [5, 77, 69] Generated Node #0,1: 62:[5, 77, 69] Operation: 86-17=69 Exploring Operation: 86-77=9, Resulting Numbers: [17, 5, 9] Generated Node #0,2: 62:[17, 5, 9] Operation: 86-77=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[17, 5, 9], Operations: ['86-77=9'] Exploring Operation: 17+9=26, Resulting Numbers: [5, 26] Generated Node #0,2,0: 62:[5, 26] Operation: 17+9=26 Exploring Operation: 17+5=22, Resulting Numbers: [9, 22] Generated Node #0,2,1: 62:[9, 22] Operation: 17+5=22 Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #0,2,2: 62:[5, 8] Operation: 17-9=8 Moving to Node #0,2,0 Current State: 62:[5, 26], Operations: ['86-77=9', '17+9=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,62 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[5, 8], Operations: ['86-77=9', '17-9=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[9, 22], Operations: ['86-77=9', '17+5=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,62 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,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 Current State: 62:[5, 77, 69], Operations: ['86-17=69'] Exploring Operation: 77-69=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 62:[5, 8] Operation: 77-69=8 Exploring Operation: 69-5=64, Resulting Numbers: [77, 64] Generated Node #0,1,1: 62:[77, 64] Operation: 69-5=64 Exploring Operation: 77-5=72, Resulting Numbers: [69, 72] Generated Node #0,1,2: 62:[69, 72] Operation: 77-5=72 Moving to Node #0,1,0 Current State: 62:[5, 8], Operations: ['86-17=69', '77-69=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[77, 64], Operations: ['86-17=69', '69-5=64'] Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,62 unequal: No Solution Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,62 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[69, 72], Operations: ['86-17=69', '77-5=72'] Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,62 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[86, 5, 60], Operations: ['77-17=60'] Exploring Operation: 5+60=65, Resulting Numbers: [86, 65] Generated Node #0,0,0: 62:[86, 65] Operation: 5+60=65 Exploring Operation: 86-60=26, Resulting Numbers: [5, 26] Generated Node #0,0,1: 62:[5, 26] Operation: 86-60=26 Exploring Operation: 86-5=81, Resulting Numbers: [60, 81] Generated Node #0,0,2: 62:[60, 81] Operation: 86-5=81 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[5, 26], Operations: ['77-17=60', '86-60=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,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:[60, 81], Operations: ['77-17=60', '86-5=81'] Exploring Operation: 60*81=4860, Resulting Numbers: [4860] 4860,62 unequal: No Solution Exploring Operation: 60+81=141, Resulting Numbers: [141] 141,62 unequal: No Solution Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,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:[86, 65], Operations: ['77-17=60', '5+60=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,62 unequal: No Solution Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,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_3
sum_heuristic
[ 4, 18, 66, 66 ]
54
[ "66-18=48", "48/4=12", "66-12=54" ]
Current State: 54:[4, 18, 66, 66], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [4, 48] Generated Node #2: [4, 48] from Operation: 66-18=48 Current State: 54:[4, 48], Operations: ['66-18=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,54 equal: Goal Reached Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[4, 18, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [4, 18, 1] Generated Node #0,0: 54:[4, 18, 1] Operation: 66/66=1 Exploring Operation: 66-66=0, Resulting Numbers: [4, 18, 0] Generated Node #0,1: 54:[4, 18, 0] Operation: 66-66=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[4, 18, 1], Operations: ['66/66=1'] Exploring Operation: 4-1=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 4-1=3 Exploring Operation: 4+1=5, Resulting Numbers: [18, 5] Generated Node #0,0,1: 54:[18, 5] Operation: 4+1=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['66/66=1', '4-1=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[4, 18, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [4, 18, 1] Generated Node #0,0: 54:[4, 18, 1] Operation: 66/66=1 Moving to Node #0,0 Current State: 54:[4, 18, 1], Operations: ['66/66=1'] Exploring Operation: 4-1=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 4-1=3 Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['66/66=1', '4-1=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 55, 79, 40, 87 ]
11
[ "87-79=8", "55*8=440", "440/40=11" ]
Current State: 11:[55, 79, 40, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [55, 40, 8] Generated Node #2: [55, 40, 8] from Operation: 87-79=8 Current State: 11:[55, 40, 8], Operations: ['87-79=8'] Exploring Operation: 55*8=440, Resulting Numbers: [40, 440] Generated Node #3: [40, 440] from Operation: 55*8=440 Current State: 11:[40, 440], Operations: ['87-79=8', '55*8=440'] Exploring Operation: 440/40=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[55, 79, 40, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [55, 40, 8] Generated Node #0,0: 11:[55, 40, 8] Operation: 87-79=8 Exploring Operation: 79-55=24, Resulting Numbers: [40, 87, 24] Generated Node #0,1: 11:[40, 87, 24] Operation: 79-55=24 Exploring Operation: 55-40=15, Resulting Numbers: [79, 87, 15] Generated Node #0,2: 11:[79, 87, 15] Operation: 55-40=15 Exploring Operation: 87-55=32, Resulting Numbers: [79, 40, 32] Generated Node #0,3: 11:[79, 40, 32] Operation: 87-55=32 Exploring Operation: 79-40=39, Resulting Numbers: [55, 87, 39] Generated Node #0,4: 11:[55, 87, 39] Operation: 79-40=39 Moving to Node #0,0 Current State: 11:[55, 40, 8], Operations: ['87-79=8'] Exploring Operation: 40-8=32, Resulting Numbers: [55, 32] Generated Node #0,0,0: 11:[55, 32] Operation: 40-8=32 Exploring Operation: 55+8=63, Resulting Numbers: [40, 63] Generated Node #0,0,1: 11:[40, 63] Operation: 55+8=63 Exploring Operation: 40/8=5, Resulting Numbers: [55, 5] Generated Node #0,0,2: 11:[55, 5] Operation: 40/8=5 Exploring Operation: 55-8=47, Resulting Numbers: [40, 47] Generated Node #0,0,3: 11:[40, 47] Operation: 55-8=47 Exploring Operation: 55-40=15, Resulting Numbers: [8, 15] Generated Node #0,0,4: 11:[8, 15] Operation: 55-40=15 Moving to Node #0,3 Current State: 11:[79, 40, 32], Operations: ['87-55=32'] Exploring Operation: 79-32=47, Resulting Numbers: [40, 47] Generated Node #0,3,0: 11:[40, 47] Operation: 79-32=47 Exploring Operation: 79+40=119, Resulting Numbers: [32, 119] Generated Node #0,3,1: 11:[32, 119] Operation: 79+40=119 Exploring Operation: 79-40=39, Resulting Numbers: [32, 39] Generated Node #0,3,2: 11:[32, 39] Operation: 79-40=39 Exploring Operation: 79+32=111, Resulting Numbers: [40, 111] Generated Node #0,3,3: 11:[40, 111] Operation: 79+32=111 Exploring Operation: 40-32=8, Resulting Numbers: [79, 8] Generated Node #0,3,4: 11:[79, 8] Operation: 40-32=8 Moving to Node #0,1 Current State: 11:[40, 87, 24], Operations: ['79-55=24'] Exploring Operation: 40-24=16, Resulting Numbers: [87, 16] Generated Node #0,1,0: 11:[87, 16] Operation: 40-24=16 Exploring Operation: 87-24=63, Resulting Numbers: [40, 63] Generated Node #0,1,1: 11:[40, 63] Operation: 87-24=63 Exploring Operation: 40+87=127, Resulting Numbers: [24, 127] Generated Node #0,1,2: 11:[24, 127] Operation: 40+87=127 Exploring Operation: 40+24=64, Resulting Numbers: [87, 64] Generated Node #0,1,3: 11:[87, 64] Operation: 40+24=64 Exploring Operation: 87-40=47, Resulting Numbers: [24, 47] Generated Node #0,1,4: 11:[24, 47] Operation: 87-40=47 Moving to Node #0,2 Current State: 11:[79, 87, 15], Operations: ['55-40=15'] Exploring Operation: 79+87=166, Resulting Numbers: [15, 166] Generated Node #0,2,0: 11:[15, 166] Operation: 79+87=166 Exploring Operation: 87-15=72, Resulting Numbers: [79, 72] Generated Node #0,2,1: 11:[79, 72] Operation: 87-15=72 Exploring Operation: 79-15=64, Resulting Numbers: [87, 64] Generated Node #0,2,2: 11:[87, 64] Operation: 79-15=64 Exploring Operation: 87-79=8, Resulting Numbers: [15, 8] Generated Node #0,2,3: 11:[15, 8] Operation: 87-79=8 Exploring Operation: 79+15=94, Resulting Numbers: [87, 94] Generated Node #0,2,4: 11:[87, 94] Operation: 79+15=94 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[15, 8], Operations: ['55-40=15', '87-79=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[79, 72], Operations: ['55-40=15', '87-15=72'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 79+72=151, Resulting Numbers: [151] 151,11 unequal: No Solution Exploring Operation: 79*72=5688, Resulting Numbers: [5688] 5688,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[87, 64], Operations: ['55-40=15', '79-15=64'] Exploring Operation: 87+64=151, Resulting Numbers: [151] 151,11 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 87*64=5568, Resulting Numbers: [5568] 5568,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:[15, 166], Operations: ['55-40=15', '79+87=166'] Exploring Operation: 166-15=151, Resulting Numbers: [151] 151,11 unequal: No Solution Exploring Operation: 15+166=181, Resulting Numbers: [181] 181,11 unequal: No Solution Exploring Operation: 15*166=2490, Resulting Numbers: [2490] 2490,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:[87, 94], Operations: ['55-40=15', '79+15=94'] Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,11 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,11 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: 11:[55, 87, 39], Operations: ['79-40=39'] Exploring Operation: 55-39=16, Resulting Numbers: [87, 16] Generated Node #0,4,0: 11:[87, 16] Operation: 55-39=16 Exploring Operation: 55+87=142, Resulting Numbers: [39, 142] Generated Node #0,4,1: 11:[39, 142] Operation: 55+87=142 Exploring Operation: 87-55=32, Resulting Numbers: [39, 32] Generated Node #0,4,2: 11:[39, 32] Operation: 87-55=32 Exploring Operation: 87-39=48, Resulting Numbers: [55, 48] Generated Node #0,4,3: 11:[55, 48] Operation: 87-39=48 Exploring Operation: 55+39=94, Resulting Numbers: [87, 94] Generated Node #0,4,4: 11:[87, 94] Operation: 55+39=94 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[39, 32], Operations: ['79-40=39', '87-55=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,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,4,0 Current State: 11:[87, 16], Operations: ['79-40=39', '55-39=16'] Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,11 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,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,4,3 Current State: 11:[55, 48], Operations: ['79-40=39', '87-39=48'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,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,4,1 Current State: 11:[39, 142], Operations: ['79-40=39', '55+87=142'] Exploring Operation: 142-39=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 39*142=5538, Resulting Numbers: [5538] 5538,11 unequal: No Solution Exploring Operation: 39+142=181, Resulting Numbers: [181] 181,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,4,4 Current State: 11:[87, 94], Operations: ['79-40=39', '55+39=94'] Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,11 unequal: No Solution Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,11 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 11:[8, 15], Operations: ['87-79=8', '55-40=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[32, 39], Operations: ['87-55=32', '79-40=39'] Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,11 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[24, 47], Operations: ['79-55=24', '87-40=47'] Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,11 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[55, 5], Operations: ['87-79=8', '40/8=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,11 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[55, 79, 40, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [55, 40, 8] Generated Node #0,0: 11:[55, 40, 8] Operation: 87-79=8 Moving to Node #0,0 Current State: 11:[55, 40, 8], Operations: ['87-79=8'] Exploring Operation: 40/8=5, Resulting Numbers: [55, 5] Generated Node #0,0,2: 11:[55, 5] Operation: 40/8=5 Moving to Node #0,0,2 Current State: 11:[55, 5], Operations: ['87-79=8', '40/8=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.934028
hs_5
sum_heuristic