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
[ 5, 72, 85, 80 ]
25
[ "85/5=17", "80-72=8", "17+8=25" ]
Current State: 25:[5, 72, 85, 80], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [72, 80, 17] Generated Node #2: [72, 80, 17] from Operation: 85/5=17 Current State: 25:[72, 80, 17], Operations: ['85/5=17'] Exploring Operation: 80-72=8, Resulting Numbers: [17, 8] Generated Node #3: [17, 8] from Operation: 80-72=8 Current State: 25:[17, 8], Operations: ['85/5=17', '80-72=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 72, 85, 80], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [5, 72, 5] Generated Node #0,0: 25:[5, 72, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 25:[5, 72, 5], Operations: ['85-80=5'] Exploring Operation: 72-5=67, Resulting Numbers: [5, 67] Generated Node #0,0,0: 25:[5, 67] Operation: 72-5=67 Moving to Node #0,0,0 Current State: 25:[5, 67], Operations: ['85-80=5', '72-5=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,25 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 9, 28, 17, 19 ]
55
[ "28-9=19", "17+19=36", "19+36=55" ]
Current State: 55:[9, 28, 17, 19], Operations: [] Exploring Operation: 28-9=19, Resulting Numbers: [17, 19, 19] Generated Node #2: [17, 19, 19] from Operation: 28-9=19 Current State: 55:[17, 19, 19], Operations: ['28-9=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,55 equal: Goal Reached Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[9, 28, 17, 19], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [9, 19, 11] Generated Node #0,0: 55:[9, 19, 11] Operation: 28-17=11 Moving to Node #0,0 Current State: 55:[9, 19, 11], Operations: ['28-17=11'] Exploring Operation: 19-9=10, Resulting Numbers: [11, 10] Generated Node #0,0,0: 55:[11, 10] Operation: 19-9=10 Moving to Node #0,0,0 Current State: 55:[11, 10], Operations: ['28-17=11', '19-9=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 69, 46, 54, 26 ]
35
[ "69+46=115", "54+26=80", "115-80=35" ]
Current State: 35:[69, 46, 54, 26], Operations: [] Exploring Operation: 69+46=115, Resulting Numbers: [54, 26, 115] Generated Node #2: [54, 26, 115] from Operation: 69+46=115 Current State: 35:[54, 26, 115], Operations: ['69+46=115'] Exploring Operation: 54+26=80, Resulting Numbers: [115, 80] Generated Node #3: [115, 80] from Operation: 54+26=80 Current State: 35:[115, 80], Operations: ['69+46=115', '54+26=80'] Exploring Operation: 115-80=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[69, 46, 54, 26], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [54, 26, 23] Generated Node #0,0: 35:[54, 26, 23] Operation: 69-46=23 Exploring Operation: 69-54=15, Resulting Numbers: [46, 26, 15] Generated Node #0,1: 35:[46, 26, 15] Operation: 69-54=15 Exploring Operation: 69-26=43, Resulting Numbers: [46, 54, 43] Generated Node #0,2: 35:[46, 54, 43] Operation: 69-26=43 Exploring Operation: 54-46=8, Resulting Numbers: [69, 26, 8] Generated Node #0,3: 35:[69, 26, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[46, 26, 15], Operations: ['69-54=15'] Exploring Operation: 46-15=31, Resulting Numbers: [26, 31] Generated Node #0,1,0: 35:[26, 31] Operation: 46-15=31 Exploring Operation: 26+15=41, Resulting Numbers: [46, 41] Generated Node #0,1,1: 35:[46, 41] Operation: 26+15=41 Exploring Operation: 46-26=20, Resulting Numbers: [15, 20] Generated Node #0,1,2: 35:[15, 20] Operation: 46-26=20 Exploring Operation: 26-15=11, Resulting Numbers: [46, 11] Generated Node #0,1,3: 35:[46, 11] Operation: 26-15=11 Moving to Node #0,1,0 Current State: 35:[26, 31], Operations: ['69-54=15', '46-15=31'] Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[46, 11], Operations: ['69-54=15', '26-15=11'] Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,35 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[69, 46, 54, 26], Operations: [] Exploring Operation: 69-54=15, Resulting Numbers: [46, 26, 15] Generated Node #0,1: 35:[46, 26, 15] Operation: 69-54=15 Moving to Node #0,1 Current State: 35:[46, 26, 15], Operations: ['69-54=15'] Exploring Operation: 26-15=11, Resulting Numbers: [46, 11] Generated Node #0,1,3: 35:[46, 11] Operation: 26-15=11 Moving to Node #0,1,3 Current State: 35:[46, 11], Operations: ['69-54=15', '26-15=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 90, 56, 22, 67 ]
57
[ "90+56=146", "22+67=89", "146-89=57" ]
Current State: 57:[90, 56, 22, 67], Operations: [] Exploring Operation: 90+56=146, Resulting Numbers: [22, 67, 146] Generated Node #2: [22, 67, 146] from Operation: 90+56=146 Current State: 57:[22, 67, 146], Operations: ['90+56=146'] Exploring Operation: 22+67=89, Resulting Numbers: [146, 89] Generated Node #3: [146, 89] from Operation: 22+67=89 Current State: 57:[146, 89], Operations: ['90+56=146', '22+67=89'] Exploring Operation: 146-89=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[90, 56, 22, 67], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [56, 22, 23] Generated Node #0,0: 57:[56, 22, 23] Operation: 90-67=23 Moving to Node #0,0 Current State: 57:[56, 22, 23], Operations: ['90-67=23'] Exploring Operation: 23-22=1, Resulting Numbers: [56, 1] Generated Node #0,0,0: 57:[56, 1] Operation: 23-22=1 Moving to Node #0,0,0 Current State: 57:[56, 1], Operations: ['90-67=23', '23-22=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[90, 56, 22, 67], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [56, 22, 23] Generated Node #0,0: 57:[56, 22, 23] Operation: 90-67=23 Moving to Node #0,0 Current State: 57:[56, 22, 23], Operations: ['90-67=23'] Exploring Operation: 23-22=1, Resulting Numbers: [56, 1] Generated Node #0,0,0: 57:[56, 1] Operation: 23-22=1 Moving to Node #0,0,0 Current State: 57:[56, 1], Operations: ['90-67=23', '23-22=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 14, 51, 8, 31 ]
26
[ "14+51=65", "8+31=39", "65-39=26" ]
Current State: 26:[14, 51, 8, 31], Operations: [] Exploring Operation: 14+51=65, Resulting Numbers: [8, 31, 65] Generated Node #2: [8, 31, 65] from Operation: 14+51=65 Current State: 26:[8, 31, 65], Operations: ['14+51=65'] Exploring Operation: 8+31=39, Resulting Numbers: [65, 39] Generated Node #3: [65, 39] from Operation: 8+31=39 Current State: 26:[65, 39], Operations: ['14+51=65', '8+31=39'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[14, 51, 8, 31], Operations: [] Exploring Operation: 51-8=43, Resulting Numbers: [14, 31, 43] Generated Node #0,0: 26:[14, 31, 43] Operation: 51-8=43 Exploring Operation: 51-31=20, Resulting Numbers: [14, 8, 20] Generated Node #0,1: 26:[14, 8, 20] Operation: 51-31=20 Exploring Operation: 31-8=23, Resulting Numbers: [14, 51, 23] Generated Node #0,2: 26:[14, 51, 23] Operation: 31-8=23 Exploring Operation: 14+8=22, Resulting Numbers: [51, 31, 22] Generated Node #0,3: 26:[51, 31, 22] Operation: 14+8=22 Exploring Operation: 51-14=37, Resulting Numbers: [8, 31, 37] Generated Node #0,4: 26:[8, 31, 37] Operation: 51-14=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[14, 8, 20], Operations: ['51-31=20'] Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,1,0: 26:[14, 12] Operation: 20-8=12 Exploring Operation: 20-14=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 26:[8, 6] Operation: 20-14=6 Exploring Operation: 8+20=28, Resulting Numbers: [14, 28] Generated Node #0,1,2: 26:[14, 28] Operation: 8+20=28 Exploring Operation: 14+8=22, Resulting Numbers: [20, 22] Generated Node #0,1,3: 26:[20, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [20, 6] Generated Node #0,1,4: 26:[20, 6] Operation: 14-8=6 Moving to Node #0,1,0 Current State: 26:[14, 12], Operations: ['51-31=20', '20-8=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[14, 51, 8, 31], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [14, 8, 20] Generated Node #0,1: 26:[14, 8, 20] Operation: 51-31=20 Moving to Node #0,1 Current State: 26:[14, 8, 20], Operations: ['51-31=20'] Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,1,0: 26:[14, 12] Operation: 20-8=12 Moving to Node #0,1,0 Current State: 26:[14, 12], Operations: ['51-31=20', '20-8=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 32, 68, 13, 67 ]
46
[ "32+68=100", "67-13=54", "100-54=46" ]
Current State: 46:[32, 68, 13, 67], Operations: [] Exploring Operation: 32+68=100, Resulting Numbers: [13, 67, 100] Generated Node #2: [13, 67, 100] from Operation: 32+68=100 Current State: 46:[13, 67, 100], Operations: ['32+68=100'] Exploring Operation: 67-13=54, Resulting Numbers: [100, 54] Generated Node #3: [100, 54] from Operation: 67-13=54 Current State: 46:[100, 54], Operations: ['32+68=100', '67-13=54'] Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[32, 68, 13, 67], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [32, 13, 1] Generated Node #0,0: 46:[32, 13, 1] Operation: 68-67=1 Exploring Operation: 67-32=35, Resulting Numbers: [68, 13, 35] Generated Node #0,1: 46:[68, 13, 35] Operation: 67-32=35 Exploring Operation: 67-13=54, Resulting Numbers: [32, 68, 54] Generated Node #0,2: 46:[32, 68, 54] Operation: 67-13=54 Exploring Operation: 68-32=36, Resulting Numbers: [13, 67, 36] Generated Node #0,3: 46:[13, 67, 36] Operation: 68-32=36 Exploring Operation: 68-13=55, Resulting Numbers: [32, 67, 55] Generated Node #0,4: 46:[32, 67, 55] Operation: 68-13=55 Moving to Node #0,0 Current State: 46:[32, 13, 1], Operations: ['68-67=1'] Exploring Operation: 32-1=31, Resulting Numbers: [13, 31] Generated Node #0,0,0: 46:[13, 31] Operation: 32-1=31 Exploring Operation: 32+13=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 46:[1, 45] Operation: 32+13=45 Exploring Operation: 32*1=32, Resulting Numbers: [13, 32] Generated Node #0,0,2: 46:[13, 32] Operation: 32*1=32 Exploring Operation: 13+1=14, Resulting Numbers: [32, 14] Generated Node #0,0,3: 46:[32, 14] Operation: 13+1=14 Exploring Operation: 32-13=19, Resulting Numbers: [1, 19] Generated Node #0,0,4: 46:[1, 19] Operation: 32-13=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[1, 45], Operations: ['68-67=1', '32+13=45'] Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[32, 68, 13, 67], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [32, 13, 1] Generated Node #0,0: 46:[32, 13, 1] Operation: 68-67=1 Moving to Node #0,0 Current State: 46:[32, 13, 1], Operations: ['68-67=1'] Exploring Operation: 32+13=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 46:[1, 45] Operation: 32+13=45 Moving to Node #0,0,1 Current State: 46:[1, 45], Operations: ['68-67=1', '32+13=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 91, 99, 77, 98 ]
92
[ "91-77=14", "98/14=7", "99-7=92" ]
Current State: 92:[91, 99, 77, 98], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [99, 98, 14] Generated Node #2: [99, 98, 14] from Operation: 91-77=14 Current State: 92:[99, 98, 14], Operations: ['91-77=14'] Exploring Operation: 98/14=7, Resulting Numbers: [99, 7] Generated Node #3: [99, 7] from Operation: 98/14=7 Current State: 92:[99, 7], Operations: ['91-77=14', '98/14=7'] Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[91, 99, 77, 98], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [91, 77, 1] Generated Node #0,0: 92:[91, 77, 1] Operation: 99-98=1 Exploring Operation: 99-91=8, Resulting Numbers: [77, 98, 8] Generated Node #0,1: 92:[77, 98, 8] Operation: 99-91=8 Exploring Operation: 91-77=14, Resulting Numbers: [99, 98, 14] Generated Node #0,2: 92:[99, 98, 14] Operation: 91-77=14 Exploring Operation: 98-77=21, Resulting Numbers: [91, 99, 21] Generated Node #0,3: 92:[91, 99, 21] Operation: 98-77=21 Exploring Operation: 99-77=22, Resulting Numbers: [91, 98, 22] Generated Node #0,4: 92:[91, 98, 22] Operation: 99-77=22 Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[91, 98, 22], Operations: ['99-77=22'] Exploring Operation: 91-22=69, Resulting Numbers: [98, 69] Generated Node #0,4,0: 92:[98, 69] Operation: 91-22=69 Exploring Operation: 98-91=7, Resulting Numbers: [22, 7] Generated Node #0,4,1: 92:[22, 7] Operation: 98-91=7 Exploring Operation: 98+22=120, Resulting Numbers: [91, 120] Generated Node #0,4,2: 92:[91, 120] Operation: 98+22=120 Exploring Operation: 98-22=76, Resulting Numbers: [91, 76] Generated Node #0,4,3: 92:[91, 76] Operation: 98-22=76 Exploring Operation: 91+22=113, Resulting Numbers: [98, 113] Generated Node #0,4,4: 92:[98, 113] Operation: 91+22=113 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 92:[22, 7], Operations: ['99-77=22', '98-91=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 92:[91, 76], Operations: ['99-77=22', '98-22=76'] Exploring Operation: 91+76=167, Resulting Numbers: [167] 167,92 unequal: No Solution Exploring Operation: 91*76=6916, Resulting Numbers: [6916] 6916,92 unequal: No Solution Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 92:[98, 113], Operations: ['99-77=22', '91+22=113'] Exploring Operation: 113-98=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 98+113=211, Resulting Numbers: [211] 211,92 unequal: No Solution Exploring Operation: 98*113=11074, Resulting Numbers: [11074] 11074,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 92:[98, 69], Operations: ['99-77=22', '91-22=69'] Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 98*69=6762, Resulting Numbers: [6762] 6762,92 unequal: No Solution Exploring Operation: 98+69=167, Resulting Numbers: [167] 167,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 92:[91, 120], Operations: ['99-77=22', '98+22=120'] Exploring Operation: 91+120=211, Resulting Numbers: [211] 211,92 unequal: No Solution Exploring Operation: 91*120=10920, Resulting Numbers: [10920] 10920,92 unequal: No Solution Exploring Operation: 120-91=29, Resulting Numbers: [29] 29,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[91, 99, 21], Operations: ['98-77=21'] Exploring Operation: 99-91=8, Resulting Numbers: [21, 8] Generated Node #0,3,0: 92:[21, 8] Operation: 99-91=8 Exploring Operation: 91+21=112, Resulting Numbers: [99, 112] Generated Node #0,3,1: 92:[99, 112] Operation: 91+21=112 Exploring Operation: 91-21=70, Resulting Numbers: [99, 70] Generated Node #0,3,2: 92:[99, 70] Operation: 91-21=70 Exploring Operation: 99-21=78, Resulting Numbers: [91, 78] Generated Node #0,3,3: 92:[91, 78] Operation: 99-21=78 Exploring Operation: 99+21=120, Resulting Numbers: [91, 120] Generated Node #0,3,4: 92:[91, 120] Operation: 99+21=120 Moving to Node #0,3,0 Current State: 92:[21, 8], Operations: ['98-77=21', '99-91=8'] Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,92 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[91, 78], Operations: ['98-77=21', '99-21=78'] Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,92 unequal: No Solution Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[99, 112], Operations: ['98-77=21', '91+21=112'] Exploring Operation: 99+112=211, Resulting Numbers: [211] 211,92 unequal: No Solution Exploring Operation: 99*112=11088, Resulting Numbers: [11088] 11088,92 unequal: No Solution Exploring Operation: 112-99=13, Resulting Numbers: [13] 13,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[99, 70], Operations: ['98-77=21', '91-21=70'] Exploring Operation: 99+70=169, Resulting Numbers: [169] 169,92 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 99*70=6930, Resulting Numbers: [6930] 6930,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[91, 120], Operations: ['98-77=21', '99+21=120'] Exploring Operation: 91+120=211, Resulting Numbers: [211] 211,92 unequal: No Solution Exploring Operation: 120-91=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 91*120=10920, Resulting Numbers: [10920] 10920,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[91, 77, 1], Operations: ['99-98=1'] Exploring Operation: 91*1=91, Resulting Numbers: [77, 91] Generated Node #0,0,0: 92:[77, 91] Operation: 91*1=91 Exploring Operation: 91-77=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 92:[1, 14] Operation: 91-77=14 Exploring Operation: 77+1=78, Resulting Numbers: [91, 78] Generated Node #0,0,2: 92:[91, 78] Operation: 77+1=78 Exploring Operation: 91/1=91, Resulting Numbers: [77, 91] Generated Node #0,0,3: 92:[77, 91] Operation: 91/1=91 Exploring Operation: 91+1=92, Resulting Numbers: [77, 92] Generated Node #0,0,4: 92:[77, 92] Operation: 91+1=92 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[1, 14], Operations: ['99-98=1', '91-77=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[91, 78], Operations: ['99-98=1', '77+1=78'] Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,92 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 92:[77, 92], Operations: ['99-98=1', '91+1=92'] Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,92 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[77, 91], Operations: ['99-98=1', '91*1=91'] Exploring Operation: 77*91=7007, Resulting Numbers: [7007] 7007,92 unequal: No Solution Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 77+91=168, Resulting Numbers: [168] 168,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[77, 91], Operations: ['99-98=1', '91/1=91'] Exploring Operation: 77+91=168, Resulting Numbers: [168] 168,92 unequal: No Solution Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 77*91=7007, Resulting Numbers: [7007] 7007,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[99, 98, 14], Operations: ['91-77=14'] Exploring Operation: 98-14=84, Resulting Numbers: [99, 84] Generated Node #0,2,0: 92:[99, 84] Operation: 98-14=84 Exploring Operation: 99-14=85, Resulting Numbers: [98, 85] Generated Node #0,2,1: 92:[98, 85] Operation: 99-14=85 Exploring Operation: 99-98=1, Resulting Numbers: [14, 1] Generated Node #0,2,2: 92:[14, 1] Operation: 99-98=1 Exploring Operation: 98/14=7, Resulting Numbers: [99, 7] Generated Node #0,2,3: 92:[99, 7] Operation: 98/14=7 Exploring Operation: 99+14=113, Resulting Numbers: [98, 113] Generated Node #0,2,4: 92:[98, 113] Operation: 99+14=113 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[14, 1], Operations: ['91-77=14', '99-98=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[99, 7], Operations: ['91-77=14', '98/14=7'] Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[91, 99, 77, 98], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [99, 98, 14] Generated Node #0,2: 92:[99, 98, 14] Operation: 91-77=14 Moving to Node #0,2 Current State: 92:[99, 98, 14], Operations: ['91-77=14'] Exploring Operation: 98/14=7, Resulting Numbers: [99, 7] Generated Node #0,2,3: 92:[99, 7] Operation: 98/14=7 Moving to Node #0,2,3 Current State: 92:[99, 7], Operations: ['91-77=14', '98/14=7'] Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.930556
hs_5
mult_heuristic
[ 21, 18, 12, 99 ]
95
[ "21-18=3", "12/3=4", "99-4=95" ]
Current State: 95:[21, 18, 12, 99], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [12, 99, 3] Generated Node #2: [12, 99, 3] from Operation: 21-18=3 Current State: 95:[12, 99, 3], Operations: ['21-18=3'] Exploring Operation: 12/3=4, Resulting Numbers: [99, 4] Generated Node #3: [99, 4] from Operation: 12/3=4 Current State: 95:[99, 4], Operations: ['21-18=3', '12/3=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[21, 18, 12, 99], Operations: [] Exploring Operation: 21-12=9, Resulting Numbers: [18, 99, 9] Generated Node #0,0: 95:[18, 99, 9] Operation: 21-12=9 Exploring Operation: 99-12=87, Resulting Numbers: [21, 18, 87] Generated Node #0,1: 95:[21, 18, 87] Operation: 99-12=87 Exploring Operation: 18-12=6, Resulting Numbers: [21, 99, 6] Generated Node #0,2: 95:[21, 99, 6] Operation: 18-12=6 Moving to Node #0,2 Current State: 95:[21, 99, 6], Operations: ['18-12=6'] Exploring Operation: 99-6=93, Resulting Numbers: [21, 93] Generated Node #0,2,0: 95:[21, 93] Operation: 99-6=93 Exploring Operation: 21-6=15, Resulting Numbers: [99, 15] Generated Node #0,2,1: 95:[99, 15] Operation: 21-6=15 Exploring Operation: 21+6=27, Resulting Numbers: [99, 27] Generated Node #0,2,2: 95:[99, 27] Operation: 21+6=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[21, 93], Operations: ['18-12=6', '99-6=93'] Exploring Operation: 21+93=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 21*93=1953, Resulting Numbers: [1953] 1953,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[99, 15], Operations: ['18-12=6', '21-6=15'] Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,95 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[99, 27], Operations: ['18-12=6', '21+6=27'] Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,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:[18, 99, 9], Operations: ['21-12=9'] Exploring Operation: 99/9=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 95:[18, 11] Operation: 99/9=11 Exploring Operation: 18/9=2, Resulting Numbers: [99, 2] Generated Node #0,0,1: 95:[99, 2] Operation: 18/9=2 Exploring Operation: 99-9=90, Resulting Numbers: [18, 90] Generated Node #0,0,2: 95:[18, 90] Operation: 99-9=90 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[18, 90], Operations: ['21-12=9', '99-9=90'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 18+90=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[18, 11], Operations: ['21-12=9', '99/9=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[99, 2], Operations: ['21-12=9', '18/9=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,95 unequal: No Solution Exploring Operation: 99*2=198, Resulting Numbers: [198] 198,95 unequal: No Solution Exploring Operation: 99+2=101, Resulting Numbers: [101] 101,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 95:[21, 18, 87], Operations: ['99-12=87'] Exploring Operation: 18+87=105, Resulting Numbers: [21, 105] Generated Node #0,1,0: 95:[21, 105] Operation: 18+87=105 Exploring Operation: 21-18=3, Resulting Numbers: [87, 3] Generated Node #0,1,1: 95:[87, 3] Operation: 21-18=3 Exploring Operation: 21+87=108, Resulting Numbers: [18, 108] Generated Node #0,1,2: 95:[18, 108] Operation: 21+87=108 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[87, 3], Operations: ['99-12=87', '21-18=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,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,0 Current State: 95:[21, 105], Operations: ['99-12=87', '18+87=105'] Exploring Operation: 105/21=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 21+105=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 105-21=84, Resulting Numbers: [84] 84,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:[18, 108], Operations: ['99-12=87', '21+87=108'] Exploring Operation: 108-18=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 18+108=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 108/18=6, Resulting Numbers: [6] 6,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 51, 51, 2, 64 ]
26
[ "51+51=102", "2*64=128", "128-102=26" ]
Current State: 26:[51, 51, 2, 64], Operations: [] Exploring Operation: 51+51=102, Resulting Numbers: [2, 64, 102] Generated Node #2: [2, 64, 102] from Operation: 51+51=102 Current State: 26:[2, 64, 102], Operations: ['51+51=102'] Exploring Operation: 2*64=128, Resulting Numbers: [102, 128] Generated Node #3: [102, 128] from Operation: 2*64=128 Current State: 26:[102, 128], Operations: ['51+51=102', '2*64=128'] Exploring Operation: 128-102=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[51, 51, 2, 64], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [51, 2, 13] Generated Node #0,0: 26:[51, 2, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[51, 2, 13], Operations: ['64-51=13'] Exploring Operation: 51-13=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 26:[2, 38] Operation: 51-13=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[2, 38], Operations: ['64-51=13', '51-13=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,26 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
[ 14, 5, 69, 62 ]
73
[ "69-14=55", "55/5=11", "62+11=73" ]
Current State: 73:[14, 5, 69, 62], Operations: [] Exploring Operation: 69-14=55, Resulting Numbers: [5, 62, 55] Generated Node #2: [5, 62, 55] from Operation: 69-14=55 Current State: 73:[5, 62, 55], Operations: ['69-14=55'] Exploring Operation: 55/5=11, Resulting Numbers: [62, 11] Generated Node #3: [62, 11] from Operation: 55/5=11 Current State: 73:[62, 11], Operations: ['69-14=55', '55/5=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[14, 5, 69, 62], Operations: [] Exploring Operation: 5+62=67, Resulting Numbers: [14, 69, 67] Generated Node #0,0: 73:[14, 69, 67] Operation: 5+62=67 Exploring Operation: 5+69=74, Resulting Numbers: [14, 62, 74] Generated Node #0,1: 73:[14, 62, 74] Operation: 5+69=74 Exploring Operation: 14+5=19, Resulting Numbers: [69, 62, 19] Generated Node #0,2: 73:[69, 62, 19] Operation: 14+5=19 Exploring Operation: 14*5=70, Resulting Numbers: [69, 62, 70] Generated Node #0,3: 73:[69, 62, 70] Operation: 14*5=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[69, 62, 70], Operations: ['14*5=70'] Exploring Operation: 69+62=131, Resulting Numbers: [70, 131] Generated Node #0,3,0: 73:[70, 131] Operation: 69+62=131 Exploring Operation: 70-62=8, Resulting Numbers: [69, 8] Generated Node #0,3,1: 73:[69, 8] Operation: 70-62=8 Exploring Operation: 69-62=7, Resulting Numbers: [70, 7] Generated Node #0,3,2: 73:[70, 7] Operation: 69-62=7 Exploring Operation: 62+70=132, Resulting Numbers: [69, 132] Generated Node #0,3,3: 73:[69, 132] Operation: 62+70=132 Moving to Node #0,3,0 Current State: 73:[70, 131], Operations: ['14*5=70', '69+62=131'] Exploring Operation: 70*131=9170, Resulting Numbers: [9170] 9170,73 unequal: No Solution Exploring Operation: 131-70=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 70+131=201, Resulting Numbers: [201] 201,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[69, 132], Operations: ['14*5=70', '62+70=132'] Exploring Operation: 132-69=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 69*132=9108, Resulting Numbers: [9108] 9108,73 unequal: No Solution Exploring Operation: 69+132=201, Resulting Numbers: [201] 201,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[70, 7], Operations: ['14*5=70', '69-62=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[69, 8], Operations: ['14*5=70', '70-62=8'] Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,73 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[14, 69, 67], Operations: ['5+62=67'] Exploring Operation: 14+67=81, Resulting Numbers: [69, 81] Generated Node #0,0,0: 73:[69, 81] Operation: 14+67=81 Exploring Operation: 69-14=55, Resulting Numbers: [67, 55] Generated Node #0,0,1: 73:[67, 55] Operation: 69-14=55 Exploring Operation: 67-14=53, Resulting Numbers: [69, 53] Generated Node #0,0,2: 73:[69, 53] Operation: 67-14=53 Exploring Operation: 14+69=83, Resulting Numbers: [67, 83] Generated Node #0,0,3: 73:[67, 83] Operation: 14+69=83 Moving to Node #0,0,0 Current State: 73:[69, 81], Operations: ['5+62=67', '14+67=81'] Exploring Operation: 69*81=5589, Resulting Numbers: [5589] 5589,73 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 69+81=150, Resulting Numbers: [150] 150,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[67, 83], Operations: ['5+62=67', '14+69=83'] Exploring Operation: 67*83=5561, Resulting Numbers: [5561] 5561,73 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[69, 53], Operations: ['5+62=67', '67-14=53'] Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 69*53=3657, Resulting Numbers: [3657] 3657,73 unequal: No Solution Exploring Operation: 69+53=122, Resulting Numbers: [122] 122,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[67, 55], Operations: ['5+62=67', '69-14=55'] Exploring Operation: 67*55=3685, Resulting Numbers: [3685] 3685,73 unequal: No Solution Exploring Operation: 67+55=122, Resulting Numbers: [122] 122,73 unequal: No Solution Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[69, 62, 19], Operations: ['14+5=19'] Exploring Operation: 69-19=50, Resulting Numbers: [62, 50] Generated Node #0,2,0: 73:[62, 50] Operation: 69-19=50 Exploring Operation: 62+19=81, Resulting Numbers: [69, 81] Generated Node #0,2,1: 73:[69, 81] Operation: 62+19=81 Exploring Operation: 69+19=88, Resulting Numbers: [62, 88] Generated Node #0,2,2: 73:[62, 88] Operation: 69+19=88 Exploring Operation: 62-19=43, Resulting Numbers: [69, 43] Generated Node #0,2,3: 73:[69, 43] Operation: 62-19=43 Moving to Node #0,2,1 Current State: 73:[69, 81], Operations: ['14+5=19', '62+19=81'] Exploring Operation: 69*81=5589, Resulting Numbers: [5589] 5589,73 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 69+81=150, Resulting Numbers: [150] 150,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[62, 88], Operations: ['14+5=19', '69+19=88'] Exploring Operation: 62*88=5456, Resulting Numbers: [5456] 5456,73 unequal: No Solution Exploring Operation: 62+88=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 88-62=26, Resulting Numbers: [26] 26,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[69, 43], Operations: ['14+5=19', '62-19=43'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,73 unequal: No Solution Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[62, 50], Operations: ['14+5=19', '69-19=50'] Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,73 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,73 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[14, 62, 74], Operations: ['5+69=74'] Exploring Operation: 62-14=48, Resulting Numbers: [74, 48] Generated Node #0,1,0: 73:[74, 48] Operation: 62-14=48 Exploring Operation: 14+62=76, Resulting Numbers: [74, 76] Generated Node #0,1,1: 73:[74, 76] Operation: 14+62=76 Exploring Operation: 14+74=88, Resulting Numbers: [62, 88] Generated Node #0,1,2: 73:[62, 88] Operation: 14+74=88 Exploring Operation: 74-14=60, Resulting Numbers: [62, 60] Generated Node #0,1,3: 73:[62, 60] Operation: 74-14=60 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[74, 76], Operations: ['5+69=74', '14+62=76'] Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,73 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,73 unequal: No Solution No 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: 73:[62, 60], Operations: ['5+69=74', '74-14=60'] Exploring Operation: 62*60=3720, Resulting Numbers: [3720] 3720,73 unequal: No Solution Exploring Operation: 62+60=122, Resulting Numbers: [122] 122,73 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,73 unequal: No Solution No 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: 73:[74, 48], Operations: ['5+69=74', '62-14=48'] Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,73 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,73 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,73 unequal: No Solution No 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: 73:[62, 88], Operations: ['5+69=74', '14+74=88'] Exploring Operation: 62*88=5456, Resulting Numbers: [5456] 5456,73 unequal: No Solution Exploring Operation: 62+88=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 88-62=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 18, 60, 58, 20 ]
64
[ "18*20=360", "360/60=6", "58+6=64" ]
Current State: 64:[18, 60, 58, 20], Operations: [] Exploring Operation: 18*20=360, Resulting Numbers: [60, 58, 360] Generated Node #2: [60, 58, 360] from Operation: 18*20=360 Current State: 64:[60, 58, 360], Operations: ['18*20=360'] Exploring Operation: 360/60=6, Resulting Numbers: [58, 6] Generated Node #3: [58, 6] from Operation: 360/60=6 Current State: 64:[58, 6], Operations: ['18*20=360', '360/60=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[18, 60, 58, 20], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [18, 58, 3] Generated Node #0,0: 64:[18, 58, 3] Operation: 60/20=3 Exploring Operation: 20-18=2, Resulting Numbers: [60, 58, 2] Generated Node #0,1: 64:[60, 58, 2] Operation: 20-18=2 Exploring Operation: 58-20=38, Resulting Numbers: [18, 60, 38] Generated Node #0,2: 64:[18, 60, 38] Operation: 58-20=38 Exploring Operation: 60-58=2, Resulting Numbers: [18, 20, 2] Generated Node #0,3: 64:[18, 20, 2] Operation: 60-58=2 Moving to Node #0,3 Current State: 64:[18, 20, 2], Operations: ['60-58=2'] Exploring Operation: 20/2=10, Resulting Numbers: [18, 10] Generated Node #0,3,0: 64:[18, 10] Operation: 20/2=10 Exploring Operation: 20-18=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 64:[2, 2] Operation: 20-18=2 Exploring Operation: 20-2=18, Resulting Numbers: [18, 18] Generated Node #0,3,2: 64:[18, 18] Operation: 20-2=18 Exploring Operation: 18-2=16, Resulting Numbers: [20, 16] Generated Node #0,3,3: 64:[20, 16] Operation: 18-2=16 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[2, 2], Operations: ['60-58=2', '20-18=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,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:[18, 10], Operations: ['60-58=2', '20/2=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,64 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,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:[18, 18], Operations: ['60-58=2', '20-2=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,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,3 Current State: 64:[20, 16], Operations: ['60-58=2', '18-2=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,64 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[18, 58, 3], Operations: ['60/20=3'] Exploring Operation: 58+3=61, Resulting Numbers: [18, 61] Generated Node #0,0,0: 64:[18, 61] Operation: 58+3=61 Exploring Operation: 58-18=40, Resulting Numbers: [3, 40] Generated Node #0,0,1: 64:[3, 40] Operation: 58-18=40 Exploring Operation: 18-3=15, Resulting Numbers: [58, 15] Generated Node #0,0,2: 64:[58, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [58, 6] Generated Node #0,0,3: 64:[58, 6] Operation: 18/3=6 Moving to Node #0,1 Current State: 64:[60, 58, 2], Operations: ['20-18=2'] Exploring Operation: 58/2=29, Resulting Numbers: [60, 29] Generated Node #0,1,0: 64:[60, 29] Operation: 58/2=29 Exploring Operation: 60-58=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 64:[2, 2] Operation: 60-58=2 Exploring Operation: 60/2=30, Resulting Numbers: [58, 30] Generated Node #0,1,2: 64:[58, 30] Operation: 60/2=30 Exploring Operation: 60+2=62, Resulting Numbers: [58, 62] Generated Node #0,1,3: 64:[58, 62] Operation: 60+2=62 Moving to Node #0,2 Current State: 64:[18, 60, 38], Operations: ['58-20=38'] Exploring Operation: 38-18=20, Resulting Numbers: [60, 20] Generated Node #0,2,0: 64:[60, 20] Operation: 38-18=20 Exploring Operation: 60-18=42, Resulting Numbers: [38, 42] Generated Node #0,2,1: 64:[38, 42] Operation: 60-18=42 Exploring Operation: 60-38=22, Resulting Numbers: [18, 22] Generated Node #0,2,2: 64:[18, 22] Operation: 60-38=22 Exploring Operation: 18+38=56, Resulting Numbers: [60, 56] Generated Node #0,2,3: 64:[60, 56] Operation: 18+38=56 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[60, 20], Operations: ['58-20=38', '38-18=20'] Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 60*20=1200, Resulting Numbers: [1200] 1200,64 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[18, 22], Operations: ['58-20=38', '60-38=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[60, 56], Operations: ['58-20=38', '18+38=56'] Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,64 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,64 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,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:[38, 42], Operations: ['58-20=38', '60-18=42'] Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,64 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,64 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: 64:[2, 2], Operations: ['20-18=2', '60-58=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[18, 61], Operations: ['60/20=3', '58+3=61'] Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,64 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[60, 29], Operations: ['20-18=2', '58/2=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,64 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,64 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[58, 15], Operations: ['60/20=3', '18-3=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,64 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[58, 6], Operations: ['60/20=3', '18/3=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,64 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[18, 60, 58, 20], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [18, 58, 3] Generated Node #0,0: 64:[18, 58, 3] Operation: 60/20=3 Moving to Node #0,0 Current State: 64:[18, 58, 3], Operations: ['60/20=3'] Exploring Operation: 18/3=6, Resulting Numbers: [58, 6] Generated Node #0,0,3: 64:[58, 6] Operation: 18/3=6 Moving to Node #0,0,3 Current State: 64:[58, 6], Operations: ['60/20=3', '18/3=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.94184
hs_4
sum_heuristic
[ 7, 46, 11, 22 ]
41
[ "46-7=39", "22/11=2", "39+2=41" ]
Current State: 41:[7, 46, 11, 22], Operations: [] Exploring Operation: 46-7=39, Resulting Numbers: [11, 22, 39] Generated Node #2: [11, 22, 39] from Operation: 46-7=39 Current State: 41:[11, 22, 39], Operations: ['46-7=39'] Exploring Operation: 22/11=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 22/11=2 Current State: 41:[39, 2], Operations: ['46-7=39', '22/11=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[7, 46, 11, 22], Operations: [] Exploring Operation: 11+22=33, Resulting Numbers: [7, 46, 33] Generated Node #0,0: 41:[7, 46, 33] Operation: 11+22=33 Exploring Operation: 7+11=18, Resulting Numbers: [46, 22, 18] Generated Node #0,1: 41:[46, 22, 18] Operation: 7+11=18 Exploring Operation: 46-11=35, Resulting Numbers: [7, 22, 35] Generated Node #0,2: 41:[7, 22, 35] Operation: 46-11=35 Exploring Operation: 7+22=29, Resulting Numbers: [46, 11, 29] Generated Node #0,3: 41:[46, 11, 29] Operation: 7+22=29 Exploring Operation: 46-7=39, Resulting Numbers: [11, 22, 39] Generated Node #0,4: 41:[11, 22, 39] Operation: 46-7=39 Moving to Node #0,0 Current State: 41:[7, 46, 33], Operations: ['11+22=33'] Exploring Operation: 46-33=13, Resulting Numbers: [7, 13] Generated Node #0,0,0: 41:[7, 13] Operation: 46-33=13 Exploring Operation: 7+46=53, Resulting Numbers: [33, 53] Generated Node #0,0,1: 41:[33, 53] Operation: 7+46=53 Exploring Operation: 46-7=39, Resulting Numbers: [33, 39] Generated Node #0,0,2: 41:[33, 39] Operation: 46-7=39 Exploring Operation: 7+33=40, Resulting Numbers: [46, 40] Generated Node #0,0,3: 41:[46, 40] Operation: 7+33=40 Exploring Operation: 33-7=26, Resulting Numbers: [46, 26] Generated Node #0,0,4: 41:[46, 26] Operation: 33-7=26 Moving to Node #0,3 Current State: 41:[46, 11, 29], Operations: ['7+22=29'] Exploring Operation: 46-29=17, Resulting Numbers: [11, 17] Generated Node #0,3,0: 41:[11, 17] Operation: 46-29=17 Exploring Operation: 29-11=18, Resulting Numbers: [46, 18] Generated Node #0,3,1: 41:[46, 18] Operation: 29-11=18 Exploring Operation: 46+11=57, Resulting Numbers: [29, 57] Generated Node #0,3,2: 41:[29, 57] Operation: 46+11=57 Exploring Operation: 46-11=35, Resulting Numbers: [29, 35] Generated Node #0,3,3: 41:[29, 35] Operation: 46-11=35 Exploring Operation: 11+29=40, Resulting Numbers: [46, 40] Generated Node #0,3,4: 41:[46, 40] Operation: 11+29=40 Moving to Node #0,1 Current State: 41:[46, 22, 18], Operations: ['7+11=18'] Exploring Operation: 22-18=4, Resulting Numbers: [46, 4] Generated Node #0,1,0: 41:[46, 4] Operation: 22-18=4 Exploring Operation: 22+18=40, Resulting Numbers: [46, 40] Generated Node #0,1,1: 41:[46, 40] Operation: 22+18=40 Exploring Operation: 46-22=24, Resulting Numbers: [18, 24] Generated Node #0,1,2: 41:[18, 24] Operation: 46-22=24 Exploring Operation: 46-18=28, Resulting Numbers: [22, 28] Generated Node #0,1,3: 41:[22, 28] Operation: 46-18=28 Exploring Operation: 46+18=64, Resulting Numbers: [22, 64] Generated Node #0,1,4: 41:[22, 64] Operation: 46+18=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[46, 40], Operations: ['7+11=18', '22+18=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,41 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[22, 28], Operations: ['7+11=18', '46-18=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[18, 24], Operations: ['7+11=18', '46-22=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,41 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[46, 4], Operations: ['7+11=18', '22-18=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 41:[22, 64], Operations: ['7+11=18', '46+18=64'] Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 22*64=1408, Resulting Numbers: [1408] 1408,41 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,41 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: 41:[11, 22, 39], Operations: ['46-7=39'] Exploring Operation: 39-11=28, Resulting Numbers: [22, 28] Generated Node #0,4,0: 41:[22, 28] Operation: 39-11=28 Exploring Operation: 11+39=50, Resulting Numbers: [22, 50] Generated Node #0,4,1: 41:[22, 50] Operation: 11+39=50 Exploring Operation: 22/11=2, Resulting Numbers: [39, 2] Generated Node #0,4,2: 41:[39, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [39, 11] Generated Node #0,4,3: 41:[39, 11] Operation: 22-11=11 Exploring Operation: 11+22=33, Resulting Numbers: [39, 33] Generated Node #0,4,4: 41:[39, 33] Operation: 11+22=33 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 41:[39, 33], Operations: ['46-7=39', '11+22=33'] Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,41 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 41:[22, 50], Operations: ['46-7=39', '11+39=50'] Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,41 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 41:[22, 28], Operations: ['46-7=39', '39-11=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 41:[39, 11], Operations: ['46-7=39', '22-11=11'] Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,41 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 41:[39, 2], Operations: ['46-7=39', '22/11=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[7, 46, 11, 22], Operations: [] Exploring Operation: 46-7=39, Resulting Numbers: [11, 22, 39] Generated Node #0,4: 41:[11, 22, 39] Operation: 46-7=39 Moving to Node #0,4 Current State: 41:[11, 22, 39], Operations: ['46-7=39'] Exploring Operation: 22/11=2, Resulting Numbers: [39, 2] Generated Node #0,4,2: 41:[39, 2] Operation: 22/11=2 Moving to Node #0,4,2 Current State: 41:[39, 2], Operations: ['46-7=39', '22/11=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 58, 21, 23, 39 ]
38
[ "58-39=19", "23-21=2", "19*2=38" ]
Current State: 38:[58, 21, 23, 39], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [21, 23, 19] Generated Node #2: [21, 23, 19] from Operation: 58-39=19 Current State: 38:[21, 23, 19], Operations: ['58-39=19'] Exploring Operation: 23-21=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 23-21=2 Current State: 38:[19, 2], Operations: ['58-39=19', '23-21=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[58, 21, 23, 39], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [21, 39, 35] Generated Node #0,0: 38:[21, 39, 35] Operation: 58-23=35 Exploring Operation: 58-21=37, Resulting Numbers: [23, 39, 37] Generated Node #0,1: 38:[23, 39, 37] Operation: 58-21=37 Exploring Operation: 58-39=19, Resulting Numbers: [21, 23, 19] Generated Node #0,2: 38:[21, 23, 19] Operation: 58-39=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[21, 39, 35], Operations: ['58-23=35'] Exploring Operation: 39-21=18, Resulting Numbers: [35, 18] Generated Node #0,0,0: 38:[35, 18] Operation: 39-21=18 Exploring Operation: 35-21=14, Resulting Numbers: [39, 14] Generated Node #0,0,1: 38:[39, 14] Operation: 35-21=14 Exploring Operation: 39-35=4, Resulting Numbers: [21, 4] Generated Node #0,0,2: 38:[21, 4] Operation: 39-35=4 Moving to Node #0,0,0 Current State: 38:[35, 18], Operations: ['58-23=35', '39-21=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,38 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[21, 4], Operations: ['58-23=35', '39-35=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[39, 14], Operations: ['58-23=35', '35-21=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[23, 39, 37], Operations: ['58-21=37'] Exploring Operation: 39-37=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 38:[23, 2] Operation: 39-37=2 Exploring Operation: 39-23=16, Resulting Numbers: [37, 16] Generated Node #0,1,1: 38:[37, 16] Operation: 39-23=16 Exploring Operation: 37-23=14, Resulting Numbers: [39, 14] Generated Node #0,1,2: 38:[39, 14] Operation: 37-23=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[23, 2], Operations: ['58-21=37', '39-37=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,38 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,38 unequal: No Solution No 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: 38:[37, 16], Operations: ['58-21=37', '39-23=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,38 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,38 unequal: No Solution No 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: 38:[39, 14], Operations: ['58-21=37', '37-23=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,38 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: 38:[21, 23, 19], Operations: ['58-39=19'] Exploring Operation: 23-21=2, Resulting Numbers: [19, 2] Generated Node #0,2,0: 38:[19, 2] Operation: 23-21=2 Exploring Operation: 23-19=4, Resulting Numbers: [21, 4] Generated Node #0,2,1: 38:[21, 4] Operation: 23-19=4 Exploring Operation: 21-19=2, Resulting Numbers: [23, 2] Generated Node #0,2,2: 38:[23, 2] Operation: 21-19=2 Moving to Node #0,2,0 Current State: 38:[19, 2], Operations: ['58-39=19', '23-21=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[58, 21, 23, 39], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [21, 23, 19] Generated Node #0,2: 38:[21, 23, 19] Operation: 58-39=19 Moving to Node #0,2 Current State: 38:[21, 23, 19], Operations: ['58-39=19'] Exploring Operation: 23-21=2, Resulting Numbers: [19, 2] Generated Node #0,2,0: 38:[19, 2] Operation: 23-21=2 Moving to Node #0,2,0 Current State: 38:[19, 2], Operations: ['58-39=19', '23-21=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 76, 21, 50, 19 ]
25
[ "76+50=126", "126/21=6", "19+6=25" ]
Current State: 25:[76, 21, 50, 19], Operations: [] Exploring Operation: 76+50=126, Resulting Numbers: [21, 19, 126] Generated Node #2: [21, 19, 126] from Operation: 76+50=126 Current State: 25:[21, 19, 126], Operations: ['76+50=126'] Exploring Operation: 126/21=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 126/21=6 Current State: 25:[19, 6], Operations: ['76+50=126', '126/21=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[76, 21, 50, 19], Operations: [] Exploring Operation: 76-19=57, Resulting Numbers: [21, 50, 57] Generated Node #0,0: 25:[21, 50, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [21, 50, 4] Generated Node #0,1: 25:[21, 50, 4] Operation: 76/19=4 Exploring Operation: 76-50=26, Resulting Numbers: [21, 19, 26] Generated Node #0,2: 25:[21, 19, 26] Operation: 76-50=26 Exploring Operation: 76-21=55, Resulting Numbers: [50, 19, 55] Generated Node #0,3: 25:[50, 19, 55] Operation: 76-21=55 Moving to Node #0,2 Current State: 25:[21, 19, 26], Operations: ['76-50=26'] Exploring Operation: 26-21=5, Resulting Numbers: [19, 5] Generated Node #0,2,0: 25:[19, 5] Operation: 26-21=5 Exploring Operation: 26-19=7, Resulting Numbers: [21, 7] Generated Node #0,2,1: 25:[21, 7] Operation: 26-19=7 Exploring Operation: 21-19=2, Resulting Numbers: [26, 2] Generated Node #0,2,2: 25:[26, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [26, 40] Generated Node #0,2,3: 25:[26, 40] Operation: 21+19=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[26, 2], Operations: ['76-50=26', '21-19=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[19, 5], Operations: ['76-50=26', '26-21=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,25 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[21, 7], Operations: ['76-50=26', '26-19=7'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,25 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[26, 40], Operations: ['76-50=26', '21+19=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,25 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,25 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: 25:[21, 50, 4], Operations: ['76/19=4'] Exploring Operation: 21+4=25, Resulting Numbers: [50, 25] Generated Node #0,1,0: 25:[50, 25] Operation: 21+4=25 Exploring Operation: 50-21=29, Resulting Numbers: [4, 29] Generated Node #0,1,1: 25:[4, 29] Operation: 50-21=29 Exploring Operation: 21-4=17, Resulting Numbers: [50, 17] Generated Node #0,1,2: 25:[50, 17] Operation: 21-4=17 Exploring Operation: 50-4=46, Resulting Numbers: [21, 46] Generated Node #0,1,3: 25:[21, 46] Operation: 50-4=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[4, 29], Operations: ['76/19=4', '50-21=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,25 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[76, 21, 50, 19], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [21, 50, 4] Generated Node #0,1: 25:[21, 50, 4] Operation: 76/19=4 Moving to Node #0,1 Current State: 25:[21, 50, 4], Operations: ['76/19=4'] Exploring Operation: 50-21=29, Resulting Numbers: [4, 29] Generated Node #0,1,1: 25:[4, 29] Operation: 50-21=29 Moving to Node #0,1,1 Current State: 25:[4, 29], Operations: ['76/19=4', '50-21=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 10, 3, 46, 97 ]
36
[ "3+97=100", "100/10=10", "46-10=36" ]
Current State: 36:[10, 3, 46, 97], Operations: [] Exploring Operation: 3+97=100, Resulting Numbers: [10, 46, 100] Generated Node #2: [10, 46, 100] from Operation: 3+97=100 Current State: 36:[10, 46, 100], Operations: ['3+97=100'] Exploring Operation: 100/10=10, Resulting Numbers: [46, 10] Generated Node #3: [46, 10] from Operation: 100/10=10 Current State: 36:[46, 10], Operations: ['3+97=100', '100/10=10'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[10, 3, 46, 97], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [10, 3, 51] Generated Node #0,0: 36:[10, 3, 51] Operation: 97-46=51 Exploring Operation: 97-10=87, Resulting Numbers: [3, 46, 87] Generated Node #0,1: 36:[3, 46, 87] Operation: 97-10=87 Exploring Operation: 46-10=36, Resulting Numbers: [3, 97, 36] Generated Node #0,2: 36:[3, 97, 36] Operation: 46-10=36 Exploring Operation: 46-3=43, Resulting Numbers: [10, 97, 43] Generated Node #0,3: 36:[10, 97, 43] Operation: 46-3=43 Exploring Operation: 97-3=94, Resulting Numbers: [10, 46, 94] Generated Node #0,4: 36:[10, 46, 94] Operation: 97-3=94 Moving to Node #0,0 Current State: 36:[10, 3, 51], Operations: ['97-46=51'] Exploring Operation: 51/3=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 36:[10, 17] Operation: 51/3=17 Exploring Operation: 51-10=41, Resulting Numbers: [3, 41] Generated Node #0,0,1: 36:[3, 41] Operation: 51-10=41 Exploring Operation: 10+3=13, Resulting Numbers: [51, 13] Generated Node #0,0,2: 36:[51, 13] Operation: 10+3=13 Exploring Operation: 10-3=7, Resulting Numbers: [51, 7] Generated Node #0,0,3: 36:[51, 7] Operation: 10-3=7 Exploring Operation: 51-3=48, Resulting Numbers: [10, 48] Generated Node #0,0,4: 36:[10, 48] Operation: 51-3=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[10, 17], Operations: ['97-46=51', '51/3=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,36 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[3, 41], Operations: ['97-46=51', '51-10=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 36:[10, 48], Operations: ['97-46=51', '51-3=48'] Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[51, 13], Operations: ['97-46=51', '10+3=13'] Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[51, 7], Operations: ['97-46=51', '10-3=7'] Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,36 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,36 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: 36:[3, 97, 36], Operations: ['46-10=36'] Exploring Operation: 36/3=12, Resulting Numbers: [97, 12] Generated Node #0,2,0: 36:[97, 12] Operation: 36/3=12 Exploring Operation: 97-3=94, Resulting Numbers: [36, 94] Generated Node #0,2,1: 36:[36, 94] Operation: 97-3=94 Exploring Operation: 3+36=39, Resulting Numbers: [97, 39] Generated Node #0,2,2: 36:[97, 39] Operation: 3+36=39 Exploring Operation: 3+97=100, Resulting Numbers: [36, 100] Generated Node #0,2,3: 36:[36, 100] Operation: 3+97=100 Exploring Operation: 97-36=61, Resulting Numbers: [3, 61] Generated Node #0,2,4: 36:[3, 61] Operation: 97-36=61 Moving to Node #0,1 Current State: 36:[3, 46, 87], Operations: ['97-10=87'] Exploring Operation: 87-3=84, Resulting Numbers: [46, 84] Generated Node #0,1,0: 36:[46, 84] Operation: 87-3=84 Exploring Operation: 3+46=49, Resulting Numbers: [87, 49] Generated Node #0,1,1: 36:[87, 49] Operation: 3+46=49 Exploring Operation: 87/3=29, Resulting Numbers: [46, 29] Generated Node #0,1,2: 36:[46, 29] Operation: 87/3=29 Exploring Operation: 87-46=41, Resulting Numbers: [3, 41] Generated Node #0,1,3: 36:[3, 41] Operation: 87-46=41 Exploring Operation: 46-3=43, Resulting Numbers: [87, 43] Generated Node #0,1,4: 36:[87, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[3, 41], Operations: ['97-10=87', '87-46=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[46, 29], Operations: ['97-10=87', '87/3=29'] Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,36 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[46, 84], Operations: ['97-10=87', '87-3=84'] Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,36 unequal: No Solution Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[87, 43], Operations: ['97-10=87', '46-3=43'] Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 87*43=3741, Resulting Numbers: [3741] 3741,36 unequal: No Solution Exploring Operation: 87+43=130, Resulting Numbers: [130] 130,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[87, 49], Operations: ['97-10=87', '3+46=49'] Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,36 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 36:[10, 97, 43], Operations: ['46-3=43'] Exploring Operation: 10+97=107, Resulting Numbers: [43, 107] Generated Node #0,3,0: 36:[43, 107] Operation: 10+97=107 Exploring Operation: 43-10=33, Resulting Numbers: [97, 33] Generated Node #0,3,1: 36:[97, 33] Operation: 43-10=33 Exploring Operation: 97-43=54, Resulting Numbers: [10, 54] Generated Node #0,3,2: 36:[10, 54] Operation: 97-43=54 Exploring Operation: 97-10=87, Resulting Numbers: [43, 87] Generated Node #0,3,3: 36:[43, 87] Operation: 97-10=87 Exploring Operation: 10+43=53, Resulting Numbers: [97, 53] Generated Node #0,3,4: 36:[97, 53] Operation: 10+43=53 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[10, 54], Operations: ['46-3=43', '97-43=54'] Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,36 unequal: No Solution Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[43, 87], Operations: ['46-3=43', '97-10=87'] Exploring Operation: 43*87=3741, Resulting Numbers: [3741] 3741,36 unequal: No Solution Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 43+87=130, Resulting Numbers: [130] 130,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[97, 33], Operations: ['46-3=43', '43-10=33'] Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,36 unequal: No Solution Exploring Operation: 97*33=3201, Resulting Numbers: [3201] 3201,36 unequal: No Solution Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[43, 107], Operations: ['46-3=43', '10+97=107'] Exploring Operation: 43+107=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 107-43=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 43*107=4601, Resulting Numbers: [4601] 4601,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 36:[97, 53], Operations: ['46-3=43', '10+43=53'] Exploring Operation: 97+53=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 97*53=5141, Resulting Numbers: [5141] 5141,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 36:[10, 46, 94], Operations: ['97-3=94'] Exploring Operation: 46-10=36, Resulting Numbers: [94, 36] Generated Node #0,4,0: 36:[94, 36] Operation: 46-10=36 Exploring Operation: 10+46=56, Resulting Numbers: [94, 56] Generated Node #0,4,1: 36:[94, 56] Operation: 10+46=56 Exploring Operation: 94-10=84, Resulting Numbers: [46, 84] Generated Node #0,4,2: 36:[46, 84] Operation: 94-10=84 Exploring Operation: 94-46=48, Resulting Numbers: [10, 48] Generated Node #0,4,3: 36:[10, 48] Operation: 94-46=48 Exploring Operation: 10+94=104, Resulting Numbers: [46, 104] Generated Node #0,4,4: 36:[46, 104] Operation: 10+94=104 Moving to Node #0,4,3 Current State: 36:[10, 48], Operations: ['97-3=94', '94-46=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,36 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[3, 61], Operations: ['46-10=36', '97-36=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,36 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[94, 36], Operations: ['97-3=94', '46-10=36'] Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,36 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,36 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[36, 94], Operations: ['46-10=36', '97-3=94'] Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,36 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,36 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[46, 84], Operations: ['97-3=94', '94-10=84'] Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,36 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[97, 12], Operations: ['46-10=36', '36/3=12'] Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,36 unequal: No Solution Exploring Operation: 97*12=1164, Resulting Numbers: [1164] 1164,36 unequal: No Solution Exploring Operation: 97+12=109, Resulting Numbers: [109] 109,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[36, 100], Operations: ['46-10=36', '3+97=100'] Exploring Operation: 100-36=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 36+100=136, Resulting Numbers: [136] 136,36 unequal: No Solution Exploring Operation: 36*100=3600, Resulting Numbers: [3600] 3600,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[97, 39], Operations: ['46-10=36', '3+36=39'] Exploring Operation: 97+39=136, Resulting Numbers: [136] 136,36 unequal: No Solution Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 97*39=3783, Resulting Numbers: [3783] 3783,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[46, 104], Operations: ['97-3=94', '10+94=104'] Exploring Operation: 46*104=4784, Resulting Numbers: [4784] 4784,36 unequal: No Solution Exploring Operation: 46+104=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 104-46=58, Resulting Numbers: [58] 58,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[94, 56], Operations: ['97-3=94', '10+46=56'] Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 94*56=5264, Resulting Numbers: [5264] 5264,36 unequal: No Solution Exploring Operation: 94+56=150, Resulting Numbers: [150] 150,36 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 7, 2, 35, 2 ]
45
[ "7-2=5", "2*5=10", "35+10=45" ]
Current State: 45:[7, 2, 35, 2], Operations: [] Exploring Operation: 7-2=5, Resulting Numbers: [35, 5] Generated Node #2: [35, 5] from Operation: 7-2=5 Current State: 45:[35, 5], Operations: ['7-2=5'] Exploring Operation: 2*5=10, Resulting Numbers: [35, 10] Generated Node #3: [35, 10] from Operation: 2*5=10 Current State: 45:[35, 10], Operations: ['7-2=5', '2*5=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[7, 2, 35, 2], Operations: [] Exploring Operation: 7-2=5, Resulting Numbers: [35, 2, 5] Generated Node #0,0: 45:[35, 2, 5] Operation: 7-2=5 Exploring Operation: 7+35=42, Resulting Numbers: [2, 2, 42] Generated Node #0,1: 45:[2, 2, 42] Operation: 7+35=42 Exploring Operation: 7+2=9, Resulting Numbers: [2, 35, 9] Generated Node #0,2: 45:[2, 35, 9] Operation: 7+2=9 Exploring Operation: 35/7=5, Resulting Numbers: [2, 2, 5] Generated Node #0,3: 45:[2, 2, 5] Operation: 35/7=5 Exploring Operation: 7+2=9, Resulting Numbers: [35, 2, 9] Generated Node #0,4: 45:[35, 2, 9] Operation: 7+2=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[2, 2, 5], Operations: ['35/7=5'] Exploring Operation: 2/2=1, Resulting Numbers: [5, 1] Generated Node #0,3,0: 45:[5, 1] Operation: 2/2=1 Exploring Operation: 2*2=4, Resulting Numbers: [5, 4] Generated Node #0,3,1: 45:[5, 4] Operation: 2*2=4 Exploring Operation: 5-2=3, Resulting Numbers: [2, 3] Generated Node #0,3,2: 45:[2, 3] Operation: 5-2=3 Exploring Operation: 5-2=3, Resulting Numbers: [2, 3] Generated Node #0,3,3: 45:[2, 3] Operation: 5-2=3 Exploring Operation: 2+2=4, Resulting Numbers: [5, 4] Generated Node #0,3,4: 45:[5, 4] Operation: 2+2=4 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 45:[5, 4], Operations: ['35/7=5', '2*2=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,45 unequal: No Solution No 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: 45:[2, 3], Operations: ['35/7=5', '5-2=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,45 unequal: No Solution No 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: 45:[2, 3], Operations: ['35/7=5', '5-2=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 45:[5, 4], Operations: ['35/7=5', '2+2=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,45 unequal: No Solution No 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: 45:[5, 1], Operations: ['35/7=5', '2/2=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,45 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: 45:[2, 2, 42], Operations: ['7+35=42'] Exploring Operation: 2/2=1, Resulting Numbers: [42, 1] Generated Node #0,1,0: 45:[42, 1] Operation: 2/2=1 Exploring Operation: 2+42=44, Resulting Numbers: [2, 44] Generated Node #0,1,1: 45:[2, 44] Operation: 2+42=44 Exploring Operation: 2+2=4, Resulting Numbers: [42, 4] Generated Node #0,1,2: 45:[42, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [42, 4] Generated Node #0,1,3: 45:[42, 4] Operation: 2*2=4 Exploring Operation: 2+42=44, Resulting Numbers: [2, 44] Generated Node #0,1,4: 45:[2, 44] Operation: 2+42=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[2, 44], Operations: ['7+35=42', '2+42=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 45:[2, 44], Operations: ['7+35=42', '2+42=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,45 unequal: No Solution No 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: 45:[42, 4], Operations: ['7+35=42', '2+2=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,45 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,45 unequal: No Solution No 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: 45:[42, 4], Operations: ['7+35=42', '2*2=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,45 unequal: No Solution No 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: 45:[42, 1], Operations: ['7+35=42', '2/2=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,45 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: 45:[35, 2, 5], Operations: ['7-2=5'] Exploring Operation: 35+5=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 45:[2, 40] Operation: 35+5=40 Exploring Operation: 2*5=10, Resulting Numbers: [35, 10] Generated Node #0,0,1: 45:[35, 10] Operation: 2*5=10 Exploring Operation: 5-2=3, Resulting Numbers: [35, 3] Generated Node #0,0,2: 45:[35, 3] Operation: 5-2=3 Exploring Operation: 35+2=37, Resulting Numbers: [5, 37] Generated Node #0,0,3: 45:[5, 37] Operation: 35+2=37 Exploring Operation: 35/5=7, Resulting Numbers: [2, 7] Generated Node #0,0,4: 45:[2, 7] Operation: 35/5=7 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[2, 7], Operations: ['7-2=5', '35/5=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,45 unequal: No Solution No 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: 45:[2, 40], Operations: ['7-2=5', '35+5=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,45 unequal: No Solution No 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: 45:[5, 37], Operations: ['7-2=5', '35+2=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,45 unequal: No Solution No 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: 45:[35, 3], Operations: ['7-2=5', '5-2=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,45 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,45 unequal: No Solution No 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: 45:[35, 10], Operations: ['7-2=5', '2*5=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,45 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[7, 2, 35, 2], Operations: [] Exploring Operation: 7-2=5, Resulting Numbers: [35, 2, 5] Generated Node #0,0: 45:[35, 2, 5] Operation: 7-2=5 Moving to Node #0,0 Current State: 45:[35, 2, 5], Operations: ['7-2=5'] Exploring Operation: 2*5=10, Resulting Numbers: [35, 10] Generated Node #0,0,1: 45:[35, 10] Operation: 2*5=10 Moving to Node #0,0,1 Current State: 45:[35, 10], Operations: ['7-2=5', '2*5=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.935764
hs_5
mult_heuristic
[ 10, 67, 50, 86 ]
14
[ "50/10=5", "86-67=19", "19-5=14" ]
Current State: 14:[10, 67, 50, 86], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [67, 86, 5] Generated Node #2: [67, 86, 5] from Operation: 50/10=5 Current State: 14:[67, 86, 5], Operations: ['50/10=5'] Exploring Operation: 86-67=19, Resulting Numbers: [5, 19] Generated Node #3: [5, 19] from Operation: 86-67=19 Current State: 14:[5, 19], Operations: ['50/10=5', '86-67=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[10, 67, 50, 86], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [10, 86, 17] Generated Node #0,0: 14:[10, 86, 17] Operation: 67-50=17 Exploring Operation: 86-67=19, Resulting Numbers: [10, 50, 19] Generated Node #0,1: 14:[10, 50, 19] Operation: 86-67=19 Moving to Node #0,1 Current State: 14:[10, 50, 19], Operations: ['86-67=19'] Exploring Operation: 50-19=31, Resulting Numbers: [10, 31] Generated Node #0,1,0: 14:[10, 31] Operation: 50-19=31 Exploring Operation: 50/10=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 14:[19, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[19, 5], Operations: ['86-67=19', '50/10=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[10, 67, 50, 86], Operations: [] Exploring Operation: 86-67=19, Resulting Numbers: [10, 50, 19] Generated Node #0,1: 14:[10, 50, 19] Operation: 86-67=19 Moving to Node #0,1 Current State: 14:[10, 50, 19], Operations: ['86-67=19'] Exploring Operation: 50/10=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 14:[19, 5] Operation: 50/10=5 Moving to Node #0,1,1 Current State: 14:[19, 5], Operations: ['86-67=19', '50/10=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 33, 87, 26, 84 ]
37
[ "87-84=3", "33/3=11", "26+11=37" ]
Current State: 37:[33, 87, 26, 84], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [33, 26, 3] Generated Node #2: [33, 26, 3] from Operation: 87-84=3 Current State: 37:[33, 26, 3], Operations: ['87-84=3'] Exploring Operation: 33/3=11, Resulting Numbers: [26, 11] Generated Node #3: [26, 11] from Operation: 33/3=11 Current State: 37:[26, 11], Operations: ['87-84=3', '33/3=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[33, 87, 26, 84], Operations: [] Exploring Operation: 84-33=51, Resulting Numbers: [87, 26, 51] Generated Node #0,0: 37:[87, 26, 51] Operation: 84-33=51 Exploring Operation: 87-33=54, Resulting Numbers: [26, 84, 54] Generated Node #0,1: 37:[26, 84, 54] Operation: 87-33=54 Exploring Operation: 87-84=3, Resulting Numbers: [33, 26, 3] Generated Node #0,2: 37:[33, 26, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[33, 26, 3], Operations: ['87-84=3'] Exploring Operation: 33+3=36, Resulting Numbers: [26, 36] Generated Node #0,2,0: 37:[26, 36] Operation: 33+3=36 Exploring Operation: 26+3=29, Resulting Numbers: [33, 29] Generated Node #0,2,1: 37:[33, 29] Operation: 26+3=29 Exploring Operation: 33-3=30, Resulting Numbers: [26, 30] Generated Node #0,2,2: 37:[26, 30] Operation: 33-3=30 Moving to Node #0,2,0 Current State: 37:[26, 36], Operations: ['87-84=3', '33+3=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,37 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[33, 29], Operations: ['87-84=3', '26+3=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,37 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[26, 30], Operations: ['87-84=3', '33-3=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,37 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[87, 26, 51], Operations: ['84-33=51'] Exploring Operation: 51-26=25, Resulting Numbers: [87, 25] Generated Node #0,0,0: 37:[87, 25] Operation: 51-26=25 Exploring Operation: 87-51=36, Resulting Numbers: [26, 36] Generated Node #0,0,1: 37:[26, 36] Operation: 87-51=36 Exploring Operation: 87-26=61, Resulting Numbers: [51, 61] Generated Node #0,0,2: 37:[51, 61] Operation: 87-26=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[26, 36], Operations: ['84-33=51', '87-51=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,37 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,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:[51, 61], Operations: ['84-33=51', '87-26=61'] Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,37 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,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,0 Current State: 37:[87, 25], Operations: ['84-33=51', '51-26=25'] Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 87*25=2175, Resulting Numbers: [2175] 2175,37 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,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:[26, 84, 54], Operations: ['87-33=54'] Exploring Operation: 54-26=28, Resulting Numbers: [84, 28] Generated Node #0,1,0: 37:[84, 28] Operation: 54-26=28 Exploring Operation: 84-26=58, Resulting Numbers: [54, 58] Generated Node #0,1,1: 37:[54, 58] Operation: 84-26=58 Exploring Operation: 84-54=30, Resulting Numbers: [26, 30] Generated Node #0,1,2: 37:[26, 30] Operation: 84-54=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[26, 30], Operations: ['87-33=54', '84-54=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,37 unequal: No Solution Exploring Operation: 26+30=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,1 Current State: 37:[54, 58], Operations: ['87-33=54', '84-26=58'] Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,37 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,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,0 Current State: 37:[84, 28], Operations: ['87-33=54', '54-26=28'] 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 Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,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 No solution found.
0
hs_3
sum_heuristic
[ 5, 45, 2, 22 ]
42
[ "45-5=40", "40/2=20", "22+20=42" ]
Current State: 42:[5, 45, 2, 22], Operations: [] Exploring Operation: 45-5=40, Resulting Numbers: [2, 22, 40] Generated Node #2: [2, 22, 40] from Operation: 45-5=40 Current State: 42:[2, 22, 40], Operations: ['45-5=40'] Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #3: [22, 20] from Operation: 40/2=20 Current State: 42:[22, 20], Operations: ['45-5=40', '40/2=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[5, 45, 2, 22], Operations: [] Exploring Operation: 45-5=40, Resulting Numbers: [2, 22, 40] Generated Node #0,0: 42:[2, 22, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[2, 22, 40], Operations: ['45-5=40'] Exploring Operation: 2+40=42, Resulting Numbers: [22, 42] Generated Node #0,0,0: 42:[22, 42] Operation: 2+40=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[22, 42], Operations: ['45-5=40', '2+40=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 16, 22, 87 ]
43
[ "92+16=108", "87-22=65", "108-65=43" ]
Current State: 43:[92, 16, 22, 87], Operations: [] Exploring Operation: 92+16=108, Resulting Numbers: [22, 87, 108] Generated Node #2: [22, 87, 108] from Operation: 92+16=108 Current State: 43:[22, 87, 108], Operations: ['92+16=108'] Exploring Operation: 87-22=65, Resulting Numbers: [108, 65] Generated Node #3: [108, 65] from Operation: 87-22=65 Current State: 43:[108, 65], Operations: ['92+16=108', '87-22=65'] Exploring Operation: 108-65=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[92, 16, 22, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [16, 22, 5] Generated Node #0,0: 43:[16, 22, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[16, 22, 5], Operations: ['92-87=5'] Exploring Operation: 16+22=38, Resulting Numbers: [5, 38] Generated Node #0,0,0: 43:[5, 38] Operation: 16+22=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[5, 38], Operations: ['92-87=5', '16+22=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[92, 16, 22, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [16, 22, 5] Generated Node #0,0: 43:[16, 22, 5] Operation: 92-87=5 Moving to Node #0,0 Current State: 43:[16, 22, 5], Operations: ['92-87=5'] Exploring Operation: 16+22=38, Resulting Numbers: [5, 38] Generated Node #0,0,0: 43:[5, 38] Operation: 16+22=38 Moving to Node #0,0,0 Current State: 43:[5, 38], Operations: ['92-87=5', '16+22=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 32, 45, 16 ]
34
[ "23+45=68", "32/16=2", "68/2=34" ]
Current State: 34:[23, 32, 45, 16], Operations: [] Exploring Operation: 23+45=68, Resulting Numbers: [32, 16, 68] Generated Node #2: [32, 16, 68] from Operation: 23+45=68 Current State: 34:[32, 16, 68], Operations: ['23+45=68'] Exploring Operation: 32/16=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 32/16=2 Current State: 34:[68, 2], Operations: ['23+45=68', '32/16=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[23, 32, 45, 16], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [23, 16, 13] Generated Node #0,0: 34:[23, 16, 13] Operation: 45-32=13 Exploring Operation: 45-16=29, Resulting Numbers: [23, 32, 29] Generated Node #0,1: 34:[23, 32, 29] Operation: 45-16=29 Exploring Operation: 32/16=2, Resulting Numbers: [23, 45, 2] Generated Node #0,2: 34:[23, 45, 2] Operation: 32/16=2 Exploring Operation: 45-23=22, Resulting Numbers: [32, 16, 22] Generated Node #0,3: 34:[32, 16, 22] Operation: 45-23=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[32, 16, 22], Operations: ['45-23=22'] Exploring Operation: 32/16=2, Resulting Numbers: [22, 2] Generated Node #0,3,0: 34:[22, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [22, 16] Generated Node #0,3,1: 34:[22, 16] Operation: 32-16=16 Exploring Operation: 22-16=6, Resulting Numbers: [32, 6] Generated Node #0,3,2: 34:[32, 6] Operation: 22-16=6 Exploring Operation: 16+22=38, Resulting Numbers: [32, 38] Generated Node #0,3,3: 34:[32, 38] Operation: 16+22=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 34:[22, 2], Operations: ['45-23=22', '32/16=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 34:[22, 16], Operations: ['45-23=22', '32-16=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 34:[32, 6], Operations: ['45-23=22', '22-16=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 34:[32, 38], Operations: ['45-23=22', '16+22=38'] Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,34 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[23, 16, 13], Operations: ['45-32=13'] Exploring Operation: 23+16=39, Resulting Numbers: [13, 39] Generated Node #0,0,0: 34:[13, 39] Operation: 23+16=39 Exploring Operation: 23+13=36, Resulting Numbers: [16, 36] Generated Node #0,0,1: 34:[16, 36] Operation: 23+13=36 Exploring Operation: 23-13=10, Resulting Numbers: [16, 10] Generated Node #0,0,2: 34:[16, 10] Operation: 23-13=10 Exploring Operation: 16-13=3, Resulting Numbers: [23, 3] Generated Node #0,0,3: 34:[23, 3] Operation: 16-13=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[16, 36], Operations: ['45-32=13', '23+13=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 34:[23, 3], Operations: ['45-32=13', '16-13=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[16, 10], Operations: ['45-32=13', '23-13=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,34 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[13, 39], Operations: ['45-32=13', '23+16=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[23, 32, 29], Operations: ['45-16=29'] Exploring Operation: 29-23=6, Resulting Numbers: [32, 6] Generated Node #0,1,0: 34:[32, 6] Operation: 29-23=6 Exploring Operation: 32-29=3, Resulting Numbers: [23, 3] Generated Node #0,1,1: 34:[23, 3] Operation: 32-29=3 Exploring Operation: 23+29=52, Resulting Numbers: [32, 52] Generated Node #0,1,2: 34:[32, 52] Operation: 23+29=52 Exploring Operation: 32-23=9, Resulting Numbers: [29, 9] Generated Node #0,1,3: 34:[29, 9] Operation: 32-23=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[32, 6], Operations: ['45-16=29', '29-23=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[23, 3], Operations: ['45-16=29', '32-29=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 34:[29, 9], Operations: ['45-16=29', '32-23=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,34 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[32, 52], Operations: ['45-16=29', '23+29=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,34 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[23, 45, 2], Operations: ['32/16=2'] Exploring Operation: 23-2=21, Resulting Numbers: [45, 21] Generated Node #0,2,0: 34:[45, 21] Operation: 23-2=21 Exploring Operation: 23+2=25, Resulting Numbers: [45, 25] Generated Node #0,2,1: 34:[45, 25] Operation: 23+2=25 Exploring Operation: 45-23=22, Resulting Numbers: [2, 22] Generated Node #0,2,2: 34:[2, 22] Operation: 45-23=22 Exploring Operation: 45-2=43, Resulting Numbers: [23, 43] Generated Node #0,2,3: 34:[23, 43] Operation: 45-2=43 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[2, 22], Operations: ['32/16=2', '45-23=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[45, 21], Operations: ['32/16=2', '23-2=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,34 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 34:[23, 43], Operations: ['32/16=2', '45-2=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[45, 25], Operations: ['32/16=2', '23+2=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,34 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 18, 30, 63, 60 ]
20
[ "60-18=42", "30*42=1260", "1260/63=20" ]
Current State: 20:[18, 30, 63, 60], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [30, 63, 42] Generated Node #2: [30, 63, 42] from Operation: 60-18=42 Current State: 20:[30, 63, 42], Operations: ['60-18=42'] Exploring Operation: 30*42=1260, Resulting Numbers: [63, 1260] Generated Node #3: [63, 1260] from Operation: 30*42=1260 Current State: 20:[63, 1260], Operations: ['60-18=42', '30*42=1260'] Exploring Operation: 1260/63=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 30, 63, 60], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [18, 30, 3] Generated Node #0,0: 20:[18, 30, 3] Operation: 63-60=3 Exploring Operation: 63-30=33, Resulting Numbers: [18, 60, 33] Generated Node #0,1: 20:[18, 60, 33] Operation: 63-30=33 Exploring Operation: 60/30=2, Resulting Numbers: [18, 63, 2] Generated Node #0,2: 20:[18, 63, 2] Operation: 60/30=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[18, 30, 3], Operations: ['63-60=3'] Exploring Operation: 30/3=10, Resulting Numbers: [18, 10] Generated Node #0,0,0: 20:[18, 10] Operation: 30/3=10 Exploring Operation: 30-18=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 20:[3, 12] Operation: 30-18=12 Exploring Operation: 30-3=27, Resulting Numbers: [18, 27] Generated Node #0,0,2: 20:[18, 27] Operation: 30-3=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[18, 10], Operations: ['63-60=3', '30/3=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,20 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,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:[3, 12], Operations: ['63-60=3', '30-18=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,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,2 Current State: 20:[18, 27], Operations: ['63-60=3', '30-3=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,20 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,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,2 Current State: 20:[18, 63, 2], Operations: ['60/30=2'] Exploring Operation: 18+2=20, Resulting Numbers: [63, 20] Generated Node #0,2,0: 20:[63, 20] Operation: 18+2=20 Exploring Operation: 63-18=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 20:[2, 45] Operation: 63-18=45 Exploring Operation: 63-2=61, Resulting Numbers: [18, 61] Generated Node #0,2,2: 20:[18, 61] Operation: 63-2=61 Moving to Node #0,2,1 Current State: 20:[2, 45], Operations: ['60/30=2', '63-18=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[63, 20], Operations: ['60/30=2', '18+2=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,20 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[18, 61], Operations: ['60/30=2', '63-2=61'] Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,20 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[18, 60, 33], Operations: ['63-30=33'] Exploring Operation: 60-33=27, Resulting Numbers: [18, 27] Generated Node #0,1,0: 20:[18, 27] Operation: 60-33=27 Exploring Operation: 60-18=42, Resulting Numbers: [33, 42] Generated Node #0,1,1: 20:[33, 42] Operation: 60-18=42 Exploring Operation: 33-18=15, Resulting Numbers: [60, 15] Generated Node #0,1,2: 20:[60, 15] Operation: 33-18=15 Moving to Node #0,1,0 Current State: 20:[18, 27], Operations: ['63-30=33', '60-33=27'] Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,20 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[33, 42], Operations: ['63-30=33', '60-18=42'] Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,20 unequal: No Solution Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[60, 15], Operations: ['63-30=33', '33-18=15'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,20 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
[ 68, 64, 38, 76 ]
36
[ "64*38=2432", "2432/76=32", "68-32=36" ]
Current State: 36:[68, 64, 38, 76], Operations: [] Exploring Operation: 64*38=2432, Resulting Numbers: [68, 76, 2432] Generated Node #2: [68, 76, 2432] from Operation: 64*38=2432 Current State: 36:[68, 76, 2432], Operations: ['64*38=2432'] Exploring Operation: 2432/76=32, Resulting Numbers: [68, 32] Generated Node #3: [68, 32] from Operation: 2432/76=32 Current State: 36:[68, 32], Operations: ['64*38=2432', '2432/76=32'] Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[68, 64, 38, 76], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [68, 38, 12] Generated Node #0,0: 36:[68, 38, 12] Operation: 76-64=12 Exploring Operation: 76-68=8, Resulting Numbers: [64, 38, 8] Generated Node #0,1: 36:[64, 38, 8] Operation: 76-68=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[64, 38, 8], Operations: ['76-68=8'] Exploring Operation: 64-38=26, Resulting Numbers: [8, 26] Generated Node #0,1,0: 36:[8, 26] Operation: 64-38=26 Exploring Operation: 64/8=8, Resulting Numbers: [38, 8] Generated Node #0,1,1: 36:[38, 8] Operation: 64/8=8 Moving to Node #0,1,1 Current State: 36:[38, 8], Operations: ['76-68=8', '64/8=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[8, 26], Operations: ['76-68=8', '64-38=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[68, 38, 12], Operations: ['76-64=12'] Exploring Operation: 68-12=56, Resulting Numbers: [38, 56] Generated Node #0,0,0: 36:[38, 56] Operation: 68-12=56 Exploring Operation: 68-38=30, Resulting Numbers: [12, 30] Generated Node #0,0,1: 36:[12, 30] Operation: 68-38=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[12, 30], Operations: ['76-64=12', '68-38=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[38, 56], Operations: ['76-64=12', '68-12=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,36 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 44, 27, 72, 37 ]
75
[ "44+37=81", "81/27=3", "72+3=75" ]
Current State: 75:[44, 27, 72, 37], Operations: [] Exploring Operation: 44+37=81, Resulting Numbers: [27, 72, 81] Generated Node #2: [27, 72, 81] from Operation: 44+37=81 Current State: 75:[27, 72, 81], Operations: ['44+37=81'] Exploring Operation: 81/27=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 81/27=3 Current State: 75:[72, 3], Operations: ['44+37=81', '81/27=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[44, 27, 72, 37], Operations: [] Exploring Operation: 44-27=17, Resulting Numbers: [72, 37, 17] Generated Node #0,0: 75:[72, 37, 17] Operation: 44-27=17 Exploring Operation: 72-44=28, Resulting Numbers: [27, 37, 28] Generated Node #0,1: 75:[27, 37, 28] Operation: 72-44=28 Exploring Operation: 44+37=81, Resulting Numbers: [27, 72, 81] Generated Node #0,2: 75:[27, 72, 81] Operation: 44+37=81 Exploring Operation: 44-37=7, Resulting Numbers: [27, 72, 7] Generated Node #0,3: 75:[27, 72, 7] Operation: 44-37=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[27, 72, 7], Operations: ['44-37=7'] Exploring Operation: 27-7=20, Resulting Numbers: [72, 20] Generated Node #0,3,0: 75:[72, 20] Operation: 27-7=20 Exploring Operation: 72+7=79, Resulting Numbers: [27, 79] Generated Node #0,3,1: 75:[27, 79] Operation: 72+7=79 Exploring Operation: 27+7=34, Resulting Numbers: [72, 34] Generated Node #0,3,2: 75:[72, 34] Operation: 27+7=34 Exploring Operation: 72-7=65, Resulting Numbers: [27, 65] Generated Node #0,3,3: 75:[27, 65] Operation: 72-7=65 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[27, 79], Operations: ['44-37=7', '72+7=79'] Exploring Operation: 27*79=2133, Resulting Numbers: [2133] 2133,75 unequal: No Solution Exploring Operation: 27+79=106, Resulting Numbers: [106] 106,75 unequal: No Solution Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,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:[72, 20], Operations: ['44-37=7', '27-7=20'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 72*20=1440, Resulting Numbers: [1440] 1440,75 unequal: No Solution Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,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:[72, 34], Operations: ['44-37=7', '27+7=34'] Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,75 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,75 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,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,3 Current State: 75:[27, 65], Operations: ['44-37=7', '72-7=65'] Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,75 unequal: No Solution Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,75 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,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,2 Current State: 75:[27, 72, 81], Operations: ['44+37=81'] Exploring Operation: 81/27=3, Resulting Numbers: [72, 3] Generated Node #0,2,0: 75:[72, 3] Operation: 81/27=3 Exploring Operation: 72-27=45, Resulting Numbers: [81, 45] Generated Node #0,2,1: 75:[81, 45] Operation: 72-27=45 Exploring Operation: 81-72=9, Resulting Numbers: [27, 9] Generated Node #0,2,2: 75:[27, 9] Operation: 81-72=9 Exploring Operation: 81-27=54, Resulting Numbers: [72, 54] Generated Node #0,2,3: 75:[72, 54] Operation: 81-27=54 Moving to Node #0,2,0 Current State: 75:[72, 3], Operations: ['44+37=81', '81/27=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[44, 27, 72, 37], Operations: [] Exploring Operation: 44+37=81, Resulting Numbers: [27, 72, 81] Generated Node #0,2: 75:[27, 72, 81] Operation: 44+37=81 Moving to Node #0,2 Current State: 75:[27, 72, 81], Operations: ['44+37=81'] Exploring Operation: 81/27=3, Resulting Numbers: [72, 3] Generated Node #0,2,0: 75:[72, 3] Operation: 81/27=3 Moving to Node #0,2,0 Current State: 75:[72, 3], Operations: ['44+37=81', '81/27=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 46, 73, 6, 36 ]
54
[ "73-46=27", "36-27=9", "6*9=54" ]
Current State: 54:[46, 73, 6, 36], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [6, 36, 27] Generated Node #2: [6, 36, 27] from Operation: 73-46=27 Current State: 54:[6, 36, 27], Operations: ['73-46=27'] Exploring Operation: 36-27=9, Resulting Numbers: [6, 9] Generated Node #3: [6, 9] from Operation: 36-27=9 Current State: 54:[6, 9], Operations: ['73-46=27', '36-27=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[46, 73, 6, 36], Operations: [] Exploring Operation: 73-36=37, Resulting Numbers: [46, 6, 37] Generated Node #0,0: 54:[46, 6, 37] Operation: 73-36=37 Exploring Operation: 73-46=27, Resulting Numbers: [6, 36, 27] Generated Node #0,1: 54:[6, 36, 27] Operation: 73-46=27 Exploring Operation: 46+6=52, Resulting Numbers: [73, 36, 52] Generated Node #0,2: 54:[73, 36, 52] Operation: 46+6=52 Exploring Operation: 36/6=6, Resulting Numbers: [46, 73, 6] Generated Node #0,3: 54:[46, 73, 6] Operation: 36/6=6 Exploring Operation: 46-36=10, Resulting Numbers: [73, 6, 10] Generated Node #0,4: 54:[73, 6, 10] Operation: 46-36=10 Moving to Node #0,1 Current State: 54:[6, 36, 27], Operations: ['73-46=27'] Exploring Operation: 36-27=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 54:[6, 9] Operation: 36-27=9 Exploring Operation: 6+36=42, Resulting Numbers: [27, 42] Generated Node #0,1,1: 54:[27, 42] Operation: 6+36=42 Exploring Operation: 36+27=63, Resulting Numbers: [6, 63] Generated Node #0,1,2: 54:[6, 63] Operation: 36+27=63 Exploring Operation: 36-6=30, Resulting Numbers: [27, 30] Generated Node #0,1,3: 54:[27, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [27, 6] Generated Node #0,1,4: 54:[27, 6] Operation: 36/6=6 Moving to Node #0,0 Current State: 54:[46, 6, 37], Operations: ['73-36=37'] Exploring Operation: 46-37=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 54:[6, 9] Operation: 46-37=9 Exploring Operation: 6+37=43, Resulting Numbers: [46, 43] Generated Node #0,0,1: 54:[46, 43] Operation: 6+37=43 Exploring Operation: 46+6=52, Resulting Numbers: [37, 52] Generated Node #0,0,2: 54:[37, 52] Operation: 46+6=52 Exploring Operation: 37-6=31, Resulting Numbers: [46, 31] Generated Node #0,0,3: 54:[46, 31] Operation: 37-6=31 Exploring Operation: 46-6=40, Resulting Numbers: [37, 40] Generated Node #0,0,4: 54:[37, 40] Operation: 46-6=40 Moving to Node #0,4 Current State: 54:[73, 6, 10], Operations: ['46-36=10'] Exploring Operation: 10-6=4, Resulting Numbers: [73, 4] Generated Node #0,4,0: 54:[73, 4] Operation: 10-6=4 Exploring Operation: 6*10=60, Resulting Numbers: [73, 60] Generated Node #0,4,1: 54:[73, 60] Operation: 6*10=60 Exploring Operation: 73-6=67, Resulting Numbers: [10, 67] Generated Node #0,4,2: 54:[10, 67] Operation: 73-6=67 Exploring Operation: 73-10=63, Resulting Numbers: [6, 63] Generated Node #0,4,3: 54:[6, 63] Operation: 73-10=63 Exploring Operation: 6+10=16, Resulting Numbers: [73, 16] Generated Node #0,4,4: 54:[73, 16] Operation: 6+10=16 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 54:[6, 63], Operations: ['46-36=10', '73-10=63'] Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,54 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 54:[10, 67], Operations: ['46-36=10', '73-6=67'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,54 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 54:[73, 4], Operations: ['46-36=10', '10-6=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,54 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 54:[73, 16], Operations: ['46-36=10', '6+10=16'] Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,54 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 54:[73, 60], Operations: ['46-36=10', '6*10=60'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 73+60=133, Resulting Numbers: [133] 133,54 unequal: No Solution Exploring Operation: 73*60=4380, Resulting Numbers: [4380] 4380,54 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: 54:[46, 73, 6], Operations: ['36/6=6'] Exploring Operation: 46+6=52, Resulting Numbers: [73, 52] Generated Node #0,3,0: 54:[73, 52] Operation: 46+6=52 Exploring Operation: 73-46=27, Resulting Numbers: [6, 27] Generated Node #0,3,1: 54:[6, 27] Operation: 73-46=27 Exploring Operation: 73-6=67, Resulting Numbers: [46, 67] Generated Node #0,3,2: 54:[46, 67] Operation: 73-6=67 Exploring Operation: 73+6=79, Resulting Numbers: [46, 79] Generated Node #0,3,3: 54:[46, 79] Operation: 73+6=79 Exploring Operation: 46-6=40, Resulting Numbers: [73, 40] Generated Node #0,3,4: 54:[73, 40] Operation: 46-6=40 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[6, 27], Operations: ['36/6=6', '73-46=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,54 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[73, 52], Operations: ['36/6=6', '46+6=52'] Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,54 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[46, 67], Operations: ['36/6=6', '73-6=67'] Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,54 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 54:[73, 40], Operations: ['36/6=6', '46-6=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,54 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[46, 79], Operations: ['36/6=6', '73+6=79'] Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,54 unequal: No Solution Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,54 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,54 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: 54:[73, 36, 52], Operations: ['46+6=52'] Exploring Operation: 36+52=88, Resulting Numbers: [73, 88] Generated Node #0,2,0: 54:[73, 88] Operation: 36+52=88 Exploring Operation: 73-36=37, Resulting Numbers: [52, 37] Generated Node #0,2,1: 54:[52, 37] Operation: 73-36=37 Exploring Operation: 73+36=109, Resulting Numbers: [52, 109] Generated Node #0,2,2: 54:[52, 109] Operation: 73+36=109 Exploring Operation: 73-52=21, Resulting Numbers: [36, 21] Generated Node #0,2,3: 54:[36, 21] Operation: 73-52=21 Exploring Operation: 52-36=16, Resulting Numbers: [73, 16] Generated Node #0,2,4: 54:[73, 16] Operation: 52-36=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[52, 37], Operations: ['46+6=52', '73-36=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,54 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[36, 21], Operations: ['46+6=52', '73-52=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,54 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 54:[73, 16], Operations: ['46+6=52', '52-36=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,54 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[73, 88], Operations: ['46+6=52', '36+52=88'] Exploring Operation: 73*88=6424, Resulting Numbers: [6424] 6424,54 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 73+88=161, Resulting Numbers: [161] 161,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[52, 109], Operations: ['46+6=52', '73+36=109'] Exploring Operation: 52*109=5668, Resulting Numbers: [5668] 5668,54 unequal: No Solution Exploring Operation: 52+109=161, Resulting Numbers: [161] 161,54 unequal: No Solution Exploring Operation: 109-52=57, Resulting Numbers: [57] 57,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 54:[6, 9], Operations: ['73-46=27', '36-27=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[46, 73, 6, 36], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [6, 36, 27] Generated Node #0,1: 54:[6, 36, 27] Operation: 73-46=27 Moving to Node #0,1 Current State: 54:[6, 36, 27], Operations: ['73-46=27'] Exploring Operation: 36-27=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 54:[6, 9] Operation: 36-27=9 Moving to Node #0,1,0 Current State: 54:[6, 9], Operations: ['73-46=27', '36-27=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.929688
hs_5
mult_heuristic
[ 11, 82, 6, 29 ]
63
[ "11-6=5", "29*5=145", "145-82=63" ]
Current State: 63:[11, 82, 6, 29], Operations: [] Exploring Operation: 11-6=5, Resulting Numbers: [82, 29, 5] Generated Node #2: [82, 29, 5] from Operation: 11-6=5 Current State: 63:[82, 29, 5], Operations: ['11-6=5'] Exploring Operation: 29*5=145, Resulting Numbers: [82, 145] Generated Node #3: [82, 145] from Operation: 29*5=145 Current State: 63:[82, 145], Operations: ['11-6=5', '29*5=145'] Exploring Operation: 145-82=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[11, 82, 6, 29], Operations: [] Exploring Operation: 29-11=18, Resulting Numbers: [82, 6, 18] Generated Node #0,0: 63:[82, 6, 18] Operation: 29-11=18 Exploring Operation: 82-6=76, Resulting Numbers: [11, 29, 76] Generated Node #0,1: 63:[11, 29, 76] Operation: 82-6=76 Exploring Operation: 82-29=53, Resulting Numbers: [11, 6, 53] Generated Node #0,2: 63:[11, 6, 53] Operation: 82-29=53 Exploring Operation: 82-11=71, Resulting Numbers: [6, 29, 71] Generated Node #0,3: 63:[6, 29, 71] Operation: 82-11=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[11, 6, 53], Operations: ['82-29=53'] Exploring Operation: 11-6=5, Resulting Numbers: [53, 5] Generated Node #0,2,0: 63:[53, 5] Operation: 11-6=5 Exploring Operation: 11*6=66, Resulting Numbers: [53, 66] Generated Node #0,2,1: 63:[53, 66] Operation: 11*6=66 Exploring Operation: 6+53=59, Resulting Numbers: [11, 59] Generated Node #0,2,2: 63:[11, 59] Operation: 6+53=59 Exploring Operation: 11+53=64, Resulting Numbers: [6, 64] Generated Node #0,2,3: 63:[6, 64] Operation: 11+53=64 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 63:[6, 64], Operations: ['82-29=53', '11+53=64'] Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,63 unequal: No Solution No 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: 63:[11, 59], Operations: ['82-29=53', '6+53=59'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,63 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,63 unequal: No Solution No 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: 63:[53, 5], Operations: ['82-29=53', '11-6=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,63 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,63 unequal: No Solution No 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: 63:[53, 66], Operations: ['82-29=53', '11*6=66'] Exploring Operation: 53+66=119, Resulting Numbers: [119] 119,63 unequal: No Solution Exploring Operation: 53*66=3498, Resulting Numbers: [3498] 3498,63 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,63 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: 63:[6, 29, 71], Operations: ['82-11=71'] Exploring Operation: 29-6=23, Resulting Numbers: [71, 23] Generated Node #0,3,0: 63:[71, 23] Operation: 29-6=23 Exploring Operation: 71-6=65, Resulting Numbers: [29, 65] Generated Node #0,3,1: 63:[29, 65] Operation: 71-6=65 Exploring Operation: 6+29=35, Resulting Numbers: [71, 35] Generated Node #0,3,2: 63:[71, 35] Operation: 6+29=35 Exploring Operation: 6+71=77, Resulting Numbers: [29, 77] Generated Node #0,3,3: 63:[29, 77] Operation: 6+71=77 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 63:[71, 23], Operations: ['82-11=71', '29-6=23'] Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,63 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,63 unequal: No Solution No 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: 63:[29, 65], Operations: ['82-11=71', '71-6=65'] Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,63 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,63 unequal: No Solution No 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: 63:[71, 35], Operations: ['82-11=71', '6+29=35'] Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,63 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,63 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,63 unequal: No Solution No 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: 63:[29, 77], Operations: ['82-11=71', '6+71=77'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 29+77=106, Resulting Numbers: [106] 106,63 unequal: No Solution Exploring Operation: 29*77=2233, Resulting Numbers: [2233] 2233,63 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: 63:[82, 6, 18], Operations: ['29-11=18'] Exploring Operation: 18/6=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 63:[82, 3] Operation: 18/6=3 Exploring Operation: 82-6=76, Resulting Numbers: [18, 76] Generated Node #0,0,1: 63:[18, 76] Operation: 82-6=76 Exploring Operation: 82-18=64, Resulting Numbers: [6, 64] Generated Node #0,0,2: 63:[6, 64] Operation: 82-18=64 Exploring Operation: 6+18=24, Resulting Numbers: [82, 24] Generated Node #0,0,3: 63:[82, 24] Operation: 6+18=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[6, 64], Operations: ['29-11=18', '82-18=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,63 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,63 unequal: No Solution No 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: 63:[18, 76], Operations: ['29-11=18', '82-6=76'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,63 unequal: No Solution Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,63 unequal: No Solution No 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: 63:[82, 3], Operations: ['29-11=18', '18/6=3'] Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,63 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,63 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,63 unequal: No Solution No 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: 63:[82, 24], Operations: ['29-11=18', '6+18=24'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 82*24=1968, Resulting Numbers: [1968] 1968,63 unequal: No Solution Exploring Operation: 82+24=106, Resulting Numbers: [106] 106,63 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: 63:[11, 29, 76], Operations: ['82-6=76'] Exploring Operation: 76-29=47, Resulting Numbers: [11, 47] Generated Node #0,1,0: 63:[11, 47] Operation: 76-29=47 Exploring Operation: 29-11=18, Resulting Numbers: [76, 18] Generated Node #0,1,1: 63:[76, 18] Operation: 29-11=18 Exploring Operation: 11+29=40, Resulting Numbers: [76, 40] Generated Node #0,1,2: 63:[76, 40] Operation: 11+29=40 Exploring Operation: 76-11=65, Resulting Numbers: [29, 65] Generated Node #0,1,3: 63:[29, 65] Operation: 76-11=65 Moving to Node #0,1,3 Current State: 63:[29, 65], Operations: ['82-6=76', '76-11=65'] Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[76, 18], Operations: ['82-6=76', '29-11=18'] Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,63 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[11, 47], Operations: ['82-6=76', '76-29=47'] Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[76, 40], Operations: ['82-6=76', '11+29=40'] Exploring Operation: 76*40=3040, Resulting Numbers: [3040] 3040,63 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 76+40=116, Resulting Numbers: [116] 116,63 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
[ 3, 39, 54, 93 ]
72
[ "54/3=18", "93-39=54", "18+54=72" ]
Current State: 72:[3, 39, 54, 93], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [39, 93, 18] Generated Node #2: [39, 93, 18] from Operation: 54/3=18 Current State: 72:[39, 93, 18], Operations: ['54/3=18'] Exploring Operation: 93-39=54, Resulting Numbers: [18, 54] Generated Node #3: [18, 54] from Operation: 93-39=54 Current State: 72:[18, 54], Operations: ['54/3=18', '93-39=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[3, 39, 54, 93], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [39, 93, 18] Generated Node #0,0: 72:[39, 93, 18] Operation: 54/3=18 Exploring Operation: 93/3=31, Resulting Numbers: [39, 54, 31] Generated Node #0,1: 72:[39, 54, 31] Operation: 93/3=31 Exploring Operation: 93-54=39, Resulting Numbers: [3, 39, 39] Generated Node #0,2: 72:[3, 39, 39] Operation: 93-54=39 Exploring Operation: 54-39=15, Resulting Numbers: [3, 93, 15] Generated Node #0,3: 72:[3, 93, 15] Operation: 54-39=15 Moving to Node #0,2 Current State: 72:[3, 39, 39], Operations: ['93-54=39'] Exploring Operation: 39-39=0, Resulting Numbers: [3, 0] Generated Node #0,2,0: 72:[3, 0] Operation: 39-39=0 Exploring Operation: 39/39=1, Resulting Numbers: [3, 1] Generated Node #0,2,1: 72:[3, 1] Operation: 39/39=1 Exploring Operation: 39-3=36, Resulting Numbers: [39, 36] Generated Node #0,2,2: 72:[39, 36] Operation: 39-3=36 Exploring Operation: 39-3=36, Resulting Numbers: [39, 36] Generated Node #0,2,3: 72:[39, 36] Operation: 39-3=36 Moving to Node #0,3 Current State: 72:[3, 93, 15], Operations: ['54-39=15'] Exploring Operation: 3+15=18, Resulting Numbers: [93, 18] Generated Node #0,3,0: 72:[93, 18] Operation: 3+15=18 Exploring Operation: 93-3=90, Resulting Numbers: [15, 90] Generated Node #0,3,1: 72:[15, 90] Operation: 93-3=90 Exploring Operation: 93/3=31, Resulting Numbers: [15, 31] Generated Node #0,3,2: 72:[15, 31] Operation: 93/3=31 Exploring Operation: 93-15=78, Resulting Numbers: [3, 78] Generated Node #0,3,3: 72:[3, 78] Operation: 93-15=78 Moving to Node #0,0 Current State: 72:[39, 93, 18], Operations: ['54/3=18'] Exploring Operation: 93-39=54, Resulting Numbers: [18, 54] Generated Node #0,0,0: 72:[18, 54] Operation: 93-39=54 Exploring Operation: 39-18=21, Resulting Numbers: [93, 21] Generated Node #0,0,1: 72:[93, 21] Operation: 39-18=21 Exploring Operation: 39+18=57, Resulting Numbers: [93, 57] Generated Node #0,0,2: 72:[93, 57] Operation: 39+18=57 Exploring Operation: 93-18=75, Resulting Numbers: [39, 75] Generated Node #0,0,3: 72:[39, 75] Operation: 93-18=75 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[39, 75], Operations: ['54/3=18', '93-18=75'] Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,72 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[18, 54], Operations: ['54/3=18', '93-39=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[3, 39, 54, 93], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [39, 93, 18] Generated Node #0,0: 72:[39, 93, 18] Operation: 54/3=18 Moving to Node #0,0 Current State: 72:[39, 93, 18], Operations: ['54/3=18'] Exploring Operation: 93-39=54, Resulting Numbers: [18, 54] Generated Node #0,0,0: 72:[18, 54] Operation: 93-39=54 Moving to Node #0,0,0 Current State: 72:[18, 54], Operations: ['54/3=18', '93-39=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 75, 22, 55, 31 ]
57
[ "75-31=44", "44/22=2", "55+2=57" ]
Current State: 57:[75, 22, 55, 31], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [22, 55, 44] Generated Node #2: [22, 55, 44] from Operation: 75-31=44 Current State: 57:[22, 55, 44], Operations: ['75-31=44'] Exploring Operation: 44/22=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 44/22=2 Current State: 57:[55, 2], Operations: ['75-31=44', '44/22=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[75, 22, 55, 31], Operations: [] Exploring Operation: 22+31=53, Resulting Numbers: [75, 55, 53] Generated Node #0,0: 57:[75, 55, 53] Operation: 22+31=53 Exploring Operation: 75-31=44, Resulting Numbers: [22, 55, 44] Generated Node #0,1: 57:[22, 55, 44] Operation: 75-31=44 Exploring Operation: 75-55=20, Resulting Numbers: [22, 31, 20] Generated Node #0,2: 57:[22, 31, 20] Operation: 75-55=20 Exploring Operation: 31-22=9, Resulting Numbers: [75, 55, 9] Generated Node #0,3: 57:[75, 55, 9] Operation: 31-22=9 Exploring Operation: 75-22=53, Resulting Numbers: [55, 31, 53] Generated Node #0,4: 57:[55, 31, 53] Operation: 75-22=53 Moving to Node #0,2 Current State: 57:[22, 31, 20], Operations: ['75-55=20'] Exploring Operation: 31-22=9, Resulting Numbers: [20, 9] Generated Node #0,2,0: 57:[20, 9] Operation: 31-22=9 Exploring Operation: 22-20=2, Resulting Numbers: [31, 2] Generated Node #0,2,1: 57:[31, 2] Operation: 22-20=2 Exploring Operation: 22+31=53, Resulting Numbers: [20, 53] Generated Node #0,2,2: 57:[20, 53] Operation: 22+31=53 Exploring Operation: 31-20=11, Resulting Numbers: [22, 11] Generated Node #0,2,3: 57:[22, 11] Operation: 31-20=11 Exploring Operation: 31+20=51, Resulting Numbers: [22, 51] Generated Node #0,2,4: 57:[22, 51] Operation: 31+20=51 Moving to Node #0,4 Current State: 57:[55, 31, 53], Operations: ['75-22=53'] Exploring Operation: 55+31=86, Resulting Numbers: [53, 86] Generated Node #0,4,0: 57:[53, 86] Operation: 55+31=86 Exploring Operation: 55-31=24, Resulting Numbers: [53, 24] Generated Node #0,4,1: 57:[53, 24] Operation: 55-31=24 Exploring Operation: 53-31=22, Resulting Numbers: [55, 22] Generated Node #0,4,2: 57:[55, 22] Operation: 53-31=22 Exploring Operation: 31+53=84, Resulting Numbers: [55, 84] Generated Node #0,4,3: 57:[55, 84] Operation: 31+53=84 Exploring Operation: 55-53=2, Resulting Numbers: [31, 2] Generated Node #0,4,4: 57:[31, 2] Operation: 55-53=2 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 57:[55, 22], Operations: ['75-22=53', '53-31=22'] Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,57 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,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,4,1 Current State: 57:[53, 24], Operations: ['75-22=53', '55-31=24'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,57 unequal: No Solution Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,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,4,4 Current State: 57:[31, 2], Operations: ['75-22=53', '55-53=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,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,4,3 Current State: 57:[55, 84], Operations: ['75-22=53', '31+53=84'] Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,57 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,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,4,0 Current State: 57:[53, 86], Operations: ['75-22=53', '55+31=86'] Exploring Operation: 53+86=139, Resulting Numbers: [139] 139,57 unequal: No Solution Exploring Operation: 53*86=4558, Resulting Numbers: [4558] 4558,57 unequal: No Solution Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,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:[22, 55, 44], Operations: ['75-31=44'] Exploring Operation: 55-22=33, Resulting Numbers: [44, 33] Generated Node #0,1,0: 57:[44, 33] Operation: 55-22=33 Exploring Operation: 22+44=66, Resulting Numbers: [55, 66] Generated Node #0,1,1: 57:[55, 66] Operation: 22+44=66 Exploring Operation: 55-44=11, Resulting Numbers: [22, 11] Generated Node #0,1,2: 57:[22, 11] Operation: 55-44=11 Exploring Operation: 44/22=2, Resulting Numbers: [55, 2] Generated Node #0,1,3: 57:[55, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [55, 22] Generated Node #0,1,4: 57:[55, 22] Operation: 44-22=22 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[55, 2], Operations: ['75-31=44', '44/22=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[75, 22, 55, 31], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [22, 55, 44] Generated Node #0,1: 57:[22, 55, 44] Operation: 75-31=44 Moving to Node #0,1 Current State: 57:[22, 55, 44], Operations: ['75-31=44'] Exploring Operation: 44/22=2, Resulting Numbers: [55, 2] Generated Node #0,1,3: 57:[55, 2] Operation: 44/22=2 Moving to Node #0,1,3 Current State: 57:[55, 2], Operations: ['75-31=44', '44/22=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 30, 70, 35, 76 ]
23
[ "76-30=46", "70/35=2", "46/2=23" ]
Current State: 23:[30, 70, 35, 76], Operations: [] Exploring Operation: 76-30=46, Resulting Numbers: [70, 35, 46] Generated Node #2: [70, 35, 46] from Operation: 76-30=46 Current State: 23:[70, 35, 46], Operations: ['76-30=46'] Exploring Operation: 70/35=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 70/35=2 Current State: 23:[46, 2], Operations: ['76-30=46', '70/35=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[30, 70, 35, 76], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [30, 35, 6] Generated Node #0,0: 23:[30, 35, 6] Operation: 76-70=6 Exploring Operation: 70-35=35, Resulting Numbers: [30, 76, 35] Generated Node #0,1: 23:[30, 76, 35] Operation: 70-35=35 Exploring Operation: 76-35=41, Resulting Numbers: [30, 70, 41] Generated Node #0,2: 23:[30, 70, 41] Operation: 76-35=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[30, 35, 6], Operations: ['76-70=6'] Exploring Operation: 30-6=24, Resulting Numbers: [35, 24] Generated Node #0,0,0: 23:[35, 24] Operation: 30-6=24 Exploring Operation: 30+6=36, Resulting Numbers: [35, 36] Generated Node #0,0,1: 23:[35, 36] Operation: 30+6=36 Exploring Operation: 35-6=29, Resulting Numbers: [30, 29] Generated Node #0,0,2: 23:[30, 29] Operation: 35-6=29 Moving to Node #0,0,0 Current State: 23:[35, 24], Operations: ['76-70=6', '30-6=24'] Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,23 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[30, 29], Operations: ['76-70=6', '35-6=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[35, 36], Operations: ['76-70=6', '30+6=36'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,23 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,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 Current State: 23:[30, 76, 35], Operations: ['70-35=35'] Exploring Operation: 76-35=41, Resulting Numbers: [30, 41] Generated Node #0,1,0: 23:[30, 41] Operation: 76-35=41 Exploring Operation: 76-30=46, Resulting Numbers: [35, 46] Generated Node #0,1,1: 23:[35, 46] Operation: 76-30=46 Exploring Operation: 35-30=5, Resulting Numbers: [76, 5] Generated Node #0,1,2: 23:[76, 5] Operation: 35-30=5 Moving to Node #0,1,0 Current State: 23:[30, 41], Operations: ['70-35=35', '76-35=41'] Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,23 unequal: No Solution Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[35, 46], Operations: ['70-35=35', '76-30=46'] Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,23 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[76, 5], Operations: ['70-35=35', '35-30=5'] Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,23 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,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 Current State: 23:[30, 70, 41], Operations: ['76-35=41'] Exploring Operation: 41-30=11, Resulting Numbers: [70, 11] Generated Node #0,2,0: 23:[70, 11] Operation: 41-30=11 Exploring Operation: 70-30=40, Resulting Numbers: [41, 40] Generated Node #0,2,1: 23:[41, 40] Operation: 70-30=40 Exploring Operation: 70-41=29, Resulting Numbers: [30, 29] Generated Node #0,2,2: 23:[30, 29] Operation: 70-41=29 Moving to Node #0,2,2 Current State: 23:[30, 29], Operations: ['76-35=41', '70-41=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,23 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[41, 40], Operations: ['76-35=41', '70-30=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,23 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[70, 11], Operations: ['76-35=41', '41-30=11'] Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,23 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,23 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,23 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
[ 89, 12, 21, 14 ]
71
[ "12*21=252", "252/14=18", "89-18=71" ]
Current State: 71:[89, 12, 21, 14], Operations: [] Exploring Operation: 12*21=252, Resulting Numbers: [89, 14, 252] Generated Node #2: [89, 14, 252] from Operation: 12*21=252 Current State: 71:[89, 14, 252], Operations: ['12*21=252'] Exploring Operation: 252/14=18, Resulting Numbers: [89, 18] Generated Node #3: [89, 18] from Operation: 252/14=18 Current State: 71:[89, 18], Operations: ['12*21=252', '252/14=18'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[89, 12, 21, 14], Operations: [] Exploring Operation: 21+14=35, Resulting Numbers: [89, 12, 35] Generated Node #0,0: 71:[89, 12, 35] Operation: 21+14=35 Exploring Operation: 89-14=75, Resulting Numbers: [12, 21, 75] Generated Node #0,1: 71:[12, 21, 75] Operation: 89-14=75 Exploring Operation: 12+14=26, Resulting Numbers: [89, 21, 26] Generated Node #0,2: 71:[89, 21, 26] Operation: 12+14=26 Exploring Operation: 12+21=33, Resulting Numbers: [89, 14, 33] Generated Node #0,3: 71:[89, 14, 33] Operation: 12+21=33 Exploring Operation: 89-12=77, Resulting Numbers: [21, 14, 77] Generated Node #0,4: 71:[21, 14, 77] Operation: 89-12=77 Moving to Node #0,0 Current State: 71:[89, 12, 35], Operations: ['21+14=35'] Exploring Operation: 12+35=47, Resulting Numbers: [89, 47] Generated Node #0,0,0: 71:[89, 47] Operation: 12+35=47 Exploring Operation: 89-35=54, Resulting Numbers: [12, 54] Generated Node #0,0,1: 71:[12, 54] Operation: 89-35=54 Exploring Operation: 35-12=23, Resulting Numbers: [89, 23] Generated Node #0,0,2: 71:[89, 23] Operation: 35-12=23 Exploring Operation: 89-12=77, Resulting Numbers: [35, 77] Generated Node #0,0,3: 71:[35, 77] Operation: 89-12=77 Exploring Operation: 89+12=101, Resulting Numbers: [35, 101] Generated Node #0,0,4: 71:[35, 101] Operation: 89+12=101 Moving to Node #0,2 Current State: 71:[89, 21, 26], Operations: ['12+14=26'] Exploring Operation: 89-26=63, Resulting Numbers: [21, 63] Generated Node #0,2,0: 71:[21, 63] Operation: 89-26=63 Exploring Operation: 26-21=5, Resulting Numbers: [89, 5] Generated Node #0,2,1: 71:[89, 5] Operation: 26-21=5 Exploring Operation: 89+21=110, Resulting Numbers: [26, 110] Generated Node #0,2,2: 71:[26, 110] Operation: 89+21=110 Exploring Operation: 21+26=47, Resulting Numbers: [89, 47] Generated Node #0,2,3: 71:[89, 47] Operation: 21+26=47 Exploring Operation: 89-21=68, Resulting Numbers: [26, 68] Generated Node #0,2,4: 71:[26, 68] Operation: 89-21=68 Moving to Node #0,4 Current State: 71:[21, 14, 77], Operations: ['89-12=77'] Exploring Operation: 14+77=91, Resulting Numbers: [21, 91] Generated Node #0,4,0: 71:[21, 91] Operation: 14+77=91 Exploring Operation: 77-21=56, Resulting Numbers: [14, 56] Generated Node #0,4,1: 71:[14, 56] Operation: 77-21=56 Exploring Operation: 77-14=63, Resulting Numbers: [21, 63] Generated Node #0,4,2: 71:[21, 63] Operation: 77-14=63 Exploring Operation: 21-14=7, Resulting Numbers: [77, 7] Generated Node #0,4,3: 71:[77, 7] Operation: 21-14=7 Exploring Operation: 21+14=35, Resulting Numbers: [77, 35] Generated Node #0,4,4: 71:[77, 35] Operation: 21+14=35 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 71:[77, 35], Operations: ['89-12=77', '21+14=35'] Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,71 unequal: No Solution Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 71:[21, 63], Operations: ['89-12=77', '77-14=63'] Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,71 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[21, 91], Operations: ['89-12=77', '14+77=91'] Exploring Operation: 21+91=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 21*91=1911, Resulting Numbers: [1911] 1911,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[77, 7], Operations: ['89-12=77', '21-14=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,71 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 71:[14, 56], Operations: ['89-12=77', '77-21=56'] Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,71 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,71 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: 71:[12, 21, 75], Operations: ['89-14=75'] Exploring Operation: 21-12=9, Resulting Numbers: [75, 9] Generated Node #0,1,0: 71:[75, 9] Operation: 21-12=9 Exploring Operation: 75-12=63, Resulting Numbers: [21, 63] Generated Node #0,1,1: 71:[21, 63] Operation: 75-12=63 Exploring Operation: 12+21=33, Resulting Numbers: [75, 33] Generated Node #0,1,2: 71:[75, 33] Operation: 12+21=33 Exploring Operation: 12+75=87, Resulting Numbers: [21, 87] Generated Node #0,1,3: 71:[21, 87] Operation: 12+75=87 Exploring Operation: 75-21=54, Resulting Numbers: [12, 54] Generated Node #0,1,4: 71:[12, 54] Operation: 75-21=54 Moving to Node #0,3 Current State: 71:[89, 14, 33], Operations: ['12+21=33'] Exploring Operation: 89-14=75, Resulting Numbers: [33, 75] Generated Node #0,3,0: 71:[33, 75] Operation: 89-14=75 Exploring Operation: 14+33=47, Resulting Numbers: [89, 47] Generated Node #0,3,1: 71:[89, 47] Operation: 14+33=47 Exploring Operation: 89-33=56, Resulting Numbers: [14, 56] Generated Node #0,3,2: 71:[14, 56] Operation: 89-33=56 Exploring Operation: 33-14=19, Resulting Numbers: [89, 19] Generated Node #0,3,3: 71:[89, 19] Operation: 33-14=19 Exploring Operation: 89+14=103, Resulting Numbers: [33, 103] Generated Node #0,3,4: 71:[33, 103] Operation: 89+14=103 Moving to Node #0,0,0 Current State: 71:[89, 47], Operations: ['21+14=35', '12+35=47'] Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,71 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[89, 47], Operations: ['12+14=26', '21+26=47'] Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,71 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[35, 77], Operations: ['21+14=35', '89-12=77'] Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,71 unequal: No Solution Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[75, 33], Operations: ['89-14=75', '12+21=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[33, 75], Operations: ['12+21=33', '89-14=75'] Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,71 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[89, 47], Operations: ['12+21=33', '14+33=47'] Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,71 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[26, 68], Operations: ['12+14=26', '89-21=68'] Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[21, 63], Operations: ['89-14=75', '75-12=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,71 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[21, 63], Operations: ['12+14=26', '89-26=63'] Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,71 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[21, 87], Operations: ['89-14=75', '12+75=87'] Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,71 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[75, 9], Operations: ['89-14=75', '21-12=9'] Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,71 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[89, 23], Operations: ['21+14=35', '35-12=23'] Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[35, 101], Operations: ['21+14=35', '89+12=101'] Exploring Operation: 35*101=3535, Resulting Numbers: [3535] 3535,71 unequal: No Solution Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[33, 103], Operations: ['12+21=33', '89+14=103'] Exploring Operation: 33+103=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 103-33=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 33*103=3399, Resulting Numbers: [3399] 3399,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[89, 19], Operations: ['12+21=33', '33-14=19'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 89*19=1691, Resulting Numbers: [1691] 1691,71 unequal: No Solution Exploring Operation: 89+19=108, Resulting Numbers: [108] 108,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[14, 56], Operations: ['12+21=33', '89-33=56'] Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,71 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[12, 54], Operations: ['21+14=35', '89-35=54'] Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,71 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[12, 54], Operations: ['89-14=75', '75-21=54'] Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,71 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[89, 5], Operations: ['12+14=26', '26-21=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[26, 110], Operations: ['12+14=26', '89+21=110'] Exploring Operation: 110-26=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 26+110=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 26*110=2860, Resulting Numbers: [2860] 2860,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 82, 62, 36 ]
75
[ "82-59=23", "62+36=98", "98-23=75" ]
Current State: 75:[59, 82, 62, 36], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [62, 36, 23] Generated Node #2: [62, 36, 23] from Operation: 82-59=23 Current State: 75:[62, 36, 23], Operations: ['82-59=23'] Exploring Operation: 62+36=98, Resulting Numbers: [23, 98] Generated Node #3: [23, 98] from Operation: 62+36=98 Current State: 75:[23, 98], Operations: ['82-59=23', '62+36=98'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[59, 82, 62, 36], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [82, 36, 3] Generated Node #0,0: 75:[82, 36, 3] Operation: 62-59=3 Exploring Operation: 59-36=23, Resulting Numbers: [82, 62, 23] Generated Node #0,1: 75:[82, 62, 23] Operation: 59-36=23 Exploring Operation: 62-36=26, Resulting Numbers: [59, 82, 26] Generated Node #0,2: 75:[59, 82, 26] Operation: 62-36=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[82, 36, 3], Operations: ['62-59=3'] Exploring Operation: 36/3=12, Resulting Numbers: [82, 12] Generated Node #0,0,0: 75:[82, 12] Operation: 36/3=12 Exploring Operation: 82-3=79, Resulting Numbers: [36, 79] Generated Node #0,0,1: 75:[36, 79] Operation: 82-3=79 Exploring Operation: 36-3=33, Resulting Numbers: [82, 33] Generated Node #0,0,2: 75:[82, 33] Operation: 36-3=33 Moving to Node #0,0,0 Current State: 75:[82, 12], Operations: ['62-59=3', '36/3=12'] Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,75 unequal: No Solution Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 82*12=984, Resulting Numbers: [984] 984,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[36, 79], Operations: ['62-59=3', '82-3=79'] Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[82, 33], Operations: ['62-59=3', '36-3=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,75 unequal: No Solution No 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: 75:[82, 62, 23], Operations: ['59-36=23'] Exploring Operation: 62+23=85, Resulting Numbers: [82, 85] Generated Node #0,1,0: 75:[82, 85] Operation: 62+23=85 Exploring Operation: 62-23=39, Resulting Numbers: [82, 39] Generated Node #0,1,1: 75:[82, 39] Operation: 62-23=39 Exploring Operation: 82-62=20, Resulting Numbers: [23, 20] Generated Node #0,1,2: 75:[23, 20] Operation: 82-62=20 Moving to Node #0,1,2 Current State: 75:[23, 20], Operations: ['59-36=23', '82-62=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[82, 85], Operations: ['59-36=23', '62+23=85'] Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,75 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[82, 39], Operations: ['59-36=23', '62-23=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 82*39=3198, Resulting Numbers: [3198] 3198,75 unequal: No Solution Exploring Operation: 82+39=121, Resulting Numbers: [121] 121,75 unequal: No Solution No 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: 75:[59, 82, 26], Operations: ['62-36=26'] Exploring Operation: 59-26=33, Resulting Numbers: [82, 33] Generated Node #0,2,0: 75:[82, 33] Operation: 59-26=33 Exploring Operation: 82-59=23, Resulting Numbers: [26, 23] Generated Node #0,2,1: 75:[26, 23] Operation: 82-59=23 Exploring Operation: 59+26=85, Resulting Numbers: [82, 85] Generated Node #0,2,2: 75:[82, 85] Operation: 59+26=85 Moving to Node #0,2,1 Current State: 75:[26, 23], Operations: ['62-36=26', '82-59=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[82, 33], Operations: ['62-36=26', '59-26=33'] Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,75 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[82, 85], Operations: ['62-36=26', '59+26=85'] Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,75 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,75 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,75 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
[ 21, 29, 82, 39 ]
35
[ "29-21=8", "82-39=43", "43-8=35" ]
Current State: 35:[21, 29, 82, 39], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [82, 39, 8] Generated Node #2: [82, 39, 8] from Operation: 29-21=8 Current State: 35:[82, 39, 8], Operations: ['29-21=8'] Exploring Operation: 82-39=43, Resulting Numbers: [8, 43] Generated Node #3: [8, 43] from Operation: 82-39=43 Current State: 35:[8, 43], Operations: ['29-21=8', '82-39=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[21, 29, 82, 39], Operations: [] Exploring Operation: 39-21=18, Resulting Numbers: [29, 82, 18] Generated Node #0,0: 35:[29, 82, 18] Operation: 39-21=18 Exploring Operation: 82-39=43, Resulting Numbers: [21, 29, 43] Generated Node #0,1: 35:[21, 29, 43] Operation: 82-39=43 Exploring Operation: 29-21=8, Resulting Numbers: [82, 39, 8] Generated Node #0,2: 35:[82, 39, 8] Operation: 29-21=8 Exploring Operation: 82-29=53, Resulting Numbers: [21, 39, 53] Generated Node #0,3: 35:[21, 39, 53] Operation: 82-29=53 Exploring Operation: 82-21=61, Resulting Numbers: [29, 39, 61] Generated Node #0,4: 35:[29, 39, 61] Operation: 82-21=61 Moving to Node #0,1 Current State: 35:[21, 29, 43], Operations: ['82-39=43'] Exploring Operation: 21+29=50, Resulting Numbers: [43, 50] Generated Node #0,1,0: 35:[43, 50] Operation: 21+29=50 Exploring Operation: 43-29=14, Resulting Numbers: [21, 14] Generated Node #0,1,1: 35:[21, 14] Operation: 43-29=14 Exploring Operation: 21+43=64, Resulting Numbers: [29, 64] Generated Node #0,1,2: 35:[29, 64] Operation: 21+43=64 Exploring Operation: 29-21=8, Resulting Numbers: [43, 8] Generated Node #0,1,3: 35:[43, 8] Operation: 29-21=8 Exploring Operation: 43-21=22, Resulting Numbers: [29, 22] Generated Node #0,1,4: 35:[29, 22] Operation: 43-21=22 Moving to Node #0,4 Current State: 35:[29, 39, 61], Operations: ['82-21=61'] Exploring Operation: 29+39=68, Resulting Numbers: [61, 68] Generated Node #0,4,0: 35:[61, 68] Operation: 29+39=68 Exploring Operation: 39-29=10, Resulting Numbers: [61, 10] Generated Node #0,4,1: 35:[61, 10] Operation: 39-29=10 Exploring Operation: 61-39=22, Resulting Numbers: [29, 22] Generated Node #0,4,2: 35:[29, 22] Operation: 61-39=22 Exploring Operation: 61-29=32, Resulting Numbers: [39, 32] Generated Node #0,4,3: 35:[39, 32] Operation: 61-29=32 Exploring Operation: 29+61=90, Resulting Numbers: [39, 90] Generated Node #0,4,4: 35:[39, 90] Operation: 29+61=90 Moving to Node #0,3 Current State: 35:[21, 39, 53], Operations: ['82-29=53'] Exploring Operation: 21+39=60, Resulting Numbers: [53, 60] Generated Node #0,3,0: 35:[53, 60] Operation: 21+39=60 Exploring Operation: 21+53=74, Resulting Numbers: [39, 74] Generated Node #0,3,1: 35:[39, 74] Operation: 21+53=74 Exploring Operation: 53-21=32, Resulting Numbers: [39, 32] Generated Node #0,3,2: 35:[39, 32] Operation: 53-21=32 Exploring Operation: 39-21=18, Resulting Numbers: [53, 18] Generated Node #0,3,3: 35:[53, 18] Operation: 39-21=18 Exploring Operation: 53-39=14, Resulting Numbers: [21, 14] Generated Node #0,3,4: 35:[21, 14] Operation: 53-39=14 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[39, 32], Operations: ['82-29=53', '53-21=32'] Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,35 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,35 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,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,4 Current State: 35:[21, 14], Operations: ['82-29=53', '53-39=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[21, 29, 82, 39], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [21, 39, 53] Generated Node #0,3: 35:[21, 39, 53] Operation: 82-29=53 Moving to Node #0,3 Current State: 35:[21, 39, 53], Operations: ['82-29=53'] Exploring Operation: 53-39=14, Resulting Numbers: [21, 14] Generated Node #0,3,4: 35:[21, 14] Operation: 53-39=14 Moving to Node #0,3,4 Current State: 35:[21, 14], Operations: ['82-29=53', '53-39=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
sum_heuristic
[ 7, 37, 77, 42 ]
54
[ "77+42=119", "119/7=17", "37+17=54" ]
Current State: 54:[7, 37, 77, 42], Operations: [] Exploring Operation: 77+42=119, Resulting Numbers: [7, 37, 119] Generated Node #2: [7, 37, 119] from Operation: 77+42=119 Current State: 54:[7, 37, 119], Operations: ['77+42=119'] Exploring Operation: 119/7=17, Resulting Numbers: [37, 17] Generated Node #3: [37, 17] from Operation: 119/7=17 Current State: 54:[37, 17], Operations: ['77+42=119', '119/7=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[7, 37, 77, 42], Operations: [] Exploring Operation: 77-42=35, Resulting Numbers: [7, 37, 35] Generated Node #0,0: 54:[7, 37, 35] Operation: 77-42=35 Moving to Node #0,0 Current State: 54:[7, 37, 35], Operations: ['77-42=35'] Exploring Operation: 37-35=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 54:[7, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 54:[7, 2], Operations: ['77-42=35', '37-35=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,54 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 27, 42, 37, 4 ]
97
[ "42-27=15", "4*15=60", "37+60=97" ]
Current State: 97:[27, 42, 37, 4], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [37, 4, 15] Generated Node #2: [37, 4, 15] from Operation: 42-27=15 Current State: 97:[37, 4, 15], Operations: ['42-27=15'] Exploring Operation: 4*15=60, Resulting Numbers: [37, 60] Generated Node #3: [37, 60] from Operation: 4*15=60 Current State: 97:[37, 60], Operations: ['42-27=15', '4*15=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[27, 42, 37, 4], Operations: [] Exploring Operation: 27*4=108, Resulting Numbers: [42, 37, 108] Generated Node #0,0: 97:[42, 37, 108] Operation: 27*4=108 Exploring Operation: 27+42=69, Resulting Numbers: [37, 4, 69] Generated Node #0,1: 97:[37, 4, 69] Operation: 27+42=69 Exploring Operation: 27+37=64, Resulting Numbers: [42, 4, 64] Generated Node #0,2: 97:[42, 4, 64] Operation: 27+37=64 Exploring Operation: 37*4=148, Resulting Numbers: [27, 42, 148] Generated Node #0,3: 97:[27, 42, 148] Operation: 37*4=148 Moving to Node #0,0 Current State: 97:[42, 37, 108], Operations: ['27*4=108'] Exploring Operation: 108-37=71, Resulting Numbers: [42, 71] Generated Node #0,0,0: 97:[42, 71] Operation: 108-37=71 Exploring Operation: 42-37=5, Resulting Numbers: [108, 5] Generated Node #0,0,1: 97:[108, 5] Operation: 42-37=5 Exploring Operation: 42+37=79, Resulting Numbers: [108, 79] Generated Node #0,0,2: 97:[108, 79] Operation: 42+37=79 Exploring Operation: 108-42=66, Resulting Numbers: [37, 66] Generated Node #0,0,3: 97:[37, 66] Operation: 108-42=66 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[108, 79], Operations: ['27*4=108', '42+37=79'] Exploring Operation: 108*79=8532, Resulting Numbers: [8532] 8532,97 unequal: No Solution Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 108+79=187, Resulting Numbers: [187] 187,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:[42, 71], Operations: ['27*4=108', '108-37=71'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,97 unequal: No Solution Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,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:[37, 66], Operations: ['27*4=108', '108-42=66'] Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,97 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,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,1 Current State: 97:[108, 5], Operations: ['27*4=108', '42-37=5'] Exploring Operation: 108+5=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 108-5=103, Resulting Numbers: [103] 103,97 unequal: No Solution Exploring Operation: 108*5=540, Resulting Numbers: [540] 540,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:[27, 42, 148], Operations: ['37*4=148'] Exploring Operation: 148-42=106, Resulting Numbers: [27, 106] Generated Node #0,3,0: 97:[27, 106] Operation: 148-42=106 Exploring Operation: 148-27=121, Resulting Numbers: [42, 121] Generated Node #0,3,1: 97:[42, 121] Operation: 148-27=121 Exploring Operation: 42-27=15, Resulting Numbers: [148, 15] Generated Node #0,3,2: 97:[148, 15] Operation: 42-27=15 Exploring Operation: 27+42=69, Resulting Numbers: [148, 69] Generated Node #0,3,3: 97:[148, 69] Operation: 27+42=69 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[27, 106], Operations: ['37*4=148', '148-42=106'] Exploring Operation: 106-27=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 27+106=133, Resulting Numbers: [133] 133,97 unequal: No Solution Exploring Operation: 27*106=2862, Resulting Numbers: [2862] 2862,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[42, 121], Operations: ['37*4=148', '148-27=121'] Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,97 unequal: No Solution Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[148, 69], Operations: ['37*4=148', '27+42=69'] Exploring Operation: 148+69=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 148-69=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 148*69=10212, Resulting Numbers: [10212] 10212,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[148, 15], Operations: ['37*4=148', '42-27=15'] Exploring Operation: 148*15=2220, Resulting Numbers: [2220] 2220,97 unequal: No Solution Exploring Operation: 148-15=133, Resulting Numbers: [133] 133,97 unequal: No Solution Exploring Operation: 148+15=163, Resulting Numbers: [163] 163,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[42, 4, 64], Operations: ['27+37=64'] Exploring Operation: 4+64=68, Resulting Numbers: [42, 68] Generated Node #0,2,0: 97:[42, 68] Operation: 4+64=68 Exploring Operation: 64-4=60, Resulting Numbers: [42, 60] Generated Node #0,2,1: 97:[42, 60] Operation: 64-4=60 Exploring Operation: 42-4=38, Resulting Numbers: [64, 38] Generated Node #0,2,2: 97:[64, 38] Operation: 42-4=38 Exploring Operation: 42+4=46, Resulting Numbers: [64, 46] Generated Node #0,2,3: 97:[64, 46] Operation: 42+4=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[42, 68], Operations: ['27+37=64', '4+64=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[64, 46], Operations: ['27+37=64', '42+4=46'] Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,97 unequal: No Solution Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[42, 60], Operations: ['27+37=64', '64-4=60'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,97 unequal: No Solution Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[64, 38], Operations: ['27+37=64', '42-4=38'] Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,97 unequal: No Solution Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[37, 4, 69], Operations: ['27+42=69'] Exploring Operation: 37-4=33, Resulting Numbers: [69, 33] Generated Node #0,1,0: 97:[69, 33] Operation: 37-4=33 Exploring Operation: 37*4=148, Resulting Numbers: [69, 148] Generated Node #0,1,1: 97:[69, 148] Operation: 37*4=148 Exploring Operation: 37+4=41, Resulting Numbers: [69, 41] Generated Node #0,1,2: 97:[69, 41] Operation: 37+4=41 Exploring Operation: 4+69=73, Resulting Numbers: [37, 73] Generated Node #0,1,3: 97:[37, 73] Operation: 4+69=73 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[69, 148], Operations: ['27+42=69', '37*4=148'] Exploring Operation: 69*148=10212, Resulting Numbers: [10212] 10212,97 unequal: No Solution Exploring Operation: 148-69=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 69+148=217, Resulting Numbers: [217] 217,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[69, 41], Operations: ['27+42=69', '37+4=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,97 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[37, 73], Operations: ['27+42=69', '4+69=73'] Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,97 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[69, 33], Operations: ['27+42=69', '37-4=33'] Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 12, 87, 64, 21 ]
56
[ "12+87=99", "64-21=43", "99-43=56" ]
Current State: 56:[12, 87, 64, 21], Operations: [] Exploring Operation: 12+87=99, Resulting Numbers: [64, 21, 99] Generated Node #2: [64, 21, 99] from Operation: 12+87=99 Current State: 56:[64, 21, 99], Operations: ['12+87=99'] Exploring Operation: 64-21=43, Resulting Numbers: [99, 43] Generated Node #3: [99, 43] from Operation: 64-21=43 Current State: 56:[99, 43], Operations: ['12+87=99', '64-21=43'] Exploring Operation: 99-43=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[12, 87, 64, 21], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [12, 21, 23] Generated Node #0,0: 56:[12, 21, 23] Operation: 87-64=23 Exploring Operation: 21-12=9, Resulting Numbers: [87, 64, 9] Generated Node #0,1: 56:[87, 64, 9] Operation: 21-12=9 Exploring Operation: 87-12=75, Resulting Numbers: [64, 21, 75] Generated Node #0,2: 56:[64, 21, 75] Operation: 87-12=75 Exploring Operation: 64-12=52, Resulting Numbers: [87, 21, 52] Generated Node #0,3: 56:[87, 21, 52] Operation: 64-12=52 Exploring Operation: 87-21=66, Resulting Numbers: [12, 64, 66] Generated Node #0,4: 56:[12, 64, 66] Operation: 87-21=66 Moving to Node #0,0 Current State: 56:[12, 21, 23], Operations: ['87-64=23'] Exploring Operation: 12+23=35, Resulting Numbers: [21, 35] Generated Node #0,0,0: 56:[21, 35] Operation: 12+23=35 Exploring Operation: 12+21=33, Resulting Numbers: [23, 33] Generated Node #0,0,1: 56:[23, 33] Operation: 12+21=33 Exploring Operation: 23-21=2, Resulting Numbers: [12, 2] Generated Node #0,0,2: 56:[12, 2] Operation: 23-21=2 Exploring Operation: 21-12=9, Resulting Numbers: [23, 9] Generated Node #0,0,3: 56:[23, 9] Operation: 21-12=9 Exploring Operation: 23-12=11, Resulting Numbers: [21, 11] Generated Node #0,0,4: 56:[21, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[12, 2], Operations: ['87-64=23', '23-21=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[23, 9], Operations: ['87-64=23', '21-12=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[23, 33], Operations: ['87-64=23', '12+21=33'] Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,56 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[12, 87, 64, 21], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [12, 21, 23] Generated Node #0,0: 56:[12, 21, 23] Operation: 87-64=23 Moving to Node #0,0 Current State: 56:[12, 21, 23], Operations: ['87-64=23'] Exploring Operation: 12+21=33, Resulting Numbers: [23, 33] Generated Node #0,0,1: 56:[23, 33] Operation: 12+21=33 Moving to Node #0,0,1 Current State: 56:[23, 33], Operations: ['87-64=23', '12+21=33'] Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 94, 49, 69, 75 ]
46
[ "94-69=25", "75/25=3", "49-3=46" ]
Current State: 46:[94, 49, 69, 75], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [49, 75, 25] Generated Node #2: [49, 75, 25] from Operation: 94-69=25 Current State: 46:[49, 75, 25], Operations: ['94-69=25'] Exploring Operation: 75/25=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 75/25=3 Current State: 46:[49, 3], Operations: ['94-69=25', '75/25=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[94, 49, 69, 75], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [49, 69, 19] Generated Node #0,0: 46:[49, 69, 19] Operation: 94-75=19 Exploring Operation: 94-69=25, Resulting Numbers: [49, 75, 25] Generated Node #0,1: 46:[49, 75, 25] Operation: 94-69=25 Exploring Operation: 94-49=45, Resulting Numbers: [69, 75, 45] Generated Node #0,2: 46:[69, 75, 45] Operation: 94-49=45 Moving to Node #0,0 Current State: 46:[49, 69, 19], Operations: ['94-75=19'] Exploring Operation: 49-19=30, Resulting Numbers: [69, 30] Generated Node #0,0,0: 46:[69, 30] Operation: 49-19=30 Exploring Operation: 69-49=20, Resulting Numbers: [19, 20] Generated Node #0,0,1: 46:[19, 20] Operation: 69-49=20 Exploring Operation: 69-19=50, Resulting Numbers: [49, 50] Generated Node #0,0,2: 46:[49, 50] Operation: 69-19=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[19, 20], Operations: ['94-75=19', '69-49=20'] Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,46 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[49, 50], Operations: ['94-75=19', '69-19=50'] Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,46 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[69, 30], Operations: ['94-75=19', '49-19=30'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,46 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[49, 75, 25], Operations: ['94-69=25'] Exploring Operation: 75/25=3, Resulting Numbers: [49, 3] Generated Node #0,1,0: 46:[49, 3] Operation: 75/25=3 Exploring Operation: 75-25=50, Resulting Numbers: [49, 50] Generated Node #0,1,1: 46:[49, 50] Operation: 75-25=50 Exploring Operation: 75-49=26, Resulting Numbers: [25, 26] Generated Node #0,1,2: 46:[25, 26] Operation: 75-49=26 Moving to Node #0,2 Current State: 46:[69, 75, 45], Operations: ['94-49=45'] Exploring Operation: 69-45=24, Resulting Numbers: [75, 24] Generated Node #0,2,0: 46:[75, 24] Operation: 69-45=24 Exploring Operation: 75-45=30, Resulting Numbers: [69, 30] Generated Node #0,2,1: 46:[69, 30] Operation: 75-45=30 Exploring Operation: 75-69=6, Resulting Numbers: [45, 6] Generated Node #0,2,2: 46:[45, 6] Operation: 75-69=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[45, 6], Operations: ['94-49=45', '75-69=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,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,2,0 Current State: 46:[75, 24], Operations: ['94-49=45', '69-45=24'] Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,46 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,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,2,1 Current State: 46:[69, 30], Operations: ['94-49=45', '75-45=30'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 46:[49, 3], Operations: ['94-69=25', '75/25=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:[94, 49, 69, 75], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [49, 75, 25] Generated Node #0,1: 46:[49, 75, 25] Operation: 94-69=25 Moving to Node #0,1 Current State: 46:[49, 75, 25], Operations: ['94-69=25'] Exploring Operation: 75/25=3, Resulting Numbers: [49, 3] Generated Node #0,1,0: 46:[49, 3] Operation: 75/25=3 Moving to Node #0,1,0 Current State: 46:[49, 3], Operations: ['94-69=25', '75/25=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 10, 33, 52, 40 ]
69
[ "33-10=23", "52+40=92", "92-23=69" ]
Current State: 69:[10, 33, 52, 40], Operations: [] Exploring Operation: 33-10=23, Resulting Numbers: [52, 40, 23] Generated Node #2: [52, 40, 23] from Operation: 33-10=23 Current State: 69:[52, 40, 23], Operations: ['33-10=23'] Exploring Operation: 52+40=92, Resulting Numbers: [23, 92] Generated Node #3: [23, 92] from Operation: 52+40=92 Current State: 69:[23, 92], Operations: ['33-10=23', '52+40=92'] Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[10, 33, 52, 40], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [10, 40, 19] Generated Node #0,0: 69:[10, 40, 19] Operation: 52-33=19 Exploring Operation: 52-40=12, Resulting Numbers: [10, 33, 12] Generated Node #0,1: 69:[10, 33, 12] Operation: 52-40=12 Exploring Operation: 40/10=4, Resulting Numbers: [33, 52, 4] Generated Node #0,2: 69:[33, 52, 4] Operation: 40/10=4 Exploring Operation: 33+40=73, Resulting Numbers: [10, 52, 73] Generated Node #0,3: 69:[10, 52, 73] Operation: 33+40=73 Exploring Operation: 40-33=7, Resulting Numbers: [10, 52, 7] Generated Node #0,4: 69:[10, 52, 7] Operation: 40-33=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[10, 33, 12], Operations: ['52-40=12'] Exploring Operation: 10+33=43, Resulting Numbers: [12, 43] Generated Node #0,1,0: 69:[12, 43] Operation: 10+33=43 Exploring Operation: 33-12=21, Resulting Numbers: [10, 21] Generated Node #0,1,1: 69:[10, 21] Operation: 33-12=21 Exploring Operation: 33-10=23, Resulting Numbers: [12, 23] Generated Node #0,1,2: 69:[12, 23] Operation: 33-10=23 Exploring Operation: 12-10=2, Resulting Numbers: [33, 2] Generated Node #0,1,3: 69:[33, 2] Operation: 12-10=2 Exploring Operation: 10+12=22, Resulting Numbers: [33, 22] Generated Node #0,1,4: 69:[33, 22] Operation: 10+12=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[10, 21], Operations: ['52-40=12', '33-12=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,69 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[12, 23], Operations: ['52-40=12', '33-10=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[33, 2], Operations: ['52-40=12', '12-10=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 69:[33, 22], Operations: ['52-40=12', '10+12=22'] Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,69 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[12, 43], Operations: ['52-40=12', '10+33=43'] Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,69 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[10, 40, 19], Operations: ['52-33=19'] Exploring Operation: 10+40=50, Resulting Numbers: [19, 50] Generated Node #0,0,0: 69:[19, 50] Operation: 10+40=50 Exploring Operation: 40-19=21, Resulting Numbers: [10, 21] Generated Node #0,0,1: 69:[10, 21] Operation: 40-19=21 Exploring Operation: 40+19=59, Resulting Numbers: [10, 59] Generated Node #0,0,2: 69:[10, 59] Operation: 40+19=59 Exploring Operation: 40/10=4, Resulting Numbers: [19, 4] Generated Node #0,0,3: 69:[19, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [19, 30] Generated Node #0,0,4: 69:[19, 30] Operation: 40-10=30 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[19, 4], Operations: ['52-33=19', '40/10=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[10, 21], Operations: ['52-33=19', '40-19=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,69 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 69:[19, 30], Operations: ['52-33=19', '40-10=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,69 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[10, 59], Operations: ['52-33=19', '40+19=59'] Exploring Operation: 10*59=590, Resulting Numbers: [590] 590,69 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[10, 33, 52, 40], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [10, 40, 19] Generated Node #0,0: 69:[10, 40, 19] Operation: 52-33=19 Moving to Node #0,0 Current State: 69:[10, 40, 19], Operations: ['52-33=19'] Exploring Operation: 40+19=59, Resulting Numbers: [10, 59] Generated Node #0,0,2: 69:[10, 59] Operation: 40+19=59 Moving to Node #0,0,2 Current State: 69:[10, 59], Operations: ['52-33=19', '40+19=59'] Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 66, 84, 67, 73 ]
11
[ "67-66=1", "84-73=11", "1*11=11" ]
Current State: 11:[66, 84, 67, 73], Operations: [] Exploring Operation: 67-66=1, Resulting Numbers: [84, 73, 1] Generated Node #2: [84, 73, 1] from Operation: 67-66=1 Current State: 11:[84, 73, 1], Operations: ['67-66=1'] Exploring Operation: 84-73=11, Resulting Numbers: [1, 11] Generated Node #3: [1, 11] from Operation: 84-73=11 Current State: 11:[1, 11], Operations: ['67-66=1', '84-73=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[66, 84, 67, 73], Operations: [] Exploring Operation: 84-66=18, Resulting Numbers: [67, 73, 18] Generated Node #0,0: 11:[67, 73, 18] Operation: 84-66=18 Exploring Operation: 84-73=11, Resulting Numbers: [66, 67, 11] Generated Node #0,1: 11:[66, 67, 11] Operation: 84-73=11 Exploring Operation: 84-67=17, Resulting Numbers: [66, 73, 17] Generated Node #0,2: 11:[66, 73, 17] Operation: 84-67=17 Moving to Node #0,1 Current State: 11:[66, 67, 11], Operations: ['84-73=11'] Exploring Operation: 66-11=55, Resulting Numbers: [67, 55] Generated Node #0,1,0: 11:[67, 55] Operation: 66-11=55 Exploring Operation: 67-66=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 11:[11, 1] Operation: 67-66=1 Exploring Operation: 66/11=6, Resulting Numbers: [67, 6] Generated Node #0,1,2: 11:[67, 6] Operation: 66/11=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[11, 1], Operations: ['84-73=11', '67-66=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[66, 84, 67, 73], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [66, 67, 11] Generated Node #0,1: 11:[66, 67, 11] Operation: 84-73=11 Moving to Node #0,1 Current State: 11:[66, 67, 11], Operations: ['84-73=11'] Exploring Operation: 67-66=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 11:[11, 1] Operation: 67-66=1 Moving to Node #0,1,1 Current State: 11:[11, 1], Operations: ['84-73=11', '67-66=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 29, 21, 92, 69 ]
66
[ "92-29=63", "63/21=3", "69-3=66" ]
Current State: 66:[29, 21, 92, 69], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [21, 69, 63] Generated Node #2: [21, 69, 63] from Operation: 92-29=63 Current State: 66:[21, 69, 63], Operations: ['92-29=63'] Exploring Operation: 63/21=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 63/21=3 Current State: 66:[69, 3], Operations: ['92-29=63', '63/21=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[29, 21, 92, 69], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [29, 21, 23] Generated Node #0,0: 66:[29, 21, 23] Operation: 92-69=23 Exploring Operation: 92-29=63, Resulting Numbers: [21, 69, 63] Generated Node #0,1: 66:[21, 69, 63] Operation: 92-29=63 Exploring Operation: 92-21=71, Resulting Numbers: [29, 69, 71] Generated Node #0,2: 66:[29, 69, 71] Operation: 92-21=71 Moving to Node #0,0 Current State: 66:[29, 21, 23], Operations: ['92-69=23'] Exploring Operation: 23-21=2, Resulting Numbers: [29, 2] Generated Node #0,0,0: 66:[29, 2] Operation: 23-21=2 Exploring Operation: 29-23=6, Resulting Numbers: [21, 6] Generated Node #0,0,1: 66:[21, 6] Operation: 29-23=6 Exploring Operation: 29-21=8, Resulting Numbers: [23, 8] Generated Node #0,0,2: 66:[23, 8] Operation: 29-21=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[21, 6], Operations: ['92-69=23', '29-23=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,66 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,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:[23, 8], Operations: ['92-69=23', '29-21=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,66 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,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,0 Current State: 66:[29, 2], Operations: ['92-69=23', '23-21=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,66 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,66 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: 66:[21, 69, 63], Operations: ['92-29=63'] Exploring Operation: 63-21=42, Resulting Numbers: [69, 42] Generated Node #0,1,0: 66:[69, 42] Operation: 63-21=42 Exploring Operation: 69-63=6, Resulting Numbers: [21, 6] Generated Node #0,1,1: 66:[21, 6] Operation: 69-63=6 Exploring Operation: 63/21=3, Resulting Numbers: [69, 3] Generated Node #0,1,2: 66:[69, 3] Operation: 63/21=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[21, 6], Operations: ['92-29=63', '69-63=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,66 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,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,1,2 Current State: 66:[69, 3], Operations: ['92-29=63', '63/21=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[29, 21, 92, 69], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [21, 69, 63] Generated Node #0,1: 66:[21, 69, 63] Operation: 92-29=63 Moving to Node #0,1 Current State: 66:[21, 69, 63], Operations: ['92-29=63'] Exploring Operation: 63/21=3, Resulting Numbers: [69, 3] Generated Node #0,1,2: 66:[69, 3] Operation: 63/21=3 Moving to Node #0,1,2 Current State: 66:[69, 3], Operations: ['92-29=63', '63/21=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 40, 19, 7, 31 ]
97
[ "40+19=59", "7+31=38", "59+38=97" ]
Current State: 97:[40, 19, 7, 31], Operations: [] Exploring Operation: 40+19=59, Resulting Numbers: [7, 31, 59] Generated Node #2: [7, 31, 59] from Operation: 40+19=59 Current State: 97:[7, 31, 59], Operations: ['40+19=59'] Exploring Operation: 7+31=38, Resulting Numbers: [59, 38] Generated Node #3: [59, 38] from Operation: 7+31=38 Current State: 97:[59, 38], Operations: ['40+19=59', '7+31=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[40, 19, 7, 31], Operations: [] Exploring Operation: 40+31=71, Resulting Numbers: [19, 7, 71] Generated Node #0,0: 97:[19, 7, 71] Operation: 40+31=71 Exploring Operation: 40+19=59, Resulting Numbers: [7, 31, 59] Generated Node #0,1: 97:[7, 31, 59] Operation: 40+19=59 Exploring Operation: 19*7=133, Resulting Numbers: [40, 31, 133] Generated Node #0,2: 97:[40, 31, 133] Operation: 19*7=133 Exploring Operation: 40+7=47, Resulting Numbers: [19, 31, 47] Generated Node #0,3: 97:[19, 31, 47] Operation: 40+7=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[40, 31, 133], Operations: ['19*7=133'] Exploring Operation: 133-31=102, Resulting Numbers: [40, 102] Generated Node #0,2,0: 97:[40, 102] Operation: 133-31=102 Exploring Operation: 40-31=9, Resulting Numbers: [133, 9] Generated Node #0,2,1: 97:[133, 9] Operation: 40-31=9 Exploring Operation: 40+31=71, Resulting Numbers: [133, 71] Generated Node #0,2,2: 97:[133, 71] Operation: 40+31=71 Exploring Operation: 133-40=93, Resulting Numbers: [31, 93] Generated Node #0,2,3: 97:[31, 93] Operation: 133-40=93 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[40, 102], Operations: ['19*7=133', '133-31=102'] Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 40+102=142, Resulting Numbers: [142] 142,97 unequal: No Solution Exploring Operation: 40*102=4080, Resulting Numbers: [4080] 4080,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[133, 71], Operations: ['19*7=133', '40+31=71'] Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 133+71=204, Resulting Numbers: [204] 204,97 unequal: No Solution Exploring Operation: 133*71=9443, Resulting Numbers: [9443] 9443,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[31, 93], Operations: ['19*7=133', '133-40=93'] Exploring Operation: 31*93=2883, Resulting Numbers: [2883] 2883,97 unequal: No Solution Exploring Operation: 31+93=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[133, 9], Operations: ['19*7=133', '40-31=9'] Exploring Operation: 133-9=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 133*9=1197, Resulting Numbers: [1197] 1197,97 unequal: No Solution Exploring Operation: 133+9=142, Resulting Numbers: [142] 142,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[19, 7, 71], Operations: ['40+31=71'] Exploring Operation: 19+71=90, Resulting Numbers: [7, 90] Generated Node #0,0,0: 97:[7, 90] Operation: 19+71=90 Exploring Operation: 19+7=26, Resulting Numbers: [71, 26] Generated Node #0,0,1: 97:[71, 26] Operation: 19+7=26 Exploring Operation: 7+71=78, Resulting Numbers: [19, 78] Generated Node #0,0,2: 97:[19, 78] Operation: 7+71=78 Exploring Operation: 19*7=133, Resulting Numbers: [71, 133] Generated Node #0,0,3: 97:[71, 133] Operation: 19*7=133 Moving to Node #0,0,3 Current State: 97:[71, 133], Operations: ['40+31=71', '19*7=133'] Exploring Operation: 71*133=9443, Resulting Numbers: [9443] 9443,97 unequal: No Solution Exploring Operation: 71+133=204, Resulting Numbers: [204] 204,97 unequal: No Solution Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[71, 26], Operations: ['40+31=71', '19+7=26'] Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,97 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[40, 19, 7, 31], Operations: [] Exploring Operation: 40+31=71, Resulting Numbers: [19, 7, 71] Generated Node #0,0: 97:[19, 7, 71] Operation: 40+31=71 Moving to Node #0,0 Current State: 97:[19, 7, 71], Operations: ['40+31=71'] Exploring Operation: 19+7=26, Resulting Numbers: [71, 26] Generated Node #0,0,1: 97:[71, 26] Operation: 19+7=26 Moving to Node #0,0,1 Current State: 97:[71, 26], Operations: ['40+31=71', '19+7=26'] Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 4, 3, 39, 80 ]
28
[ "4*39=156", "156/3=52", "80-52=28" ]
Current State: 28:[4, 3, 39, 80], Operations: [] Exploring Operation: 4*39=156, Resulting Numbers: [3, 80, 156] Generated Node #2: [3, 80, 156] from Operation: 4*39=156 Current State: 28:[3, 80, 156], Operations: ['4*39=156'] Exploring Operation: 156/3=52, Resulting Numbers: [80, 52] Generated Node #3: [80, 52] from Operation: 156/3=52 Current State: 28:[80, 52], Operations: ['4*39=156', '156/3=52'] Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[4, 3, 39, 80], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [3, 39, 20] Generated Node #0,0: 28:[3, 39, 20] Operation: 80/4=20 Exploring Operation: 80-39=41, Resulting Numbers: [4, 3, 41] Generated Node #0,1: 28:[4, 3, 41] Operation: 80-39=41 Exploring Operation: 39/3=13, Resulting Numbers: [4, 80, 13] Generated Node #0,2: 28:[4, 80, 13] Operation: 39/3=13 Exploring Operation: 39-4=35, Resulting Numbers: [3, 80, 35] Generated Node #0,3: 28:[3, 80, 35] Operation: 39-4=35 Exploring Operation: 80-4=76, Resulting Numbers: [3, 39, 76] Generated Node #0,4: 28:[3, 39, 76] Operation: 80-4=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[4, 3, 41], Operations: ['80-39=41'] Exploring Operation: 41-3=38, Resulting Numbers: [4, 38] Generated Node #0,1,0: 28:[4, 38] Operation: 41-3=38 Exploring Operation: 4-3=1, Resulting Numbers: [41, 1] Generated Node #0,1,1: 28:[41, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [41, 7] Generated Node #0,1,2: 28:[41, 7] Operation: 4+3=7 Exploring Operation: 4*3=12, Resulting Numbers: [41, 12] Generated Node #0,1,3: 28:[41, 12] Operation: 4*3=12 Exploring Operation: 41-4=37, Resulting Numbers: [3, 37] Generated Node #0,1,4: 28:[3, 37] Operation: 41-4=37 Moving to Node #0,1,0 Current State: 28:[4, 38], Operations: ['80-39=41', '41-3=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,28 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,28 unequal: No Solution Moving to Node #0,1,4 Current State: 28:[3, 37], Operations: ['80-39=41', '41-4=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,28 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[41, 7], Operations: ['80-39=41', '4+3=7'] Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,28 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[41, 1], Operations: ['80-39=41', '4-3=1'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[41, 12], Operations: ['80-39=41', '4*3=12'] Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,28 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,28 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[3, 39, 20], Operations: ['80/4=20'] Exploring Operation: 39-3=36, Resulting Numbers: [20, 36] Generated Node #0,0,0: 28:[20, 36] Operation: 39-3=36 Exploring Operation: 20-3=17, Resulting Numbers: [39, 17] Generated Node #0,0,1: 28:[39, 17] Operation: 20-3=17 Exploring Operation: 39/3=13, Resulting Numbers: [20, 13] Generated Node #0,0,2: 28:[20, 13] Operation: 39/3=13 Exploring Operation: 39-20=19, Resulting Numbers: [3, 19] Generated Node #0,0,3: 28:[3, 19] Operation: 39-20=19 Exploring Operation: 3+20=23, Resulting Numbers: [39, 23] Generated Node #0,0,4: 28:[39, 23] Operation: 3+20=23 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[3, 19], Operations: ['80/4=20', '39-20=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[20, 13], Operations: ['80/4=20', '39/3=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[20, 36], Operations: ['80/4=20', '39-3=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,28 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[39, 17], Operations: ['80/4=20', '20-3=17'] Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,28 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[39, 23], Operations: ['80/4=20', '3+20=23'] Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,28 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[4, 80, 13], Operations: ['39/3=13'] Exploring Operation: 80/4=20, Resulting Numbers: [13, 20] Generated Node #0,2,0: 28:[13, 20] Operation: 80/4=20 Exploring Operation: 4+13=17, Resulting Numbers: [80, 17] Generated Node #0,2,1: 28:[80, 17] Operation: 4+13=17 Exploring Operation: 80-4=76, Resulting Numbers: [13, 76] Generated Node #0,2,2: 28:[13, 76] Operation: 80-4=76 Exploring Operation: 80-13=67, Resulting Numbers: [4, 67] Generated Node #0,2,3: 28:[4, 67] Operation: 80-13=67 Exploring Operation: 13-4=9, Resulting Numbers: [80, 9] Generated Node #0,2,4: 28:[80, 9] Operation: 13-4=9 Moving to Node #0,2,0 Current State: 28:[13, 20], Operations: ['39/3=13', '80/4=20'] Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,28 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[4, 67], Operations: ['39/3=13', '80-13=67'] Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,28 unequal: No Solution Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[13, 76], Operations: ['39/3=13', '80-4=76'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,28 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,28 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[80, 9], Operations: ['39/3=13', '13-4=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[80, 17], Operations: ['39/3=13', '4+13=17'] Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,28 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,28 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[3, 80, 35], Operations: ['39-4=35'] Exploring Operation: 80-3=77, Resulting Numbers: [35, 77] Generated Node #0,3,0: 28:[35, 77] Operation: 80-3=77 Exploring Operation: 35-3=32, Resulting Numbers: [80, 32] Generated Node #0,3,1: 28:[80, 32] Operation: 35-3=32 Exploring Operation: 80-35=45, Resulting Numbers: [3, 45] Generated Node #0,3,2: 28:[3, 45] Operation: 80-35=45 Exploring Operation: 3+35=38, Resulting Numbers: [80, 38] Generated Node #0,3,3: 28:[80, 38] Operation: 3+35=38 Exploring Operation: 3+80=83, Resulting Numbers: [35, 83] Generated Node #0,3,4: 28:[35, 83] Operation: 3+80=83 Moving to Node #0,3,2 Current State: 28:[3, 45], Operations: ['39-4=35', '80-35=45'] Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[80, 32], Operations: ['39-4=35', '35-3=32'] Exploring Operation: 80*32=2560, Resulting Numbers: [2560] 2560,28 unequal: No Solution Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 80+32=112, Resulting Numbers: [112] 112,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[35, 77], Operations: ['39-4=35', '80-3=77'] Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[80, 38], Operations: ['39-4=35', '3+35=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,28 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[35, 83], Operations: ['39-4=35', '3+80=83'] Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,28 unequal: No Solution Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[3, 39, 76], Operations: ['80-4=76'] Exploring Operation: 76-39=37, Resulting Numbers: [3, 37] Generated Node #0,4,0: 28:[3, 37] Operation: 76-39=37 Exploring Operation: 76-3=73, Resulting Numbers: [39, 73] Generated Node #0,4,1: 28:[39, 73] Operation: 76-3=73 Exploring Operation: 39-3=36, Resulting Numbers: [76, 36] Generated Node #0,4,2: 28:[76, 36] Operation: 39-3=36 Exploring Operation: 3+39=42, Resulting Numbers: [76, 42] Generated Node #0,4,3: 28:[76, 42] Operation: 3+39=42 Exploring Operation: 39/3=13, Resulting Numbers: [76, 13] Generated Node #0,4,4: 28:[76, 13] Operation: 39/3=13 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 28:[3, 37], Operations: ['80-4=76', '76-39=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 28:[76, 13], Operations: ['80-4=76', '39/3=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,28 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 28:[39, 73], Operations: ['80-4=76', '76-3=73'] Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 28:[76, 36], Operations: ['80-4=76', '39-3=36'] Exploring Operation: 76+36=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 76*36=2736, Resulting Numbers: [2736] 2736,28 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[76, 42], Operations: ['80-4=76', '3+39=42'] Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,28 unequal: No Solution Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,28 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 99, 20, 3, 61 ]
21
[ "99-20=79", "61-3=58", "79-58=21" ]
Current State: 21:[99, 20, 3, 61], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [3, 61, 79] Generated Node #2: [3, 61, 79] from Operation: 99-20=79 Current State: 21:[3, 61, 79], Operations: ['99-20=79'] Exploring Operation: 61-3=58, Resulting Numbers: [79, 58] Generated Node #3: [79, 58] from Operation: 61-3=58 Current State: 21:[79, 58], Operations: ['99-20=79', '61-3=58'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[99, 20, 3, 61], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [20, 3, 38] Generated Node #0,0: 21:[20, 3, 38] Operation: 99-61=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[20, 3, 38], Operations: ['99-61=38'] Exploring Operation: 38-20=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 21:[3, 18] Operation: 38-20=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[3, 18], Operations: ['99-61=38', '38-20=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[99, 20, 3, 61], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [20, 3, 38] Generated Node #0,0: 21:[20, 3, 38] Operation: 99-61=38 Moving to Node #0,0 Current State: 21:[20, 3, 38], Operations: ['99-61=38'] Exploring Operation: 38-20=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 21:[3, 18] Operation: 38-20=18 Moving to Node #0,0,0 Current State: 21:[3, 18], Operations: ['99-61=38', '38-20=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 33, 54, 78 ]
47
[ "33*78=2574", "2574-36=2538", "2538/54=47" ]
Current State: 47:[36, 33, 54, 78], Operations: [] Exploring Operation: 33*78=2574, Resulting Numbers: [36, 54, 2574] Generated Node #2: [36, 54, 2574] from Operation: 33*78=2574 Current State: 47:[36, 54, 2574], Operations: ['33*78=2574'] Exploring Operation: 2574-36=2538, Resulting Numbers: [54, 2538] Generated Node #3: [54, 2538] from Operation: 2574-36=2538 Current State: 47:[54, 2538], Operations: ['33*78=2574', '2574-36=2538'] Exploring Operation: 2538/54=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[36, 33, 54, 78], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [36, 54, 45] Generated Node #0,0: 47:[36, 54, 45] Operation: 78-33=45 Moving to Node #0,0 Current State: 47:[36, 54, 45], Operations: ['78-33=45'] Exploring Operation: 54-36=18, Resulting Numbers: [45, 18] Generated Node #0,0,0: 47:[45, 18] Operation: 54-36=18 Moving to Node #0,0,0 Current State: 47:[45, 18], Operations: ['78-33=45', '54-36=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 56, 63, 70, 63 ]
56
[ "63-63=0", "70*0=0", "56+0=56" ]
Current State: 56:[56, 63, 70, 63], Operations: [] Exploring Operation: 63-63=0, Resulting Numbers: [56, 70, 0] Generated Node #2: [56, 70, 0] from Operation: 63-63=0 Current State: 56:[56, 70, 0], Operations: ['63-63=0'] Exploring Operation: 70*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 70*0=0 Current State: 56:[56, 0], Operations: ['63-63=0', '70*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[56, 63, 70, 63], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [63, 63, 14] Generated Node #0,0: 56:[63, 63, 14] Operation: 70-56=14 Exploring Operation: 63-63=0, Resulting Numbers: [56, 70, 0] Generated Node #0,1: 56:[56, 70, 0] Operation: 63-63=0 Exploring Operation: 63/63=1, Resulting Numbers: [56, 70, 1] Generated Node #0,2: 56:[56, 70, 1] Operation: 63/63=1 Exploring Operation: 70-63=7, Resulting Numbers: [56, 63, 7] Generated Node #0,3: 56:[56, 63, 7] Operation: 70-63=7 Exploring Operation: 70-63=7, Resulting Numbers: [56, 63, 7] Generated Node #0,4: 56:[56, 63, 7] Operation: 70-63=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[56, 63, 7], Operations: ['70-63=7'] Exploring Operation: 63/7=9, Resulting Numbers: [56, 9] Generated Node #0,3,0: 56:[56, 9] Operation: 63/7=9 Exploring Operation: 56/7=8, Resulting Numbers: [63, 8] Generated Node #0,3,1: 56:[63, 8] Operation: 56/7=8 Exploring Operation: 56+7=63, Resulting Numbers: [63, 63] Generated Node #0,3,2: 56:[63, 63] Operation: 56+7=63 Exploring Operation: 63-56=7, Resulting Numbers: [7, 7] Generated Node #0,3,3: 56:[7, 7] Operation: 63-56=7 Exploring Operation: 63-7=56, Resulting Numbers: [56, 56] Generated Node #0,3,4: 56:[56, 56] Operation: 63-7=56 Moving to Node #0,3,3 Current State: 56:[7, 7], Operations: ['70-63=7', '63-56=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,56 unequal: No Solution Moving to Node #0,3,4 Current State: 56:[56, 56], Operations: ['70-63=7', '63-7=56'] Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,56 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[56, 9], Operations: ['70-63=7', '63/7=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[63, 8], Operations: ['70-63=7', '56/7=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[63, 63], Operations: ['70-63=7', '56+7=63'] Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,56 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[56, 63, 7], Operations: ['70-63=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56, 56] Generated Node #0,4,0: 56:[56, 56] Operation: 63-7=56 Exploring Operation: 63/7=9, Resulting Numbers: [56, 9] Generated Node #0,4,1: 56:[56, 9] Operation: 63/7=9 Exploring Operation: 56+7=63, Resulting Numbers: [63, 63] Generated Node #0,4,2: 56:[63, 63] Operation: 56+7=63 Exploring Operation: 63-56=7, Resulting Numbers: [7, 7] Generated Node #0,4,3: 56:[7, 7] Operation: 63-56=7 Exploring Operation: 56/7=8, Resulting Numbers: [63, 8] Generated Node #0,4,4: 56:[63, 8] Operation: 56/7=8 Moving to Node #0,4,0 Current State: 56:[56, 56], Operations: ['70-63=7', '63-7=56'] Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[7, 7], Operations: ['70-63=7', '63-56=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,56 unequal: No Solution Moving to Node #0,4,1 Current State: 56:[56, 9], Operations: ['70-63=7', '63/7=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[63, 8], Operations: ['70-63=7', '56/7=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[63, 63], Operations: ['70-63=7', '56+7=63'] Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,56 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[63, 63, 14], Operations: ['70-56=14'] Exploring Operation: 63-63=0, Resulting Numbers: [14, 0] Generated Node #0,0,0: 56:[14, 0] Operation: 63-63=0 Exploring Operation: 63+14=77, Resulting Numbers: [63, 77] Generated Node #0,0,1: 56:[63, 77] Operation: 63+14=77 Exploring Operation: 63-14=49, Resulting Numbers: [63, 49] Generated Node #0,0,2: 56:[63, 49] Operation: 63-14=49 Exploring Operation: 63/63=1, Resulting Numbers: [14, 1] Generated Node #0,0,3: 56:[14, 1] Operation: 63/63=1 Exploring Operation: 63-14=49, Resulting Numbers: [63, 49] Generated Node #0,0,4: 56:[63, 49] Operation: 63-14=49 Moving to Node #0,0,3 Current State: 56:[14, 1], Operations: ['70-56=14', '63/63=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[14, 0], Operations: ['70-56=14', '63-63=0'] Exploring Operation: 14*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[63, 49], Operations: ['70-56=14', '63-14=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,56 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[63, 49], Operations: ['70-56=14', '63-14=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[63, 77], Operations: ['70-56=14', '63+14=77'] Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[56, 70, 1], Operations: ['63/63=1'] Exploring Operation: 70-56=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 56:[1, 14] Operation: 70-56=14 Exploring Operation: 70-1=69, Resulting Numbers: [56, 69] Generated Node #0,2,1: 56:[56, 69] Operation: 70-1=69 Exploring Operation: 70*1=70, Resulting Numbers: [56, 70] Generated Node #0,2,2: 56:[56, 70] Operation: 70*1=70 Exploring Operation: 56*1=56, Resulting Numbers: [70, 56] Generated Node #0,2,3: 56:[70, 56] Operation: 56*1=56 Exploring Operation: 56/1=56, Resulting Numbers: [70, 56] Generated Node #0,2,4: 56:[70, 56] Operation: 56/1=56 Moving to Node #0,2,0 Current State: 56:[1, 14], Operations: ['63/63=1', '70-56=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[56, 69], Operations: ['63/63=1', '70-1=69'] Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 56*69=3864, Resulting Numbers: [3864] 3864,56 unequal: No Solution Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[56, 70], Operations: ['63/63=1', '70*1=70'] Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,56 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[70, 56], Operations: ['63/63=1', '56*1=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,56 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[70, 56], Operations: ['63/63=1', '56/1=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,56 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[56, 70, 0], Operations: ['63-63=0'] Exploring Operation: 56+0=56, Resulting Numbers: [70, 56] Generated Node #0,1,0: 56:[70, 56] Operation: 56+0=56 Exploring Operation: 70*0=0, Resulting Numbers: [56, 0] Generated Node #0,1,1: 56:[56, 0] Operation: 70*0=0 Exploring Operation: 70-56=14, Resulting Numbers: [0, 14] Generated Node #0,1,2: 56:[0, 14] Operation: 70-56=14 Exploring Operation: 70+0=70, Resulting Numbers: [56, 70] Generated Node #0,1,3: 56:[56, 70] Operation: 70+0=70 Exploring Operation: 56-0=56, Resulting Numbers: [70, 56] Generated Node #0,1,4: 56:[70, 56] Operation: 56-0=56 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[56, 0], Operations: ['63-63=0', '70*0=0'] Exploring Operation: 56-0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[56, 63, 70, 63], Operations: [] Exploring Operation: 63-63=0, Resulting Numbers: [56, 70, 0] Generated Node #0,1: 56:[56, 70, 0] Operation: 63-63=0 Moving to Node #0,1 Current State: 56:[56, 70, 0], Operations: ['63-63=0'] Exploring Operation: 70*0=0, Resulting Numbers: [56, 0] Generated Node #0,1,1: 56:[56, 0] Operation: 70*0=0 Moving to Node #0,1,1 Current State: 56:[56, 0], Operations: ['63-63=0', '70*0=0'] Exploring Operation: 56-0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.91059
hs_5
sum_heuristic
[ 80, 77, 36, 8 ]
25
[ "80-77=3", "36-8=28", "28-3=25" ]
Current State: 25:[80, 77, 36, 8], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [36, 8, 3] Generated Node #2: [36, 8, 3] from Operation: 80-77=3 Current State: 25:[36, 8, 3], Operations: ['80-77=3'] Exploring Operation: 36-8=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 36-8=28 Current State: 25:[3, 28], Operations: ['80-77=3', '36-8=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[80, 77, 36, 8], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [36, 8, 3] Generated Node #0,0: 25:[36, 8, 3] Operation: 80-77=3 Exploring Operation: 80/8=10, Resulting Numbers: [77, 36, 10] Generated Node #0,1: 25:[77, 36, 10] Operation: 80/8=10 Moving to Node #0,0 Current State: 25:[36, 8, 3], Operations: ['80-77=3'] Exploring Operation: 36/3=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 25:[8, 12] Operation: 36/3=12 Exploring Operation: 36-8=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 25:[3, 28] Operation: 36-8=28 Moving to Node #0,1 Current State: 25:[77, 36, 10], Operations: ['80/8=10'] Exploring Operation: 77-10=67, Resulting Numbers: [36, 67] Generated Node #0,1,0: 25:[36, 67] Operation: 77-10=67 Exploring Operation: 77-36=41, Resulting Numbers: [10, 41] Generated Node #0,1,1: 25:[10, 41] Operation: 77-36=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[10, 41], Operations: ['80/8=10', '77-36=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[36, 67], Operations: ['80/8=10', '77-10=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 25:[3, 28], Operations: ['80-77=3', '36-8=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[80, 77, 36, 8], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [36, 8, 3] Generated Node #0,0: 25:[36, 8, 3] Operation: 80-77=3 Moving to Node #0,0 Current State: 25:[36, 8, 3], Operations: ['80-77=3'] Exploring Operation: 36-8=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 25:[3, 28] Operation: 36-8=28 Moving to Node #0,0,1 Current State: 25:[3, 28], Operations: ['80-77=3', '36-8=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 32, 81, 84, 42 ]
17
[ "32*84=2688", "2688/42=64", "81-64=17" ]
Current State: 17:[32, 81, 84, 42], Operations: [] Exploring Operation: 32*84=2688, Resulting Numbers: [81, 42, 2688] Generated Node #2: [81, 42, 2688] from Operation: 32*84=2688 Current State: 17:[81, 42, 2688], Operations: ['32*84=2688'] Exploring Operation: 2688/42=64, Resulting Numbers: [81, 64] Generated Node #3: [81, 64] from Operation: 2688/42=64 Current State: 17:[81, 64], Operations: ['32*84=2688', '2688/42=64'] Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[32, 81, 84, 42], Operations: [] Exploring Operation: 81-42=39, Resulting Numbers: [32, 84, 39] Generated Node #0,0: 17:[32, 84, 39] Operation: 81-42=39 Exploring Operation: 84/42=2, Resulting Numbers: [32, 81, 2] Generated Node #0,1: 17:[32, 81, 2] Operation: 84/42=2 Exploring Operation: 84-81=3, Resulting Numbers: [32, 42, 3] Generated Node #0,2: 17:[32, 42, 3] Operation: 84-81=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[32, 42, 3], Operations: ['84-81=3'] Exploring Operation: 42/3=14, Resulting Numbers: [32, 14] Generated Node #0,2,0: 17:[32, 14] Operation: 42/3=14 Exploring Operation: 32-3=29, Resulting Numbers: [42, 29] Generated Node #0,2,1: 17:[42, 29] Operation: 32-3=29 Exploring Operation: 42-32=10, Resulting Numbers: [3, 10] Generated Node #0,2,2: 17:[3, 10] Operation: 42-32=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[32, 14], Operations: ['84-81=3', '42/3=14'] Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,17 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,17 unequal: No Solution No 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: 17:[3, 10], Operations: ['84-81=3', '42-32=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,17 unequal: No Solution No 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: 17:[42, 29], Operations: ['84-81=3', '32-3=29'] Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,17 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,17 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: 17:[32, 81, 2], Operations: ['84/42=2'] Exploring Operation: 32/2=16, Resulting Numbers: [81, 16] Generated Node #0,1,0: 17:[81, 16] Operation: 32/2=16 Exploring Operation: 81-32=49, Resulting Numbers: [2, 49] Generated Node #0,1,1: 17:[2, 49] Operation: 81-32=49 Exploring Operation: 32-2=30, Resulting Numbers: [81, 30] Generated Node #0,1,2: 17:[81, 30] Operation: 32-2=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[2, 49], Operations: ['84/42=2', '81-32=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,17 unequal: No Solution No 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: 17:[81, 16], Operations: ['84/42=2', '32/2=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,17 unequal: No Solution No 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: 17:[81, 30], Operations: ['84/42=2', '32-2=30'] Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,17 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,17 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: 17:[32, 84, 39], Operations: ['81-42=39'] Exploring Operation: 84-32=52, Resulting Numbers: [39, 52] Generated Node #0,0,0: 17:[39, 52] Operation: 84-32=52 Exploring Operation: 84-39=45, Resulting Numbers: [32, 45] Generated Node #0,0,1: 17:[32, 45] Operation: 84-39=45 Exploring Operation: 39-32=7, Resulting Numbers: [84, 7] Generated Node #0,0,2: 17:[84, 7] Operation: 39-32=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[32, 45], Operations: ['81-42=39', '84-39=45'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,17 unequal: No Solution Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,17 unequal: No Solution No 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: 17:[39, 52], Operations: ['81-42=39', '84-32=52'] Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,17 unequal: No Solution Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,17 unequal: No Solution No 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: 17:[84, 7], Operations: ['81-42=39', '39-32=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,17 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 92, 15, 43, 2 ]
83
[ "92-43=49", "2*49=98", "98-15=83" ]
Current State: 83:[92, 15, 43, 2], Operations: [] Exploring Operation: 92-43=49, Resulting Numbers: [15, 2, 49] Generated Node #2: [15, 2, 49] from Operation: 92-43=49 Current State: 83:[15, 2, 49], Operations: ['92-43=49'] Exploring Operation: 2*49=98, Resulting Numbers: [15, 98] Generated Node #3: [15, 98] from Operation: 2*49=98 Current State: 83:[15, 98], Operations: ['92-43=49', '2*49=98'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[92, 15, 43, 2], Operations: [] Exploring Operation: 15+43=58, Resulting Numbers: [92, 2, 58] Generated Node #0,0: 83:[92, 2, 58] Operation: 15+43=58 Exploring Operation: 15*2=30, Resulting Numbers: [92, 43, 30] Generated Node #0,1: 83:[92, 43, 30] Operation: 15*2=30 Exploring Operation: 43*2=86, Resulting Numbers: [92, 15, 86] Generated Node #0,2: 83:[92, 15, 86] Operation: 43*2=86 Exploring Operation: 15+2=17, Resulting Numbers: [92, 43, 17] Generated Node #0,3: 83:[92, 43, 17] Operation: 15+2=17 Exploring Operation: 92-2=90, Resulting Numbers: [15, 43, 90] Generated Node #0,4: 83:[15, 43, 90] Operation: 92-2=90 Moving to Node #0,2 Current State: 83:[92, 15, 86], Operations: ['43*2=86'] Exploring Operation: 15+86=101, Resulting Numbers: [92, 101] Generated Node #0,2,0: 83:[92, 101] Operation: 15+86=101 Exploring Operation: 92+15=107, Resulting Numbers: [86, 107] Generated Node #0,2,1: 83:[86, 107] Operation: 92+15=107 Exploring Operation: 86-15=71, Resulting Numbers: [92, 71] Generated Node #0,2,2: 83:[92, 71] Operation: 86-15=71 Exploring Operation: 92-15=77, Resulting Numbers: [86, 77] Generated Node #0,2,3: 83:[86, 77] Operation: 92-15=77 Exploring Operation: 92-86=6, Resulting Numbers: [15, 6] Generated Node #0,2,4: 83:[15, 6] Operation: 92-86=6 Moving to Node #0,1 Current State: 83:[92, 43, 30], Operations: ['15*2=30'] Exploring Operation: 92-30=62, Resulting Numbers: [43, 62] Generated Node #0,1,0: 83:[43, 62] Operation: 92-30=62 Exploring Operation: 92-43=49, Resulting Numbers: [30, 49] Generated Node #0,1,1: 83:[30, 49] Operation: 92-43=49 Exploring Operation: 92+30=122, Resulting Numbers: [43, 122] Generated Node #0,1,2: 83:[43, 122] Operation: 92+30=122 Exploring Operation: 43-30=13, Resulting Numbers: [92, 13] Generated Node #0,1,3: 83:[92, 13] Operation: 43-30=13 Exploring Operation: 43+30=73, Resulting Numbers: [92, 73] Generated Node #0,1,4: 83:[92, 73] Operation: 43+30=73 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[92, 73], Operations: ['15*2=30', '43+30=73'] Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,83 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[43, 62], Operations: ['15*2=30', '92-30=62'] Exploring Operation: 43+62=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 43*62=2666, Resulting Numbers: [2666] 2666,83 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[43, 122], Operations: ['15*2=30', '92+30=122'] Exploring Operation: 43*122=5246, Resulting Numbers: [5246] 5246,83 unequal: No Solution Exploring Operation: 122-43=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 43+122=165, Resulting Numbers: [165] 165,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[92, 13], Operations: ['15*2=30', '43-30=13'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[30, 49], Operations: ['15*2=30', '92-43=49'] Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,83 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: 83:[92, 2, 58], Operations: ['15+43=58'] Exploring Operation: 2+58=60, Resulting Numbers: [92, 60] Generated Node #0,0,0: 83:[92, 60] Operation: 2+58=60 Exploring Operation: 58-2=56, Resulting Numbers: [92, 56] Generated Node #0,0,1: 83:[92, 56] Operation: 58-2=56 Exploring Operation: 92+2=94, Resulting Numbers: [58, 94] Generated Node #0,0,2: 83:[58, 94] Operation: 92+2=94 Exploring Operation: 92-2=90, Resulting Numbers: [58, 90] Generated Node #0,0,3: 83:[58, 90] Operation: 92-2=90 Exploring Operation: 2*58=116, Resulting Numbers: [92, 116] Generated Node #0,0,4: 83:[92, 116] Operation: 2*58=116 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[92, 60], Operations: ['15+43=58', '2+58=60'] Exploring Operation: 92+60=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 92*60=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[58, 90], Operations: ['15+43=58', '92-2=90'] Exploring Operation: 58+90=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 58*90=5220, Resulting Numbers: [5220] 5220,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[92, 56], Operations: ['15+43=58', '58-2=56'] Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,83 unequal: No Solution Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[58, 94], Operations: ['15+43=58', '92+2=94'] Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 58+94=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 58*94=5452, Resulting Numbers: [5452] 5452,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[92, 116], Operations: ['15+43=58', '2*58=116'] Exploring Operation: 116-92=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 92+116=208, Resulting Numbers: [208] 208,83 unequal: No Solution Exploring Operation: 92*116=10672, Resulting Numbers: [10672] 10672,83 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: 83:[92, 43, 17], Operations: ['15+2=17'] Exploring Operation: 92-43=49, Resulting Numbers: [17, 49] Generated Node #0,3,0: 83:[17, 49] Operation: 92-43=49 Exploring Operation: 43-17=26, Resulting Numbers: [92, 26] Generated Node #0,3,1: 83:[92, 26] Operation: 43-17=26 Exploring Operation: 92+17=109, Resulting Numbers: [43, 109] Generated Node #0,3,2: 83:[43, 109] Operation: 92+17=109 Exploring Operation: 43+17=60, Resulting Numbers: [92, 60] Generated Node #0,3,3: 83:[92, 60] Operation: 43+17=60 Exploring Operation: 92-17=75, Resulting Numbers: [43, 75] Generated Node #0,3,4: 83:[43, 75] Operation: 92-17=75 Moving to Node #0,4 Current State: 83:[15, 43, 90], Operations: ['92-2=90'] Exploring Operation: 90-43=47, Resulting Numbers: [15, 47] Generated Node #0,4,0: 83:[15, 47] Operation: 90-43=47 Exploring Operation: 15+90=105, Resulting Numbers: [43, 105] Generated Node #0,4,1: 83:[43, 105] Operation: 15+90=105 Exploring Operation: 15+43=58, Resulting Numbers: [90, 58] Generated Node #0,4,2: 83:[90, 58] Operation: 15+43=58 Exploring Operation: 43-15=28, Resulting Numbers: [90, 28] Generated Node #0,4,3: 83:[90, 28] Operation: 43-15=28 Exploring Operation: 90-15=75, Resulting Numbers: [43, 75] Generated Node #0,4,4: 83:[43, 75] Operation: 90-15=75 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[90, 58], Operations: ['92-2=90', '15+43=58'] Exploring Operation: 90*58=5220, Resulting Numbers: [5220] 5220,83 unequal: No Solution Exploring Operation: 90+58=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 83:[43, 75], Operations: ['92-2=90', '90-15=75'] Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 83:[43, 105], Operations: ['92-2=90', '15+90=105'] Exploring Operation: 43*105=4515, Resulting Numbers: [4515] 4515,83 unequal: No Solution Exploring Operation: 105-43=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 43+105=148, Resulting Numbers: [148] 148,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 83:[90, 28], Operations: ['92-2=90', '43-15=28'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[15, 47], Operations: ['92-2=90', '90-43=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 83:[86, 77], Operations: ['43*2=86', '92-15=77'] Exploring Operation: 86+77=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 86*77=6622, Resulting Numbers: [6622] 6622,83 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[92, 71], Operations: ['43*2=86', '86-15=71'] Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 92+71=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 92*71=6532, Resulting Numbers: [6532] 6532,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[92, 101], Operations: ['43*2=86', '15+86=101'] Exploring Operation: 101-92=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 92+101=193, Resulting Numbers: [193] 193,83 unequal: No Solution Exploring Operation: 92*101=9292, Resulting Numbers: [9292] 9292,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[86, 107], Operations: ['43*2=86', '92+15=107'] Exploring Operation: 86+107=193, Resulting Numbers: [193] 193,83 unequal: No Solution Exploring Operation: 107-86=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 86*107=9202, Resulting Numbers: [9202] 9202,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[92, 60], Operations: ['15+2=17', '43+17=60'] Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 92+60=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 92*60=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[43, 75], Operations: ['15+2=17', '92-17=75'] Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[43, 109], Operations: ['15+2=17', '92+17=109'] Exploring Operation: 109-43=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 43*109=4687, Resulting Numbers: [4687] 4687,83 unequal: No Solution Exploring Operation: 43+109=152, Resulting Numbers: [152] 152,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[92, 26], Operations: ['15+2=17', '43-17=26'] Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,83 unequal: No Solution Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[17, 49], Operations: ['15+2=17', '92-43=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[15, 6], Operations: ['43*2=86', '92-86=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,83 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,83 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 47, 53, 94, 13 ]
19
[ "47+53=100", "94-13=81", "100-81=19" ]
Current State: 19:[47, 53, 94, 13], Operations: [] Exploring Operation: 47+53=100, Resulting Numbers: [94, 13, 100] Generated Node #2: [94, 13, 100] from Operation: 47+53=100 Current State: 19:[94, 13, 100], Operations: ['47+53=100'] Exploring Operation: 94-13=81, Resulting Numbers: [100, 81] Generated Node #3: [100, 81] from Operation: 94-13=81 Current State: 19:[100, 81], Operations: ['47+53=100', '94-13=81'] Exploring Operation: 100-81=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[47, 53, 94, 13], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [53, 13, 2] Generated Node #0,0: 19:[53, 13, 2] Operation: 94/47=2 Exploring Operation: 94-53=41, Resulting Numbers: [47, 13, 41] Generated Node #0,1: 19:[47, 13, 41] Operation: 94-53=41 Moving to Node #0,1 Current State: 19:[47, 13, 41], Operations: ['94-53=41'] Exploring Operation: 47-13=34, Resulting Numbers: [41, 34] Generated Node #0,1,0: 19:[41, 34] Operation: 47-13=34 Exploring Operation: 47-41=6, Resulting Numbers: [13, 6] Generated Node #0,1,1: 19:[13, 6] Operation: 47-41=6 Moving to Node #0,0 Current State: 19:[53, 13, 2], Operations: ['94/47=2'] Exploring Operation: 53-13=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 19:[2, 40] Operation: 53-13=40 Exploring Operation: 53-2=51, Resulting Numbers: [13, 51] Generated Node #0,0,1: 19:[13, 51] Operation: 53-2=51 Moving to Node #0,1,1 Current State: 19:[13, 6], Operations: ['94-53=41', '47-41=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[47, 53, 94, 13], Operations: [] Exploring Operation: 94-53=41, Resulting Numbers: [47, 13, 41] Generated Node #0,1: 19:[47, 13, 41] Operation: 94-53=41 Moving to Node #0,1 Current State: 19:[47, 13, 41], Operations: ['94-53=41'] Exploring Operation: 47-41=6, Resulting Numbers: [13, 6] Generated Node #0,1,1: 19:[13, 6] Operation: 47-41=6 Moving to Node #0,1,1 Current State: 19:[13, 6], Operations: ['94-53=41', '47-41=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 61, 88, 2, 89 ]
31
[ "88-61=27", "89-27=62", "62/2=31" ]
Current State: 31:[61, 88, 2, 89], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [2, 89, 27] Generated Node #2: [2, 89, 27] from Operation: 88-61=27 Current State: 31:[2, 89, 27], Operations: ['88-61=27'] Exploring Operation: 89-27=62, Resulting Numbers: [2, 62] Generated Node #3: [2, 62] from Operation: 89-27=62 Current State: 31:[2, 62], Operations: ['88-61=27', '89-27=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[61, 88, 2, 89], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [88, 2, 28] Generated Node #0,0: 31:[88, 2, 28] Operation: 89-61=28 Moving to Node #0,0 Current State: 31:[88, 2, 28], Operations: ['89-61=28'] Exploring Operation: 88/2=44, Resulting Numbers: [28, 44] Generated Node #0,0,0: 31:[28, 44] Operation: 88/2=44 Moving to Node #0,0,0 Current State: 31:[28, 44], Operations: ['89-61=28', '88/2=44'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 96, 55, 88, 72 ]
44
[ "88-55=33", "96*33=3168", "3168/72=44" ]
Current State: 44:[96, 55, 88, 72], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [96, 72, 33] Generated Node #2: [96, 72, 33] from Operation: 88-55=33 Current State: 44:[96, 72, 33], Operations: ['88-55=33'] Exploring Operation: 96*33=3168, Resulting Numbers: [72, 3168] Generated Node #3: [72, 3168] from Operation: 96*33=3168 Current State: 44:[72, 3168], Operations: ['88-55=33', '96*33=3168'] Exploring Operation: 3168/72=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[96, 55, 88, 72], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [55, 72, 8] Generated Node #0,0: 44:[55, 72, 8] Operation: 96-88=8 Exploring Operation: 96-72=24, Resulting Numbers: [55, 88, 24] Generated Node #0,1: 44:[55, 88, 24] Operation: 96-72=24 Exploring Operation: 88-72=16, Resulting Numbers: [96, 55, 16] Generated Node #0,2: 44:[96, 55, 16] Operation: 88-72=16 Moving to Node #0,0 Current State: 44:[55, 72, 8], Operations: ['96-88=8'] Exploring Operation: 72-55=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 44:[8, 17] Operation: 72-55=17 Exploring Operation: 72/8=9, Resulting Numbers: [55, 9] Generated Node #0,0,1: 44:[55, 9] Operation: 72/8=9 Exploring Operation: 55-8=47, Resulting Numbers: [72, 47] Generated Node #0,0,2: 44:[72, 47] Operation: 55-8=47 Moving to Node #0,1 Current State: 44:[55, 88, 24], Operations: ['96-72=24'] Exploring Operation: 88-24=64, Resulting Numbers: [55, 64] Generated Node #0,1,0: 44:[55, 64] Operation: 88-24=64 Exploring Operation: 88-55=33, Resulting Numbers: [24, 33] Generated Node #0,1,1: 44:[24, 33] Operation: 88-55=33 Exploring Operation: 55-24=31, Resulting Numbers: [88, 31] Generated Node #0,1,2: 44:[88, 31] Operation: 55-24=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[24, 33], Operations: ['96-72=24', '88-55=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[55, 64], Operations: ['96-72=24', '88-24=64'] Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,44 unequal: No Solution Exploring Operation: 55*64=3520, Resulting Numbers: [3520] 3520,44 unequal: No Solution Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[88, 31], Operations: ['96-72=24', '55-24=31'] Exploring Operation: 88*31=2728, Resulting Numbers: [2728] 2728,44 unequal: No Solution Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 88+31=119, Resulting Numbers: [119] 119,44 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: 44:[96, 55, 16], Operations: ['88-72=16'] Exploring Operation: 96/16=6, Resulting Numbers: [55, 6] Generated Node #0,2,0: 44:[55, 6] Operation: 96/16=6 Exploring Operation: 96-55=41, Resulting Numbers: [16, 41] Generated Node #0,2,1: 44:[16, 41] Operation: 96-55=41 Exploring Operation: 96-16=80, Resulting Numbers: [55, 80] Generated Node #0,2,2: 44:[55, 80] Operation: 96-16=80 Moving to Node #0,0,0 Current State: 44:[8, 17], Operations: ['96-88=8', '72-55=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,44 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[16, 41], Operations: ['88-72=16', '96-55=41'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,44 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[55, 6], Operations: ['88-72=16', '96/16=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,44 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[55, 9], Operations: ['96-88=8', '72/8=9'] Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,44 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[72, 47], Operations: ['96-88=8', '55-8=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,44 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,44 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[55, 80], Operations: ['88-72=16', '96-16=80'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,44 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,44 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 25, 57, 64, 3 ]
20
[ "64-25=39", "57/3=19", "39-19=20" ]
Current State: 20:[25, 57, 64, 3], Operations: [] Exploring Operation: 64-25=39, Resulting Numbers: [57, 3, 39] Generated Node #2: [57, 3, 39] from Operation: 64-25=39 Current State: 20:[57, 3, 39], Operations: ['64-25=39'] Exploring Operation: 57/3=19, Resulting Numbers: [39, 19] Generated Node #3: [39, 19] from Operation: 57/3=19 Current State: 20:[39, 19], Operations: ['64-25=39', '57/3=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[25, 57, 64, 3], Operations: [] Exploring Operation: 57-25=32, Resulting Numbers: [64, 3, 32] Generated Node #0,0: 20:[64, 3, 32] Operation: 57-25=32 Exploring Operation: 64-57=7, Resulting Numbers: [25, 3, 7] Generated Node #0,1: 20:[25, 3, 7] Operation: 64-57=7 Exploring Operation: 57/3=19, Resulting Numbers: [25, 64, 19] Generated Node #0,2: 20:[25, 64, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[25, 3, 7], Operations: ['64-57=7'] Exploring Operation: 25-7=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 20:[3, 18] Operation: 25-7=18 Exploring Operation: 25-3=22, Resulting Numbers: [7, 22] Generated Node #0,1,1: 20:[7, 22] Operation: 25-3=22 Exploring Operation: 3+7=10, Resulting Numbers: [25, 10] Generated Node #0,1,2: 20:[25, 10] Operation: 3+7=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[3, 18], Operations: ['64-57=7', '25-7=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,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,1 Current State: 20:[7, 22], Operations: ['64-57=7', '25-3=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,20 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,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,2 Current State: 20:[25, 10], Operations: ['64-57=7', '3+7=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,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,2 Current State: 20:[25, 64, 19], Operations: ['57/3=19'] Exploring Operation: 25-19=6, Resulting Numbers: [64, 6] Generated Node #0,2,0: 20:[64, 6] Operation: 25-19=6 Exploring Operation: 64-19=45, Resulting Numbers: [25, 45] Generated Node #0,2,1: 20:[25, 45] Operation: 64-19=45 Exploring Operation: 64-25=39, Resulting Numbers: [19, 39] Generated Node #0,2,2: 20:[19, 39] Operation: 64-25=39 Moving to Node #0,2,2 Current State: 20:[19, 39], Operations: ['57/3=19', '64-25=39'] Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,20 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[25, 57, 64, 3], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [25, 64, 19] Generated Node #0,2: 20:[25, 64, 19] Operation: 57/3=19 Moving to Node #0,2 Current State: 20:[25, 64, 19], Operations: ['57/3=19'] Exploring Operation: 64-25=39, Resulting Numbers: [19, 39] Generated Node #0,2,2: 20:[19, 39] Operation: 64-25=39 Moving to Node #0,2,2 Current State: 20:[19, 39], Operations: ['57/3=19', '64-25=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 54, 72, 53, 52 ]
38
[ "54-52=2", "72-53=19", "2*19=38" ]
Current State: 38:[54, 72, 53, 52], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [72, 53, 2] Generated Node #2: [72, 53, 2] from Operation: 54-52=2 Current State: 38:[72, 53, 2], Operations: ['54-52=2'] Exploring Operation: 72-53=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 72-53=19 Current State: 38:[2, 19], Operations: ['54-52=2', '72-53=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[54, 72, 53, 52], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [54, 53, 20] Generated Node #0,0: 38:[54, 53, 20] Operation: 72-52=20 Exploring Operation: 72-54=18, Resulting Numbers: [53, 52, 18] Generated Node #0,1: 38:[53, 52, 18] Operation: 72-54=18 Exploring Operation: 72-53=19, Resulting Numbers: [54, 52, 19] Generated Node #0,2: 38:[54, 52, 19] Operation: 72-53=19 Moving to Node #0,1 Current State: 38:[53, 52, 18], Operations: ['72-54=18'] Exploring Operation: 53-52=1, Resulting Numbers: [18, 1] Generated Node #0,1,0: 38:[18, 1] Operation: 53-52=1 Exploring Operation: 53-18=35, Resulting Numbers: [52, 35] Generated Node #0,1,1: 38:[52, 35] Operation: 53-18=35 Exploring Operation: 52-18=34, Resulting Numbers: [53, 34] Generated Node #0,1,2: 38:[53, 34] Operation: 52-18=34 Moving to Node #0,2 Current State: 38:[54, 52, 19], Operations: ['72-53=19'] Exploring Operation: 54-19=35, Resulting Numbers: [52, 35] Generated Node #0,2,0: 38:[52, 35] Operation: 54-19=35 Exploring Operation: 54-52=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 38:[19, 2] Operation: 54-52=2 Exploring Operation: 52-19=33, Resulting Numbers: [54, 33] Generated Node #0,2,2: 38:[54, 33] Operation: 52-19=33 Moving to Node #0,0 Current State: 38:[54, 53, 20], Operations: ['72-52=20'] Exploring Operation: 54-53=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 38:[20, 1] Operation: 54-53=1 Exploring Operation: 54-20=34, Resulting Numbers: [53, 34] Generated Node #0,0,1: 38:[53, 34] Operation: 54-20=34 Exploring Operation: 53-20=33, Resulting Numbers: [54, 33] Generated Node #0,0,2: 38:[54, 33] Operation: 53-20=33 Moving to Node #0,2,1 Current State: 38:[19, 2], Operations: ['72-53=19', '54-52=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[54, 72, 53, 52], Operations: [] Exploring Operation: 72-53=19, Resulting Numbers: [54, 52, 19] Generated Node #0,2: 38:[54, 52, 19] Operation: 72-53=19 Moving to Node #0,2 Current State: 38:[54, 52, 19], Operations: ['72-53=19'] Exploring Operation: 54-52=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 38:[19, 2] Operation: 54-52=2 Moving to Node #0,2,1 Current State: 38:[19, 2], Operations: ['72-53=19', '54-52=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 76, 88, 71, 17 ]
66
[ "88-76=12", "71-17=54", "12+54=66" ]
Current State: 66:[76, 88, 71, 17], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [71, 17, 12] Generated Node #2: [71, 17, 12] from Operation: 88-76=12 Current State: 66:[71, 17, 12], Operations: ['88-76=12'] Exploring Operation: 71-17=54, Resulting Numbers: [12, 54] Generated Node #3: [12, 54] from Operation: 71-17=54 Current State: 66:[12, 54], Operations: ['88-76=12', '71-17=54'] Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[76, 88, 71, 17], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [76, 17, 17] Generated Node #0,0: 66:[76, 17, 17] Operation: 88-71=17 Exploring Operation: 88-17=71, Resulting Numbers: [76, 71, 71] Generated Node #0,1: 66:[76, 71, 71] Operation: 88-17=71 Exploring Operation: 88-76=12, Resulting Numbers: [71, 17, 12] Generated Node #0,2: 66:[71, 17, 12] Operation: 88-76=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[71, 17, 12], Operations: ['88-76=12'] Exploring Operation: 17-12=5, Resulting Numbers: [71, 5] Generated Node #0,2,0: 66:[71, 5] Operation: 17-12=5 Exploring Operation: 71-12=59, Resulting Numbers: [17, 59] Generated Node #0,2,1: 66:[17, 59] Operation: 71-12=59 Exploring Operation: 17+12=29, Resulting Numbers: [71, 29] Generated Node #0,2,2: 66:[71, 29] Operation: 17+12=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[71, 5], Operations: ['88-76=12', '17-12=5'] Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,66 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,66 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[76, 88, 71, 17], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [71, 17, 12] Generated Node #0,2: 66:[71, 17, 12] Operation: 88-76=12 Moving to Node #0,2 Current State: 66:[71, 17, 12], Operations: ['88-76=12'] Exploring Operation: 17-12=5, Resulting Numbers: [71, 5] Generated Node #0,2,0: 66:[71, 5] Operation: 17-12=5 Moving to Node #0,2,0 Current State: 66:[71, 5], Operations: ['88-76=12', '17-12=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 16, 53, 90, 16 ]
69
[ "53-16=37", "90+16=106", "106-37=69" ]
Current State: 69:[16, 53, 90, 16], Operations: [] Exploring Operation: 53-16=37, Resulting Numbers: [90, 37] Generated Node #2: [90, 37] from Operation: 53-16=37 Current State: 69:[90, 37], Operations: ['53-16=37'] Exploring Operation: 90+16=106, Resulting Numbers: [37, 106] Generated Node #3: [37, 106] from Operation: 90+16=106 Current State: 69:[37, 106], Operations: ['53-16=37', '90+16=106'] Exploring Operation: 106-37=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[16, 53, 90, 16], Operations: [] Exploring Operation: 16+53=69, Resulting Numbers: [90, 16, 69] Generated Node #0,0: 69:[90, 16, 69] Operation: 16+53=69 Moving to Node #0,0 Current State: 69:[90, 16, 69], Operations: ['16+53=69'] Exploring Operation: 90-16=74, Resulting Numbers: [69, 74] Generated Node #0,0,0: 69:[69, 74] Operation: 90-16=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[69, 74], Operations: ['16+53=69', '90-16=74'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,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
[ 61, 20, 90, 87 ]
17
[ "90-61=29", "87/29=3", "20-3=17" ]
Current State: 17:[61, 20, 90, 87], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [20, 87, 29] Generated Node #2: [20, 87, 29] from Operation: 90-61=29 Current State: 17:[20, 87, 29], Operations: ['90-61=29'] Exploring Operation: 87/29=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 87/29=3 Current State: 17:[20, 3], Operations: ['90-61=29', '87/29=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[61, 20, 90, 87], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [20, 87, 29] Generated Node #0,0: 17:[20, 87, 29] Operation: 90-61=29 Exploring Operation: 61-20=41, Resulting Numbers: [90, 87, 41] Generated Node #0,1: 17:[90, 87, 41] Operation: 61-20=41 Exploring Operation: 87-61=26, Resulting Numbers: [20, 90, 26] Generated Node #0,2: 17:[20, 90, 26] Operation: 87-61=26 Exploring Operation: 90-87=3, Resulting Numbers: [61, 20, 3] Generated Node #0,3: 17:[61, 20, 3] Operation: 90-87=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[61, 20, 3], Operations: ['90-87=3'] Exploring Operation: 20-3=17, Resulting Numbers: [61, 17] Generated Node #0,3,0: 17:[61, 17] Operation: 20-3=17 Exploring Operation: 61-20=41, Resulting Numbers: [3, 41] Generated Node #0,3,1: 17:[3, 41] Operation: 61-20=41 Exploring Operation: 61-3=58, Resulting Numbers: [20, 58] Generated Node #0,3,2: 17:[20, 58] Operation: 61-3=58 Exploring Operation: 61+3=64, Resulting Numbers: [20, 64] Generated Node #0,3,3: 17:[20, 64] Operation: 61+3=64 Moving to Node #0,3,1 Current State: 17:[3, 41], Operations: ['90-87=3', '61-20=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,17 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[20, 58], Operations: ['90-87=3', '61-3=58'] Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 20*58=1160, Resulting Numbers: [1160] 1160,17 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[61, 17], Operations: ['90-87=3', '20-3=17'] Exploring Operation: 61+17=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 61*17=1037, Resulting Numbers: [1037] 1037,17 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[20, 64], Operations: ['90-87=3', '61+3=64'] Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,17 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[20, 87, 29], Operations: ['90-61=29'] Exploring Operation: 87-20=67, Resulting Numbers: [29, 67] Generated Node #0,0,0: 17:[29, 67] Operation: 87-20=67 Exploring Operation: 87/29=3, Resulting Numbers: [20, 3] Generated Node #0,0,1: 17:[20, 3] Operation: 87/29=3 Exploring Operation: 29-20=9, Resulting Numbers: [87, 9] Generated Node #0,0,2: 17:[87, 9] Operation: 29-20=9 Exploring Operation: 87-29=58, Resulting Numbers: [20, 58] Generated Node #0,0,3: 17:[20, 58] Operation: 87-29=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[20, 3], Operations: ['90-61=29', '87/29=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[61, 20, 90, 87], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [20, 87, 29] Generated Node #0,0: 17:[20, 87, 29] Operation: 90-61=29 Moving to Node #0,0 Current State: 17:[20, 87, 29], Operations: ['90-61=29'] Exploring Operation: 87/29=3, Resulting Numbers: [20, 3] Generated Node #0,0,1: 17:[20, 3] Operation: 87/29=3 Moving to Node #0,0,1 Current State: 17:[20, 3], Operations: ['90-61=29', '87/29=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 65, 40, 40, 26 ]
40
[ "65-40=25", "26-25=1", "40*1=40" ]
Current State: 40:[65, 40, 40, 26], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [26, 25] Generated Node #2: [26, 25] from Operation: 65-40=25 Current State: 40:[26, 25], Operations: ['65-40=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,40 equal: Goal Reached Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[65, 40, 40, 26], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [40, 26, 25] Generated Node #0,0: 40:[40, 26, 25] Operation: 65-40=25 Exploring Operation: 40-26=14, Resulting Numbers: [65, 40, 14] Generated Node #0,1: 40:[65, 40, 14] Operation: 40-26=14 Exploring Operation: 40-26=14, Resulting Numbers: [65, 40, 14] Generated Node #0,2: 40:[65, 40, 14] Operation: 40-26=14 Exploring Operation: 65-26=39, Resulting Numbers: [40, 40, 39] Generated Node #0,3: 40:[40, 40, 39] Operation: 65-26=39 Exploring Operation: 65-40=25, Resulting Numbers: [40, 26, 25] Generated Node #0,4: 40:[40, 26, 25] Operation: 65-40=25 Moving to Node #0,3 Current State: 40:[40, 40, 39], Operations: ['65-26=39'] Exploring Operation: 40/40=1, Resulting Numbers: [39, 1] Generated Node #0,3,0: 40:[39, 1] Operation: 40/40=1 Exploring Operation: 40-39=1, Resulting Numbers: [40, 1] Generated Node #0,3,1: 40:[40, 1] Operation: 40-39=1 Exploring Operation: 40-40=0, Resulting Numbers: [39, 0] Generated Node #0,3,2: 40:[39, 0] Operation: 40-40=0 Exploring Operation: 40-39=1, Resulting Numbers: [40, 1] Generated Node #0,3,3: 40:[40, 1] Operation: 40-39=1 Exploring Operation: 40+39=79, Resulting Numbers: [40, 79] Generated Node #0,3,4: 40:[40, 79] Operation: 40+39=79 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[40, 1], Operations: ['65-26=39', '40-39=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[65, 40, 40, 26], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [40, 40, 39] Generated Node #0,3: 40:[40, 40, 39] Operation: 65-26=39 Moving to Node #0,3 Current State: 40:[40, 40, 39], Operations: ['65-26=39'] Exploring Operation: 40-39=1, Resulting Numbers: [40, 1] Generated Node #0,3,1: 40:[40, 1] Operation: 40-39=1 Moving to Node #0,3,1 Current State: 40:[40, 1], Operations: ['65-26=39', '40-39=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 25, 63, 80, 80 ]
25
[ "80-80=0", "63*0=0", "25+0=25" ]
Current State: 25:[25, 63, 80, 80], Operations: [] Exploring Operation: 80-80=0, Resulting Numbers: [25, 63, 0] Generated Node #2: [25, 63, 0] from Operation: 80-80=0 Current State: 25:[25, 63, 0], Operations: ['80-80=0'] Exploring Operation: 63*0=0, Resulting Numbers: [25, 0] Generated Node #3: [25, 0] from Operation: 63*0=0 Current State: 25:[25, 0], Operations: ['80-80=0', '63*0=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[25, 63, 80, 80], Operations: [] Exploring Operation: 80/80=1, Resulting Numbers: [25, 63, 1] Generated Node #0,0: 25:[25, 63, 1] Operation: 80/80=1 Moving to Node #0,0 Current State: 25:[25, 63, 1], Operations: ['80/80=1'] Exploring Operation: 63-25=38, Resulting Numbers: [1, 38] Generated Node #0,0,0: 25:[1, 38] Operation: 63-25=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[1, 38], Operations: ['80/80=1', '63-25=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,25 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
[ 59, 81, 76, 43 ]
61
[ "81-43=38", "76/38=2", "59+2=61" ]
Current State: 61:[59, 81, 76, 43], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [59, 76, 38] Generated Node #2: [59, 76, 38] from Operation: 81-43=38 Current State: 61:[59, 76, 38], Operations: ['81-43=38'] Exploring Operation: 76/38=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 76/38=2 Current State: 61:[59, 2], Operations: ['81-43=38', '76/38=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[59, 81, 76, 43], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [59, 76, 38] Generated Node #0,0: 61:[59, 76, 38] Operation: 81-43=38 Exploring Operation: 59+43=102, Resulting Numbers: [81, 76, 102] Generated Node #0,1: 61:[81, 76, 102] Operation: 59+43=102 Exploring Operation: 76-43=33, Resulting Numbers: [59, 81, 33] Generated Node #0,2: 61:[59, 81, 33] Operation: 76-43=33 Exploring Operation: 81-76=5, Resulting Numbers: [59, 43, 5] Generated Node #0,3: 61:[59, 43, 5] Operation: 81-76=5 Exploring Operation: 81-59=22, Resulting Numbers: [76, 43, 22] Generated Node #0,4: 61:[76, 43, 22] Operation: 81-59=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[59, 76, 38], Operations: ['81-43=38'] Exploring Operation: 59-38=21, Resulting Numbers: [76, 21] Generated Node #0,0,0: 61:[76, 21] Operation: 59-38=21 Exploring Operation: 59+38=97, Resulting Numbers: [76, 97] Generated Node #0,0,1: 61:[76, 97] Operation: 59+38=97 Exploring Operation: 76+38=114, Resulting Numbers: [59, 114] Generated Node #0,0,2: 61:[59, 114] Operation: 76+38=114 Exploring Operation: 76-38=38, Resulting Numbers: [59, 38] Generated Node #0,0,3: 61:[59, 38] Operation: 76-38=38 Exploring Operation: 76/38=2, Resulting Numbers: [59, 2] Generated Node #0,0,4: 61:[59, 2] Operation: 76/38=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 61:[59, 38], Operations: ['81-43=38', '76-38=38'] Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,61 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,61 unequal: No Solution No 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: 61:[76, 97], Operations: ['81-43=38', '59+38=97'] Exploring Operation: 76+97=173, Resulting Numbers: [173] 173,61 unequal: No Solution Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 76*97=7372, Resulting Numbers: [7372] 7372,61 unequal: No Solution No 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: 61:[76, 21], Operations: ['81-43=38', '59-38=21'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,61 unequal: No Solution Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,61 unequal: No Solution No 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: 61:[59, 114], Operations: ['81-43=38', '76+38=114'] Exploring Operation: 59+114=173, Resulting Numbers: [173] 173,61 unequal: No Solution Exploring Operation: 59*114=6726, Resulting Numbers: [6726] 6726,61 unequal: No Solution Exploring Operation: 114-59=55, Resulting Numbers: [55] 55,61 unequal: No Solution No 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: 61:[59, 2], Operations: ['81-43=38', '76/38=2'] Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,61 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[59, 81, 76, 43], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [59, 76, 38] Generated Node #0,0: 61:[59, 76, 38] Operation: 81-43=38 Moving to Node #0,0 Current State: 61:[59, 76, 38], Operations: ['81-43=38'] Exploring Operation: 76/38=2, Resulting Numbers: [59, 2] Generated Node #0,0,4: 61:[59, 2] Operation: 76/38=2 Moving to Node #0,0,4 Current State: 61:[59, 2], Operations: ['81-43=38', '76/38=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 83, 52, 69, 87 ]
86
[ "69+87=156", "156/52=3", "83+3=86" ]
Current State: 86:[83, 52, 69, 87], Operations: [] Exploring Operation: 69+87=156, Resulting Numbers: [83, 52, 156] Generated Node #2: [83, 52, 156] from Operation: 69+87=156 Current State: 86:[83, 52, 156], Operations: ['69+87=156'] Exploring Operation: 156/52=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 156/52=3 Current State: 86:[83, 3], Operations: ['69+87=156', '156/52=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[83, 52, 69, 87], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [83, 87, 17] Generated Node #0,0: 86:[83, 87, 17] Operation: 69-52=17 Exploring Operation: 83-69=14, Resulting Numbers: [52, 87, 14] Generated Node #0,1: 86:[52, 87, 14] Operation: 83-69=14 Exploring Operation: 87-83=4, Resulting Numbers: [52, 69, 4] Generated Node #0,2: 86:[52, 69, 4] Operation: 87-83=4 Exploring Operation: 87-52=35, Resulting Numbers: [83, 69, 35] Generated Node #0,3: 86:[83, 69, 35] Operation: 87-52=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[83, 87, 17], Operations: ['69-52=17'] Exploring Operation: 83-17=66, Resulting Numbers: [87, 66] Generated Node #0,0,0: 86:[87, 66] Operation: 83-17=66 Exploring Operation: 87-17=70, Resulting Numbers: [83, 70] Generated Node #0,0,1: 86:[83, 70] Operation: 87-17=70 Exploring Operation: 87-83=4, Resulting Numbers: [17, 4] Generated Node #0,0,2: 86:[17, 4] Operation: 87-83=4 Exploring Operation: 83+17=100, Resulting Numbers: [87, 100] Generated Node #0,0,3: 86:[87, 100] Operation: 83+17=100 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[87, 100], Operations: ['69-52=17', '83+17=100'] Exploring Operation: 100-87=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 87+100=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 87*100=8700, Resulting Numbers: [8700] 8700,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[17, 4], Operations: ['69-52=17', '87-83=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[83, 70], Operations: ['69-52=17', '87-17=70'] Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,86 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[87, 66], Operations: ['69-52=17', '83-17=66'] Exploring Operation: 87+66=153, Resulting Numbers: [153] 153,86 unequal: No Solution Exploring Operation: 87*66=5742, Resulting Numbers: [5742] 5742,86 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[52, 87, 14], Operations: ['83-69=14'] Exploring Operation: 87-52=35, Resulting Numbers: [14, 35] Generated Node #0,1,0: 86:[14, 35] Operation: 87-52=35 Exploring Operation: 87-14=73, Resulting Numbers: [52, 73] Generated Node #0,1,1: 86:[52, 73] Operation: 87-14=73 Exploring Operation: 52-14=38, Resulting Numbers: [87, 38] Generated Node #0,1,2: 86:[87, 38] Operation: 52-14=38 Exploring Operation: 52+14=66, Resulting Numbers: [87, 66] Generated Node #0,1,3: 86:[87, 66] Operation: 52+14=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[87, 38], Operations: ['83-69=14', '52-14=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,86 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[14, 35], Operations: ['83-69=14', '87-52=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,86 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[87, 66], Operations: ['83-69=14', '52+14=66'] Exploring Operation: 87+66=153, Resulting Numbers: [153] 153,86 unequal: No Solution Exploring Operation: 87*66=5742, Resulting Numbers: [5742] 5742,86 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[52, 73], Operations: ['83-69=14', '87-14=73'] Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,86 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,86 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[52, 69, 4], Operations: ['87-83=4'] Exploring Operation: 69+4=73, Resulting Numbers: [52, 73] Generated Node #0,2,0: 86:[52, 73] Operation: 69+4=73 Exploring Operation: 52/4=13, Resulting Numbers: [69, 13] Generated Node #0,2,1: 86:[69, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [69, 48] Generated Node #0,2,2: 86:[69, 48] Operation: 52-4=48 Exploring Operation: 69-52=17, Resulting Numbers: [4, 17] Generated Node #0,2,3: 86:[4, 17] Operation: 69-52=17 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[4, 17], Operations: ['87-83=4', '69-52=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[52, 73], Operations: ['87-83=4', '69+4=73'] Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,86 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[69, 48], Operations: ['87-83=4', '52-4=48'] Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,86 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[69, 13], Operations: ['87-83=4', '52/4=13'] Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,86 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[83, 69, 35], Operations: ['87-52=35'] Exploring Operation: 69+35=104, Resulting Numbers: [83, 104] Generated Node #0,3,0: 86:[83, 104] Operation: 69+35=104 Exploring Operation: 83-69=14, Resulting Numbers: [35, 14] Generated Node #0,3,1: 86:[35, 14] Operation: 83-69=14 Exploring Operation: 69-35=34, Resulting Numbers: [83, 34] Generated Node #0,3,2: 86:[83, 34] Operation: 69-35=34 Exploring Operation: 83-35=48, Resulting Numbers: [69, 48] Generated Node #0,3,3: 86:[69, 48] Operation: 83-35=48 Moving to Node #0,3,2 Current State: 86:[83, 34], Operations: ['87-52=35', '69-35=34'] Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[35, 14], Operations: ['87-52=35', '83-69=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,86 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[83, 104], Operations: ['87-52=35', '69+35=104'] Exploring Operation: 83*104=8632, Resulting Numbers: [8632] 8632,86 unequal: No Solution Exploring Operation: 83+104=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 104-83=21, Resulting Numbers: [21] 21,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[69, 48], Operations: ['87-52=35', '83-35=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,86 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 69, 91, 40, 55 ]
37
[ "91-69=22", "55-40=15", "22+15=37" ]
Current State: 37:[69, 91, 40, 55], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [40, 55, 22] Generated Node #2: [40, 55, 22] from Operation: 91-69=22 Current State: 37:[40, 55, 22], Operations: ['91-69=22'] Exploring Operation: 55-40=15, Resulting Numbers: [22, 15] Generated Node #3: [22, 15] from Operation: 55-40=15 Current State: 37:[22, 15], Operations: ['91-69=22', '55-40=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[69, 91, 40, 55], Operations: [] Exploring Operation: 91-55=36, Resulting Numbers: [69, 40, 36] Generated Node #0,0: 37:[69, 40, 36] Operation: 91-55=36 Exploring Operation: 91-69=22, Resulting Numbers: [40, 55, 22] Generated Node #0,1: 37:[40, 55, 22] Operation: 91-69=22 Moving to Node #0,0 Current State: 37:[69, 40, 36], Operations: ['91-55=36'] Exploring Operation: 69-40=29, Resulting Numbers: [36, 29] Generated Node #0,0,0: 37:[36, 29] Operation: 69-40=29 Exploring Operation: 69-36=33, Resulting Numbers: [40, 33] Generated Node #0,0,1: 37:[40, 33] Operation: 69-36=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[40, 33], Operations: ['91-55=36', '69-36=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,37 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[36, 29], Operations: ['91-55=36', '69-40=29'] Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 37:[40, 55, 22], Operations: ['91-69=22'] Exploring Operation: 55-22=33, Resulting Numbers: [40, 33] Generated Node #0,1,0: 37:[40, 33] Operation: 55-22=33 Exploring Operation: 55-40=15, Resulting Numbers: [22, 15] Generated Node #0,1,1: 37:[22, 15] Operation: 55-40=15 Moving to Node #0,1,0 Current State: 37:[40, 33], Operations: ['91-69=22', '55-22=33'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[22, 15], Operations: ['91-69=22', '55-40=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[69, 91, 40, 55], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [40, 55, 22] Generated Node #0,1: 37:[40, 55, 22] Operation: 91-69=22 Moving to Node #0,1 Current State: 37:[40, 55, 22], Operations: ['91-69=22'] Exploring Operation: 55-40=15, Resulting Numbers: [22, 15] Generated Node #0,1,1: 37:[22, 15] Operation: 55-40=15 Moving to Node #0,1,1 Current State: 37:[22, 15], Operations: ['91-69=22', '55-40=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 28, 61, 7, 68 ]
67
[ "28*7=196", "61+68=129", "196-129=67" ]
Current State: 67:[28, 61, 7, 68], Operations: [] Exploring Operation: 28*7=196, Resulting Numbers: [61, 68, 196] Generated Node #2: [61, 68, 196] from Operation: 28*7=196 Current State: 67:[61, 68, 196], Operations: ['28*7=196'] Exploring Operation: 61+68=129, Resulting Numbers: [196, 129] Generated Node #3: [196, 129] from Operation: 61+68=129 Current State: 67:[196, 129], Operations: ['28*7=196', '61+68=129'] Exploring Operation: 196-129=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[28, 61, 7, 68], Operations: [] Exploring Operation: 28+7=35, Resulting Numbers: [61, 68, 35] Generated Node #0,0: 67:[61, 68, 35] Operation: 28+7=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[61, 68, 35], Operations: ['28+7=35'] Exploring Operation: 61+35=96, Resulting Numbers: [68, 96] Generated Node #0,0,0: 67:[68, 96] Operation: 61+35=96 Moving to Node #0,0,0 Current State: 67:[68, 96], Operations: ['28+7=35', '61+35=96'] Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,67 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
[ 73, 12, 48, 71 ]
12
[ "73-71=2", "48/2=24", "24-12=12" ]
Current State: 12:[73, 12, 48, 71], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [12, 48, 2] Generated Node #2: [12, 48, 2] from Operation: 73-71=2 Current State: 12:[12, 48, 2], Operations: ['73-71=2'] Exploring Operation: 48/2=24, Resulting Numbers: [12, 24] Generated Node #3: [12, 24] from Operation: 48/2=24 Current State: 12:[12, 24], Operations: ['73-71=2', '48/2=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[73, 12, 48, 71], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [12, 48, 2] Generated Node #0,0: 12:[12, 48, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[12, 48, 2], Operations: ['73-71=2'] Exploring Operation: 48/12=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 12:[2, 4] Operation: 48/12=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[2, 4], Operations: ['73-71=2', '48/12=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 80, 2, 24, 95 ]
27
[ "95-80=15", "24/2=12", "15+12=27" ]
Current State: 27:[80, 2, 24, 95], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [2, 24, 15] Generated Node #2: [2, 24, 15] from Operation: 95-80=15 Current State: 27:[2, 24, 15], Operations: ['95-80=15'] Exploring Operation: 24/2=12, Resulting Numbers: [15, 12] Generated Node #3: [15, 12] from Operation: 24/2=12 Current State: 27:[15, 12], Operations: ['95-80=15', '24/2=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[80, 2, 24, 95], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [24, 95, 40] Generated Node #0,0: 27:[24, 95, 40] Operation: 80/2=40 Exploring Operation: 95-80=15, Resulting Numbers: [2, 24, 15] Generated Node #0,1: 27:[2, 24, 15] Operation: 95-80=15 Moving to Node #0,1 Current State: 27:[2, 24, 15], Operations: ['95-80=15'] Exploring Operation: 24-15=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 27:[2, 9] Operation: 24-15=9 Exploring Operation: 2*15=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 27:[24, 30] Operation: 2*15=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[2, 9], Operations: ['95-80=15', '24-15=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,27 unequal: No Solution No 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: 27:[24, 30], Operations: ['95-80=15', '2*15=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,27 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: 27:[24, 95, 40], Operations: ['80/2=40'] Exploring Operation: 95-24=71, Resulting Numbers: [40, 71] Generated Node #0,0,0: 27:[40, 71] Operation: 95-24=71 Exploring Operation: 95-40=55, Resulting Numbers: [24, 55] Generated Node #0,0,1: 27:[24, 55] Operation: 95-40=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[24, 55], Operations: ['80/2=40', '95-40=55'] Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,27 unequal: No Solution No 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: 27:[40, 71], Operations: ['80/2=40', '95-24=71'] Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,27 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
[ 78, 14, 71, 47 ]
26
[ "78+14=92", "71+47=118", "118-92=26" ]
Current State: 26:[78, 14, 71, 47], Operations: [] Exploring Operation: 78+14=92, Resulting Numbers: [71, 47, 92] Generated Node #2: [71, 47, 92] from Operation: 78+14=92 Current State: 26:[71, 47, 92], Operations: ['78+14=92'] Exploring Operation: 71+47=118, Resulting Numbers: [92, 118] Generated Node #3: [92, 118] from Operation: 71+47=118 Current State: 26:[92, 118], Operations: ['78+14=92', '71+47=118'] Exploring Operation: 118-92=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[78, 14, 71, 47], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [14, 71, 31] Generated Node #0,0: 26:[14, 71, 31] Operation: 78-47=31 Exploring Operation: 78-71=7, Resulting Numbers: [14, 47, 7] Generated Node #0,1: 26:[14, 47, 7] Operation: 78-71=7 Moving to Node #0,1 Current State: 26:[14, 47, 7], Operations: ['78-71=7'] Exploring Operation: 47-14=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 26:[7, 33] Operation: 47-14=33 Exploring Operation: 47-7=40, Resulting Numbers: [14, 40] Generated Node #0,1,1: 26:[14, 40] Operation: 47-7=40 Moving to Node #0,0 Current State: 26:[14, 71, 31], Operations: ['78-47=31'] Exploring Operation: 71-14=57, Resulting Numbers: [31, 57] Generated Node #0,0,0: 26:[31, 57] Operation: 71-14=57 Exploring Operation: 71-31=40, Resulting Numbers: [14, 40] Generated Node #0,0,1: 26:[14, 40] Operation: 71-31=40 Moving to Node #0,1,0 Current State: 26:[7, 33], Operations: ['78-71=7', '47-14=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[78, 14, 71, 47], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [14, 47, 7] Generated Node #0,1: 26:[14, 47, 7] Operation: 78-71=7 Moving to Node #0,1 Current State: 26:[14, 47, 7], Operations: ['78-71=7'] Exploring Operation: 47-14=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 26:[7, 33] Operation: 47-14=33 Moving to Node #0,1,0 Current State: 26:[7, 33], Operations: ['78-71=7', '47-14=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 86, 99, 95, 62 ]
73
[ "95-86=9", "99/9=11", "62+11=73" ]
Current State: 73:[86, 99, 95, 62], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [99, 62, 9] Generated Node #2: [99, 62, 9] from Operation: 95-86=9 Current State: 73:[99, 62, 9], Operations: ['95-86=9'] Exploring Operation: 99/9=11, Resulting Numbers: [62, 11] Generated Node #3: [62, 11] from Operation: 99/9=11 Current State: 73:[62, 11], Operations: ['95-86=9', '99/9=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[86, 99, 95, 62], Operations: [] Exploring Operation: 99-62=37, Resulting Numbers: [86, 95, 37] Generated Node #0,0: 73:[86, 95, 37] Operation: 99-62=37 Exploring Operation: 95-62=33, Resulting Numbers: [86, 99, 33] Generated Node #0,1: 73:[86, 99, 33] Operation: 95-62=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[86, 95, 37], Operations: ['99-62=37'] Exploring Operation: 86-37=49, Resulting Numbers: [95, 49] Generated Node #0,0,0: 73:[95, 49] Operation: 86-37=49 Exploring Operation: 95-37=58, Resulting Numbers: [86, 58] Generated Node #0,0,1: 73:[86, 58] Operation: 95-37=58 Moving to Node #0,0,1 Current State: 73:[86, 58], Operations: ['99-62=37', '95-37=58'] Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,73 unequal: No Solution Exploring Operation: 86+58=144, Resulting Numbers: [144] 144,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[95, 49], Operations: ['99-62=37', '86-37=49'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[86, 99, 33], Operations: ['95-62=33'] Exploring Operation: 99-33=66, Resulting Numbers: [86, 66] Generated Node #0,1,0: 73:[86, 66] Operation: 99-33=66 Exploring Operation: 86-33=53, Resulting Numbers: [99, 53] Generated Node #0,1,1: 73:[99, 53] Operation: 86-33=53 Moving to Node #0,1,0 Current State: 73:[86, 66], Operations: ['95-62=33', '99-33=66'] Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[99, 53], Operations: ['95-62=33', '86-33=53'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 99+53=152, Resulting Numbers: [152] 152,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 78, 69, 2, 48 ]
54
[ "78-48=30", "30/2=15", "69-15=54" ]
Current State: 54:[78, 69, 2, 48], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [69, 2, 30] Generated Node #2: [69, 2, 30] from Operation: 78-48=30 Current State: 54:[69, 2, 30], Operations: ['78-48=30'] Exploring Operation: 30/2=15, Resulting Numbers: [69, 15] Generated Node #3: [69, 15] from Operation: 30/2=15 Current State: 54:[69, 15], Operations: ['78-48=30', '30/2=15'] Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[78, 69, 2, 48], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [69, 2, 30] Generated Node #0,0: 54:[69, 2, 30] Operation: 78-48=30 Exploring Operation: 78-69=9, Resulting Numbers: [2, 48, 9] Generated Node #0,1: 54:[2, 48, 9] Operation: 78-69=9 Exploring Operation: 69-48=21, Resulting Numbers: [78, 2, 21] Generated Node #0,2: 54:[78, 2, 21] Operation: 69-48=21 Moving to Node #0,1 Current State: 54:[2, 48, 9], Operations: ['78-69=9'] Exploring Operation: 48/2=24, Resulting Numbers: [9, 24] Generated Node #0,1,0: 54:[9, 24] Operation: 48/2=24 Exploring Operation: 48+9=57, Resulting Numbers: [2, 57] Generated Node #0,1,1: 54:[2, 57] Operation: 48+9=57 Exploring Operation: 2+48=50, Resulting Numbers: [9, 50] Generated Node #0,1,2: 54:[9, 50] Operation: 2+48=50 Moving to Node #0,0 Current State: 54:[69, 2, 30], Operations: ['78-48=30'] Exploring Operation: 69-2=67, Resulting Numbers: [30, 67] Generated Node #0,0,0: 54:[30, 67] Operation: 69-2=67 Exploring Operation: 30-2=28, Resulting Numbers: [69, 28] Generated Node #0,0,1: 54:[69, 28] Operation: 30-2=28 Exploring Operation: 69-30=39, Resulting Numbers: [2, 39] Generated Node #0,0,2: 54:[2, 39] Operation: 69-30=39 Moving to Node #0,2 Current State: 54:[78, 2, 21], Operations: ['69-48=21'] Exploring Operation: 78-21=57, Resulting Numbers: [2, 57] Generated Node #0,2,0: 54:[2, 57] Operation: 78-21=57 Exploring Operation: 78/2=39, Resulting Numbers: [21, 39] Generated Node #0,2,1: 54:[21, 39] Operation: 78/2=39 Exploring Operation: 78-2=76, Resulting Numbers: [21, 76] Generated Node #0,2,2: 54:[21, 76] Operation: 78-2=76 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[2, 57], Operations: ['69-48=21', '78-21=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[21, 39], Operations: ['69-48=21', '78/2=39'] Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,54 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[21, 76], Operations: ['69-48=21', '78-2=76'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,54 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 54:[9, 24], Operations: ['78-69=9', '48/2=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[2, 57], Operations: ['78-69=9', '48+9=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[9, 50], Operations: ['78-69=9', '2+48=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,54 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[2, 39], Operations: ['78-48=30', '69-30=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,54 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,54 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[69, 28], Operations: ['78-48=30', '30-2=28'] Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,54 unequal: No Solution Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,54 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[30, 67], Operations: ['78-48=30', '69-2=67'] Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,54 unequal: No Solution Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,54 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,54 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 49, 96, 58, 55 ]
81
[ "58-55=3", "96/3=32", "49+32=81" ]
Current State: 81:[49, 96, 58, 55], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [49, 96, 3] Generated Node #2: [49, 96, 3] from Operation: 58-55=3 Current State: 81:[49, 96, 3], Operations: ['58-55=3'] Exploring Operation: 96/3=32, Resulting Numbers: [49, 32] Generated Node #3: [49, 32] from Operation: 96/3=32 Current State: 81:[49, 32], Operations: ['58-55=3', '96/3=32'] Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[49, 96, 58, 55], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [49, 96, 3] Generated Node #0,0: 81:[49, 96, 3] Operation: 58-55=3 Moving to Node #0,0 Current State: 81:[49, 96, 3], Operations: ['58-55=3'] Exploring Operation: 96-49=47, Resulting Numbers: [3, 47] Generated Node #0,0,0: 81:[3, 47] Operation: 96-49=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[3, 47], Operations: ['58-55=3', '96-49=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 8, 37, 4 ]
33
[ "35*8=280", "280/4=70", "70-37=33" ]
Current State: 33:[35, 8, 37, 4], Operations: [] Exploring Operation: 35*8=280, Resulting Numbers: [37, 4, 280] Generated Node #2: [37, 4, 280] from Operation: 35*8=280 Current State: 33:[37, 4, 280], Operations: ['35*8=280'] Exploring Operation: 280/4=70, Resulting Numbers: [37, 70] Generated Node #3: [37, 70] from Operation: 280/4=70 Current State: 33:[37, 70], Operations: ['35*8=280', '280/4=70'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[35, 8, 37, 4], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [8, 4, 2] Generated Node #0,0: 33:[8, 4, 2] Operation: 37-35=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[8, 4, 2], Operations: ['37-35=2'] Exploring Operation: 8+4=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 33:[2, 12] Operation: 8+4=12 Moving to Node #0,0,0 Current State: 33:[2, 12], Operations: ['37-35=2', '8+4=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 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
[ 29, 91, 96, 78 ]
97
[ "96+78=174", "174/29=6", "91+6=97" ]
Current State: 97:[29, 91, 96, 78], Operations: [] Exploring Operation: 96+78=174, Resulting Numbers: [29, 91, 174] Generated Node #2: [29, 91, 174] from Operation: 96+78=174 Current State: 97:[29, 91, 174], Operations: ['96+78=174'] Exploring Operation: 174/29=6, Resulting Numbers: [91, 6] Generated Node #3: [91, 6] from Operation: 174/29=6 Current State: 97:[91, 6], Operations: ['96+78=174', '174/29=6'] Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[29, 91, 96, 78], Operations: [] Exploring Operation: 29+78=107, Resulting Numbers: [91, 96, 107] Generated Node #0,0: 97:[91, 96, 107] Operation: 29+78=107 Exploring Operation: 29+91=120, Resulting Numbers: [96, 78, 120] Generated Node #0,1: 97:[96, 78, 120] Operation: 29+91=120 Moving to Node #0,0 Current State: 97:[91, 96, 107], Operations: ['29+78=107'] Exploring Operation: 107-91=16, Resulting Numbers: [96, 16] Generated Node #0,0,0: 97:[96, 16] Operation: 107-91=16 Exploring Operation: 107-96=11, Resulting Numbers: [91, 11] Generated Node #0,0,1: 97:[91, 11] Operation: 107-96=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[96, 16], Operations: ['29+78=107', '107-91=16'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,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,1 Current State: 97:[91, 11], Operations: ['29+78=107', '107-96=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[96, 78, 120], Operations: ['29+91=120'] Exploring Operation: 120-96=24, Resulting Numbers: [78, 24] Generated Node #0,1,0: 97:[78, 24] Operation: 120-96=24 Exploring Operation: 120-78=42, Resulting Numbers: [96, 42] Generated Node #0,1,1: 97:[96, 42] Operation: 120-78=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[96, 42], Operations: ['29+91=120', '120-78=42'] Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[78, 24], Operations: ['29+91=120', '120-96=24'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,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
sum_heuristic
[ 18, 39, 42, 34 ]
20
[ "42-39=3", "18*3=54", "54-34=20" ]
Current State: 20:[18, 39, 42, 34], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [18, 34, 3] Generated Node #2: [18, 34, 3] from Operation: 42-39=3 Current State: 20:[18, 34, 3], Operations: ['42-39=3'] Exploring Operation: 18*3=54, Resulting Numbers: [34, 54] Generated Node #3: [34, 54] from Operation: 18*3=54 Current State: 20:[34, 54], Operations: ['42-39=3', '18*3=54'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 39, 42, 34], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [18, 34, 3] Generated Node #0,0: 20:[18, 34, 3] Operation: 42-39=3 Exploring Operation: 39-34=5, Resulting Numbers: [18, 42, 5] Generated Node #0,1: 20:[18, 42, 5] Operation: 39-34=5 Exploring Operation: 42-34=8, Resulting Numbers: [18, 39, 8] Generated Node #0,2: 20:[18, 39, 8] Operation: 42-34=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[18, 34, 3], Operations: ['42-39=3'] Exploring Operation: 34-18=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 20:[3, 16] Operation: 34-18=16 Exploring Operation: 18+3=21, Resulting Numbers: [34, 21] Generated Node #0,0,1: 20:[34, 21] Operation: 18+3=21 Exploring Operation: 34-3=31, Resulting Numbers: [18, 31] Generated Node #0,0,2: 20:[18, 31] Operation: 34-3=31 Moving to Node #0,0,0 Current State: 20:[3, 16], Operations: ['42-39=3', '34-18=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[18, 31], Operations: ['42-39=3', '34-3=31'] Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,20 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[34, 21], Operations: ['42-39=3', '18+3=21'] Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,20 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[18, 39, 8], Operations: ['42-34=8'] Exploring Operation: 39-8=31, Resulting Numbers: [18, 31] Generated Node #0,2,0: 20:[18, 31] Operation: 39-8=31 Exploring Operation: 39-18=21, Resulting Numbers: [8, 21] Generated Node #0,2,1: 20:[8, 21] Operation: 39-18=21 Exploring Operation: 18-8=10, Resulting Numbers: [39, 10] Generated Node #0,2,2: 20:[39, 10] Operation: 18-8=10 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[8, 21], Operations: ['42-34=8', '39-18=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,20 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,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,2,0 Current State: 20:[18, 31], Operations: ['42-34=8', '39-8=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,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,2,2 Current State: 20:[39, 10], Operations: ['42-34=8', '18-8=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,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:[18, 42, 5], Operations: ['39-34=5'] Exploring Operation: 42-5=37, Resulting Numbers: [18, 37] Generated Node #0,1,0: 20:[18, 37] Operation: 42-5=37 Exploring Operation: 42-18=24, Resulting Numbers: [5, 24] Generated Node #0,1,1: 20:[5, 24] Operation: 42-18=24 Exploring Operation: 18+5=23, Resulting Numbers: [42, 23] Generated Node #0,1,2: 20:[42, 23] Operation: 18+5=23 Moving to Node #0,1,1 Current State: 20:[5, 24], Operations: ['39-34=5', '42-18=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[18, 37], Operations: ['39-34=5', '42-5=37'] Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 18*37=666, Resulting Numbers: [666] 666,20 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[42, 23], Operations: ['39-34=5', '18+5=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 81, 35, 95, 59 ]
81
[ "95-35=60", "60-59=1", "81*1=81" ]
Current State: 81:[81, 35, 95, 59], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [81, 59, 60] Generated Node #2: [81, 59, 60] from Operation: 95-35=60 Current State: 81:[81, 59, 60], Operations: ['95-35=60'] Exploring Operation: 60-59=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 60-59=1 Current State: 81:[81, 1], Operations: ['95-35=60', '60-59=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[81, 35, 95, 59], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [81, 95, 24] Generated Node #0,0: 81:[81, 95, 24] Operation: 59-35=24 Exploring Operation: 35+59=94, Resulting Numbers: [81, 95, 94] Generated Node #0,1: 81:[81, 95, 94] Operation: 35+59=94 Exploring Operation: 81-59=22, Resulting Numbers: [35, 95, 22] Generated Node #0,2: 81:[35, 95, 22] Operation: 81-59=22 Exploring Operation: 95-59=36, Resulting Numbers: [81, 35, 36] Generated Node #0,3: 81:[81, 35, 36] Operation: 95-59=36 Moving to Node #0,0 Current State: 81:[81, 95, 24], Operations: ['59-35=24'] Exploring Operation: 81+24=105, Resulting Numbers: [95, 105] Generated Node #0,0,0: 81:[95, 105] Operation: 81+24=105 Exploring Operation: 95-24=71, Resulting Numbers: [81, 71] Generated Node #0,0,1: 81:[81, 71] Operation: 95-24=71 Exploring Operation: 81-24=57, Resulting Numbers: [95, 57] Generated Node #0,0,2: 81:[95, 57] Operation: 81-24=57 Exploring Operation: 95-81=14, Resulting Numbers: [24, 14] Generated Node #0,0,3: 81:[24, 14] Operation: 95-81=14 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[24, 14], Operations: ['59-35=24', '95-81=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,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,0,1 Current State: 81:[81, 71], Operations: ['59-35=24', '95-24=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,81 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,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,0,0 Current State: 81:[95, 105], Operations: ['59-35=24', '81+24=105'] Exploring Operation: 105-95=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 95*105=9975, Resulting Numbers: [9975] 9975,81 unequal: No Solution Exploring Operation: 95+105=200, Resulting Numbers: [200] 200,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,0,2 Current State: 81:[95, 57], Operations: ['59-35=24', '81-24=57'] Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,81 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,81 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: 81:[81, 35, 36], Operations: ['95-59=36'] Exploring Operation: 81-35=46, Resulting Numbers: [36, 46] Generated Node #0,3,0: 81:[36, 46] Operation: 81-35=46 Exploring Operation: 81-36=45, Resulting Numbers: [35, 45] Generated Node #0,3,1: 81:[35, 45] Operation: 81-36=45 Exploring Operation: 36-35=1, Resulting Numbers: [81, 1] Generated Node #0,3,2: 81:[81, 1] Operation: 36-35=1 Exploring Operation: 35+36=71, Resulting Numbers: [81, 71] Generated Node #0,3,3: 81:[81, 71] Operation: 35+36=71 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[81, 1], Operations: ['95-59=36', '36-35=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[81, 35, 95, 59], Operations: [] Exploring Operation: 95-59=36, Resulting Numbers: [81, 35, 36] Generated Node #0,3: 81:[81, 35, 36] Operation: 95-59=36 Moving to Node #0,3 Current State: 81:[81, 35, 36], Operations: ['95-59=36'] Exploring Operation: 36-35=1, Resulting Numbers: [81, 1] Generated Node #0,3,2: 81:[81, 1] Operation: 36-35=1 Moving to Node #0,3,2 Current State: 81:[81, 1], Operations: ['95-59=36', '36-35=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 33, 18, 69, 17 ]
67
[ "33-18=15", "69-17=52", "15+52=67" ]
Current State: 67:[33, 18, 69, 17], Operations: [] Exploring Operation: 33-18=15, Resulting Numbers: [69, 17, 15] Generated Node #2: [69, 17, 15] from Operation: 33-18=15 Current State: 67:[69, 17, 15], Operations: ['33-18=15'] Exploring Operation: 69-17=52, Resulting Numbers: [15, 52] Generated Node #3: [15, 52] from Operation: 69-17=52 Current State: 67:[15, 52], Operations: ['33-18=15', '69-17=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[33, 18, 69, 17], Operations: [] Exploring Operation: 33+18=51, Resulting Numbers: [69, 17, 51] Generated Node #0,0: 67:[69, 17, 51] Operation: 33+18=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[69, 17, 51], Operations: ['33+18=51'] Exploring Operation: 17+51=68, Resulting Numbers: [69, 68] Generated Node #0,0,0: 67:[69, 68] Operation: 17+51=68 Moving to Node #0,0,0 Current State: 67:[69, 68], Operations: ['33+18=51', '17+51=68'] Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,67 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
[ 25, 77, 3, 2 ]
78
[ "77-25=52", "3*52=156", "156/2=78" ]
Current State: 78:[25, 77, 3, 2], Operations: [] Exploring Operation: 77-25=52, Resulting Numbers: [3, 2, 52] Generated Node #2: [3, 2, 52] from Operation: 77-25=52 Current State: 78:[3, 2, 52], Operations: ['77-25=52'] Exploring Operation: 3*52=156, Resulting Numbers: [2, 156] Generated Node #3: [2, 156] from Operation: 3*52=156 Current State: 78:[2, 156], Operations: ['77-25=52', '3*52=156'] Exploring Operation: 156/2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[25, 77, 3, 2], Operations: [] Exploring Operation: 3*2=6, Resulting Numbers: [25, 77, 6] Generated Node #0,0: 78:[25, 77, 6] Operation: 3*2=6 Exploring Operation: 25+3=28, Resulting Numbers: [77, 2, 28] Generated Node #0,1: 78:[77, 2, 28] Operation: 25+3=28 Exploring Operation: 25+2=27, Resulting Numbers: [77, 3, 27] Generated Node #0,2: 78:[77, 3, 27] Operation: 25+2=27 Exploring Operation: 77+2=79, Resulting Numbers: [25, 3, 79] Generated Node #0,3: 78:[25, 3, 79] Operation: 77+2=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[25, 77, 6], Operations: ['3*2=6'] Exploring Operation: 25-6=19, Resulting Numbers: [77, 19] Generated Node #0,0,0: 78:[77, 19] Operation: 25-6=19 Exploring Operation: 25+6=31, Resulting Numbers: [77, 31] Generated Node #0,0,1: 78:[77, 31] Operation: 25+6=31 Exploring Operation: 77+6=83, Resulting Numbers: [25, 83] Generated Node #0,0,2: 78:[25, 83] Operation: 77+6=83 Exploring Operation: 77-6=71, Resulting Numbers: [25, 71] Generated Node #0,0,3: 78:[25, 71] Operation: 77-6=71 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[77, 31], Operations: ['3*2=6', '25+6=31'] Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,78 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,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,2 Current State: 78:[25, 83], Operations: ['3*2=6', '77+6=83'] Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,78 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,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:[77, 19], Operations: ['3*2=6', '25-6=19'] Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,78 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,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,3 Current State: 78:[25, 71], Operations: ['3*2=6', '77-6=71'] Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,78 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[77, 3, 27], Operations: ['25+2=27'] Exploring Operation: 27/3=9, Resulting Numbers: [77, 9] Generated Node #0,2,0: 78:[77, 9] Operation: 27/3=9 Exploring Operation: 3*27=81, Resulting Numbers: [77, 81] Generated Node #0,2,1: 78:[77, 81] Operation: 3*27=81 Exploring Operation: 27-3=24, Resulting Numbers: [77, 24] Generated Node #0,2,2: 78:[77, 24] Operation: 27-3=24 Exploring Operation: 77+3=80, Resulting Numbers: [27, 80] Generated Node #0,2,3: 78:[27, 80] Operation: 77+3=80 Moving to Node #0,2,2 Current State: 78:[77, 24], Operations: ['25+2=27', '27-3=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,78 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[27, 80], Operations: ['25+2=27', '77+3=80'] Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,78 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[77, 81], Operations: ['25+2=27', '3*27=81'] Exploring Operation: 81-77=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 77+81=158, Resulting Numbers: [158] 158,78 unequal: No Solution Exploring Operation: 77*81=6237, Resulting Numbers: [6237] 6237,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[77, 9], Operations: ['25+2=27', '27/3=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,78 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,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 Current State: 78:[25, 3, 79], Operations: ['77+2=79'] Exploring Operation: 25-3=22, Resulting Numbers: [79, 22] Generated Node #0,3,0: 78:[79, 22] Operation: 25-3=22 Exploring Operation: 25*3=75, Resulting Numbers: [79, 75] Generated Node #0,3,1: 78:[79, 75] Operation: 25*3=75 Exploring Operation: 79-3=76, Resulting Numbers: [25, 76] Generated Node #0,3,2: 78:[25, 76] Operation: 79-3=76 Exploring Operation: 25+3=28, Resulting Numbers: [79, 28] Generated Node #0,3,3: 78:[79, 28] Operation: 25+3=28 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[25, 76], Operations: ['77+2=79', '79-3=76'] Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,78 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,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,3,3 Current State: 78:[79, 28], Operations: ['77+2=79', '25+3=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,78 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,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,3,1 Current State: 78:[79, 75], Operations: ['77+2=79', '25*3=75'] Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 79*75=5925, Resulting Numbers: [5925] 5925,78 unequal: No Solution Exploring Operation: 79+75=154, Resulting Numbers: [154] 154,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,3,0 Current State: 78:[79, 22], Operations: ['77+2=79', '25-3=22'] Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[77, 2, 28], Operations: ['25+3=28'] Exploring Operation: 77-2=75, Resulting Numbers: [28, 75] Generated Node #0,1,0: 78:[28, 75] Operation: 77-2=75 Exploring Operation: 28/2=14, Resulting Numbers: [77, 14] Generated Node #0,1,1: 78:[77, 14] Operation: 28/2=14 Exploring Operation: 77+2=79, Resulting Numbers: [28, 79] Generated Node #0,1,2: 78:[28, 79] Operation: 77+2=79 Exploring Operation: 28-2=26, Resulting Numbers: [77, 26] Generated Node #0,1,3: 78:[77, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[77, 26], Operations: ['25+3=28', '28-2=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,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,1,1 Current State: 78:[77, 14], Operations: ['25+3=28', '28/2=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,78 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,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,1,2 Current State: 78:[28, 79], Operations: ['25+3=28', '77+2=79'] Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,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,1,0 Current State: 78:[28, 75], Operations: ['25+3=28', '77-2=75'] Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,78 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 83, 32, 3, 62 ]
91
[ "83-32=51", "3*51=153", "153-62=91" ]
Current State: 91:[83, 32, 3, 62], Operations: [] Exploring Operation: 83-32=51, Resulting Numbers: [3, 62, 51] Generated Node #2: [3, 62, 51] from Operation: 83-32=51 Current State: 91:[3, 62, 51], Operations: ['83-32=51'] Exploring Operation: 3*51=153, Resulting Numbers: [62, 153] Generated Node #3: [62, 153] from Operation: 3*51=153 Current State: 91:[62, 153], Operations: ['83-32=51', '3*51=153'] Exploring Operation: 153-62=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[83, 32, 3, 62], Operations: [] Exploring Operation: 62-32=30, Resulting Numbers: [83, 3, 30] Generated Node #0,0: 91:[83, 3, 30] Operation: 62-32=30 Exploring Operation: 32+62=94, Resulting Numbers: [83, 3, 94] Generated Node #0,1: 91:[83, 3, 94] Operation: 32+62=94 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[83, 3, 94], Operations: ['32+62=94'] Exploring Operation: 83+3=86, Resulting Numbers: [94, 86] Generated Node #0,1,0: 91:[94, 86] Operation: 83+3=86 Exploring Operation: 94-83=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 91:[3, 11] Operation: 94-83=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[3, 11], Operations: ['32+62=94', '94-83=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,0 Current State: 91:[94, 86], Operations: ['32+62=94', '83+3=86'] Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[83, 3, 30], Operations: ['62-32=30'] Exploring Operation: 3*30=90, Resulting Numbers: [83, 90] Generated Node #0,0,0: 91:[83, 90] Operation: 3*30=90 Exploring Operation: 30/3=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 91:[83, 10] Operation: 30/3=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[83, 90], Operations: ['62-32=30', '3*30=90'] Exploring Operation: 90-83=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 83+90=173, Resulting Numbers: [173] 173,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,0,1 Current State: 91:[83, 10], Operations: ['62-32=30', '30/3=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,91 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,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
sum_heuristic
[ 75, 78, 24, 98 ]
71
[ "78-75=3", "98-24=74", "74-3=71" ]
Current State: 71:[75, 78, 24, 98], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [24, 98, 3] Generated Node #2: [24, 98, 3] from Operation: 78-75=3 Current State: 71:[24, 98, 3], Operations: ['78-75=3'] Exploring Operation: 98-24=74, Resulting Numbers: [3, 74] Generated Node #3: [3, 74] from Operation: 98-24=74 Current State: 71:[3, 74], Operations: ['78-75=3', '98-24=74'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[75, 78, 24, 98], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [75, 78, 74] Generated Node #0,0: 71:[75, 78, 74] Operation: 98-24=74 Moving to Node #0,0 Current State: 71:[75, 78, 74], Operations: ['98-24=74'] Exploring Operation: 78-75=3, Resulting Numbers: [74, 3] Generated Node #0,0,0: 71:[74, 3] Operation: 78-75=3 Moving to Node #0,0,0 Current State: 71:[74, 3], Operations: ['98-24=74', '78-75=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[75, 78, 24, 98], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [75, 78, 74] Generated Node #0,0: 71:[75, 78, 74] Operation: 98-24=74 Moving to Node #0,0 Current State: 71:[75, 78, 74], Operations: ['98-24=74'] Exploring Operation: 78-75=3, Resulting Numbers: [74, 3] Generated Node #0,0,0: 71:[74, 3] Operation: 78-75=3 Moving to Node #0,0,0 Current State: 71:[74, 3], Operations: ['98-24=74', '78-75=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 8, 36, 2, 88 ]
94
[ "8-2=6", "36/6=6", "88+6=94" ]
Current State: 94:[8, 36, 2, 88], Operations: [] Exploring Operation: 8-2=6, Resulting Numbers: [36, 88, 6] Generated Node #2: [36, 88, 6] from Operation: 8-2=6 Current State: 94:[36, 88, 6], Operations: ['8-2=6'] Exploring Operation: 36/6=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 36/6=6 Current State: 94:[88, 6], Operations: ['8-2=6', '36/6=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[8, 36, 2, 88], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [36, 88, 4] Generated Node #0,0: 94:[36, 88, 4] Operation: 8/2=4 Exploring Operation: 8+88=96, Resulting Numbers: [36, 2, 96] Generated Node #0,1: 94:[36, 2, 96] Operation: 8+88=96 Exploring Operation: 8+36=44, Resulting Numbers: [2, 88, 44] Generated Node #0,2: 94:[2, 88, 44] Operation: 8+36=44 Exploring Operation: 88-36=52, Resulting Numbers: [8, 2, 52] Generated Node #0,3: 94:[8, 2, 52] Operation: 88-36=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[2, 88, 44], Operations: ['8+36=44'] Exploring Operation: 88/44=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 94:[2, 2] Operation: 88/44=2 Exploring Operation: 88-44=44, Resulting Numbers: [2, 44] Generated Node #0,2,1: 94:[2, 44] Operation: 88-44=44 Exploring Operation: 88/2=44, Resulting Numbers: [44, 44] Generated Node #0,2,2: 94:[44, 44] Operation: 88/2=44 Exploring Operation: 2+88=90, Resulting Numbers: [44, 90] Generated Node #0,2,3: 94:[44, 90] Operation: 2+88=90 Moving to Node #0,2,0 Current State: 94:[2, 2], Operations: ['8+36=44', '88/44=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[2, 44], Operations: ['8+36=44', '88-44=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[44, 44], Operations: ['8+36=44', '88/2=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,94 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[44, 90], Operations: ['8+36=44', '2+88=90'] Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,94 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[8, 2, 52], Operations: ['88-36=52'] Exploring Operation: 8-2=6, Resulting Numbers: [52, 6] Generated Node #0,3,0: 94:[52, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [52, 4] Generated Node #0,3,1: 94:[52, 4] Operation: 8/2=4 Exploring Operation: 52-8=44, Resulting Numbers: [2, 44] Generated Node #0,3,2: 94:[2, 44] Operation: 52-8=44 Exploring Operation: 52-2=50, Resulting Numbers: [8, 50] Generated Node #0,3,3: 94:[8, 50] Operation: 52-2=50 Moving to Node #0,3,2 Current State: 94:[2, 44], Operations: ['88-36=52', '52-8=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[52, 4], Operations: ['88-36=52', '8/2=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,94 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[8, 50], Operations: ['88-36=52', '52-2=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,94 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[52, 6], Operations: ['88-36=52', '8-2=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,94 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[36, 2, 96], Operations: ['8+88=96'] Exploring Operation: 96/2=48, Resulting Numbers: [36, 48] Generated Node #0,1,0: 94:[36, 48] Operation: 96/2=48 Exploring Operation: 96-2=94, Resulting Numbers: [36, 94] Generated Node #0,1,1: 94:[36, 94] Operation: 96-2=94 Exploring Operation: 36+2=38, Resulting Numbers: [96, 38] Generated Node #0,1,2: 94:[96, 38] Operation: 36+2=38 Exploring Operation: 96-36=60, Resulting Numbers: [2, 60] Generated Node #0,1,3: 94:[2, 60] Operation: 96-36=60 Moving to Node #0,1,1 Current State: 94:[36, 94], Operations: ['8+88=96', '96-2=94'] Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,94 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[96, 38], Operations: ['8+88=96', '36+2=38'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 96+38=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 96*38=3648, Resulting Numbers: [3648] 3648,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[36, 48], Operations: ['8+88=96', '96/2=48'] Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[2, 60], Operations: ['8+88=96', '96-36=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[36, 88, 4], Operations: ['8/2=4'] Exploring Operation: 88+4=92, Resulting Numbers: [36, 92] Generated Node #0,0,0: 94:[36, 92] Operation: 88+4=92 Exploring Operation: 88-36=52, Resulting Numbers: [4, 52] Generated Node #0,0,1: 94:[4, 52] Operation: 88-36=52 Exploring Operation: 36/4=9, Resulting Numbers: [88, 9] Generated Node #0,0,2: 94:[88, 9] Operation: 36/4=9 Exploring Operation: 36+4=40, Resulting Numbers: [88, 40] Generated Node #0,0,3: 94:[88, 40] Operation: 36+4=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[4, 52], Operations: ['8/2=4', '88-36=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,94 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,94 unequal: No Solution No 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: 94:[36, 92], Operations: ['8/2=4', '88+4=92'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 36+92=128, Resulting Numbers: [128] 128,94 unequal: No Solution Exploring Operation: 36*92=3312, Resulting Numbers: [3312] 3312,94 unequal: No Solution No 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: 94:[88, 9], Operations: ['8/2=4', '36/4=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 88*9=792, Resulting Numbers: [792] 792,94 unequal: No Solution Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,94 unequal: No Solution No 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: 94:[88, 40], Operations: ['8/2=4', '36+4=40'] Exploring Operation: 88*40=3520, Resulting Numbers: [3520] 3520,94 unequal: No Solution Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 88+40=128, Resulting Numbers: [128] 128,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 2, 64, 92, 2 ]
28
[ "2+64=66", "92+2=94", "94-66=28" ]
Current State: 28:[2, 64, 92, 2], Operations: [] Exploring Operation: 2+64=66, Resulting Numbers: [92, 66] Generated Node #2: [92, 66] from Operation: 2+64=66 Current State: 28:[92, 66], Operations: ['2+64=66'] Exploring Operation: 92+2=94, Resulting Numbers: [66, 94] Generated Node #3: [66, 94] from Operation: 92+2=94 Current State: 28:[66, 94], Operations: ['2+64=66', '92+2=94'] Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 64, 92, 2], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [64, 2, 46] Generated Node #0,0: 28:[64, 2, 46] Operation: 92/2=46 Exploring Operation: 92-64=28, Resulting Numbers: [2, 2, 28] Generated Node #0,1: 28:[2, 2, 28] Operation: 92-64=28 Moving to Node #0,1 Current State: 28:[2, 2, 28], Operations: ['92-64=28'] Exploring Operation: 2*2=4, Resulting Numbers: [28, 4] Generated Node #0,1,0: 28:[28, 4] Operation: 2*2=4 Exploring Operation: 2+2=4, Resulting Numbers: [28, 4] Generated Node #0,1,1: 28:[28, 4] Operation: 2+2=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[28, 4], Operations: ['92-64=28', '2*2=4'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[28, 4], Operations: ['92-64=28', '2+2=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 28:[64, 2, 46], Operations: ['92/2=46'] Exploring Operation: 64-46=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 28:[2, 18] Operation: 64-46=18 Exploring Operation: 64/2=32, Resulting Numbers: [46, 32] Generated Node #0,0,1: 28:[46, 32] Operation: 64/2=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[2, 18], Operations: ['92/2=46', '64-46=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[46, 32], Operations: ['92/2=46', '64/2=32'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,28 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
[ 96, 46, 52, 44 ]
74
[ "96+52=148", "46-44=2", "148/2=74" ]
Current State: 74:[96, 46, 52, 44], Operations: [] Exploring Operation: 96+52=148, Resulting Numbers: [46, 44, 148] Generated Node #2: [46, 44, 148] from Operation: 96+52=148 Current State: 74:[46, 44, 148], Operations: ['96+52=148'] Exploring Operation: 46-44=2, Resulting Numbers: [148, 2] Generated Node #3: [148, 2] from Operation: 46-44=2 Current State: 74:[148, 2], Operations: ['96+52=148', '46-44=2'] Exploring Operation: 148/2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[96, 46, 52, 44], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [96, 52, 2] Generated Node #0,0: 74:[96, 52, 2] Operation: 46-44=2 Exploring Operation: 96-46=50, Resulting Numbers: [52, 44, 50] Generated Node #0,1: 74:[52, 44, 50] Operation: 96-46=50 Exploring Operation: 52-46=6, Resulting Numbers: [96, 44, 6] Generated Node #0,2: 74:[96, 44, 6] Operation: 52-46=6 Exploring Operation: 96-52=44, Resulting Numbers: [46, 44, 44] Generated Node #0,3: 74:[46, 44, 44] Operation: 96-52=44 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[46, 44, 44], Operations: ['96-52=44'] Exploring Operation: 44/44=1, Resulting Numbers: [46, 1] Generated Node #0,3,0: 74:[46, 1] Operation: 44/44=1 Exploring Operation: 46-44=2, Resulting Numbers: [44, 2] Generated Node #0,3,1: 74:[44, 2] Operation: 46-44=2 Exploring Operation: 46-44=2, Resulting Numbers: [44, 2] Generated Node #0,3,2: 74:[44, 2] Operation: 46-44=2 Exploring Operation: 44-44=0, Resulting Numbers: [46, 0] Generated Node #0,3,3: 74:[46, 0] Operation: 44-44=0 Moving to Node #0,3,1 Current State: 74:[44, 2], Operations: ['96-52=44', '46-44=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[44, 2], Operations: ['96-52=44', '46-44=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[46, 1], Operations: ['96-52=44', '44/44=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[46, 0], Operations: ['96-52=44', '44-44=0'] Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[96, 44, 6], Operations: ['52-46=6'] Exploring Operation: 96-44=52, Resulting Numbers: [6, 52] Generated Node #0,2,0: 74:[6, 52] Operation: 96-44=52 Exploring Operation: 44-6=38, Resulting Numbers: [96, 38] Generated Node #0,2,1: 74:[96, 38] Operation: 44-6=38 Exploring Operation: 96-6=90, Resulting Numbers: [44, 90] Generated Node #0,2,2: 74:[44, 90] Operation: 96-6=90 Exploring Operation: 96/6=16, Resulting Numbers: [44, 16] Generated Node #0,2,3: 74:[44, 16] Operation: 96/6=16 Moving to Node #0,2,0 Current State: 74:[6, 52], Operations: ['52-46=6', '96-44=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,74 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[44, 16], Operations: ['52-46=6', '96/6=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,74 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[44, 90], Operations: ['52-46=6', '96-6=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,74 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[96, 38], Operations: ['52-46=6', '44-6=38'] Exploring Operation: 96*38=3648, Resulting Numbers: [3648] 3648,74 unequal: No Solution Exploring Operation: 96+38=134, Resulting Numbers: [134] 134,74 unequal: No Solution Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[52, 44, 50], Operations: ['96-46=50'] Exploring Operation: 52+44=96, Resulting Numbers: [50, 96] Generated Node #0,1,0: 74:[50, 96] Operation: 52+44=96 Exploring Operation: 50-44=6, Resulting Numbers: [52, 6] Generated Node #0,1,1: 74:[52, 6] Operation: 50-44=6 Exploring Operation: 52-44=8, Resulting Numbers: [50, 8] Generated Node #0,1,2: 74:[50, 8] Operation: 52-44=8 Exploring Operation: 52-50=2, Resulting Numbers: [44, 2] Generated Node #0,1,3: 74:[44, 2] Operation: 52-50=2 Moving to Node #0,1,3 Current State: 74:[44, 2], Operations: ['96-46=50', '52-50=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[50, 8], Operations: ['96-46=50', '52-44=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,74 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[52, 6], Operations: ['96-46=50', '50-44=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,74 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[50, 96], Operations: ['96-46=50', '52+44=96'] Exploring Operation: 50+96=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 50*96=4800, Resulting Numbers: [4800] 4800,74 unequal: No Solution Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[96, 52, 2], Operations: ['46-44=2'] Exploring Operation: 96-2=94, Resulting Numbers: [52, 94] Generated Node #0,0,0: 74:[52, 94] Operation: 96-2=94 Exploring Operation: 52/2=26, Resulting Numbers: [96, 26] Generated Node #0,0,1: 74:[96, 26] Operation: 52/2=26 Exploring Operation: 96-52=44, Resulting Numbers: [2, 44] Generated Node #0,0,2: 74:[2, 44] Operation: 96-52=44 Exploring Operation: 96/2=48, Resulting Numbers: [52, 48] Generated Node #0,0,3: 74:[52, 48] Operation: 96/2=48 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[2, 44], Operations: ['46-44=2', '96-52=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[52, 48], Operations: ['46-44=2', '96/2=48'] Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,74 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[96, 26], Operations: ['46-44=2', '52/2=26'] Exploring Operation: 96*26=2496, Resulting Numbers: [2496] 2496,74 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 96+26=122, Resulting Numbers: [122] 122,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[52, 94], Operations: ['46-44=2', '96-2=94'] Exploring Operation: 52+94=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 52*94=4888, Resulting Numbers: [4888] 4888,74 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 63, 89, 21, 84 ]
31
[ "89*21=1869", "84+1869=1953", "1953/63=31" ]
Current State: 31:[63, 89, 21, 84], Operations: [] Exploring Operation: 89*21=1869, Resulting Numbers: [63, 84, 1869] Generated Node #2: [63, 84, 1869] from Operation: 89*21=1869 Current State: 31:[63, 84, 1869], Operations: ['89*21=1869'] Exploring Operation: 84+1869=1953, Resulting Numbers: [63, 1953] Generated Node #3: [63, 1953] from Operation: 84+1869=1953 Current State: 31:[63, 1953], Operations: ['89*21=1869', '84+1869=1953'] Exploring Operation: 1953/63=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[63, 89, 21, 84], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [21, 84, 26] Generated Node #0,0: 31:[21, 84, 26] Operation: 89-63=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[21, 84, 26], Operations: ['89-63=26'] Exploring Operation: 84/21=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 31:[26, 4] Operation: 84/21=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[26, 4], Operations: ['89-63=26', '84/21=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,31 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
[ 49, 16, 16, 96 ]
15
[ "49+16=65", "96-16=80", "80-65=15" ]
Current State: 15:[49, 16, 16, 96], Operations: [] Exploring Operation: 49+16=65, Resulting Numbers: [96, 65] Generated Node #2: [96, 65] from Operation: 49+16=65 Current State: 15:[96, 65], Operations: ['49+16=65'] Exploring Operation: 96-16=80, Resulting Numbers: [65, 80] Generated Node #3: [65, 80] from Operation: 96-16=80 Current State: 15:[65, 80], Operations: ['49+16=65', '96-16=80'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[49, 16, 16, 96], Operations: [] Exploring Operation: 49-16=33, Resulting Numbers: [16, 96, 33] Generated Node #0,0: 15:[16, 96, 33] Operation: 49-16=33 Exploring Operation: 96/16=6, Resulting Numbers: [49, 16, 6] Generated Node #0,1: 15:[49, 16, 6] Operation: 96/16=6 Exploring Operation: 96/16=6, Resulting Numbers: [49, 16, 6] Generated Node #0,2: 15:[49, 16, 6] Operation: 96/16=6 Exploring Operation: 96-49=47, Resulting Numbers: [16, 16, 47] Generated Node #0,3: 15:[16, 16, 47] Operation: 96-49=47 Moving to Node #0,3 Current State: 15:[16, 16, 47], Operations: ['96-49=47'] Exploring Operation: 16/16=1, Resulting Numbers: [47, 1] Generated Node #0,3,0: 15:[47, 1] Operation: 16/16=1 Exploring Operation: 47-16=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 15:[16, 31] Operation: 47-16=31 Exploring Operation: 47-16=31, Resulting Numbers: [16, 31] Generated Node #0,3,2: 15:[16, 31] Operation: 47-16=31 Exploring Operation: 16-16=0, Resulting Numbers: [47, 0] Generated Node #0,3,3: 15:[47, 0] Operation: 16-16=0 Moving to Node #0,2 Current State: 15:[49, 16, 6], Operations: ['96/16=6'] Exploring Operation: 16-6=10, Resulting Numbers: [49, 10] Generated Node #0,2,0: 15:[49, 10] Operation: 16-6=10 Exploring Operation: 49-16=33, Resulting Numbers: [6, 33] Generated Node #0,2,1: 15:[6, 33] Operation: 49-16=33 Exploring Operation: 49+6=55, Resulting Numbers: [16, 55] Generated Node #0,2,2: 15:[16, 55] Operation: 49+6=55 Exploring Operation: 49-6=43, Resulting Numbers: [16, 43] Generated Node #0,2,3: 15:[16, 43] Operation: 49-6=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[6, 33], Operations: ['96/16=6', '49-16=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,15 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[16, 43], Operations: ['96/16=6', '49-6=43'] Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,15 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[49, 10], Operations: ['96/16=6', '16-6=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,15 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,15 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[16, 55], Operations: ['96/16=6', '49+6=55'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,15 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: 15:[49, 16, 6], Operations: ['96/16=6'] Exploring Operation: 49-16=33, Resulting Numbers: [6, 33] Generated Node #0,1,0: 15:[6, 33] Operation: 49-16=33 Exploring Operation: 16-6=10, Resulting Numbers: [49, 10] Generated Node #0,1,1: 15:[49, 10] Operation: 16-6=10 Exploring Operation: 49-6=43, Resulting Numbers: [16, 43] Generated Node #0,1,2: 15:[16, 43] Operation: 49-6=43 Exploring Operation: 49+6=55, Resulting Numbers: [16, 55] Generated Node #0,1,3: 15:[16, 55] Operation: 49+6=55 Moving to Node #0,0 Current State: 15:[16, 96, 33], Operations: ['49-16=33'] Exploring Operation: 96-16=80, Resulting Numbers: [33, 80] Generated Node #0,0,0: 15:[33, 80] Operation: 96-16=80 Exploring Operation: 96/16=6, Resulting Numbers: [33, 6] Generated Node #0,0,1: 15:[33, 6] Operation: 96/16=6 Exploring Operation: 96-33=63, Resulting Numbers: [16, 63] Generated Node #0,0,2: 15:[16, 63] Operation: 96-33=63 Exploring Operation: 33-16=17, Resulting Numbers: [96, 17] Generated Node #0,0,3: 15:[96, 17] Operation: 33-16=17 Moving to Node #0,3,1 Current State: 15:[16, 31], Operations: ['96-49=47', '47-16=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[49, 16, 16, 96], Operations: [] Exploring Operation: 96-49=47, Resulting Numbers: [16, 16, 47] Generated Node #0,3: 15:[16, 16, 47] Operation: 96-49=47 Moving to Node #0,3 Current State: 15:[16, 16, 47], Operations: ['96-49=47'] Exploring Operation: 47-16=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 15:[16, 31] Operation: 47-16=31 Moving to Node #0,3,1 Current State: 15:[16, 31], Operations: ['96-49=47', '47-16=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 24, 45, 33, 12 ]
15
[ "33-24=9", "12-9=3", "45/3=15" ]
Current State: 15:[24, 45, 33, 12], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [45, 12, 9] Generated Node #2: [45, 12, 9] from Operation: 33-24=9 Current State: 15:[45, 12, 9], Operations: ['33-24=9'] Exploring Operation: 12-9=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 12-9=3 Current State: 15:[45, 3], Operations: ['33-24=9', '12-9=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[24, 45, 33, 12], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [24, 45, 21] Generated Node #0,0: 15:[24, 45, 21] Operation: 33-12=21 Exploring Operation: 45-33=12, Resulting Numbers: [24, 12, 12] Generated Node #0,1: 15:[24, 12, 12] Operation: 45-33=12 Exploring Operation: 45-24=21, Resulting Numbers: [33, 12, 21] Generated Node #0,2: 15:[33, 12, 21] Operation: 45-24=21 Exploring Operation: 33-24=9, Resulting Numbers: [45, 12, 9] Generated Node #0,3: 15:[45, 12, 9] Operation: 33-24=9 Exploring Operation: 45-12=33, Resulting Numbers: [24, 33, 33] Generated Node #0,4: 15:[24, 33, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[24, 12, 12], Operations: ['45-33=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12, 12] Generated Node #0,1,0: 15:[12, 12] Operation: 24-12=12 Exploring Operation: 24-12=12, Resulting Numbers: [12, 12] Generated Node #0,1,1: 15:[12, 12] Operation: 24-12=12 Exploring Operation: 12/12=1, Resulting Numbers: [24, 1] Generated Node #0,1,2: 15:[24, 1] Operation: 12/12=1 Exploring Operation: 24/12=2, Resulting Numbers: [12, 2] Generated Node #0,1,3: 15:[12, 2] Operation: 24/12=2 Exploring Operation: 24/12=2, Resulting Numbers: [12, 2] Generated Node #0,1,4: 15:[12, 2] Operation: 24/12=2 Moving to Node #0,1,3 Current State: 15:[12, 2], Operations: ['45-33=12', '24/12=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[12, 2], Operations: ['45-33=12', '24/12=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[12, 12], Operations: ['45-33=12', '24-12=12'] Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[12, 12], Operations: ['45-33=12', '24-12=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[24, 1], Operations: ['45-33=12', '12/12=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[33, 12, 21], Operations: ['45-24=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12, 12] Generated Node #0,2,0: 15:[12, 12] Operation: 33-21=12 Exploring Operation: 33+12=45, Resulting Numbers: [21, 45] Generated Node #0,2,1: 15:[21, 45] Operation: 33+12=45 Exploring Operation: 33-12=21, Resulting Numbers: [21, 21] Generated Node #0,2,2: 15:[21, 21] Operation: 33-12=21 Exploring Operation: 21-12=9, Resulting Numbers: [33, 9] Generated Node #0,2,3: 15:[33, 9] Operation: 21-12=9 Exploring Operation: 12+21=33, Resulting Numbers: [33, 33] Generated Node #0,2,4: 15:[33, 33] Operation: 12+21=33 Moving to Node #0,2,0 Current State: 15:[12, 12], Operations: ['45-24=21', '33-21=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[21, 21], Operations: ['45-24=21', '33-12=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,15 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[33, 9], Operations: ['45-24=21', '21-12=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[21, 45], Operations: ['45-24=21', '33+12=45'] Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,15 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[33, 33], Operations: ['45-24=21', '12+21=33'] Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,15 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[45, 12, 9], Operations: ['33-24=9'] Exploring Operation: 12+9=21, Resulting Numbers: [45, 21] Generated Node #0,3,0: 15:[45, 21] Operation: 12+9=21 Exploring Operation: 45-12=33, Resulting Numbers: [9, 33] Generated Node #0,3,1: 15:[9, 33] Operation: 45-12=33 Exploring Operation: 45-9=36, Resulting Numbers: [12, 36] Generated Node #0,3,2: 15:[12, 36] Operation: 45-9=36 Exploring Operation: 12-9=3, Resulting Numbers: [45, 3] Generated Node #0,3,3: 15:[45, 3] Operation: 12-9=3 Exploring Operation: 45/9=5, Resulting Numbers: [12, 5] Generated Node #0,3,4: 15:[12, 5] Operation: 45/9=5 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[12, 5], Operations: ['33-24=9', '45/9=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,15 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,15 unequal: No Solution No 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: 15:[9, 33], Operations: ['33-24=9', '45-12=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,15 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,15 unequal: No Solution No 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: 15:[12, 36], Operations: ['33-24=9', '45-9=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,15 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,15 unequal: No Solution No 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: 15:[45, 3], Operations: ['33-24=9', '12-9=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[24, 45, 33, 12], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [45, 12, 9] Generated Node #0,3: 15:[45, 12, 9] Operation: 33-24=9 Moving to Node #0,3 Current State: 15:[45, 12, 9], Operations: ['33-24=9'] Exploring Operation: 12-9=3, Resulting Numbers: [45, 3] Generated Node #0,3,3: 15:[45, 3] Operation: 12-9=3 Moving to Node #0,3,3 Current State: 15:[45, 3], Operations: ['33-24=9', '12-9=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.936632
hs_5
sum_heuristic
[ 7, 6, 46, 2 ]
31
[ "7+6=13", "46-2=44", "44-13=31" ]
Current State: 31:[7, 6, 46, 2], Operations: [] Exploring Operation: 7+6=13, Resulting Numbers: [46, 2, 13] Generated Node #2: [46, 2, 13] from Operation: 7+6=13 Current State: 31:[46, 2, 13], Operations: ['7+6=13'] Exploring Operation: 46-2=44, Resulting Numbers: [13, 44] Generated Node #3: [13, 44] from Operation: 46-2=44 Current State: 31:[13, 44], Operations: ['7+6=13', '46-2=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[7, 6, 46, 2], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [7, 6, 23] Generated Node #0,0: 31:[7, 6, 23] Operation: 46/2=23 Exploring Operation: 7*2=14, Resulting Numbers: [6, 46, 14] Generated Node #0,1: 31:[6, 46, 14] Operation: 7*2=14 Exploring Operation: 7+6=13, Resulting Numbers: [46, 2, 13] Generated Node #0,2: 31:[46, 2, 13] Operation: 7+6=13 Exploring Operation: 7*6=42, Resulting Numbers: [46, 2, 42] Generated Node #0,3: 31:[46, 2, 42] Operation: 7*6=42 Exploring Operation: 6*2=12, Resulting Numbers: [7, 46, 12] Generated Node #0,4: 31:[7, 46, 12] Operation: 6*2=12 Moving to Node #0,3 Current State: 31:[46, 2, 42], Operations: ['7*6=42'] Exploring Operation: 42/2=21, Resulting Numbers: [46, 21] Generated Node #0,3,0: 31:[46, 21] Operation: 42/2=21 Exploring Operation: 46+2=48, Resulting Numbers: [42, 48] Generated Node #0,3,1: 31:[42, 48] Operation: 46+2=48 Exploring Operation: 46-2=44, Resulting Numbers: [42, 44] Generated Node #0,3,2: 31:[42, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [42, 23] Generated Node #0,3,3: 31:[42, 23] Operation: 46/2=23 Exploring Operation: 42-2=40, Resulting Numbers: [46, 40] Generated Node #0,3,4: 31:[46, 40] Operation: 42-2=40 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[42, 23], Operations: ['7*6=42', '46/2=23'] Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,31 unequal: No Solution Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,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,3,2 Current State: 31:[42, 44], Operations: ['7*6=42', '46-2=44'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,31 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,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,3,4 Current State: 31:[46, 40], Operations: ['7*6=42', '42-2=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,31 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,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,3,0 Current State: 31:[46, 21], Operations: ['7*6=42', '42/2=21'] Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,31 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,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,3,1 Current State: 31:[42, 48], Operations: ['7*6=42', '46+2=48'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,31 unequal: No Solution Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,31 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: 31:[6, 46, 14], Operations: ['7*2=14'] Exploring Operation: 46-6=40, Resulting Numbers: [14, 40] Generated Node #0,1,0: 31:[14, 40] Operation: 46-6=40 Exploring Operation: 46-14=32, Resulting Numbers: [6, 32] Generated Node #0,1,1: 31:[6, 32] Operation: 46-14=32 Exploring Operation: 6+46=52, Resulting Numbers: [14, 52] Generated Node #0,1,2: 31:[14, 52] Operation: 6+46=52 Exploring Operation: 6+14=20, Resulting Numbers: [46, 20] Generated Node #0,1,3: 31:[46, 20] Operation: 6+14=20 Exploring Operation: 14-6=8, Resulting Numbers: [46, 8] Generated Node #0,1,4: 31:[46, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[14, 40], Operations: ['7*2=14', '46-6=40'] Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,31 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,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,1 Current State: 31:[6, 32], Operations: ['7*2=14', '46-14=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,31 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 31:[46, 20], Operations: ['7*2=14', '6+14=20'] Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,31 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,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:[14, 52], Operations: ['7*2=14', '6+46=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,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,4 Current State: 31:[46, 8], Operations: ['7*2=14', '14-6=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,31 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,31 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: 31:[7, 6, 23], Operations: ['46/2=23'] Exploring Operation: 6+23=29, Resulting Numbers: [7, 29] Generated Node #0,0,0: 31:[7, 29] Operation: 6+23=29 Exploring Operation: 7+23=30, Resulting Numbers: [6, 30] Generated Node #0,0,1: 31:[6, 30] Operation: 7+23=30 Exploring Operation: 7-6=1, Resulting Numbers: [23, 1] Generated Node #0,0,2: 31:[23, 1] Operation: 7-6=1 Exploring Operation: 7+6=13, Resulting Numbers: [23, 13] Generated Node #0,0,3: 31:[23, 13] Operation: 7+6=13 Exploring Operation: 7*6=42, Resulting Numbers: [23, 42] Generated Node #0,0,4: 31:[23, 42] Operation: 7*6=42 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 31:[23, 42], Operations: ['46/2=23', '7*6=42'] Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 23*42=966, Resulting Numbers: [966] 966,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[7, 29], Operations: ['46/2=23', '6+23=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[6, 30], Operations: ['46/2=23', '7+23=30'] Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,31 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[23, 13], Operations: ['46/2=23', '7+6=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,31 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[23, 1], Operations: ['46/2=23', '7-6=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,31 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: 31:[7, 46, 12], Operations: ['6*2=12'] Exploring Operation: 7+12=19, Resulting Numbers: [46, 19] Generated Node #0,4,0: 31:[46, 19] Operation: 7+12=19 Exploring Operation: 12-7=5, Resulting Numbers: [46, 5] Generated Node #0,4,1: 31:[46, 5] Operation: 12-7=5 Exploring Operation: 46-12=34, Resulting Numbers: [7, 34] Generated Node #0,4,2: 31:[7, 34] Operation: 46-12=34 Exploring Operation: 7+46=53, Resulting Numbers: [12, 53] Generated Node #0,4,3: 31:[12, 53] Operation: 7+46=53 Exploring Operation: 46-7=39, Resulting Numbers: [12, 39] Generated Node #0,4,4: 31:[12, 39] Operation: 46-7=39 Moving to Node #0,2 Current State: 31:[46, 2, 13], Operations: ['7+6=13'] Exploring Operation: 46/2=23, Resulting Numbers: [13, 23] Generated Node #0,2,0: 31:[13, 23] Operation: 46/2=23 Exploring Operation: 2*13=26, Resulting Numbers: [46, 26] Generated Node #0,2,1: 31:[46, 26] Operation: 2*13=26 Exploring Operation: 46-2=44, Resulting Numbers: [13, 44] Generated Node #0,2,2: 31:[13, 44] Operation: 46-2=44 Exploring Operation: 2+13=15, Resulting Numbers: [46, 15] Generated Node #0,2,3: 31:[46, 15] Operation: 2+13=15 Exploring Operation: 46-13=33, Resulting Numbers: [2, 33] Generated Node #0,2,4: 31:[2, 33] Operation: 46-13=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[46, 26], Operations: ['7+6=13', '2*13=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,31 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[13, 23], Operations: ['7+6=13', '46/2=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,31 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[13, 44], Operations: ['7+6=13', '46-2=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[7, 6, 46, 2], Operations: [] Exploring Operation: 7+6=13, Resulting Numbers: [46, 2, 13] Generated Node #0,2: 31:[46, 2, 13] Operation: 7+6=13 Moving to Node #0,2 Current State: 31:[46, 2, 13], Operations: ['7+6=13'] Exploring Operation: 46-2=44, Resulting Numbers: [13, 44] Generated Node #0,2,2: 31:[13, 44] Operation: 46-2=44 Moving to Node #0,2,2 Current State: 31:[13, 44], Operations: ['7+6=13', '46-2=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.922743
hs_5
mult_heuristic
[ 1, 6, 75, 44 ]
20
[ "1+75=76", "44+76=120", "120/6=20" ]
Current State: 20:[1, 6, 75, 44], Operations: [] Exploring Operation: 1+75=76, Resulting Numbers: [6, 44, 76] Generated Node #2: [6, 44, 76] from Operation: 1+75=76 Current State: 20:[6, 44, 76], Operations: ['1+75=76'] Exploring Operation: 44+76=120, Resulting Numbers: [6, 120] Generated Node #3: [6, 120] from Operation: 44+76=120 Current State: 20:[6, 120], Operations: ['1+75=76', '44+76=120'] Exploring Operation: 120/6=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[1, 6, 75, 44], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [1, 75, 38] Generated Node #0,0: 20:[1, 75, 38] Operation: 44-6=38 Exploring Operation: 75-44=31, Resulting Numbers: [1, 6, 31] Generated Node #0,1: 20:[1, 6, 31] Operation: 75-44=31 Exploring Operation: 6-1=5, Resulting Numbers: [75, 44, 5] Generated Node #0,2: 20:[75, 44, 5] Operation: 6-1=5 Exploring Operation: 75-1=74, Resulting Numbers: [6, 44, 74] Generated Node #0,3: 20:[6, 44, 74] Operation: 75-1=74 Exploring Operation: 75-6=69, Resulting Numbers: [1, 44, 69] Generated Node #0,4: 20:[1, 44, 69] Operation: 75-6=69 Moving to Node #0,1 Current State: 20:[1, 6, 31], Operations: ['75-44=31'] Exploring Operation: 6/1=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 20:[31, 6] Operation: 6/1=6 Exploring Operation: 6-1=5, Resulting Numbers: [31, 5] Generated Node #0,1,1: 20:[31, 5] Operation: 6-1=5 Exploring Operation: 31-1=30, Resulting Numbers: [6, 30] Generated Node #0,1,2: 20:[6, 30] Operation: 31-1=30 Exploring Operation: 1*6=6, Resulting Numbers: [31, 6] Generated Node #0,1,3: 20:[31, 6] Operation: 1*6=6 Exploring Operation: 31-6=25, Resulting Numbers: [1, 25] Generated Node #0,1,4: 20:[1, 25] Operation: 31-6=25 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 20:[1, 25], Operations: ['75-44=31', '31-6=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[31, 5], Operations: ['75-44=31', '6-1=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,20 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[6, 30], Operations: ['75-44=31', '31-1=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,20 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[31, 6], Operations: ['75-44=31', '6/1=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[31, 6], Operations: ['75-44=31', '1*6=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,20 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,20 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: 20:[1, 44, 69], Operations: ['75-6=69'] Exploring Operation: 69-44=25, Resulting Numbers: [1, 25] Generated Node #0,4,0: 20:[1, 25] Operation: 69-44=25 Exploring Operation: 44-1=43, Resulting Numbers: [69, 43] Generated Node #0,4,1: 20:[69, 43] Operation: 44-1=43 Exploring Operation: 69-1=68, Resulting Numbers: [44, 68] Generated Node #0,4,2: 20:[44, 68] Operation: 69-1=68 Exploring Operation: 44/1=44, Resulting Numbers: [69, 44] Generated Node #0,4,3: 20:[69, 44] Operation: 44/1=44 Exploring Operation: 1*44=44, Resulting Numbers: [69, 44] Generated Node #0,4,4: 20:[69, 44] Operation: 1*44=44 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 20:[1, 25], Operations: ['75-6=69', '69-44=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 20:[69, 43], Operations: ['75-6=69', '44-1=43'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,20 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 20:[44, 68], Operations: ['75-6=69', '69-1=68'] Exploring Operation: 44*68=2992, Resulting Numbers: [2992] 2992,20 unequal: No Solution Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 20:[69, 44], Operations: ['75-6=69', '44/1=44'] Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,20 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 20:[69, 44], Operations: ['75-6=69', '1*44=44'] Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,20 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,20 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: 20:[1, 75, 38], Operations: ['44-6=38'] Exploring Operation: 75-1=74, Resulting Numbers: [38, 74] Generated Node #0,0,0: 20:[38, 74] Operation: 75-1=74 Exploring Operation: 1*75=75, Resulting Numbers: [38, 75] Generated Node #0,0,1: 20:[38, 75] Operation: 1*75=75 Exploring Operation: 75/1=75, Resulting Numbers: [38, 75] Generated Node #0,0,2: 20:[38, 75] Operation: 75/1=75 Exploring Operation: 75-38=37, Resulting Numbers: [1, 37] Generated Node #0,0,3: 20:[1, 37] Operation: 75-38=37 Exploring Operation: 38-1=37, Resulting Numbers: [75, 37] Generated Node #0,0,4: 20:[75, 37] Operation: 38-1=37 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[1, 37], Operations: ['44-6=38', '75-38=37'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[38, 74], Operations: ['44-6=38', '75-1=74'] Exploring Operation: 38+74=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 38*74=2812, Resulting Numbers: [2812] 2812,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 20:[75, 37], Operations: ['44-6=38', '38-1=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[38, 75], Operations: ['44-6=38', '1*75=75'] Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,20 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[38, 75], Operations: ['44-6=38', '75/1=75'] Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,20 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,20 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: 20:[75, 44, 5], Operations: ['6-1=5'] Exploring Operation: 44-5=39, Resulting Numbers: [75, 39] Generated Node #0,2,0: 20:[75, 39] Operation: 44-5=39 Exploring Operation: 75-44=31, Resulting Numbers: [5, 31] Generated Node #0,2,1: 20:[5, 31] Operation: 75-44=31 Exploring Operation: 75+5=80, Resulting Numbers: [44, 80] Generated Node #0,2,2: 20:[44, 80] Operation: 75+5=80 Exploring Operation: 75-5=70, Resulting Numbers: [44, 70] Generated Node #0,2,3: 20:[44, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [44, 15] Generated Node #0,2,4: 20:[44, 15] Operation: 75/5=15 Moving to Node #0,3 Current State: 20:[6, 44, 74], Operations: ['75-1=74'] Exploring Operation: 74-6=68, Resulting Numbers: [44, 68] Generated Node #0,3,0: 20:[44, 68] Operation: 74-6=68 Exploring Operation: 6+44=50, Resulting Numbers: [74, 50] Generated Node #0,3,1: 20:[74, 50] Operation: 6+44=50 Exploring Operation: 44-6=38, Resulting Numbers: [74, 38] Generated Node #0,3,2: 20:[74, 38] Operation: 44-6=38 Exploring Operation: 6+74=80, Resulting Numbers: [44, 80] Generated Node #0,3,3: 20:[44, 80] Operation: 6+74=80 Exploring Operation: 74-44=30, Resulting Numbers: [6, 30] Generated Node #0,3,4: 20:[6, 30] Operation: 74-44=30 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 20:[6, 30], Operations: ['75-1=74', '74-44=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,20 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 20:[44, 68], Operations: ['75-1=74', '74-6=68'] Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 44*68=2992, Resulting Numbers: [2992] 2992,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[74, 38], Operations: ['75-1=74', '44-6=38'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[74, 50], Operations: ['75-1=74', '6+44=50'] Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,20 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 20:[44, 80], Operations: ['75-1=74', '6+74=80'] Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,20 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 20:[5, 31], Operations: ['6-1=5', '75-44=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,20 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[44, 15], Operations: ['6-1=5', '75/5=15'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,20 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[75, 39], Operations: ['6-1=5', '44-5=39'] Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,20 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[44, 70], Operations: ['6-1=5', '75-5=70'] Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,20 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[44, 80], Operations: ['6-1=5', '75+5=80'] Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,20 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,20 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 67, 67, 50, 45 ]
50
[ "67-67=0", "45*0=0", "50+0=50" ]
Current State: 50:[67, 67, 50, 45], Operations: [] Exploring Operation: 67-67=0, Resulting Numbers: [50, 45, 0] Generated Node #2: [50, 45, 0] from Operation: 67-67=0 Current State: 50:[50, 45, 0], Operations: ['67-67=0'] Exploring Operation: 45*0=0, Resulting Numbers: [50, 0] Generated Node #3: [50, 0] from Operation: 45*0=0 Current State: 50:[50, 0], Operations: ['67-67=0', '45*0=0'] Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[67, 67, 50, 45], Operations: [] Exploring Operation: 67-45=22, Resulting Numbers: [67, 50, 22] Generated Node #0,0: 50:[67, 50, 22] Operation: 67-45=22 Exploring Operation: 67/67=1, Resulting Numbers: [50, 45, 1] Generated Node #0,1: 50:[50, 45, 1] Operation: 67/67=1 Exploring Operation: 67-67=0, Resulting Numbers: [50, 45, 0] Generated Node #0,2: 50:[50, 45, 0] Operation: 67-67=0 Exploring Operation: 67-45=22, Resulting Numbers: [67, 50, 22] Generated Node #0,3: 50:[67, 50, 22] Operation: 67-45=22 Moving to Node #0,1 Current State: 50:[50, 45, 1], Operations: ['67/67=1'] Exploring Operation: 50/1=50, Resulting Numbers: [45, 50] Generated Node #0,1,0: 50:[45, 50] Operation: 50/1=50 Exploring Operation: 50-45=5, Resulting Numbers: [1, 5] Generated Node #0,1,1: 50:[1, 5] Operation: 50-45=5 Exploring Operation: 50*1=50, Resulting Numbers: [45, 50] Generated Node #0,1,2: 50:[45, 50] Operation: 50*1=50 Exploring Operation: 45+1=46, Resulting Numbers: [50, 46] Generated Node #0,1,3: 50:[50, 46] Operation: 45+1=46 Moving to Node #0,2 Current State: 50:[50, 45, 0], Operations: ['67-67=0'] Exploring Operation: 50-0=50, Resulting Numbers: [45, 50] Generated Node #0,2,0: 50:[45, 50] Operation: 50-0=50 Exploring Operation: 50-45=5, Resulting Numbers: [0, 5] Generated Node #0,2,1: 50:[0, 5] Operation: 50-45=5 Exploring Operation: 45*0=0, Resulting Numbers: [50, 0] Generated Node #0,2,2: 50:[50, 0] Operation: 45*0=0 Exploring Operation: 50+0=50, Resulting Numbers: [45, 50] Generated Node #0,2,3: 50:[45, 50] Operation: 50+0=50 Moving to Node #0,3 Current State: 50:[67, 50, 22], Operations: ['67-45=22'] Exploring Operation: 67-22=45, Resulting Numbers: [50, 45] Generated Node #0,3,0: 50:[50, 45] Operation: 67-22=45 Exploring Operation: 67-50=17, Resulting Numbers: [22, 17] Generated Node #0,3,1: 50:[22, 17] Operation: 67-50=17 Exploring Operation: 67+22=89, Resulting Numbers: [50, 89] Generated Node #0,3,2: 50:[50, 89] Operation: 67+22=89 Exploring Operation: 50-22=28, Resulting Numbers: [67, 28] Generated Node #0,3,3: 50:[67, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[50, 45], Operations: ['67-45=22', '67-22=45'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[22, 17], Operations: ['67-45=22', '67-50=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[67, 28], Operations: ['67-45=22', '50-22=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[50, 89], Operations: ['67-45=22', '67+22=89'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,50 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 50:[67, 50, 22], Operations: ['67-45=22'] Exploring Operation: 67-22=45, Resulting Numbers: [50, 45] Generated Node #0,0,0: 50:[50, 45] Operation: 67-22=45 Exploring Operation: 67-50=17, Resulting Numbers: [22, 17] Generated Node #0,0,1: 50:[22, 17] Operation: 67-50=17 Exploring Operation: 67+22=89, Resulting Numbers: [50, 89] Generated Node #0,0,2: 50:[50, 89] Operation: 67+22=89 Exploring Operation: 50-22=28, Resulting Numbers: [67, 28] Generated Node #0,0,3: 50:[67, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[50, 45], Operations: ['67-45=22', '67-22=45'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,50 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[22, 17], Operations: ['67-45=22', '67-50=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,50 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[67, 28], Operations: ['67-45=22', '50-22=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[50, 89], Operations: ['67-45=22', '67+22=89'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,50 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,50 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: 50:[1, 5], Operations: ['67/67=1', '50-45=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[50, 0], Operations: ['67-67=0', '45*0=0'] Exploring Operation: 50*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[67, 67, 50, 45], Operations: [] Exploring Operation: 67-67=0, Resulting Numbers: [50, 45, 0] Generated Node #0,2: 50:[50, 45, 0] Operation: 67-67=0 Moving to Node #0,2 Current State: 50:[50, 45, 0], Operations: ['67-67=0'] Exploring Operation: 45*0=0, Resulting Numbers: [50, 0] Generated Node #0,2,2: 50:[50, 0] Operation: 45*0=0 Moving to Node #0,2,2 Current State: 50:[50, 0], Operations: ['67-67=0', '45*0=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.953125
hs_4
mult_heuristic
[ 47, 62, 59, 85 ]
11
[ "62-47=15", "85-59=26", "26-15=11" ]
Current State: 11:[47, 62, 59, 85], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [59, 85, 15] Generated Node #2: [59, 85, 15] from Operation: 62-47=15 Current State: 11:[59, 85, 15], Operations: ['62-47=15'] Exploring Operation: 85-59=26, Resulting Numbers: [15, 26] Generated Node #3: [15, 26] from Operation: 85-59=26 Current State: 11:[15, 26], Operations: ['62-47=15', '85-59=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[47, 62, 59, 85], Operations: [] Exploring Operation: 85-62=23, Resulting Numbers: [47, 59, 23] Generated Node #0,0: 11:[47, 59, 23] Operation: 85-62=23 Exploring Operation: 85-59=26, Resulting Numbers: [47, 62, 26] Generated Node #0,1: 11:[47, 62, 26] Operation: 85-59=26 Exploring Operation: 62-59=3, Resulting Numbers: [47, 85, 3] Generated Node #0,2: 11:[47, 85, 3] Operation: 62-59=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[47, 59, 23], Operations: ['85-62=23'] Exploring Operation: 59-47=12, Resulting Numbers: [23, 12] Generated Node #0,0,0: 11:[23, 12] Operation: 59-47=12 Exploring Operation: 47-23=24, Resulting Numbers: [59, 24] Generated Node #0,0,1: 11:[59, 24] Operation: 47-23=24 Exploring Operation: 59-23=36, Resulting Numbers: [47, 36] Generated Node #0,0,2: 11:[47, 36] Operation: 59-23=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[23, 12], Operations: ['85-62=23', '59-47=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[47, 62, 59, 85], Operations: [] Exploring Operation: 85-62=23, Resulting Numbers: [47, 59, 23] Generated Node #0,0: 11:[47, 59, 23] Operation: 85-62=23 Moving to Node #0,0 Current State: 11:[47, 59, 23], Operations: ['85-62=23'] Exploring Operation: 59-47=12, Resulting Numbers: [23, 12] Generated Node #0,0,0: 11:[23, 12] Operation: 59-47=12 Moving to Node #0,0,0 Current State: 11:[23, 12], Operations: ['85-62=23', '59-47=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 54, 78, 65, 48 ]
85
[ "54+48=102", "65*102=6630", "6630/78=85" ]
Current State: 85:[54, 78, 65, 48], Operations: [] Exploring Operation: 54+48=102, Resulting Numbers: [78, 65, 102] Generated Node #2: [78, 65, 102] from Operation: 54+48=102 Current State: 85:[78, 65, 102], Operations: ['54+48=102'] Exploring Operation: 65*102=6630, Resulting Numbers: [78, 6630] Generated Node #3: [78, 6630] from Operation: 65*102=6630 Current State: 85:[78, 6630], Operations: ['54+48=102', '65*102=6630'] Exploring Operation: 6630/78=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[54, 78, 65, 48], Operations: [] Exploring Operation: 65-48=17, Resulting Numbers: [54, 78, 17] Generated Node #0,0: 85:[54, 78, 17] Operation: 65-48=17 Exploring Operation: 54+48=102, Resulting Numbers: [78, 65, 102] Generated Node #0,1: 85:[78, 65, 102] Operation: 54+48=102 Exploring Operation: 65-54=11, Resulting Numbers: [78, 48, 11] Generated Node #0,2: 85:[78, 48, 11] Operation: 65-54=11 Exploring Operation: 78-54=24, Resulting Numbers: [65, 48, 24] Generated Node #0,3: 85:[65, 48, 24] Operation: 78-54=24 Exploring Operation: 54-48=6, Resulting Numbers: [78, 65, 6] Generated Node #0,4: 85:[78, 65, 6] Operation: 54-48=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[78, 65, 6], Operations: ['54-48=6'] Exploring Operation: 78-6=72, Resulting Numbers: [65, 72] Generated Node #0,4,0: 85:[65, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [65, 13] Generated Node #0,4,1: 85:[65, 13] Operation: 78/6=13 Exploring Operation: 65+6=71, Resulting Numbers: [78, 71] Generated Node #0,4,2: 85:[78, 71] Operation: 65+6=71 Exploring Operation: 78+6=84, Resulting Numbers: [65, 84] Generated Node #0,4,3: 85:[65, 84] Operation: 78+6=84 Exploring Operation: 78-65=13, Resulting Numbers: [6, 13] Generated Node #0,4,4: 85:[6, 13] Operation: 78-65=13 Moving to Node #0,4,4 Current State: 85:[6, 13], Operations: ['54-48=6', '78-65=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,85 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,85 unequal: No Solution Moving to Node #0,4,3 Current State: 85:[65, 84], Operations: ['54-48=6', '78+6=84'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 65*84=5460, Resulting Numbers: [5460] 5460,85 unequal: No Solution Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,85 unequal: No Solution Moving to Node #0,4,2 Current State: 85:[78, 71], Operations: ['54-48=6', '65+6=71'] Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,85 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,85 unequal: No Solution Moving to Node #0,4,1 Current State: 85:[65, 13], Operations: ['54-48=6', '78/6=13'] Exploring Operation: 65+13=78, Resulting Numbers: [78] 78,85 unequal: No Solution Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 65*13=845, Resulting Numbers: [845] 845,85 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,85 unequal: No Solution Moving to Node #0,4,0 Current State: 85:[65, 72], Operations: ['54-48=6', '78-6=72'] Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,85 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[54, 78, 17], Operations: ['65-48=17'] Exploring Operation: 54+17=71, Resulting Numbers: [78, 71] Generated Node #0,0,0: 85:[78, 71] Operation: 54+17=71 Exploring Operation: 54+78=132, Resulting Numbers: [17, 132] Generated Node #0,0,1: 85:[17, 132] Operation: 54+78=132 Exploring Operation: 78+17=95, Resulting Numbers: [54, 95] Generated Node #0,0,2: 85:[54, 95] Operation: 78+17=95 Exploring Operation: 54-17=37, Resulting Numbers: [78, 37] Generated Node #0,0,3: 85:[78, 37] Operation: 54-17=37 Exploring Operation: 78-54=24, Resulting Numbers: [17, 24] Generated Node #0,0,4: 85:[17, 24] Operation: 78-54=24 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 85:[17, 24], Operations: ['65-48=17', '78-54=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,85 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,85 unequal: No Solution No 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: 85:[78, 71], Operations: ['65-48=17', '54+17=71'] Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,85 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,85 unequal: No Solution No 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: 85:[78, 37], Operations: ['65-48=17', '54-17=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,85 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,85 unequal: No Solution No 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: 85:[54, 95], Operations: ['65-48=17', '78+17=95'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,85 unequal: No Solution Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,85 unequal: No Solution No 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: 85:[17, 132], Operations: ['65-48=17', '54+78=132'] Exploring Operation: 17+132=149, Resulting Numbers: [149] 149,85 unequal: No Solution Exploring Operation: 17*132=2244, Resulting Numbers: [2244] 2244,85 unequal: No Solution Exploring Operation: 132-17=115, Resulting Numbers: [115] 115,85 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: 85:[78, 65, 102], Operations: ['54+48=102'] Exploring Operation: 78+65=143, Resulting Numbers: [102, 143] Generated Node #0,1,0: 85:[102, 143] Operation: 78+65=143 Exploring Operation: 102-78=24, Resulting Numbers: [65, 24] Generated Node #0,1,1: 85:[65, 24] Operation: 102-78=24 Exploring Operation: 78-65=13, Resulting Numbers: [102, 13] Generated Node #0,1,2: 85:[102, 13] Operation: 78-65=13 Exploring Operation: 65+102=167, Resulting Numbers: [78, 167] Generated Node #0,1,3: 85:[78, 167] Operation: 65+102=167 Exploring Operation: 102-65=37, Resulting Numbers: [78, 37] Generated Node #0,1,4: 85:[78, 37] Operation: 102-65=37 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[102, 13], Operations: ['54+48=102', '78-65=13'] Exploring Operation: 102-13=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 102+13=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 102*13=1326, Resulting Numbers: [1326] 1326,85 unequal: No Solution No 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: 85:[65, 24], Operations: ['54+48=102', '102-78=24'] Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,85 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 85:[78, 37], Operations: ['54+48=102', '102-65=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,85 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,85 unequal: No Solution No 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: 85:[102, 143], Operations: ['54+48=102', '78+65=143'] Exploring Operation: 102+143=245, Resulting Numbers: [245] 245,85 unequal: No Solution Exploring Operation: 143-102=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 102*143=14586, Resulting Numbers: [14586] 14586,85 unequal: No Solution No 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: 85:[78, 167], Operations: ['54+48=102', '65+102=167'] Exploring Operation: 78*167=13026, Resulting Numbers: [13026] 13026,85 unequal: No Solution Exploring Operation: 78+167=245, Resulting Numbers: [245] 245,85 unequal: No Solution Exploring Operation: 167-78=89, Resulting Numbers: [89] 89,85 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: 85:[78, 48, 11], Operations: ['65-54=11'] Exploring Operation: 48-11=37, Resulting Numbers: [78, 37] Generated Node #0,2,0: 85:[78, 37] Operation: 48-11=37 Exploring Operation: 48+11=59, Resulting Numbers: [78, 59] Generated Node #0,2,1: 85:[78, 59] Operation: 48+11=59 Exploring Operation: 78+11=89, Resulting Numbers: [48, 89] Generated Node #0,2,2: 85:[48, 89] Operation: 78+11=89 Exploring Operation: 78+48=126, Resulting Numbers: [11, 126] Generated Node #0,2,3: 85:[11, 126] Operation: 78+48=126 Exploring Operation: 78-48=30, Resulting Numbers: [11, 30] Generated Node #0,2,4: 85:[11, 30] Operation: 78-48=30 Moving to Node #0,2,4 Current State: 85:[11, 30], Operations: ['65-54=11', '78-48=30'] Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,85 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[78, 37], Operations: ['65-54=11', '48-11=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[78, 59], Operations: ['65-54=11', '48+11=59'] Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 78+59=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 78*59=4602, Resulting Numbers: [4602] 4602,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[48, 89], Operations: ['65-54=11', '78+11=89'] Exploring Operation: 48+89=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 48*89=4272, Resulting Numbers: [4272] 4272,85 unequal: No Solution Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[11, 126], Operations: ['65-54=11', '78+48=126'] Exploring Operation: 126-11=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 11*126=1386, Resulting Numbers: [1386] 1386,85 unequal: No Solution Exploring Operation: 11+126=137, Resulting Numbers: [137] 137,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[65, 48, 24], Operations: ['78-54=24'] Exploring Operation: 48-24=24, Resulting Numbers: [65, 24] Generated Node #0,3,0: 85:[65, 24] Operation: 48-24=24 Exploring Operation: 65-48=17, Resulting Numbers: [24, 17] Generated Node #0,3,1: 85:[24, 17] Operation: 65-48=17 Exploring Operation: 48/24=2, Resulting Numbers: [65, 2] Generated Node #0,3,2: 85:[65, 2] Operation: 48/24=2 Exploring Operation: 65+48=113, Resulting Numbers: [24, 113] Generated Node #0,3,3: 85:[24, 113] Operation: 65+48=113 Exploring Operation: 48+24=72, Resulting Numbers: [65, 72] Generated Node #0,3,4: 85:[65, 72] Operation: 48+24=72 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[24, 17], Operations: ['78-54=24', '65-48=17'] Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,85 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,85 unequal: No Solution No 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: 85:[65, 2], Operations: ['78-54=24', '48/24=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,85 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,85 unequal: No Solution No 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: 85:[65, 24], Operations: ['78-54=24', '48-24=24'] Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,85 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 85:[65, 72], Operations: ['78-54=24', '48+24=72'] Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,85 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,85 unequal: No Solution No 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: 85:[24, 113], Operations: ['78-54=24', '65+48=113'] Exploring Operation: 113-24=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 24*113=2712, Resulting Numbers: [2712] 2712,85 unequal: No Solution Exploring Operation: 24+113=137, Resulting Numbers: [137] 137,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 35, 46, 52, 47 ]
87
[ "35+52=87", "47-46=1", "87*1=87" ]
Current State: 87:[35, 46, 52, 47], Operations: [] Exploring Operation: 35+52=87, Resulting Numbers: [46, 47, 87] Generated Node #2: [46, 47, 87] from Operation: 35+52=87 Current State: 87:[46, 47, 87], Operations: ['35+52=87'] Exploring Operation: 47-46=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 47-46=1 Current State: 87:[87, 1], Operations: ['35+52=87', '47-46=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[35, 46, 52, 47], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [35, 47, 6] Generated Node #0,0: 87:[35, 47, 6] Operation: 52-46=6 Exploring Operation: 47-46=1, Resulting Numbers: [35, 52, 1] Generated Node #0,1: 87:[35, 52, 1] Operation: 47-46=1 Exploring Operation: 35+52=87, Resulting Numbers: [46, 47, 87] Generated Node #0,2: 87:[46, 47, 87] Operation: 35+52=87 Exploring Operation: 52-47=5, Resulting Numbers: [35, 46, 5] Generated Node #0,3: 87:[35, 46, 5] Operation: 52-47=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[35, 46, 5], Operations: ['52-47=5'] Exploring Operation: 35+46=81, Resulting Numbers: [5, 81] Generated Node #0,3,0: 87:[5, 81] Operation: 35+46=81 Exploring Operation: 35-5=30, Resulting Numbers: [46, 30] Generated Node #0,3,1: 87:[46, 30] Operation: 35-5=30 Exploring Operation: 46-5=41, Resulting Numbers: [35, 41] Generated Node #0,3,2: 87:[35, 41] Operation: 46-5=41 Exploring Operation: 46-35=11, Resulting Numbers: [5, 11] Generated Node #0,3,3: 87:[5, 11] Operation: 46-35=11 Moving to Node #0,3,0 Current State: 87:[5, 81], Operations: ['52-47=5', '35+46=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,87 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[5, 11], Operations: ['52-47=5', '46-35=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[35, 41], Operations: ['52-47=5', '46-5=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[46, 30], Operations: ['52-47=5', '35-5=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,87 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[35, 47, 6], Operations: ['52-46=6'] Exploring Operation: 35+47=82, Resulting Numbers: [6, 82] Generated Node #0,0,0: 87:[6, 82] Operation: 35+47=82 Exploring Operation: 47-35=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 87:[6, 12] Operation: 47-35=12 Exploring Operation: 35-6=29, Resulting Numbers: [47, 29] Generated Node #0,0,2: 87:[47, 29] Operation: 35-6=29 Exploring Operation: 47-6=41, Resulting Numbers: [35, 41] Generated Node #0,0,3: 87:[35, 41] Operation: 47-6=41 Moving to Node #0,0,0 Current State: 87:[6, 82], Operations: ['52-46=6', '35+47=82'] Exploring Operation: 6*82=492, Resulting Numbers: [492] 492,87 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[6, 12], Operations: ['52-46=6', '47-35=12'] Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[35, 41], Operations: ['52-46=6', '47-6=41'] Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,87 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[47, 29], Operations: ['52-46=6', '35-6=29'] Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,87 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,87 unequal: No Solution No 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: 87:[35, 52, 1], Operations: ['47-46=1'] Exploring Operation: 52-35=17, Resulting Numbers: [1, 17] Generated Node #0,1,0: 87:[1, 17] Operation: 52-35=17 Exploring Operation: 35-1=34, Resulting Numbers: [52, 34] Generated Node #0,1,1: 87:[52, 34] Operation: 35-1=34 Exploring Operation: 35+52=87, Resulting Numbers: [1, 87] Generated Node #0,1,2: 87:[1, 87] Operation: 35+52=87 Exploring Operation: 52-1=51, Resulting Numbers: [35, 51] Generated Node #0,1,3: 87:[35, 51] Operation: 52-1=51 Moving to Node #0,1,2 Current State: 87:[1, 87], Operations: ['47-46=1', '35+52=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[35, 46, 52, 47], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [35, 52, 1] Generated Node #0,1: 87:[35, 52, 1] Operation: 47-46=1 Moving to Node #0,1 Current State: 87:[35, 52, 1], Operations: ['47-46=1'] Exploring Operation: 35+52=87, Resulting Numbers: [1, 87] Generated Node #0,1,2: 87:[1, 87] Operation: 35+52=87 Moving to Node #0,1,2 Current State: 87:[1, 87], Operations: ['47-46=1', '35+52=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 94, 2, 85, 94 ]
84
[ "94/94=1", "85-2=83", "1+83=84" ]
Current State: 84:[94, 2, 85, 94], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [2, 85, 1] Generated Node #2: [2, 85, 1] from Operation: 94/94=1 Current State: 84:[2, 85, 1], Operations: ['94/94=1'] Exploring Operation: 85-2=83, Resulting Numbers: [1, 83] Generated Node #3: [1, 83] from Operation: 85-2=83 Current State: 84:[1, 83], Operations: ['94/94=1', '85-2=83'] Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[94, 2, 85, 94], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [2, 85, 0] Generated Node #0,0: 84:[2, 85, 0] Operation: 94-94=0 Exploring Operation: 94/2=47, Resulting Numbers: [85, 94, 47] Generated Node #0,1: 84:[85, 94, 47] Operation: 94/2=47 Exploring Operation: 94-85=9, Resulting Numbers: [94, 2, 9] Generated Node #0,2: 84:[94, 2, 9] Operation: 94-85=9 Exploring Operation: 94/94=1, Resulting Numbers: [2, 85, 1] Generated Node #0,3: 84:[2, 85, 1] Operation: 94/94=1 Exploring Operation: 94-85=9, Resulting Numbers: [2, 94, 9] Generated Node #0,4: 84:[2, 94, 9] Operation: 94-85=9 Moving to Node #0,3 Current State: 84:[2, 85, 1], Operations: ['94/94=1'] Exploring Operation: 85-1=84, Resulting Numbers: [2, 84] Generated Node #0,3,0: 84:[2, 84] Operation: 85-1=84 Exploring Operation: 2*1=2, Resulting Numbers: [85, 2] Generated Node #0,3,1: 84:[85, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [85, 2] Generated Node #0,3,2: 84:[85, 2] Operation: 2/1=2 Exploring Operation: 2+1=3, Resulting Numbers: [85, 3] Generated Node #0,3,3: 84:[85, 3] Operation: 2+1=3 Exploring Operation: 85*1=85, Resulting Numbers: [2, 85] Generated Node #0,3,4: 84:[2, 85] Operation: 85*1=85 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[2, 84], Operations: ['94/94=1', '85-1=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,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,3,1 Current State: 84:[85, 2], Operations: ['94/94=1', '2*1=2'] Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,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,3,2 Current State: 84:[85, 2], Operations: ['94/94=1', '2/1=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 85+2=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,3,3 Current State: 84:[85, 3], Operations: ['94/94=1', '2+1=3'] Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,84 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,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,3,4 Current State: 84:[2, 85], Operations: ['94/94=1', '85*1=85'] Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,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:[2, 85, 0], Operations: ['94-94=0'] Exploring Operation: 85-0=85, Resulting Numbers: [2, 85] Generated Node #0,0,0: 84:[2, 85] Operation: 85-0=85 Exploring Operation: 85+0=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 84:[2, 85] Operation: 85+0=85 Exploring Operation: 2-0=2, Resulting Numbers: [85, 2] Generated Node #0,0,2: 84:[85, 2] Operation: 2-0=2 Exploring Operation: 2+0=2, Resulting Numbers: [85, 2] Generated Node #0,0,3: 84:[85, 2] Operation: 2+0=2 Exploring Operation: 85*0=0, Resulting Numbers: [2, 0] Generated Node #0,0,4: 84:[2, 0] Operation: 85*0=0 Moving to Node #0,2 Current State: 84:[94, 2, 9], Operations: ['94-85=9'] Exploring Operation: 94/2=47, Resulting Numbers: [9, 47] Generated Node #0,2,0: 84:[9, 47] Operation: 94/2=47 Exploring Operation: 2+9=11, Resulting Numbers: [94, 11] Generated Node #0,2,1: 84:[94, 11] Operation: 2+9=11 Exploring Operation: 94-9=85, Resulting Numbers: [2, 85] Generated Node #0,2,2: 84:[2, 85] Operation: 94-9=85 Exploring Operation: 9-2=7, Resulting Numbers: [94, 7] Generated Node #0,2,3: 84:[94, 7] Operation: 9-2=7 Exploring Operation: 94-2=92, Resulting Numbers: [9, 92] Generated Node #0,2,4: 84:[9, 92] Operation: 94-2=92 Moving to Node #0,4 Current State: 84:[2, 94, 9], Operations: ['94-85=9'] Exploring Operation: 94-2=92, Resulting Numbers: [9, 92] Generated Node #0,4,0: 84:[9, 92] Operation: 94-2=92 Exploring Operation: 2+9=11, Resulting Numbers: [94, 11] Generated Node #0,4,1: 84:[94, 11] Operation: 2+9=11 Exploring Operation: 94-9=85, Resulting Numbers: [2, 85] Generated Node #0,4,2: 84:[2, 85] Operation: 94-9=85 Exploring Operation: 9-2=7, Resulting Numbers: [94, 7] Generated Node #0,4,3: 84:[94, 7] Operation: 9-2=7 Exploring Operation: 94/2=47, Resulting Numbers: [9, 47] Generated Node #0,4,4: 84:[9, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 84:[2, 85], Operations: ['94-85=9', '94-9=85'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 2+85=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,4,4 Current State: 84:[9, 47], Operations: ['94-85=9', '94/2=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,84 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,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,4,0 Current State: 84:[9, 92], Operations: ['94-85=9', '94-2=92'] Exploring Operation: 9+92=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 9*92=828, Resulting Numbers: [828] 828,84 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,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,4,3 Current State: 84:[94, 7], Operations: ['94-85=9', '9-2=7'] Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,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,4,1 Current State: 84:[94, 11], Operations: ['94-85=9', '2+9=11'] Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,84 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,84 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,84 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: 84:[85, 94, 47], Operations: ['94/2=47'] Exploring Operation: 94-85=9, Resulting Numbers: [47, 9] Generated Node #0,1,0: 84:[47, 9] Operation: 94-85=9 Exploring Operation: 85-47=38, Resulting Numbers: [94, 38] Generated Node #0,1,1: 84:[94, 38] Operation: 85-47=38 Exploring Operation: 85+47=132, Resulting Numbers: [94, 132] Generated Node #0,1,2: 84:[94, 132] Operation: 85+47=132 Exploring Operation: 94/47=2, Resulting Numbers: [85, 2] Generated Node #0,1,3: 84:[85, 2] Operation: 94/47=2 Exploring Operation: 94-47=47, Resulting Numbers: [85, 47] Generated Node #0,1,4: 84:[85, 47] Operation: 94-47=47 Moving to Node #0,0,0 Current State: 84:[2, 85], Operations: ['94-94=0', '85-0=85'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[85, 2], Operations: ['94-94=0', '2-0=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[2, 85], Operations: ['94-85=9', '94-9=85'] Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[2, 85], Operations: ['94-94=0', '85+0=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[85, 2], Operations: ['94/2=47', '94/47=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[85, 2], Operations: ['94-94=0', '2+0=2'] Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,84 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,84 unequal: No Solution Moving to Node #0,0,4 Current State: 84:[2, 0], Operations: ['94-94=0', '85*0=0'] Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[85, 47], Operations: ['94/2=47', '94-47=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[9, 47], Operations: ['94-85=9', '94/2=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,84 unequal: No Solution Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[47, 9], Operations: ['94/2=47', '94-85=9'] Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,84 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,84 unequal: No Solution Moving to Node #0,2,4 Current State: 84:[9, 92], Operations: ['94-85=9', '94-2=92'] Exploring Operation: 9*92=828, Resulting Numbers: [828] 828,84 unequal: No Solution Exploring Operation: 9+92=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[94, 7], Operations: ['94-85=9', '9-2=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[94, 11], Operations: ['94-85=9', '2+9=11'] Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,84 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,84 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[94, 38], Operations: ['94/2=47', '85-47=38'] Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,84 unequal: No Solution Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[94, 132], Operations: ['94/2=47', '85+47=132'] Exploring Operation: 94*132=12408, Resulting Numbers: [12408] 12408,84 unequal: No Solution Exploring Operation: 132-94=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 94+132=226, Resulting Numbers: [226] 226,84 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 4, 62, 10, 39 ]
61
[ "4*10=40", "62+39=101", "101-40=61" ]
Current State: 61:[4, 62, 10, 39], Operations: [] Exploring Operation: 4*10=40, Resulting Numbers: [62, 39, 40] Generated Node #2: [62, 39, 40] from Operation: 4*10=40 Current State: 61:[62, 39, 40], Operations: ['4*10=40'] Exploring Operation: 62+39=101, Resulting Numbers: [40, 101] Generated Node #3: [40, 101] from Operation: 62+39=101 Current State: 61:[40, 101], Operations: ['4*10=40', '62+39=101'] Exploring Operation: 101-40=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[4, 62, 10, 39], Operations: [] Exploring Operation: 4*10=40, Resulting Numbers: [62, 39, 40] Generated Node #0,0: 61:[62, 39, 40] Operation: 4*10=40 Exploring Operation: 4+39=43, Resulting Numbers: [62, 10, 43] Generated Node #0,1: 61:[62, 10, 43] Operation: 4+39=43 Exploring Operation: 4+10=14, Resulting Numbers: [62, 39, 14] Generated Node #0,2: 61:[62, 39, 14] Operation: 4+10=14 Exploring Operation: 62-4=58, Resulting Numbers: [10, 39, 58] Generated Node #0,3: 61:[10, 39, 58] Operation: 62-4=58 Exploring Operation: 10+39=49, Resulting Numbers: [4, 62, 49] Generated Node #0,4: 61:[4, 62, 49] Operation: 10+39=49 Moving to Node #0,0 Current State: 61:[62, 39, 40], Operations: ['4*10=40'] Exploring Operation: 62-39=23, Resulting Numbers: [40, 23] Generated Node #0,0,0: 61:[40, 23] Operation: 62-39=23 Exploring Operation: 62-40=22, Resulting Numbers: [39, 22] Generated Node #0,0,1: 61:[39, 22] Operation: 62-40=22 Exploring Operation: 39+40=79, Resulting Numbers: [62, 79] Generated Node #0,0,2: 61:[62, 79] Operation: 39+40=79 Exploring Operation: 40-39=1, Resulting Numbers: [62, 1] Generated Node #0,0,3: 61:[62, 1] Operation: 40-39=1 Exploring Operation: 62+39=101, Resulting Numbers: [40, 101] Generated Node #0,0,4: 61:[40, 101] Operation: 62+39=101 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[62, 79], Operations: ['4*10=40', '39+40=79'] Exploring Operation: 62+79=141, Resulting Numbers: [141] 141,61 unequal: No Solution Exploring Operation: 62*79=4898, Resulting Numbers: [4898] 4898,61 unequal: No Solution Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[40, 23], Operations: ['4*10=40', '62-39=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,61 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[39, 22], Operations: ['4*10=40', '62-40=22'] Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,61 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[4, 62, 10, 39], Operations: [] Exploring Operation: 4*10=40, Resulting Numbers: [62, 39, 40] Generated Node #0,0: 61:[62, 39, 40] Operation: 4*10=40 Moving to Node #0,0 Current State: 61:[62, 39, 40], Operations: ['4*10=40'] Exploring Operation: 62-40=22, Resulting Numbers: [39, 22] Generated Node #0,0,1: 61:[39, 22] Operation: 62-40=22 Moving to Node #0,0,1 Current State: 61:[39, 22], Operations: ['4*10=40', '62-40=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 1, 79, 10, 91 ]
17
[ "1*79=79", "91+79=170", "170/10=17" ]
Current State: 17:[1, 79, 10, 91], Operations: [] Exploring Operation: 1*79=79, Resulting Numbers: [10, 91, 79] Generated Node #2: [10, 91, 79] from Operation: 1*79=79 Current State: 17:[10, 91, 79], Operations: ['1*79=79'] Exploring Operation: 91+79=170, Resulting Numbers: [10, 170] Generated Node #3: [10, 170] from Operation: 91+79=170 Current State: 17:[10, 170], Operations: ['1*79=79', '91+79=170'] Exploring Operation: 170/10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[1, 79, 10, 91], Operations: [] Exploring Operation: 1+10=11, Resulting Numbers: [79, 91, 11] Generated Node #0,0: 17:[79, 91, 11] Operation: 1+10=11 Exploring Operation: 91-1=90, Resulting Numbers: [79, 10, 90] Generated Node #0,1: 17:[79, 10, 90] Operation: 91-1=90 Exploring Operation: 79-1=78, Resulting Numbers: [10, 91, 78] Generated Node #0,2: 17:[10, 91, 78] Operation: 79-1=78 Exploring Operation: 91-79=12, Resulting Numbers: [1, 10, 12] Generated Node #0,3: 17:[1, 10, 12] Operation: 91-79=12 Moving to Node #0,3 Current State: 17:[1, 10, 12], Operations: ['91-79=12'] Exploring Operation: 10/1=10, Resulting Numbers: [12, 10] Generated Node #0,3,0: 17:[12, 10] Operation: 10/1=10 Exploring Operation: 1*10=10, Resulting Numbers: [12, 10] Generated Node #0,3,1: 17:[12, 10] Operation: 1*10=10 Exploring Operation: 1+12=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 17:[10, 13] Operation: 1+12=13 Exploring Operation: 1+10=11, Resulting Numbers: [12, 11] Generated Node #0,3,3: 17:[12, 11] Operation: 1+10=11 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[10, 13], Operations: ['91-79=12', '1+12=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[12, 11], Operations: ['91-79=12', '1+10=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[12, 10], Operations: ['91-79=12', '10/1=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[12, 10], Operations: ['91-79=12', '1*10=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 17:[79, 10, 90], Operations: ['91-1=90'] Exploring Operation: 90-79=11, Resulting Numbers: [10, 11] Generated Node #0,1,0: 17:[10, 11] Operation: 90-79=11 Exploring Operation: 79-10=69, Resulting Numbers: [90, 69] Generated Node #0,1,1: 17:[90, 69] Operation: 79-10=69 Exploring Operation: 90-10=80, Resulting Numbers: [79, 80] Generated Node #0,1,2: 17:[79, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [79, 9] Generated Node #0,1,3: 17:[79, 9] Operation: 90/10=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[10, 11], Operations: ['91-1=90', '90-79=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[79, 9], Operations: ['91-1=90', '90/10=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,17 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,17 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[90, 69], Operations: ['91-1=90', '79-10=69'] Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,17 unequal: No Solution Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[79, 80], Operations: ['91-1=90', '90-10=80'] Exploring Operation: 79*80=6320, Resulting Numbers: [6320] 6320,17 unequal: No Solution Exploring Operation: 79+80=159, Resulting Numbers: [159] 159,17 unequal: No Solution Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,17 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: 17:[79, 91, 11], Operations: ['1+10=11'] Exploring Operation: 91-11=80, Resulting Numbers: [79, 80] Generated Node #0,0,0: 17:[79, 80] Operation: 91-11=80 Exploring Operation: 79+11=90, Resulting Numbers: [91, 90] Generated Node #0,0,1: 17:[91, 90] Operation: 79+11=90 Exploring Operation: 79-11=68, Resulting Numbers: [91, 68] Generated Node #0,0,2: 17:[91, 68] Operation: 79-11=68 Exploring Operation: 91-79=12, Resulting Numbers: [11, 12] Generated Node #0,0,3: 17:[11, 12] Operation: 91-79=12 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[11, 12], Operations: ['1+10=11', '91-79=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,17 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[79, 80], Operations: ['1+10=11', '91-11=80'] Exploring Operation: 79*80=6320, Resulting Numbers: [6320] 6320,17 unequal: No Solution Exploring Operation: 79+80=159, Resulting Numbers: [159] 159,17 unequal: No Solution Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[91, 68], Operations: ['1+10=11', '79-11=68'] Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 91+68=159, Resulting Numbers: [159] 159,17 unequal: No Solution Exploring Operation: 91*68=6188, Resulting Numbers: [6188] 6188,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[91, 90], Operations: ['1+10=11', '79+11=90'] Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,17 unequal: No Solution Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 17:[10, 91, 78], Operations: ['79-1=78'] Exploring Operation: 10+91=101, Resulting Numbers: [78, 101] Generated Node #0,2,0: 17:[78, 101] Operation: 10+91=101 Exploring Operation: 78-10=68, Resulting Numbers: [91, 68] Generated Node #0,2,1: 17:[91, 68] Operation: 78-10=68 Exploring Operation: 91-10=81, Resulting Numbers: [78, 81] Generated Node #0,2,2: 17:[78, 81] Operation: 91-10=81 Exploring Operation: 91-78=13, Resulting Numbers: [10, 13] Generated Node #0,2,3: 17:[10, 13] Operation: 91-78=13 Moving to Node #0,2,3 Current State: 17:[10, 13], Operations: ['79-1=78', '91-78=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,17 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[78, 81], Operations: ['79-1=78', '91-10=81'] Exploring Operation: 78*81=6318, Resulting Numbers: [6318] 6318,17 unequal: No Solution Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 78+81=159, Resulting Numbers: [159] 159,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[91, 68], Operations: ['79-1=78', '78-10=68'] Exploring Operation: 91*68=6188, Resulting Numbers: [6188] 6188,17 unequal: No Solution Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 91+68=159, Resulting Numbers: [159] 159,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[78, 101], Operations: ['79-1=78', '10+91=101'] Exploring Operation: 78+101=179, Resulting Numbers: [179] 179,17 unequal: No Solution Exploring Operation: 101-78=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 78*101=7878, Resulting Numbers: [7878] 7878,17 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 70, 13, 24, 72 ]
80
[ "70+13=83", "72/24=3", "83-3=80" ]
Current State: 80:[70, 13, 24, 72], Operations: [] Exploring Operation: 70+13=83, Resulting Numbers: [24, 72, 83] Generated Node #2: [24, 72, 83] from Operation: 70+13=83 Current State: 80:[24, 72, 83], Operations: ['70+13=83'] Exploring Operation: 72/24=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 72/24=3 Current State: 80:[83, 3], Operations: ['70+13=83', '72/24=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[70, 13, 24, 72], Operations: [] Exploring Operation: 70+13=83, Resulting Numbers: [24, 72, 83] Generated Node #0,0: 80:[24, 72, 83] Operation: 70+13=83 Exploring Operation: 72/24=3, Resulting Numbers: [70, 13, 3] Generated Node #0,1: 80:[70, 13, 3] Operation: 72/24=3 Exploring Operation: 72-70=2, Resulting Numbers: [13, 24, 2] Generated Node #0,2: 80:[13, 24, 2] Operation: 72-70=2 Moving to Node #0,2 Current State: 80:[13, 24, 2], Operations: ['72-70=2'] Exploring Operation: 13+2=15, Resulting Numbers: [24, 15] Generated Node #0,2,0: 80:[24, 15] Operation: 13+2=15 Exploring Operation: 13+24=37, Resulting Numbers: [2, 37] Generated Node #0,2,1: 80:[2, 37] Operation: 13+24=37 Exploring Operation: 24-13=11, Resulting Numbers: [2, 11] Generated Node #0,2,2: 80:[2, 11] Operation: 24-13=11 Moving to Node #0,1 Current State: 80:[70, 13, 3], Operations: ['72/24=3'] Exploring Operation: 13+3=16, Resulting Numbers: [70, 16] Generated Node #0,1,0: 80:[70, 16] Operation: 13+3=16 Exploring Operation: 70+13=83, Resulting Numbers: [3, 83] Generated Node #0,1,1: 80:[3, 83] Operation: 70+13=83 Exploring Operation: 70+3=73, Resulting Numbers: [13, 73] Generated Node #0,1,2: 80:[13, 73] Operation: 70+3=73 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[3, 83], Operations: ['72/24=3', '70+13=83'] Exploring Operation: 3*83=249, Resulting Numbers: [249] 249,80 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[70, 13, 24, 72], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [70, 13, 3] Generated Node #0,1: 80:[70, 13, 3] Operation: 72/24=3 Moving to Node #0,1 Current State: 80:[70, 13, 3], Operations: ['72/24=3'] Exploring Operation: 70+13=83, Resulting Numbers: [3, 83] Generated Node #0,1,1: 80:[3, 83] Operation: 70+13=83 Moving to Node #0,1,1 Current State: 80:[3, 83], Operations: ['72/24=3', '70+13=83'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 80, 97, 39, 89 ]
73
[ "80*89=7120", "7120-39=7081", "7081/97=73" ]
Current State: 73:[80, 97, 39, 89], Operations: [] Exploring Operation: 80*89=7120, Resulting Numbers: [97, 39, 7120] Generated Node #2: [97, 39, 7120] from Operation: 80*89=7120 Current State: 73:[97, 39, 7120], Operations: ['80*89=7120'] Exploring Operation: 7120-39=7081, Resulting Numbers: [97, 7081] Generated Node #3: [97, 7081] from Operation: 7120-39=7081 Current State: 73:[97, 7081], Operations: ['80*89=7120', '7120-39=7081'] Exploring Operation: 7081/97=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[80, 97, 39, 89], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [97, 89, 41] Generated Node #0,0: 73:[97, 89, 41] Operation: 80-39=41 Exploring Operation: 80+39=119, Resulting Numbers: [97, 89, 119] Generated Node #0,1: 73:[97, 89, 119] Operation: 80+39=119 Exploring Operation: 89-39=50, Resulting Numbers: [80, 97, 50] Generated Node #0,2: 73:[80, 97, 50] Operation: 89-39=50 Exploring Operation: 97-39=58, Resulting Numbers: [80, 89, 58] Generated Node #0,3: 73:[80, 89, 58] Operation: 97-39=58 Moving to Node #0,3 Current State: 73:[80, 89, 58], Operations: ['97-39=58'] Exploring Operation: 80-58=22, Resulting Numbers: [89, 22] Generated Node #0,3,0: 73:[89, 22] Operation: 80-58=22 Exploring Operation: 89-80=9, Resulting Numbers: [58, 9] Generated Node #0,3,1: 73:[58, 9] Operation: 89-80=9 Exploring Operation: 80+58=138, Resulting Numbers: [89, 138] Generated Node #0,3,2: 73:[89, 138] Operation: 80+58=138 Exploring Operation: 89-58=31, Resulting Numbers: [80, 31] Generated Node #0,3,3: 73:[80, 31] Operation: 89-58=31 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[80, 31], Operations: ['97-39=58', '89-58=31'] Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,73 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[89, 22], Operations: ['97-39=58', '80-58=22'] Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,73 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[58, 9], Operations: ['97-39=58', '89-80=9'] Exploring Operation: 58*9=522, Resulting Numbers: [522] 522,73 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[89, 138], Operations: ['97-39=58', '80+58=138'] Exploring Operation: 89+138=227, Resulting Numbers: [227] 227,73 unequal: No Solution Exploring Operation: 89*138=12282, Resulting Numbers: [12282] 12282,73 unequal: No Solution Exploring Operation: 138-89=49, Resulting Numbers: [49] 49,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[80, 97, 50], Operations: ['89-39=50'] Exploring Operation: 80+50=130, Resulting Numbers: [97, 130] Generated Node #0,2,0: 73:[97, 130] Operation: 80+50=130 Exploring Operation: 97-50=47, Resulting Numbers: [80, 47] Generated Node #0,2,1: 73:[80, 47] Operation: 97-50=47 Exploring Operation: 97-80=17, Resulting Numbers: [50, 17] Generated Node #0,2,2: 73:[50, 17] Operation: 97-80=17 Exploring Operation: 80-50=30, Resulting Numbers: [97, 30] Generated Node #0,2,3: 73:[97, 30] Operation: 80-50=30 Moving to Node #0,0 Current State: 73:[97, 89, 41], Operations: ['80-39=41'] Exploring Operation: 97+41=138, Resulting Numbers: [89, 138] Generated Node #0,0,0: 73:[89, 138] Operation: 97+41=138 Exploring Operation: 97-41=56, Resulting Numbers: [89, 56] Generated Node #0,0,1: 73:[89, 56] Operation: 97-41=56 Exploring Operation: 89+41=130, Resulting Numbers: [97, 130] Generated Node #0,0,2: 73:[97, 130] Operation: 89+41=130 Exploring Operation: 89-41=48, Resulting Numbers: [97, 48] Generated Node #0,0,3: 73:[97, 48] Operation: 89-41=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[89, 56], Operations: ['80-39=41', '97-41=56'] Exploring Operation: 89*56=4984, Resulting Numbers: [4984] 4984,73 unequal: No Solution Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 89+56=145, Resulting Numbers: [145] 145,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[97, 48], Operations: ['80-39=41', '89-41=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,73 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[89, 138], Operations: ['80-39=41', '97+41=138'] Exploring Operation: 89*138=12282, Resulting Numbers: [12282] 12282,73 unequal: No Solution Exploring Operation: 138-89=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 89+138=227, Resulting Numbers: [227] 227,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[97, 130], Operations: ['80-39=41', '89+41=130'] Exploring Operation: 130-97=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 97+130=227, Resulting Numbers: [227] 227,73 unequal: No Solution Exploring Operation: 97*130=12610, Resulting Numbers: [12610] 12610,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 73:[97, 89, 119], Operations: ['80+39=119'] Exploring Operation: 119-89=30, Resulting Numbers: [97, 30] Generated Node #0,1,0: 73:[97, 30] Operation: 119-89=30 Exploring Operation: 97-89=8, Resulting Numbers: [119, 8] Generated Node #0,1,1: 73:[119, 8] Operation: 97-89=8 Exploring Operation: 97+89=186, Resulting Numbers: [119, 186] Generated Node #0,1,2: 73:[119, 186] Operation: 97+89=186 Exploring Operation: 119-97=22, Resulting Numbers: [89, 22] Generated Node #0,1,3: 73:[89, 22] Operation: 119-97=22 Moving to Node #0,2,1 Current State: 73:[80, 47], Operations: ['89-39=50', '97-50=47'] Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,73 unequal: No Solution Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[89, 22], Operations: ['80+39=119', '119-97=22'] Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,73 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[97, 30], Operations: ['89-39=50', '80-50=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[97, 30], Operations: ['80+39=119', '119-89=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,73 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[50, 17], Operations: ['89-39=50', '97-80=17'] Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,73 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[97, 130], Operations: ['89-39=50', '80+50=130'] Exploring Operation: 97*130=12610, Resulting Numbers: [12610] 12610,73 unequal: No Solution Exploring Operation: 130-97=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 97+130=227, Resulting Numbers: [227] 227,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[119, 8], Operations: ['80+39=119', '97-89=8'] Exploring Operation: 119-8=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 119*8=952, Resulting Numbers: [952] 952,73 unequal: No Solution Exploring Operation: 119+8=127, Resulting Numbers: [127] 127,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[119, 186], Operations: ['80+39=119', '97+89=186'] Exploring Operation: 186-119=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 119+186=305, Resulting Numbers: [305] 305,73 unequal: No Solution Exploring Operation: 119*186=22134, Resulting Numbers: [22134] 22134,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 23, 21, 33, 31 ]
66
[ "23-21=2", "33+31=64", "2+64=66" ]
Current State: 66:[23, 21, 33, 31], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [33, 31, 2] Generated Node #2: [33, 31, 2] from Operation: 23-21=2 Current State: 66:[33, 31, 2], Operations: ['23-21=2'] Exploring Operation: 33+31=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 33+31=64 Current State: 66:[2, 64], Operations: ['23-21=2', '33+31=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[23, 21, 33, 31], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [33, 31, 2] Generated Node #0,0: 66:[33, 31, 2] Operation: 23-21=2 Moving to Node #0,0 Current State: 66:[33, 31, 2], Operations: ['23-21=2'] Exploring Operation: 33-31=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 66:[2, 2] Operation: 33-31=2 Moving to Node #0,0,0 Current State: 66:[2, 2], Operations: ['23-21=2', '33-31=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,66 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 32, 41, 37 ]
40
[ "76-32=44", "41-37=4", "44-4=40" ]
Current State: 40:[76, 32, 41, 37], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [41, 37, 44] Generated Node #2: [41, 37, 44] from Operation: 76-32=44 Current State: 40:[41, 37, 44], Operations: ['76-32=44'] Exploring Operation: 41-37=4, Resulting Numbers: [44, 4] Generated Node #3: [44, 4] from Operation: 41-37=4 Current State: 40:[44, 4], Operations: ['76-32=44', '41-37=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[76, 32, 41, 37], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [41, 37, 44] Generated Node #0,0: 40:[41, 37, 44] Operation: 76-32=44 Moving to Node #0,0 Current State: 40:[41, 37, 44], Operations: ['76-32=44'] Exploring Operation: 44-37=7, Resulting Numbers: [41, 7] Generated Node #0,0,0: 40:[41, 7] Operation: 44-37=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[41, 7], Operations: ['76-32=44', '44-37=7'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,40 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
[ 19, 26, 48, 6 ]
96
[ "19-6=13", "26*48=1248", "1248/13=96" ]
Current State: 96:[19, 26, 48, 6], Operations: [] Exploring Operation: 19-6=13, Resulting Numbers: [26, 48, 13] Generated Node #2: [26, 48, 13] from Operation: 19-6=13 Current State: 96:[26, 48, 13], Operations: ['19-6=13'] Exploring Operation: 26*48=1248, Resulting Numbers: [13, 1248] Generated Node #3: [13, 1248] from Operation: 26*48=1248 Current State: 96:[13, 1248], Operations: ['19-6=13', '26*48=1248'] Exploring Operation: 1248/13=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[19, 26, 48, 6], Operations: [] Exploring Operation: 26-19=7, Resulting Numbers: [48, 6, 7] Generated Node #0,0: 96:[48, 6, 7] Operation: 26-19=7 Exploring Operation: 19+26=45, Resulting Numbers: [48, 6, 45] Generated Node #0,1: 96:[48, 6, 45] Operation: 19+26=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[48, 6, 7], Operations: ['26-19=7'] Exploring Operation: 6+7=13, Resulting Numbers: [48, 13] Generated Node #0,0,0: 96:[48, 13] Operation: 6+7=13 Exploring Operation: 48/6=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 96:[7, 8] Operation: 48/6=8 Moving to Node #0,0,0 Current State: 96:[48, 13], Operations: ['26-19=7', '6+7=13'] Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[7, 8], Operations: ['26-19=7', '48/6=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[48, 6, 45], Operations: ['19+26=45'] Exploring Operation: 48/6=8, Resulting Numbers: [45, 8] Generated Node #0,1,0: 96:[45, 8] Operation: 48/6=8 Exploring Operation: 48-45=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 96:[6, 3] Operation: 48-45=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[6, 3], Operations: ['19+26=45', '48-45=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[45, 8], Operations: ['19+26=45', '48/6=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 70, 50, 18, 21 ]
40
[ "70+50=120", "21-18=3", "120/3=40" ]
Current State: 40:[70, 50, 18, 21], Operations: [] Exploring Operation: 70+50=120, Resulting Numbers: [18, 21, 120] Generated Node #2: [18, 21, 120] from Operation: 70+50=120 Current State: 40:[18, 21, 120], Operations: ['70+50=120'] Exploring Operation: 21-18=3, Resulting Numbers: [120, 3] Generated Node #3: [120, 3] from Operation: 21-18=3 Current State: 40:[120, 3], Operations: ['70+50=120', '21-18=3'] Exploring Operation: 120/3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[70, 50, 18, 21], Operations: [] Exploring Operation: 70-21=49, Resulting Numbers: [50, 18, 49] Generated Node #0,0: 40:[50, 18, 49] Operation: 70-21=49 Exploring Operation: 70-18=52, Resulting Numbers: [50, 21, 52] Generated Node #0,1: 40:[50, 21, 52] Operation: 70-18=52 Exploring Operation: 70-50=20, Resulting Numbers: [18, 21, 20] Generated Node #0,2: 40:[18, 21, 20] Operation: 70-50=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[18, 21, 20], Operations: ['70-50=20'] Exploring Operation: 18+21=39, Resulting Numbers: [20, 39] Generated Node #0,2,0: 40:[20, 39] Operation: 18+21=39 Exploring Operation: 20-18=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 40:[21, 2] Operation: 20-18=2 Exploring Operation: 21-18=3, Resulting Numbers: [20, 3] Generated Node #0,2,2: 40:[20, 3] Operation: 21-18=3 Moving to Node #0,2,0 Current State: 40:[20, 39], Operations: ['70-50=20', '18+21=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[21, 2], Operations: ['70-50=20', '20-18=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[20, 3], Operations: ['70-50=20', '21-18=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,40 unequal: No Solution No 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: 40:[50, 18, 49], Operations: ['70-21=49'] Exploring Operation: 49-18=31, Resulting Numbers: [50, 31] Generated Node #0,0,0: 40:[50, 31] Operation: 49-18=31 Exploring Operation: 50-49=1, Resulting Numbers: [18, 1] Generated Node #0,0,1: 40:[18, 1] Operation: 50-49=1 Exploring Operation: 50-18=32, Resulting Numbers: [49, 32] Generated Node #0,0,2: 40:[49, 32] Operation: 50-18=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[18, 1], Operations: ['70-21=49', '50-49=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,40 unequal: No Solution No 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: 40:[49, 32], Operations: ['70-21=49', '50-18=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,40 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,40 unequal: No Solution No 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: 40:[50, 31], Operations: ['70-21=49', '49-18=31'] Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,40 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: 40:[50, 21, 52], Operations: ['70-18=52'] Exploring Operation: 50-21=29, Resulting Numbers: [52, 29] Generated Node #0,1,0: 40:[52, 29] Operation: 50-21=29 Exploring Operation: 52-50=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 40:[21, 2] Operation: 52-50=2 Exploring Operation: 52-21=31, Resulting Numbers: [50, 31] Generated Node #0,1,2: 40:[50, 31] Operation: 52-21=31 Moving to Node #0,1,1 Current State: 40:[21, 2], Operations: ['70-18=52', '52-50=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[50, 31], Operations: ['70-18=52', '52-21=31'] Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,40 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[52, 29], Operations: ['70-18=52', '50-21=29'] Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,40 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,40 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
[ 13, 2, 36, 46 ]
18
[ "46-36=10", "10/2=5", "13+5=18" ]
Current State: 18:[13, 2, 36, 46], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [13, 2, 10] Generated Node #2: [13, 2, 10] from Operation: 46-36=10 Current State: 18:[13, 2, 10], Operations: ['46-36=10'] Exploring Operation: 10/2=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 10/2=5 Current State: 18:[13, 5], Operations: ['46-36=10', '10/2=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[13, 2, 36, 46], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [13, 2, 10] Generated Node #0,0: 18:[13, 2, 10] Operation: 46-36=10 Exploring Operation: 36-13=23, Resulting Numbers: [2, 46, 23] Generated Node #0,1: 18:[2, 46, 23] Operation: 36-13=23 Exploring Operation: 36/2=18, Resulting Numbers: [13, 46, 18] Generated Node #0,2: 18:[13, 46, 18] Operation: 36/2=18 Exploring Operation: 46/2=23, Resulting Numbers: [13, 36, 23] Generated Node #0,3: 18:[13, 36, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[13, 2, 10], Operations: ['46-36=10'] Exploring Operation: 13+10=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 18:[2, 23] Operation: 13+10=23 Exploring Operation: 13-10=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 18:[2, 3] Operation: 13-10=3 Exploring Operation: 13+2=15, Resulting Numbers: [10, 15] Generated Node #0,0,2: 18:[10, 15] Operation: 13+2=15 Exploring Operation: 13-2=11, Resulting Numbers: [10, 11] Generated Node #0,0,3: 18:[10, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[2, 3], Operations: ['46-36=10', '13-10=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,18 unequal: No Solution No 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: 18:[10, 11], Operations: ['46-36=10', '13-2=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,18 unequal: No Solution No 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: 18:[10, 15], Operations: ['46-36=10', '13+2=15'] Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,18 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,18 unequal: No Solution No 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: 18:[2, 23], Operations: ['46-36=10', '13+10=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,18 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: 18:[13, 36, 23], Operations: ['46/2=23'] Exploring Operation: 36-23=13, Resulting Numbers: [13, 13] Generated Node #0,3,0: 18:[13, 13] Operation: 36-23=13 Exploring Operation: 23-13=10, Resulting Numbers: [36, 10] Generated Node #0,3,1: 18:[36, 10] Operation: 23-13=10 Exploring Operation: 36-13=23, Resulting Numbers: [23, 23] Generated Node #0,3,2: 18:[23, 23] Operation: 36-13=23 Exploring Operation: 13+36=49, Resulting Numbers: [23, 49] Generated Node #0,3,3: 18:[23, 49] Operation: 13+36=49 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 18:[13, 13], Operations: ['46/2=23', '36-23=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,18 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,18 unequal: No Solution No 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: 18:[23, 23], Operations: ['46/2=23', '36-13=23'] Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,18 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,18 unequal: No Solution No 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: 18:[36, 10], Operations: ['46/2=23', '23-13=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,18 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,18 unequal: No Solution No 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: 18:[23, 49], Operations: ['46/2=23', '13+36=49'] Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,18 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,18 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: 18:[13, 46, 18], Operations: ['36/2=18'] Exploring Operation: 46-18=28, Resulting Numbers: [13, 28] Generated Node #0,2,0: 18:[13, 28] Operation: 46-18=28 Exploring Operation: 46-13=33, Resulting Numbers: [18, 33] Generated Node #0,2,1: 18:[18, 33] Operation: 46-13=33 Exploring Operation: 13+46=59, Resulting Numbers: [18, 59] Generated Node #0,2,2: 18:[18, 59] Operation: 13+46=59 Exploring Operation: 18-13=5, Resulting Numbers: [46, 5] Generated Node #0,2,3: 18:[46, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[13, 28], Operations: ['36/2=18', '46-18=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,18 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,18 unequal: No Solution No 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: 18:[18, 33], Operations: ['36/2=18', '46-13=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,18 unequal: No Solution No 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: 18:[46, 5], Operations: ['36/2=18', '18-13=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,18 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,18 unequal: No Solution No 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: 18:[18, 59], Operations: ['36/2=18', '13+46=59'] Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,18 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,18 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: 18:[2, 46, 23], Operations: ['36-13=23'] Exploring Operation: 46/2=23, Resulting Numbers: [23, 23] Generated Node #0,1,0: 18:[23, 23] Operation: 46/2=23 Exploring Operation: 46-23=23, Resulting Numbers: [2, 23] Generated Node #0,1,1: 18:[2, 23] Operation: 46-23=23 Exploring Operation: 46-2=44, Resulting Numbers: [23, 44] Generated Node #0,1,2: 18:[23, 44] Operation: 46-2=44 Exploring Operation: 46/23=2, Resulting Numbers: [2, 2] Generated Node #0,1,3: 18:[2, 2] Operation: 46/23=2 Moving to Node #0,1,3 Current State: 18:[2, 2], Operations: ['36-13=23', '46/23=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[2, 23], Operations: ['36-13=23', '46-23=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[23, 23], Operations: ['36-13=23', '46/2=23'] Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,18 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[23, 44], Operations: ['36-13=23', '46-2=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,18 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 53, 48, 11, 95 ]
66
[ "53+48=101", "101-95=6", "11*6=66" ]
Current State: 66:[53, 48, 11, 95], Operations: [] Exploring Operation: 53+48=101, Resulting Numbers: [11, 95, 101] Generated Node #2: [11, 95, 101] from Operation: 53+48=101 Current State: 66:[11, 95, 101], Operations: ['53+48=101'] Exploring Operation: 101-95=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 101-95=6 Current State: 66:[11, 6], Operations: ['53+48=101', '101-95=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[53, 48, 11, 95], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [48, 11, 42] Generated Node #0,0: 66:[48, 11, 42] Operation: 95-53=42 Exploring Operation: 95-48=47, Resulting Numbers: [53, 11, 47] Generated Node #0,1: 66:[53, 11, 47] Operation: 95-48=47 Moving to Node #0,0 Current State: 66:[48, 11, 42], Operations: ['95-53=42'] Exploring Operation: 48-42=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 66:[11, 6] Operation: 48-42=6 Exploring Operation: 48-11=37, Resulting Numbers: [42, 37] Generated Node #0,0,1: 66:[42, 37] Operation: 48-11=37 Moving to Node #0,1 Current State: 66:[53, 11, 47], Operations: ['95-48=47'] Exploring Operation: 53+11=64, Resulting Numbers: [47, 64] Generated Node #0,1,0: 66:[47, 64] Operation: 53+11=64 Exploring Operation: 53-47=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 66:[11, 6] Operation: 53-47=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[11, 6], Operations: ['95-48=47', '53-47=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[53, 48, 11, 95], Operations: [] Exploring Operation: 95-48=47, Resulting Numbers: [53, 11, 47] Generated Node #0,1: 66:[53, 11, 47] Operation: 95-48=47 Moving to Node #0,1 Current State: 66:[53, 11, 47], Operations: ['95-48=47'] Exploring Operation: 53-47=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 66:[11, 6] Operation: 53-47=6 Moving to Node #0,1,1 Current State: 66:[11, 6], Operations: ['95-48=47', '53-47=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 92, 98, 13, 27 ]
93
[ "92-27=65", "65/13=5", "98-5=93" ]
Current State: 93:[92, 98, 13, 27], Operations: [] Exploring Operation: 92-27=65, Resulting Numbers: [98, 13, 65] Generated Node #2: [98, 13, 65] from Operation: 92-27=65 Current State: 93:[98, 13, 65], Operations: ['92-27=65'] Exploring Operation: 65/13=5, Resulting Numbers: [98, 5] Generated Node #3: [98, 5] from Operation: 65/13=5 Current State: 93:[98, 5], Operations: ['92-27=65', '65/13=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[92, 98, 13, 27], Operations: [] Exploring Operation: 98-13=85, Resulting Numbers: [92, 27, 85] Generated Node #0,0: 93:[92, 27, 85] Operation: 98-13=85 Exploring Operation: 98-92=6, Resulting Numbers: [13, 27, 6] Generated Node #0,1: 93:[13, 27, 6] Operation: 98-92=6 Exploring Operation: 27-13=14, Resulting Numbers: [92, 98, 14] Generated Node #0,2: 93:[92, 98, 14] Operation: 27-13=14 Exploring Operation: 13+27=40, Resulting Numbers: [92, 98, 40] Generated Node #0,3: 93:[92, 98, 40] Operation: 13+27=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[92, 27, 85], Operations: ['98-13=85'] Exploring Operation: 92+27=119, Resulting Numbers: [85, 119] Generated Node #0,0,0: 93:[85, 119] Operation: 92+27=119 Exploring Operation: 85-27=58, Resulting Numbers: [92, 58] Generated Node #0,0,1: 93:[92, 58] Operation: 85-27=58 Exploring Operation: 92-85=7, Resulting Numbers: [27, 7] Generated Node #0,0,2: 93:[27, 7] Operation: 92-85=7 Exploring Operation: 27+85=112, Resulting Numbers: [92, 112] Generated Node #0,0,3: 93:[92, 112] Operation: 27+85=112 Moving to Node #0,0,2 Current State: 93:[27, 7], Operations: ['98-13=85', '92-85=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,93 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[92, 112], Operations: ['98-13=85', '27+85=112'] Exploring Operation: 92+112=204, Resulting Numbers: [204] 204,93 unequal: No Solution Exploring Operation: 112-92=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 92*112=10304, Resulting Numbers: [10304] 10304,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[92, 58], Operations: ['98-13=85', '85-27=58'] Exploring Operation: 92+58=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 92*58=5336, Resulting Numbers: [5336] 5336,93 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[85, 119], Operations: ['98-13=85', '92+27=119'] Exploring Operation: 85*119=10115, Resulting Numbers: [10115] 10115,93 unequal: No Solution Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 85+119=204, Resulting Numbers: [204] 204,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[92, 98, 40], Operations: ['13+27=40'] Exploring Operation: 98-92=6, Resulting Numbers: [40, 6] Generated Node #0,3,0: 93:[40, 6] Operation: 98-92=6 Exploring Operation: 98-40=58, Resulting Numbers: [92, 58] Generated Node #0,3,1: 93:[92, 58] Operation: 98-40=58 Exploring Operation: 92-40=52, Resulting Numbers: [98, 52] Generated Node #0,3,2: 93:[98, 52] Operation: 92-40=52 Exploring Operation: 92+40=132, Resulting Numbers: [98, 132] Generated Node #0,3,3: 93:[98, 132] Operation: 92+40=132 Moving to Node #0,3,0 Current State: 93:[40, 6], Operations: ['13+27=40', '98-92=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[98, 52], Operations: ['13+27=40', '92-40=52'] Exploring Operation: 98*52=5096, Resulting Numbers: [5096] 5096,93 unequal: No Solution Exploring Operation: 98+52=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[92, 58], Operations: ['13+27=40', '98-40=58'] Exploring Operation: 92+58=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 92*58=5336, Resulting Numbers: [5336] 5336,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[98, 132], Operations: ['13+27=40', '92+40=132'] Exploring Operation: 132-98=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 98*132=12936, Resulting Numbers: [12936] 12936,93 unequal: No Solution Exploring Operation: 98+132=230, Resulting Numbers: [230] 230,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[13, 27, 6], Operations: ['98-92=6'] Exploring Operation: 13+27=40, Resulting Numbers: [6, 40] Generated Node #0,1,0: 93:[6, 40] Operation: 13+27=40 Exploring Operation: 27+6=33, Resulting Numbers: [13, 33] Generated Node #0,1,1: 93:[13, 33] Operation: 27+6=33 Exploring Operation: 13-6=7, Resulting Numbers: [27, 7] Generated Node #0,1,2: 93:[27, 7] Operation: 13-6=7 Exploring Operation: 27-13=14, Resulting Numbers: [6, 14] Generated Node #0,1,3: 93:[6, 14] Operation: 27-13=14 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[27, 7], Operations: ['98-92=6', '13-6=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,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:[6, 40], Operations: ['98-92=6', '13+27=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,93 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,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,1 Current State: 93:[13, 33], Operations: ['98-92=6', '27+6=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,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,3 Current State: 93:[6, 14], Operations: ['98-92=6', '27-13=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[92, 98, 14], Operations: ['27-13=14'] Exploring Operation: 98/14=7, Resulting Numbers: [92, 7] Generated Node #0,2,0: 93:[92, 7] Operation: 98/14=7 Exploring Operation: 92+14=106, Resulting Numbers: [98, 106] Generated Node #0,2,1: 93:[98, 106] Operation: 92+14=106 Exploring Operation: 98-92=6, Resulting Numbers: [14, 6] Generated Node #0,2,2: 93:[14, 6] Operation: 98-92=6 Exploring Operation: 98-14=84, Resulting Numbers: [92, 84] Generated Node #0,2,3: 93:[92, 84] Operation: 98-14=84 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[92, 7], Operations: ['27-13=14', '98/14=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,93 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[92, 84], Operations: ['27-13=14', '98-14=84'] Exploring Operation: 92*84=7728, Resulting Numbers: [7728] 7728,93 unequal: No Solution Exploring Operation: 92+84=176, Resulting Numbers: [176] 176,93 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[14, 6], Operations: ['27-13=14', '98-92=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[98, 106], Operations: ['27-13=14', '92+14=106'] Exploring Operation: 98*106=10388, Resulting Numbers: [10388] 10388,93 unequal: No Solution Exploring Operation: 106-98=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 98+106=204, Resulting Numbers: [204] 204,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_4
mult_heuristic
[ 36, 44, 48, 17 ]
88
[ "44-36=8", "17*8=136", "136-48=88" ]
Current State: 88:[36, 44, 48, 17], Operations: [] Exploring Operation: 44-36=8, Resulting Numbers: [48, 17, 8] Generated Node #2: [48, 17, 8] from Operation: 44-36=8 Current State: 88:[48, 17, 8], Operations: ['44-36=8'] Exploring Operation: 17*8=136, Resulting Numbers: [48, 136] Generated Node #3: [48, 136] from Operation: 17*8=136 Current State: 88:[48, 136], Operations: ['44-36=8', '17*8=136'] Exploring Operation: 136-48=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[36, 44, 48, 17], Operations: [] Exploring Operation: 36-17=19, Resulting Numbers: [44, 48, 19] Generated Node #0,0: 88:[44, 48, 19] Operation: 36-17=19 Exploring Operation: 48-36=12, Resulting Numbers: [44, 17, 12] Generated Node #0,1: 88:[44, 17, 12] Operation: 48-36=12 Exploring Operation: 36+48=84, Resulting Numbers: [44, 17, 84] Generated Node #0,2: 88:[44, 17, 84] Operation: 36+48=84 Exploring Operation: 36+17=53, Resulting Numbers: [44, 48, 53] Generated Node #0,3: 88:[44, 48, 53] Operation: 36+17=53 Exploring Operation: 44-36=8, Resulting Numbers: [48, 17, 8] Generated Node #0,4: 88:[48, 17, 8] Operation: 44-36=8 Moving to Node #0,1 Current State: 88:[44, 17, 12], Operations: ['48-36=12'] Exploring Operation: 44+12=56, Resulting Numbers: [17, 56] Generated Node #0,1,0: 88:[17, 56] Operation: 44+12=56 Exploring Operation: 17+12=29, Resulting Numbers: [44, 29] Generated Node #0,1,1: 88:[44, 29] Operation: 17+12=29 Exploring Operation: 44-12=32, Resulting Numbers: [17, 32] Generated Node #0,1,2: 88:[17, 32] Operation: 44-12=32 Exploring Operation: 17-12=5, Resulting Numbers: [44, 5] Generated Node #0,1,3: 88:[44, 5] Operation: 17-12=5 Exploring Operation: 44-17=27, Resulting Numbers: [12, 27] Generated Node #0,1,4: 88:[12, 27] Operation: 44-17=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[44, 5], Operations: ['48-36=12', '17-12=5'] Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,88 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,88 unequal: No Solution No 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: 88:[12, 27], Operations: ['48-36=12', '44-17=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,88 unequal: No Solution No 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: 88:[44, 29], Operations: ['48-36=12', '17+12=29'] Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,88 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,88 unequal: No Solution No 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: 88:[17, 32], Operations: ['48-36=12', '44-12=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,88 unequal: No Solution No 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: 88:[17, 56], Operations: ['48-36=12', '44+12=56'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,88 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: 88:[44, 48, 19], Operations: ['36-17=19'] Exploring Operation: 48-19=29, Resulting Numbers: [44, 29] Generated Node #0,0,0: 88:[44, 29] Operation: 48-19=29 Exploring Operation: 44-19=25, Resulting Numbers: [48, 25] Generated Node #0,0,1: 88:[48, 25] Operation: 44-19=25 Exploring Operation: 44+48=92, Resulting Numbers: [19, 92] Generated Node #0,0,2: 88:[19, 92] Operation: 44+48=92 Exploring Operation: 48+19=67, Resulting Numbers: [44, 67] Generated Node #0,0,3: 88:[44, 67] Operation: 48+19=67 Exploring Operation: 48-44=4, Resulting Numbers: [19, 4] Generated Node #0,0,4: 88:[19, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[19, 4], Operations: ['36-17=19', '48-44=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,88 unequal: No Solution No 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: 88:[44, 29], Operations: ['36-17=19', '48-19=29'] Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,88 unequal: No Solution No 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: 88:[48, 25], Operations: ['36-17=19', '44-19=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,88 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,88 unequal: No Solution No 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: 88:[19, 92], Operations: ['36-17=19', '44+48=92'] Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,88 unequal: No Solution No 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: 88:[44, 67], Operations: ['36-17=19', '48+19=67'] Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,88 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: 88:[44, 17, 84], Operations: ['36+48=84'] Exploring Operation: 44+17=61, Resulting Numbers: [84, 61] Generated Node #0,2,0: 88:[84, 61] Operation: 44+17=61 Exploring Operation: 84-44=40, Resulting Numbers: [17, 40] Generated Node #0,2,1: 88:[17, 40] Operation: 84-44=40 Exploring Operation: 44-17=27, Resulting Numbers: [84, 27] Generated Node #0,2,2: 88:[84, 27] Operation: 44-17=27 Exploring Operation: 84-17=67, Resulting Numbers: [44, 67] Generated Node #0,2,3: 88:[44, 67] Operation: 84-17=67 Exploring Operation: 17+84=101, Resulting Numbers: [44, 101] Generated Node #0,2,4: 88:[44, 101] Operation: 17+84=101 Moving to Node #0,4 Current State: 88:[48, 17, 8], Operations: ['44-36=8'] Exploring Operation: 17-8=9, Resulting Numbers: [48, 9] Generated Node #0,4,0: 88:[48, 9] Operation: 17-8=9 Exploring Operation: 48-8=40, Resulting Numbers: [17, 40] Generated Node #0,4,1: 88:[17, 40] Operation: 48-8=40 Exploring Operation: 48-17=31, Resulting Numbers: [8, 31] Generated Node #0,4,2: 88:[8, 31] Operation: 48-17=31 Exploring Operation: 17+8=25, Resulting Numbers: [48, 25] Generated Node #0,4,3: 88:[48, 25] Operation: 17+8=25 Exploring Operation: 48/8=6, Resulting Numbers: [17, 6] Generated Node #0,4,4: 88:[17, 6] Operation: 48/8=6 Moving to Node #0,3 Current State: 88:[44, 48, 53], Operations: ['36+17=53'] Exploring Operation: 44+53=97, Resulting Numbers: [48, 97] Generated Node #0,3,0: 88:[48, 97] Operation: 44+53=97 Exploring Operation: 53-44=9, Resulting Numbers: [48, 9] Generated Node #0,3,1: 88:[48, 9] Operation: 53-44=9 Exploring Operation: 44+48=92, Resulting Numbers: [53, 92] Generated Node #0,3,2: 88:[53, 92] Operation: 44+48=92 Exploring Operation: 53-48=5, Resulting Numbers: [44, 5] Generated Node #0,3,3: 88:[44, 5] Operation: 53-48=5 Exploring Operation: 48-44=4, Resulting Numbers: [53, 4] Generated Node #0,3,4: 88:[53, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[44, 5], Operations: ['36+17=53', '53-48=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,88 unequal: No Solution No 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: 88:[48, 9], Operations: ['36+17=53', '53-44=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,88 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,88 unequal: No Solution No 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: 88:[53, 4], Operations: ['36+17=53', '48-44=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,88 unequal: No Solution No 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: 88:[48, 97], Operations: ['36+17=53', '44+53=97'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 48+97=145, Resulting Numbers: [145] 145,88 unequal: No Solution Exploring Operation: 48*97=4656, Resulting Numbers: [4656] 4656,88 unequal: No Solution No 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: 88:[53, 92], Operations: ['36+17=53', '44+48=92'] Exploring Operation: 53+92=145, Resulting Numbers: [145] 145,88 unequal: No Solution Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 53*92=4876, Resulting Numbers: [4876] 4876,88 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: 88:[48, 9], Operations: ['44-36=8', '17-8=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[48, 25], Operations: ['44-36=8', '17+8=25'] Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,88 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[17, 6], Operations: ['44-36=8', '48/8=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[17, 40], Operations: ['36+48=84', '84-44=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,88 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[8, 31], Operations: ['44-36=8', '48-17=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,88 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,88 unequal: No Solution Moving to Node #0,4,1 Current State: 88:[17, 40], Operations: ['44-36=8', '48-8=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,88 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[84, 27], Operations: ['36+48=84', '44-17=27'] Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,88 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[44, 101], Operations: ['36+48=84', '17+84=101'] Exploring Operation: 101-44=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 44*101=4444, Resulting Numbers: [4444] 4444,88 unequal: No Solution Exploring Operation: 44+101=145, Resulting Numbers: [145] 145,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[84, 61], Operations: ['36+48=84', '44+17=61'] Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,88 unequal: No Solution Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[44, 67], Operations: ['36+48=84', '84-17=67'] Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,88 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found.
0
hs_5
sum_heuristic