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
[ 59, 4, 56, 60 ]
75
[ "60-56=4", "4*4=16", "59+16=75" ]
Current State: 75:[59, 4, 56, 60], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [59, 4, 4] Generated Node #2: [59, 4, 4] from Operation: 60-56=4 Current State: 75:[59, 4, 4], Operations: ['60-56=4'] Exploring Operation: 4*4=16, Resulting Numbers: [59, 16] Generated Node #3: [59, 16] from Operation: 4*4=16 Current State: 75:[59, 16], Operations: ['60-56=4', '4*4=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[59, 4, 56, 60], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [59, 4, 4] Generated Node #0,0: 75:[59, 4, 4] Operation: 60-56=4 Exploring Operation: 60-59=1, Resulting Numbers: [4, 56, 1] Generated Node #0,1: 75:[4, 56, 1] Operation: 60-59=1 Exploring Operation: 56/4=14, Resulting Numbers: [59, 60, 14] Generated Node #0,2: 75:[59, 60, 14] Operation: 56/4=14 Exploring Operation: 59-56=3, Resulting Numbers: [4, 60, 3] Generated Node #0,3: 75:[4, 60, 3] Operation: 59-56=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[4, 60, 3], Operations: ['59-56=3'] Exploring Operation: 60/3=20, Resulting Numbers: [4, 20] Generated Node #0,3,0: 75:[4, 20] Operation: 60/3=20 Exploring Operation: 60+3=63, Resulting Numbers: [4, 63] Generated Node #0,3,1: 75:[4, 63] Operation: 60+3=63 Exploring Operation: 4+60=64, Resulting Numbers: [3, 64] Generated Node #0,3,2: 75:[3, 64] Operation: 4+60=64 Exploring Operation: 60/4=15, Resulting Numbers: [3, 15] Generated Node #0,3,3: 75:[3, 15] Operation: 60/4=15 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[3, 15], Operations: ['59-56=3', '60/4=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,75 unequal: No Solution No 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: 75:[4, 20], Operations: ['59-56=3', '60/3=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,75 unequal: No Solution No 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: 75:[3, 64], Operations: ['59-56=3', '4+60=64'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 3*64=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,75 unequal: No Solution No 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: 75:[4, 63], Operations: ['59-56=3', '60+3=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,75 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,75 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: 75:[59, 4, 4], Operations: ['60-56=4'] Exploring Operation: 4/4=1, Resulting Numbers: [59, 1] Generated Node #0,0,0: 75:[59, 1] Operation: 4/4=1 Exploring Operation: 59+4=63, Resulting Numbers: [4, 63] Generated Node #0,0,1: 75:[4, 63] Operation: 59+4=63 Exploring Operation: 4*4=16, Resulting Numbers: [59, 16] Generated Node #0,0,2: 75:[59, 16] Operation: 4*4=16 Exploring Operation: 59+4=63, Resulting Numbers: [4, 63] Generated Node #0,0,3: 75:[4, 63] Operation: 59+4=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[4, 63], Operations: ['60-56=4', '59+4=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,75 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,75 unequal: No Solution No 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: 75:[4, 63], Operations: ['60-56=4', '59+4=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,75 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,75 unequal: No Solution No 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: 75:[59, 16], Operations: ['60-56=4', '4*4=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,75 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[59, 4, 56, 60], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [59, 4, 4] Generated Node #0,0: 75:[59, 4, 4] Operation: 60-56=4 Moving to Node #0,0 Current State: 75:[59, 4, 4], Operations: ['60-56=4'] Exploring Operation: 4*4=16, Resulting Numbers: [59, 16] Generated Node #0,0,2: 75:[59, 16] Operation: 4*4=16 Moving to Node #0,0,2 Current State: 75:[59, 16], Operations: ['60-56=4', '4*4=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 19, 2, 74, 3 ]
93
[ "19+74=93", "3-2=1", "93*1=93" ]
Current State: 93:[19, 2, 74, 3], Operations: [] Exploring Operation: 19+74=93, Resulting Numbers: [2, 3, 93] Generated Node #2: [2, 3, 93] from Operation: 19+74=93 Current State: 93:[2, 3, 93], Operations: ['19+74=93'] Exploring Operation: 3-2=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 3-2=1 Current State: 93:[93, 1], Operations: ['19+74=93', '3-2=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[19, 2, 74, 3], Operations: [] Exploring Operation: 74-19=55, Resulting Numbers: [2, 3, 55] Generated Node #0,0: 93:[2, 3, 55] Operation: 74-19=55 Exploring Operation: 19+74=93, Resulting Numbers: [2, 3, 93] Generated Node #0,1: 93:[2, 3, 93] Operation: 19+74=93 Exploring Operation: 19+2=21, Resulting Numbers: [74, 3, 21] Generated Node #0,2: 93:[74, 3, 21] Operation: 19+2=21 Exploring Operation: 19*2=38, Resulting Numbers: [74, 3, 38] Generated Node #0,3: 93:[74, 3, 38] Operation: 19*2=38 Exploring Operation: 74/2=37, Resulting Numbers: [19, 3, 37] Generated Node #0,4: 93:[19, 3, 37] Operation: 74/2=37 Moving to Node #0,1 Current State: 93:[2, 3, 93], Operations: ['19+74=93'] Exploring Operation: 2+3=5, Resulting Numbers: [93, 5] Generated Node #0,1,0: 93:[93, 5] Operation: 2+3=5 Exploring Operation: 93-2=91, Resulting Numbers: [3, 91] Generated Node #0,1,1: 93:[3, 91] Operation: 93-2=91 Exploring Operation: 3-2=1, Resulting Numbers: [93, 1] Generated Node #0,1,2: 93:[93, 1] Operation: 3-2=1 Exploring Operation: 93/3=31, Resulting Numbers: [2, 31] Generated Node #0,1,3: 93:[2, 31] Operation: 93/3=31 Exploring Operation: 2+93=95, Resulting Numbers: [3, 95] Generated Node #0,1,4: 93:[3, 95] Operation: 2+93=95 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[2, 31], Operations: ['19+74=93', '93/3=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,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,0 Current State: 93:[93, 5], Operations: ['19+74=93', '2+3=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,93 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,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:[3, 91], Operations: ['19+74=93', '93-2=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,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,2 Current State: 93:[93, 1], Operations: ['19+74=93', '3-2=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[19, 2, 74, 3], Operations: [] Exploring Operation: 19+74=93, Resulting Numbers: [2, 3, 93] Generated Node #0,1: 93:[2, 3, 93] Operation: 19+74=93 Moving to Node #0,1 Current State: 93:[2, 3, 93], Operations: ['19+74=93'] Exploring Operation: 3-2=1, Resulting Numbers: [93, 1] Generated Node #0,1,2: 93:[93, 1] Operation: 3-2=1 Moving to Node #0,1,2 Current State: 93:[93, 1], Operations: ['19+74=93', '3-2=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 85, 65, 87, 41 ]
89
[ "87-85=2", "65*2=130", "130-41=89" ]
Current State: 89:[85, 65, 87, 41], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [65, 41, 2] Generated Node #2: [65, 41, 2] from Operation: 87-85=2 Current State: 89:[65, 41, 2], Operations: ['87-85=2'] Exploring Operation: 65*2=130, Resulting Numbers: [41, 130] Generated Node #3: [41, 130] from Operation: 65*2=130 Current State: 89:[41, 130], Operations: ['87-85=2', '65*2=130'] Exploring Operation: 130-41=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 65, 87, 41], Operations: [] Exploring Operation: 85+41=126, Resulting Numbers: [65, 87, 126] Generated Node #0,0: 89:[65, 87, 126] Operation: 85+41=126 Exploring Operation: 87+41=128, Resulting Numbers: [85, 65, 128] Generated Node #0,1: 89:[85, 65, 128] Operation: 87+41=128 Exploring Operation: 65+41=106, Resulting Numbers: [85, 87, 106] Generated Node #0,2: 89:[85, 87, 106] Operation: 65+41=106 Moving to Node #0,2 Current State: 89:[85, 87, 106], Operations: ['65+41=106'] Exploring Operation: 85+87=172, Resulting Numbers: [106, 172] Generated Node #0,2,0: 89:[106, 172] Operation: 85+87=172 Exploring Operation: 106-85=21, Resulting Numbers: [87, 21] Generated Node #0,2,1: 89:[87, 21] Operation: 106-85=21 Exploring Operation: 106-87=19, Resulting Numbers: [85, 19] Generated Node #0,2,2: 89:[85, 19] Operation: 106-87=19 Moving to Node #0,0 Current State: 89:[65, 87, 126], Operations: ['85+41=126'] Exploring Operation: 126-65=61, Resulting Numbers: [87, 61] Generated Node #0,0,0: 89:[87, 61] Operation: 126-65=61 Exploring Operation: 65+87=152, Resulting Numbers: [126, 152] Generated Node #0,0,1: 89:[126, 152] Operation: 65+87=152 Exploring Operation: 126-87=39, Resulting Numbers: [65, 39] Generated Node #0,0,2: 89:[65, 39] Operation: 126-87=39 Moving to Node #0,1 Current State: 89:[85, 65, 128], Operations: ['87+41=128'] Exploring Operation: 85+65=150, Resulting Numbers: [128, 150] Generated Node #0,1,0: 89:[128, 150] Operation: 85+65=150 Exploring Operation: 128-85=43, Resulting Numbers: [65, 43] Generated Node #0,1,1: 89:[65, 43] Operation: 128-85=43 Exploring Operation: 128-65=63, Resulting Numbers: [85, 63] Generated Node #0,1,2: 89:[85, 63] Operation: 128-65=63 Moving to Node #0,0,0 Current State: 89:[87, 61], Operations: ['85+41=126', '126-65=61'] Exploring Operation: 87+61=148, Resulting Numbers: [148] 148,89 unequal: No Solution Exploring Operation: 87*61=5307, Resulting Numbers: [5307] 5307,89 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[85, 63], Operations: ['87+41=128', '128-65=63'] Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,89 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,89 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[87, 21], Operations: ['65+41=106', '106-85=21'] Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,89 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[65, 43], Operations: ['87+41=128', '128-85=43'] Exploring Operation: 65+43=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 65*43=2795, Resulting Numbers: [2795] 2795,89 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[65, 39], Operations: ['85+41=126', '126-87=39'] Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,89 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[85, 19], Operations: ['65+41=106', '106-87=19'] Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,89 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[106, 172], Operations: ['65+41=106', '85+87=172'] Exploring Operation: 106+172=278, Resulting Numbers: [278] 278,89 unequal: No Solution Exploring Operation: 172-106=66, Resulting Numbers: [66] 66,89 unequal: No Solution Exploring Operation: 106*172=18232, Resulting Numbers: [18232] 18232,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[126, 152], Operations: ['85+41=126', '65+87=152'] Exploring Operation: 152-126=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 126+152=278, Resulting Numbers: [278] 278,89 unequal: No Solution Exploring Operation: 126*152=19152, Resulting Numbers: [19152] 19152,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[128, 150], Operations: ['87+41=128', '85+65=150'] Exploring Operation: 150-128=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 128*150=19200, Resulting Numbers: [19200] 19200,89 unequal: No Solution Exploring Operation: 128+150=278, Resulting Numbers: [278] 278,89 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 37, 72, 3, 1 ]
76
[ "3+1=4", "37*4=148", "148-72=76" ]
Current State: 76:[37, 72, 3, 1], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [37, 72, 4] Generated Node #2: [37, 72, 4] from Operation: 3+1=4 Current State: 76:[37, 72, 4], Operations: ['3+1=4'] Exploring Operation: 37*4=148, Resulting Numbers: [72, 148] Generated Node #3: [72, 148] from Operation: 37*4=148 Current State: 76:[72, 148], Operations: ['3+1=4', '37*4=148'] Exploring Operation: 148-72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[37, 72, 3, 1], Operations: [] Exploring Operation: 37+1=38, Resulting Numbers: [72, 3, 38] Generated Node #0,0: 76:[72, 3, 38] Operation: 37+1=38 Exploring Operation: 72+3=75, Resulting Numbers: [37, 1, 75] Generated Node #0,1: 76:[37, 1, 75] Operation: 72+3=75 Exploring Operation: 72+1=73, Resulting Numbers: [37, 3, 73] Generated Node #0,2: 76:[37, 3, 73] Operation: 72+1=73 Exploring Operation: 72-37=35, Resulting Numbers: [3, 1, 35] Generated Node #0,3: 76:[3, 1, 35] Operation: 72-37=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[37, 1, 75], Operations: ['72+3=75'] Exploring Operation: 37*1=37, Resulting Numbers: [75, 37] Generated Node #0,1,0: 76:[75, 37] Operation: 37*1=37 Exploring Operation: 37+1=38, Resulting Numbers: [75, 38] Generated Node #0,1,1: 76:[75, 38] Operation: 37+1=38 Exploring Operation: 75-37=38, Resulting Numbers: [1, 38] Generated Node #0,1,2: 76:[1, 38] Operation: 75-37=38 Exploring Operation: 1+75=76, Resulting Numbers: [37, 76] Generated Node #0,1,3: 76:[37, 76] Operation: 1+75=76 Moving to Node #0,1,1 Current State: 76:[75, 38], Operations: ['72+3=75', '37+1=38'] Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,76 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[37, 76], Operations: ['72+3=75', '1+75=76'] Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 37*76=2812, Resulting Numbers: [2812] 2812,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[1, 38], Operations: ['72+3=75', '75-37=38'] Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[75, 37], Operations: ['72+3=75', '37*1=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,76 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[72, 3, 38], Operations: ['37+1=38'] Exploring Operation: 72+3=75, Resulting Numbers: [38, 75] Generated Node #0,0,0: 76:[38, 75] Operation: 72+3=75 Exploring Operation: 72-3=69, Resulting Numbers: [38, 69] Generated Node #0,0,1: 76:[38, 69] Operation: 72-3=69 Exploring Operation: 72/3=24, Resulting Numbers: [38, 24] Generated Node #0,0,2: 76:[38, 24] Operation: 72/3=24 Exploring Operation: 72-38=34, Resulting Numbers: [3, 34] Generated Node #0,0,3: 76:[3, 34] Operation: 72-38=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[38, 75], Operations: ['37+1=38', '72+3=75'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,76 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,76 unequal: No Solution No 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: 76:[38, 24], Operations: ['37+1=38', '72/3=24'] Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,76 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,76 unequal: No Solution No 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: 76:[3, 34], Operations: ['37+1=38', '72-38=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,76 unequal: No Solution No 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: 76:[38, 69], Operations: ['37+1=38', '72-3=69'] Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,76 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,76 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,76 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: 76:[37, 3, 73], Operations: ['72+1=73'] Exploring Operation: 73-37=36, Resulting Numbers: [3, 36] Generated Node #0,2,0: 76:[3, 36] Operation: 73-37=36 Exploring Operation: 3+73=76, Resulting Numbers: [37, 76] Generated Node #0,2,1: 76:[37, 76] Operation: 3+73=76 Exploring Operation: 37+3=40, Resulting Numbers: [73, 40] Generated Node #0,2,2: 76:[73, 40] Operation: 37+3=40 Exploring Operation: 37-3=34, Resulting Numbers: [73, 34] Generated Node #0,2,3: 76:[73, 34] Operation: 37-3=34 Moving to Node #0,2,1 Current State: 76:[37, 76], Operations: ['72+1=73', '3+73=76'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 37*76=2812, Resulting Numbers: [2812] 2812,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[3, 36], Operations: ['72+1=73', '73-37=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,76 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[73, 40], Operations: ['72+1=73', '37+3=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[73, 34], Operations: ['72+1=73', '37-3=34'] Exploring Operation: 73+34=107, Resulting Numbers: [107] 107,76 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 73*34=2482, Resulting Numbers: [2482] 2482,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[3, 1, 35], Operations: ['72-37=35'] Exploring Operation: 3+1=4, Resulting Numbers: [35, 4] Generated Node #0,3,0: 76:[35, 4] Operation: 3+1=4 Exploring Operation: 3-1=2, Resulting Numbers: [35, 2] Generated Node #0,3,1: 76:[35, 2] Operation: 3-1=2 Exploring Operation: 3+35=38, Resulting Numbers: [1, 38] Generated Node #0,3,2: 76:[1, 38] Operation: 3+35=38 Exploring Operation: 1+35=36, Resulting Numbers: [3, 36] Generated Node #0,3,3: 76:[3, 36] Operation: 1+35=36 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[1, 38], Operations: ['72-37=35', '3+35=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,76 unequal: No Solution No 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: 76:[35, 4], Operations: ['72-37=35', '3+1=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,76 unequal: No Solution No 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: 76:[35, 2], Operations: ['72-37=35', '3-1=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,76 unequal: No Solution No 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: 76:[3, 36], Operations: ['72-37=35', '1+35=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,76 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 19, 33, 65, 95 ]
27
[ "95/19=5", "65-33=32", "32-5=27" ]
Current State: 27:[19, 33, 65, 95], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [33, 65, 5] Generated Node #2: [33, 65, 5] from Operation: 95/19=5 Current State: 27:[33, 65, 5], Operations: ['95/19=5'] Exploring Operation: 65-33=32, Resulting Numbers: [5, 32] Generated Node #3: [5, 32] from Operation: 65-33=32 Current State: 27:[5, 32], Operations: ['95/19=5', '65-33=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[19, 33, 65, 95], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [19, 33, 30] Generated Node #0,0: 27:[19, 33, 30] Operation: 95-65=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[19, 33, 30], Operations: ['95-65=30'] Exploring Operation: 33-19=14, Resulting Numbers: [30, 14] Generated Node #0,0,0: 27:[30, 14] Operation: 33-19=14 Moving to Node #0,0,0 Current State: 27:[30, 14], Operations: ['95-65=30', '33-19=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,27 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
[ 74, 28, 8, 22 ]
84
[ "74-8=66", "28*66=1848", "1848/22=84" ]
Current State: 84:[74, 28, 8, 22], Operations: [] Exploring Operation: 74-8=66, Resulting Numbers: [28, 22, 66] Generated Node #2: [28, 22, 66] from Operation: 74-8=66 Current State: 84:[28, 22, 66], Operations: ['74-8=66'] Exploring Operation: 28*66=1848, Resulting Numbers: [22, 1848] Generated Node #3: [22, 1848] from Operation: 28*66=1848 Current State: 84:[22, 1848], Operations: ['74-8=66', '28*66=1848'] Exploring Operation: 1848/22=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[74, 28, 8, 22], Operations: [] Exploring Operation: 74+8=82, Resulting Numbers: [28, 22, 82] Generated Node #0,0: 84:[28, 22, 82] Operation: 74+8=82 Exploring Operation: 74-28=46, Resulting Numbers: [8, 22, 46] Generated Node #0,1: 84:[8, 22, 46] Operation: 74-28=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[28, 22, 82], Operations: ['74+8=82'] Exploring Operation: 28+22=50, Resulting Numbers: [82, 50] Generated Node #0,0,0: 84:[82, 50] Operation: 28+22=50 Exploring Operation: 28-22=6, Resulting Numbers: [82, 6] Generated Node #0,0,1: 84:[82, 6] Operation: 28-22=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[82, 6], Operations: ['74+8=82', '28-22=6'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,84 unequal: No Solution Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[82, 50], Operations: ['74+8=82', '28+22=50'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[8, 22, 46], Operations: ['74-28=46'] Exploring Operation: 46-22=24, Resulting Numbers: [8, 24] Generated Node #0,1,0: 84:[8, 24] Operation: 46-22=24 Exploring Operation: 22-8=14, Resulting Numbers: [46, 14] Generated Node #0,1,1: 84:[46, 14] Operation: 22-8=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[8, 24], Operations: ['74-28=46', '46-22=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,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:[46, 14], Operations: ['74-28=46', '22-8=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,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_2
mult_heuristic
[ 66, 70, 27, 74 ]
89
[ "66+70=136", "74-27=47", "136-47=89" ]
Current State: 89:[66, 70, 27, 74], Operations: [] Exploring Operation: 66+70=136, Resulting Numbers: [27, 74, 136] Generated Node #2: [27, 74, 136] from Operation: 66+70=136 Current State: 89:[27, 74, 136], Operations: ['66+70=136'] Exploring Operation: 74-27=47, Resulting Numbers: [136, 47] Generated Node #3: [136, 47] from Operation: 74-27=47 Current State: 89:[136, 47], Operations: ['66+70=136', '74-27=47'] Exploring Operation: 136-47=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[66, 70, 27, 74], Operations: [] Exploring Operation: 66+27=93, Resulting Numbers: [70, 74, 93] Generated Node #0,0: 89:[70, 74, 93] Operation: 66+27=93 Exploring Operation: 70+27=97, Resulting Numbers: [66, 74, 97] Generated Node #0,1: 89:[66, 74, 97] Operation: 70+27=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[70, 74, 93], Operations: ['66+27=93'] Exploring Operation: 93-70=23, Resulting Numbers: [74, 23] Generated Node #0,0,0: 89:[74, 23] Operation: 93-70=23 Exploring Operation: 70+74=144, Resulting Numbers: [93, 144] Generated Node #0,0,1: 89:[93, 144] Operation: 70+74=144 Moving to Node #0,0,1 Current State: 89:[93, 144], Operations: ['66+27=93', '70+74=144'] Exploring Operation: 144-93=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 93+144=237, Resulting Numbers: [237] 237,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[74, 23], Operations: ['66+27=93', '93-70=23'] Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,89 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,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 Current State: 89:[66, 74, 97], Operations: ['70+27=97'] Exploring Operation: 66+74=140, Resulting Numbers: [97, 140] Generated Node #0,1,0: 89:[97, 140] Operation: 66+74=140 Exploring Operation: 97-66=31, Resulting Numbers: [74, 31] Generated Node #0,1,1: 89:[74, 31] Operation: 97-66=31 Moving to Node #0,1,0 Current State: 89:[97, 140], Operations: ['70+27=97', '66+74=140'] Exploring Operation: 140-97=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 97+140=237, Resulting Numbers: [237] 237,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[74, 31], Operations: ['70+27=97', '97-66=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 11, 9, 9, 96 ]
78
[ "11-9=2", "9*2=18", "96-18=78" ]
Current State: 78:[11, 9, 9, 96], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [96, 2] Generated Node #2: [96, 2] from Operation: 11-9=2 Current State: 78:[96, 2], Operations: ['11-9=2'] Exploring Operation: 9*2=18, Resulting Numbers: [96, 18] Generated Node #3: [96, 18] from Operation: 9*2=18 Current State: 78:[96, 18], Operations: ['11-9=2', '9*2=18'] Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[11, 9, 9, 96], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [11, 9, 87] Generated Node #0,0: 78:[11, 9, 87] Operation: 96-9=87 Exploring Operation: 11-9=2, Resulting Numbers: [9, 96, 2] Generated Node #0,1: 78:[9, 96, 2] Operation: 11-9=2 Exploring Operation: 96-9=87, Resulting Numbers: [11, 9, 87] Generated Node #0,2: 78:[11, 9, 87] Operation: 96-9=87 Exploring Operation: 96-11=85, Resulting Numbers: [9, 9, 85] Generated Node #0,3: 78:[9, 9, 85] Operation: 96-11=85 Exploring Operation: 11-9=2, Resulting Numbers: [9, 96, 2] Generated Node #0,4: 78:[9, 96, 2] Operation: 11-9=2 Moving to Node #0,3 Current State: 78:[9, 9, 85], Operations: ['96-11=85'] Exploring Operation: 85-9=76, Resulting Numbers: [9, 76] Generated Node #0,3,0: 78:[9, 76] Operation: 85-9=76 Exploring Operation: 9*9=81, Resulting Numbers: [85, 81] Generated Node #0,3,1: 78:[85, 81] Operation: 9*9=81 Exploring Operation: 9-9=0, Resulting Numbers: [85, 0] Generated Node #0,3,2: 78:[85, 0] Operation: 9-9=0 Exploring Operation: 85-9=76, Resulting Numbers: [9, 76] Generated Node #0,3,3: 78:[9, 76] Operation: 85-9=76 Exploring Operation: 9/9=1, Resulting Numbers: [85, 1] Generated Node #0,3,4: 78:[85, 1] Operation: 9/9=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[9, 76], Operations: ['96-11=85', '85-9=76'] Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,78 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,78 unequal: No Solution No 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: 78:[9, 76], Operations: ['96-11=85', '85-9=76'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,78 unequal: No Solution No 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: 78:[85, 1], Operations: ['96-11=85', '9/9=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,78 unequal: No Solution No 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: 78:[85, 0], Operations: ['96-11=85', '9-9=0'] Exploring Operation: 85-0=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 85*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 85+0=85, Resulting Numbers: [85] 85,78 unequal: No Solution No 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: 78:[85, 81], Operations: ['96-11=85', '9*9=81'] Exploring Operation: 85*81=6885, Resulting Numbers: [6885] 6885,78 unequal: No Solution Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,78 unequal: No Solution Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,78 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: 78:[11, 9, 87], Operations: ['96-9=87'] Exploring Operation: 9+87=96, Resulting Numbers: [11, 96] Generated Node #0,2,0: 78:[11, 96] Operation: 9+87=96 Exploring Operation: 11+9=20, Resulting Numbers: [87, 20] Generated Node #0,2,1: 78:[87, 20] Operation: 11+9=20 Exploring Operation: 87-11=76, Resulting Numbers: [9, 76] Generated Node #0,2,2: 78:[9, 76] Operation: 87-11=76 Exploring Operation: 87-9=78, Resulting Numbers: [11, 78] Generated Node #0,2,3: 78:[11, 78] Operation: 87-9=78 Exploring Operation: 11-9=2, Resulting Numbers: [87, 2] Generated Node #0,2,4: 78:[87, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[11, 78], Operations: ['96-9=87', '87-9=78'] Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,78 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,78 unequal: No Solution No 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: 78:[9, 76], Operations: ['96-9=87', '87-11=76'] Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,78 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,78 unequal: No Solution No 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: 78:[87, 2], Operations: ['96-9=87', '11-9=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,78 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,78 unequal: No Solution No 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: 78:[87, 20], Operations: ['96-9=87', '11+9=20'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,78 unequal: No Solution No 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: 78:[11, 96], Operations: ['96-9=87', '9+87=96'] Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,78 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,78 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: 78:[11, 9, 87], Operations: ['96-9=87'] Exploring Operation: 11+9=20, Resulting Numbers: [87, 20] Generated Node #0,0,0: 78:[87, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [87, 2] Generated Node #0,0,1: 78:[87, 2] Operation: 11-9=2 Exploring Operation: 9+87=96, Resulting Numbers: [11, 96] Generated Node #0,0,2: 78:[11, 96] Operation: 9+87=96 Exploring Operation: 87-11=76, Resulting Numbers: [9, 76] Generated Node #0,0,3: 78:[9, 76] Operation: 87-11=76 Exploring Operation: 87-9=78, Resulting Numbers: [11, 78] Generated Node #0,0,4: 78:[11, 78] Operation: 87-9=78 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 78:[11, 78], Operations: ['96-9=87', '87-9=78'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,78 unequal: No Solution No 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: 78:[9, 76], Operations: ['96-9=87', '87-11=76'] Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,78 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,78 unequal: No Solution No 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: 78:[87, 2], Operations: ['96-9=87', '11-9=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,78 unequal: No Solution No 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: 78:[87, 20], Operations: ['96-9=87', '11+9=20'] Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,78 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,78 unequal: No Solution No 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: 78:[11, 96], Operations: ['96-9=87', '9+87=96'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,78 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: 78:[9, 96, 2], Operations: ['11-9=2'] Exploring Operation: 96/2=48, Resulting Numbers: [9, 48] Generated Node #0,1,0: 78:[9, 48] Operation: 96/2=48 Exploring Operation: 9+2=11, Resulting Numbers: [96, 11] Generated Node #0,1,1: 78:[96, 11] Operation: 9+2=11 Exploring Operation: 96-2=94, Resulting Numbers: [9, 94] Generated Node #0,1,2: 78:[9, 94] Operation: 96-2=94 Exploring Operation: 9-2=7, Resulting Numbers: [96, 7] Generated Node #0,1,3: 78:[96, 7] Operation: 9-2=7 Exploring Operation: 96-9=87, Resulting Numbers: [2, 87] Generated Node #0,1,4: 78:[2, 87] Operation: 96-9=87 Moving to Node #0,4 Current State: 78:[9, 96, 2], Operations: ['11-9=2'] Exploring Operation: 9-2=7, Resulting Numbers: [96, 7] Generated Node #0,4,0: 78:[96, 7] Operation: 9-2=7 Exploring Operation: 96/2=48, Resulting Numbers: [9, 48] Generated Node #0,4,1: 78:[9, 48] Operation: 96/2=48 Exploring Operation: 9+2=11, Resulting Numbers: [96, 11] Generated Node #0,4,2: 78:[96, 11] Operation: 9+2=11 Exploring Operation: 96-9=87, Resulting Numbers: [2, 87] Generated Node #0,4,3: 78:[2, 87] Operation: 96-9=87 Exploring Operation: 96-2=94, Resulting Numbers: [9, 94] Generated Node #0,4,4: 78:[9, 94] Operation: 96-2=94 Moving to Node #0,1,4 Current State: 78:[2, 87], Operations: ['11-9=2', '96-9=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,78 unequal: No Solution Moving to Node #0,4,3 Current State: 78:[2, 87], Operations: ['11-9=2', '96-9=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,78 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,78 unequal: No Solution Moving to Node #0,4,1 Current State: 78:[9, 48], Operations: ['11-9=2', '96/2=48'] Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,78 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[9, 48], Operations: ['11-9=2', '96/2=48'] Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,78 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[9, 94], Operations: ['11-9=2', '96-2=94'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 9+94=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 9*94=846, Resulting Numbers: [846] 846,78 unequal: No Solution Moving to Node #0,4,4 Current State: 78:[9, 94], Operations: ['11-9=2', '96-2=94'] Exploring Operation: 9+94=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 9*94=846, Resulting Numbers: [846] 846,78 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[96, 7], Operations: ['11-9=2', '9-2=7'] Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,78 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,78 unequal: No Solution Moving to Node #0,4,0 Current State: 78:[96, 7], Operations: ['11-9=2', '9-2=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[96, 11], Operations: ['11-9=2', '9+2=11'] Exploring Operation: 96*11=1056, Resulting Numbers: [1056] 1056,78 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 96+11=107, Resulting Numbers: [107] 107,78 unequal: No Solution Moving to Node #0,4,2 Current State: 78:[96, 11], Operations: ['11-9=2', '9+2=11'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 96*11=1056, Resulting Numbers: [1056] 1056,78 unequal: No Solution Exploring Operation: 96+11=107, Resulting Numbers: [107] 107,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 58, 35, 38 ]
98
[ "70/35=2", "58+38=96", "2+96=98" ]
Current State: 98:[70, 58, 35, 38], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [58, 38, 2] Generated Node #2: [58, 38, 2] from Operation: 70/35=2 Current State: 98:[58, 38, 2], Operations: ['70/35=2'] Exploring Operation: 58+38=96, Resulting Numbers: [2, 96] Generated Node #3: [2, 96] from Operation: 58+38=96 Current State: 98:[2, 96], Operations: ['70/35=2', '58+38=96'] Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[70, 58, 35, 38], Operations: [] Exploring Operation: 70+38=108, Resulting Numbers: [58, 35, 108] Generated Node #0,0: 98:[58, 35, 108] Operation: 70+38=108 Exploring Operation: 70/35=2, Resulting Numbers: [58, 38, 2] Generated Node #0,1: 98:[58, 38, 2] Operation: 70/35=2 Exploring Operation: 70+35=105, Resulting Numbers: [58, 38, 105] Generated Node #0,2: 98:[58, 38, 105] Operation: 70+35=105 Exploring Operation: 38-35=3, Resulting Numbers: [70, 58, 3] Generated Node #0,3: 98:[70, 58, 3] Operation: 38-35=3 Exploring Operation: 70-58=12, Resulting Numbers: [35, 38, 12] Generated Node #0,4: 98:[35, 38, 12] Operation: 70-58=12 Moving to Node #0,1 Current State: 98:[58, 38, 2], Operations: ['70/35=2'] Exploring Operation: 38+2=40, Resulting Numbers: [58, 40] Generated Node #0,1,0: 98:[58, 40] Operation: 38+2=40 Exploring Operation: 38/2=19, Resulting Numbers: [58, 19] Generated Node #0,1,1: 98:[58, 19] Operation: 38/2=19 Exploring Operation: 58-38=20, Resulting Numbers: [2, 20] Generated Node #0,1,2: 98:[2, 20] Operation: 58-38=20 Exploring Operation: 58+38=96, Resulting Numbers: [2, 96] Generated Node #0,1,3: 98:[2, 96] Operation: 58+38=96 Exploring Operation: 58-2=56, Resulting Numbers: [38, 56] Generated Node #0,1,4: 98:[38, 56] Operation: 58-2=56 Moving to Node #0,4 Current State: 98:[35, 38, 12], Operations: ['70-58=12'] Exploring Operation: 35-12=23, Resulting Numbers: [38, 23] Generated Node #0,4,0: 98:[38, 23] Operation: 35-12=23 Exploring Operation: 38+12=50, Resulting Numbers: [35, 50] Generated Node #0,4,1: 98:[35, 50] Operation: 38+12=50 Exploring Operation: 35+12=47, Resulting Numbers: [38, 47] Generated Node #0,4,2: 98:[38, 47] Operation: 35+12=47 Exploring Operation: 35+38=73, Resulting Numbers: [12, 73] Generated Node #0,4,3: 98:[12, 73] Operation: 35+38=73 Exploring Operation: 38-35=3, Resulting Numbers: [12, 3] Generated Node #0,4,4: 98:[12, 3] Operation: 38-35=3 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 98:[12, 3], Operations: ['70-58=12', '38-35=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,98 unequal: No Solution No 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: 98:[38, 47], Operations: ['70-58=12', '35+12=47'] Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 38*47=1786, Resulting Numbers: [1786] 1786,98 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,98 unequal: No Solution No 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: 98:[35, 50], Operations: ['70-58=12', '38+12=50'] Exploring Operation: 35*50=1750, Resulting Numbers: [1750] 1750,98 unequal: No Solution Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 35+50=85, Resulting Numbers: [85] 85,98 unequal: No Solution No 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: 98:[38, 23], Operations: ['70-58=12', '35-12=23'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,98 unequal: No Solution No 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: 98:[12, 73], Operations: ['70-58=12', '35+38=73'] Exploring Operation: 12*73=876, Resulting Numbers: [876] 876,98 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 12+73=85, Resulting Numbers: [85] 85,98 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: 98:[58, 38, 105], Operations: ['70+35=105'] Exploring Operation: 105-38=67, Resulting Numbers: [58, 67] Generated Node #0,2,0: 98:[58, 67] Operation: 105-38=67 Exploring Operation: 105-58=47, Resulting Numbers: [38, 47] Generated Node #0,2,1: 98:[38, 47] Operation: 105-58=47 Exploring Operation: 58+38=96, Resulting Numbers: [105, 96] Generated Node #0,2,2: 98:[105, 96] Operation: 58+38=96 Exploring Operation: 38+105=143, Resulting Numbers: [58, 143] Generated Node #0,2,3: 98:[58, 143] Operation: 38+105=143 Exploring Operation: 58-38=20, Resulting Numbers: [105, 20] Generated Node #0,2,4: 98:[105, 20] Operation: 58-38=20 Moving to Node #0,3 Current State: 98:[70, 58, 3], Operations: ['38-35=3'] Exploring Operation: 70-58=12, Resulting Numbers: [3, 12] Generated Node #0,3,0: 98:[3, 12] Operation: 70-58=12 Exploring Operation: 70+3=73, Resulting Numbers: [58, 73] Generated Node #0,3,1: 98:[58, 73] Operation: 70+3=73 Exploring Operation: 70-3=67, Resulting Numbers: [58, 67] Generated Node #0,3,2: 98:[58, 67] Operation: 70-3=67 Exploring Operation: 58-3=55, Resulting Numbers: [70, 55] Generated Node #0,3,3: 98:[70, 55] Operation: 58-3=55 Exploring Operation: 70+58=128, Resulting Numbers: [3, 128] Generated Node #0,3,4: 98:[3, 128] Operation: 70+58=128 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[3, 12], Operations: ['38-35=3', '70-58=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,98 unequal: No Solution No 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: 98:[58, 67], Operations: ['38-35=3', '70-3=67'] Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,98 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,98 unequal: No Solution No 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: 98:[70, 55], Operations: ['38-35=3', '58-3=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,98 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,98 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,98 unequal: No Solution No 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: 98:[3, 128], Operations: ['38-35=3', '70+58=128'] Exploring Operation: 3+128=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 3*128=384, Resulting Numbers: [384] 384,98 unequal: No Solution Exploring Operation: 128-3=125, Resulting Numbers: [125] 125,98 unequal: No Solution No 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: 98:[58, 73], Operations: ['38-35=3', '70+3=73'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,98 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: 98:[58, 35, 108], Operations: ['70+38=108'] Exploring Operation: 108-58=50, Resulting Numbers: [35, 50] Generated Node #0,0,0: 98:[35, 50] Operation: 108-58=50 Exploring Operation: 58-35=23, Resulting Numbers: [108, 23] Generated Node #0,0,1: 98:[108, 23] Operation: 58-35=23 Exploring Operation: 58+35=93, Resulting Numbers: [108, 93] Generated Node #0,0,2: 98:[108, 93] Operation: 58+35=93 Exploring Operation: 35+108=143, Resulting Numbers: [58, 143] Generated Node #0,0,3: 98:[58, 143] Operation: 35+108=143 Exploring Operation: 108-35=73, Resulting Numbers: [58, 73] Generated Node #0,0,4: 98:[58, 73] Operation: 108-35=73 Moving to Node #0,1,3 Current State: 98:[2, 96], Operations: ['70/35=2', '58+38=96'] Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[70, 58, 35, 38], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [58, 38, 2] Generated Node #0,1: 98:[58, 38, 2] Operation: 70/35=2 Moving to Node #0,1 Current State: 98:[58, 38, 2], Operations: ['70/35=2'] Exploring Operation: 58+38=96, Resulting Numbers: [2, 96] Generated Node #0,1,3: 98:[2, 96] Operation: 58+38=96 Moving to Node #0,1,3 Current State: 98:[2, 96], Operations: ['70/35=2', '58+38=96'] Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 26, 6, 38, 78 ]
76
[ "26*6=156", "38*156=5928", "5928/78=76" ]
Current State: 76:[26, 6, 38, 78], Operations: [] Exploring Operation: 26*6=156, Resulting Numbers: [38, 78, 156] Generated Node #2: [38, 78, 156] from Operation: 26*6=156 Current State: 76:[38, 78, 156], Operations: ['26*6=156'] Exploring Operation: 38*156=5928, Resulting Numbers: [78, 5928] Generated Node #3: [78, 5928] from Operation: 38*156=5928 Current State: 76:[78, 5928], Operations: ['26*6=156', '38*156=5928'] Exploring Operation: 5928/78=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[26, 6, 38, 78], Operations: [] Exploring Operation: 26+6=32, Resulting Numbers: [38, 78, 32] Generated Node #0,0: 76:[38, 78, 32] Operation: 26+6=32 Exploring Operation: 78/26=3, Resulting Numbers: [6, 38, 3] Generated Node #0,1: 76:[6, 38, 3] Operation: 78/26=3 Exploring Operation: 26-6=20, Resulting Numbers: [38, 78, 20] Generated Node #0,2: 76:[38, 78, 20] Operation: 26-6=20 Exploring Operation: 38-26=12, Resulting Numbers: [6, 78, 12] Generated Node #0,3: 76:[6, 78, 12] Operation: 38-26=12 Exploring Operation: 78-6=72, Resulting Numbers: [26, 38, 72] Generated Node #0,4: 76:[26, 38, 72] Operation: 78-6=72 Moving to Node #0,1 Current State: 76:[6, 38, 3], Operations: ['78/26=3'] Exploring Operation: 6+3=9, Resulting Numbers: [38, 9] Generated Node #0,1,0: 76:[38, 9] Operation: 6+3=9 Exploring Operation: 6/3=2, Resulting Numbers: [38, 2] Generated Node #0,1,1: 76:[38, 2] Operation: 6/3=2 Exploring Operation: 38+3=41, Resulting Numbers: [6, 41] Generated Node #0,1,2: 76:[6, 41] Operation: 38+3=41 Exploring Operation: 6-3=3, Resulting Numbers: [38, 3] Generated Node #0,1,3: 76:[38, 3] Operation: 6-3=3 Exploring Operation: 6*3=18, Resulting Numbers: [38, 18] Generated Node #0,1,4: 76:[38, 18] Operation: 6*3=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[38, 2], Operations: ['78/26=3', '6/3=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[26, 6, 38, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [6, 38, 3] Generated Node #0,1: 76:[6, 38, 3] Operation: 78/26=3 Moving to Node #0,1 Current State: 76:[6, 38, 3], Operations: ['78/26=3'] Exploring Operation: 6/3=2, Resulting Numbers: [38, 2] Generated Node #0,1,1: 76:[38, 2] Operation: 6/3=2 Moving to Node #0,1,1 Current State: 76:[38, 2], Operations: ['78/26=3', '6/3=2'] Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 85, 53, 80, 18 ]
94
[ "85-53=32", "80-18=62", "32+62=94" ]
Current State: 94:[85, 53, 80, 18], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [80, 18, 32] Generated Node #2: [80, 18, 32] from Operation: 85-53=32 Current State: 94:[80, 18, 32], Operations: ['85-53=32'] Exploring Operation: 80-18=62, Resulting Numbers: [32, 62] Generated Node #3: [32, 62] from Operation: 80-18=62 Current State: 94:[32, 62], Operations: ['85-53=32', '80-18=62'] Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[85, 53, 80, 18], Operations: [] Exploring Operation: 85+18=103, Resulting Numbers: [53, 80, 103] Generated Node #0,0: 94:[53, 80, 103] Operation: 85+18=103 Exploring Operation: 80+18=98, Resulting Numbers: [85, 53, 98] Generated Node #0,1: 94:[85, 53, 98] Operation: 80+18=98 Exploring Operation: 85-80=5, Resulting Numbers: [53, 18, 5] Generated Node #0,2: 94:[53, 18, 5] Operation: 85-80=5 Moving to Node #0,1 Current State: 94:[85, 53, 98], Operations: ['80+18=98'] Exploring Operation: 98-85=13, Resulting Numbers: [53, 13] Generated Node #0,1,0: 94:[53, 13] Operation: 98-85=13 Exploring Operation: 85-53=32, Resulting Numbers: [98, 32] Generated Node #0,1,1: 94:[98, 32] Operation: 85-53=32 Exploring Operation: 98-53=45, Resulting Numbers: [85, 45] Generated Node #0,1,2: 94:[85, 45] Operation: 98-53=45 Moving to Node #0,2 Current State: 94:[53, 18, 5], Operations: ['85-80=5'] Exploring Operation: 18*5=90, Resulting Numbers: [53, 90] Generated Node #0,2,0: 94:[53, 90] Operation: 18*5=90 Exploring Operation: 53-18=35, Resulting Numbers: [5, 35] Generated Node #0,2,1: 94:[5, 35] Operation: 53-18=35 Exploring Operation: 53-5=48, Resulting Numbers: [18, 48] Generated Node #0,2,2: 94:[18, 48] Operation: 53-5=48 Moving to Node #0,0 Current State: 94:[53, 80, 103], Operations: ['85+18=103'] Exploring Operation: 103-80=23, Resulting Numbers: [53, 23] Generated Node #0,0,0: 94:[53, 23] Operation: 103-80=23 Exploring Operation: 103-53=50, Resulting Numbers: [80, 50] Generated Node #0,0,1: 94:[80, 50] Operation: 103-53=50 Exploring Operation: 80-53=27, Resulting Numbers: [103, 27] Generated Node #0,0,2: 94:[103, 27] Operation: 80-53=27 Moving to Node #0,2,0 Current State: 94:[53, 90], Operations: ['85-80=5', '18*5=90'] Exploring Operation: 53*90=4770, Resulting Numbers: [4770] 4770,94 unequal: No Solution Exploring Operation: 53+90=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[85, 45], Operations: ['80+18=98', '98-53=45'] Exploring Operation: 85*45=3825, Resulting Numbers: [3825] 3825,94 unequal: No Solution Exploring Operation: 85+45=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[5, 35], Operations: ['85-80=5', '53-18=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[18, 48], Operations: ['85-80=5', '53-5=48'] Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,94 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[80, 50], Operations: ['85+18=103', '103-53=50'] Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[53, 13], Operations: ['80+18=98', '98-85=13'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[98, 32], Operations: ['80+18=98', '85-53=32'] Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[53, 23], Operations: ['85+18=103', '103-80=23'] Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,94 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[103, 27], Operations: ['85+18=103', '80-53=27'] Exploring Operation: 103-27=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 103+27=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 103*27=2781, Resulting Numbers: [2781] 2781,94 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 87, 33, 6 ]
12
[ "6/2=3", "33*3=99", "99-87=12" ]
Current State: 12:[2, 87, 33, 6], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [87, 33, 3] Generated Node #2: [87, 33, 3] from Operation: 6/2=3 Current State: 12:[87, 33, 3], Operations: ['6/2=3'] Exploring Operation: 33*3=99, Resulting Numbers: [87, 99] Generated Node #3: [87, 99] from Operation: 33*3=99 Current State: 12:[87, 99], Operations: ['6/2=3', '33*3=99'] Exploring Operation: 99-87=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[2, 87, 33, 6], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [2, 6, 54] Generated Node #0,0: 12:[2, 6, 54] Operation: 87-33=54 Exploring Operation: 87-6=81, Resulting Numbers: [2, 33, 81] Generated Node #0,1: 12:[2, 33, 81] Operation: 87-6=81 Exploring Operation: 33-6=27, Resulting Numbers: [2, 87, 27] Generated Node #0,2: 12:[2, 87, 27] Operation: 33-6=27 Moving to Node #0,0 Current State: 12:[2, 6, 54], Operations: ['87-33=54'] Exploring Operation: 54/2=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 12:[6, 27] Operation: 54/2=27 Exploring Operation: 54-6=48, Resulting Numbers: [2, 48] Generated Node #0,0,1: 12:[2, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [2, 9] Generated Node #0,0,2: 12:[2, 9] Operation: 54/6=9 Moving to Node #0,1 Current State: 12:[2, 33, 81], Operations: ['87-6=81'] Exploring Operation: 81-33=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 12:[2, 48] Operation: 81-33=48 Exploring Operation: 33-2=31, Resulting Numbers: [81, 31] Generated Node #0,1,1: 12:[81, 31] Operation: 33-2=31 Exploring Operation: 81-2=79, Resulting Numbers: [33, 79] Generated Node #0,1,2: 12:[33, 79] Operation: 81-2=79 Moving to Node #0,2 Current State: 12:[2, 87, 27], Operations: ['33-6=27'] Exploring Operation: 27-2=25, Resulting Numbers: [87, 25] Generated Node #0,2,0: 12:[87, 25] Operation: 27-2=25 Exploring Operation: 87-2=85, Resulting Numbers: [27, 85] Generated Node #0,2,1: 12:[27, 85] Operation: 87-2=85 Exploring Operation: 87-27=60, Resulting Numbers: [2, 60] Generated Node #0,2,2: 12:[2, 60] Operation: 87-27=60 Moving to Node #0,0,2 Current State: 12:[2, 9], Operations: ['87-33=54', '54/6=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[6, 27], Operations: ['87-33=54', '54/2=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,12 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[2, 48], Operations: ['87-33=54', '54-6=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[2, 48], Operations: ['87-6=81', '81-33=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[2, 60], Operations: ['33-6=27', '87-27=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[33, 79], Operations: ['87-6=81', '81-2=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,12 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[27, 85], Operations: ['33-6=27', '87-2=85'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,12 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[81, 31], Operations: ['87-6=81', '33-2=31'] Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,12 unequal: No Solution Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,12 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[87, 25], Operations: ['33-6=27', '27-2=25'] Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,12 unequal: No Solution Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,12 unequal: No Solution Exploring Operation: 87*25=2175, Resulting Numbers: [2175] 2175,12 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 7, 12, 13, 74 ]
72
[ "13-7=6", "12/6=2", "74-2=72" ]
Current State: 72:[7, 12, 13, 74], Operations: [] Exploring Operation: 13-7=6, Resulting Numbers: [12, 74, 6] Generated Node #2: [12, 74, 6] from Operation: 13-7=6 Current State: 72:[12, 74, 6], Operations: ['13-7=6'] Exploring Operation: 12/6=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 12/6=2 Current State: 72:[74, 2], Operations: ['13-7=6', '12/6=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[7, 12, 13, 74], Operations: [] Exploring Operation: 13-7=6, Resulting Numbers: [12, 74, 6] Generated Node #0,0: 72:[12, 74, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[12, 74, 6], Operations: ['13-7=6'] Exploring Operation: 12+6=18, Resulting Numbers: [74, 18] Generated Node #0,0,0: 72:[74, 18] Operation: 12+6=18 Moving to Node #0,0,0 Current State: 72:[74, 18], Operations: ['13-7=6', '12+6=18'] Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,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
[ 12, 95, 93, 81 ]
57
[ "95-93=2", "12*2=24", "81-24=57" ]
Current State: 57:[12, 95, 93, 81], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [12, 81, 2] Generated Node #2: [12, 81, 2] from Operation: 95-93=2 Current State: 57:[12, 81, 2], Operations: ['95-93=2'] Exploring Operation: 12*2=24, Resulting Numbers: [81, 24] Generated Node #3: [81, 24] from Operation: 12*2=24 Current State: 57:[81, 24], Operations: ['95-93=2', '12*2=24'] Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[12, 95, 93, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [12, 95, 12] Generated Node #0,0: 57:[12, 95, 12] Operation: 93-81=12 Exploring Operation: 95-81=14, Resulting Numbers: [12, 93, 14] Generated Node #0,1: 57:[12, 93, 14] Operation: 95-81=14 Exploring Operation: 95-93=2, Resulting Numbers: [12, 81, 2] Generated Node #0,2: 57:[12, 81, 2] Operation: 95-93=2 Moving to Node #0,2 Current State: 57:[12, 81, 2], Operations: ['95-93=2'] Exploring Operation: 12+2=14, Resulting Numbers: [81, 14] Generated Node #0,2,0: 57:[81, 14] Operation: 12+2=14 Exploring Operation: 12/2=6, Resulting Numbers: [81, 6] Generated Node #0,2,1: 57:[81, 6] Operation: 12/2=6 Exploring Operation: 81-12=69, Resulting Numbers: [2, 69] Generated Node #0,2,2: 57:[2, 69] Operation: 81-12=69 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[2, 69], Operations: ['95-93=2', '81-12=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,57 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[81, 6], Operations: ['95-93=2', '12/2=6'] Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,57 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[81, 14], Operations: ['95-93=2', '12+2=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,57 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,57 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: 57:[12, 93, 14], Operations: ['95-81=14'] Exploring Operation: 93-12=81, Resulting Numbers: [14, 81] Generated Node #0,1,0: 57:[14, 81] Operation: 93-12=81 Exploring Operation: 93-14=79, Resulting Numbers: [12, 79] Generated Node #0,1,1: 57:[12, 79] Operation: 93-14=79 Exploring Operation: 14-12=2, Resulting Numbers: [93, 2] Generated Node #0,1,2: 57:[93, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[14, 81], Operations: ['95-81=14', '93-12=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,57 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[12, 79], Operations: ['95-81=14', '93-14=79'] Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,57 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[93, 2], Operations: ['95-81=14', '14-12=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,57 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,57 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: 57:[12, 95, 12], Operations: ['93-81=12'] Exploring Operation: 95-12=83, Resulting Numbers: [12, 83] Generated Node #0,0,0: 57:[12, 83] Operation: 95-12=83 Exploring Operation: 12/12=1, Resulting Numbers: [95, 1] Generated Node #0,0,1: 57:[95, 1] Operation: 12/12=1 Exploring Operation: 95-12=83, Resulting Numbers: [12, 83] Generated Node #0,0,2: 57:[12, 83] Operation: 95-12=83 Moving to Node #0,0,0 Current State: 57:[12, 83], Operations: ['93-81=12', '95-12=83'] Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,57 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[12, 83], Operations: ['93-81=12', '95-12=83'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[95, 1], Operations: ['93-81=12', '12/12=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,57 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,57 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 81, 95, 24, 19 ]
62
[ "81-24=57", "95/19=5", "57+5=62" ]
Current State: 62:[81, 95, 24, 19], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [95, 19, 57] Generated Node #2: [95, 19, 57] from Operation: 81-24=57 Current State: 62:[95, 19, 57], Operations: ['81-24=57'] Exploring Operation: 95/19=5, Resulting Numbers: [57, 5] Generated Node #3: [57, 5] from Operation: 95/19=5 Current State: 62:[57, 5], Operations: ['81-24=57', '95/19=5'] Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[81, 95, 24, 19], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [81, 19, 71] Generated Node #0,0: 62:[81, 19, 71] Operation: 95-24=71 Exploring Operation: 95-81=14, Resulting Numbers: [24, 19, 14] Generated Node #0,1: 62:[24, 19, 14] Operation: 95-81=14 Exploring Operation: 95/19=5, Resulting Numbers: [81, 24, 5] Generated Node #0,2: 62:[81, 24, 5] Operation: 95/19=5 Exploring Operation: 81-19=62, Resulting Numbers: [95, 24, 62] Generated Node #0,3: 62:[95, 24, 62] Operation: 81-19=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[81, 24, 5], Operations: ['95/19=5'] Exploring Operation: 81-5=76, Resulting Numbers: [24, 76] Generated Node #0,2,0: 62:[24, 76] Operation: 81-5=76 Exploring Operation: 24+5=29, Resulting Numbers: [81, 29] Generated Node #0,2,1: 62:[81, 29] Operation: 24+5=29 Exploring Operation: 81-24=57, Resulting Numbers: [5, 57] Generated Node #0,2,2: 62:[5, 57] Operation: 81-24=57 Exploring Operation: 81+5=86, Resulting Numbers: [24, 86] Generated Node #0,2,3: 62:[24, 86] Operation: 81+5=86 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[5, 57], Operations: ['95/19=5', '81-24=57'] Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,62 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[81, 95, 24, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [81, 24, 5] Generated Node #0,2: 62:[81, 24, 5] Operation: 95/19=5 Moving to Node #0,2 Current State: 62:[81, 24, 5], Operations: ['95/19=5'] Exploring Operation: 81-24=57, Resulting Numbers: [5, 57] Generated Node #0,2,2: 62:[5, 57] Operation: 81-24=57 Moving to Node #0,2,2 Current State: 62:[5, 57], Operations: ['95/19=5', '81-24=57'] Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 16, 23, 69, 5 ]
95
[ "69/23=3", "16+3=19", "5*19=95" ]
Current State: 95:[16, 23, 69, 5], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [16, 5, 3] Generated Node #2: [16, 5, 3] from Operation: 69/23=3 Current State: 95:[16, 5, 3], Operations: ['69/23=3'] Exploring Operation: 16+3=19, Resulting Numbers: [5, 19] Generated Node #3: [5, 19] from Operation: 16+3=19 Current State: 95:[5, 19], Operations: ['69/23=3', '16+3=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[16, 23, 69, 5], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [16, 5, 3] Generated Node #0,0: 95:[16, 5, 3] Operation: 69/23=3 Exploring Operation: 23+69=92, Resulting Numbers: [16, 5, 92] Generated Node #0,1: 95:[16, 5, 92] Operation: 23+69=92 Exploring Operation: 23-16=7, Resulting Numbers: [69, 5, 7] Generated Node #0,2: 95:[69, 5, 7] Operation: 23-16=7 Exploring Operation: 16+69=85, Resulting Numbers: [23, 5, 85] Generated Node #0,3: 95:[23, 5, 85] Operation: 16+69=85 Moving to Node #0,0 Current State: 95:[16, 5, 3], Operations: ['69/23=3'] Exploring Operation: 16-3=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 95:[5, 13] Operation: 16-3=13 Exploring Operation: 16+5=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 95:[3, 21] Operation: 16+5=21 Exploring Operation: 16+3=19, Resulting Numbers: [5, 19] Generated Node #0,0,2: 95:[5, 19] Operation: 16+3=19 Exploring Operation: 5+3=8, Resulting Numbers: [16, 8] Generated Node #0,0,3: 95:[16, 8] Operation: 5+3=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[5, 19], Operations: ['69/23=3', '16+3=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[16, 23, 69, 5], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [16, 5, 3] Generated Node #0,0: 95:[16, 5, 3] Operation: 69/23=3 Moving to Node #0,0 Current State: 95:[16, 5, 3], Operations: ['69/23=3'] Exploring Operation: 16+3=19, Resulting Numbers: [5, 19] Generated Node #0,0,2: 95:[5, 19] Operation: 16+3=19 Moving to Node #0,0,2 Current State: 95:[5, 19], Operations: ['69/23=3', '16+3=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 29, 10, 39, 72 ]
28
[ "39-29=10", "10*10=100", "100-72=28" ]
Current State: 28:[29, 10, 39, 72], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [10, 72, 10] Generated Node #2: [10, 72, 10] from Operation: 39-29=10 Current State: 28:[10, 72, 10], Operations: ['39-29=10'] Exploring Operation: 10*10=100, Resulting Numbers: [72, 100] Generated Node #3: [72, 100] from Operation: 10*10=100 Current State: 28:[72, 100], Operations: ['39-29=10', '10*10=100'] Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[29, 10, 39, 72], Operations: [] Exploring Operation: 72-39=33, Resulting Numbers: [29, 10, 33] Generated Node #0,0: 28:[29, 10, 33] Operation: 72-39=33 Moving to Node #0,0 Current State: 28:[29, 10, 33], Operations: ['72-39=33'] Exploring Operation: 33-29=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 28:[10, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[10, 4], Operations: ['72-39=33', '33-29=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,28 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
[ 78, 67, 40, 9 ]
81
[ "67-40=27", "27/9=3", "78+3=81" ]
Current State: 81:[78, 67, 40, 9], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [78, 9, 27] Generated Node #2: [78, 9, 27] from Operation: 67-40=27 Current State: 81:[78, 9, 27], Operations: ['67-40=27'] Exploring Operation: 27/9=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 27/9=3 Current State: 81:[78, 3], Operations: ['67-40=27', '27/9=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[78, 67, 40, 9], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [67, 9, 38] Generated Node #0,0: 81:[67, 9, 38] Operation: 78-40=38 Exploring Operation: 67+9=76, Resulting Numbers: [78, 40, 76] Generated Node #0,1: 81:[78, 40, 76] Operation: 67+9=76 Exploring Operation: 67-40=27, Resulting Numbers: [78, 9, 27] Generated Node #0,2: 81:[78, 9, 27] Operation: 67-40=27 Exploring Operation: 40-9=31, Resulting Numbers: [78, 67, 31] Generated Node #0,3: 81:[78, 67, 31] Operation: 40-9=31 Exploring Operation: 78-67=11, Resulting Numbers: [40, 9, 11] Generated Node #0,4: 81:[40, 9, 11] Operation: 78-67=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[78, 9, 27], Operations: ['67-40=27'] Exploring Operation: 27-9=18, Resulting Numbers: [78, 18] Generated Node #0,2,0: 81:[78, 18] Operation: 27-9=18 Exploring Operation: 78-9=69, Resulting Numbers: [27, 69] Generated Node #0,2,1: 81:[27, 69] Operation: 78-9=69 Exploring Operation: 9+27=36, Resulting Numbers: [78, 36] Generated Node #0,2,2: 81:[78, 36] Operation: 9+27=36 Exploring Operation: 78+9=87, Resulting Numbers: [27, 87] Generated Node #0,2,3: 81:[27, 87] Operation: 78+9=87 Exploring Operation: 27/9=3, Resulting Numbers: [78, 3] Generated Node #0,2,4: 81:[78, 3] Operation: 27/9=3 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 81:[78, 3], Operations: ['67-40=27', '27/9=3'] Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,81 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[78, 67, 40, 9], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [78, 9, 27] Generated Node #0,2: 81:[78, 9, 27] Operation: 67-40=27 Moving to Node #0,2 Current State: 81:[78, 9, 27], Operations: ['67-40=27'] Exploring Operation: 27/9=3, Resulting Numbers: [78, 3] Generated Node #0,2,4: 81:[78, 3] Operation: 27/9=3 Moving to Node #0,2,4 Current State: 81:[78, 3], Operations: ['67-40=27', '27/9=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 1, 79, 98, 42 ]
22
[ "79-1=78", "98-42=56", "78-56=22" ]
Current State: 22:[1, 79, 98, 42], Operations: [] Exploring Operation: 79-1=78, Resulting Numbers: [98, 42, 78] Generated Node #2: [98, 42, 78] from Operation: 79-1=78 Current State: 22:[98, 42, 78], Operations: ['79-1=78'] Exploring Operation: 98-42=56, Resulting Numbers: [78, 56] Generated Node #3: [78, 56] from Operation: 98-42=56 Current State: 22:[78, 56], Operations: ['79-1=78', '98-42=56'] Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[1, 79, 98, 42], Operations: [] Exploring Operation: 79-1=78, Resulting Numbers: [98, 42, 78] Generated Node #0,0: 22:[98, 42, 78] Operation: 79-1=78 Exploring Operation: 79-42=37, Resulting Numbers: [1, 98, 37] Generated Node #0,1: 22:[1, 98, 37] Operation: 79-42=37 Exploring Operation: 98-1=97, Resulting Numbers: [79, 42, 97] Generated Node #0,2: 22:[79, 42, 97] Operation: 98-1=97 Exploring Operation: 98-42=56, Resulting Numbers: [1, 79, 56] Generated Node #0,3: 22:[1, 79, 56] Operation: 98-42=56 Exploring Operation: 98-79=19, Resulting Numbers: [1, 42, 19] Generated Node #0,4: 22:[1, 42, 19] Operation: 98-79=19 Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[1, 42, 19], Operations: ['98-79=19'] Exploring Operation: 1*42=42, Resulting Numbers: [19, 42] Generated Node #0,4,0: 22:[19, 42] Operation: 1*42=42 Exploring Operation: 42/1=42, Resulting Numbers: [19, 42] Generated Node #0,4,1: 22:[19, 42] Operation: 42/1=42 Exploring Operation: 42-19=23, Resulting Numbers: [1, 23] Generated Node #0,4,2: 22:[1, 23] Operation: 42-19=23 Exploring Operation: 42-1=41, Resulting Numbers: [19, 41] Generated Node #0,4,3: 22:[19, 41] Operation: 42-1=41 Exploring Operation: 1+19=20, Resulting Numbers: [42, 20] Generated Node #0,4,4: 22:[42, 20] Operation: 1+19=20 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 22:[1, 23], Operations: ['98-79=19', '42-19=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[1, 79, 98, 42], Operations: [] Exploring Operation: 98-79=19, Resulting Numbers: [1, 42, 19] Generated Node #0,4: 22:[1, 42, 19] Operation: 98-79=19 Moving to Node #0,4 Current State: 22:[1, 42, 19], Operations: ['98-79=19'] Exploring Operation: 42-19=23, Resulting Numbers: [1, 23] Generated Node #0,4,2: 22:[1, 23] Operation: 42-19=23 Moving to Node #0,4,2 Current State: 22:[1, 23], Operations: ['98-79=19', '42-19=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 97, 46, 28, 11 ]
41
[ "97+46=143", "143/11=13", "28+13=41" ]
Current State: 41:[97, 46, 28, 11], Operations: [] Exploring Operation: 97+46=143, Resulting Numbers: [28, 11, 143] Generated Node #2: [28, 11, 143] from Operation: 97+46=143 Current State: 41:[28, 11, 143], Operations: ['97+46=143'] Exploring Operation: 143/11=13, Resulting Numbers: [28, 13] Generated Node #3: [28, 13] from Operation: 143/11=13 Current State: 41:[28, 13], Operations: ['97+46=143', '143/11=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[97, 46, 28, 11], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [28, 11, 51] Generated Node #0,0: 41:[28, 11, 51] Operation: 97-46=51 Moving to Node #0,0 Current State: 41:[28, 11, 51], Operations: ['97-46=51'] Exploring Operation: 28+11=39, Resulting Numbers: [51, 39] Generated Node #0,0,0: 41:[51, 39] Operation: 28+11=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[51, 39], Operations: ['97-46=51', '28+11=39'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 8, 18, 36 ]
66
[ "96/8=12", "18+36=54", "12+54=66" ]
Current State: 66:[96, 8, 18, 36], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [18, 36, 12] Generated Node #2: [18, 36, 12] from Operation: 96/8=12 Current State: 66:[18, 36, 12], Operations: ['96/8=12'] Exploring Operation: 18+36=54, Resulting Numbers: [12, 54] Generated Node #3: [12, 54] from Operation: 18+36=54 Current State: 66:[12, 54], Operations: ['96/8=12', '18+36=54'] Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[96, 8, 18, 36], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [8, 36, 78] Generated Node #0,0: 66:[8, 36, 78] Operation: 96-18=78 Exploring Operation: 96/8=12, Resulting Numbers: [18, 36, 12] Generated Node #0,1: 66:[18, 36, 12] Operation: 96/8=12 Exploring Operation: 96-8=88, Resulting Numbers: [18, 36, 88] Generated Node #0,2: 66:[18, 36, 88] Operation: 96-8=88 Exploring Operation: 36/18=2, Resulting Numbers: [96, 8, 2] Generated Node #0,3: 66:[96, 8, 2] Operation: 36/18=2 Exploring Operation: 96-36=60, Resulting Numbers: [8, 18, 60] Generated Node #0,4: 66:[8, 18, 60] Operation: 96-36=60 Moving to Node #0,1 Current State: 66:[18, 36, 12], Operations: ['96/8=12'] Exploring Operation: 36/18=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 66:[12, 2] Operation: 36/18=2 Exploring Operation: 18-12=6, Resulting Numbers: [36, 6] Generated Node #0,1,1: 66:[36, 6] Operation: 18-12=6 Exploring Operation: 36/12=3, Resulting Numbers: [18, 3] Generated Node #0,1,2: 66:[18, 3] Operation: 36/12=3 Exploring Operation: 36-18=18, Resulting Numbers: [12, 18] Generated Node #0,1,3: 66:[12, 18] Operation: 36-18=18 Exploring Operation: 18+12=30, Resulting Numbers: [36, 30] Generated Node #0,1,4: 66:[36, 30] Operation: 18+12=30 Moving to Node #0,4 Current State: 66:[8, 18, 60], Operations: ['96-36=60'] Exploring Operation: 8+60=68, Resulting Numbers: [18, 68] Generated Node #0,4,0: 66:[18, 68] Operation: 8+60=68 Exploring Operation: 18-8=10, Resulting Numbers: [60, 10] Generated Node #0,4,1: 66:[60, 10] Operation: 18-8=10 Exploring Operation: 18+60=78, Resulting Numbers: [8, 78] Generated Node #0,4,2: 66:[8, 78] Operation: 18+60=78 Exploring Operation: 60-18=42, Resulting Numbers: [8, 42] Generated Node #0,4,3: 66:[8, 42] Operation: 60-18=42 Exploring Operation: 8+18=26, Resulting Numbers: [60, 26] Generated Node #0,4,4: 66:[60, 26] Operation: 8+18=26 Moving to Node #0,0 Current State: 66:[8, 36, 78], Operations: ['96-18=78'] Exploring Operation: 78-8=70, Resulting Numbers: [36, 70] Generated Node #0,0,0: 66:[36, 70] Operation: 78-8=70 Exploring Operation: 78-36=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 66:[8, 42] Operation: 78-36=42 Exploring Operation: 8+36=44, Resulting Numbers: [78, 44] Generated Node #0,0,2: 66:[78, 44] Operation: 8+36=44 Exploring Operation: 8+78=86, Resulting Numbers: [36, 86] Generated Node #0,0,3: 66:[36, 86] Operation: 8+78=86 Exploring Operation: 36-8=28, Resulting Numbers: [78, 28] Generated Node #0,0,4: 66:[78, 28] Operation: 36-8=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[36, 70], Operations: ['96-18=78', '78-8=70'] Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,66 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,66 unequal: No Solution No 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: 66:[8, 42], Operations: ['96-18=78', '78-36=42'] Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,66 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,66 unequal: No Solution No 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: 66:[78, 28], Operations: ['96-18=78', '36-8=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,66 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,66 unequal: No Solution No 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: 66:[78, 44], Operations: ['96-18=78', '8+36=44'] Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,66 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,66 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,66 unequal: No Solution No 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: 66:[36, 86], Operations: ['96-18=78', '8+78=86'] Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,66 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,66 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: 66:[18, 36, 88], Operations: ['96-8=88'] Exploring Operation: 88-18=70, Resulting Numbers: [36, 70] Generated Node #0,2,0: 66:[36, 70] Operation: 88-18=70 Exploring Operation: 88-36=52, Resulting Numbers: [18, 52] Generated Node #0,2,1: 66:[18, 52] Operation: 88-36=52 Exploring Operation: 36/18=2, Resulting Numbers: [88, 2] Generated Node #0,2,2: 66:[88, 2] Operation: 36/18=2 Exploring Operation: 18+36=54, Resulting Numbers: [88, 54] Generated Node #0,2,3: 66:[88, 54] Operation: 18+36=54 Exploring Operation: 36-18=18, Resulting Numbers: [88, 18] Generated Node #0,2,4: 66:[88, 18] Operation: 36-18=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[36, 70], Operations: ['96-8=88', '88-18=70'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,66 unequal: No Solution No 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: 66:[18, 52], Operations: ['96-8=88', '88-36=52'] Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,66 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,66 unequal: No Solution No 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: 66:[88, 2], Operations: ['96-8=88', '36/18=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,66 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,66 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,66 unequal: No Solution No 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: 66:[88, 18], Operations: ['96-8=88', '36-18=18'] Exploring Operation: 88+18=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 88*18=1584, Resulting Numbers: [1584] 1584,66 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,66 unequal: No Solution No 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: 66:[88, 54], Operations: ['96-8=88', '18+36=54'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,66 unequal: No Solution Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,66 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: 66:[96, 8, 2], Operations: ['36/18=2'] Exploring Operation: 96-8=88, Resulting Numbers: [2, 88] Generated Node #0,3,0: 66:[2, 88] Operation: 96-8=88 Exploring Operation: 8-2=6, Resulting Numbers: [96, 6] Generated Node #0,3,1: 66:[96, 6] Operation: 8-2=6 Exploring Operation: 96-2=94, Resulting Numbers: [8, 94] Generated Node #0,3,2: 66:[8, 94] Operation: 96-2=94 Exploring Operation: 96/2=48, Resulting Numbers: [8, 48] Generated Node #0,3,3: 66:[8, 48] Operation: 96/2=48 Exploring Operation: 96/8=12, Resulting Numbers: [2, 12] Generated Node #0,3,4: 66:[2, 12] Operation: 96/8=12 Moving to Node #0,1,0 Current State: 66:[12, 2], Operations: ['96/8=12', '36/18=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[2, 12], Operations: ['36/18=2', '96/8=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[36, 6], Operations: ['96/8=12', '18-12=6'] Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,66 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[18, 3], Operations: ['96/8=12', '36/12=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[12, 18], Operations: ['96/8=12', '36-18=18'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,66 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[18, 68], Operations: ['96-36=60', '8+60=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,66 unequal: No Solution Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,66 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[36, 30], Operations: ['96/8=12', '18+12=30'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,66 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[96, 8, 18, 36], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [18, 36, 12] Generated Node #0,1: 66:[18, 36, 12] Operation: 96/8=12 Moving to Node #0,1 Current State: 66:[18, 36, 12], Operations: ['96/8=12'] Exploring Operation: 18+12=30, Resulting Numbers: [36, 30] Generated Node #0,1,4: 66:[36, 30] Operation: 18+12=30 Moving to Node #0,1,4 Current State: 66:[36, 30], Operations: ['96/8=12', '18+12=30'] Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.921875
hs_5
mult_heuristic
[ 1, 8, 71, 65 ]
40
[ "71-1=70", "70-65=5", "8*5=40" ]
Current State: 40:[1, 8, 71, 65], Operations: [] Exploring Operation: 71-1=70, Resulting Numbers: [8, 65, 70] Generated Node #2: [8, 65, 70] from Operation: 71-1=70 Current State: 40:[8, 65, 70], Operations: ['71-1=70'] Exploring Operation: 70-65=5, Resulting Numbers: [8, 5] Generated Node #3: [8, 5] from Operation: 70-65=5 Current State: 40:[8, 5], Operations: ['71-1=70', '70-65=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[1, 8, 71, 65], Operations: [] Exploring Operation: 71-8=63, Resulting Numbers: [1, 65, 63] Generated Node #0,0: 40:[1, 65, 63] Operation: 71-8=63 Exploring Operation: 65-1=64, Resulting Numbers: [8, 71, 64] Generated Node #0,1: 40:[8, 71, 64] Operation: 65-1=64 Exploring Operation: 65-8=57, Resulting Numbers: [1, 71, 57] Generated Node #0,2: 40:[1, 71, 57] Operation: 65-8=57 Exploring Operation: 71-65=6, Resulting Numbers: [1, 8, 6] Generated Node #0,3: 40:[1, 8, 6] Operation: 71-65=6 Exploring Operation: 71-1=70, Resulting Numbers: [8, 65, 70] Generated Node #0,4: 40:[8, 65, 70] Operation: 71-1=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[1, 8, 6], Operations: ['71-65=6'] Exploring Operation: 1+6=7, Resulting Numbers: [8, 7] Generated Node #0,3,0: 40:[8, 7] Operation: 1+6=7 Exploring Operation: 1*6=6, Resulting Numbers: [8, 6] Generated Node #0,3,1: 40:[8, 6] Operation: 1*6=6 Exploring Operation: 6-1=5, Resulting Numbers: [8, 5] Generated Node #0,3,2: 40:[8, 5] Operation: 6-1=5 Exploring Operation: 8/1=8, Resulting Numbers: [6, 8] Generated Node #0,3,3: 40:[6, 8] Operation: 8/1=8 Exploring Operation: 1*8=8, Resulting Numbers: [6, 8] Generated Node #0,3,4: 40:[6, 8] Operation: 1*8=8 Moving to Node #0,3,2 Current State: 40:[8, 5], Operations: ['71-65=6', '6-1=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[1, 8, 71, 65], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [1, 8, 6] Generated Node #0,3: 40:[1, 8, 6] Operation: 71-65=6 Moving to Node #0,3 Current State: 40:[1, 8, 6], Operations: ['71-65=6'] Exploring Operation: 6-1=5, Resulting Numbers: [8, 5] Generated Node #0,3,2: 40:[8, 5] Operation: 6-1=5 Moving to Node #0,3,2 Current State: 40:[8, 5], Operations: ['71-65=6', '6-1=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 89, 56, 83, 4 ]
54
[ "89-56=33", "83+4=87", "87-33=54" ]
Current State: 54:[89, 56, 83, 4], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [83, 4, 33] Generated Node #2: [83, 4, 33] from Operation: 89-56=33 Current State: 54:[83, 4, 33], Operations: ['89-56=33'] Exploring Operation: 83+4=87, Resulting Numbers: [33, 87] Generated Node #3: [33, 87] from Operation: 83+4=87 Current State: 54:[33, 87], Operations: ['89-56=33', '83+4=87'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[89, 56, 83, 4], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [56, 4, 6] Generated Node #0,0: 54:[56, 4, 6] Operation: 89-83=6 Exploring Operation: 89-56=33, Resulting Numbers: [83, 4, 33] Generated Node #0,1: 54:[83, 4, 33] Operation: 89-56=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[56, 4, 6], Operations: ['89-83=6'] Exploring Operation: 6-4=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 54:[56, 2] Operation: 6-4=2 Exploring Operation: 56-4=52, Resulting Numbers: [6, 52] Generated Node #0,0,1: 54:[6, 52] Operation: 56-4=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[56, 2], Operations: ['89-83=6', '6-4=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[89, 56, 83, 4], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [56, 4, 6] Generated Node #0,0: 54:[56, 4, 6] Operation: 89-83=6 Moving to Node #0,0 Current State: 54:[56, 4, 6], Operations: ['89-83=6'] Exploring Operation: 6-4=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 54:[56, 2] Operation: 6-4=2 Moving to Node #0,0,0 Current State: 54:[56, 2], Operations: ['89-83=6', '6-4=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 60, 74, 30, 80 ]
65
[ "80-74=6", "30/6=5", "60+5=65" ]
Current State: 65:[60, 74, 30, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [60, 30, 6] Generated Node #2: [60, 30, 6] from Operation: 80-74=6 Current State: 65:[60, 30, 6], Operations: ['80-74=6'] Exploring Operation: 30/6=5, Resulting Numbers: [60, 5] Generated Node #3: [60, 5] from Operation: 30/6=5 Current State: 65:[60, 5], Operations: ['80-74=6', '30/6=5'] Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[60, 74, 30, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [60, 30, 6] Generated Node #0,0: 65:[60, 30, 6] Operation: 80-74=6 Exploring Operation: 60/30=2, Resulting Numbers: [74, 80, 2] Generated Node #0,1: 65:[74, 80, 2] Operation: 60/30=2 Moving to Node #0,0 Current State: 65:[60, 30, 6], Operations: ['80-74=6'] Exploring Operation: 60/30=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 65:[6, 2] Operation: 60/30=2 Exploring Operation: 30/6=5, Resulting Numbers: [60, 5] Generated Node #0,0,1: 65:[60, 5] Operation: 30/6=5 Moving to Node #0,1 Current State: 65:[74, 80, 2], Operations: ['60/30=2'] Exploring Operation: 80-74=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 65:[2, 6] Operation: 80-74=6 Exploring Operation: 74-2=72, Resulting Numbers: [80, 72] Generated Node #0,1,1: 65:[80, 72] Operation: 74-2=72 Moving to Node #0,0,0 Current State: 65:[6, 2], Operations: ['80-74=6', '60/30=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[2, 6], Operations: ['60/30=2', '80-74=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[60, 5], Operations: ['80-74=6', '30/6=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[60, 74, 30, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [60, 30, 6] Generated Node #0,0: 65:[60, 30, 6] Operation: 80-74=6 Moving to Node #0,0 Current State: 65:[60, 30, 6], Operations: ['80-74=6'] Exploring Operation: 30/6=5, Resulting Numbers: [60, 5] Generated Node #0,0,1: 65:[60, 5] Operation: 30/6=5 Moving to Node #0,0,1 Current State: 65:[60, 5], Operations: ['80-74=6', '30/6=5'] Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 63, 45, 58, 28 ]
42
[ "58-28=30", "63*30=1890", "1890/45=42" ]
Current State: 42:[63, 45, 58, 28], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [63, 45, 30] Generated Node #2: [63, 45, 30] from Operation: 58-28=30 Current State: 42:[63, 45, 30], Operations: ['58-28=30'] Exploring Operation: 63*30=1890, Resulting Numbers: [45, 1890] Generated Node #3: [45, 1890] from Operation: 63*30=1890 Current State: 42:[45, 1890], Operations: ['58-28=30', '63*30=1890'] Exploring Operation: 1890/45=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[63, 45, 58, 28], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [63, 28, 13] Generated Node #0,0: 42:[63, 28, 13] Operation: 58-45=13 Exploring Operation: 63-58=5, Resulting Numbers: [45, 28, 5] Generated Node #0,1: 42:[45, 28, 5] Operation: 63-58=5 Exploring Operation: 63-45=18, Resulting Numbers: [58, 28, 18] Generated Node #0,2: 42:[58, 28, 18] Operation: 63-45=18 Exploring Operation: 58-28=30, Resulting Numbers: [63, 45, 30] Generated Node #0,3: 42:[63, 45, 30] Operation: 58-28=30 Exploring Operation: 63-28=35, Resulting Numbers: [45, 58, 35] Generated Node #0,4: 42:[45, 58, 35] Operation: 63-28=35 Moving to Node #0,1 Current State: 42:[45, 28, 5], Operations: ['63-58=5'] Exploring Operation: 28+5=33, Resulting Numbers: [45, 33] Generated Node #0,1,0: 42:[45, 33] Operation: 28+5=33 Exploring Operation: 45-28=17, Resulting Numbers: [5, 17] Generated Node #0,1,1: 42:[5, 17] Operation: 45-28=17 Exploring Operation: 28-5=23, Resulting Numbers: [45, 23] Generated Node #0,1,2: 42:[45, 23] Operation: 28-5=23 Exploring Operation: 45-5=40, Resulting Numbers: [28, 40] Generated Node #0,1,3: 42:[28, 40] Operation: 45-5=40 Exploring Operation: 45/5=9, Resulting Numbers: [28, 9] Generated Node #0,1,4: 42:[28, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[5, 17], Operations: ['63-58=5', '45-28=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,42 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[45, 23], Operations: ['63-58=5', '28-5=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[28, 40], Operations: ['63-58=5', '45-5=40'] Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,42 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 42:[28, 9], Operations: ['63-58=5', '45/5=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[45, 33], Operations: ['63-58=5', '28+5=33'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,42 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,42 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: 42:[45, 58, 35], Operations: ['63-28=35'] Exploring Operation: 58-35=23, Resulting Numbers: [45, 23] Generated Node #0,4,0: 42:[45, 23] Operation: 58-35=23 Exploring Operation: 58-45=13, Resulting Numbers: [35, 13] Generated Node #0,4,1: 42:[35, 13] Operation: 58-45=13 Exploring Operation: 45+35=80, Resulting Numbers: [58, 80] Generated Node #0,4,2: 42:[58, 80] Operation: 45+35=80 Exploring Operation: 58+35=93, Resulting Numbers: [45, 93] Generated Node #0,4,3: 42:[45, 93] Operation: 58+35=93 Exploring Operation: 45-35=10, Resulting Numbers: [58, 10] Generated Node #0,4,4: 42:[58, 10] Operation: 45-35=10 Moving to Node #0,2 Current State: 42:[58, 28, 18], Operations: ['63-45=18'] Exploring Operation: 28+18=46, Resulting Numbers: [58, 46] Generated Node #0,2,0: 42:[58, 46] Operation: 28+18=46 Exploring Operation: 58-18=40, Resulting Numbers: [28, 40] Generated Node #0,2,1: 42:[28, 40] Operation: 58-18=40 Exploring Operation: 28-18=10, Resulting Numbers: [58, 10] Generated Node #0,2,2: 42:[58, 10] Operation: 28-18=10 Exploring Operation: 58-28=30, Resulting Numbers: [18, 30] Generated Node #0,2,3: 42:[18, 30] Operation: 58-28=30 Exploring Operation: 58+18=76, Resulting Numbers: [28, 76] Generated Node #0,2,4: 42:[28, 76] Operation: 58+18=76 Moving to Node #0,0 Current State: 42:[63, 28, 13], Operations: ['58-45=13'] Exploring Operation: 63+13=76, Resulting Numbers: [28, 76] Generated Node #0,0,0: 42:[28, 76] Operation: 63+13=76 Exploring Operation: 63-13=50, Resulting Numbers: [28, 50] Generated Node #0,0,1: 42:[28, 50] Operation: 63-13=50 Exploring Operation: 28+13=41, Resulting Numbers: [63, 41] Generated Node #0,0,2: 42:[63, 41] Operation: 28+13=41 Exploring Operation: 63-28=35, Resulting Numbers: [13, 35] Generated Node #0,0,3: 42:[13, 35] Operation: 63-28=35 Exploring Operation: 28-13=15, Resulting Numbers: [63, 15] Generated Node #0,0,4: 42:[63, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[13, 35], Operations: ['58-45=13', '63-28=35'] Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[28, 50], Operations: ['58-45=13', '63-13=50'] Exploring Operation: 28+50=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 28*50=1400, Resulting Numbers: [1400] 1400,42 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[63, 41], Operations: ['58-45=13', '28+13=41'] Exploring Operation: 63+41=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 63*41=2583, Resulting Numbers: [2583] 2583,42 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 42:[63, 15], Operations: ['58-45=13', '28-13=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[28, 76], Operations: ['58-45=13', '63+13=76'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 42:[63, 45, 30], Operations: ['58-28=30'] Exploring Operation: 45-30=15, Resulting Numbers: [63, 15] Generated Node #0,3,0: 42:[63, 15] Operation: 45-30=15 Exploring Operation: 63-30=33, Resulting Numbers: [45, 33] Generated Node #0,3,1: 42:[45, 33] Operation: 63-30=33 Exploring Operation: 63+30=93, Resulting Numbers: [45, 93] Generated Node #0,3,2: 42:[45, 93] Operation: 63+30=93 Exploring Operation: 63-45=18, Resulting Numbers: [30, 18] Generated Node #0,3,3: 42:[30, 18] Operation: 63-45=18 Exploring Operation: 45+30=75, Resulting Numbers: [63, 75] Generated Node #0,3,4: 42:[63, 75] Operation: 45+30=75 Moving to Node #0,4,0 Current State: 42:[45, 23], Operations: ['63-28=35', '58-35=23'] Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,42 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,4,1 Current State: 42:[35, 13], Operations: ['63-28=35', '58-45=13'] Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,42 unequal: No Solution Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[28, 40], Operations: ['63-45=18', '58-18=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,42 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[18, 30], Operations: ['63-45=18', '58-28=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,42 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[30, 18], Operations: ['58-28=30', '63-45=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[45, 33], Operations: ['58-28=30', '63-30=33'] Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,42 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,42 unequal: No Solution Moving to Node #0,4,4 Current State: 42:[58, 10], Operations: ['63-28=35', '45-35=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,42 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[58, 10], Operations: ['63-45=18', '28-18=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,42 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[58, 46], Operations: ['63-45=18', '28+18=46'] Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,42 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[63, 15], Operations: ['58-28=30', '45-30=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,42 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,2,4 Current State: 42:[28, 76], Operations: ['63-45=18', '58+18=76'] Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,42 unequal: No Solution Moving to Node #0,4,3 Current State: 42:[45, 93], Operations: ['63-28=35', '58+35=93'] Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,42 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[45, 93], Operations: ['58-28=30', '63+30=93'] Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,42 unequal: No Solution Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,42 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,3,4 Current State: 42:[63, 75], Operations: ['58-28=30', '45+30=75'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,42 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,42 unequal: No Solution Moving to Node #0,4,2 Current State: 42:[58, 80], Operations: ['63-28=35', '45+35=80'] Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,42 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,42 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 39, 64, 63 ]
35
[ "39-3=36", "64-63=1", "36-1=35" ]
Current State: 35:[3, 39, 64, 63], Operations: [] Exploring Operation: 39-3=36, Resulting Numbers: [64, 63, 36] Generated Node #2: [64, 63, 36] from Operation: 39-3=36 Current State: 35:[64, 63, 36], Operations: ['39-3=36'] Exploring Operation: 64-63=1, Resulting Numbers: [36, 1] Generated Node #3: [36, 1] from Operation: 64-63=1 Current State: 35:[36, 1], Operations: ['39-3=36', '64-63=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[3, 39, 64, 63], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [3, 39, 1] Generated Node #0,0: 35:[3, 39, 1] Operation: 64-63=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[3, 39, 1], Operations: ['64-63=1'] Exploring Operation: 39-3=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 35:[1, 36] Operation: 39-3=36 Moving to Node #0,0,0 Current State: 35:[1, 36], Operations: ['64-63=1', '39-3=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[3, 39, 64, 63], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [3, 39, 1] Generated Node #0,0: 35:[3, 39, 1] Operation: 64-63=1 Moving to Node #0,0 Current State: 35:[3, 39, 1], Operations: ['64-63=1'] Exploring Operation: 39-3=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 35:[1, 36] Operation: 39-3=36 Moving to Node #0,0,0 Current State: 35:[1, 36], Operations: ['64-63=1', '39-3=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 10, 3, 8, 77 ]
91
[ "77-10=67", "3*8=24", "67+24=91" ]
Current State: 91:[10, 3, 8, 77], Operations: [] Exploring Operation: 77-10=67, Resulting Numbers: [3, 8, 67] Generated Node #2: [3, 8, 67] from Operation: 77-10=67 Current State: 91:[3, 8, 67], Operations: ['77-10=67'] Exploring Operation: 3*8=24, Resulting Numbers: [67, 24] Generated Node #3: [67, 24] from Operation: 3*8=24 Current State: 91:[67, 24], Operations: ['77-10=67', '3*8=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[10, 3, 8, 77], Operations: [] Exploring Operation: 10+77=87, Resulting Numbers: [3, 8, 87] Generated Node #0,0: 91:[3, 8, 87] Operation: 10+77=87 Moving to Node #0,0 Current State: 91:[3, 8, 87], Operations: ['10+77=87'] Exploring Operation: 3+87=90, Resulting Numbers: [8, 90] Generated Node #0,0,0: 91:[8, 90] Operation: 3+87=90 Moving to Node #0,0,0 Current State: 91:[8, 90], Operations: ['10+77=87', '3+87=90'] Exploring Operation: 8+90=98, Resulting Numbers: [98] 98,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 56, 88, 6, 8 ]
84
[ "6+8=14", "56/14=4", "88-4=84" ]
Current State: 84:[56, 88, 6, 8], Operations: [] Exploring Operation: 6+8=14, Resulting Numbers: [56, 88, 14] Generated Node #2: [56, 88, 14] from Operation: 6+8=14 Current State: 84:[56, 88, 14], Operations: ['6+8=14'] Exploring Operation: 56/14=4, Resulting Numbers: [88, 4] Generated Node #3: [88, 4] from Operation: 56/14=4 Current State: 84:[88, 4], Operations: ['6+8=14', '56/14=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[56, 88, 6, 8], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [6, 8, 32] Generated Node #0,0: 84:[6, 8, 32] Operation: 88-56=32 Exploring Operation: 56-8=48, Resulting Numbers: [88, 6, 48] Generated Node #0,1: 84:[88, 6, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [88, 6, 7] Generated Node #0,2: 84:[88, 6, 7] Operation: 56/8=7 Moving to Node #0,2 Current State: 84:[88, 6, 7], Operations: ['56/8=7'] Exploring Operation: 88-7=81, Resulting Numbers: [6, 81] Generated Node #0,2,0: 84:[6, 81] Operation: 88-7=81 Exploring Operation: 88-6=82, Resulting Numbers: [7, 82] Generated Node #0,2,1: 84:[7, 82] Operation: 88-6=82 Exploring Operation: 6*7=42, Resulting Numbers: [88, 42] Generated Node #0,2,2: 84:[88, 42] Operation: 6*7=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[7, 82], Operations: ['56/8=7', '88-6=82'] Exploring Operation: 7*82=574, Resulting Numbers: [574] 574,84 unequal: No Solution Exploring Operation: 7+82=89, Resulting Numbers: [89] 89,84 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,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,2,0 Current State: 84:[6, 81], Operations: ['56/8=7', '88-7=81'] Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,84 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,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,2,2 Current State: 84:[88, 42], Operations: ['56/8=7', '6*7=42'] Exploring Operation: 88+42=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 88*42=3696, Resulting Numbers: [3696] 3696,84 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,84 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: 84:[6, 8, 32], Operations: ['88-56=32'] Exploring Operation: 32/8=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 84:[6, 4] Operation: 32/8=4 Exploring Operation: 32-6=26, Resulting Numbers: [8, 26] Generated Node #0,0,1: 84:[8, 26] Operation: 32-6=26 Exploring Operation: 8+32=40, Resulting Numbers: [6, 40] Generated Node #0,0,2: 84:[6, 40] Operation: 8+32=40 Moving to Node #0,1 Current State: 84:[88, 6, 48], Operations: ['56-8=48'] Exploring Operation: 48/6=8, Resulting Numbers: [88, 8] Generated Node #0,1,0: 84:[88, 8] Operation: 48/6=8 Exploring Operation: 88-48=40, Resulting Numbers: [6, 40] Generated Node #0,1,1: 84:[6, 40] Operation: 88-48=40 Exploring Operation: 48-6=42, Resulting Numbers: [88, 42] Generated Node #0,1,2: 84:[88, 42] Operation: 48-6=42 Moving to Node #0,0,0 Current State: 84:[6, 4], Operations: ['88-56=32', '32/8=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[6, 40], Operations: ['88-56=32', '8+32=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,84 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[6, 40], Operations: ['56-8=48', '88-48=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,84 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[8, 26], Operations: ['88-56=32', '32-6=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,84 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[88, 42], Operations: ['56-8=48', '48-6=42'] Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 88*42=3696, Resulting Numbers: [3696] 3696,84 unequal: No Solution Exploring Operation: 88+42=130, Resulting Numbers: [130] 130,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[88, 8], Operations: ['56-8=48', '48/6=8'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 88+8=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,84 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 44, 8, 48, 1 ]
49
[ "44-1=43", "48/8=6", "43+6=49" ]
Current State: 49:[44, 8, 48, 1], Operations: [] Exploring Operation: 44-1=43, Resulting Numbers: [8, 48, 43] Generated Node #2: [8, 48, 43] from Operation: 44-1=43 Current State: 49:[8, 48, 43], Operations: ['44-1=43'] Exploring Operation: 48/8=6, Resulting Numbers: [43, 6] Generated Node #3: [43, 6] from Operation: 48/8=6 Current State: 49:[43, 6], Operations: ['44-1=43', '48/8=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[44, 8, 48, 1], Operations: [] Exploring Operation: 44+1=45, Resulting Numbers: [8, 48, 45] Generated Node #0,0: 49:[8, 48, 45] Operation: 44+1=45 Exploring Operation: 8-1=7, Resulting Numbers: [44, 48, 7] Generated Node #0,1: 49:[44, 48, 7] Operation: 8-1=7 Moving to Node #0,0 Current State: 49:[8, 48, 45], Operations: ['44+1=45'] Exploring Operation: 48/8=6, Resulting Numbers: [45, 6] Generated Node #0,0,0: 49:[45, 6] Operation: 48/8=6 Exploring Operation: 8+45=53, Resulting Numbers: [48, 53] Generated Node #0,0,1: 49:[48, 53] Operation: 8+45=53 Moving to Node #0,1 Current State: 49:[44, 48, 7], Operations: ['8-1=7'] Exploring Operation: 44+7=51, Resulting Numbers: [48, 51] Generated Node #0,1,0: 49:[48, 51] Operation: 44+7=51 Exploring Operation: 48-44=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 49:[7, 4] Operation: 48-44=4 Moving to Node #0,1,0 Current State: 49:[48, 51], Operations: ['8-1=7', '44+7=51'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[7, 4], Operations: ['8-1=7', '48-44=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[48, 53], Operations: ['44+1=45', '8+45=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[45, 6], Operations: ['44+1=45', '48/8=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 2, 10, 99, 65 ]
42
[ "10-2=8", "99-65=34", "8+34=42" ]
Current State: 42:[2, 10, 99, 65], Operations: [] Exploring Operation: 10-2=8, Resulting Numbers: [99, 65, 8] Generated Node #2: [99, 65, 8] from Operation: 10-2=8 Current State: 42:[99, 65, 8], Operations: ['10-2=8'] Exploring Operation: 99-65=34, Resulting Numbers: [8, 34] Generated Node #3: [8, 34] from Operation: 99-65=34 Current State: 42:[8, 34], Operations: ['10-2=8', '99-65=34'] Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[2, 10, 99, 65], Operations: [] Exploring Operation: 99-65=34, Resulting Numbers: [2, 10, 34] Generated Node #0,0: 42:[2, 10, 34] Operation: 99-65=34 Exploring Operation: 99-10=89, Resulting Numbers: [2, 65, 89] Generated Node #0,1: 42:[2, 65, 89] Operation: 99-10=89 Moving to Node #0,0 Current State: 42:[2, 10, 34], Operations: ['99-65=34'] Exploring Operation: 10+34=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 42:[2, 44] Operation: 10+34=44 Exploring Operation: 34-10=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 42:[2, 24] Operation: 34-10=24 Moving to Node #0,1 Current State: 42:[2, 65, 89], Operations: ['99-10=89'] Exploring Operation: 65-2=63, Resulting Numbers: [89, 63] Generated Node #0,1,0: 42:[89, 63] Operation: 65-2=63 Exploring Operation: 89-65=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 42:[2, 24] Operation: 89-65=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[2, 24], Operations: ['99-10=89', '89-65=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[89, 63], Operations: ['99-10=89', '65-2=63'] Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 89+63=152, Resulting Numbers: [152] 152,42 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: 42:[2, 44], Operations: ['99-65=34', '10+34=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[2, 10, 99, 65], Operations: [] Exploring Operation: 99-65=34, Resulting Numbers: [2, 10, 34] Generated Node #0,0: 42:[2, 10, 34] Operation: 99-65=34 Moving to Node #0,0 Current State: 42:[2, 10, 34], Operations: ['99-65=34'] Exploring Operation: 10+34=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 42:[2, 44] Operation: 10+34=44 Moving to Node #0,0,0 Current State: 42:[2, 44], Operations: ['99-65=34', '10+34=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 12, 45, 75, 2 ]
93
[ "12+45=57", "75*2=150", "150-57=93" ]
Current State: 93:[12, 45, 75, 2], Operations: [] Exploring Operation: 12+45=57, Resulting Numbers: [75, 2, 57] Generated Node #2: [75, 2, 57] from Operation: 12+45=57 Current State: 93:[75, 2, 57], Operations: ['12+45=57'] Exploring Operation: 75*2=150, Resulting Numbers: [57, 150] Generated Node #3: [57, 150] from Operation: 75*2=150 Current State: 93:[57, 150], Operations: ['12+45=57', '75*2=150'] Exploring Operation: 150-57=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[12, 45, 75, 2], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [12, 2, 30] Generated Node #0,0: 93:[12, 2, 30] Operation: 75-45=30 Exploring Operation: 45-12=33, Resulting Numbers: [75, 2, 33] Generated Node #0,1: 93:[75, 2, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[12, 2, 30], Operations: ['75-45=30'] Exploring Operation: 12/2=6, Resulting Numbers: [30, 6] Generated Node #0,0,0: 93:[30, 6] Operation: 12/2=6 Exploring Operation: 12*2=24, Resulting Numbers: [30, 24] Generated Node #0,0,1: 93:[30, 24] Operation: 12*2=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[30, 6], Operations: ['75-45=30', '12/2=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[30, 24], Operations: ['75-45=30', '12*2=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[75, 2, 33], Operations: ['45-12=33'] Exploring Operation: 75+33=108, Resulting Numbers: [2, 108] Generated Node #0,1,0: 93:[2, 108] Operation: 75+33=108 Exploring Operation: 75-33=42, Resulting Numbers: [2, 42] Generated Node #0,1,1: 93:[2, 42] Operation: 75-33=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[2, 42], Operations: ['45-12=33', '75-33=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[2, 108], Operations: ['45-12=33', '75+33=108'] Exploring Operation: 2+108=110, Resulting Numbers: [110] 110,93 unequal: No Solution Exploring Operation: 108-2=106, Resulting Numbers: [106] 106,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 51, 62, 74, 64 ]
97
[ "64-62=2", "74*2=148", "148-51=97" ]
Current State: 97:[51, 62, 74, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [51, 74, 2] Generated Node #2: [51, 74, 2] from Operation: 64-62=2 Current State: 97:[51, 74, 2], Operations: ['64-62=2'] Exploring Operation: 74*2=148, Resulting Numbers: [51, 148] Generated Node #3: [51, 148] from Operation: 74*2=148 Current State: 97:[51, 148], Operations: ['64-62=2', '74*2=148'] Exploring Operation: 148-51=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[51, 62, 74, 64], Operations: [] Exploring Operation: 51+64=115, Resulting Numbers: [62, 74, 115] Generated Node #0,0: 97:[62, 74, 115] Operation: 51+64=115 Exploring Operation: 51+62=113, Resulting Numbers: [74, 64, 113] Generated Node #0,1: 97:[74, 64, 113] Operation: 51+62=113 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[74, 64, 113], Operations: ['51+62=113'] Exploring Operation: 74+64=138, Resulting Numbers: [113, 138] Generated Node #0,1,0: 97:[113, 138] Operation: 74+64=138 Exploring Operation: 113-64=49, Resulting Numbers: [74, 49] Generated Node #0,1,1: 97:[74, 49] Operation: 113-64=49 Moving to Node #0,1,0 Current State: 97:[113, 138], Operations: ['51+62=113', '74+64=138'] Exploring Operation: 138-113=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 113+138=251, Resulting Numbers: [251] 251,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[74, 49], Operations: ['51+62=113', '113-64=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[62, 74, 115], Operations: ['51+64=115'] Exploring Operation: 62+74=136, Resulting Numbers: [115, 136] Generated Node #0,0,0: 97:[115, 136] Operation: 62+74=136 Exploring Operation: 115-62=53, Resulting Numbers: [74, 53] Generated Node #0,0,1: 97:[74, 53] Operation: 115-62=53 Moving to Node #0,0,0 Current State: 97:[115, 136], Operations: ['51+64=115', '62+74=136'] Exploring Operation: 115+136=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 136-115=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[74, 53], Operations: ['51+64=115', '115-62=53'] Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 38, 3, 70, 61 ]
75
[ "38+70=108", "3*61=183", "183-108=75" ]
Current State: 75:[38, 3, 70, 61], Operations: [] Exploring Operation: 38+70=108, Resulting Numbers: [3, 61, 108] Generated Node #2: [3, 61, 108] from Operation: 38+70=108 Current State: 75:[3, 61, 108], Operations: ['38+70=108'] Exploring Operation: 3*61=183, Resulting Numbers: [108, 183] Generated Node #3: [108, 183] from Operation: 3*61=183 Current State: 75:[108, 183], Operations: ['38+70=108', '3*61=183'] Exploring Operation: 183-108=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[38, 3, 70, 61], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [3, 70, 23] Generated Node #0,0: 75:[3, 70, 23] Operation: 61-38=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[3, 70, 23], Operations: ['61-38=23'] Exploring Operation: 3+70=73, Resulting Numbers: [23, 73] Generated Node #0,0,0: 75:[23, 73] Operation: 3+70=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[23, 73], Operations: ['61-38=23', '3+70=73'] Exploring Operation: 23+73=96, Resulting Numbers: [96] 96,75 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
[ 70, 9, 43, 49 ]
46
[ "70-43=27", "27/9=3", "49-3=46" ]
Current State: 46:[70, 9, 43, 49], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [9, 49, 27] Generated Node #2: [9, 49, 27] from Operation: 70-43=27 Current State: 46:[9, 49, 27], Operations: ['70-43=27'] Exploring Operation: 27/9=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 27/9=3 Current State: 46:[49, 3], Operations: ['70-43=27', '27/9=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[70, 9, 43, 49], Operations: [] Exploring Operation: 70-49=21, Resulting Numbers: [9, 43, 21] Generated Node #0,0: 46:[9, 43, 21] Operation: 70-49=21 Exploring Operation: 70-43=27, Resulting Numbers: [9, 49, 27] Generated Node #0,1: 46:[9, 49, 27] Operation: 70-43=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[9, 43, 21], Operations: ['70-49=21'] Exploring Operation: 43-21=22, Resulting Numbers: [9, 22] Generated Node #0,0,0: 46:[9, 22] Operation: 43-21=22 Exploring Operation: 9+43=52, Resulting Numbers: [21, 52] Generated Node #0,0,1: 46:[21, 52] Operation: 9+43=52 Moving to Node #0,0,0 Current State: 46:[9, 22], Operations: ['70-49=21', '43-21=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[21, 52], Operations: ['70-49=21', '9+43=52'] Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,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 Current State: 46:[9, 49, 27], Operations: ['70-43=27'] Exploring Operation: 27/9=3, Resulting Numbers: [49, 3] Generated Node #0,1,0: 46:[49, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [49, 18] Generated Node #0,1,1: 46:[49, 18] Operation: 27-9=18 Moving to Node #0,1,0 Current State: 46:[49, 3], Operations: ['70-43=27', '27/9=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[70, 9, 43, 49], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [9, 49, 27] Generated Node #0,1: 46:[9, 49, 27] Operation: 70-43=27 Moving to Node #0,1 Current State: 46:[9, 49, 27], Operations: ['70-43=27'] Exploring Operation: 27/9=3, Resulting Numbers: [49, 3] Generated Node #0,1,0: 46:[49, 3] Operation: 27/9=3 Moving to Node #0,1,0 Current State: 46:[49, 3], Operations: ['70-43=27', '27/9=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 31, 16, 36, 75 ]
86
[ "31+16=47", "75-36=39", "47+39=86" ]
Current State: 86:[31, 16, 36, 75], Operations: [] Exploring Operation: 31+16=47, Resulting Numbers: [36, 75, 47] Generated Node #2: [36, 75, 47] from Operation: 31+16=47 Current State: 86:[36, 75, 47], Operations: ['31+16=47'] Exploring Operation: 75-36=39, Resulting Numbers: [47, 39] Generated Node #3: [47, 39] from Operation: 75-36=39 Current State: 86:[47, 39], Operations: ['31+16=47', '75-36=39'] Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[31, 16, 36, 75], Operations: [] Exploring Operation: 75-36=39, Resulting Numbers: [31, 16, 39] Generated Node #0,0: 86:[31, 16, 39] Operation: 75-36=39 Exploring Operation: 31+16=47, Resulting Numbers: [36, 75, 47] Generated Node #0,1: 86:[36, 75, 47] Operation: 31+16=47 Exploring Operation: 75-31=44, Resulting Numbers: [16, 36, 44] Generated Node #0,2: 86:[16, 36, 44] Operation: 75-31=44 Exploring Operation: 36-31=5, Resulting Numbers: [16, 75, 5] Generated Node #0,3: 86:[16, 75, 5] Operation: 36-31=5 Exploring Operation: 16+75=91, Resulting Numbers: [31, 36, 91] Generated Node #0,4: 86:[31, 36, 91] Operation: 16+75=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[36, 75, 47], Operations: ['31+16=47'] Exploring Operation: 47-36=11, Resulting Numbers: [75, 11] Generated Node #0,1,0: 86:[75, 11] Operation: 47-36=11 Exploring Operation: 75-36=39, Resulting Numbers: [47, 39] Generated Node #0,1,1: 86:[47, 39] Operation: 75-36=39 Exploring Operation: 75-47=28, Resulting Numbers: [36, 28] Generated Node #0,1,2: 86:[36, 28] Operation: 75-47=28 Exploring Operation: 36+47=83, Resulting Numbers: [75, 83] Generated Node #0,1,3: 86:[75, 83] Operation: 36+47=83 Exploring Operation: 36+75=111, Resulting Numbers: [47, 111] Generated Node #0,1,4: 86:[47, 111] Operation: 36+75=111 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[47, 39], Operations: ['31+16=47', '75-36=39'] Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,86 unequal: No Solution Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[31, 16, 36, 75], Operations: [] Exploring Operation: 31+16=47, Resulting Numbers: [36, 75, 47] Generated Node #0,1: 86:[36, 75, 47] Operation: 31+16=47 Moving to Node #0,1 Current State: 86:[36, 75, 47], Operations: ['31+16=47'] Exploring Operation: 75-36=39, Resulting Numbers: [47, 39] Generated Node #0,1,1: 86:[47, 39] Operation: 75-36=39 Moving to Node #0,1,1 Current State: 86:[47, 39], Operations: ['31+16=47', '75-36=39'] Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 45, 23, 13, 70 ]
26
[ "45+23=68", "70-68=2", "13*2=26" ]
Current State: 26:[45, 23, 13, 70], Operations: [] Exploring Operation: 45+23=68, Resulting Numbers: [13, 70, 68] Generated Node #2: [13, 70, 68] from Operation: 45+23=68 Current State: 26:[13, 70, 68], Operations: ['45+23=68'] Exploring Operation: 70-68=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 70-68=2 Current State: 26:[13, 2], Operations: ['45+23=68', '70-68=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[45, 23, 13, 70], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [23, 70, 32] Generated Node #0,0: 26:[23, 70, 32] Operation: 45-13=32 Exploring Operation: 70-13=57, Resulting Numbers: [45, 23, 57] Generated Node #0,1: 26:[45, 23, 57] Operation: 70-13=57 Exploring Operation: 45-23=22, Resulting Numbers: [13, 70, 22] Generated Node #0,2: 26:[13, 70, 22] Operation: 45-23=22 Exploring Operation: 70-23=47, Resulting Numbers: [45, 13, 47] Generated Node #0,3: 26:[45, 13, 47] Operation: 70-23=47 Exploring Operation: 70-45=25, Resulting Numbers: [23, 13, 25] Generated Node #0,4: 26:[23, 13, 25] Operation: 70-45=25 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[23, 13, 25], Operations: ['70-45=25'] Exploring Operation: 13+25=38, Resulting Numbers: [23, 38] Generated Node #0,4,0: 26:[23, 38] Operation: 13+25=38 Exploring Operation: 23-13=10, Resulting Numbers: [25, 10] Generated Node #0,4,1: 26:[25, 10] Operation: 23-13=10 Exploring Operation: 25-13=12, Resulting Numbers: [23, 12] Generated Node #0,4,2: 26:[23, 12] Operation: 25-13=12 Exploring Operation: 23+13=36, Resulting Numbers: [25, 36] Generated Node #0,4,3: 26:[25, 36] Operation: 23+13=36 Exploring Operation: 25-23=2, Resulting Numbers: [13, 2] Generated Node #0,4,4: 26:[13, 2] Operation: 25-23=2 Moving to Node #0,4,4 Current State: 26:[13, 2], Operations: ['70-45=25', '25-23=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[45, 23, 13, 70], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [23, 13, 25] Generated Node #0,4: 26:[23, 13, 25] Operation: 70-45=25 Moving to Node #0,4 Current State: 26:[23, 13, 25], Operations: ['70-45=25'] Exploring Operation: 25-23=2, Resulting Numbers: [13, 2] Generated Node #0,4,4: 26:[13, 2] Operation: 25-23=2 Moving to Node #0,4,4 Current State: 26:[13, 2], Operations: ['70-45=25', '25-23=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 86, 39, 71, 37 ]
91
[ "86+39=125", "71-37=34", "125-34=91" ]
Current State: 91:[86, 39, 71, 37], Operations: [] Exploring Operation: 86+39=125, Resulting Numbers: [71, 37, 125] Generated Node #2: [71, 37, 125] from Operation: 86+39=125 Current State: 91:[71, 37, 125], Operations: ['86+39=125'] Exploring Operation: 71-37=34, Resulting Numbers: [125, 34] Generated Node #3: [125, 34] from Operation: 71-37=34 Current State: 91:[125, 34], Operations: ['86+39=125', '71-37=34'] Exploring Operation: 125-34=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[86, 39, 71, 37], Operations: [] Exploring Operation: 39+37=76, Resulting Numbers: [86, 71, 76] Generated Node #0,0: 91:[86, 71, 76] Operation: 39+37=76 Exploring Operation: 39-37=2, Resulting Numbers: [86, 71, 2] Generated Node #0,1: 91:[86, 71, 2] Operation: 39-37=2 Exploring Operation: 39+71=110, Resulting Numbers: [86, 37, 110] Generated Node #0,2: 91:[86, 37, 110] Operation: 39+71=110 Moving to Node #0,1 Current State: 91:[86, 71, 2], Operations: ['39-37=2'] Exploring Operation: 71+2=73, Resulting Numbers: [86, 73] Generated Node #0,1,0: 91:[86, 73] Operation: 71+2=73 Exploring Operation: 86-71=15, Resulting Numbers: [2, 15] Generated Node #0,1,1: 91:[2, 15] Operation: 86-71=15 Exploring Operation: 86+2=88, Resulting Numbers: [71, 88] Generated Node #0,1,2: 91:[71, 88] Operation: 86+2=88 Moving to Node #0,0 Current State: 91:[86, 71, 76], Operations: ['39+37=76'] Exploring Operation: 76-71=5, Resulting Numbers: [86, 5] Generated Node #0,0,0: 91:[86, 5] Operation: 76-71=5 Exploring Operation: 86-71=15, Resulting Numbers: [76, 15] Generated Node #0,0,1: 91:[76, 15] Operation: 86-71=15 Exploring Operation: 86-76=10, Resulting Numbers: [71, 10] Generated Node #0,0,2: 91:[71, 10] Operation: 86-76=10 Moving to Node #0,2 Current State: 91:[86, 37, 110], Operations: ['39+71=110'] Exploring Operation: 86+37=123, Resulting Numbers: [110, 123] Generated Node #0,2,0: 91:[110, 123] Operation: 86+37=123 Exploring Operation: 110-37=73, Resulting Numbers: [86, 73] Generated Node #0,2,1: 91:[86, 73] Operation: 110-37=73 Exploring Operation: 110-86=24, Resulting Numbers: [37, 24] Generated Node #0,2,2: 91:[37, 24] Operation: 110-86=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[86, 73], Operations: ['39+71=110', '110-37=73'] Exploring Operation: 86*73=6278, Resulting Numbers: [6278] 6278,91 unequal: No Solution Exploring Operation: 86+73=159, Resulting Numbers: [159] 159,91 unequal: No Solution Exploring Operation: 86-73=13, Resulting Numbers: [13] 13,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[37, 24], Operations: ['39+71=110', '110-86=24'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[110, 123], Operations: ['39+71=110', '86+37=123'] Exploring Operation: 110+123=233, Resulting Numbers: [233] 233,91 unequal: No Solution Exploring Operation: 110*123=13530, Resulting Numbers: [13530] 13530,91 unequal: No Solution Exploring Operation: 123-110=13, Resulting Numbers: [13] 13,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 91:[2, 15], Operations: ['39-37=2', '86-71=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[86, 5], Operations: ['39+37=76', '76-71=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[86, 39, 71, 37], Operations: [] Exploring Operation: 39+37=76, Resulting Numbers: [86, 71, 76] Generated Node #0,0: 91:[86, 71, 76] Operation: 39+37=76 Moving to Node #0,0 Current State: 91:[86, 71, 76], Operations: ['39+37=76'] Exploring Operation: 76-71=5, Resulting Numbers: [86, 5] Generated Node #0,0,0: 91:[86, 5] Operation: 76-71=5 Moving to Node #0,0,0 Current State: 91:[86, 5], Operations: ['39+37=76', '76-71=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 26, 71, 79, 11 ]
23
[ "71-26=45", "79-11=68", "68-45=23" ]
Current State: 23:[26, 71, 79, 11], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [79, 11, 45] Generated Node #2: [79, 11, 45] from Operation: 71-26=45 Current State: 23:[79, 11, 45], Operations: ['71-26=45'] Exploring Operation: 79-11=68, Resulting Numbers: [45, 68] Generated Node #3: [45, 68] from Operation: 79-11=68 Current State: 23:[45, 68], Operations: ['71-26=45', '79-11=68'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[26, 71, 79, 11], Operations: [] Exploring Operation: 79-26=53, Resulting Numbers: [71, 11, 53] Generated Node #0,0: 23:[71, 11, 53] Operation: 79-26=53 Exploring Operation: 71-26=45, Resulting Numbers: [79, 11, 45] Generated Node #0,1: 23:[79, 11, 45] Operation: 71-26=45 Exploring Operation: 79-71=8, Resulting Numbers: [26, 11, 8] Generated Node #0,2: 23:[26, 11, 8] Operation: 79-71=8 Exploring Operation: 79-11=68, Resulting Numbers: [26, 71, 68] Generated Node #0,3: 23:[26, 71, 68] Operation: 79-11=68 Exploring Operation: 71-11=60, Resulting Numbers: [26, 79, 60] Generated Node #0,4: 23:[26, 79, 60] Operation: 71-11=60 Moving to Node #0,2 Current State: 23:[26, 11, 8], Operations: ['79-71=8'] Exploring Operation: 26-11=15, Resulting Numbers: [8, 15] Generated Node #0,2,0: 23:[8, 15] Operation: 26-11=15 Exploring Operation: 11+8=19, Resulting Numbers: [26, 19] Generated Node #0,2,1: 23:[26, 19] Operation: 11+8=19 Exploring Operation: 11-8=3, Resulting Numbers: [26, 3] Generated Node #0,2,2: 23:[26, 3] Operation: 11-8=3 Exploring Operation: 26-8=18, Resulting Numbers: [11, 18] Generated Node #0,2,3: 23:[11, 18] Operation: 26-8=18 Exploring Operation: 26+8=34, Resulting Numbers: [11, 34] Generated Node #0,2,4: 23:[11, 34] Operation: 26+8=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[26, 19], Operations: ['79-71=8', '11+8=19'] Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,23 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[11, 18], Operations: ['79-71=8', '26-8=18'] Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[8, 15], Operations: ['79-71=8', '26-11=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[26, 71, 79, 11], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [26, 11, 8] Generated Node #0,2: 23:[26, 11, 8] Operation: 79-71=8 Moving to Node #0,2 Current State: 23:[26, 11, 8], Operations: ['79-71=8'] Exploring Operation: 26-11=15, Resulting Numbers: [8, 15] Generated Node #0,2,0: 23:[8, 15] Operation: 26-11=15 Moving to Node #0,2,0 Current State: 23:[8, 15], Operations: ['79-71=8', '26-11=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 5, 23, 72, 54 ]
21
[ "5+23=28", "54*28=1512", "1512/72=21" ]
Current State: 21:[5, 23, 72, 54], Operations: [] Exploring Operation: 5+23=28, Resulting Numbers: [72, 54, 28] Generated Node #2: [72, 54, 28] from Operation: 5+23=28 Current State: 21:[72, 54, 28], Operations: ['5+23=28'] Exploring Operation: 54*28=1512, Resulting Numbers: [72, 1512] Generated Node #3: [72, 1512] from Operation: 54*28=1512 Current State: 21:[72, 1512], Operations: ['5+23=28', '54*28=1512'] Exploring Operation: 1512/72=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[5, 23, 72, 54], Operations: [] Exploring Operation: 72-5=67, Resulting Numbers: [23, 54, 67] Generated Node #0,0: 21:[23, 54, 67] Operation: 72-5=67 Exploring Operation: 72-23=49, Resulting Numbers: [5, 54, 49] Generated Node #0,1: 21:[5, 54, 49] Operation: 72-23=49 Exploring Operation: 54-23=31, Resulting Numbers: [5, 72, 31] Generated Node #0,2: 21:[5, 72, 31] Operation: 54-23=31 Exploring Operation: 72-54=18, Resulting Numbers: [5, 23, 18] Generated Node #0,3: 21:[5, 23, 18] Operation: 72-54=18 Exploring Operation: 54-5=49, Resulting Numbers: [23, 72, 49] Generated Node #0,4: 21:[23, 72, 49] Operation: 54-5=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[5, 23, 18], Operations: ['72-54=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23, 23] Generated Node #0,3,0: 21:[23, 23] Operation: 5+18=23 Exploring Operation: 23-5=18, Resulting Numbers: [18, 18] Generated Node #0,3,1: 21:[18, 18] Operation: 23-5=18 Exploring Operation: 5+23=28, Resulting Numbers: [18, 28] Generated Node #0,3,2: 21:[18, 28] Operation: 5+23=28 Exploring Operation: 23-18=5, Resulting Numbers: [5, 5] Generated Node #0,3,3: 21:[5, 5] Operation: 23-18=5 Exploring Operation: 18-5=13, Resulting Numbers: [23, 13] Generated Node #0,3,4: 21:[23, 13] Operation: 18-5=13 Moving to Node #0,3,0 Current State: 21:[23, 23], Operations: ['72-54=18', '5+18=23'] Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,21 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[5, 5], Operations: ['72-54=18', '23-18=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[18, 18], Operations: ['72-54=18', '23-5=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,21 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,21 unequal: No Solution Moving to Node #0,3,4 Current State: 21:[23, 13], Operations: ['72-54=18', '18-5=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,21 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[18, 28], Operations: ['72-54=18', '5+23=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,21 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,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,1 Current State: 21:[5, 54, 49], Operations: ['72-23=49'] Exploring Operation: 49-5=44, Resulting Numbers: [54, 44] Generated Node #0,1,0: 21:[54, 44] Operation: 49-5=44 Exploring Operation: 54-5=49, Resulting Numbers: [49, 49] Generated Node #0,1,1: 21:[49, 49] Operation: 54-5=49 Exploring Operation: 5+49=54, Resulting Numbers: [54, 54] Generated Node #0,1,2: 21:[54, 54] Operation: 5+49=54 Exploring Operation: 5+54=59, Resulting Numbers: [49, 59] Generated Node #0,1,3: 21:[49, 59] Operation: 5+54=59 Exploring Operation: 54-49=5, Resulting Numbers: [5, 5] Generated Node #0,1,4: 21:[5, 5] Operation: 54-49=5 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 21:[5, 5], Operations: ['72-23=49', '54-49=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,21 unequal: No Solution No 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: 21:[54, 44], Operations: ['72-23=49', '49-5=44'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,21 unequal: No Solution No 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: 21:[49, 49], Operations: ['72-23=49', '54-5=49'] Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,21 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,21 unequal: No Solution No 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: 21:[54, 54], Operations: ['72-23=49', '5+49=54'] Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,21 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,21 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,21 unequal: No Solution No 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: 21:[49, 59], Operations: ['72-23=49', '5+54=59'] Exploring Operation: 49+59=108, Resulting Numbers: [108] 108,21 unequal: No Solution Exploring Operation: 49*59=2891, Resulting Numbers: [2891] 2891,21 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,21 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: 21:[5, 72, 31], Operations: ['54-23=31'] Exploring Operation: 72-5=67, Resulting Numbers: [31, 67] Generated Node #0,2,0: 21:[31, 67] Operation: 72-5=67 Exploring Operation: 5+72=77, Resulting Numbers: [31, 77] Generated Node #0,2,1: 21:[31, 77] Operation: 5+72=77 Exploring Operation: 72-31=41, Resulting Numbers: [5, 41] Generated Node #0,2,2: 21:[5, 41] Operation: 72-31=41 Exploring Operation: 5+31=36, Resulting Numbers: [72, 36] Generated Node #0,2,3: 21:[72, 36] Operation: 5+31=36 Exploring Operation: 31-5=26, Resulting Numbers: [72, 26] Generated Node #0,2,4: 21:[72, 26] Operation: 31-5=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[5, 41], Operations: ['54-23=31', '72-31=41'] Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,21 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,21 unequal: No Solution No 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: 21:[31, 67], Operations: ['54-23=31', '72-5=67'] Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,21 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,21 unequal: No Solution No 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: 21:[72, 26], Operations: ['54-23=31', '31-5=26'] Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,21 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,21 unequal: No Solution No 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: 21:[31, 77], Operations: ['54-23=31', '5+72=77'] Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,21 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,21 unequal: No Solution No 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: 21:[72, 36], Operations: ['54-23=31', '5+31=36'] Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 72*36=2592, Resulting Numbers: [2592] 2592,21 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,21 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: 21:[23, 54, 67], Operations: ['72-5=67'] Exploring Operation: 23+67=90, Resulting Numbers: [54, 90] Generated Node #0,0,0: 21:[54, 90] Operation: 23+67=90 Exploring Operation: 23+54=77, Resulting Numbers: [67, 77] Generated Node #0,0,1: 21:[67, 77] Operation: 23+54=77 Exploring Operation: 67-54=13, Resulting Numbers: [23, 13] Generated Node #0,0,2: 21:[23, 13] Operation: 67-54=13 Exploring Operation: 54-23=31, Resulting Numbers: [67, 31] Generated Node #0,0,3: 21:[67, 31] Operation: 54-23=31 Exploring Operation: 67-23=44, Resulting Numbers: [54, 44] Generated Node #0,0,4: 21:[54, 44] Operation: 67-23=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[23, 13], Operations: ['72-5=67', '67-54=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,21 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,21 unequal: No Solution No 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: 21:[67, 31], Operations: ['72-5=67', '54-23=31'] Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,21 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,21 unequal: No Solution No 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: 21:[54, 44], Operations: ['72-5=67', '67-23=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,21 unequal: No Solution No 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: 21:[54, 90], Operations: ['72-5=67', '23+67=90'] Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 54*90=4860, Resulting Numbers: [4860] 4860,21 unequal: No Solution Exploring Operation: 54+90=144, Resulting Numbers: [144] 144,21 unequal: No Solution No 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: 21:[67, 77], Operations: ['72-5=67', '23+54=77'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,21 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,21 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: 21:[23, 72, 49], Operations: ['54-5=49'] Exploring Operation: 72-49=23, Resulting Numbers: [23, 23] Generated Node #0,4,0: 21:[23, 23] Operation: 72-49=23 Exploring Operation: 49-23=26, Resulting Numbers: [72, 26] Generated Node #0,4,1: 21:[72, 26] Operation: 49-23=26 Exploring Operation: 23+72=95, Resulting Numbers: [49, 95] Generated Node #0,4,2: 21:[49, 95] Operation: 23+72=95 Exploring Operation: 72-23=49, Resulting Numbers: [49, 49] Generated Node #0,4,3: 21:[49, 49] Operation: 72-23=49 Exploring Operation: 23+49=72, Resulting Numbers: [72, 72] Generated Node #0,4,4: 21:[72, 72] Operation: 23+49=72 Moving to Node #0,4,0 Current State: 21:[23, 23], Operations: ['54-5=49', '72-49=23'] Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,21 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,21 unequal: No Solution Moving to Node #0,4,3 Current State: 21:[49, 49], Operations: ['54-5=49', '72-23=49'] Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,21 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,4,1 Current State: 21:[72, 26], Operations: ['54-5=49', '49-23=26'] Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,21 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,21 unequal: No Solution Moving to Node #0,4,2 Current State: 21:[49, 95], Operations: ['54-5=49', '23+72=95'] Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,21 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,21 unequal: No Solution Moving to Node #0,4,4 Current State: 21:[72, 72], Operations: ['54-5=49', '23+49=72'] Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,21 unequal: No Solution Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,21 unequal: No Solution Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 75, 3, 58, 73 ]
22
[ "75-58=17", "3*17=51", "73-51=22" ]
Current State: 22:[75, 3, 58, 73], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [3, 73, 17] Generated Node #2: [3, 73, 17] from Operation: 75-58=17 Current State: 22:[3, 73, 17], Operations: ['75-58=17'] Exploring Operation: 3*17=51, Resulting Numbers: [73, 51] Generated Node #3: [73, 51] from Operation: 3*17=51 Current State: 22:[73, 51], Operations: ['75-58=17', '3*17=51'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[75, 3, 58, 73], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [3, 58, 2] Generated Node #0,0: 22:[3, 58, 2] Operation: 75-73=2 Exploring Operation: 75-58=17, Resulting Numbers: [3, 73, 17] Generated Node #0,1: 22:[3, 73, 17] Operation: 75-58=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[3, 58, 2], Operations: ['75-73=2'] Exploring Operation: 58-3=55, Resulting Numbers: [2, 55] Generated Node #0,0,0: 22:[2, 55] Operation: 58-3=55 Exploring Operation: 58/2=29, Resulting Numbers: [3, 29] Generated Node #0,0,1: 22:[3, 29] Operation: 58/2=29 Moving to Node #0,0,1 Current State: 22:[3, 29], Operations: ['75-73=2', '58/2=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[2, 55], Operations: ['75-73=2', '58-3=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,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:[3, 73, 17], Operations: ['75-58=17'] Exploring Operation: 73-17=56, Resulting Numbers: [3, 56] Generated Node #0,1,0: 22:[3, 56] Operation: 73-17=56 Exploring Operation: 73-3=70, Resulting Numbers: [17, 70] Generated Node #0,1,1: 22:[17, 70] Operation: 73-3=70 Moving to Node #0,1,0 Current State: 22:[3, 56], Operations: ['75-58=17', '73-17=56'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[17, 70], Operations: ['75-58=17', '73-3=70'] Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,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
mult_heuristic
[ 90, 63, 9, 87 ]
51
[ "90-63=27", "87-9=78", "78-27=51" ]
Current State: 51:[90, 63, 9, 87], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [9, 87, 27] Generated Node #2: [9, 87, 27] from Operation: 90-63=27 Current State: 51:[9, 87, 27], Operations: ['90-63=27'] Exploring Operation: 87-9=78, Resulting Numbers: [27, 78] Generated Node #3: [27, 78] from Operation: 87-9=78 Current State: 51:[27, 78], Operations: ['90-63=27', '87-9=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[90, 63, 9, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [90, 9, 24] Generated Node #0,0: 51:[90, 9, 24] Operation: 87-63=24 Exploring Operation: 90-87=3, Resulting Numbers: [63, 9, 3] Generated Node #0,1: 51:[63, 9, 3] Operation: 90-87=3 Exploring Operation: 90-63=27, Resulting Numbers: [9, 87, 27] Generated Node #0,2: 51:[9, 87, 27] Operation: 90-63=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[63, 9, 3], Operations: ['90-87=3'] Exploring Operation: 63/9=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 51:[3, 7] Operation: 63/9=7 Exploring Operation: 63/3=21, Resulting Numbers: [9, 21] Generated Node #0,1,1: 51:[9, 21] Operation: 63/3=21 Exploring Operation: 63-9=54, Resulting Numbers: [3, 54] Generated Node #0,1,2: 51:[3, 54] Operation: 63-9=54 Moving to Node #0,1,2 Current State: 51:[3, 54], Operations: ['90-87=3', '63-9=54'] Exploring Operation: 3+54=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:[90, 63, 9, 87], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [63, 9, 3] Generated Node #0,1: 51:[63, 9, 3] Operation: 90-87=3 Moving to Node #0,1 Current State: 51:[63, 9, 3], Operations: ['90-87=3'] Exploring Operation: 63-9=54, Resulting Numbers: [3, 54] Generated Node #0,1,2: 51:[3, 54] Operation: 63-9=54 Moving to Node #0,1,2 Current State: 51:[3, 54], Operations: ['90-87=3', '63-9=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 39, 67, 20, 52 ]
74
[ "39+67=106", "52-20=32", "106-32=74" ]
Current State: 74:[39, 67, 20, 52], Operations: [] Exploring Operation: 39+67=106, Resulting Numbers: [20, 52, 106] Generated Node #2: [20, 52, 106] from Operation: 39+67=106 Current State: 74:[20, 52, 106], Operations: ['39+67=106'] Exploring Operation: 52-20=32, Resulting Numbers: [106, 32] Generated Node #3: [106, 32] from Operation: 52-20=32 Current State: 74:[106, 32], Operations: ['39+67=106', '52-20=32'] Exploring Operation: 106-32=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[39, 67, 20, 52], Operations: [] Exploring Operation: 67+20=87, Resulting Numbers: [39, 52, 87] Generated Node #0,0: 74:[39, 52, 87] Operation: 67+20=87 Exploring Operation: 20+52=72, Resulting Numbers: [39, 67, 72] Generated Node #0,1: 74:[39, 67, 72] Operation: 20+52=72 Exploring Operation: 67-20=47, Resulting Numbers: [39, 52, 47] Generated Node #0,2: 74:[39, 52, 47] Operation: 67-20=47 Exploring Operation: 52-20=32, Resulting Numbers: [39, 67, 32] Generated Node #0,3: 74:[39, 67, 32] Operation: 52-20=32 Moving to Node #0,1 Current State: 74:[39, 67, 72], Operations: ['20+52=72'] Exploring Operation: 72-67=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 74:[39, 5] Operation: 72-67=5 Exploring Operation: 39+67=106, Resulting Numbers: [72, 106] Generated Node #0,1,1: 74:[72, 106] Operation: 39+67=106 Exploring Operation: 67-39=28, Resulting Numbers: [72, 28] Generated Node #0,1,2: 74:[72, 28] Operation: 67-39=28 Exploring Operation: 72-39=33, Resulting Numbers: [67, 33] Generated Node #0,1,3: 74:[67, 33] Operation: 72-39=33 Moving to Node #0,3 Current State: 74:[39, 67, 32], Operations: ['52-20=32'] Exploring Operation: 39-32=7, Resulting Numbers: [67, 7] Generated Node #0,3,0: 74:[67, 7] Operation: 39-32=7 Exploring Operation: 39+32=71, Resulting Numbers: [67, 71] Generated Node #0,3,1: 74:[67, 71] Operation: 39+32=71 Exploring Operation: 67-39=28, Resulting Numbers: [32, 28] Generated Node #0,3,2: 74:[32, 28] Operation: 67-39=28 Exploring Operation: 67-32=35, Resulting Numbers: [39, 35] Generated Node #0,3,3: 74:[39, 35] Operation: 67-32=35 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[39, 35], Operations: ['52-20=32', '67-32=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,74 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[39, 67, 20, 52], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [39, 67, 32] Generated Node #0,3: 74:[39, 67, 32] Operation: 52-20=32 Moving to Node #0,3 Current State: 74:[39, 67, 32], Operations: ['52-20=32'] Exploring Operation: 67-32=35, Resulting Numbers: [39, 35] Generated Node #0,3,3: 74:[39, 35] Operation: 67-32=35 Moving to Node #0,3,3 Current State: 74:[39, 35], Operations: ['52-20=32', '67-32=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 4, 73, 63, 38 ]
78
[ "73-63=10", "4*10=40", "38+40=78" ]
Current State: 78:[4, 73, 63, 38], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [4, 38, 10] Generated Node #2: [4, 38, 10] from Operation: 73-63=10 Current State: 78:[4, 38, 10], Operations: ['73-63=10'] Exploring Operation: 4*10=40, Resulting Numbers: [38, 40] Generated Node #3: [38, 40] from Operation: 4*10=40 Current State: 78:[38, 40], Operations: ['73-63=10', '4*10=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[4, 73, 63, 38], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [4, 38, 10] Generated Node #0,0: 78:[4, 38, 10] Operation: 73-63=10 Exploring Operation: 4+73=77, Resulting Numbers: [63, 38, 77] Generated Node #0,1: 78:[63, 38, 77] Operation: 4+73=77 Exploring Operation: 4+63=67, Resulting Numbers: [73, 38, 67] Generated Node #0,2: 78:[73, 38, 67] Operation: 4+63=67 Exploring Operation: 63-38=25, Resulting Numbers: [4, 73, 25] Generated Node #0,3: 78:[4, 73, 25] Operation: 63-38=25 Exploring Operation: 73-38=35, Resulting Numbers: [4, 63, 35] Generated Node #0,4: 78:[4, 63, 35] Operation: 73-38=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[4, 38, 10], Operations: ['73-63=10'] Exploring Operation: 4*10=40, Resulting Numbers: [38, 40] Generated Node #0,0,0: 78:[38, 40] Operation: 4*10=40 Exploring Operation: 4+10=14, Resulting Numbers: [38, 14] Generated Node #0,0,1: 78:[38, 14] Operation: 4+10=14 Exploring Operation: 4+38=42, Resulting Numbers: [10, 42] Generated Node #0,0,2: 78:[10, 42] Operation: 4+38=42 Exploring Operation: 38-10=28, Resulting Numbers: [4, 28] Generated Node #0,0,3: 78:[4, 28] Operation: 38-10=28 Exploring Operation: 10-4=6, Resulting Numbers: [38, 6] Generated Node #0,0,4: 78:[38, 6] Operation: 10-4=6 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 78:[38, 6], Operations: ['73-63=10', '10-4=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,78 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,78 unequal: No Solution No 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: 78:[38, 40], Operations: ['73-63=10', '4*10=40'] Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,78 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[4, 73, 63, 38], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [4, 38, 10] Generated Node #0,0: 78:[4, 38, 10] Operation: 73-63=10 Moving to Node #0,0 Current State: 78:[4, 38, 10], Operations: ['73-63=10'] Exploring Operation: 4*10=40, Resulting Numbers: [38, 40] Generated Node #0,0,0: 78:[38, 40] Operation: 4*10=40 Moving to Node #0,0,0 Current State: 78:[38, 40], Operations: ['73-63=10', '4*10=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 20, 4, 12, 5 ]
76
[ "20-4=16", "12*5=60", "16+60=76" ]
Current State: 76:[20, 4, 12, 5], Operations: [] Exploring Operation: 20-4=16, Resulting Numbers: [12, 5, 16] Generated Node #2: [12, 5, 16] from Operation: 20-4=16 Current State: 76:[12, 5, 16], Operations: ['20-4=16'] Exploring Operation: 12*5=60, Resulting Numbers: [16, 60] Generated Node #3: [16, 60] from Operation: 12*5=60 Current State: 76:[16, 60], Operations: ['20-4=16', '12*5=60'] Exploring Operation: 16+60=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[20, 4, 12, 5], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [20, 5, 3] Generated Node #0,0: 76:[20, 5, 3] Operation: 12/4=3 Exploring Operation: 20-12=8, Resulting Numbers: [4, 5, 8] Generated Node #0,1: 76:[4, 5, 8] Operation: 20-12=8 Exploring Operation: 12-5=7, Resulting Numbers: [20, 4, 7] Generated Node #0,2: 76:[20, 4, 7] Operation: 12-5=7 Exploring Operation: 12+5=17, Resulting Numbers: [20, 4, 17] Generated Node #0,3: 76:[20, 4, 17] Operation: 12+5=17 Moving to Node #0,0 Current State: 76:[20, 5, 3], Operations: ['12/4=3'] Exploring Operation: 20-3=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 76:[5, 17] Operation: 20-3=17 Exploring Operation: 5-3=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 76:[20, 2] Operation: 5-3=2 Exploring Operation: 20/5=4, Resulting Numbers: [3, 4] Generated Node #0,0,2: 76:[3, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [3, 15] Generated Node #0,0,3: 76:[3, 15] Operation: 20-5=15 Moving to Node #0,3 Current State: 76:[20, 4, 17], Operations: ['12+5=17'] Exploring Operation: 20/4=5, Resulting Numbers: [17, 5] Generated Node #0,3,0: 76:[17, 5] Operation: 20/4=5 Exploring Operation: 20+17=37, Resulting Numbers: [4, 37] Generated Node #0,3,1: 76:[4, 37] Operation: 20+17=37 Exploring Operation: 20-17=3, Resulting Numbers: [4, 3] Generated Node #0,3,2: 76:[4, 3] Operation: 20-17=3 Exploring Operation: 4+17=21, Resulting Numbers: [20, 21] Generated Node #0,3,3: 76:[20, 21] Operation: 4+17=21 Moving to Node #0,2 Current State: 76:[20, 4, 7], Operations: ['12-5=7'] Exploring Operation: 20-4=16, Resulting Numbers: [7, 16] Generated Node #0,2,0: 76:[7, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [7, 5] Generated Node #0,2,1: 76:[7, 5] Operation: 20/4=5 Exploring Operation: 7-4=3, Resulting Numbers: [20, 3] Generated Node #0,2,2: 76:[20, 3] Operation: 7-4=3 Exploring Operation: 20-7=13, Resulting Numbers: [4, 13] Generated Node #0,2,3: 76:[4, 13] Operation: 20-7=13 Moving to Node #0,1 Current State: 76:[4, 5, 8], Operations: ['20-12=8'] Exploring Operation: 8-5=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 76:[4, 3] Operation: 8-5=3 Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 76:[5, 2] Operation: 8/4=2 Exploring Operation: 5*8=40, Resulting Numbers: [4, 40] Generated Node #0,1,2: 76:[4, 40] Operation: 5*8=40 Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,1,3: 76:[5, 4] Operation: 8-4=4 Moving to Node #0,0,1 Current State: 76:[20, 2], Operations: ['12/4=3', '5-3=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[4, 3], Operations: ['12+5=17', '20-17=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[5, 2], Operations: ['20-12=8', '8/4=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[5, 4], Operations: ['20-12=8', '8-4=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[4, 3], Operations: ['20-12=8', '8-5=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[3, 4], Operations: ['12/4=3', '20/5=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[4, 37], Operations: ['12+5=17', '20+17=37'] Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,76 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[20, 3], Operations: ['12-5=7', '7-4=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[4, 40], Operations: ['20-12=8', '5*8=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,76 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[17, 5], Operations: ['12+5=17', '20/4=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[5, 17], Operations: ['12/4=3', '20-3=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[20, 21], Operations: ['12+5=17', '4+17=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,76 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[7, 5], Operations: ['12-5=7', '20/4=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[3, 15], Operations: ['12/4=3', '20-5=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[7, 16], Operations: ['12-5=7', '20-4=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,76 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[4, 13], Operations: ['12-5=7', '20-7=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,76 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 45, 36, 31, 66 ]
57
[ "36-31=5", "45/5=9", "66-9=57" ]
Current State: 57:[45, 36, 31, 66], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [45, 66, 5] Generated Node #2: [45, 66, 5] from Operation: 36-31=5 Current State: 57:[45, 66, 5], Operations: ['36-31=5'] Exploring Operation: 45/5=9, Resulting Numbers: [66, 9] Generated Node #3: [66, 9] from Operation: 45/5=9 Current State: 57:[66, 9], Operations: ['36-31=5', '45/5=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[45, 36, 31, 66], Operations: [] Exploring Operation: 45-36=9, Resulting Numbers: [31, 66, 9] Generated Node #0,0: 57:[31, 66, 9] Operation: 45-36=9 Exploring Operation: 36-31=5, Resulting Numbers: [45, 66, 5] Generated Node #0,1: 57:[45, 66, 5] Operation: 36-31=5 Exploring Operation: 45-31=14, Resulting Numbers: [36, 66, 14] Generated Node #0,2: 57:[36, 66, 14] Operation: 45-31=14 Exploring Operation: 66-45=21, Resulting Numbers: [36, 31, 21] Generated Node #0,3: 57:[36, 31, 21] Operation: 66-45=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[45, 66, 5], Operations: ['36-31=5'] Exploring Operation: 66-5=61, Resulting Numbers: [45, 61] Generated Node #0,1,0: 57:[45, 61] Operation: 66-5=61 Exploring Operation: 45+5=50, Resulting Numbers: [66, 50] Generated Node #0,1,1: 57:[66, 50] Operation: 45+5=50 Exploring Operation: 66-45=21, Resulting Numbers: [5, 21] Generated Node #0,1,2: 57:[5, 21] Operation: 66-45=21 Exploring Operation: 45/5=9, Resulting Numbers: [66, 9] Generated Node #0,1,3: 57:[66, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[5, 21], Operations: ['36-31=5', '66-45=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,57 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,57 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 57:[66, 9], Operations: ['36-31=5', '45/5=9'] Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,57 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[45, 36, 31, 66], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [45, 66, 5] Generated Node #0,1: 57:[45, 66, 5] Operation: 36-31=5 Moving to Node #0,1 Current State: 57:[45, 66, 5], Operations: ['36-31=5'] Exploring Operation: 45/5=9, Resulting Numbers: [66, 9] Generated Node #0,1,3: 57:[66, 9] Operation: 45/5=9 Moving to Node #0,1,3 Current State: 57:[66, 9], Operations: ['36-31=5', '45/5=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 64, 51, 23, 66 ]
79
[ "66-64=2", "51*2=102", "102-23=79" ]
Current State: 79:[64, 51, 23, 66], Operations: [] Exploring Operation: 66-64=2, Resulting Numbers: [51, 23, 2] Generated Node #2: [51, 23, 2] from Operation: 66-64=2 Current State: 79:[51, 23, 2], Operations: ['66-64=2'] Exploring Operation: 51*2=102, Resulting Numbers: [23, 102] Generated Node #3: [23, 102] from Operation: 51*2=102 Current State: 79:[23, 102], Operations: ['66-64=2', '51*2=102'] Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[64, 51, 23, 66], Operations: [] Exploring Operation: 51+23=74, Resulting Numbers: [64, 66, 74] Generated Node #0,0: 79:[64, 66, 74] Operation: 51+23=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[64, 66, 74], Operations: ['51+23=74'] Exploring Operation: 64+66=130, Resulting Numbers: [74, 130] Generated Node #0,0,0: 79:[74, 130] Operation: 64+66=130 Moving to Node #0,0,0 Current State: 79:[74, 130], Operations: ['51+23=74', '64+66=130'] Exploring Operation: 130-74=56, Resulting Numbers: [56] 56,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 34, 2, 86 ]
20
[ "16*2=32", "86-34=52", "52-32=20" ]
Current State: 20:[16, 34, 2, 86], Operations: [] Exploring Operation: 16*2=32, Resulting Numbers: [34, 86, 32] Generated Node #2: [34, 86, 32] from Operation: 16*2=32 Current State: 20:[34, 86, 32], Operations: ['16*2=32'] Exploring Operation: 86-34=52, Resulting Numbers: [32, 52] Generated Node #3: [32, 52] from Operation: 86-34=52 Current State: 20:[32, 52], Operations: ['16*2=32', '86-34=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[16, 34, 2, 86], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [16, 2, 52] Generated Node #0,0: 20:[16, 2, 52] Operation: 86-34=52 Exploring Operation: 86/2=43, Resulting Numbers: [16, 34, 43] Generated Node #0,1: 20:[16, 34, 43] Operation: 86/2=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[16, 2, 52], Operations: ['86-34=52'] Exploring Operation: 52/2=26, Resulting Numbers: [16, 26] Generated Node #0,0,0: 20:[16, 26] Operation: 52/2=26 Exploring Operation: 52-16=36, Resulting Numbers: [2, 36] Generated Node #0,0,1: 20:[2, 36] Operation: 52-16=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[16, 26], Operations: ['86-34=52', '52/2=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,20 unequal: No Solution No 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: 20:[2, 36], Operations: ['86-34=52', '52-16=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,20 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: 20:[16, 34, 43], Operations: ['86/2=43'] Exploring Operation: 43-16=27, Resulting Numbers: [34, 27] Generated Node #0,1,0: 20:[34, 27] Operation: 43-16=27 Exploring Operation: 43-34=9, Resulting Numbers: [16, 9] Generated Node #0,1,1: 20:[16, 9] Operation: 43-34=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[16, 9], Operations: ['86/2=43', '43-34=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,20 unequal: No Solution No 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: 20:[34, 27], Operations: ['86/2=43', '43-16=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 18, 23, 32, 10 ]
18
[ "23-18=5", "10*5=50", "50-32=18" ]
Current State: 18:[18, 23, 32, 10], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [32, 10, 5] Generated Node #2: [32, 10, 5] from Operation: 23-18=5 Current State: 18:[32, 10, 5], Operations: ['23-18=5'] Exploring Operation: 10*5=50, Resulting Numbers: [32, 50] Generated Node #3: [32, 50] from Operation: 10*5=50 Current State: 18:[32, 50], Operations: ['23-18=5', '10*5=50'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[18, 23, 32, 10], Operations: [] Exploring Operation: 32-18=14, Resulting Numbers: [23, 10, 14] Generated Node #0,0: 18:[23, 10, 14] Operation: 32-18=14 Exploring Operation: 23-18=5, Resulting Numbers: [32, 10, 5] Generated Node #0,1: 18:[32, 10, 5] Operation: 23-18=5 Exploring Operation: 23-10=13, Resulting Numbers: [18, 32, 13] Generated Node #0,2: 18:[18, 32, 13] Operation: 23-10=13 Exploring Operation: 32-23=9, Resulting Numbers: [18, 10, 9] Generated Node #0,3: 18:[18, 10, 9] Operation: 32-23=9 Exploring Operation: 32-10=22, Resulting Numbers: [18, 23, 22] Generated Node #0,4: 18:[18, 23, 22] Operation: 32-10=22 Moving to Node #0,3 Current State: 18:[18, 10, 9], Operations: ['32-23=9'] Exploring Operation: 18-10=8, Resulting Numbers: [9, 8] Generated Node #0,3,0: 18:[9, 8] Operation: 18-10=8 Exploring Operation: 10+9=19, Resulting Numbers: [18, 19] Generated Node #0,3,1: 18:[18, 19] Operation: 10+9=19 Exploring Operation: 18/9=2, Resulting Numbers: [10, 2] Generated Node #0,3,2: 18:[10, 2] Operation: 18/9=2 Exploring Operation: 10-9=1, Resulting Numbers: [18, 1] Generated Node #0,3,3: 18:[18, 1] Operation: 10-9=1 Exploring Operation: 18-9=9, Resulting Numbers: [10, 9] Generated Node #0,3,4: 18:[10, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[9, 8], Operations: ['32-23=9', '18-10=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,18 unequal: No Solution No 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: 18:[18, 19], Operations: ['32-23=9', '10+9=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,18 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,18 unequal: No Solution No 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: 18:[10, 2], Operations: ['32-23=9', '18/9=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,18 unequal: No Solution No 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: 18:[18, 1], Operations: ['32-23=9', '10-9=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[18, 23, 32, 10], Operations: [] Exploring Operation: 32-23=9, Resulting Numbers: [18, 10, 9] Generated Node #0,3: 18:[18, 10, 9] Operation: 32-23=9 Moving to Node #0,3 Current State: 18:[18, 10, 9], Operations: ['32-23=9'] Exploring Operation: 10-9=1, Resulting Numbers: [18, 1] Generated Node #0,3,3: 18:[18, 1] Operation: 10-9=1 Moving to Node #0,3,3 Current State: 18:[18, 1], Operations: ['32-23=9', '10-9=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 2, 54, 6, 60 ]
46
[ "2+54=56", "60/6=10", "56-10=46" ]
Current State: 46:[2, 54, 6, 60], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [6, 60, 56] Generated Node #2: [6, 60, 56] from Operation: 2+54=56 Current State: 46:[6, 60, 56], Operations: ['2+54=56'] Exploring Operation: 60/6=10, Resulting Numbers: [56, 10] Generated Node #3: [56, 10] from Operation: 60/6=10 Current State: 46:[56, 10], Operations: ['2+54=56', '60/6=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[2, 54, 6, 60], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [2, 54, 10] Generated Node #0,0: 46:[2, 54, 10] Operation: 60/6=10 Exploring Operation: 54-6=48, Resulting Numbers: [2, 60, 48] Generated Node #0,1: 46:[2, 60, 48] Operation: 54-6=48 Exploring Operation: 60-6=54, Resulting Numbers: [2, 54, 54] Generated Node #0,2: 46:[2, 54, 54] Operation: 60-6=54 Exploring Operation: 60-54=6, Resulting Numbers: [2, 6, 6] Generated Node #0,3: 46:[2, 6, 6] Operation: 60-54=6 Moving to Node #0,3 Current State: 46:[2, 6, 6], Operations: ['60-54=6'] Exploring Operation: 6/6=1, Resulting Numbers: [2, 1] Generated Node #0,3,0: 46:[2, 1] Operation: 6/6=1 Exploring Operation: 6-6=0, Resulting Numbers: [2, 0] Generated Node #0,3,1: 46:[2, 0] Operation: 6-6=0 Exploring Operation: 6/2=3, Resulting Numbers: [6, 3] Generated Node #0,3,2: 46:[6, 3] Operation: 6/2=3 Exploring Operation: 6/2=3, Resulting Numbers: [6, 3] Generated Node #0,3,3: 46:[6, 3] Operation: 6/2=3 Moving to Node #0,1 Current State: 46:[2, 60, 48], Operations: ['54-6=48'] Exploring Operation: 60-2=58, Resulting Numbers: [48, 58] Generated Node #0,1,0: 46:[48, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [48, 30] Generated Node #0,1,1: 46:[48, 30] Operation: 60/2=30 Exploring Operation: 48-2=46, Resulting Numbers: [60, 46] Generated Node #0,1,2: 46:[60, 46] Operation: 48-2=46 Exploring Operation: 60-48=12, Resulting Numbers: [2, 12] Generated Node #0,1,3: 46:[2, 12] Operation: 60-48=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[48, 30], Operations: ['54-6=48', '60/2=30'] Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,46 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,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:[2, 12], Operations: ['54-6=48', '60-48=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,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:[48, 58], Operations: ['54-6=48', '60-2=58'] Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,46 unequal: No Solution Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,46 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,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,2 Current State: 46:[60, 46], Operations: ['54-6=48', '48-2=46'] Exploring Operation: 60+46=106, Resulting Numbers: [106] 106,46 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 60*46=2760, Resulting Numbers: [2760] 2760,46 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: 46:[2, 54, 10], Operations: ['60/6=10'] Exploring Operation: 10/2=5, Resulting Numbers: [54, 5] Generated Node #0,0,0: 46:[54, 5] Operation: 10/2=5 Exploring Operation: 54-10=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 46:[2, 44] Operation: 54-10=44 Exploring Operation: 2*10=20, Resulting Numbers: [54, 20] Generated Node #0,0,2: 46:[54, 20] Operation: 2*10=20 Exploring Operation: 54/2=27, Resulting Numbers: [10, 27] Generated Node #0,0,3: 46:[10, 27] Operation: 54/2=27 Moving to Node #0,2 Current State: 46:[2, 54, 54], Operations: ['60-6=54'] Exploring Operation: 54/2=27, Resulting Numbers: [54, 27] Generated Node #0,2,0: 46:[54, 27] Operation: 54/2=27 Exploring Operation: 54-54=0, Resulting Numbers: [2, 0] Generated Node #0,2,1: 46:[2, 0] Operation: 54-54=0 Exploring Operation: 54/2=27, Resulting Numbers: [54, 27] Generated Node #0,2,2: 46:[54, 27] Operation: 54/2=27 Exploring Operation: 54/54=1, Resulting Numbers: [2, 1] Generated Node #0,2,3: 46:[2, 1] Operation: 54/54=1 Moving to Node #0,3,0 Current State: 46:[2, 1], Operations: ['60-54=6', '6/6=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[2, 1], Operations: ['60-6=54', '54/54=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[2, 44], Operations: ['60/6=10', '54-10=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[2, 54, 6, 60], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [2, 54, 10] Generated Node #0,0: 46:[2, 54, 10] Operation: 60/6=10 Moving to Node #0,0 Current State: 46:[2, 54, 10], Operations: ['60/6=10'] Exploring Operation: 54-10=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 46:[2, 44] Operation: 54-10=44 Moving to Node #0,0,1 Current State: 46:[2, 44], Operations: ['60/6=10', '54-10=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.957465
hs_4
sum_heuristic
[ 28, 59, 70, 8 ]
31
[ "59-28=31", "70-8=62", "62-31=31" ]
Current State: 31:[28, 59, 70, 8], Operations: [] Exploring Operation: 59-28=31, Resulting Numbers: [70, 8, 31] Generated Node #2: [70, 8, 31] from Operation: 59-28=31 Current State: 31:[70, 8, 31], Operations: ['59-28=31'] Exploring Operation: 70-8=62, Resulting Numbers: [31, 62] Generated Node #3: [31, 62] from Operation: 70-8=62 Current State: 31:[31, 62], Operations: ['59-28=31', '70-8=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[28, 59, 70, 8], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [59, 8, 42] Generated Node #0,0: 31:[59, 8, 42] Operation: 70-28=42 Exploring Operation: 70-8=62, Resulting Numbers: [28, 59, 62] Generated Node #0,1: 31:[28, 59, 62] Operation: 70-8=62 Exploring Operation: 59-28=31, Resulting Numbers: [70, 8, 31] Generated Node #0,2: 31:[70, 8, 31] Operation: 59-28=31 Exploring Operation: 59-8=51, Resulting Numbers: [28, 70, 51] Generated Node #0,3: 31:[28, 70, 51] Operation: 59-8=51 Exploring Operation: 70-59=11, Resulting Numbers: [28, 8, 11] Generated Node #0,4: 31:[28, 8, 11] Operation: 70-59=11 Moving to Node #0,4 Current State: 31:[28, 8, 11], Operations: ['70-59=11'] Exploring Operation: 28+8=36, Resulting Numbers: [11, 36] Generated Node #0,4,0: 31:[11, 36] Operation: 28+8=36 Exploring Operation: 11-8=3, Resulting Numbers: [28, 3] Generated Node #0,4,1: 31:[28, 3] Operation: 11-8=3 Exploring Operation: 28-8=20, Resulting Numbers: [11, 20] Generated Node #0,4,2: 31:[11, 20] Operation: 28-8=20 Exploring Operation: 8+11=19, Resulting Numbers: [28, 19] Generated Node #0,4,3: 31:[28, 19] Operation: 8+11=19 Exploring Operation: 28+11=39, Resulting Numbers: [8, 39] Generated Node #0,4,4: 31:[8, 39] Operation: 28+11=39 Moving to Node #0,1 Current State: 31:[28, 59, 62], Operations: ['70-8=62'] Exploring Operation: 62-28=34, Resulting Numbers: [59, 34] Generated Node #0,1,0: 31:[59, 34] Operation: 62-28=34 Exploring Operation: 28+62=90, Resulting Numbers: [59, 90] Generated Node #0,1,1: 31:[59, 90] Operation: 28+62=90 Exploring Operation: 62-59=3, Resulting Numbers: [28, 3] Generated Node #0,1,2: 31:[28, 3] Operation: 62-59=3 Exploring Operation: 28+59=87, Resulting Numbers: [62, 87] Generated Node #0,1,3: 31:[62, 87] Operation: 28+59=87 Exploring Operation: 59-28=31, Resulting Numbers: [62, 31] Generated Node #0,1,4: 31:[62, 31] Operation: 59-28=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[59, 34], Operations: ['70-8=62', '62-28=34'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[28, 3], Operations: ['70-8=62', '62-59=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[28, 59, 70, 8], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [28, 59, 62] Generated Node #0,1: 31:[28, 59, 62] Operation: 70-8=62 Moving to Node #0,1 Current State: 31:[28, 59, 62], Operations: ['70-8=62'] Exploring Operation: 62-59=3, Resulting Numbers: [28, 3] Generated Node #0,1,2: 31:[28, 3] Operation: 62-59=3 Moving to Node #0,1,2 Current State: 31:[28, 3], Operations: ['70-8=62', '62-59=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 9, 3, 27, 93 ]
92
[ "9*3=27", "27/27=1", "93-1=92" ]
Current State: 92:[9, 3, 27, 93], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [27, 93, 27] Generated Node #2: [27, 93, 27] from Operation: 9*3=27 Current State: 92:[27, 93, 27], Operations: ['9*3=27'] Exploring Operation: 27/27=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 27/27=1 Current State: 92:[93, 1], Operations: ['9*3=27', '27/27=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[9, 3, 27, 93], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [3, 93, 3] Generated Node #0,0: 92:[3, 93, 3] Operation: 27/9=3 Moving to Node #0,0 Current State: 92:[3, 93, 3], Operations: ['27/9=3'] Exploring Operation: 3/3=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 92:[93, 1] Operation: 3/3=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[93, 1], Operations: ['27/9=3', '3/3=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[9, 3, 27, 93], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [3, 93, 3] Generated Node #0,0: 92:[3, 93, 3] Operation: 27/9=3 Moving to Node #0,0 Current State: 92:[3, 93, 3], Operations: ['27/9=3'] Exploring Operation: 3/3=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 92:[93, 1] Operation: 3/3=1 Moving to Node #0,0,0 Current State: 92:[93, 1], Operations: ['27/9=3', '3/3=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 37, 20, 28 ]
21
[ "28-20=8", "2*8=16", "37-16=21" ]
Current State: 21:[2, 37, 20, 28], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [2, 37, 8] Generated Node #2: [2, 37, 8] from Operation: 28-20=8 Current State: 21:[2, 37, 8], Operations: ['28-20=8'] Exploring Operation: 2*8=16, Resulting Numbers: [37, 16] Generated Node #3: [37, 16] from Operation: 2*8=16 Current State: 21:[37, 16], Operations: ['28-20=8', '2*8=16'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[2, 37, 20, 28], Operations: [] Exploring Operation: 37-28=9, Resulting Numbers: [2, 20, 9] Generated Node #0,0: 21:[2, 20, 9] Operation: 37-28=9 Exploring Operation: 37-20=17, Resulting Numbers: [2, 28, 17] Generated Node #0,1: 21:[2, 28, 17] Operation: 37-20=17 Exploring Operation: 28-20=8, Resulting Numbers: [2, 37, 8] Generated Node #0,2: 21:[2, 37, 8] Operation: 28-20=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[2, 20, 9], Operations: ['37-28=9'] Exploring Operation: 9-2=7, Resulting Numbers: [20, 7] Generated Node #0,0,0: 21:[20, 7] Operation: 9-2=7 Exploring Operation: 2*9=18, Resulting Numbers: [20, 18] Generated Node #0,0,1: 21:[20, 18] Operation: 2*9=18 Exploring Operation: 2+20=22, Resulting Numbers: [9, 22] Generated Node #0,0,2: 21:[9, 22] Operation: 2+20=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[20, 7], Operations: ['37-28=9', '9-2=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,21 unequal: No Solution No 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: 21:[9, 22], Operations: ['37-28=9', '2+20=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,21 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,21 unequal: No Solution No 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: 21:[20, 18], Operations: ['37-28=9', '2*9=18'] Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,21 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,21 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: 21:[2, 28, 17], Operations: ['37-20=17'] Exploring Operation: 28-17=11, Resulting Numbers: [2, 11] Generated Node #0,1,0: 21:[2, 11] Operation: 28-17=11 Exploring Operation: 28-2=26, Resulting Numbers: [17, 26] Generated Node #0,1,1: 21:[17, 26] Operation: 28-2=26 Exploring Operation: 2+17=19, Resulting Numbers: [28, 19] Generated Node #0,1,2: 21:[28, 19] Operation: 2+17=19 Moving to Node #0,1,0 Current State: 21:[2, 11], Operations: ['37-20=17', '28-17=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[17, 26], Operations: ['37-20=17', '28-2=26'] Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[28, 19], Operations: ['37-20=17', '2+17=19'] Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,21 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,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,2 Current State: 21:[2, 37, 8], Operations: ['28-20=8'] Exploring Operation: 8-2=6, Resulting Numbers: [37, 6] Generated Node #0,2,0: 21:[37, 6] Operation: 8-2=6 Exploring Operation: 37-8=29, Resulting Numbers: [2, 29] Generated Node #0,2,1: 21:[2, 29] Operation: 37-8=29 Exploring Operation: 37-2=35, Resulting Numbers: [8, 35] Generated Node #0,2,2: 21:[8, 35] Operation: 37-2=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[2, 29], Operations: ['28-20=8', '37-8=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,21 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,21 unequal: No Solution No 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: 21:[8, 35], Operations: ['28-20=8', '37-2=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,21 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,21 unequal: No Solution No 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: 21:[37, 6], Operations: ['28-20=8', '8-2=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,21 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 62, 39, 49, 10 ]
91
[ "62-49=13", "10*13=130", "130-39=91" ]
Current State: 91:[62, 39, 49, 10], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [39, 10, 13] Generated Node #2: [39, 10, 13] from Operation: 62-49=13 Current State: 91:[39, 10, 13], Operations: ['62-49=13'] Exploring Operation: 10*13=130, Resulting Numbers: [39, 130] Generated Node #3: [39, 130] from Operation: 10*13=130 Current State: 91:[39, 130], Operations: ['62-49=13', '10*13=130'] Exploring Operation: 130-39=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[62, 39, 49, 10], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [39, 10, 13] Generated Node #0,0: 91:[39, 10, 13] Operation: 62-49=13 Exploring Operation: 39+49=88, Resulting Numbers: [62, 10, 88] Generated Node #0,1: 91:[62, 10, 88] Operation: 39+49=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[39, 10, 13], Operations: ['62-49=13'] Exploring Operation: 39/13=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 91:[10, 3] Operation: 39/13=3 Exploring Operation: 39-10=29, Resulting Numbers: [13, 29] Generated Node #0,0,1: 91:[13, 29] Operation: 39-10=29 Moving to Node #0,0,0 Current State: 91:[10, 3], Operations: ['62-49=13', '39/13=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[13, 29], Operations: ['62-49=13', '39-10=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,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:[62, 10, 88], Operations: ['39+49=88'] Exploring Operation: 88-62=26, Resulting Numbers: [10, 26] Generated Node #0,1,0: 91:[10, 26] Operation: 88-62=26 Exploring Operation: 62+10=72, Resulting Numbers: [88, 72] Generated Node #0,1,1: 91:[88, 72] Operation: 62+10=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[10, 26], Operations: ['39+49=88', '88-62=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[88, 72], Operations: ['39+49=88', '62+10=72'] Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 88+72=160, Resulting Numbers: [160] 160,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 28, 54, 8, 26 ]
84
[ "28*54=1512", "26-8=18", "1512/18=84" ]
Current State: 84:[28, 54, 8, 26], Operations: [] Exploring Operation: 28*54=1512, Resulting Numbers: [8, 26, 1512] Generated Node #2: [8, 26, 1512] from Operation: 28*54=1512 Current State: 84:[8, 26, 1512], Operations: ['28*54=1512'] Exploring Operation: 26-8=18, Resulting Numbers: [1512, 18] Generated Node #3: [1512, 18] from Operation: 26-8=18 Current State: 84:[1512, 18], Operations: ['28*54=1512', '26-8=18'] Exploring Operation: 1512/18=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[28, 54, 8, 26], Operations: [] Exploring Operation: 54-26=28, Resulting Numbers: [28, 8, 28] Generated Node #0,0: 84:[28, 8, 28] Operation: 54-26=28 Moving to Node #0,0 Current State: 84:[28, 8, 28], Operations: ['54-26=28'] Exploring Operation: 28-8=20, Resulting Numbers: [28, 20] Generated Node #0,0,0: 84:[28, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[28, 20], Operations: ['54-26=28', '28-8=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,84 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
[ 92, 79, 51, 69 ]
31
[ "92-79=13", "69-51=18", "13+18=31" ]
Current State: 31:[92, 79, 51, 69], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [51, 69, 13] Generated Node #2: [51, 69, 13] from Operation: 92-79=13 Current State: 31:[51, 69, 13], Operations: ['92-79=13'] Exploring Operation: 69-51=18, Resulting Numbers: [13, 18] Generated Node #3: [13, 18] from Operation: 69-51=18 Current State: 31:[13, 18], Operations: ['92-79=13', '69-51=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[92, 79, 51, 69], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [51, 69, 13] Generated Node #0,0: 31:[51, 69, 13] Operation: 92-79=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[51, 69, 13], Operations: ['92-79=13'] Exploring Operation: 69-51=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 31:[13, 18] Operation: 69-51=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[13, 18], Operations: ['92-79=13', '69-51=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[92, 79, 51, 69], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [51, 69, 13] Generated Node #0,0: 31:[51, 69, 13] Operation: 92-79=13 Moving to Node #0,0 Current State: 31:[51, 69, 13], Operations: ['92-79=13'] Exploring Operation: 69-51=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 31:[13, 18] Operation: 69-51=18 Moving to Node #0,0,0 Current State: 31:[13, 18], Operations: ['92-79=13', '69-51=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 59, 52, 77, 59 ]
25
[ "59+52=111", "77+59=136", "136-111=25" ]
Current State: 25:[59, 52, 77, 59], Operations: [] Exploring Operation: 59+52=111, Resulting Numbers: [77, 111] Generated Node #2: [77, 111] from Operation: 59+52=111 Current State: 25:[77, 111], Operations: ['59+52=111'] Exploring Operation: 77+59=136, Resulting Numbers: [111, 136] Generated Node #3: [111, 136] from Operation: 77+59=136 Current State: 25:[111, 136], Operations: ['59+52=111', '77+59=136'] Exploring Operation: 136-111=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[59, 52, 77, 59], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [59, 59, 25] Generated Node #0,0: 25:[59, 59, 25] Operation: 77-52=25 Exploring Operation: 77-59=18, Resulting Numbers: [52, 59, 18] Generated Node #0,1: 25:[52, 59, 18] Operation: 77-59=18 Moving to Node #0,0 Current State: 25:[59, 59, 25], Operations: ['77-52=25'] Exploring Operation: 59-59=0, Resulting Numbers: [25, 0] Generated Node #0,0,0: 25:[25, 0] Operation: 59-59=0 Exploring Operation: 59/59=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 25:[25, 1] Operation: 59/59=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[25, 1], Operations: ['77-52=25', '59/59=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[59, 52, 77, 59], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [59, 59, 25] Generated Node #0,0: 25:[59, 59, 25] Operation: 77-52=25 Moving to Node #0,0 Current State: 25:[59, 59, 25], Operations: ['77-52=25'] Exploring Operation: 59/59=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 25:[25, 1] Operation: 59/59=1 Moving to Node #0,0,1 Current State: 25:[25, 1], Operations: ['77-52=25', '59/59=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 22, 53, 12, 57 ]
60
[ "53+57=110", "110/22=5", "12*5=60" ]
Current State: 60:[22, 53, 12, 57], Operations: [] Exploring Operation: 53+57=110, Resulting Numbers: [22, 12, 110] Generated Node #2: [22, 12, 110] from Operation: 53+57=110 Current State: 60:[22, 12, 110], Operations: ['53+57=110'] Exploring Operation: 110/22=5, Resulting Numbers: [12, 5] Generated Node #3: [12, 5] from Operation: 110/22=5 Current State: 60:[12, 5], Operations: ['53+57=110', '110/22=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[22, 53, 12, 57], Operations: [] Exploring Operation: 53-22=31, Resulting Numbers: [12, 57, 31] Generated Node #0,0: 60:[12, 57, 31] Operation: 53-22=31 Exploring Operation: 22-12=10, Resulting Numbers: [53, 57, 10] Generated Node #0,1: 60:[53, 57, 10] Operation: 22-12=10 Exploring Operation: 53+12=65, Resulting Numbers: [22, 57, 65] Generated Node #0,2: 60:[22, 57, 65] Operation: 53+12=65 Exploring Operation: 57-53=4, Resulting Numbers: [22, 12, 4] Generated Node #0,3: 60:[22, 12, 4] Operation: 57-53=4 Moving to Node #0,3 Current State: 60:[22, 12, 4], Operations: ['57-53=4'] Exploring Operation: 12/4=3, Resulting Numbers: [22, 3] Generated Node #0,3,0: 60:[22, 3] Operation: 12/4=3 Exploring Operation: 22-12=10, Resulting Numbers: [4, 10] Generated Node #0,3,1: 60:[4, 10] Operation: 22-12=10 Exploring Operation: 22-4=18, Resulting Numbers: [12, 18] Generated Node #0,3,2: 60:[12, 18] Operation: 22-4=18 Exploring Operation: 12+4=16, Resulting Numbers: [22, 16] Generated Node #0,3,3: 60:[22, 16] Operation: 12+4=16 Moving to Node #0,0 Current State: 60:[12, 57, 31], Operations: ['53-22=31'] Exploring Operation: 57-12=45, Resulting Numbers: [31, 45] Generated Node #0,0,0: 60:[31, 45] Operation: 57-12=45 Exploring Operation: 31-12=19, Resulting Numbers: [57, 19] Generated Node #0,0,1: 60:[57, 19] Operation: 31-12=19 Exploring Operation: 12+57=69, Resulting Numbers: [31, 69] Generated Node #0,0,2: 60:[31, 69] Operation: 12+57=69 Exploring Operation: 57-31=26, Resulting Numbers: [12, 26] Generated Node #0,0,3: 60:[12, 26] Operation: 57-31=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[57, 19], Operations: ['53-22=31', '31-12=19'] Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,60 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,60 unequal: No Solution No 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: 60:[12, 26], Operations: ['53-22=31', '57-31=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,60 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,60 unequal: No Solution No 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: 60:[31, 69], Operations: ['53-22=31', '12+57=69'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,60 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,60 unequal: No Solution No 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: 60:[31, 45], Operations: ['53-22=31', '57-12=45'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,60 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,60 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: 60:[22, 57, 65], Operations: ['53+12=65'] Exploring Operation: 22+57=79, Resulting Numbers: [65, 79] Generated Node #0,2,0: 60:[65, 79] Operation: 22+57=79 Exploring Operation: 57-22=35, Resulting Numbers: [65, 35] Generated Node #0,2,1: 60:[65, 35] Operation: 57-22=35 Exploring Operation: 65-57=8, Resulting Numbers: [22, 8] Generated Node #0,2,2: 60:[22, 8] Operation: 65-57=8 Exploring Operation: 65-22=43, Resulting Numbers: [57, 43] Generated Node #0,2,3: 60:[57, 43] Operation: 65-22=43 Moving to Node #0,1 Current State: 60:[53, 57, 10], Operations: ['22-12=10'] Exploring Operation: 57-53=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 60:[10, 4] Operation: 57-53=4 Exploring Operation: 57+10=67, Resulting Numbers: [53, 67] Generated Node #0,1,1: 60:[53, 67] Operation: 57+10=67 Exploring Operation: 53-10=43, Resulting Numbers: [57, 43] Generated Node #0,1,2: 60:[57, 43] Operation: 53-10=43 Exploring Operation: 53+10=63, Resulting Numbers: [57, 63] Generated Node #0,1,3: 60:[57, 63] Operation: 53+10=63 Moving to Node #0,3,1 Current State: 60:[4, 10], Operations: ['57-53=4', '22-12=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[10, 4], Operations: ['22-12=10', '57-53=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[12, 18], Operations: ['57-53=4', '22-4=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[22, 3], Operations: ['57-53=4', '12/4=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[22, 16], Operations: ['57-53=4', '12+4=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,60 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[22, 8], Operations: ['53+12=65', '65-57=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,60 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[57, 63], Operations: ['22-12=10', '53+10=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[65, 35], Operations: ['53+12=65', '57-22=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[53, 67], Operations: ['22-12=10', '57+10=67'] Exploring Operation: 53+67=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 53*67=3551, Resulting Numbers: [3551] 3551,60 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[57, 43], Operations: ['53+12=65', '65-22=43'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[57, 43], Operations: ['22-12=10', '53-10=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[65, 79], Operations: ['53+12=65', '22+57=79'] Exploring Operation: 65*79=5135, Resulting Numbers: [5135] 5135,60 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 65+79=144, Resulting Numbers: [144] 144,60 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 22, 8, 29, 27 ]
16
[ "22-8=14", "29-27=2", "14+2=16" ]
Current State: 16:[22, 8, 29, 27], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [29, 27, 14] Generated Node #2: [29, 27, 14] from Operation: 22-8=14 Current State: 16:[29, 27, 14], Operations: ['22-8=14'] Exploring Operation: 29-27=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 29-27=2 Current State: 16:[14, 2], Operations: ['22-8=14', '29-27=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[22, 8, 29, 27], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [8, 29, 5] Generated Node #0,0: 16:[8, 29, 5] Operation: 27-22=5 Exploring Operation: 29-22=7, Resulting Numbers: [8, 27, 7] Generated Node #0,1: 16:[8, 27, 7] Operation: 29-22=7 Exploring Operation: 29-27=2, Resulting Numbers: [22, 8, 2] Generated Node #0,2: 16:[22, 8, 2] Operation: 29-27=2 Exploring Operation: 29-8=21, Resulting Numbers: [22, 27, 21] Generated Node #0,3: 16:[22, 27, 21] Operation: 29-8=21 Moving to Node #0,2 Current State: 16:[22, 8, 2], Operations: ['29-27=2'] Exploring Operation: 22/2=11, Resulting Numbers: [8, 11] Generated Node #0,2,0: 16:[8, 11] Operation: 22/2=11 Exploring Operation: 8*2=16, Resulting Numbers: [22, 16] Generated Node #0,2,1: 16:[22, 16] Operation: 8*2=16 Exploring Operation: 22-8=14, Resulting Numbers: [2, 14] Generated Node #0,2,2: 16:[2, 14] Operation: 22-8=14 Exploring Operation: 22-2=20, Resulting Numbers: [8, 20] Generated Node #0,2,3: 16:[8, 20] Operation: 22-2=20 Moving to Node #0,1 Current State: 16:[8, 27, 7], Operations: ['29-22=7'] Exploring Operation: 27-7=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 16:[8, 20] Operation: 27-7=20 Exploring Operation: 8+7=15, Resulting Numbers: [27, 15] Generated Node #0,1,1: 16:[27, 15] Operation: 8+7=15 Exploring Operation: 27-8=19, Resulting Numbers: [7, 19] Generated Node #0,1,2: 16:[7, 19] Operation: 27-8=19 Exploring Operation: 8-7=1, Resulting Numbers: [27, 1] Generated Node #0,1,3: 16:[27, 1] Operation: 8-7=1 Moving to Node #0,0 Current State: 16:[8, 29, 5], Operations: ['27-22=5'] Exploring Operation: 8+5=13, Resulting Numbers: [29, 13] Generated Node #0,0,0: 16:[29, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 16:[29, 3] Operation: 8-5=3 Exploring Operation: 29-8=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 16:[5, 21] Operation: 29-8=21 Exploring Operation: 29-5=24, Resulting Numbers: [8, 24] Generated Node #0,0,3: 16:[8, 24] Operation: 29-5=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[5, 21], Operations: ['27-22=5', '29-8=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[22, 8, 29, 27], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [8, 29, 5] Generated Node #0,0: 16:[8, 29, 5] Operation: 27-22=5 Moving to Node #0,0 Current State: 16:[8, 29, 5], Operations: ['27-22=5'] Exploring Operation: 29-8=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 16:[5, 21] Operation: 29-8=21 Moving to Node #0,0,2 Current State: 16:[5, 21], Operations: ['27-22=5', '29-8=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 82, 62, 70, 71 ]
19
[ "82-62=20", "71-70=1", "20-1=19" ]
Current State: 19:[82, 62, 70, 71], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [70, 71, 20] Generated Node #2: [70, 71, 20] from Operation: 82-62=20 Current State: 19:[70, 71, 20], Operations: ['82-62=20'] Exploring Operation: 71-70=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 71-70=1 Current State: 19:[20, 1], Operations: ['82-62=20', '71-70=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[82, 62, 70, 71], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [62, 71, 12] Generated Node #0,0: 19:[62, 71, 12] Operation: 82-70=12 Exploring Operation: 82-71=11, Resulting Numbers: [62, 70, 11] Generated Node #0,1: 19:[62, 70, 11] Operation: 82-71=11 Exploring Operation: 82-62=20, Resulting Numbers: [70, 71, 20] Generated Node #0,2: 19:[70, 71, 20] Operation: 82-62=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[62, 71, 12], Operations: ['82-70=12'] Exploring Operation: 71-12=59, Resulting Numbers: [62, 59] Generated Node #0,0,0: 19:[62, 59] Operation: 71-12=59 Exploring Operation: 71-62=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 19:[12, 9] Operation: 71-62=9 Exploring Operation: 62-12=50, Resulting Numbers: [71, 50] Generated Node #0,0,2: 19:[71, 50] Operation: 62-12=50 Moving to Node #0,0,1 Current State: 19:[12, 9], Operations: ['82-70=12', '71-62=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[62, 59], Operations: ['82-70=12', '71-12=59'] Exploring Operation: 62*59=3658, Resulting Numbers: [3658] 3658,19 unequal: No Solution Exploring Operation: 62+59=121, Resulting Numbers: [121] 121,19 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[71, 50], Operations: ['82-70=12', '62-12=50'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 71*50=3550, Resulting Numbers: [3550] 3550,19 unequal: No Solution Exploring Operation: 71+50=121, Resulting Numbers: [121] 121,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,1 Current State: 19:[62, 70, 11], Operations: ['82-71=11'] Exploring Operation: 70-11=59, Resulting Numbers: [62, 59] Generated Node #0,1,0: 19:[62, 59] Operation: 70-11=59 Exploring Operation: 62-11=51, Resulting Numbers: [70, 51] Generated Node #0,1,1: 19:[70, 51] Operation: 62-11=51 Exploring Operation: 70-62=8, Resulting Numbers: [11, 8] Generated Node #0,1,2: 19:[11, 8] Operation: 70-62=8 Moving to Node #0,1,2 Current State: 19:[11, 8], Operations: ['82-71=11', '70-62=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[82, 62, 70, 71], Operations: [] Exploring Operation: 82-71=11, Resulting Numbers: [62, 70, 11] Generated Node #0,1: 19:[62, 70, 11] Operation: 82-71=11 Moving to Node #0,1 Current State: 19:[62, 70, 11], Operations: ['82-71=11'] Exploring Operation: 70-62=8, Resulting Numbers: [11, 8] Generated Node #0,1,2: 19:[11, 8] Operation: 70-62=8 Moving to Node #0,1,2 Current State: 19:[11, 8], Operations: ['82-71=11', '70-62=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 16, 56, 32, 22 ]
77
[ "32-16=16", "56*22=1232", "1232/16=77" ]
Current State: 77:[16, 56, 32, 22], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [56, 22, 16] Generated Node #2: [56, 22, 16] from Operation: 32-16=16 Current State: 77:[56, 22, 16], Operations: ['32-16=16'] Exploring Operation: 56*22=1232, Resulting Numbers: [16, 1232] Generated Node #3: [16, 1232] from Operation: 56*22=1232 Current State: 77:[16, 1232], Operations: ['32-16=16', '56*22=1232'] Exploring Operation: 1232/16=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[16, 56, 32, 22], Operations: [] Exploring Operation: 56+32=88, Resulting Numbers: [16, 22, 88] Generated Node #0,0: 77:[16, 22, 88] Operation: 56+32=88 Exploring Operation: 32-22=10, Resulting Numbers: [16, 56, 10] Generated Node #0,1: 77:[16, 56, 10] Operation: 32-22=10 Exploring Operation: 56-32=24, Resulting Numbers: [16, 22, 24] Generated Node #0,2: 77:[16, 22, 24] Operation: 56-32=24 Exploring Operation: 56+22=78, Resulting Numbers: [16, 32, 78] Generated Node #0,3: 77:[16, 32, 78] Operation: 56+22=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[16, 22, 88], Operations: ['56+32=88'] Exploring Operation: 22-16=6, Resulting Numbers: [88, 6] Generated Node #0,0,0: 77:[88, 6] Operation: 22-16=6 Exploring Operation: 88-16=72, Resulting Numbers: [22, 72] Generated Node #0,0,1: 77:[22, 72] Operation: 88-16=72 Exploring Operation: 88/22=4, Resulting Numbers: [16, 4] Generated Node #0,0,2: 77:[16, 4] Operation: 88/22=4 Exploring Operation: 88-22=66, Resulting Numbers: [16, 66] Generated Node #0,0,3: 77:[16, 66] Operation: 88-22=66 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[16, 4], Operations: ['56+32=88', '88/22=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,77 unequal: No Solution No 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: 77:[88, 6], Operations: ['56+32=88', '22-16=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,77 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,77 unequal: No Solution No 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: 77:[22, 72], Operations: ['56+32=88', '88-16=72'] Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,77 unequal: No Solution No 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: 77:[16, 66], Operations: ['56+32=88', '88-22=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,77 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[16, 56, 10], Operations: ['32-22=10'] Exploring Operation: 56-16=40, Resulting Numbers: [10, 40] Generated Node #0,1,0: 77:[10, 40] Operation: 56-16=40 Exploring Operation: 16-10=6, Resulting Numbers: [56, 6] Generated Node #0,1,1: 77:[56, 6] Operation: 16-10=6 Exploring Operation: 16+56=72, Resulting Numbers: [10, 72] Generated Node #0,1,2: 77:[10, 72] Operation: 16+56=72 Exploring Operation: 56+10=66, Resulting Numbers: [16, 66] Generated Node #0,1,3: 77:[16, 66] Operation: 56+10=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[10, 72], Operations: ['32-22=10', '16+56=72'] Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,77 unequal: No Solution Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,77 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,77 unequal: No Solution No 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: 77:[16, 66], Operations: ['32-22=10', '56+10=66'] Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,77 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,77 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,77 unequal: No Solution No 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: 77:[56, 6], Operations: ['32-22=10', '16-10=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,77 unequal: No Solution No 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: 77:[10, 40], Operations: ['32-22=10', '56-16=40'] Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[16, 32, 78], Operations: ['56+22=78'] Exploring Operation: 16+32=48, Resulting Numbers: [78, 48] Generated Node #0,3,0: 77:[78, 48] Operation: 16+32=48 Exploring Operation: 32/16=2, Resulting Numbers: [78, 2] Generated Node #0,3,1: 77:[78, 2] Operation: 32/16=2 Exploring Operation: 78-16=62, Resulting Numbers: [32, 62] Generated Node #0,3,2: 77:[32, 62] Operation: 78-16=62 Exploring Operation: 32-16=16, Resulting Numbers: [78, 16] Generated Node #0,3,3: 77:[78, 16] Operation: 32-16=16 Moving to Node #0,3,1 Current State: 77:[78, 2], Operations: ['56+22=78', '32/16=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,77 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[78, 16], Operations: ['56+22=78', '32-16=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[78, 48], Operations: ['56+22=78', '16+32=48'] Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,77 unequal: No Solution Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[32, 62], Operations: ['56+22=78', '78-16=62'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,77 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[16, 22, 24], Operations: ['56-32=24'] Exploring Operation: 22+24=46, Resulting Numbers: [16, 46] Generated Node #0,2,0: 77:[16, 46] Operation: 22+24=46 Exploring Operation: 22-16=6, Resulting Numbers: [24, 6] Generated Node #0,2,1: 77:[24, 6] Operation: 22-16=6 Exploring Operation: 24-22=2, Resulting Numbers: [16, 2] Generated Node #0,2,2: 77:[16, 2] Operation: 24-22=2 Exploring Operation: 24-16=8, Resulting Numbers: [22, 8] Generated Node #0,2,3: 77:[22, 8] Operation: 24-16=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[16, 2], Operations: ['56-32=24', '24-22=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,77 unequal: No Solution No 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: 77:[22, 8], Operations: ['56-32=24', '24-16=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,77 unequal: No Solution No 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: 77:[24, 6], Operations: ['56-32=24', '22-16=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,77 unequal: No Solution No 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: 77:[16, 46], Operations: ['56-32=24', '22+24=46'] Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,77 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 24, 51, 75, 48 ]
12
[ "48/24=2", "75-51=24", "24/2=12" ]
Current State: 12:[24, 51, 75, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [51, 75, 2] Generated Node #2: [51, 75, 2] from Operation: 48/24=2 Current State: 12:[51, 75, 2], Operations: ['48/24=2'] Exploring Operation: 75-51=24, Resulting Numbers: [2, 24] Generated Node #3: [2, 24] from Operation: 75-51=24 Current State: 12:[2, 24], Operations: ['48/24=2', '75-51=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[24, 51, 75, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [51, 75, 2] Generated Node #0,0: 12:[51, 75, 2] Operation: 48/24=2 Exploring Operation: 51-48=3, Resulting Numbers: [24, 75, 3] Generated Node #0,1: 12:[24, 75, 3] Operation: 51-48=3 Exploring Operation: 75-48=27, Resulting Numbers: [24, 51, 27] Generated Node #0,2: 12:[24, 51, 27] Operation: 75-48=27 Exploring Operation: 75-51=24, Resulting Numbers: [24, 48, 24] Generated Node #0,3: 12:[24, 48, 24] Operation: 75-51=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[24, 48, 24], Operations: ['75-51=24'] Exploring Operation: 48/24=2, Resulting Numbers: [24, 2] Generated Node #0,3,0: 12:[24, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [24, 24] Generated Node #0,3,1: 12:[24, 24] Operation: 48-24=24 Exploring Operation: 48-24=24, Resulting Numbers: [24, 24] Generated Node #0,3,2: 12:[24, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [24, 2] Generated Node #0,3,3: 12:[24, 2] Operation: 48/24=2 Moving to Node #0,3,0 Current State: 12:[24, 2], Operations: ['75-51=24', '48/24=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[24, 51, 75, 48], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [24, 48, 24] Generated Node #0,3: 12:[24, 48, 24] Operation: 75-51=24 Moving to Node #0,3 Current State: 12:[24, 48, 24], Operations: ['75-51=24'] Exploring Operation: 48/24=2, Resulting Numbers: [24, 2] Generated Node #0,3,0: 12:[24, 2] Operation: 48/24=2 Moving to Node #0,3,0 Current State: 12:[24, 2], Operations: ['75-51=24', '48/24=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 22, 4, 78, 5 ]
39
[ "4*5=20", "22-20=2", "78/2=39" ]
Current State: 39:[22, 4, 78, 5], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [22, 78, 20] Generated Node #2: [22, 78, 20] from Operation: 4*5=20 Current State: 39:[22, 78, 20], Operations: ['4*5=20'] Exploring Operation: 22-20=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 22-20=2 Current State: 39:[78, 2], Operations: ['4*5=20', '22-20=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[22, 4, 78, 5], Operations: [] Exploring Operation: 22-5=17, Resulting Numbers: [4, 78, 17] Generated Node #0,0: 39:[4, 78, 17] Operation: 22-5=17 Exploring Operation: 78-4=74, Resulting Numbers: [22, 5, 74] Generated Node #0,1: 39:[22, 5, 74] Operation: 78-4=74 Exploring Operation: 22-4=18, Resulting Numbers: [78, 5, 18] Generated Node #0,2: 39:[78, 5, 18] Operation: 22-4=18 Exploring Operation: 78-22=56, Resulting Numbers: [4, 5, 56] Generated Node #0,3: 39:[4, 5, 56] Operation: 78-22=56 Exploring Operation: 78-5=73, Resulting Numbers: [22, 4, 73] Generated Node #0,4: 39:[22, 4, 73] Operation: 78-5=73 Moving to Node #0,3 Current State: 39:[4, 5, 56], Operations: ['78-22=56'] Exploring Operation: 5-4=1, Resulting Numbers: [56, 1] Generated Node #0,3,0: 39:[56, 1] Operation: 5-4=1 Exploring Operation: 56/4=14, Resulting Numbers: [5, 14] Generated Node #0,3,1: 39:[5, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [5, 52] Generated Node #0,3,2: 39:[5, 52] Operation: 56-4=52 Exploring Operation: 56-5=51, Resulting Numbers: [4, 51] Generated Node #0,3,3: 39:[4, 51] Operation: 56-5=51 Exploring Operation: 4+5=9, Resulting Numbers: [56, 9] Generated Node #0,3,4: 39:[56, 9] Operation: 4+5=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[5, 14], Operations: ['78-22=56', '56/4=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 39:[4, 51], Operations: ['78-22=56', '56-5=51'] Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,39 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,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,3,2 Current State: 39:[5, 52], Operations: ['78-22=56', '56-4=52'] Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,39 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,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,3,0 Current State: 39:[56, 1], Operations: ['78-22=56', '5-4=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,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,3,4 Current State: 39:[56, 9], Operations: ['78-22=56', '4+5=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,39 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,39 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: 39:[22, 4, 73], Operations: ['78-5=73'] Exploring Operation: 73-22=51, Resulting Numbers: [4, 51] Generated Node #0,4,0: 39:[4, 51] Operation: 73-22=51 Exploring Operation: 22+4=26, Resulting Numbers: [73, 26] Generated Node #0,4,1: 39:[73, 26] Operation: 22+4=26 Exploring Operation: 73-4=69, Resulting Numbers: [22, 69] Generated Node #0,4,2: 39:[22, 69] Operation: 73-4=69 Exploring Operation: 4+73=77, Resulting Numbers: [22, 77] Generated Node #0,4,3: 39:[22, 77] Operation: 4+73=77 Exploring Operation: 22-4=18, Resulting Numbers: [73, 18] Generated Node #0,4,4: 39:[73, 18] Operation: 22-4=18 Moving to Node #0,0 Current State: 39:[4, 78, 17], Operations: ['22-5=17'] Exploring Operation: 78-4=74, Resulting Numbers: [17, 74] Generated Node #0,0,0: 39:[17, 74] Operation: 78-4=74 Exploring Operation: 4+78=82, Resulting Numbers: [17, 82] Generated Node #0,0,1: 39:[17, 82] Operation: 4+78=82 Exploring Operation: 78-17=61, Resulting Numbers: [4, 61] Generated Node #0,0,2: 39:[4, 61] Operation: 78-17=61 Exploring Operation: 4+17=21, Resulting Numbers: [78, 21] Generated Node #0,0,3: 39:[78, 21] Operation: 4+17=21 Exploring Operation: 17-4=13, Resulting Numbers: [78, 13] Generated Node #0,0,4: 39:[78, 13] Operation: 17-4=13 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[4, 61], Operations: ['22-5=17', '78-17=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,39 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[17, 74], Operations: ['22-5=17', '78-4=74'] Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,39 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,39 unequal: No Solution Exploring Operation: 17*74=1258, Resulting Numbers: [1258] 1258,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 39:[78, 13], Operations: ['22-5=17', '17-4=13'] Exploring Operation: 78*13=1014, Resulting Numbers: [1014] 1014,39 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[17, 82], Operations: ['22-5=17', '4+78=82'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,39 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[78, 21], Operations: ['22-5=17', '4+17=21'] Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,39 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,39 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,39 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: 39:[22, 5, 74], Operations: ['78-4=74'] Exploring Operation: 22-5=17, Resulting Numbers: [74, 17] Generated Node #0,1,0: 39:[74, 17] Operation: 22-5=17 Exploring Operation: 22+5=27, Resulting Numbers: [74, 27] Generated Node #0,1,1: 39:[74, 27] Operation: 22+5=27 Exploring Operation: 5+74=79, Resulting Numbers: [22, 79] Generated Node #0,1,2: 39:[22, 79] Operation: 5+74=79 Exploring Operation: 74-22=52, Resulting Numbers: [5, 52] Generated Node #0,1,3: 39:[5, 52] Operation: 74-22=52 Exploring Operation: 74-5=69, Resulting Numbers: [22, 69] Generated Node #0,1,4: 39:[22, 69] Operation: 74-5=69 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[5, 52], Operations: ['78-4=74', '74-22=52'] Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,39 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,39 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,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,1,0 Current State: 39:[74, 17], Operations: ['78-4=74', '22-5=17'] Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,39 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,39 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,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,1,4 Current State: 39:[22, 69], Operations: ['78-4=74', '74-5=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,39 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,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,1,1 Current State: 39:[74, 27], Operations: ['78-4=74', '22+5=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,39 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,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,1,2 Current State: 39:[22, 79], Operations: ['78-4=74', '5+74=79'] Exploring Operation: 22*79=1738, Resulting Numbers: [1738] 1738,39 unequal: No Solution Exploring Operation: 22+79=101, Resulting Numbers: [101] 101,39 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,39 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: 39:[78, 5, 18], Operations: ['22-4=18'] Exploring Operation: 18-5=13, Resulting Numbers: [78, 13] Generated Node #0,2,0: 39:[78, 13] Operation: 18-5=13 Exploring Operation: 78+5=83, Resulting Numbers: [18, 83] Generated Node #0,2,1: 39:[18, 83] Operation: 78+5=83 Exploring Operation: 78-5=73, Resulting Numbers: [18, 73] Generated Node #0,2,2: 39:[18, 73] Operation: 78-5=73 Exploring Operation: 78-18=60, Resulting Numbers: [5, 60] Generated Node #0,2,3: 39:[5, 60] Operation: 78-18=60 Exploring Operation: 5+18=23, Resulting Numbers: [78, 23] Generated Node #0,2,4: 39:[78, 23] Operation: 5+18=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 39:[5, 60], Operations: ['22-4=18', '78-18=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 5*60=300, Resulting Numbers: [300] 300,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:[78, 13], Operations: ['22-4=18', '18-5=13'] Exploring Operation: 78*13=1014, Resulting Numbers: [1014] 1014,39 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,39 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,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:[18, 73], Operations: ['22-4=18', '78-5=73'] Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,39 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,39 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,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,1 Current State: 39:[18, 83], Operations: ['22-4=18', '78+5=83'] Exploring Operation: 18+83=101, Resulting Numbers: [101] 101,39 unequal: No Solution Exploring Operation: 18*83=1494, Resulting Numbers: [1494] 1494,39 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,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,4 Current State: 39:[78, 23], Operations: ['22-4=18', '5+18=23'] Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,39 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 39:[4, 51], Operations: ['78-5=73', '73-22=51'] Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,39 unequal: No Solution Moving to Node #0,4,4 Current State: 39:[73, 18], Operations: ['78-5=73', '22-4=18'] Exploring Operation: 73*18=1314, Resulting Numbers: [1314] 1314,39 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,39 unequal: No Solution Moving to Node #0,4,2 Current State: 39:[22, 69], Operations: ['78-5=73', '73-4=69'] Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,39 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,39 unequal: No Solution Moving to Node #0,4,1 Current State: 39:[73, 26], Operations: ['78-5=73', '22+4=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,39 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,39 unequal: No Solution Moving to Node #0,4,3 Current State: 39:[22, 77], Operations: ['78-5=73', '4+73=77'] Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,39 unequal: No Solution Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,39 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,39 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 74, 4, 23, 29 ]
61
[ "23+29=52", "52/4=13", "74-13=61" ]
Current State: 61:[74, 4, 23, 29], Operations: [] Exploring Operation: 23+29=52, Resulting Numbers: [74, 4, 52] Generated Node #2: [74, 4, 52] from Operation: 23+29=52 Current State: 61:[74, 4, 52], Operations: ['23+29=52'] Exploring Operation: 52/4=13, Resulting Numbers: [74, 13] Generated Node #3: [74, 13] from Operation: 52/4=13 Current State: 61:[74, 13], Operations: ['23+29=52', '52/4=13'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[74, 4, 23, 29], Operations: [] Exploring Operation: 4*23=92, Resulting Numbers: [74, 29, 92] Generated Node #0,0: 61:[74, 29, 92] Operation: 4*23=92 Exploring Operation: 4+23=27, Resulting Numbers: [74, 29, 27] Generated Node #0,1: 61:[74, 29, 27] Operation: 4+23=27 Exploring Operation: 74-4=70, Resulting Numbers: [23, 29, 70] Generated Node #0,2: 61:[23, 29, 70] Operation: 74-4=70 Moving to Node #0,0 Current State: 61:[74, 29, 92], Operations: ['4*23=92'] Exploring Operation: 74-29=45, Resulting Numbers: [92, 45] Generated Node #0,0,0: 61:[92, 45] Operation: 74-29=45 Exploring Operation: 74+29=103, Resulting Numbers: [92, 103] Generated Node #0,0,1: 61:[92, 103] Operation: 74+29=103 Exploring Operation: 92-29=63, Resulting Numbers: [74, 63] Generated Node #0,0,2: 61:[74, 63] Operation: 92-29=63 Moving to Node #0,1 Current State: 61:[74, 29, 27], Operations: ['4+23=27'] Exploring Operation: 74-27=47, Resulting Numbers: [29, 47] Generated Node #0,1,0: 61:[29, 47] Operation: 74-27=47 Exploring Operation: 74-29=45, Resulting Numbers: [27, 45] Generated Node #0,1,1: 61:[27, 45] Operation: 74-29=45 Exploring Operation: 29+27=56, Resulting Numbers: [74, 56] Generated Node #0,1,2: 61:[74, 56] Operation: 29+27=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[74, 56], Operations: ['4+23=27', '29+27=56'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,61 unequal: No Solution Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[29, 47], Operations: ['4+23=27', '74-27=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[27, 45], Operations: ['4+23=27', '74-29=45'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,61 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: 61:[23, 29, 70], Operations: ['74-4=70'] Exploring Operation: 70-23=47, Resulting Numbers: [29, 47] Generated Node #0,2,0: 61:[29, 47] Operation: 70-23=47 Exploring Operation: 70-29=41, Resulting Numbers: [23, 41] Generated Node #0,2,1: 61:[23, 41] Operation: 70-29=41 Exploring Operation: 23+29=52, Resulting Numbers: [70, 52] Generated Node #0,2,2: 61:[70, 52] Operation: 23+29=52 Moving to Node #0,0,2 Current State: 61:[74, 63], Operations: ['4*23=92', '92-29=63'] Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[70, 52], Operations: ['74-4=70', '23+29=52'] Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[29, 47], Operations: ['74-4=70', '70-23=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,61 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[92, 45], Operations: ['4*23=92', '74-29=45'] Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 92+45=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 92*45=4140, Resulting Numbers: [4140] 4140,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[23, 41], Operations: ['74-4=70', '70-29=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,61 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[92, 103], Operations: ['4*23=92', '74+29=103'] Exploring Operation: 92+103=195, Resulting Numbers: [195] 195,61 unequal: No Solution Exploring Operation: 92*103=9476, Resulting Numbers: [9476] 9476,61 unequal: No Solution Exploring Operation: 103-92=11, Resulting Numbers: [11] 11,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 81, 14, 89, 55 ]
61
[ "81+14=95", "89-55=34", "95-34=61" ]
Current State: 61:[81, 14, 89, 55], Operations: [] Exploring Operation: 81+14=95, Resulting Numbers: [89, 55, 95] Generated Node #2: [89, 55, 95] from Operation: 81+14=95 Current State: 61:[89, 55, 95], Operations: ['81+14=95'] Exploring Operation: 89-55=34, Resulting Numbers: [95, 34] Generated Node #3: [95, 34] from Operation: 89-55=34 Current State: 61:[95, 34], Operations: ['81+14=95', '89-55=34'] Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[81, 14, 89, 55], Operations: [] Exploring Operation: 14+89=103, Resulting Numbers: [81, 55, 103] Generated Node #0,0: 61:[81, 55, 103] Operation: 14+89=103 Exploring Operation: 14+55=69, Resulting Numbers: [81, 89, 69] Generated Node #0,1: 61:[81, 89, 69] Operation: 14+55=69 Exploring Operation: 89-14=75, Resulting Numbers: [81, 55, 75] Generated Node #0,2: 61:[81, 55, 75] Operation: 89-14=75 Exploring Operation: 81+14=95, Resulting Numbers: [89, 55, 95] Generated Node #0,3: 61:[89, 55, 95] Operation: 81+14=95 Exploring Operation: 81-14=67, Resulting Numbers: [89, 55, 67] Generated Node #0,4: 61:[89, 55, 67] Operation: 81-14=67 Moving to Node #0,2 Current State: 61:[81, 55, 75], Operations: ['89-14=75'] Exploring Operation: 81-55=26, Resulting Numbers: [75, 26] Generated Node #0,2,0: 61:[75, 26] Operation: 81-55=26 Exploring Operation: 81+55=136, Resulting Numbers: [75, 136] Generated Node #0,2,1: 61:[75, 136] Operation: 81+55=136 Exploring Operation: 81-75=6, Resulting Numbers: [55, 6] Generated Node #0,2,2: 61:[55, 6] Operation: 81-75=6 Exploring Operation: 75-55=20, Resulting Numbers: [81, 20] Generated Node #0,2,3: 61:[81, 20] Operation: 75-55=20 Exploring Operation: 55+75=130, Resulting Numbers: [81, 130] Generated Node #0,2,4: 61:[81, 130] Operation: 55+75=130 Moving to Node #0,4 Current State: 61:[89, 55, 67], Operations: ['81-14=67'] Exploring Operation: 67-55=12, Resulting Numbers: [89, 12] Generated Node #0,4,0: 61:[89, 12] Operation: 67-55=12 Exploring Operation: 89-55=34, Resulting Numbers: [67, 34] Generated Node #0,4,1: 61:[67, 34] Operation: 89-55=34 Exploring Operation: 55+67=122, Resulting Numbers: [89, 122] Generated Node #0,4,2: 61:[89, 122] Operation: 55+67=122 Exploring Operation: 89+55=144, Resulting Numbers: [67, 144] Generated Node #0,4,3: 61:[67, 144] Operation: 89+55=144 Exploring Operation: 89-67=22, Resulting Numbers: [55, 22] Generated Node #0,4,4: 61:[55, 22] Operation: 89-67=22 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[67, 34], Operations: ['81-14=67', '89-55=34'] Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,61 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 61:[55, 22], Operations: ['81-14=67', '89-67=22'] Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,61 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,61 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[89, 12], Operations: ['81-14=67', '67-55=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,61 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[89, 122], Operations: ['81-14=67', '55+67=122'] Exploring Operation: 89+122=211, Resulting Numbers: [211] 211,61 unequal: No Solution Exploring Operation: 122-89=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 89*122=10858, Resulting Numbers: [10858] 10858,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[67, 144], Operations: ['81-14=67', '89+55=144'] Exploring Operation: 67+144=211, Resulting Numbers: [211] 211,61 unequal: No Solution Exploring Operation: 144-67=77, Resulting Numbers: [77] 77,61 unequal: No Solution Exploring Operation: 67*144=9648, Resulting Numbers: [9648] 9648,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[81, 89, 69], Operations: ['14+55=69'] Exploring Operation: 81+89=170, Resulting Numbers: [69, 170] Generated Node #0,1,0: 61:[69, 170] Operation: 81+89=170 Exploring Operation: 81+69=150, Resulting Numbers: [89, 150] Generated Node #0,1,1: 61:[89, 150] Operation: 81+69=150 Exploring Operation: 81-69=12, Resulting Numbers: [89, 12] Generated Node #0,1,2: 61:[89, 12] Operation: 81-69=12 Exploring Operation: 89-81=8, Resulting Numbers: [69, 8] Generated Node #0,1,3: 61:[69, 8] Operation: 89-81=8 Exploring Operation: 89-69=20, Resulting Numbers: [81, 20] Generated Node #0,1,4: 61:[81, 20] Operation: 89-69=20 Moving to Node #0,0 Current State: 61:[81, 55, 103], Operations: ['14+89=103'] Exploring Operation: 81-55=26, Resulting Numbers: [103, 26] Generated Node #0,0,0: 61:[103, 26] Operation: 81-55=26 Exploring Operation: 81+55=136, Resulting Numbers: [103, 136] Generated Node #0,0,1: 61:[103, 136] Operation: 81+55=136 Exploring Operation: 103-81=22, Resulting Numbers: [55, 22] Generated Node #0,0,2: 61:[55, 22] Operation: 103-81=22 Exploring Operation: 103-55=48, Resulting Numbers: [81, 48] Generated Node #0,0,3: 61:[81, 48] Operation: 103-55=48 Exploring Operation: 55+103=158, Resulting Numbers: [81, 158] Generated Node #0,0,4: 61:[81, 158] Operation: 55+103=158 Moving to Node #0,3 Current State: 61:[89, 55, 95], Operations: ['81+14=95'] Exploring Operation: 95-89=6, Resulting Numbers: [55, 6] Generated Node #0,3,0: 61:[55, 6] Operation: 95-89=6 Exploring Operation: 55+95=150, Resulting Numbers: [89, 150] Generated Node #0,3,1: 61:[89, 150] Operation: 55+95=150 Exploring Operation: 89-55=34, Resulting Numbers: [95, 34] Generated Node #0,3,2: 61:[95, 34] Operation: 89-55=34 Exploring Operation: 95-55=40, Resulting Numbers: [89, 40] Generated Node #0,3,3: 61:[89, 40] Operation: 95-55=40 Exploring Operation: 89+55=144, Resulting Numbers: [95, 144] Generated Node #0,3,4: 61:[95, 144] Operation: 89+55=144 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[89, 40], Operations: ['81+14=95', '95-55=40'] Exploring Operation: 89+40=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 89*40=3560, Resulting Numbers: [3560] 3560,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[55, 6], Operations: ['81+14=95', '95-89=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,61 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[81, 14, 89, 55], Operations: [] Exploring Operation: 81+14=95, Resulting Numbers: [89, 55, 95] Generated Node #0,3: 61:[89, 55, 95] Operation: 81+14=95 Moving to Node #0,3 Current State: 61:[89, 55, 95], Operations: ['81+14=95'] Exploring Operation: 95-89=6, Resulting Numbers: [55, 6] Generated Node #0,3,0: 61:[55, 6] Operation: 95-89=6 Moving to Node #0,3,0 Current State: 61:[55, 6], Operations: ['81+14=95', '95-89=6'] Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 46, 2, 61, 14 ]
59
[ "46+14=60", "2*60=120", "120-61=59" ]
Current State: 59:[46, 2, 61, 14], Operations: [] Exploring Operation: 46+14=60, Resulting Numbers: [2, 61, 60] Generated Node #2: [2, 61, 60] from Operation: 46+14=60 Current State: 59:[2, 61, 60], Operations: ['46+14=60'] Exploring Operation: 2*60=120, Resulting Numbers: [61, 120] Generated Node #3: [61, 120] from Operation: 2*60=120 Current State: 59:[61, 120], Operations: ['46+14=60', '2*60=120'] Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[46, 2, 61, 14], Operations: [] Exploring Operation: 46+2=48, Resulting Numbers: [61, 14, 48] Generated Node #0,0: 59:[61, 14, 48] Operation: 46+2=48 Exploring Operation: 2*14=28, Resulting Numbers: [46, 61, 28] Generated Node #0,1: 59:[46, 61, 28] Operation: 2*14=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[46, 61, 28], Operations: ['2*14=28'] Exploring Operation: 46+28=74, Resulting Numbers: [61, 74] Generated Node #0,1,0: 59:[61, 74] Operation: 46+28=74 Exploring Operation: 61-28=33, Resulting Numbers: [46, 33] Generated Node #0,1,1: 59:[46, 33] Operation: 61-28=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[61, 74], Operations: ['2*14=28', '46+28=74'] Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[46, 33], Operations: ['2*14=28', '61-28=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[61, 14, 48], Operations: ['46+2=48'] Exploring Operation: 61-14=47, Resulting Numbers: [48, 47] Generated Node #0,0,0: 59:[48, 47] Operation: 61-14=47 Exploring Operation: 14+48=62, Resulting Numbers: [61, 62] Generated Node #0,0,1: 59:[61, 62] Operation: 14+48=62 Moving to Node #0,0,1 Current State: 59:[61, 62], Operations: ['46+2=48', '14+48=62'] Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[48, 47], Operations: ['46+2=48', '61-14=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,59 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
[ 68, 95, 46, 76 ]
95
[ "95-68=27", "46+76=122", "122-27=95" ]
Current State: 95:[68, 95, 46, 76], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [46, 76, 27] Generated Node #2: [46, 76, 27] from Operation: 95-68=27 Current State: 95:[46, 76, 27], Operations: ['95-68=27'] Exploring Operation: 46+76=122, Resulting Numbers: [27, 122] Generated Node #3: [27, 122] from Operation: 46+76=122 Current State: 95:[27, 122], Operations: ['95-68=27', '46+76=122'] Exploring Operation: 122-27=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[68, 95, 46, 76], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [95, 46, 8] Generated Node #0,0: 95:[95, 46, 8] Operation: 76-68=8 Exploring Operation: 68-46=22, Resulting Numbers: [95, 76, 22] Generated Node #0,1: 95:[95, 76, 22] Operation: 68-46=22 Exploring Operation: 76-46=30, Resulting Numbers: [68, 95, 30] Generated Node #0,2: 95:[68, 95, 30] Operation: 76-46=30 Exploring Operation: 68+46=114, Resulting Numbers: [95, 76, 114] Generated Node #0,3: 95:[95, 76, 114] Operation: 68+46=114 Moving to Node #0,1 Current State: 95:[95, 76, 22], Operations: ['68-46=22'] Exploring Operation: 76+22=98, Resulting Numbers: [95, 98] Generated Node #0,1,0: 95:[95, 98] Operation: 76+22=98 Exploring Operation: 95-76=19, Resulting Numbers: [22, 19] Generated Node #0,1,1: 95:[22, 19] Operation: 95-76=19 Exploring Operation: 76-22=54, Resulting Numbers: [95, 54] Generated Node #0,1,2: 95:[95, 54] Operation: 76-22=54 Exploring Operation: 95+22=117, Resulting Numbers: [76, 117] Generated Node #0,1,3: 95:[76, 117] Operation: 95+22=117 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[95, 98], Operations: ['68-46=22', '76+22=98'] Exploring Operation: 95*98=9310, Resulting Numbers: [9310] 9310,95 unequal: No Solution Exploring Operation: 98-95=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 95+98=193, Resulting Numbers: [193] 193,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[22, 19], Operations: ['68-46=22', '95-76=19'] Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,95 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[95, 54], Operations: ['68-46=22', '76-22=54'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,95 unequal: No Solution Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[76, 117], Operations: ['68-46=22', '95+22=117'] Exploring Operation: 117-76=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 76+117=193, Resulting Numbers: [193] 193,95 unequal: No Solution Exploring Operation: 76*117=8892, Resulting Numbers: [8892] 8892,95 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: 95:[95, 46, 8], Operations: ['76-68=8'] Exploring Operation: 46-8=38, Resulting Numbers: [95, 38] Generated Node #0,0,0: 95:[95, 38] Operation: 46-8=38 Exploring Operation: 95-46=49, Resulting Numbers: [8, 49] Generated Node #0,0,1: 95:[8, 49] Operation: 95-46=49 Exploring Operation: 95+8=103, Resulting Numbers: [46, 103] Generated Node #0,0,2: 95:[46, 103] Operation: 95+8=103 Exploring Operation: 95-8=87, Resulting Numbers: [46, 87] Generated Node #0,0,3: 95:[46, 87] Operation: 95-8=87 Moving to Node #0,3 Current State: 95:[95, 76, 114], Operations: ['68+46=114'] Exploring Operation: 114-76=38, Resulting Numbers: [95, 38] Generated Node #0,3,0: 95:[95, 38] Operation: 114-76=38 Exploring Operation: 114-95=19, Resulting Numbers: [76, 19] Generated Node #0,3,1: 95:[76, 19] Operation: 114-95=19 Exploring Operation: 95-76=19, Resulting Numbers: [114, 19] Generated Node #0,3,2: 95:[114, 19] Operation: 95-76=19 Exploring Operation: 95+76=171, Resulting Numbers: [114, 171] Generated Node #0,3,3: 95:[114, 171] Operation: 95+76=171 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[95, 38], Operations: ['68+46=114', '114-76=38'] Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,95 unequal: No Solution Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,95 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[76, 19], Operations: ['68+46=114', '114-95=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,95 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[68, 95, 46, 76], Operations: [] Exploring Operation: 68+46=114, Resulting Numbers: [95, 76, 114] Generated Node #0,3: 95:[95, 76, 114] Operation: 68+46=114 Moving to Node #0,3 Current State: 95:[95, 76, 114], Operations: ['68+46=114'] Exploring Operation: 114-95=19, Resulting Numbers: [76, 19] Generated Node #0,3,1: 95:[76, 19] Operation: 114-95=19 Moving to Node #0,3,1 Current State: 95:[76, 19], Operations: ['68+46=114', '114-95=19'] Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 84, 96, 40, 88 ]
86
[ "88-84=4", "40/4=10", "96-10=86" ]
Current State: 86:[84, 96, 40, 88], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [96, 40, 4] Generated Node #2: [96, 40, 4] from Operation: 88-84=4 Current State: 86:[96, 40, 4], Operations: ['88-84=4'] Exploring Operation: 40/4=10, Resulting Numbers: [96, 10] Generated Node #3: [96, 10] from Operation: 40/4=10 Current State: 86:[96, 10], Operations: ['88-84=4', '40/4=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[84, 96, 40, 88], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [84, 40, 8] Generated Node #0,0: 86:[84, 40, 8] Operation: 96-88=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[84, 40, 8], Operations: ['96-88=8'] Exploring Operation: 40/8=5, Resulting Numbers: [84, 5] Generated Node #0,0,0: 86:[84, 5] Operation: 40/8=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[84, 5], Operations: ['96-88=8', '40/8=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 33, 67, 79, 7 ]
28
[ "33+67=100", "79-7=72", "100-72=28" ]
Current State: 28:[33, 67, 79, 7], Operations: [] Exploring Operation: 33+67=100, Resulting Numbers: [79, 7, 100] Generated Node #2: [79, 7, 100] from Operation: 33+67=100 Current State: 28:[79, 7, 100], Operations: ['33+67=100'] Exploring Operation: 79-7=72, Resulting Numbers: [100, 72] Generated Node #3: [100, 72] from Operation: 79-7=72 Current State: 28:[100, 72], Operations: ['33+67=100', '79-7=72'] Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[33, 67, 79, 7], Operations: [] Exploring Operation: 67-33=34, Resulting Numbers: [79, 7, 34] Generated Node #0,0: 28:[79, 7, 34] Operation: 67-33=34 Exploring Operation: 79-33=46, Resulting Numbers: [67, 7, 46] Generated Node #0,1: 28:[67, 7, 46] Operation: 79-33=46 Exploring Operation: 79-7=72, Resulting Numbers: [33, 67, 72] Generated Node #0,2: 28:[33, 67, 72] Operation: 79-7=72 Exploring Operation: 79-67=12, Resulting Numbers: [33, 7, 12] Generated Node #0,3: 28:[33, 7, 12] Operation: 79-67=12 Exploring Operation: 67-7=60, Resulting Numbers: [33, 79, 60] Generated Node #0,4: 28:[33, 79, 60] Operation: 67-7=60 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[33, 7, 12], Operations: ['79-67=12'] Exploring Operation: 33-12=21, Resulting Numbers: [7, 21] Generated Node #0,3,0: 28:[7, 21] Operation: 33-12=21 Exploring Operation: 33-7=26, Resulting Numbers: [12, 26] Generated Node #0,3,1: 28:[12, 26] Operation: 33-7=26 Exploring Operation: 12-7=5, Resulting Numbers: [33, 5] Generated Node #0,3,2: 28:[33, 5] Operation: 12-7=5 Exploring Operation: 7+12=19, Resulting Numbers: [33, 19] Generated Node #0,3,3: 28:[33, 19] Operation: 7+12=19 Exploring Operation: 33+7=40, Resulting Numbers: [12, 40] Generated Node #0,3,4: 28:[12, 40] Operation: 33+7=40 Moving to Node #0,3,1 Current State: 28:[12, 26], Operations: ['79-67=12', '33-7=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[33, 5], Operations: ['79-67=12', '12-7=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[33, 67, 79, 7], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [33, 7, 12] Generated Node #0,3: 28:[33, 7, 12] Operation: 79-67=12 Moving to Node #0,3 Current State: 28:[33, 7, 12], Operations: ['79-67=12'] Exploring Operation: 12-7=5, Resulting Numbers: [33, 5] Generated Node #0,3,2: 28:[33, 5] Operation: 12-7=5 Moving to Node #0,3,2 Current State: 28:[33, 5], Operations: ['79-67=12', '12-7=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 54, 72, 83, 63 ]
81
[ "54+72=126", "126/63=2", "83-2=81" ]
Current State: 81:[54, 72, 83, 63], Operations: [] Exploring Operation: 54+72=126, Resulting Numbers: [83, 63, 126] Generated Node #2: [83, 63, 126] from Operation: 54+72=126 Current State: 81:[83, 63, 126], Operations: ['54+72=126'] Exploring Operation: 126/63=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 126/63=2 Current State: 81:[83, 2], Operations: ['54+72=126', '126/63=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[54, 72, 83, 63], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [54, 72, 20] Generated Node #0,0: 81:[54, 72, 20] Operation: 83-63=20 Exploring Operation: 72-54=18, Resulting Numbers: [83, 63, 18] Generated Node #0,1: 81:[83, 63, 18] Operation: 72-54=18 Exploring Operation: 72-63=9, Resulting Numbers: [54, 83, 9] Generated Node #0,2: 81:[54, 83, 9] Operation: 72-63=9 Exploring Operation: 63-54=9, Resulting Numbers: [72, 83, 9] Generated Node #0,3: 81:[72, 83, 9] Operation: 63-54=9 Exploring Operation: 83-54=29, Resulting Numbers: [72, 63, 29] Generated Node #0,4: 81:[72, 63, 29] Operation: 83-54=29 Moving to Node #0,3 Current State: 81:[72, 83, 9], Operations: ['63-54=9'] Exploring Operation: 72-9=63, Resulting Numbers: [83, 63] Generated Node #0,3,0: 81:[83, 63] Operation: 72-9=63 Exploring Operation: 83-72=11, Resulting Numbers: [9, 11] Generated Node #0,3,1: 81:[9, 11] Operation: 83-72=11 Exploring Operation: 83-9=74, Resulting Numbers: [72, 74] Generated Node #0,3,2: 81:[72, 74] Operation: 83-9=74 Exploring Operation: 72/9=8, Resulting Numbers: [83, 8] Generated Node #0,3,3: 81:[83, 8] Operation: 72/9=8 Exploring Operation: 72+9=81, Resulting Numbers: [83, 81] Generated Node #0,3,4: 81:[83, 81] Operation: 72+9=81 Moving to Node #0,2 Current State: 81:[54, 83, 9], Operations: ['72-63=9'] Exploring Operation: 83-9=74, Resulting Numbers: [54, 74] Generated Node #0,2,0: 81:[54, 74] Operation: 83-9=74 Exploring Operation: 54/9=6, Resulting Numbers: [83, 6] Generated Node #0,2,1: 81:[83, 6] Operation: 54/9=6 Exploring Operation: 83-54=29, Resulting Numbers: [9, 29] Generated Node #0,2,2: 81:[9, 29] Operation: 83-54=29 Exploring Operation: 54+9=63, Resulting Numbers: [83, 63] Generated Node #0,2,3: 81:[83, 63] Operation: 54+9=63 Exploring Operation: 54-9=45, Resulting Numbers: [83, 45] Generated Node #0,2,4: 81:[83, 45] Operation: 54-9=45 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[9, 29], Operations: ['72-63=9', '83-54=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,81 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,81 unequal: No Solution No 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: 81:[83, 6], Operations: ['72-63=9', '54/9=6'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,81 unequal: No Solution No 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: 81:[83, 63], Operations: ['72-63=9', '54+9=63'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,81 unequal: No Solution Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,81 unequal: No Solution No 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: 81:[83, 45], Operations: ['72-63=9', '54-9=45'] Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,81 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,81 unequal: No Solution No 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: 81:[54, 74], Operations: ['72-63=9', '83-9=74'] Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,81 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,81 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: 81:[83, 63, 18], Operations: ['72-54=18'] Exploring Operation: 83+18=101, Resulting Numbers: [63, 101] Generated Node #0,1,0: 81:[63, 101] Operation: 83+18=101 Exploring Operation: 83-63=20, Resulting Numbers: [18, 20] Generated Node #0,1,1: 81:[18, 20] Operation: 83-63=20 Exploring Operation: 83-18=65, Resulting Numbers: [63, 65] Generated Node #0,1,2: 81:[63, 65] Operation: 83-18=65 Exploring Operation: 63-18=45, Resulting Numbers: [83, 45] Generated Node #0,1,3: 81:[83, 45] Operation: 63-18=45 Exploring Operation: 63+18=81, Resulting Numbers: [83, 81] Generated Node #0,1,4: 81:[83, 81] Operation: 63+18=81 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 81:[83, 81], Operations: ['72-54=18', '63+18=81'] Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,81 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,81 unequal: No Solution No 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: 81:[18, 20], Operations: ['72-54=18', '83-63=20'] Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,81 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,81 unequal: No Solution No 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: 81:[83, 45], Operations: ['72-54=18', '63-18=45'] Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,81 unequal: No Solution Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,81 unequal: No Solution No 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: 81:[63, 65], Operations: ['72-54=18', '83-18=65'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,81 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,81 unequal: No Solution No 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: 81:[63, 101], Operations: ['72-54=18', '83+18=101'] Exploring Operation: 101-63=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 63+101=164, Resulting Numbers: [164] 164,81 unequal: No Solution Exploring Operation: 63*101=6363, Resulting Numbers: [6363] 6363,81 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: 81:[72, 63, 29], Operations: ['83-54=29'] Exploring Operation: 63-29=34, Resulting Numbers: [72, 34] Generated Node #0,4,0: 81:[72, 34] Operation: 63-29=34 Exploring Operation: 72+29=101, Resulting Numbers: [63, 101] Generated Node #0,4,1: 81:[63, 101] Operation: 72+29=101 Exploring Operation: 63+29=92, Resulting Numbers: [72, 92] Generated Node #0,4,2: 81:[72, 92] Operation: 63+29=92 Exploring Operation: 72-29=43, Resulting Numbers: [63, 43] Generated Node #0,4,3: 81:[63, 43] Operation: 72-29=43 Exploring Operation: 72-63=9, Resulting Numbers: [29, 9] Generated Node #0,4,4: 81:[29, 9] Operation: 72-63=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 81:[29, 9], Operations: ['83-54=29', '72-63=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,81 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,81 unequal: No Solution No 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: 81:[72, 34], Operations: ['83-54=29', '63-29=34'] Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,81 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,81 unequal: No Solution No 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: 81:[72, 92], Operations: ['83-54=29', '63+29=92'] Exploring Operation: 72+92=164, Resulting Numbers: [164] 164,81 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 72*92=6624, Resulting Numbers: [6624] 6624,81 unequal: No Solution No 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: 81:[63, 43], Operations: ['83-54=29', '72-29=43'] Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,81 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,81 unequal: No Solution No 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: 81:[63, 101], Operations: ['83-54=29', '72+29=101'] Exploring Operation: 101-63=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 63+101=164, Resulting Numbers: [164] 164,81 unequal: No Solution Exploring Operation: 63*101=6363, Resulting Numbers: [6363] 6363,81 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: 81:[54, 72, 20], Operations: ['83-63=20'] Exploring Operation: 72+20=92, Resulting Numbers: [54, 92] Generated Node #0,0,0: 81:[54, 92] Operation: 72+20=92 Exploring Operation: 54+20=74, Resulting Numbers: [72, 74] Generated Node #0,0,1: 81:[72, 74] Operation: 54+20=74 Exploring Operation: 72-54=18, Resulting Numbers: [20, 18] Generated Node #0,0,2: 81:[20, 18] Operation: 72-54=18 Exploring Operation: 54-20=34, Resulting Numbers: [72, 34] Generated Node #0,0,3: 81:[72, 34] Operation: 54-20=34 Exploring Operation: 54+72=126, Resulting Numbers: [20, 126] Generated Node #0,0,4: 81:[20, 126] Operation: 54+72=126 Moving to Node #0,3,1 Current State: 81:[9, 11], Operations: ['63-54=9', '83-72=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[83, 81], Operations: ['63-54=9', '72+9=81'] Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,81 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[83, 8], Operations: ['63-54=9', '72/9=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[20, 18], Operations: ['83-63=20', '72-54=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[72, 74], Operations: ['83-63=20', '54+20=74'] Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,81 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 72*74=5328, Resulting Numbers: [5328] 5328,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[72, 74], Operations: ['63-54=9', '83-9=74'] Exploring Operation: 72*74=5328, Resulting Numbers: [5328] 5328,81 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[72, 34], Operations: ['83-63=20', '54-20=34'] Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,81 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[83, 63], Operations: ['63-54=9', '72-9=63'] Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,81 unequal: No Solution Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[54, 92], Operations: ['83-63=20', '72+20=92'] Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,81 unequal: No Solution Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,81 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[20, 126], Operations: ['83-63=20', '54+72=126'] Exploring Operation: 20*126=2520, Resulting Numbers: [2520] 2520,81 unequal: No Solution Exploring Operation: 20+126=146, Resulting Numbers: [146] 146,81 unequal: No Solution Exploring Operation: 126-20=106, Resulting Numbers: [106] 106,81 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 68, 25, 42, 34 ]
17
[ "68+25=93", "42+34=76", "93-76=17" ]
Current State: 17:[68, 25, 42, 34], Operations: [] Exploring Operation: 68+25=93, Resulting Numbers: [42, 34, 93] Generated Node #2: [42, 34, 93] from Operation: 68+25=93 Current State: 17:[42, 34, 93], Operations: ['68+25=93'] Exploring Operation: 42+34=76, Resulting Numbers: [93, 76] Generated Node #3: [93, 76] from Operation: 42+34=76 Current State: 17:[93, 76], Operations: ['68+25=93', '42+34=76'] Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[68, 25, 42, 34], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [25, 34, 26] Generated Node #0,0: 17:[25, 34, 26] Operation: 68-42=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[25, 34, 26], Operations: ['68-42=26'] Exploring Operation: 34-25=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 17:[26, 9] Operation: 34-25=9 Moving to Node #0,0,0 Current State: 17:[26, 9], Operations: ['68-42=26', '34-25=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[68, 25, 42, 34], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [25, 34, 26] Generated Node #0,0: 17:[25, 34, 26] Operation: 68-42=26 Moving to Node #0,0 Current State: 17:[25, 34, 26], Operations: ['68-42=26'] Exploring Operation: 34-25=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 17:[26, 9] Operation: 34-25=9 Moving to Node #0,0,0 Current State: 17:[26, 9], Operations: ['68-42=26', '34-25=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 30, 39, 48, 22 ]
64
[ "30+22=52", "48*52=2496", "2496/39=64" ]
Current State: 64:[30, 39, 48, 22], Operations: [] Exploring Operation: 30+22=52, Resulting Numbers: [39, 48, 52] Generated Node #2: [39, 48, 52] from Operation: 30+22=52 Current State: 64:[39, 48, 52], Operations: ['30+22=52'] Exploring Operation: 48*52=2496, Resulting Numbers: [39, 2496] Generated Node #3: [39, 2496] from Operation: 48*52=2496 Current State: 64:[39, 2496], Operations: ['30+22=52', '48*52=2496'] Exploring Operation: 2496/39=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[30, 39, 48, 22], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [30, 22, 9] Generated Node #0,0: 64:[30, 22, 9] Operation: 48-39=9 Exploring Operation: 48-30=18, Resulting Numbers: [39, 22, 18] Generated Node #0,1: 64:[39, 22, 18] Operation: 48-30=18 Exploring Operation: 48+22=70, Resulting Numbers: [30, 39, 70] Generated Node #0,2: 64:[30, 39, 70] Operation: 48+22=70 Exploring Operation: 48-22=26, Resulting Numbers: [30, 39, 26] Generated Node #0,3: 64:[30, 39, 26] Operation: 48-22=26 Moving to Node #0,0 Current State: 64:[30, 22, 9], Operations: ['48-39=9'] Exploring Operation: 22+9=31, Resulting Numbers: [30, 31] Generated Node #0,0,0: 64:[30, 31] Operation: 22+9=31 Exploring Operation: 22-9=13, Resulting Numbers: [30, 13] Generated Node #0,0,1: 64:[30, 13] Operation: 22-9=13 Exploring Operation: 30-9=21, Resulting Numbers: [22, 21] Generated Node #0,0,2: 64:[22, 21] Operation: 30-9=21 Exploring Operation: 30-22=8, Resulting Numbers: [9, 8] Generated Node #0,0,3: 64:[9, 8] Operation: 30-22=8 Moving to Node #0,2 Current State: 64:[30, 39, 70], Operations: ['48+22=70'] Exploring Operation: 39-30=9, Resulting Numbers: [70, 9] Generated Node #0,2,0: 64:[70, 9] Operation: 39-30=9 Exploring Operation: 30+39=69, Resulting Numbers: [70, 69] Generated Node #0,2,1: 64:[70, 69] Operation: 30+39=69 Exploring Operation: 70-30=40, Resulting Numbers: [39, 40] Generated Node #0,2,2: 64:[39, 40] Operation: 70-30=40 Exploring Operation: 70-39=31, Resulting Numbers: [30, 31] Generated Node #0,2,3: 64:[30, 31] Operation: 70-39=31 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[30, 31], Operations: ['48+22=70', '70-39=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,64 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,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, 9], Operations: ['48+22=70', '39-30=9'] Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,64 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,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:[70, 69], Operations: ['48+22=70', '30+39=69'] Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,64 unequal: No Solution Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[39, 40], Operations: ['48+22=70', '70-30=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,64 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: 64:[39, 22, 18], Operations: ['48-30=18'] Exploring Operation: 39-22=17, Resulting Numbers: [18, 17] Generated Node #0,1,0: 64:[18, 17] Operation: 39-22=17 Exploring Operation: 39+22=61, Resulting Numbers: [18, 61] Generated Node #0,1,1: 64:[18, 61] Operation: 39+22=61 Exploring Operation: 39-18=21, Resulting Numbers: [22, 21] Generated Node #0,1,2: 64:[22, 21] Operation: 39-18=21 Exploring Operation: 22-18=4, Resulting Numbers: [39, 4] Generated Node #0,1,3: 64:[39, 4] Operation: 22-18=4 Moving to Node #0,3 Current State: 64:[30, 39, 26], Operations: ['48-22=26'] Exploring Operation: 39-30=9, Resulting Numbers: [26, 9] Generated Node #0,3,0: 64:[26, 9] Operation: 39-30=9 Exploring Operation: 39-26=13, Resulting Numbers: [30, 13] Generated Node #0,3,1: 64:[30, 13] Operation: 39-26=13 Exploring Operation: 30-26=4, Resulting Numbers: [39, 4] Generated Node #0,3,2: 64:[39, 4] Operation: 30-26=4 Exploring Operation: 39+26=65, Resulting Numbers: [30, 65] Generated Node #0,3,3: 64:[30, 65] Operation: 39+26=65 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[30, 65], Operations: ['48-22=26', '39+26=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[30, 13], Operations: ['48-22=26', '39-26=13'] Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,64 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[26, 9], Operations: ['48-22=26', '39-30=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[39, 4], Operations: ['48-22=26', '30-26=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,64 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,64 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: 64:[9, 8], Operations: ['48-39=9', '30-22=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[30, 31], Operations: ['48-39=9', '22+9=31'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,64 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[18, 17], Operations: ['48-30=18', '39-22=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,64 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[30, 13], Operations: ['48-39=9', '22-9=13'] Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,64 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[18, 61], Operations: ['48-30=18', '39+22=61'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,64 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[39, 4], Operations: ['48-30=18', '22-18=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,64 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[22, 21], Operations: ['48-39=9', '30-9=21'] Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,64 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[22, 21], Operations: ['48-30=18', '39-18=21'] Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,64 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,64 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 94, 15, 10, 13 ]
37
[ "15-13=2", "94/2=47", "47-10=37" ]
Current State: 37:[94, 15, 10, 13], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [94, 10, 2] Generated Node #2: [94, 10, 2] from Operation: 15-13=2 Current State: 37:[94, 10, 2], Operations: ['15-13=2'] Exploring Operation: 94/2=47, Resulting Numbers: [10, 47] Generated Node #3: [10, 47] from Operation: 94/2=47 Current State: 37:[10, 47], Operations: ['15-13=2', '94/2=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[94, 15, 10, 13], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [15, 10, 81] Generated Node #0,0: 37:[15, 10, 81] Operation: 94-13=81 Exploring Operation: 94-15=79, Resulting Numbers: [10, 13, 79] Generated Node #0,1: 37:[10, 13, 79] Operation: 94-15=79 Exploring Operation: 94-10=84, Resulting Numbers: [15, 13, 84] Generated Node #0,2: 37:[15, 13, 84] Operation: 94-10=84 Exploring Operation: 15+10=25, Resulting Numbers: [94, 13, 25] Generated Node #0,3: 37:[94, 13, 25] Operation: 15+10=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[15, 10, 81], Operations: ['94-13=81'] Exploring Operation: 81-10=71, Resulting Numbers: [15, 71] Generated Node #0,0,0: 37:[15, 71] Operation: 81-10=71 Exploring Operation: 81-15=66, Resulting Numbers: [10, 66] Generated Node #0,0,1: 37:[10, 66] Operation: 81-15=66 Exploring Operation: 15-10=5, Resulting Numbers: [81, 5] Generated Node #0,0,2: 37:[81, 5] Operation: 15-10=5 Exploring Operation: 15+10=25, Resulting Numbers: [81, 25] Generated Node #0,0,3: 37:[81, 25] Operation: 15+10=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[15, 71], Operations: ['94-13=81', '81-10=71'] Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 15*71=1065, Resulting Numbers: [1065] 1065,37 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[10, 66], Operations: ['94-13=81', '81-15=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[81, 25], Operations: ['94-13=81', '15+10=25'] Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,37 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[81, 5], Operations: ['94-13=81', '15-10=5'] Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,37 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,37 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: 37:[10, 13, 79], Operations: ['94-15=79'] Exploring Operation: 10+13=23, Resulting Numbers: [79, 23] Generated Node #0,1,0: 37:[79, 23] Operation: 10+13=23 Exploring Operation: 79-13=66, Resulting Numbers: [10, 66] Generated Node #0,1,1: 37:[10, 66] Operation: 79-13=66 Exploring Operation: 79-10=69, Resulting Numbers: [13, 69] Generated Node #0,1,2: 37:[13, 69] Operation: 79-10=69 Exploring Operation: 13-10=3, Resulting Numbers: [79, 3] Generated Node #0,1,3: 37:[79, 3] Operation: 13-10=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[79, 23], Operations: ['94-15=79', '10+13=23'] Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,37 unequal: No Solution Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[10, 66], Operations: ['94-15=79', '79-13=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,37 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[13, 69], Operations: ['94-15=79', '79-10=69'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[79, 3], Operations: ['94-15=79', '13-10=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,37 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: 37:[15, 13, 84], Operations: ['94-10=84'] Exploring Operation: 15-13=2, Resulting Numbers: [84, 2] Generated Node #0,2,0: 37:[84, 2] Operation: 15-13=2 Exploring Operation: 84-13=71, Resulting Numbers: [15, 71] Generated Node #0,2,1: 37:[15, 71] Operation: 84-13=71 Exploring Operation: 84-15=69, Resulting Numbers: [13, 69] Generated Node #0,2,2: 37:[13, 69] Operation: 84-15=69 Exploring Operation: 15+13=28, Resulting Numbers: [84, 28] Generated Node #0,2,3: 37:[84, 28] Operation: 15+13=28 Moving to Node #0,2,1 Current State: 37:[15, 71], Operations: ['94-10=84', '84-13=71'] Exploring Operation: 15*71=1065, Resulting Numbers: [1065] 1065,37 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[84, 28], Operations: ['94-10=84', '15+13=28'] Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,37 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[13, 69], Operations: ['94-10=84', '84-15=69'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,37 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[84, 2], Operations: ['94-10=84', '15-13=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,37 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,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 Current State: 37:[94, 13, 25], Operations: ['15+10=25'] Exploring Operation: 13+25=38, Resulting Numbers: [94, 38] Generated Node #0,3,0: 37:[94, 38] Operation: 13+25=38 Exploring Operation: 94+13=107, Resulting Numbers: [25, 107] Generated Node #0,3,1: 37:[25, 107] Operation: 94+13=107 Exploring Operation: 94-13=81, Resulting Numbers: [25, 81] Generated Node #0,3,2: 37:[25, 81] Operation: 94-13=81 Exploring Operation: 94-25=69, Resulting Numbers: [13, 69] Generated Node #0,3,3: 37:[13, 69] Operation: 94-25=69 Moving to Node #0,3,2 Current State: 37:[25, 81], Operations: ['15+10=25', '94-13=81'] Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 25*81=2025, Resulting Numbers: [2025] 2025,37 unequal: No Solution Exploring Operation: 25+81=106, Resulting Numbers: [106] 106,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[13, 69], Operations: ['15+10=25', '94-25=69'] Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[94, 38], Operations: ['15+10=25', '13+25=38'] Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,37 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[25, 107], Operations: ['15+10=25', '94+13=107'] Exploring Operation: 107-25=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 25+107=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 25*107=2675, Resulting Numbers: [2675] 2675,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 8, 47, 2, 9 ]
97
[ "8*2=16", "9*16=144", "144-47=97" ]
Current State: 97:[8, 47, 2, 9], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [47, 9, 16] Generated Node #2: [47, 9, 16] from Operation: 8*2=16 Current State: 97:[47, 9, 16], Operations: ['8*2=16'] Exploring Operation: 9*16=144, Resulting Numbers: [47, 144] Generated Node #3: [47, 144] from Operation: 9*16=144 Current State: 97:[47, 144], Operations: ['8*2=16', '9*16=144'] Exploring Operation: 144-47=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[8, 47, 2, 9], Operations: [] Exploring Operation: 8*9=72, Resulting Numbers: [47, 2, 72] Generated Node #0,0: 97:[47, 2, 72] Operation: 8*9=72 Exploring Operation: 2*9=18, Resulting Numbers: [8, 47, 18] Generated Node #0,1: 97:[8, 47, 18] Operation: 2*9=18 Exploring Operation: 8+47=55, Resulting Numbers: [2, 9, 55] Generated Node #0,2: 97:[2, 9, 55] Operation: 8+47=55 Exploring Operation: 47*2=94, Resulting Numbers: [8, 9, 94] Generated Node #0,3: 97:[8, 9, 94] Operation: 47*2=94 Exploring Operation: 8*2=16, Resulting Numbers: [47, 9, 16] Generated Node #0,4: 97:[47, 9, 16] Operation: 8*2=16 Moving to Node #0,0 Current State: 97:[47, 2, 72], Operations: ['8*9=72'] Exploring Operation: 2+72=74, Resulting Numbers: [47, 74] Generated Node #0,0,0: 97:[47, 74] Operation: 2+72=74 Exploring Operation: 47*2=94, Resulting Numbers: [72, 94] Generated Node #0,0,1: 97:[72, 94] Operation: 47*2=94 Exploring Operation: 47-2=45, Resulting Numbers: [72, 45] Generated Node #0,0,2: 97:[72, 45] Operation: 47-2=45 Exploring Operation: 72-2=70, Resulting Numbers: [47, 70] Generated Node #0,0,3: 97:[47, 70] Operation: 72-2=70 Exploring Operation: 47+2=49, Resulting Numbers: [72, 49] Generated Node #0,0,4: 97:[72, 49] Operation: 47+2=49 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[72, 94], Operations: ['8*9=72', '47*2=94'] Exploring Operation: 72+94=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 72*94=6768, Resulting Numbers: [6768] 6768,97 unequal: No Solution Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[47, 74], Operations: ['8*9=72', '2+72=74'] Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,97 unequal: No Solution Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[72, 49], Operations: ['8*9=72', '47+2=49'] Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,97 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[72, 45], Operations: ['8*9=72', '47-2=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,97 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[47, 70], Operations: ['8*9=72', '72-2=70'] Exploring Operation: 47*70=3290, Resulting Numbers: [3290] 3290,97 unequal: No Solution Exploring Operation: 47+70=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 97:[8, 9, 94], Operations: ['47*2=94'] Exploring Operation: 9-8=1, Resulting Numbers: [94, 1] Generated Node #0,3,0: 97:[94, 1] Operation: 9-8=1 Exploring Operation: 8+9=17, Resulting Numbers: [94, 17] Generated Node #0,3,1: 97:[94, 17] Operation: 8+9=17 Exploring Operation: 9+94=103, Resulting Numbers: [8, 103] Generated Node #0,3,2: 97:[8, 103] Operation: 9+94=103 Exploring Operation: 8+94=102, Resulting Numbers: [9, 102] Generated Node #0,3,3: 97:[9, 102] Operation: 8+94=102 Exploring Operation: 8*9=72, Resulting Numbers: [94, 72] Generated Node #0,3,4: 97:[94, 72] Operation: 8*9=72 Moving to Node #0,1 Current State: 97:[8, 47, 18], Operations: ['2*9=18'] Exploring Operation: 8+47=55, Resulting Numbers: [18, 55] Generated Node #0,1,0: 97:[18, 55] Operation: 8+47=55 Exploring Operation: 47+18=65, Resulting Numbers: [8, 65] Generated Node #0,1,1: 97:[8, 65] Operation: 47+18=65 Exploring Operation: 47-8=39, Resulting Numbers: [18, 39] Generated Node #0,1,2: 97:[18, 39] Operation: 47-8=39 Exploring Operation: 8*18=144, Resulting Numbers: [47, 144] Generated Node #0,1,3: 97:[47, 144] Operation: 8*18=144 Exploring Operation: 8+18=26, Resulting Numbers: [47, 26] Generated Node #0,1,4: 97:[47, 26] Operation: 8+18=26 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[47, 144], Operations: ['2*9=18', '8*18=144'] Exploring Operation: 47+144=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 47*144=6768, Resulting Numbers: [6768] 6768,97 unequal: No Solution Exploring Operation: 144-47=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[8, 47, 2, 9], Operations: [] Exploring Operation: 2*9=18, Resulting Numbers: [8, 47, 18] Generated Node #0,1: 97:[8, 47, 18] Operation: 2*9=18 Moving to Node #0,1 Current State: 97:[8, 47, 18], Operations: ['2*9=18'] Exploring Operation: 8*18=144, Resulting Numbers: [47, 144] Generated Node #0,1,3: 97:[47, 144] Operation: 8*18=144 Moving to Node #0,1,3 Current State: 97:[47, 144], Operations: ['2*9=18', '8*18=144'] Exploring Operation: 144-47=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 45, 5, 97, 94 ]
53
[ "45+5=50", "97-94=3", "50+3=53" ]
Current State: 53:[45, 5, 97, 94], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [97, 94, 50] Generated Node #2: [97, 94, 50] from Operation: 45+5=50 Current State: 53:[97, 94, 50], Operations: ['45+5=50'] Exploring Operation: 97-94=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 97-94=3 Current State: 53:[50, 3], Operations: ['45+5=50', '97-94=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[45, 5, 97, 94], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [45, 94, 92] Generated Node #0,0: 53:[45, 94, 92] Operation: 97-5=92 Exploring Operation: 45+5=50, Resulting Numbers: [97, 94, 50] Generated Node #0,1: 53:[97, 94, 50] Operation: 45+5=50 Moving to Node #0,0 Current State: 53:[45, 94, 92], Operations: ['97-5=92'] Exploring Operation: 92-45=47, Resulting Numbers: [94, 47] Generated Node #0,0,0: 53:[94, 47] Operation: 92-45=47 Exploring Operation: 94-45=49, Resulting Numbers: [92, 49] Generated Node #0,0,1: 53:[92, 49] Operation: 94-45=49 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[92, 49], Operations: ['97-5=92', '94-45=49'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[94, 47], Operations: ['97-5=92', '92-45=47'] Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[97, 94, 50], Operations: ['45+5=50'] Exploring Operation: 97-94=3, Resulting Numbers: [50, 3] Generated Node #0,1,0: 53:[50, 3] Operation: 97-94=3 Exploring Operation: 97-50=47, Resulting Numbers: [94, 47] Generated Node #0,1,1: 53:[94, 47] Operation: 97-50=47 Moving to Node #0,1,1 Current State: 53:[94, 47], Operations: ['45+5=50', '97-50=47'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[50, 3], Operations: ['45+5=50', '97-94=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[45, 5, 97, 94], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [97, 94, 50] Generated Node #0,1: 53:[97, 94, 50] Operation: 45+5=50 Moving to Node #0,1 Current State: 53:[97, 94, 50], Operations: ['45+5=50'] Exploring Operation: 97-94=3, Resulting Numbers: [50, 3] Generated Node #0,1,0: 53:[50, 3] Operation: 97-94=3 Moving to Node #0,1,0 Current State: 53:[50, 3], Operations: ['45+5=50', '97-94=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 2, 71, 10, 77 ]
69
[ "71-10=61", "77+61=138", "138/2=69" ]
Current State: 69:[2, 71, 10, 77], Operations: [] Exploring Operation: 71-10=61, Resulting Numbers: [2, 77, 61] Generated Node #2: [2, 77, 61] from Operation: 71-10=61 Current State: 69:[2, 77, 61], Operations: ['71-10=61'] Exploring Operation: 77+61=138, Resulting Numbers: [2, 138] Generated Node #3: [2, 138] from Operation: 77+61=138 Current State: 69:[2, 138], Operations: ['71-10=61', '77+61=138'] Exploring Operation: 138/2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[2, 71, 10, 77], Operations: [] Exploring Operation: 77-10=67, Resulting Numbers: [2, 71, 67] Generated Node #0,0: 69:[2, 71, 67] Operation: 77-10=67 Moving to Node #0,0 Current State: 69:[2, 71, 67], Operations: ['77-10=67'] Exploring Operation: 71-2=69, Resulting Numbers: [67, 69] Generated Node #0,0,0: 69:[67, 69] Operation: 71-2=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[67, 69], Operations: ['77-10=67', '71-2=69'] Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 7, 28, 67 ]
51
[ "97-7=90", "67-28=39", "90-39=51" ]
Current State: 51:[97, 7, 28, 67], Operations: [] Exploring Operation: 97-7=90, Resulting Numbers: [28, 67, 90] Generated Node #2: [28, 67, 90] from Operation: 97-7=90 Current State: 51:[28, 67, 90], Operations: ['97-7=90'] Exploring Operation: 67-28=39, Resulting Numbers: [90, 39] Generated Node #3: [90, 39] from Operation: 67-28=39 Current State: 51:[90, 39], Operations: ['97-7=90', '67-28=39'] Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[97, 7, 28, 67], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [7, 28, 30] Generated Node #0,0: 51:[7, 28, 30] Operation: 97-67=30 Moving to Node #0,0 Current State: 51:[7, 28, 30], Operations: ['97-67=30'] Exploring Operation: 30-28=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 51:[7, 2] Operation: 30-28=2 Moving to Node #0,0,0 Current State: 51:[7, 2], Operations: ['97-67=30', '30-28=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,51 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 2, 72, 42 ]
22
[ "72-71=1", "42/2=21", "1+21=22" ]
Current State: 22:[71, 2, 72, 42], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [2, 42, 1] Generated Node #2: [2, 42, 1] from Operation: 72-71=1 Current State: 22:[2, 42, 1], Operations: ['72-71=1'] Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #3: [1, 21] from Operation: 42/2=21 Current State: 22:[1, 21], Operations: ['72-71=1', '42/2=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[71, 2, 72, 42], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [2, 72, 29] Generated Node #0,0: 22:[2, 72, 29] Operation: 71-42=29 Exploring Operation: 72-71=1, Resulting Numbers: [2, 42, 1] Generated Node #0,1: 22:[2, 42, 1] Operation: 72-71=1 Exploring Operation: 72-42=30, Resulting Numbers: [71, 2, 30] Generated Node #0,2: 22:[71, 2, 30] Operation: 72-42=30 Moving to Node #0,1 Current State: 22:[2, 42, 1], Operations: ['72-71=1'] Exploring Operation: 42-2=40, Resulting Numbers: [1, 40] Generated Node #0,1,0: 22:[1, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #0,1,1: 22:[1, 21] Operation: 42/2=21 Exploring Operation: 42-1=41, Resulting Numbers: [2, 41] Generated Node #0,1,2: 22:[2, 41] Operation: 42-1=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[1, 21], Operations: ['72-71=1', '42/2=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[71, 2, 72, 42], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [2, 42, 1] Generated Node #0,1: 22:[2, 42, 1] Operation: 72-71=1 Moving to Node #0,1 Current State: 22:[2, 42, 1], Operations: ['72-71=1'] Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #0,1,1: 22:[1, 21] Operation: 42/2=21 Moving to Node #0,1,1 Current State: 22:[1, 21], Operations: ['72-71=1', '42/2=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 58, 19, 29, 3 ]
45
[ "58+19=77", "29+3=32", "77-32=45" ]
Current State: 45:[58, 19, 29, 3], Operations: [] Exploring Operation: 58+19=77, Resulting Numbers: [29, 3, 77] Generated Node #2: [29, 3, 77] from Operation: 58+19=77 Current State: 45:[29, 3, 77], Operations: ['58+19=77'] Exploring Operation: 29+3=32, Resulting Numbers: [77, 32] Generated Node #3: [77, 32] from Operation: 29+3=32 Current State: 45:[77, 32], Operations: ['58+19=77', '29+3=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[58, 19, 29, 3], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [19, 3, 2] Generated Node #0,0: 45:[19, 3, 2] Operation: 58/29=2 Exploring Operation: 29-19=10, Resulting Numbers: [58, 3, 10] Generated Node #0,1: 45:[58, 3, 10] Operation: 29-19=10 Exploring Operation: 19+29=48, Resulting Numbers: [58, 3, 48] Generated Node #0,2: 45:[58, 3, 48] Operation: 19+29=48 Exploring Operation: 58-29=29, Resulting Numbers: [19, 3, 29] Generated Node #0,3: 45:[19, 3, 29] Operation: 58-29=29 Moving to Node #0,0 Current State: 45:[19, 3, 2], Operations: ['58/29=2'] Exploring Operation: 3+2=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 45:[19, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [19, 6] Generated Node #0,0,1: 45:[19, 6] Operation: 3*2=6 Exploring Operation: 19-2=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 45:[3, 17] Operation: 19-2=17 Exploring Operation: 19-3=16, Resulting Numbers: [2, 16] Generated Node #0,0,3: 45:[2, 16] Operation: 19-3=16 Moving to Node #0,1 Current State: 45:[58, 3, 10], Operations: ['29-19=10'] Exploring Operation: 3+10=13, Resulting Numbers: [58, 13] Generated Node #0,1,0: 45:[58, 13] Operation: 3+10=13 Exploring Operation: 10-3=7, Resulting Numbers: [58, 7] Generated Node #0,1,1: 45:[58, 7] Operation: 10-3=7 Exploring Operation: 58-10=48, Resulting Numbers: [3, 48] Generated Node #0,1,2: 45:[3, 48] Operation: 58-10=48 Exploring Operation: 58-3=55, Resulting Numbers: [10, 55] Generated Node #0,1,3: 45:[10, 55] Operation: 58-3=55 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[3, 48], Operations: ['29-19=10', '58-10=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[58, 19, 29, 3], Operations: [] Exploring Operation: 29-19=10, Resulting Numbers: [58, 3, 10] Generated Node #0,1: 45:[58, 3, 10] Operation: 29-19=10 Moving to Node #0,1 Current State: 45:[58, 3, 10], Operations: ['29-19=10'] Exploring Operation: 58-10=48, Resulting Numbers: [3, 48] Generated Node #0,1,2: 45:[3, 48] Operation: 58-10=48 Moving to Node #0,1,2 Current State: 45:[3, 48], Operations: ['29-19=10', '58-10=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 4, 49, 46, 85 ]
40
[ "49+46=95", "95-85=10", "4*10=40" ]
Current State: 40:[4, 49, 46, 85], Operations: [] Exploring Operation: 49+46=95, Resulting Numbers: [4, 85, 95] Generated Node #2: [4, 85, 95] from Operation: 49+46=95 Current State: 40:[4, 85, 95], Operations: ['49+46=95'] Exploring Operation: 95-85=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 95-85=10 Current State: 40:[4, 10], Operations: ['49+46=95', '95-85=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[4, 49, 46, 85], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [4, 49, 39] Generated Node #0,0: 40:[4, 49, 39] Operation: 85-46=39 Exploring Operation: 85-49=36, Resulting Numbers: [4, 46, 36] Generated Node #0,1: 40:[4, 46, 36] Operation: 85-49=36 Moving to Node #0,0 Current State: 40:[4, 49, 39], Operations: ['85-46=39'] Exploring Operation: 49-39=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 49-39=10 Exploring Operation: 49-4=45, Resulting Numbers: [39, 45] Generated Node #0,0,1: 40:[39, 45] Operation: 49-4=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['85-46=39', '49-39=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[4, 49, 46, 85], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [4, 49, 39] Generated Node #0,0: 40:[4, 49, 39] Operation: 85-46=39 Moving to Node #0,0 Current State: 40:[4, 49, 39], Operations: ['85-46=39'] Exploring Operation: 49-39=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 49-39=10 Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['85-46=39', '49-39=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 84, 86, 22, 79 ]
70
[ "86-79=7", "22*7=154", "154-84=70" ]
Current State: 70:[84, 86, 22, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [84, 22, 7] Generated Node #2: [84, 22, 7] from Operation: 86-79=7 Current State: 70:[84, 22, 7], Operations: ['86-79=7'] Exploring Operation: 22*7=154, Resulting Numbers: [84, 154] Generated Node #3: [84, 154] from Operation: 22*7=154 Current State: 70:[84, 154], Operations: ['86-79=7', '22*7=154'] Exploring Operation: 154-84=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[84, 86, 22, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [84, 22, 7] Generated Node #0,0: 70:[84, 22, 7] Operation: 86-79=7 Exploring Operation: 84-22=62, Resulting Numbers: [86, 79, 62] Generated Node #0,1: 70:[86, 79, 62] Operation: 84-22=62 Exploring Operation: 86-22=64, Resulting Numbers: [84, 79, 64] Generated Node #0,2: 70:[84, 79, 64] Operation: 86-22=64 Exploring Operation: 84-79=5, Resulting Numbers: [86, 22, 5] Generated Node #0,3: 70:[86, 22, 5] Operation: 84-79=5 Exploring Operation: 86-84=2, Resulting Numbers: [22, 79, 2] Generated Node #0,4: 70:[22, 79, 2] Operation: 86-84=2 Moving to Node #0,4 Current State: 70:[22, 79, 2], Operations: ['86-84=2'] Exploring Operation: 79-2=77, Resulting Numbers: [22, 77] Generated Node #0,4,0: 70:[22, 77] Operation: 79-2=77 Exploring Operation: 22*2=44, Resulting Numbers: [79, 44] Generated Node #0,4,1: 70:[79, 44] Operation: 22*2=44 Exploring Operation: 79-22=57, Resulting Numbers: [2, 57] Generated Node #0,4,2: 70:[2, 57] Operation: 79-22=57 Exploring Operation: 22-2=20, Resulting Numbers: [79, 20] Generated Node #0,4,3: 70:[79, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [79, 11] Generated Node #0,4,4: 70:[79, 11] Operation: 22/2=11 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 70:[79, 11], Operations: ['86-84=2', '22/2=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,70 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,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,4,2 Current State: 70:[2, 57], Operations: ['86-84=2', '79-22=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,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,4,0 Current State: 70:[22, 77], Operations: ['86-84=2', '79-2=77'] Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,70 unequal: No Solution Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,70 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,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,4,3 Current State: 70:[79, 20], Operations: ['86-84=2', '22-2=20'] Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,70 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,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,4,1 Current State: 70:[79, 44], Operations: ['86-84=2', '22*2=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,70 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,70 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,70 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: 70:[84, 22, 7], Operations: ['86-79=7'] Exploring Operation: 84-22=62, Resulting Numbers: [7, 62] Generated Node #0,0,0: 70:[7, 62] Operation: 84-22=62 Exploring Operation: 84/7=12, Resulting Numbers: [22, 12] Generated Node #0,0,1: 70:[22, 12] Operation: 84/7=12 Exploring Operation: 22-7=15, Resulting Numbers: [84, 15] Generated Node #0,0,2: 70:[84, 15] Operation: 22-7=15 Exploring Operation: 22+7=29, Resulting Numbers: [84, 29] Generated Node #0,0,3: 70:[84, 29] Operation: 22+7=29 Exploring Operation: 84-7=77, Resulting Numbers: [22, 77] Generated Node #0,0,4: 70:[22, 77] Operation: 84-7=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[7, 62], Operations: ['86-79=7', '84-22=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,70 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[22, 12], Operations: ['86-79=7', '84/7=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[84, 15], Operations: ['86-79=7', '22-7=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,70 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 70:[22, 77], Operations: ['86-79=7', '84-7=77'] Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,70 unequal: No Solution Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,70 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[84, 29], Operations: ['86-79=7', '22+7=29'] Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,70 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,70 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: 70:[86, 22, 5], Operations: ['84-79=5'] Exploring Operation: 86-5=81, Resulting Numbers: [22, 81] Generated Node #0,3,0: 70:[22, 81] Operation: 86-5=81 Exploring Operation: 22-5=17, Resulting Numbers: [86, 17] Generated Node #0,3,1: 70:[86, 17] Operation: 22-5=17 Exploring Operation: 86+5=91, Resulting Numbers: [22, 91] Generated Node #0,3,2: 70:[22, 91] Operation: 86+5=91 Exploring Operation: 22+5=27, Resulting Numbers: [86, 27] Generated Node #0,3,3: 70:[86, 27] Operation: 22+5=27 Exploring Operation: 86-22=64, Resulting Numbers: [5, 64] Generated Node #0,3,4: 70:[5, 64] Operation: 86-22=64 Moving to Node #0,2 Current State: 70:[84, 79, 64], Operations: ['86-22=64'] Exploring Operation: 79+64=143, Resulting Numbers: [84, 143] Generated Node #0,2,0: 70:[84, 143] Operation: 79+64=143 Exploring Operation: 84-79=5, Resulting Numbers: [64, 5] Generated Node #0,2,1: 70:[64, 5] Operation: 84-79=5 Exploring Operation: 84-64=20, Resulting Numbers: [79, 20] Generated Node #0,2,2: 70:[79, 20] Operation: 84-64=20 Exploring Operation: 84+64=148, Resulting Numbers: [79, 148] Generated Node #0,2,3: 70:[79, 148] Operation: 84+64=148 Exploring Operation: 79-64=15, Resulting Numbers: [84, 15] Generated Node #0,2,4: 70:[84, 15] Operation: 79-64=15 Moving to Node #0,1 Current State: 70:[86, 79, 62], Operations: ['84-22=62'] Exploring Operation: 86-79=7, Resulting Numbers: [62, 7] Generated Node #0,1,0: 70:[62, 7] Operation: 86-79=7 Exploring Operation: 79-62=17, Resulting Numbers: [86, 17] Generated Node #0,1,1: 70:[86, 17] Operation: 79-62=17 Exploring Operation: 79+62=141, Resulting Numbers: [86, 141] Generated Node #0,1,2: 70:[86, 141] Operation: 79+62=141 Exploring Operation: 86+62=148, Resulting Numbers: [79, 148] Generated Node #0,1,3: 70:[79, 148] Operation: 86+62=148 Exploring Operation: 86-62=24, Resulting Numbers: [79, 24] Generated Node #0,1,4: 70:[79, 24] Operation: 86-62=24 Moving to Node #0,3,4 Current State: 70:[5, 64], Operations: ['84-79=5', '86-22=64'] Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 5*64=320, Resulting Numbers: [320] 320,70 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[64, 5], Operations: ['86-22=64', '84-79=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[62, 7], Operations: ['84-22=62', '86-79=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[79, 20], Operations: ['86-22=64', '84-64=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,70 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,70 unequal: No Solution Moving to Node #0,2,4 Current State: 70:[84, 15], Operations: ['86-22=64', '79-64=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,70 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[86, 17], Operations: ['84-79=5', '22-5=17'] Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,70 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[86, 17], Operations: ['84-22=62', '79-62=17'] Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,70 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,70 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[22, 81], Operations: ['84-79=5', '86-5=81'] Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,70 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,70 unequal: No Solution Moving to Node #0,1,4 Current State: 70:[79, 24], Operations: ['84-22=62', '86-62=24'] Exploring Operation: 79*24=1896, Resulting Numbers: [1896] 1896,70 unequal: No Solution Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,70 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[86, 27], Operations: ['84-79=5', '22+5=27'] Exploring Operation: 86*27=2322, Resulting Numbers: [2322] 2322,70 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 86+27=113, Resulting Numbers: [113] 113,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[22, 91], Operations: ['84-79=5', '86+5=91'] Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 22+91=113, Resulting Numbers: [113] 113,70 unequal: No Solution Exploring Operation: 22*91=2002, Resulting Numbers: [2002] 2002,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[86, 141], Operations: ['84-22=62', '79+62=141'] Exploring Operation: 86*141=12126, Resulting Numbers: [12126] 12126,70 unequal: No Solution Exploring Operation: 86+141=227, Resulting Numbers: [227] 227,70 unequal: No Solution Exploring Operation: 141-86=55, Resulting Numbers: [55] 55,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[79, 148], Operations: ['84-22=62', '86+62=148'] Exploring Operation: 148-79=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 79+148=227, Resulting Numbers: [227] 227,70 unequal: No Solution Exploring Operation: 79*148=11692, Resulting Numbers: [11692] 11692,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[79, 148], Operations: ['86-22=64', '84+64=148'] Exploring Operation: 148-79=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 79+148=227, Resulting Numbers: [227] 227,70 unequal: No Solution Exploring Operation: 79*148=11692, Resulting Numbers: [11692] 11692,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[84, 143], Operations: ['86-22=64', '79+64=143'] Exploring Operation: 143-84=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 84*143=12012, Resulting Numbers: [12012] 12012,70 unequal: No Solution Exploring Operation: 84+143=227, Resulting Numbers: [227] 227,70 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 70, 71, 82, 70 ]
11
[ "70+71=141", "82+70=152", "152-141=11" ]
Current State: 11:[70, 71, 82, 70], Operations: [] Exploring Operation: 70+71=141, Resulting Numbers: [82, 141] Generated Node #2: [82, 141] from Operation: 70+71=141 Current State: 11:[82, 141], Operations: ['70+71=141'] Exploring Operation: 82+70=152, Resulting Numbers: [141, 152] Generated Node #3: [141, 152] from Operation: 82+70=152 Current State: 11:[141, 152], Operations: ['70+71=141', '82+70=152'] Exploring Operation: 152-141=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[70, 71, 82, 70], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [71, 70, 12] Generated Node #0,0: 11:[71, 70, 12] Operation: 82-70=12 Exploring Operation: 82-71=11, Resulting Numbers: [70, 70, 11] Generated Node #0,1: 11:[70, 70, 11] Operation: 82-71=11 Exploring Operation: 71-70=1, Resulting Numbers: [70, 82, 1] Generated Node #0,2: 11:[70, 82, 1] Operation: 71-70=1 Exploring Operation: 82-70=12, Resulting Numbers: [70, 71, 12] Generated Node #0,3: 11:[70, 71, 12] Operation: 82-70=12 Exploring Operation: 71-70=1, Resulting Numbers: [82, 70, 1] Generated Node #0,4: 11:[82, 70, 1] Operation: 71-70=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[70, 70, 11], Operations: ['82-71=11'] Exploring Operation: 70/70=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 11:[11, 1] Operation: 70/70=1 Exploring Operation: 70-11=59, Resulting Numbers: [70, 59] Generated Node #0,1,1: 11:[70, 59] Operation: 70-11=59 Exploring Operation: 70+70=140, Resulting Numbers: [11, 140] Generated Node #0,1,2: 11:[11, 140] Operation: 70+70=140 Exploring Operation: 70-70=0, Resulting Numbers: [11, 0] Generated Node #0,1,3: 11:[11, 0] Operation: 70-70=0 Exploring Operation: 70-11=59, Resulting Numbers: [70, 59] Generated Node #0,1,4: 11:[70, 59] Operation: 70-11=59 Moving to Node #0,1,0 Current State: 11:[11, 1], Operations: ['82-71=11', '70/70=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[70, 71, 82, 70], Operations: [] Exploring Operation: 82-71=11, Resulting Numbers: [70, 70, 11] Generated Node #0,1: 11:[70, 70, 11] Operation: 82-71=11 Moving to Node #0,1 Current State: 11:[70, 70, 11], Operations: ['82-71=11'] Exploring Operation: 70/70=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 11:[11, 1] Operation: 70/70=1 Moving to Node #0,1,0 Current State: 11:[11, 1], Operations: ['82-71=11', '70/70=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 62, 75, 72, 80 ]
79
[ "80-62=18", "72/18=4", "75+4=79" ]
Current State: 79:[62, 75, 72, 80], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [75, 72, 18] Generated Node #2: [75, 72, 18] from Operation: 80-62=18 Current State: 79:[75, 72, 18], Operations: ['80-62=18'] Exploring Operation: 72/18=4, Resulting Numbers: [75, 4] Generated Node #3: [75, 4] from Operation: 72/18=4 Current State: 79:[75, 4], Operations: ['80-62=18', '72/18=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[62, 75, 72, 80], Operations: [] Exploring Operation: 62+75=137, Resulting Numbers: [72, 80, 137] Generated Node #0,0: 79:[72, 80, 137] Operation: 62+75=137 Exploring Operation: 80-62=18, Resulting Numbers: [75, 72, 18] Generated Node #0,1: 79:[75, 72, 18] Operation: 80-62=18 Exploring Operation: 62+72=134, Resulting Numbers: [75, 80, 134] Generated Node #0,2: 79:[75, 80, 134] Operation: 62+72=134 Moving to Node #0,2 Current State: 79:[75, 80, 134], Operations: ['62+72=134'] Exploring Operation: 80-75=5, Resulting Numbers: [134, 5] Generated Node #0,2,0: 79:[134, 5] Operation: 80-75=5 Exploring Operation: 134-80=54, Resulting Numbers: [75, 54] Generated Node #0,2,1: 79:[75, 54] Operation: 134-80=54 Exploring Operation: 134-75=59, Resulting Numbers: [80, 59] Generated Node #0,2,2: 79:[80, 59] Operation: 134-75=59 Moving to Node #0,0 Current State: 79:[72, 80, 137], Operations: ['62+75=137'] Exploring Operation: 137-72=65, Resulting Numbers: [80, 65] Generated Node #0,0,0: 79:[80, 65] Operation: 137-72=65 Exploring Operation: 80-72=8, Resulting Numbers: [137, 8] Generated Node #0,0,1: 79:[137, 8] Operation: 80-72=8 Exploring Operation: 137-80=57, Resulting Numbers: [72, 57] Generated Node #0,0,2: 79:[72, 57] Operation: 137-80=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[80, 65], Operations: ['62+75=137', '137-72=65'] Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,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,0,2 Current State: 79:[72, 57], Operations: ['62+75=137', '137-80=57'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,79 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,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,0,1 Current State: 79:[137, 8], Operations: ['62+75=137', '80-72=8'] Exploring Operation: 137+8=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 137-8=129, Resulting Numbers: [129] 129,79 unequal: No Solution Exploring Operation: 137*8=1096, Resulting Numbers: [1096] 1096,79 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: 79:[75, 72, 18], Operations: ['80-62=18'] Exploring Operation: 75+18=93, Resulting Numbers: [72, 93] Generated Node #0,1,0: 79:[72, 93] Operation: 75+18=93 Exploring Operation: 75-18=57, Resulting Numbers: [72, 57] Generated Node #0,1,1: 79:[72, 57] Operation: 75-18=57 Exploring Operation: 72+18=90, Resulting Numbers: [75, 90] Generated Node #0,1,2: 79:[75, 90] Operation: 72+18=90 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[75, 90], Operations: ['80-62=18', '72+18=90'] Exploring Operation: 75+90=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 75*90=6750, Resulting Numbers: [6750] 6750,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, 93], Operations: ['80-62=18', '75+18=93'] Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,79 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,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,1 Current State: 79:[72, 57], Operations: ['80-62=18', '75-18=57'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,79 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 79:[80, 59], Operations: ['62+72=134', '134-75=59'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 80*59=4720, Resulting Numbers: [4720] 4720,79 unequal: No Solution Exploring Operation: 80+59=139, Resulting Numbers: [139] 139,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[75, 54], Operations: ['62+72=134', '134-80=54'] Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,79 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,79 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[134, 5], Operations: ['62+72=134', '80-75=5'] Exploring Operation: 134+5=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 134*5=670, Resulting Numbers: [670] 670,79 unequal: No Solution Exploring Operation: 134-5=129, Resulting Numbers: [129] 129,79 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 78, 26, 67, 41 ]
79
[ "67-26=41", "41/41=1", "78+1=79" ]
Current State: 79:[78, 26, 67, 41], Operations: [] Exploring Operation: 67-26=41, Resulting Numbers: [78, 41, 41] Generated Node #2: [78, 41, 41] from Operation: 67-26=41 Current State: 79:[78, 41, 41], Operations: ['67-26=41'] Exploring Operation: 41/41=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 41/41=1 Current State: 79:[78, 1], Operations: ['67-26=41', '41/41=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[78, 26, 67, 41], Operations: [] Exploring Operation: 78+26=104, Resulting Numbers: [67, 41, 104] Generated Node #0,0: 79:[67, 41, 104] Operation: 78+26=104 Exploring Operation: 78-26=52, Resulting Numbers: [67, 41, 52] Generated Node #0,1: 79:[67, 41, 52] Operation: 78-26=52 Exploring Operation: 26+67=93, Resulting Numbers: [78, 41, 93] Generated Node #0,2: 79:[78, 41, 93] Operation: 26+67=93 Exploring Operation: 67-26=41, Resulting Numbers: [78, 41, 41] Generated Node #0,3: 79:[78, 41, 41] Operation: 67-26=41 Exploring Operation: 26+41=67, Resulting Numbers: [78, 67, 67] Generated Node #0,4: 79:[78, 67, 67] Operation: 26+41=67 Moving to Node #0,4 Current State: 79:[78, 67, 67], Operations: ['26+41=67'] Exploring Operation: 78+67=145, Resulting Numbers: [67, 145] Generated Node #0,4,0: 79:[67, 145] Operation: 78+67=145 Exploring Operation: 78-67=11, Resulting Numbers: [67, 11] Generated Node #0,4,1: 79:[67, 11] Operation: 78-67=11 Exploring Operation: 67+67=134, Resulting Numbers: [78, 134] Generated Node #0,4,2: 79:[78, 134] Operation: 67+67=134 Exploring Operation: 67/67=1, Resulting Numbers: [78, 1] Generated Node #0,4,3: 79:[78, 1] Operation: 67/67=1 Exploring Operation: 78+67=145, Resulting Numbers: [67, 145] Generated Node #0,4,4: 79:[67, 145] Operation: 78+67=145 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[78, 134], Operations: ['26+41=67', '67+67=134'] Exploring Operation: 78+134=212, Resulting Numbers: [212] 212,79 unequal: No Solution Exploring Operation: 78*134=10452, Resulting Numbers: [10452] 10452,79 unequal: No Solution Exploring Operation: 134-78=56, Resulting Numbers: [56] 56,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,4,0 Current State: 79:[67, 145], Operations: ['26+41=67', '78+67=145'] Exploring Operation: 145-67=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 67*145=9715, Resulting Numbers: [9715] 9715,79 unequal: No Solution Exploring Operation: 67+145=212, Resulting Numbers: [212] 212,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,4,4 Current State: 79:[67, 145], Operations: ['26+41=67', '78+67=145'] Exploring Operation: 67+145=212, Resulting Numbers: [212] 212,79 unequal: No Solution Exploring Operation: 145-67=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 67*145=9715, Resulting Numbers: [9715] 9715,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,4,3 Current State: 79:[78, 1], Operations: ['26+41=67', '67/67=1'] Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,79 unequal: No Solution Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[78, 26, 67, 41], Operations: [] Exploring Operation: 26+41=67, Resulting Numbers: [78, 67, 67] Generated Node #0,4: 79:[78, 67, 67] Operation: 26+41=67 Moving to Node #0,4 Current State: 79:[78, 67, 67], Operations: ['26+41=67'] Exploring Operation: 67/67=1, Resulting Numbers: [78, 1] Generated Node #0,4,3: 79:[78, 1] Operation: 67/67=1 Moving to Node #0,4,3 Current State: 79:[78, 1], Operations: ['26+41=67', '67/67=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 64, 2, 47, 76 ]
99
[ "64*2=128", "76-47=29", "128-29=99" ]
Current State: 99:[64, 2, 47, 76], Operations: [] Exploring Operation: 64*2=128, Resulting Numbers: [47, 76, 128] Generated Node #2: [47, 76, 128] from Operation: 64*2=128 Current State: 99:[47, 76, 128], Operations: ['64*2=128'] Exploring Operation: 76-47=29, Resulting Numbers: [128, 29] Generated Node #3: [128, 29] from Operation: 76-47=29 Current State: 99:[128, 29], Operations: ['64*2=128', '76-47=29'] Exploring Operation: 128-29=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[64, 2, 47, 76], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [2, 47, 12] Generated Node #0,0: 99:[2, 47, 12] Operation: 76-64=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[2, 47, 12], Operations: ['76-64=12'] Exploring Operation: 47-12=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 99:[2, 35] Operation: 47-12=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[2, 35], Operations: ['76-64=12', '47-12=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 21, 34, 20 ]
36
[ "21-3=18", "34+20=54", "54-18=36" ]
Current State: 36:[3, 21, 34, 20], Operations: [] Exploring Operation: 21-3=18, Resulting Numbers: [34, 20, 18] Generated Node #2: [34, 20, 18] from Operation: 21-3=18 Current State: 36:[34, 20, 18], Operations: ['21-3=18'] Exploring Operation: 34+20=54, Resulting Numbers: [18, 54] Generated Node #3: [18, 54] from Operation: 34+20=54 Current State: 36:[18, 54], Operations: ['21-3=18', '34+20=54'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[3, 21, 34, 20], Operations: [] Exploring Operation: 34-21=13, Resulting Numbers: [3, 20, 13] Generated Node #0,0: 36:[3, 20, 13] Operation: 34-21=13 Moving to Node #0,0 Current State: 36:[3, 20, 13], Operations: ['34-21=13'] Exploring Operation: 20-13=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 36:[3, 7] Operation: 20-13=7 Moving to Node #0,0,0 Current State: 36:[3, 7], Operations: ['34-21=13', '20-13=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,36 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 21, 39, 3, 25 ]
99
[ "21+25=46", "3*46=138", "138-39=99" ]
Current State: 99:[21, 39, 3, 25], Operations: [] Exploring Operation: 21+25=46, Resulting Numbers: [39, 3, 46] Generated Node #2: [39, 3, 46] from Operation: 21+25=46 Current State: 99:[39, 3, 46], Operations: ['21+25=46'] Exploring Operation: 3*46=138, Resulting Numbers: [39, 138] Generated Node #3: [39, 138] from Operation: 3*46=138 Current State: 99:[39, 138], Operations: ['21+25=46', '3*46=138'] Exploring Operation: 138-39=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[21, 39, 3, 25], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [39, 3, 4] Generated Node #0,0: 99:[39, 3, 4] Operation: 25-21=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[39, 3, 4], Operations: ['25-21=4'] Exploring Operation: 39-4=35, Resulting Numbers: [3, 35] Generated Node #0,0,0: 99:[3, 35] Operation: 39-4=35 Moving to Node #0,0,0 Current State: 99:[3, 35], Operations: ['25-21=4', '39-4=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 79, 91, 75 ]
49
[ "91-75=16", "8*16=128", "128-79=49" ]
Current State: 49:[8, 79, 91, 75], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [8, 79, 16] Generated Node #2: [8, 79, 16] from Operation: 91-75=16 Current State: 49:[8, 79, 16], Operations: ['91-75=16'] Exploring Operation: 8*16=128, Resulting Numbers: [79, 128] Generated Node #3: [79, 128] from Operation: 8*16=128 Current State: 49:[79, 128], Operations: ['91-75=16', '8*16=128'] Exploring Operation: 128-79=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[8, 79, 91, 75], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [8, 79, 16] Generated Node #0,0: 49:[8, 79, 16] Operation: 91-75=16 Exploring Operation: 91-79=12, Resulting Numbers: [8, 75, 12] Generated Node #0,1: 49:[8, 75, 12] Operation: 91-79=12 Exploring Operation: 79-75=4, Resulting Numbers: [8, 91, 4] Generated Node #0,2: 49:[8, 91, 4] Operation: 79-75=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[8, 75, 12], Operations: ['91-79=12'] Exploring Operation: 12-8=4, Resulting Numbers: [75, 4] Generated Node #0,1,0: 49:[75, 4] Operation: 12-8=4 Exploring Operation: 75-8=67, Resulting Numbers: [12, 67] Generated Node #0,1,1: 49:[12, 67] Operation: 75-8=67 Exploring Operation: 75-12=63, Resulting Numbers: [8, 63] Generated Node #0,1,2: 49:[8, 63] Operation: 75-12=63 Moving to Node #0,1,2 Current State: 49:[8, 63], Operations: ['91-79=12', '75-12=63'] Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,49 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[12, 67], Operations: ['91-79=12', '75-8=67'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 12+67=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 12*67=804, Resulting Numbers: [804] 804,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[75, 4], Operations: ['91-79=12', '12-8=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[8, 79, 16], Operations: ['91-75=16'] Exploring Operation: 79-16=63, Resulting Numbers: [8, 63] Generated Node #0,0,0: 49:[8, 63] Operation: 79-16=63 Exploring Operation: 79-8=71, Resulting Numbers: [16, 71] Generated Node #0,0,1: 49:[16, 71] Operation: 79-8=71 Exploring Operation: 16-8=8, Resulting Numbers: [79, 8] Generated Node #0,0,2: 49:[79, 8] Operation: 16-8=8 Moving to Node #0,0,0 Current State: 49:[8, 63], Operations: ['91-75=16', '79-16=63'] Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[16, 71], Operations: ['91-75=16', '79-8=71'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 16+71=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 16*71=1136, Resulting Numbers: [1136] 1136,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[79, 8], Operations: ['91-75=16', '16-8=8'] Exploring Operation: 79*8=632, Resulting Numbers: [632] 632,49 unequal: No Solution Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[8, 91, 4], Operations: ['79-75=4'] Exploring Operation: 91-8=83, Resulting Numbers: [4, 83] Generated Node #0,2,0: 49:[4, 83] Operation: 91-8=83 Exploring Operation: 91-4=87, Resulting Numbers: [8, 87] Generated Node #0,2,1: 49:[8, 87] Operation: 91-4=87 Exploring Operation: 8-4=4, Resulting Numbers: [91, 4] Generated Node #0,2,2: 49:[91, 4] Operation: 8-4=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[4, 83], Operations: ['79-75=4', '91-8=83'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 4*83=332, Resulting Numbers: [332] 332,49 unequal: No Solution Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,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,2,1 Current State: 49:[8, 87], Operations: ['79-75=4', '91-4=87'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 8*87=696, Resulting Numbers: [696] 696,49 unequal: No Solution Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,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,2,2 Current State: 49:[91, 4], Operations: ['79-75=4', '8-4=4'] Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,49 unequal: No Solution Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,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 No solution found.
0
hs_3
mult_heuristic
[ 71, 30, 34, 77 ]
70
[ "71-30=41", "34+77=111", "111-41=70" ]
Current State: 70:[71, 30, 34, 77], Operations: [] Exploring Operation: 71-30=41, Resulting Numbers: [34, 77, 41] Generated Node #2: [34, 77, 41] from Operation: 71-30=41 Current State: 70:[34, 77, 41], Operations: ['71-30=41'] Exploring Operation: 34+77=111, Resulting Numbers: [41, 111] Generated Node #3: [41, 111] from Operation: 34+77=111 Current State: 70:[41, 111], Operations: ['71-30=41', '34+77=111'] Exploring Operation: 111-41=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[71, 30, 34, 77], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [71, 77, 4] Generated Node #0,0: 70:[71, 77, 4] Operation: 34-30=4 Exploring Operation: 77-71=6, Resulting Numbers: [30, 34, 6] Generated Node #0,1: 70:[30, 34, 6] Operation: 77-71=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[30, 34, 6], Operations: ['77-71=6'] Exploring Operation: 30/6=5, Resulting Numbers: [34, 5] Generated Node #0,1,0: 70:[34, 5] Operation: 30/6=5 Exploring Operation: 34-30=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 70:[6, 4] Operation: 34-30=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[34, 5], Operations: ['77-71=6', '30/6=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[6, 4], Operations: ['77-71=6', '34-30=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,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:[71, 77, 4], Operations: ['34-30=4'] Exploring Operation: 77-4=73, Resulting Numbers: [71, 73] Generated Node #0,0,0: 70:[71, 73] Operation: 77-4=73 Exploring Operation: 77-71=6, Resulting Numbers: [4, 6] Generated Node #0,0,1: 70:[4, 6] Operation: 77-71=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[4, 6], Operations: ['34-30=4', '77-71=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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, 73], Operations: ['34-30=4', '77-4=73'] Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 71+73=144, Resulting Numbers: [144] 144,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_2
sum_heuristic
[ 55, 79, 86, 74 ]
26
[ "55+79=134", "86+74=160", "160-134=26" ]
Current State: 26:[55, 79, 86, 74], Operations: [] Exploring Operation: 55+79=134, Resulting Numbers: [86, 74, 134] Generated Node #2: [86, 74, 134] from Operation: 55+79=134 Current State: 26:[86, 74, 134], Operations: ['55+79=134'] Exploring Operation: 86+74=160, Resulting Numbers: [134, 160] Generated Node #3: [134, 160] from Operation: 86+74=160 Current State: 26:[134, 160], Operations: ['55+79=134', '86+74=160'] Exploring Operation: 160-134=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[55, 79, 86, 74], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [55, 74, 7] Generated Node #0,0: 26:[55, 74, 7] Operation: 86-79=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[55, 74, 7], Operations: ['86-79=7'] Exploring Operation: 74-55=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 26:[7, 19] Operation: 74-55=19 Moving to Node #0,0,0 Current State: 26:[7, 19], Operations: ['86-79=7', '74-55=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[55, 79, 86, 74], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [55, 74, 7] Generated Node #0,0: 26:[55, 74, 7] Operation: 86-79=7 Moving to Node #0,0 Current State: 26:[55, 74, 7], Operations: ['86-79=7'] Exploring Operation: 74-55=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 26:[7, 19] Operation: 74-55=19 Moving to Node #0,0,0 Current State: 26:[7, 19], Operations: ['86-79=7', '74-55=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 65, 1, 89, 65 ]
88
[ "65+1=66", "89+65=154", "154-66=88" ]
Current State: 88:[65, 1, 89, 65], Operations: [] Exploring Operation: 65+1=66, Resulting Numbers: [89, 66] Generated Node #2: [89, 66] from Operation: 65+1=66 Current State: 88:[89, 66], Operations: ['65+1=66'] Exploring Operation: 89+65=154, Resulting Numbers: [66, 154] Generated Node #3: [66, 154] from Operation: 89+65=154 Current State: 88:[66, 154], Operations: ['65+1=66', '89+65=154'] Exploring Operation: 154-66=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[65, 1, 89, 65], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [1, 89, 1] Generated Node #0,0: 88:[1, 89, 1] Operation: 65/65=1 Exploring Operation: 65-65=0, Resulting Numbers: [1, 89, 0] Generated Node #0,1: 88:[1, 89, 0] Operation: 65-65=0 Exploring Operation: 89-65=24, Resulting Numbers: [1, 65, 24] Generated Node #0,2: 88:[1, 65, 24] Operation: 89-65=24 Exploring Operation: 89-65=24, Resulting Numbers: [65, 1, 24] Generated Node #0,3: 88:[65, 1, 24] Operation: 89-65=24 Exploring Operation: 65-1=64, Resulting Numbers: [89, 65, 64] Generated Node #0,4: 88:[89, 65, 64] Operation: 65-1=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[1, 89, 1], Operations: ['65/65=1'] Exploring Operation: 1+1=2, Resulting Numbers: [89, 2] Generated Node #0,0,0: 88:[89, 2] Operation: 1+1=2 Exploring Operation: 89-1=88, Resulting Numbers: [1, 88] Generated Node #0,0,1: 88:[1, 88] Operation: 89-1=88 Exploring Operation: 89/1=89, Resulting Numbers: [1, 89] Generated Node #0,0,2: 88:[1, 89] Operation: 89/1=89 Exploring Operation: 89-1=88, Resulting Numbers: [1, 88] Generated Node #0,0,3: 88:[1, 88] Operation: 89-1=88 Exploring Operation: 1*89=89, Resulting Numbers: [1, 89] Generated Node #0,0,4: 88:[1, 89] Operation: 1*89=89 Moving to Node #0,0,0 Current State: 88:[89, 2], Operations: ['65/65=1', '1+1=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[1, 88], Operations: ['65/65=1', '89-1=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[65, 1, 89, 65], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [1, 89, 1] Generated Node #0,0: 88:[1, 89, 1] Operation: 65/65=1 Moving to Node #0,0 Current State: 88:[1, 89, 1], Operations: ['65/65=1'] Exploring Operation: 89-1=88, Resulting Numbers: [1, 88] Generated Node #0,0,3: 88:[1, 88] Operation: 89-1=88 Moving to Node #0,0,3 Current State: 88:[1, 88], Operations: ['65/65=1', '89-1=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 18, 19, 8, 36 ]
23
[ "18*8=144", "144/36=4", "19+4=23" ]
Current State: 23:[18, 19, 8, 36], Operations: [] Exploring Operation: 18*8=144, Resulting Numbers: [19, 36, 144] Generated Node #2: [19, 36, 144] from Operation: 18*8=144 Current State: 23:[19, 36, 144], Operations: ['18*8=144'] Exploring Operation: 144/36=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 144/36=4 Current State: 23:[19, 4], Operations: ['18*8=144', '144/36=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[18, 19, 8, 36], Operations: [] Exploring Operation: 19+8=27, Resulting Numbers: [18, 36, 27] Generated Node #0,0: 23:[18, 36, 27] Operation: 19+8=27 Exploring Operation: 18+8=26, Resulting Numbers: [19, 36, 26] Generated Node #0,1: 23:[19, 36, 26] Operation: 18+8=26 Exploring Operation: 36-18=18, Resulting Numbers: [19, 8, 18] Generated Node #0,2: 23:[19, 8, 18] Operation: 36-18=18 Exploring Operation: 36-8=28, Resulting Numbers: [18, 19, 28] Generated Node #0,3: 23:[18, 19, 28] Operation: 36-8=28 Moving to Node #0,3 Current State: 23:[18, 19, 28], Operations: ['36-8=28'] Exploring Operation: 28-19=9, Resulting Numbers: [18, 9] Generated Node #0,3,0: 23:[18, 9] Operation: 28-19=9 Exploring Operation: 18+19=37, Resulting Numbers: [28, 37] Generated Node #0,3,1: 23:[28, 37] Operation: 18+19=37 Exploring Operation: 28-18=10, Resulting Numbers: [19, 10] Generated Node #0,3,2: 23:[19, 10] Operation: 28-18=10 Exploring Operation: 19-18=1, Resulting Numbers: [28, 1] Generated Node #0,3,3: 23:[28, 1] Operation: 19-18=1 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 23:[19, 10], Operations: ['36-8=28', '28-18=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,23 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[18, 9], Operations: ['36-8=28', '28-19=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[28, 37], Operations: ['36-8=28', '18+19=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[28, 1], Operations: ['36-8=28', '19-18=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,23 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: 23:[19, 36, 26], Operations: ['18+8=26'] Exploring Operation: 19+36=55, Resulting Numbers: [26, 55] Generated Node #0,1,0: 23:[26, 55] Operation: 19+36=55 Exploring Operation: 26-19=7, Resulting Numbers: [36, 7] Generated Node #0,1,1: 23:[36, 7] Operation: 26-19=7 Exploring Operation: 36-26=10, Resulting Numbers: [19, 10] Generated Node #0,1,2: 23:[19, 10] Operation: 36-26=10 Exploring Operation: 36-19=17, Resulting Numbers: [26, 17] Generated Node #0,1,3: 23:[26, 17] Operation: 36-19=17 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[26, 17], Operations: ['18+8=26', '36-19=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,23 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[19, 10], Operations: ['18+8=26', '36-26=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,23 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[36, 7], Operations: ['18+8=26', '26-19=7'] Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,23 unequal: No Solution Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[26, 55], Operations: ['18+8=26', '19+36=55'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,23 unequal: No Solution Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,23 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: 23:[18, 36, 27], Operations: ['19+8=27'] Exploring Operation: 36-27=9, Resulting Numbers: [18, 9] Generated Node #0,0,0: 23:[18, 9] Operation: 36-27=9 Exploring Operation: 36/18=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 23:[27, 2] Operation: 36/18=2 Exploring Operation: 27-18=9, Resulting Numbers: [36, 9] Generated Node #0,0,2: 23:[36, 9] Operation: 27-18=9 Exploring Operation: 36-18=18, Resulting Numbers: [27, 18] Generated Node #0,0,3: 23:[27, 18] Operation: 36-18=18 Moving to Node #0,2 Current State: 23:[19, 8, 18], Operations: ['36-18=18'] Exploring Operation: 8+18=26, Resulting Numbers: [19, 26] Generated Node #0,2,0: 23:[19, 26] Operation: 8+18=26 Exploring Operation: 18-8=10, Resulting Numbers: [19, 10] Generated Node #0,2,1: 23:[19, 10] Operation: 18-8=10 Exploring Operation: 19+8=27, Resulting Numbers: [18, 27] Generated Node #0,2,2: 23:[18, 27] Operation: 19+8=27 Exploring Operation: 19-8=11, Resulting Numbers: [18, 11] Generated Node #0,2,3: 23:[18, 11] Operation: 19-8=11 Moving to Node #0,2,0 Current State: 23:[19, 26], Operations: ['36-18=18', '8+18=26'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[18, 27], Operations: ['36-18=18', '19+8=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,23 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[27, 18], Operations: ['19+8=27', '36-18=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,23 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[19, 10], Operations: ['36-18=18', '18-8=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[18, 11], Operations: ['36-18=18', '19-8=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[18, 9], Operations: ['19+8=27', '36-27=9'] Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,23 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[27, 2], Operations: ['19+8=27', '36/18=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[36, 9], Operations: ['19+8=27', '27-18=9'] Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,23 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,23 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 83, 91, 26, 55 ]
93
[ "83+91=174", "26+55=81", "174-81=93" ]
Current State: 93:[83, 91, 26, 55], Operations: [] Exploring Operation: 83+91=174, Resulting Numbers: [26, 55, 174] Generated Node #2: [26, 55, 174] from Operation: 83+91=174 Current State: 93:[26, 55, 174], Operations: ['83+91=174'] Exploring Operation: 26+55=81, Resulting Numbers: [174, 81] Generated Node #3: [174, 81] from Operation: 26+55=81 Current State: 93:[174, 81], Operations: ['83+91=174', '26+55=81'] Exploring Operation: 174-81=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[83, 91, 26, 55], Operations: [] Exploring Operation: 55-26=29, Resulting Numbers: [83, 91, 29] Generated Node #0,0: 93:[83, 91, 29] Operation: 55-26=29 Exploring Operation: 91-55=36, Resulting Numbers: [83, 26, 36] Generated Node #0,1: 93:[83, 26, 36] Operation: 91-55=36 Exploring Operation: 83-55=28, Resulting Numbers: [91, 26, 28] Generated Node #0,2: 93:[91, 26, 28] Operation: 83-55=28 Exploring Operation: 26+55=81, Resulting Numbers: [83, 91, 81] Generated Node #0,3: 93:[83, 91, 81] Operation: 26+55=81 Moving to Node #0,2 Current State: 93:[91, 26, 28], Operations: ['83-55=28'] Exploring Operation: 91+26=117, Resulting Numbers: [28, 117] Generated Node #0,2,0: 93:[28, 117] Operation: 91+26=117 Exploring Operation: 91-26=65, Resulting Numbers: [28, 65] Generated Node #0,2,1: 93:[28, 65] Operation: 91-26=65 Exploring Operation: 28-26=2, Resulting Numbers: [91, 2] Generated Node #0,2,2: 93:[91, 2] Operation: 28-26=2 Exploring Operation: 26+28=54, Resulting Numbers: [91, 54] Generated Node #0,2,3: 93:[91, 54] Operation: 26+28=54 Moving to Node #0,0 Current State: 93:[83, 91, 29], Operations: ['55-26=29'] Exploring Operation: 91-83=8, Resulting Numbers: [29, 8] Generated Node #0,0,0: 93:[29, 8] Operation: 91-83=8 Exploring Operation: 91+29=120, Resulting Numbers: [83, 120] Generated Node #0,0,1: 93:[83, 120] Operation: 91+29=120 Exploring Operation: 83-29=54, Resulting Numbers: [91, 54] Generated Node #0,0,2: 93:[91, 54] Operation: 83-29=54 Exploring Operation: 83+29=112, Resulting Numbers: [91, 112] Generated Node #0,0,3: 93:[91, 112] Operation: 83+29=112 Moving to Node #0,1 Current State: 93:[83, 26, 36], Operations: ['91-55=36'] Exploring Operation: 83-26=57, Resulting Numbers: [36, 57] Generated Node #0,1,0: 93:[36, 57] Operation: 83-26=57 Exploring Operation: 83-36=47, Resulting Numbers: [26, 47] Generated Node #0,1,1: 93:[26, 47] Operation: 83-36=47 Exploring Operation: 83+26=109, Resulting Numbers: [36, 109] Generated Node #0,1,2: 93:[36, 109] Operation: 83+26=109 Exploring Operation: 36-26=10, Resulting Numbers: [83, 10] Generated Node #0,1,3: 93:[83, 10] Operation: 36-26=10 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[83, 10], Operations: ['91-55=36', '36-26=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[83, 91, 26, 55], Operations: [] Exploring Operation: 91-55=36, Resulting Numbers: [83, 26, 36] Generated Node #0,1: 93:[83, 26, 36] Operation: 91-55=36 Moving to Node #0,1 Current State: 93:[83, 26, 36], Operations: ['91-55=36'] Exploring Operation: 36-26=10, Resulting Numbers: [83, 10] Generated Node #0,1,3: 93:[83, 10] Operation: 36-26=10 Moving to Node #0,1,3 Current State: 93:[83, 10], Operations: ['91-55=36', '36-26=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 84, 27, 88, 13 ]
44
[ "84-27=57", "88+13=101", "101-57=44" ]
Current State: 44:[84, 27, 88, 13], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [88, 13, 57] Generated Node #2: [88, 13, 57] from Operation: 84-27=57 Current State: 44:[88, 13, 57], Operations: ['84-27=57'] Exploring Operation: 88+13=101, Resulting Numbers: [57, 101] Generated Node #3: [57, 101] from Operation: 88+13=101 Current State: 44:[57, 101], Operations: ['84-27=57', '88+13=101'] Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[84, 27, 88, 13], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [84, 13, 61] Generated Node #0,0: 44:[84, 13, 61] Operation: 88-27=61 Exploring Operation: 84-27=57, Resulting Numbers: [88, 13, 57] Generated Node #0,1: 44:[88, 13, 57] Operation: 84-27=57 Exploring Operation: 88-84=4, Resulting Numbers: [27, 13, 4] Generated Node #0,2: 44:[27, 13, 4] Operation: 88-84=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[27, 13, 4], Operations: ['88-84=4'] Exploring Operation: 27+13=40, Resulting Numbers: [4, 40] Generated Node #0,2,0: 44:[4, 40] Operation: 27+13=40 Exploring Operation: 27-4=23, Resulting Numbers: [13, 23] Generated Node #0,2,1: 44:[13, 23] Operation: 27-4=23 Exploring Operation: 27-13=14, Resulting Numbers: [4, 14] Generated Node #0,2,2: 44:[4, 14] Operation: 27-13=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 44:[13, 23], Operations: ['88-84=4', '27-4=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,44 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,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:[4, 14], Operations: ['88-84=4', '27-13=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,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,0 Current State: 44:[4, 40], Operations: ['88-84=4', '27+13=40'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[84, 27, 88, 13], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [27, 13, 4] Generated Node #0,2: 44:[27, 13, 4] Operation: 88-84=4 Moving to Node #0,2 Current State: 44:[27, 13, 4], Operations: ['88-84=4'] Exploring Operation: 27+13=40, Resulting Numbers: [4, 40] Generated Node #0,2,0: 44:[4, 40] Operation: 27+13=40 Moving to Node #0,2,0 Current State: 44:[4, 40], Operations: ['88-84=4', '27+13=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 23, 2, 76, 54 ]
26
[ "76-23=53", "54/2=27", "53-27=26" ]
Current State: 26:[23, 2, 76, 54], Operations: [] Exploring Operation: 76-23=53, Resulting Numbers: [2, 54, 53] Generated Node #2: [2, 54, 53] from Operation: 76-23=53 Current State: 26:[2, 54, 53], Operations: ['76-23=53'] Exploring Operation: 54/2=27, Resulting Numbers: [53, 27] Generated Node #3: [53, 27] from Operation: 54/2=27 Current State: 26:[53, 27], Operations: ['76-23=53', '54/2=27'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[23, 2, 76, 54], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [23, 2, 22] Generated Node #0,0: 26:[23, 2, 22] Operation: 76-54=22 Exploring Operation: 76/2=38, Resulting Numbers: [23, 54, 38] Generated Node #0,1: 26:[23, 54, 38] Operation: 76/2=38 Moving to Node #0,0 Current State: 26:[23, 2, 22], Operations: ['76-54=22'] Exploring Operation: 23+2=25, Resulting Numbers: [22, 25] Generated Node #0,0,0: 26:[22, 25] Operation: 23+2=25 Exploring Operation: 23-22=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 26:[2, 1] Operation: 23-22=1 Moving to Node #0,1 Current State: 26:[23, 54, 38], Operations: ['76/2=38'] Exploring Operation: 54-23=31, Resulting Numbers: [38, 31] Generated Node #0,1,0: 26:[38, 31] Operation: 54-23=31 Exploring Operation: 54-38=16, Resulting Numbers: [23, 16] Generated Node #0,1,1: 26:[23, 16] Operation: 54-38=16 Moving to Node #0,0,1 Current State: 26:[2, 1], Operations: ['76-54=22', '23-22=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[22, 25], Operations: ['76-54=22', '23+2=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[23, 16], Operations: ['76/2=38', '54-38=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[38, 31], Operations: ['76/2=38', '54-23=31'] Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,26 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 25, 7, 3, 80 ]
20
[ "25+3=28", "7*80=560", "560/28=20" ]
Current State: 20:[25, 7, 3, 80], Operations: [] Exploring Operation: 25+3=28, Resulting Numbers: [7, 80, 28] Generated Node #2: [7, 80, 28] from Operation: 25+3=28 Current State: 20:[7, 80, 28], Operations: ['25+3=28'] Exploring Operation: 7*80=560, Resulting Numbers: [28, 560] Generated Node #3: [28, 560] from Operation: 7*80=560 Current State: 20:[28, 560], Operations: ['25+3=28', '7*80=560'] Exploring Operation: 560/28=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[25, 7, 3, 80], Operations: [] Exploring Operation: 80-25=55, Resulting Numbers: [7, 3, 55] Generated Node #0,0: 20:[7, 3, 55] Operation: 80-25=55 Moving to Node #0,0 Current State: 20:[7, 3, 55], Operations: ['80-25=55'] Exploring Operation: 55-7=48, Resulting Numbers: [3, 48] Generated Node #0,0,0: 20:[3, 48] Operation: 55-7=48 Moving to Node #0,0,0 Current State: 20:[3, 48], Operations: ['80-25=55', '55-7=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,20 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 25, 5, 26, 31 ]
35
[ "25+5=30", "31-26=5", "30+5=35" ]
Current State: 35:[25, 5, 26, 31], Operations: [] Exploring Operation: 25+5=30, Resulting Numbers: [26, 31, 30] Generated Node #2: [26, 31, 30] from Operation: 25+5=30 Current State: 35:[26, 31, 30], Operations: ['25+5=30'] Exploring Operation: 31-26=5, Resulting Numbers: [30, 5] Generated Node #3: [30, 5] from Operation: 31-26=5 Current State: 35:[30, 5], Operations: ['25+5=30', '31-26=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[25, 5, 26, 31], Operations: [] Exploring Operation: 31-25=6, Resulting Numbers: [5, 26, 6] Generated Node #0,0: 35:[5, 26, 6] Operation: 31-25=6 Exploring Operation: 25/5=5, Resulting Numbers: [26, 31, 5] Generated Node #0,1: 35:[26, 31, 5] Operation: 25/5=5 Exploring Operation: 26-25=1, Resulting Numbers: [5, 31, 1] Generated Node #0,2: 35:[5, 31, 1] Operation: 26-25=1 Exploring Operation: 31-26=5, Resulting Numbers: [25, 5, 5] Generated Node #0,3: 35:[25, 5, 5] Operation: 31-26=5 Moving to Node #0,2 Current State: 35:[5, 31, 1], Operations: ['26-25=1'] Exploring Operation: 5*1=5, Resulting Numbers: [31, 5] Generated Node #0,2,0: 35:[31, 5] Operation: 5*1=5 Exploring Operation: 31+1=32, Resulting Numbers: [5, 32] Generated Node #0,2,1: 35:[5, 32] Operation: 31+1=32 Exploring Operation: 5/1=5, Resulting Numbers: [31, 5] Generated Node #0,2,2: 35:[31, 5] Operation: 5/1=5 Exploring Operation: 31*1=31, Resulting Numbers: [5, 31] Generated Node #0,2,3: 35:[5, 31] Operation: 31*1=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[5, 32], Operations: ['26-25=1', '31+1=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,35 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,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,2,0 Current State: 35:[31, 5], Operations: ['26-25=1', '5*1=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,35 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,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,2,2 Current State: 35:[31, 5], Operations: ['26-25=1', '5/1=5'] Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,35 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,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,2,3 Current State: 35:[5, 31], Operations: ['26-25=1', '31*1=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,35 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: 35:[25, 5, 5], Operations: ['31-26=5'] Exploring Operation: 25+5=30, Resulting Numbers: [5, 30] Generated Node #0,3,0: 35:[5, 30] Operation: 25+5=30 Exploring Operation: 25+5=30, Resulting Numbers: [5, 30] Generated Node #0,3,1: 35:[5, 30] Operation: 25+5=30 Exploring Operation: 25/5=5, Resulting Numbers: [5, 5] Generated Node #0,3,2: 35:[5, 5] Operation: 25/5=5 Exploring Operation: 25/5=5, Resulting Numbers: [5, 5] Generated Node #0,3,3: 35:[5, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[5, 5], Operations: ['31-26=5', '25/5=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,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:[5, 5], Operations: ['31-26=5', '25/5=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,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:[5, 30], Operations: ['31-26=5', '25+5=30'] Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,35 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[25, 5, 26, 31], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [25, 5, 5] Generated Node #0,3: 35:[25, 5, 5] Operation: 31-26=5 Moving to Node #0,3 Current State: 35:[25, 5, 5], Operations: ['31-26=5'] Exploring Operation: 25+5=30, Resulting Numbers: [5, 30] Generated Node #0,3,0: 35:[5, 30] Operation: 25+5=30 Moving to Node #0,3,0 Current State: 35:[5, 30], Operations: ['31-26=5', '25+5=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
mult_heuristic
[ 67, 85, 92, 25 ]
86
[ "92-67=25", "25/25=1", "85+1=86" ]
Current State: 86:[67, 85, 92, 25], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [85, 25, 25] Generated Node #2: [85, 25, 25] from Operation: 92-67=25 Current State: 86:[85, 25, 25], Operations: ['92-67=25'] Exploring Operation: 25/25=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 25/25=1 Current State: 86:[85, 1], Operations: ['92-67=25', '25/25=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[67, 85, 92, 25], Operations: [] Exploring Operation: 67+25=92, Resulting Numbers: [85, 92, 92] Generated Node #0,0: 86:[85, 92, 92] Operation: 67+25=92 Exploring Operation: 67-25=42, Resulting Numbers: [85, 92, 42] Generated Node #0,1: 86:[85, 92, 42] Operation: 67-25=42 Exploring Operation: 92-67=25, Resulting Numbers: [85, 25, 25] Generated Node #0,2: 86:[85, 25, 25] Operation: 92-67=25 Moving to Node #0,1 Current State: 86:[85, 92, 42], Operations: ['67-25=42'] Exploring Operation: 92-85=7, Resulting Numbers: [42, 7] Generated Node #0,1,0: 86:[42, 7] Operation: 92-85=7 Exploring Operation: 92-42=50, Resulting Numbers: [85, 50] Generated Node #0,1,1: 86:[85, 50] Operation: 92-42=50 Exploring Operation: 85-42=43, Resulting Numbers: [92, 43] Generated Node #0,1,2: 86:[92, 43] Operation: 85-42=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[42, 7], Operations: ['67-25=42', '92-85=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[92, 43], Operations: ['67-25=42', '85-42=43'] Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[85, 50], Operations: ['67-25=42', '92-42=50'] Exploring Operation: 85+50=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 85*50=4250, Resulting Numbers: [4250] 4250,86 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,86 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: 86:[85, 92, 92], Operations: ['67+25=92'] Exploring Operation: 92-92=0, Resulting Numbers: [85, 0] Generated Node #0,0,0: 86:[85, 0] Operation: 92-92=0 Exploring Operation: 92-85=7, Resulting Numbers: [92, 7] Generated Node #0,0,1: 86:[92, 7] Operation: 92-85=7 Exploring Operation: 92/92=1, Resulting Numbers: [85, 1] Generated Node #0,0,2: 86:[85, 1] Operation: 92/92=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[85, 1], Operations: ['67+25=92', '92/92=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[67, 85, 92, 25], Operations: [] Exploring Operation: 67+25=92, Resulting Numbers: [85, 92, 92] Generated Node #0,0: 86:[85, 92, 92] Operation: 67+25=92 Moving to Node #0,0 Current State: 86:[85, 92, 92], Operations: ['67+25=92'] Exploring Operation: 92/92=1, Resulting Numbers: [85, 1] Generated Node #0,0,2: 86:[85, 1] Operation: 92/92=1 Moving to Node #0,0,2 Current State: 86:[85, 1], Operations: ['67+25=92', '92/92=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 88, 44, 47, 83 ]
65
[ "88/44=2", "47+83=130", "130/2=65" ]
Current State: 65:[88, 44, 47, 83], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [47, 83, 2] Generated Node #2: [47, 83, 2] from Operation: 88/44=2 Current State: 65:[47, 83, 2], Operations: ['88/44=2'] Exploring Operation: 47+83=130, Resulting Numbers: [2, 130] Generated Node #3: [2, 130] from Operation: 47+83=130 Current State: 65:[2, 130], Operations: ['88/44=2', '47+83=130'] Exploring Operation: 130/2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[88, 44, 47, 83], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [88, 83, 3] Generated Node #0,0: 65:[88, 83, 3] Operation: 47-44=3 Exploring Operation: 88/44=2, Resulting Numbers: [47, 83, 2] Generated Node #0,1: 65:[47, 83, 2] Operation: 88/44=2 Exploring Operation: 88-83=5, Resulting Numbers: [44, 47, 5] Generated Node #0,2: 65:[44, 47, 5] Operation: 88-83=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[47, 83, 2], Operations: ['88/44=2'] Exploring Operation: 47+2=49, Resulting Numbers: [83, 49] Generated Node #0,1,0: 65:[83, 49] Operation: 47+2=49 Exploring Operation: 83-47=36, Resulting Numbers: [2, 36] Generated Node #0,1,1: 65:[2, 36] Operation: 83-47=36 Exploring Operation: 83-2=81, Resulting Numbers: [47, 81] Generated Node #0,1,2: 65:[47, 81] Operation: 83-2=81 Moving to Node #0,1,1 Current State: 65:[2, 36], Operations: ['88/44=2', '83-47=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[83, 49], Operations: ['88/44=2', '47+2=49'] Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,65 unequal: No Solution Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[47, 81], Operations: ['88/44=2', '83-2=81'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,65 unequal: No Solution Exploring Operation: 47*81=3807, Resulting Numbers: [3807] 3807,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[44, 47, 5], Operations: ['88-83=5'] Exploring Operation: 44+47=91, Resulting Numbers: [5, 91] Generated Node #0,2,0: 65:[5, 91] Operation: 44+47=91 Exploring Operation: 44+5=49, Resulting Numbers: [47, 49] Generated Node #0,2,1: 65:[47, 49] Operation: 44+5=49 Exploring Operation: 47-44=3, Resulting Numbers: [5, 3] Generated Node #0,2,2: 65:[5, 3] Operation: 47-44=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[5, 3], Operations: ['88-83=5', '47-44=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,65 unequal: No Solution No 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: 65:[5, 91], Operations: ['88-83=5', '44+47=91'] Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,65 unequal: No Solution Exploring Operation: 5*91=455, Resulting Numbers: [455] 455,65 unequal: No Solution No 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: 65:[47, 49], Operations: ['88-83=5', '44+5=49'] Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,65 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[88, 83, 3], Operations: ['47-44=3'] Exploring Operation: 88-83=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 65:[3, 5] Operation: 88-83=5 Exploring Operation: 83-3=80, Resulting Numbers: [88, 80] Generated Node #0,0,1: 65:[88, 80] Operation: 83-3=80 Exploring Operation: 88-3=85, Resulting Numbers: [83, 85] Generated Node #0,0,2: 65:[83, 85] Operation: 88-3=85 Moving to Node #0,0,0 Current State: 65:[3, 5], Operations: ['47-44=3', '88-83=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[88, 80], Operations: ['47-44=3', '83-3=80'] Exploring Operation: 88*80=7040, Resulting Numbers: [7040] 7040,65 unequal: No Solution Exploring Operation: 88+80=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[83, 85], Operations: ['47-44=3', '88-3=85'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 83*85=7055, Resulting Numbers: [7055] 7055,65 unequal: No Solution Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,65 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
[ 23, 1, 59, 10 ]
27
[ "23-1=22", "59-10=49", "49-22=27" ]
Current State: 27:[23, 1, 59, 10], Operations: [] Exploring Operation: 23-1=22, Resulting Numbers: [59, 10, 22] Generated Node #2: [59, 10, 22] from Operation: 23-1=22 Current State: 27:[59, 10, 22], Operations: ['23-1=22'] Exploring Operation: 59-10=49, Resulting Numbers: [22, 49] Generated Node #3: [22, 49] from Operation: 59-10=49 Current State: 27:[22, 49], Operations: ['23-1=22', '59-10=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[23, 1, 59, 10], Operations: [] Exploring Operation: 23+1=24, Resulting Numbers: [59, 10, 24] Generated Node #0,0: 27:[59, 10, 24] Operation: 23+1=24 Exploring Operation: 59-10=49, Resulting Numbers: [23, 1, 49] Generated Node #0,1: 27:[23, 1, 49] Operation: 59-10=49 Exploring Operation: 59-23=36, Resulting Numbers: [1, 10, 36] Generated Node #0,2: 27:[1, 10, 36] Operation: 59-23=36 Moving to Node #0,2 Current State: 27:[1, 10, 36], Operations: ['59-23=36'] Exploring Operation: 10-1=9, Resulting Numbers: [36, 9] Generated Node #0,2,0: 27:[36, 9] Operation: 10-1=9 Exploring Operation: 36-1=35, Resulting Numbers: [10, 35] Generated Node #0,2,1: 27:[10, 35] Operation: 36-1=35 Exploring Operation: 36-10=26, Resulting Numbers: [1, 26] Generated Node #0,2,2: 27:[1, 26] Operation: 36-10=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[1, 26], Operations: ['59-23=36', '36-10=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[23, 1, 59, 10], Operations: [] Exploring Operation: 59-23=36, Resulting Numbers: [1, 10, 36] Generated Node #0,2: 27:[1, 10, 36] Operation: 59-23=36 Moving to Node #0,2 Current State: 27:[1, 10, 36], Operations: ['59-23=36'] Exploring Operation: 36-10=26, Resulting Numbers: [1, 26] Generated Node #0,2,2: 27:[1, 26] Operation: 36-10=26 Moving to Node #0,2,2 Current State: 27:[1, 26], Operations: ['59-23=36', '36-10=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 43, 28, 52, 7 ]
12
[ "43+28=71", "52+7=59", "71-59=12" ]
Current State: 12:[43, 28, 52, 7], Operations: [] Exploring Operation: 43+28=71, Resulting Numbers: [52, 7, 71] Generated Node #2: [52, 7, 71] from Operation: 43+28=71 Current State: 12:[52, 7, 71], Operations: ['43+28=71'] Exploring Operation: 52+7=59, Resulting Numbers: [71, 59] Generated Node #3: [71, 59] from Operation: 52+7=59 Current State: 12:[71, 59], Operations: ['43+28=71', '52+7=59'] Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[43, 28, 52, 7], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [28, 7, 9] Generated Node #0,0: 12:[28, 7, 9] Operation: 52-43=9 Exploring Operation: 43-28=15, Resulting Numbers: [52, 7, 15] Generated Node #0,1: 12:[52, 7, 15] Operation: 43-28=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[28, 7, 9], Operations: ['52-43=9'] Exploring Operation: 28-9=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 12:[7, 19] Operation: 28-9=19 Exploring Operation: 28/7=4, Resulting Numbers: [9, 4] Generated Node #0,0,1: 12:[9, 4] Operation: 28/7=4 Moving to Node #0,0,1 Current State: 12:[9, 4], Operations: ['52-43=9', '28/7=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[7, 19], Operations: ['52-43=9', '28-9=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[43, 28, 52, 7], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [28, 7, 9] Generated Node #0,0: 12:[28, 7, 9] Operation: 52-43=9 Moving to Node #0,0 Current State: 12:[28, 7, 9], Operations: ['52-43=9'] Exploring Operation: 28-9=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 12:[7, 19] Operation: 28-9=19 Moving to Node #0,0,0 Current State: 12:[7, 19], Operations: ['52-43=9', '28-9=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic