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
[ 3, 3, 57, 28 ]
96
[ "3+57=60", "60-28=32", "3*32=96" ]
Current State: 96:[3, 3, 57, 28], Operations: [] Exploring Operation: 3+57=60, Resulting Numbers: [28, 60] Generated Node #2: [28, 60] from Operation: 3+57=60 Current State: 96:[28, 60], Operations: ['3+57=60'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,96 equal: Goal Reached Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 3, 57, 28], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [3, 28, 19] Generated Node #0,0: 96:[3, 28, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [3, 28, 54] Generated Node #0,1: 96:[3, 28, 54] Operation: 57-3=54 Exploring Operation: 3+28=31, Resulting Numbers: [3, 57, 31] Generated Node #0,2: 96:[3, 57, 31] Operation: 3+28=31 Exploring Operation: 57-28=29, Resulting Numbers: [3, 3, 29] Generated Node #0,3: 96:[3, 3, 29] Operation: 57-28=29 Exploring Operation: 57/3=19, Resulting Numbers: [3, 28, 19] Generated Node #0,4: 96:[3, 28, 19] Operation: 57/3=19 Moving to Node #0,3 Current State: 96:[3, 3, 29], Operations: ['57-28=29'] Exploring Operation: 3+29=32, Resulting Numbers: [3, 32] Generated Node #0,3,0: 96:[3, 32] Operation: 3+29=32 Exploring Operation: 3+29=32, Resulting Numbers: [3, 32] Generated Node #0,3,1: 96:[3, 32] Operation: 3+29=32 Exploring Operation: 3+3=6, Resulting Numbers: [29, 6] Generated Node #0,3,2: 96:[29, 6] Operation: 3+3=6 Exploring Operation: 29-3=26, Resulting Numbers: [3, 26] Generated Node #0,3,3: 96:[3, 26] Operation: 29-3=26 Exploring Operation: 29-3=26, Resulting Numbers: [3, 26] Generated Node #0,3,4: 96:[3, 26] Operation: 29-3=26 Moving to Node #0,4 Current State: 96:[3, 28, 19], Operations: ['57/3=19'] Exploring Operation: 28-3=25, Resulting Numbers: [19, 25] Generated Node #0,4,0: 96:[19, 25] Operation: 28-3=25 Exploring Operation: 28-19=9, Resulting Numbers: [3, 9] Generated Node #0,4,1: 96:[3, 9] Operation: 28-19=9 Exploring Operation: 3+28=31, Resulting Numbers: [19, 31] Generated Node #0,4,2: 96:[19, 31] Operation: 3+28=31 Exploring Operation: 19-3=16, Resulting Numbers: [28, 16] Generated Node #0,4,3: 96:[28, 16] Operation: 19-3=16 Exploring Operation: 28+19=47, Resulting Numbers: [3, 47] Generated Node #0,4,4: 96:[3, 47] Operation: 28+19=47 Moving to Node #0,0 Current State: 96:[3, 28, 19], Operations: ['57/3=19'] Exploring Operation: 19-3=16, Resulting Numbers: [28, 16] Generated Node #0,0,0: 96:[28, 16] Operation: 19-3=16 Exploring Operation: 3+28=31, Resulting Numbers: [19, 31] Generated Node #0,0,1: 96:[19, 31] Operation: 3+28=31 Exploring Operation: 28-19=9, Resulting Numbers: [3, 9] Generated Node #0,0,2: 96:[3, 9] Operation: 28-19=9 Exploring Operation: 28-3=25, Resulting Numbers: [19, 25] Generated Node #0,0,3: 96:[19, 25] Operation: 28-3=25 Exploring Operation: 28+19=47, Resulting Numbers: [3, 47] Generated Node #0,0,4: 96:[3, 47] Operation: 28+19=47 Moving to Node #0,1 Current State: 96:[3, 28, 54], Operations: ['57-3=54'] Exploring Operation: 3+28=31, Resulting Numbers: [54, 31] Generated Node #0,1,0: 96:[54, 31] Operation: 3+28=31 Exploring Operation: 28-3=25, Resulting Numbers: [54, 25] Generated Node #0,1,1: 96:[54, 25] Operation: 28-3=25 Exploring Operation: 54-28=26, Resulting Numbers: [3, 26] Generated Node #0,1,2: 96:[3, 26] Operation: 54-28=26 Exploring Operation: 54/3=18, Resulting Numbers: [28, 18] Generated Node #0,1,3: 96:[28, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [28, 51] Generated Node #0,1,4: 96:[28, 51] Operation: 54-3=51 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[3, 26], Operations: ['57-3=54', '54-28=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,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,3 Current State: 96:[28, 18], Operations: ['57-3=54', '54/3=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,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,0 Current State: 96:[54, 31], Operations: ['57-3=54', '3+28=31'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,96 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[54, 25], Operations: ['57-3=54', '28-3=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 54*25=1350, Resulting Numbers: [1350] 1350,96 unequal: No Solution Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,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,4 Current State: 96:[28, 51], Operations: ['57-3=54', '54-3=51'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,96 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,96 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: 96:[3, 57, 31], Operations: ['3+28=31'] Exploring Operation: 57-31=26, Resulting Numbers: [3, 26] Generated Node #0,2,0: 96:[3, 26] Operation: 57-31=26 Exploring Operation: 57/3=19, Resulting Numbers: [31, 19] Generated Node #0,2,1: 96:[31, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [31, 54] Generated Node #0,2,2: 96:[31, 54] Operation: 57-3=54 Exploring Operation: 3+31=34, Resulting Numbers: [57, 34] Generated Node #0,2,3: 96:[57, 34] Operation: 3+31=34 Exploring Operation: 57+31=88, Resulting Numbers: [3, 88] Generated Node #0,2,4: 96:[3, 88] Operation: 57+31=88 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[3, 26], Operations: ['3+28=31', '57-31=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[31, 19], Operations: ['3+28=31', '57/3=19'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,96 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[31, 54], Operations: ['3+28=31', '57-3=54'] Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[3, 88], Operations: ['3+28=31', '57+31=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,96 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[57, 34], Operations: ['3+28=31', '3+31=34'] Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,96 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 96:[3, 32], Operations: ['57-28=29', '3+29=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[3, 3, 57, 28], Operations: [] Exploring Operation: 57-28=29, Resulting Numbers: [3, 3, 29] Generated Node #0,3: 96:[3, 3, 29] Operation: 57-28=29 Moving to Node #0,3 Current State: 96:[3, 3, 29], Operations: ['57-28=29'] Exploring Operation: 3+29=32, Resulting Numbers: [3, 32] Generated Node #0,3,0: 96:[3, 32] Operation: 3+29=32 Moving to Node #0,3,0 Current State: 96:[3, 32], Operations: ['57-28=29', '3+29=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.943576
hs_5
mult_heuristic
[ 15, 48, 76, 71 ]
27
[ "76-71=5", "15*5=75", "75-48=27" ]
Current State: 27:[15, 48, 76, 71], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [15, 48, 5] Generated Node #2: [15, 48, 5] from Operation: 76-71=5 Current State: 27:[15, 48, 5], Operations: ['76-71=5'] Exploring Operation: 15*5=75, Resulting Numbers: [48, 75] Generated Node #3: [48, 75] from Operation: 15*5=75 Current State: 27:[48, 75], Operations: ['76-71=5', '15*5=75'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[15, 48, 76, 71], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [15, 48, 5] Generated Node #0,0: 27:[15, 48, 5] Operation: 76-71=5 Moving to Node #0,0 Current State: 27:[15, 48, 5], Operations: ['76-71=5'] Exploring Operation: 48-15=33, Resulting Numbers: [5, 33] Generated Node #0,0,0: 27:[5, 33] Operation: 48-15=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[5, 33], Operations: ['76-71=5', '48-15=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 67, 87, 21, 97 ]
78
[ "67+87=154", "97-21=76", "154-76=78" ]
Current State: 78:[67, 87, 21, 97], Operations: [] Exploring Operation: 67+87=154, Resulting Numbers: [21, 97, 154] Generated Node #2: [21, 97, 154] from Operation: 67+87=154 Current State: 78:[21, 97, 154], Operations: ['67+87=154'] Exploring Operation: 97-21=76, Resulting Numbers: [154, 76] Generated Node #3: [154, 76] from Operation: 97-21=76 Current State: 78:[154, 76], Operations: ['67+87=154', '97-21=76'] Exploring Operation: 154-76=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[67, 87, 21, 97], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [67, 21, 10] Generated Node #0,0: 78:[67, 21, 10] Operation: 97-87=10 Exploring Operation: 87-67=20, Resulting Numbers: [21, 97, 20] Generated Node #0,1: 78:[21, 97, 20] Operation: 87-67=20 Exploring Operation: 97-21=76, Resulting Numbers: [67, 87, 76] Generated Node #0,2: 78:[67, 87, 76] Operation: 97-21=76 Exploring Operation: 97-67=30, Resulting Numbers: [87, 21, 30] Generated Node #0,3: 78:[87, 21, 30] Operation: 97-67=30 Moving to Node #0,3 Current State: 78:[87, 21, 30], Operations: ['97-67=30'] Exploring Operation: 21+30=51, Resulting Numbers: [87, 51] Generated Node #0,3,0: 78:[87, 51] Operation: 21+30=51 Exploring Operation: 87-21=66, Resulting Numbers: [30, 66] Generated Node #0,3,1: 78:[30, 66] Operation: 87-21=66 Exploring Operation: 30-21=9, Resulting Numbers: [87, 9] Generated Node #0,3,2: 78:[87, 9] Operation: 30-21=9 Exploring Operation: 87-30=57, Resulting Numbers: [21, 57] Generated Node #0,3,3: 78:[21, 57] Operation: 87-30=57 Moving to Node #0,0 Current State: 78:[67, 21, 10], Operations: ['97-87=10'] Exploring Operation: 21-10=11, Resulting Numbers: [67, 11] Generated Node #0,0,0: 78:[67, 11] Operation: 21-10=11 Exploring Operation: 67+21=88, Resulting Numbers: [10, 88] Generated Node #0,0,1: 78:[10, 88] Operation: 67+21=88 Exploring Operation: 67-21=46, Resulting Numbers: [10, 46] Generated Node #0,0,2: 78:[10, 46] Operation: 67-21=46 Exploring Operation: 67+10=77, Resulting Numbers: [21, 77] Generated Node #0,0,3: 78:[21, 77] Operation: 67+10=77 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[21, 77], Operations: ['97-87=10', '67+10=77'] Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,78 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[10, 46], Operations: ['97-87=10', '67-21=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,78 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[67, 11], Operations: ['97-87=10', '21-10=11'] Exploring Operation: 67*11=737, Resulting Numbers: [737] 737,78 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[67, 87, 21, 97], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [67, 21, 10] Generated Node #0,0: 78:[67, 21, 10] Operation: 97-87=10 Moving to Node #0,0 Current State: 78:[67, 21, 10], Operations: ['97-87=10'] Exploring Operation: 21-10=11, Resulting Numbers: [67, 11] Generated Node #0,0,0: 78:[67, 11] Operation: 21-10=11 Moving to Node #0,0,0 Current State: 78:[67, 11], Operations: ['97-87=10', '21-10=11'] Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 62, 30, 15, 9 ]
44
[ "30/15=2", "9*2=18", "62-18=44" ]
Current State: 44:[62, 30, 15, 9], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [62, 9, 2] Generated Node #2: [62, 9, 2] from Operation: 30/15=2 Current State: 44:[62, 9, 2], Operations: ['30/15=2'] Exploring Operation: 9*2=18, Resulting Numbers: [62, 18] Generated Node #3: [62, 18] from Operation: 9*2=18 Current State: 44:[62, 18], Operations: ['30/15=2', '9*2=18'] Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[62, 30, 15, 9], Operations: [] Exploring Operation: 62-15=47, Resulting Numbers: [30, 9, 47] Generated Node #0,0: 44:[30, 9, 47] Operation: 62-15=47 Exploring Operation: 62-30=32, Resulting Numbers: [15, 9, 32] Generated Node #0,1: 44:[15, 9, 32] Operation: 62-30=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[30, 9, 47], Operations: ['62-15=47'] Exploring Operation: 30-9=21, Resulting Numbers: [47, 21] Generated Node #0,0,0: 44:[47, 21] Operation: 30-9=21 Exploring Operation: 47-30=17, Resulting Numbers: [9, 17] Generated Node #0,0,1: 44:[9, 17] Operation: 47-30=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[47, 21], Operations: ['62-15=47', '30-9=21'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[9, 17], Operations: ['62-15=47', '47-30=17'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[15, 9, 32], Operations: ['62-30=32'] Exploring Operation: 32-9=23, Resulting Numbers: [15, 23] Generated Node #0,1,0: 44:[15, 23] Operation: 32-9=23 Exploring Operation: 15+32=47, Resulting Numbers: [9, 47] Generated Node #0,1,1: 44:[9, 47] Operation: 15+32=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[15, 23], Operations: ['62-30=32', '32-9=23'] Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,44 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[9, 47], Operations: ['62-30=32', '15+32=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 4, 98, 70, 51 ]
72
[ "4+98=102", "102/51=2", "70+2=72" ]
Current State: 72:[4, 98, 70, 51], Operations: [] Exploring Operation: 4+98=102, Resulting Numbers: [70, 51, 102] Generated Node #2: [70, 51, 102] from Operation: 4+98=102 Current State: 72:[70, 51, 102], Operations: ['4+98=102'] Exploring Operation: 102/51=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 102/51=2 Current State: 72:[70, 2], Operations: ['4+98=102', '102/51=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[4, 98, 70, 51], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [4, 70, 47] Generated Node #0,0: 72:[4, 70, 47] Operation: 98-51=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[4, 70, 47], Operations: ['98-51=47'] Exploring Operation: 70-47=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 72:[4, 23] Operation: 70-47=23 Moving to Node #0,0,0 Current State: 72:[4, 23], Operations: ['98-51=47', '70-47=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 46, 56, 39 ]
24
[ "46-39=7", "56/7=8", "16+8=24" ]
Current State: 24:[16, 46, 56, 39], Operations: [] Exploring Operation: 46-39=7, Resulting Numbers: [16, 56, 7] Generated Node #2: [16, 56, 7] from Operation: 46-39=7 Current State: 24:[16, 56, 7], Operations: ['46-39=7'] Exploring Operation: 56/7=8, Resulting Numbers: [16, 8] Generated Node #3: [16, 8] from Operation: 56/7=8 Current State: 24:[16, 8], Operations: ['46-39=7', '56/7=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[16, 46, 56, 39], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [16, 39, 10] Generated Node #0,0: 24:[16, 39, 10] Operation: 56-46=10 Exploring Operation: 56-39=17, Resulting Numbers: [16, 46, 17] Generated Node #0,1: 24:[16, 46, 17] Operation: 56-39=17 Moving to Node #0,0 Current State: 24:[16, 39, 10], Operations: ['56-46=10'] Exploring Operation: 39-10=29, Resulting Numbers: [16, 29] Generated Node #0,0,0: 24:[16, 29] Operation: 39-10=29 Exploring Operation: 39-16=23, Resulting Numbers: [10, 23] Generated Node #0,0,1: 24:[10, 23] Operation: 39-16=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[10, 23], Operations: ['56-46=10', '39-16=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[16, 29], Operations: ['56-46=10', '39-10=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,24 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: 24:[16, 46, 17], Operations: ['56-39=17'] Exploring Operation: 46-17=29, Resulting Numbers: [16, 29] Generated Node #0,1,0: 24:[16, 29] Operation: 46-17=29 Exploring Operation: 46-16=30, Resulting Numbers: [17, 30] Generated Node #0,1,1: 24:[17, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[16, 29], Operations: ['56-39=17', '46-17=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[17, 30], Operations: ['56-39=17', '46-16=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 50, 48, 23, 35 ]
37
[ "48-23=25", "50/25=2", "35+2=37" ]
Current State: 37:[50, 48, 23, 35], Operations: [] Exploring Operation: 48-23=25, Resulting Numbers: [50, 35, 25] Generated Node #2: [50, 35, 25] from Operation: 48-23=25 Current State: 37:[50, 35, 25], Operations: ['48-23=25'] Exploring Operation: 50/25=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 50/25=2 Current State: 37:[35, 2], Operations: ['48-23=25', '50/25=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[50, 48, 23, 35], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [48, 23, 15] Generated Node #0,0: 37:[48, 23, 15] Operation: 50-35=15 Exploring Operation: 48-23=25, Resulting Numbers: [50, 35, 25] Generated Node #0,1: 37:[50, 35, 25] Operation: 48-23=25 Exploring Operation: 50-23=27, Resulting Numbers: [48, 35, 27] Generated Node #0,2: 37:[48, 35, 27] Operation: 50-23=27 Exploring Operation: 23+35=58, Resulting Numbers: [50, 48, 58] Generated Node #0,3: 37:[50, 48, 58] Operation: 23+35=58 Exploring Operation: 50+23=73, Resulting Numbers: [48, 35, 73] Generated Node #0,4: 37:[48, 35, 73] Operation: 50+23=73 Moving to Node #0,2 Current State: 37:[48, 35, 27], Operations: ['50-23=27'] Exploring Operation: 35+27=62, Resulting Numbers: [48, 62] Generated Node #0,2,0: 37:[48, 62] Operation: 35+27=62 Exploring Operation: 48-35=13, Resulting Numbers: [27, 13] Generated Node #0,2,1: 37:[27, 13] Operation: 48-35=13 Exploring Operation: 48+27=75, Resulting Numbers: [35, 75] Generated Node #0,2,2: 37:[35, 75] Operation: 48+27=75 Exploring Operation: 48-27=21, Resulting Numbers: [35, 21] Generated Node #0,2,3: 37:[35, 21] Operation: 48-27=21 Exploring Operation: 35-27=8, Resulting Numbers: [48, 8] Generated Node #0,2,4: 37:[48, 8] Operation: 35-27=8 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[35, 21], Operations: ['50-23=27', '48-27=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[27, 13], Operations: ['50-23=27', '48-35=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[48, 62], Operations: ['50-23=27', '35+27=62'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 48*62=2976, Resulting Numbers: [2976] 2976,37 unequal: No Solution Exploring Operation: 48+62=110, Resulting Numbers: [110] 110,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[35, 75], Operations: ['50-23=27', '48+27=75'] Exploring Operation: 35+75=110, Resulting Numbers: [110] 110,37 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 35*75=2625, Resulting Numbers: [2625] 2625,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[48, 8], Operations: ['50-23=27', '35-27=8'] Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,37 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,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:[50, 35, 25], Operations: ['48-23=25'] Exploring Operation: 50+25=75, Resulting Numbers: [35, 75] Generated Node #0,1,0: 37:[35, 75] Operation: 50+25=75 Exploring Operation: 35+25=60, Resulting Numbers: [50, 60] Generated Node #0,1,1: 37:[50, 60] Operation: 35+25=60 Exploring Operation: 50/25=2, Resulting Numbers: [35, 2] Generated Node #0,1,2: 37:[35, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [35, 25] Generated Node #0,1,3: 37:[35, 25] Operation: 50-25=25 Exploring Operation: 50-35=15, Resulting Numbers: [25, 15] Generated Node #0,1,4: 37:[25, 15] Operation: 50-35=15 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[35, 25], Operations: ['48-23=25', '50-25=25'] Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,37 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,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,1,4 Current State: 37:[25, 15], Operations: ['48-23=25', '50-35=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,37 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,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,1,1 Current State: 37:[50, 60], Operations: ['48-23=25', '35+25=60'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 50*60=3000, Resulting Numbers: [3000] 3000,37 unequal: No Solution Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,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,1,2 Current State: 37:[35, 2], Operations: ['48-23=25', '50/25=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[50, 48, 23, 35], Operations: [] Exploring Operation: 48-23=25, Resulting Numbers: [50, 35, 25] Generated Node #0,1: 37:[50, 35, 25] Operation: 48-23=25 Moving to Node #0,1 Current State: 37:[50, 35, 25], Operations: ['48-23=25'] Exploring Operation: 50/25=2, Resulting Numbers: [35, 2] Generated Node #0,1,2: 37:[35, 2] Operation: 50/25=2 Moving to Node #0,1,2 Current State: 37:[35, 2], Operations: ['48-23=25', '50/25=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 44, 39, 51, 35 ]
11
[ "44-39=5", "51-35=16", "16-5=11" ]
Current State: 11:[44, 39, 51, 35], Operations: [] Exploring Operation: 44-39=5, Resulting Numbers: [51, 35, 5] Generated Node #2: [51, 35, 5] from Operation: 44-39=5 Current State: 11:[51, 35, 5], Operations: ['44-39=5'] Exploring Operation: 51-35=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 51-35=16 Current State: 11:[5, 16], Operations: ['44-39=5', '51-35=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[44, 39, 51, 35], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [44, 35, 12] Generated Node #0,0: 11:[44, 35, 12] Operation: 51-39=12 Exploring Operation: 51-44=7, Resulting Numbers: [39, 35, 7] Generated Node #0,1: 11:[39, 35, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[39, 35, 7], Operations: ['51-44=7'] Exploring Operation: 35/7=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 11:[39, 5] Operation: 35/7=5 Exploring Operation: 39-35=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 11:[7, 4] Operation: 39-35=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[7, 4], Operations: ['51-44=7', '39-35=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[44, 39, 51, 35], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [39, 35, 7] Generated Node #0,1: 11:[39, 35, 7] Operation: 51-44=7 Moving to Node #0,1 Current State: 11:[39, 35, 7], Operations: ['51-44=7'] Exploring Operation: 39-35=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 11:[7, 4] Operation: 39-35=4 Moving to Node #0,1,1 Current State: 11:[7, 4], Operations: ['51-44=7', '39-35=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 6, 27, 94, 46 ]
35
[ "94-46=48", "48/6=8", "27+8=35" ]
Current State: 35:[6, 27, 94, 46], Operations: [] Exploring Operation: 94-46=48, Resulting Numbers: [6, 27, 48] Generated Node #2: [6, 27, 48] from Operation: 94-46=48 Current State: 35:[6, 27, 48], Operations: ['94-46=48'] Exploring Operation: 48/6=8, Resulting Numbers: [27, 8] Generated Node #3: [27, 8] from Operation: 48/6=8 Current State: 35:[27, 8], Operations: ['94-46=48', '48/6=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[6, 27, 94, 46], Operations: [] Exploring Operation: 6+27=33, Resulting Numbers: [94, 46, 33] Generated Node #0,0: 35:[94, 46, 33] Operation: 6+27=33 Exploring Operation: 94-27=67, Resulting Numbers: [6, 46, 67] Generated Node #0,1: 35:[6, 46, 67] Operation: 94-27=67 Exploring Operation: 94-6=88, Resulting Numbers: [27, 46, 88] Generated Node #0,2: 35:[27, 46, 88] Operation: 94-6=88 Exploring Operation: 94-46=48, Resulting Numbers: [6, 27, 48] Generated Node #0,3: 35:[6, 27, 48] Operation: 94-46=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[6, 27, 48], Operations: ['94-46=48'] Exploring Operation: 48/6=8, Resulting Numbers: [27, 8] Generated Node #0,3,0: 35:[27, 8] Operation: 48/6=8 Exploring Operation: 48-27=21, Resulting Numbers: [6, 21] Generated Node #0,3,1: 35:[6, 21] Operation: 48-27=21 Exploring Operation: 6+27=33, Resulting Numbers: [48, 33] Generated Node #0,3,2: 35:[48, 33] Operation: 6+27=33 Exploring Operation: 48-6=42, Resulting Numbers: [27, 42] Generated Node #0,3,3: 35:[27, 42] Operation: 48-6=42 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[27, 8], Operations: ['94-46=48', '48/6=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[6, 27, 94, 46], Operations: [] Exploring Operation: 94-46=48, Resulting Numbers: [6, 27, 48] Generated Node #0,3: 35:[6, 27, 48] Operation: 94-46=48 Moving to Node #0,3 Current State: 35:[6, 27, 48], Operations: ['94-46=48'] Exploring Operation: 48/6=8, Resulting Numbers: [27, 8] Generated Node #0,3,0: 35:[27, 8] Operation: 48/6=8 Moving to Node #0,3,0 Current State: 35:[27, 8], Operations: ['94-46=48', '48/6=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 75, 80, 30, 52 ]
73
[ "75+80=155", "30+52=82", "155-82=73" ]
Current State: 73:[75, 80, 30, 52], Operations: [] Exploring Operation: 75+80=155, Resulting Numbers: [30, 52, 155] Generated Node #2: [30, 52, 155] from Operation: 75+80=155 Current State: 73:[30, 52, 155], Operations: ['75+80=155'] Exploring Operation: 30+52=82, Resulting Numbers: [155, 82] Generated Node #3: [155, 82] from Operation: 30+52=82 Current State: 73:[155, 82], Operations: ['75+80=155', '30+52=82'] Exploring Operation: 155-82=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[75, 80, 30, 52], Operations: [] Exploring Operation: 80-30=50, Resulting Numbers: [75, 52, 50] Generated Node #0,0: 73:[75, 52, 50] Operation: 80-30=50 Exploring Operation: 30+52=82, Resulting Numbers: [75, 80, 82] Generated Node #0,1: 73:[75, 80, 82] Operation: 30+52=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[75, 80, 82], Operations: ['30+52=82'] Exploring Operation: 82-80=2, Resulting Numbers: [75, 2] Generated Node #0,1,0: 73:[75, 2] Operation: 82-80=2 Exploring Operation: 82-75=7, Resulting Numbers: [80, 7] Generated Node #0,1,1: 73:[80, 7] Operation: 82-75=7 Moving to Node #0,1,0 Current State: 73:[75, 2], Operations: ['30+52=82', '82-80=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[75, 80, 30, 52], Operations: [] Exploring Operation: 30+52=82, Resulting Numbers: [75, 80, 82] Generated Node #0,1: 73:[75, 80, 82] Operation: 30+52=82 Moving to Node #0,1 Current State: 73:[75, 80, 82], Operations: ['30+52=82'] Exploring Operation: 82-80=2, Resulting Numbers: [75, 2] Generated Node #0,1,0: 73:[75, 2] Operation: 82-80=2 Moving to Node #0,1,0 Current State: 73:[75, 2], Operations: ['30+52=82', '82-80=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 8, 43, 89, 27 ]
40
[ "89-8=81", "81/27=3", "43-3=40" ]
Current State: 40:[8, 43, 89, 27], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [43, 27, 81] Generated Node #2: [43, 27, 81] from Operation: 89-8=81 Current State: 40:[43, 27, 81], Operations: ['89-8=81'] Exploring Operation: 81/27=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 81/27=3 Current State: 40:[43, 3], Operations: ['89-8=81', '81/27=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 43, 89, 27], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [8, 27, 46] Generated Node #0,0: 40:[8, 27, 46] Operation: 89-43=46 Exploring Operation: 89-8=81, Resulting Numbers: [43, 27, 81] Generated Node #0,1: 40:[43, 27, 81] Operation: 89-8=81 Exploring Operation: 89-27=62, Resulting Numbers: [8, 43, 62] Generated Node #0,2: 40:[8, 43, 62] Operation: 89-27=62 Exploring Operation: 27-8=19, Resulting Numbers: [43, 89, 19] Generated Node #0,3: 40:[43, 89, 19] Operation: 27-8=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[8, 27, 46], Operations: ['89-43=46'] Exploring Operation: 27-8=19, Resulting Numbers: [46, 19] Generated Node #0,0,0: 40:[46, 19] Operation: 27-8=19 Exploring Operation: 46-8=38, Resulting Numbers: [27, 38] Generated Node #0,0,1: 40:[27, 38] Operation: 46-8=38 Exploring Operation: 8+27=35, Resulting Numbers: [46, 35] Generated Node #0,0,2: 40:[46, 35] Operation: 8+27=35 Exploring Operation: 46-27=19, Resulting Numbers: [8, 19] Generated Node #0,0,3: 40:[8, 19] Operation: 46-27=19 Moving to Node #0,0,3 Current State: 40:[8, 19], Operations: ['89-43=46', '46-27=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[46, 19], Operations: ['89-43=46', '27-8=19'] Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,40 unequal: No Solution Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[27, 38], Operations: ['89-43=46', '46-8=38'] Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,40 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,40 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[46, 35], Operations: ['89-43=46', '8+27=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,40 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,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,2 Current State: 40:[8, 43, 62], Operations: ['89-27=62'] Exploring Operation: 62-43=19, Resulting Numbers: [8, 19] Generated Node #0,2,0: 40:[8, 19] Operation: 62-43=19 Exploring Operation: 8+43=51, Resulting Numbers: [62, 51] Generated Node #0,2,1: 40:[62, 51] Operation: 8+43=51 Exploring Operation: 62-8=54, Resulting Numbers: [43, 54] Generated Node #0,2,2: 40:[43, 54] Operation: 62-8=54 Exploring Operation: 43-8=35, Resulting Numbers: [62, 35] Generated Node #0,2,3: 40:[62, 35] Operation: 43-8=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[8, 19], Operations: ['89-27=62', '62-43=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,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,2,2 Current State: 40:[43, 54], Operations: ['89-27=62', '62-8=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,40 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,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,2,3 Current State: 40:[62, 35], Operations: ['89-27=62', '43-8=35'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 62*35=2170, Resulting Numbers: [2170] 2170,40 unequal: No Solution Exploring Operation: 62+35=97, Resulting Numbers: [97] 97,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,2,1 Current State: 40:[62, 51], Operations: ['89-27=62', '8+43=51'] Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,40 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,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:[43, 27, 81], Operations: ['89-8=81'] Exploring Operation: 81/27=3, Resulting Numbers: [43, 3] Generated Node #0,1,0: 40:[43, 3] Operation: 81/27=3 Exploring Operation: 43-27=16, Resulting Numbers: [81, 16] Generated Node #0,1,1: 40:[81, 16] Operation: 43-27=16 Exploring Operation: 81-27=54, Resulting Numbers: [43, 54] Generated Node #0,1,2: 40:[43, 54] Operation: 81-27=54 Exploring Operation: 81-43=38, Resulting Numbers: [27, 38] Generated Node #0,1,3: 40:[27, 38] Operation: 81-43=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[43, 3], Operations: ['89-8=81', '81/27=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[8, 43, 89, 27], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [43, 27, 81] Generated Node #0,1: 40:[43, 27, 81] Operation: 89-8=81 Moving to Node #0,1 Current State: 40:[43, 27, 81], Operations: ['89-8=81'] Exploring Operation: 81/27=3, Resulting Numbers: [43, 3] Generated Node #0,1,0: 40:[43, 3] Operation: 81/27=3 Moving to Node #0,1,0 Current State: 40:[43, 3], Operations: ['89-8=81', '81/27=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
mult_heuristic
[ 62, 35, 51, 32 ]
31
[ "51-35=16", "62*16=992", "992/32=31" ]
Current State: 31:[62, 35, 51, 32], Operations: [] Exploring Operation: 51-35=16, Resulting Numbers: [62, 32, 16] Generated Node #2: [62, 32, 16] from Operation: 51-35=16 Current State: 31:[62, 32, 16], Operations: ['51-35=16'] Exploring Operation: 62*16=992, Resulting Numbers: [32, 992] Generated Node #3: [32, 992] from Operation: 62*16=992 Current State: 31:[32, 992], Operations: ['51-35=16', '62*16=992'] Exploring Operation: 992/32=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[62, 35, 51, 32], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [51, 32, 27] Generated Node #0,0: 31:[51, 32, 27] Operation: 62-35=27 Exploring Operation: 62-51=11, Resulting Numbers: [35, 32, 11] Generated Node #0,1: 31:[35, 32, 11] Operation: 62-51=11 Exploring Operation: 62-32=30, Resulting Numbers: [35, 51, 30] Generated Node #0,2: 31:[35, 51, 30] Operation: 62-32=30 Moving to Node #0,0 Current State: 31:[51, 32, 27], Operations: ['62-35=27'] Exploring Operation: 32-27=5, Resulting Numbers: [51, 5] Generated Node #0,0,0: 31:[51, 5] Operation: 32-27=5 Exploring Operation: 51-32=19, Resulting Numbers: [27, 19] Generated Node #0,0,1: 31:[27, 19] Operation: 51-32=19 Exploring Operation: 51-27=24, Resulting Numbers: [32, 24] Generated Node #0,0,2: 31:[32, 24] Operation: 51-27=24 Moving to Node #0,1 Current State: 31:[35, 32, 11], Operations: ['62-51=11'] Exploring Operation: 32-11=21, Resulting Numbers: [35, 21] Generated Node #0,1,0: 31:[35, 21] Operation: 32-11=21 Exploring Operation: 35+11=46, Resulting Numbers: [32, 46] Generated Node #0,1,1: 31:[32, 46] Operation: 35+11=46 Exploring Operation: 35-11=24, Resulting Numbers: [32, 24] Generated Node #0,1,2: 31:[32, 24] Operation: 35-11=24 Moving to Node #0,2 Current State: 31:[35, 51, 30], Operations: ['62-32=30'] Exploring Operation: 51-30=21, Resulting Numbers: [35, 21] Generated Node #0,2,0: 31:[35, 21] Operation: 51-30=21 Exploring Operation: 35-30=5, Resulting Numbers: [51, 5] Generated Node #0,2,1: 31:[51, 5] Operation: 35-30=5 Exploring Operation: 51-35=16, Resulting Numbers: [30, 16] Generated Node #0,2,2: 31:[30, 16] Operation: 51-35=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[35, 21], Operations: ['62-32=30', '51-30=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,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:[30, 16], Operations: ['62-32=30', '51-35=16'] Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,31 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,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,1 Current State: 31:[51, 5], Operations: ['62-32=30', '35-30=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 31:[32, 24], Operations: ['62-35=27', '51-27=24'] Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,31 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[32, 24], Operations: ['62-51=11', '35-11=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[35, 21], Operations: ['62-51=11', '32-11=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,31 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[32, 46], Operations: ['62-51=11', '35+11=46'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,31 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[27, 19], Operations: ['62-35=27', '51-32=19'] Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,31 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[51, 5], Operations: ['62-35=27', '32-27=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,31 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 93, 7, 71, 70 ]
99
[ "93+7=100", "71-70=1", "100-1=99" ]
Current State: 99:[93, 7, 71, 70], Operations: [] Exploring Operation: 93+7=100, Resulting Numbers: [71, 70, 100] Generated Node #2: [71, 70, 100] from Operation: 93+7=100 Current State: 99:[71, 70, 100], Operations: ['93+7=100'] Exploring Operation: 71-70=1, Resulting Numbers: [100, 1] Generated Node #3: [100, 1] from Operation: 71-70=1 Current State: 99:[100, 1], Operations: ['93+7=100', '71-70=1'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[93, 7, 71, 70], Operations: [] Exploring Operation: 71+70=141, Resulting Numbers: [93, 7, 141] Generated Node #0,0: 99:[93, 7, 141] Operation: 71+70=141 Exploring Operation: 93-71=22, Resulting Numbers: [7, 70, 22] Generated Node #0,1: 99:[7, 70, 22] Operation: 93-71=22 Exploring Operation: 70/7=10, Resulting Numbers: [93, 71, 10] Generated Node #0,2: 99:[93, 71, 10] Operation: 70/7=10 Exploring Operation: 71-70=1, Resulting Numbers: [93, 7, 1] Generated Node #0,3: 99:[93, 7, 1] Operation: 71-70=1 Exploring Operation: 93-70=23, Resulting Numbers: [7, 71, 23] Generated Node #0,4: 99:[7, 71, 23] Operation: 93-70=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[93, 7, 1], Operations: ['71-70=1'] Exploring Operation: 7+1=8, Resulting Numbers: [93, 8] Generated Node #0,3,0: 99:[93, 8] Operation: 7+1=8 Exploring Operation: 93+1=94, Resulting Numbers: [7, 94] Generated Node #0,3,1: 99:[7, 94] Operation: 93+1=94 Exploring Operation: 93*1=93, Resulting Numbers: [7, 93] Generated Node #0,3,2: 99:[7, 93] Operation: 93*1=93 Exploring Operation: 93+7=100, Resulting Numbers: [1, 100] Generated Node #0,3,3: 99:[1, 100] Operation: 93+7=100 Exploring Operation: 93/1=93, Resulting Numbers: [7, 93] Generated Node #0,3,4: 99:[7, 93] Operation: 93/1=93 Moving to Node #0,3,3 Current State: 99:[1, 100], Operations: ['71-70=1', '93+7=100'] Exploring Operation: 1+100=101, Resulting Numbers: [101] 101,99 unequal: No Solution Exploring Operation: 100/1=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 1*100=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[93, 7, 71, 70], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [93, 7, 1] Generated Node #0,3: 99:[93, 7, 1] Operation: 71-70=1 Moving to Node #0,3 Current State: 99:[93, 7, 1], Operations: ['71-70=1'] Exploring Operation: 93+7=100, Resulting Numbers: [1, 100] Generated Node #0,3,3: 99:[1, 100] Operation: 93+7=100 Moving to Node #0,3,3 Current State: 99:[1, 100], Operations: ['71-70=1', '93+7=100'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 42, 52, 55, 11 ]
76
[ "52-42=10", "55+11=66", "10+66=76" ]
Current State: 76:[42, 52, 55, 11], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [55, 11, 10] Generated Node #2: [55, 11, 10] from Operation: 52-42=10 Current State: 76:[55, 11, 10], Operations: ['52-42=10'] Exploring Operation: 55+11=66, Resulting Numbers: [10, 66] Generated Node #3: [10, 66] from Operation: 55+11=66 Current State: 76:[10, 66], Operations: ['52-42=10', '55+11=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[42, 52, 55, 11], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [42, 11, 3] Generated Node #0,0: 76:[42, 11, 3] Operation: 55-52=3 Exploring Operation: 55/11=5, Resulting Numbers: [42, 52, 5] Generated Node #0,1: 76:[42, 52, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[42, 11, 3], Operations: ['55-52=3'] Exploring Operation: 42-11=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 76:[3, 31] Operation: 42-11=31 Exploring Operation: 42-3=39, Resulting Numbers: [11, 39] Generated Node #0,0,1: 76:[11, 39] Operation: 42-3=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[3, 31], Operations: ['55-52=3', '42-11=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[11, 39], Operations: ['55-52=3', '42-3=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[42, 52, 5], Operations: ['55/11=5'] Exploring Operation: 52-42=10, Resulting Numbers: [5, 10] Generated Node #0,1,0: 76:[5, 10] Operation: 52-42=10 Exploring Operation: 52-5=47, Resulting Numbers: [42, 47] Generated Node #0,1,1: 76:[42, 47] Operation: 52-5=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[5, 10], Operations: ['55/11=5', '52-42=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[42, 47], Operations: ['55/11=5', '52-5=47'] Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 31, 3, 56, 32 ]
69
[ "31*3=93", "56-32=24", "93-24=69" ]
Current State: 69:[31, 3, 56, 32], Operations: [] Exploring Operation: 31*3=93, Resulting Numbers: [56, 32, 93] Generated Node #2: [56, 32, 93] from Operation: 31*3=93 Current State: 69:[56, 32, 93], Operations: ['31*3=93'] Exploring Operation: 56-32=24, Resulting Numbers: [93, 24] Generated Node #3: [93, 24] from Operation: 56-32=24 Current State: 69:[93, 24], Operations: ['31*3=93', '56-32=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[31, 3, 56, 32], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [31, 3, 24] Generated Node #0,0: 69:[31, 3, 24] Operation: 56-32=24 Exploring Operation: 56-31=25, Resulting Numbers: [3, 32, 25] Generated Node #0,1: 69:[3, 32, 25] Operation: 56-31=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[31, 3, 24], Operations: ['56-32=24'] Exploring Operation: 31-24=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 69:[3, 7] Operation: 31-24=7 Exploring Operation: 31-3=28, Resulting Numbers: [24, 28] Generated Node #0,0,1: 69:[24, 28] Operation: 31-3=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[3, 7], Operations: ['56-32=24', '31-24=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,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:[24, 28], Operations: ['56-32=24', '31-3=28'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,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,1 Current State: 69:[3, 32, 25], Operations: ['56-31=25'] Exploring Operation: 32-25=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 69:[3, 7] Operation: 32-25=7 Exploring Operation: 32-3=29, Resulting Numbers: [25, 29] Generated Node #0,1,1: 69:[25, 29] Operation: 32-3=29 Moving to Node #0,1,0 Current State: 69:[3, 7], Operations: ['56-31=25', '32-25=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[25, 29], Operations: ['56-31=25', '32-3=29'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,69 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
[ 79, 28, 4, 8 ]
47
[ "79-28=51", "8-4=4", "51-4=47" ]
Current State: 47:[79, 28, 4, 8], Operations: [] Exploring Operation: 79-28=51, Resulting Numbers: [4, 8, 51] Generated Node #2: [4, 8, 51] from Operation: 79-28=51 Current State: 47:[4, 8, 51], Operations: ['79-28=51'] Exploring Operation: 8-4=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 8-4=4 Current State: 47:[51, 4], Operations: ['79-28=51', '8-4=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[79, 28, 4, 8], Operations: [] Exploring Operation: 4*8=32, Resulting Numbers: [79, 28, 32] Generated Node #0,0: 47:[79, 28, 32] Operation: 4*8=32 Exploring Operation: 79-28=51, Resulting Numbers: [4, 8, 51] Generated Node #0,1: 47:[4, 8, 51] Operation: 79-28=51 Moving to Node #0,0 Current State: 47:[79, 28, 32], Operations: ['4*8=32'] Exploring Operation: 79-28=51, Resulting Numbers: [32, 51] Generated Node #0,0,0: 47:[32, 51] Operation: 79-28=51 Exploring Operation: 79-32=47, Resulting Numbers: [28, 47] Generated Node #0,0,1: 47:[28, 47] Operation: 79-32=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[32, 51], Operations: ['4*8=32', '79-28=51'] Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,47 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[28, 47], Operations: ['4*8=32', '79-32=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[4, 8, 51], Operations: ['79-28=51'] Exploring Operation: 4+8=12, Resulting Numbers: [51, 12] Generated Node #0,1,0: 47:[51, 12] Operation: 4+8=12 Exploring Operation: 4*8=32, Resulting Numbers: [51, 32] Generated Node #0,1,1: 47:[51, 32] Operation: 4*8=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[51, 32], Operations: ['79-28=51', '4*8=32'] Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,47 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[51, 12], Operations: ['79-28=51', '4+8=12'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 48, 45, 56, 39 ]
43
[ "48-45=3", "39/3=13", "56-13=43" ]
Current State: 43:[48, 45, 56, 39], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [56, 39, 3] Generated Node #2: [56, 39, 3] from Operation: 48-45=3 Current State: 43:[56, 39, 3], Operations: ['48-45=3'] Exploring Operation: 39/3=13, Resulting Numbers: [56, 13] Generated Node #3: [56, 13] from Operation: 39/3=13 Current State: 43:[56, 13], Operations: ['48-45=3', '39/3=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[48, 45, 56, 39], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [48, 45, 17] Generated Node #0,0: 43:[48, 45, 17] Operation: 56-39=17 Exploring Operation: 56-48=8, Resulting Numbers: [45, 39, 8] Generated Node #0,1: 43:[45, 39, 8] Operation: 56-48=8 Exploring Operation: 56-45=11, Resulting Numbers: [48, 39, 11] Generated Node #0,2: 43:[48, 39, 11] Operation: 56-45=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[48, 45, 17], Operations: ['56-39=17'] Exploring Operation: 48-17=31, Resulting Numbers: [45, 31] Generated Node #0,0,0: 43:[45, 31] Operation: 48-17=31 Exploring Operation: 48+17=65, Resulting Numbers: [45, 65] Generated Node #0,0,1: 43:[45, 65] Operation: 48+17=65 Exploring Operation: 45-17=28, Resulting Numbers: [48, 28] Generated Node #0,0,2: 43:[48, 28] Operation: 45-17=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[45, 31], Operations: ['56-39=17', '48-17=31'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,43 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,43 unequal: No Solution Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,43 unequal: No Solution No 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: 43:[48, 28], Operations: ['56-39=17', '45-17=28'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,43 unequal: No Solution No 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: 43:[45, 65], Operations: ['56-39=17', '48+17=65'] Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,43 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: 43:[45, 39, 8], Operations: ['56-48=8'] Exploring Operation: 45+8=53, Resulting Numbers: [39, 53] Generated Node #0,1,0: 43:[39, 53] Operation: 45+8=53 Exploring Operation: 45-8=37, Resulting Numbers: [39, 37] Generated Node #0,1,1: 43:[39, 37] Operation: 45-8=37 Exploring Operation: 39+8=47, Resulting Numbers: [45, 47] Generated Node #0,1,2: 43:[45, 47] Operation: 39+8=47 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[45, 47], Operations: ['56-48=8', '39+8=47'] Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,43 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,43 unequal: No Solution No 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: 43:[39, 37], Operations: ['56-48=8', '45-8=37'] Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,43 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,43 unequal: No Solution No 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: 43:[39, 53], Operations: ['56-48=8', '45+8=53'] Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,43 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,43 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,43 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: 43:[48, 39, 11], Operations: ['56-45=11'] Exploring Operation: 39+11=50, Resulting Numbers: [48, 50] Generated Node #0,2,0: 43:[48, 50] Operation: 39+11=50 Exploring Operation: 48+11=59, Resulting Numbers: [39, 59] Generated Node #0,2,1: 43:[39, 59] Operation: 48+11=59 Exploring Operation: 48-11=37, Resulting Numbers: [39, 37] Generated Node #0,2,2: 43:[39, 37] Operation: 48-11=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[39, 37], Operations: ['56-45=11', '48-11=37'] Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,43 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,43 unequal: No Solution No 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: 43:[48, 50], Operations: ['56-45=11', '39+11=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,43 unequal: No Solution No 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: 43:[39, 59], Operations: ['56-45=11', '48+11=59'] Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,43 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,43 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
[ 10, 19, 5, 17 ]
76
[ "19-10=9", "5*17=85", "85-9=76" ]
Current State: 76:[10, 19, 5, 17], Operations: [] Exploring Operation: 19-10=9, Resulting Numbers: [5, 17, 9] Generated Node #2: [5, 17, 9] from Operation: 19-10=9 Current State: 76:[5, 17, 9], Operations: ['19-10=9'] Exploring Operation: 5*17=85, Resulting Numbers: [9, 85] Generated Node #3: [9, 85] from Operation: 5*17=85 Current State: 76:[9, 85], Operations: ['19-10=9', '5*17=85'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[10, 19, 5, 17], Operations: [] Exploring Operation: 10-5=5, Resulting Numbers: [19, 17, 5] Generated Node #0,0: 76:[19, 17, 5] Operation: 10-5=5 Exploring Operation: 17-10=7, Resulting Numbers: [19, 5, 7] Generated Node #0,1: 76:[19, 5, 7] Operation: 17-10=7 Exploring Operation: 10/5=2, Resulting Numbers: [19, 17, 2] Generated Node #0,2: 76:[19, 17, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[19, 17, 2], Operations: ['10/5=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19, 19] Generated Node #0,2,0: 76:[19, 19] Operation: 17+2=19 Exploring Operation: 19-17=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 76:[2, 2] Operation: 19-17=2 Exploring Operation: 19+17=36, Resulting Numbers: [2, 36] Generated Node #0,2,2: 76:[2, 36] Operation: 19+17=36 Moving to Node #0,2,0 Current State: 76:[19, 19], Operations: ['10/5=2', '17+2=19'] Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[2, 2], Operations: ['10/5=2', '19-17=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[2, 36], Operations: ['10/5=2', '19+17=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[19, 17, 5], Operations: ['10-5=5'] Exploring Operation: 17+5=22, Resulting Numbers: [19, 22] Generated Node #0,0,0: 76:[19, 22] Operation: 17+5=22 Exploring Operation: 19-17=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 76:[5, 2] Operation: 19-17=2 Exploring Operation: 19+17=36, Resulting Numbers: [5, 36] Generated Node #0,0,2: 76:[5, 36] Operation: 19+17=36 Moving to Node #0,0,1 Current State: 76:[5, 2], Operations: ['10-5=5', '19-17=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[19, 22], Operations: ['10-5=5', '17+5=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[5, 36], Operations: ['10-5=5', '19+17=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[19, 5, 7], Operations: ['17-10=7'] Exploring Operation: 7-5=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 76:[19, 2] Operation: 7-5=2 Exploring Operation: 5+7=12, Resulting Numbers: [19, 12] Generated Node #0,1,1: 76:[19, 12] Operation: 5+7=12 Exploring Operation: 5*7=35, Resulting Numbers: [19, 35] Generated Node #0,1,2: 76:[19, 35] Operation: 5*7=35 Moving to Node #0,1,0 Current State: 76:[19, 2], Operations: ['17-10=7', '7-5=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[19, 35], Operations: ['17-10=7', '5*7=35'] Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,76 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[19, 12], Operations: ['17-10=7', '5+7=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,76 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
[ 33, 22, 4, 39 ]
12
[ "33+22=55", "4+39=43", "55-43=12" ]
Current State: 12:[33, 22, 4, 39], Operations: [] Exploring Operation: 33+22=55, Resulting Numbers: [4, 39, 55] Generated Node #2: [4, 39, 55] from Operation: 33+22=55 Current State: 12:[4, 39, 55], Operations: ['33+22=55'] Exploring Operation: 4+39=43, Resulting Numbers: [55, 43] Generated Node #3: [55, 43] from Operation: 4+39=43 Current State: 12:[55, 43], Operations: ['33+22=55', '4+39=43'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[33, 22, 4, 39], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [22, 4, 6] Generated Node #0,0: 12:[22, 4, 6] Operation: 39-33=6 Exploring Operation: 39-22=17, Resulting Numbers: [33, 4, 17] Generated Node #0,1: 12:[33, 4, 17] Operation: 39-22=17 Moving to Node #0,0 Current State: 12:[22, 4, 6], Operations: ['39-33=6'] Exploring Operation: 22-4=18, Resulting Numbers: [6, 18] Generated Node #0,0,0: 12:[6, 18] Operation: 22-4=18 Exploring Operation: 22-6=16, Resulting Numbers: [4, 16] Generated Node #0,0,1: 12:[4, 16] Operation: 22-6=16 Moving to Node #0,1 Current State: 12:[33, 4, 17], Operations: ['39-22=17'] Exploring Operation: 33-4=29, Resulting Numbers: [17, 29] Generated Node #0,1,0: 12:[17, 29] Operation: 33-4=29 Exploring Operation: 33-17=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 12:[4, 16] Operation: 33-17=16 Moving to Node #0,0,1 Current State: 12:[4, 16], Operations: ['39-33=6', '22-6=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[33, 22, 4, 39], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [22, 4, 6] Generated Node #0,0: 12:[22, 4, 6] Operation: 39-33=6 Moving to Node #0,0 Current State: 12:[22, 4, 6], Operations: ['39-33=6'] Exploring Operation: 22-6=16, Resulting Numbers: [4, 16] Generated Node #0,0,1: 12:[4, 16] Operation: 22-6=16 Moving to Node #0,0,1 Current State: 12:[4, 16], Operations: ['39-33=6', '22-6=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 7, 89, 26, 67 ]
28
[ "89-26=63", "67-63=4", "7*4=28" ]
Current State: 28:[7, 89, 26, 67], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [7, 67, 63] Generated Node #2: [7, 67, 63] from Operation: 89-26=63 Current State: 28:[7, 67, 63], Operations: ['89-26=63'] Exploring Operation: 67-63=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 67-63=4 Current State: 28:[7, 4], Operations: ['89-26=63', '67-63=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 89, 26, 67], Operations: [] Exploring Operation: 67-26=41, Resulting Numbers: [7, 89, 41] Generated Node #0,0: 28:[7, 89, 41] Operation: 67-26=41 Exploring Operation: 89-26=63, Resulting Numbers: [7, 67, 63] Generated Node #0,1: 28:[7, 67, 63] Operation: 89-26=63 Exploring Operation: 89-67=22, Resulting Numbers: [7, 26, 22] Generated Node #0,2: 28:[7, 26, 22] Operation: 89-67=22 Moving to Node #0,2 Current State: 28:[7, 26, 22], Operations: ['89-67=22'] Exploring Operation: 26-22=4, Resulting Numbers: [7, 4] Generated Node #0,2,0: 28:[7, 4] Operation: 26-22=4 Exploring Operation: 22-7=15, Resulting Numbers: [26, 15] Generated Node #0,2,1: 28:[26, 15] Operation: 22-7=15 Exploring Operation: 7+22=29, Resulting Numbers: [26, 29] Generated Node #0,2,2: 28:[26, 29] Operation: 7+22=29 Moving to Node #0,0 Current State: 28:[7, 89, 41], Operations: ['67-26=41'] Exploring Operation: 41-7=34, Resulting Numbers: [89, 34] Generated Node #0,0,0: 28:[89, 34] Operation: 41-7=34 Exploring Operation: 89-7=82, Resulting Numbers: [41, 82] Generated Node #0,0,1: 28:[41, 82] Operation: 89-7=82 Exploring Operation: 89-41=48, Resulting Numbers: [7, 48] Generated Node #0,0,2: 28:[7, 48] Operation: 89-41=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[7, 48], Operations: ['67-26=41', '89-41=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,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,0 Current State: 28:[89, 34], Operations: ['67-26=41', '41-7=34'] Exploring Operation: 89+34=123, Resulting Numbers: [123] 123,28 unequal: No Solution Exploring Operation: 89*34=3026, Resulting Numbers: [3026] 3026,28 unequal: No Solution Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,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:[41, 82], Operations: ['67-26=41', '89-7=82'] Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,28 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: 28:[7, 67, 63], Operations: ['89-26=63'] Exploring Operation: 63/7=9, Resulting Numbers: [67, 9] Generated Node #0,1,0: 28:[67, 9] Operation: 63/7=9 Exploring Operation: 67-7=60, Resulting Numbers: [63, 60] Generated Node #0,1,1: 28:[63, 60] Operation: 67-7=60 Exploring Operation: 67-63=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 28:[7, 4] Operation: 67-63=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[7, 4], Operations: ['89-26=63', '67-63=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[7, 89, 26, 67], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [7, 67, 63] Generated Node #0,1: 28:[7, 67, 63] Operation: 89-26=63 Moving to Node #0,1 Current State: 28:[7, 67, 63], Operations: ['89-26=63'] Exploring Operation: 67-63=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 28:[7, 4] Operation: 67-63=4 Moving to Node #0,1,2 Current State: 28:[7, 4], Operations: ['89-26=63', '67-63=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 7, 39, 3, 71 ]
11
[ "7+3=10", "39+71=110", "110/10=11" ]
Current State: 11:[7, 39, 3, 71], Operations: [] Exploring Operation: 7+3=10, Resulting Numbers: [39, 71, 10] Generated Node #2: [39, 71, 10] from Operation: 7+3=10 Current State: 11:[39, 71, 10], Operations: ['7+3=10'] Exploring Operation: 39+71=110, Resulting Numbers: [10, 110] Generated Node #3: [10, 110] from Operation: 39+71=110 Current State: 11:[10, 110], Operations: ['7+3=10', '39+71=110'] Exploring Operation: 110/10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[7, 39, 3, 71], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [7, 3, 32] Generated Node #0,0: 11:[7, 3, 32] Operation: 71-39=32 Exploring Operation: 7+3=10, Resulting Numbers: [39, 71, 10] Generated Node #0,1: 11:[39, 71, 10] Operation: 7+3=10 Exploring Operation: 39/3=13, Resulting Numbers: [7, 71, 13] Generated Node #0,2: 11:[7, 71, 13] Operation: 39/3=13 Exploring Operation: 39-7=32, Resulting Numbers: [3, 71, 32] Generated Node #0,3: 11:[3, 71, 32] Operation: 39-7=32 Moving to Node #0,0 Current State: 11:[7, 3, 32], Operations: ['71-39=32'] Exploring Operation: 7+3=10, Resulting Numbers: [32, 10] Generated Node #0,0,0: 11:[32, 10] Operation: 7+3=10 Exploring Operation: 7-3=4, Resulting Numbers: [32, 4] Generated Node #0,0,1: 11:[32, 4] Operation: 7-3=4 Exploring Operation: 32-3=29, Resulting Numbers: [7, 29] Generated Node #0,0,2: 11:[7, 29] Operation: 32-3=29 Exploring Operation: 32-7=25, Resulting Numbers: [3, 25] Generated Node #0,0,3: 11:[3, 25] Operation: 32-7=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[32, 10], Operations: ['71-39=32', '7+3=10'] Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,11 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[7, 29], Operations: ['71-39=32', '32-3=29'] Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,11 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[3, 25], Operations: ['71-39=32', '32-7=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[32, 4], Operations: ['71-39=32', '7-3=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,11 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[7, 71, 13], Operations: ['39/3=13'] Exploring Operation: 71-7=64, Resulting Numbers: [13, 64] Generated Node #0,2,0: 11:[13, 64] Operation: 71-7=64 Exploring Operation: 7+71=78, Resulting Numbers: [13, 78] Generated Node #0,2,1: 11:[13, 78] Operation: 7+71=78 Exploring Operation: 71-13=58, Resulting Numbers: [7, 58] Generated Node #0,2,2: 11:[7, 58] Operation: 71-13=58 Exploring Operation: 13-7=6, Resulting Numbers: [71, 6] Generated Node #0,2,3: 11:[71, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[7, 58], Operations: ['39/3=13', '71-13=58'] Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,11 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[13, 64], Operations: ['39/3=13', '71-7=64'] Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,11 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[71, 6], Operations: ['39/3=13', '13-7=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,11 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[13, 78], Operations: ['39/3=13', '7+71=78'] Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,11 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 13+78=91, Resulting Numbers: [91] 91,11 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: 11:[3, 71, 32], Operations: ['39-7=32'] Exploring Operation: 71-3=68, Resulting Numbers: [32, 68] Generated Node #0,3,0: 11:[32, 68] Operation: 71-3=68 Exploring Operation: 3+71=74, Resulting Numbers: [32, 74] Generated Node #0,3,1: 11:[32, 74] Operation: 3+71=74 Exploring Operation: 32-3=29, Resulting Numbers: [71, 29] Generated Node #0,3,2: 11:[71, 29] Operation: 32-3=29 Exploring Operation: 71-32=39, Resulting Numbers: [3, 39] Generated Node #0,3,3: 11:[3, 39] Operation: 71-32=39 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[3, 39], Operations: ['39-7=32', '71-32=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,11 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[32, 68], Operations: ['39-7=32', '71-3=68'] Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 32*68=2176, Resulting Numbers: [2176] 2176,11 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[71, 29], Operations: ['39-7=32', '32-3=29'] Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,11 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[32, 74], Operations: ['39-7=32', '3+71=74'] Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 32+74=106, Resulting Numbers: [106] 106,11 unequal: No Solution Exploring Operation: 32*74=2368, Resulting Numbers: [2368] 2368,11 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: 11:[39, 71, 10], Operations: ['7+3=10'] Exploring Operation: 39-10=29, Resulting Numbers: [71, 29] Generated Node #0,1,0: 11:[71, 29] Operation: 39-10=29 Exploring Operation: 39+10=49, Resulting Numbers: [71, 49] Generated Node #0,1,1: 11:[71, 49] Operation: 39+10=49 Exploring Operation: 71-10=61, Resulting Numbers: [39, 61] Generated Node #0,1,2: 11:[39, 61] Operation: 71-10=61 Exploring Operation: 71-39=32, Resulting Numbers: [10, 32] Generated Node #0,1,3: 11:[10, 32] Operation: 71-39=32 Moving to Node #0,1,3 Current State: 11:[10, 32], Operations: ['7+3=10', '71-39=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[39, 61], Operations: ['7+3=10', '71-10=61'] Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,11 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[71, 29], Operations: ['7+3=10', '39-10=29'] Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,11 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[71, 49], Operations: ['7+3=10', '39+10=49'] Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,11 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 30, 19, 25 ]
81
[ "30-26=4", "25*4=100", "100-19=81" ]
Current State: 81:[26, 30, 19, 25], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [19, 25, 4] Generated Node #2: [19, 25, 4] from Operation: 30-26=4 Current State: 81:[19, 25, 4], Operations: ['30-26=4'] Exploring Operation: 25*4=100, Resulting Numbers: [19, 100] Generated Node #3: [19, 100] from Operation: 25*4=100 Current State: 81:[19, 100], Operations: ['30-26=4', '25*4=100'] Exploring Operation: 100-19=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[26, 30, 19, 25], Operations: [] Exploring Operation: 30-19=11, Resulting Numbers: [26, 25, 11] Generated Node #0,0: 81:[26, 25, 11] Operation: 30-19=11 Moving to Node #0,0 Current State: 81:[26, 25, 11], Operations: ['30-19=11'] Exploring Operation: 26-25=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 81:[11, 1] Operation: 26-25=1 Moving to Node #0,0,0 Current State: 81:[11, 1], Operations: ['30-19=11', '26-25=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,81 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 88, 46, 8 ]
59
[ "2+46=48", "88/8=11", "48+11=59" ]
Current State: 59:[2, 88, 46, 8], Operations: [] Exploring Operation: 2+46=48, Resulting Numbers: [88, 8, 48] Generated Node #2: [88, 8, 48] from Operation: 2+46=48 Current State: 59:[88, 8, 48], Operations: ['2+46=48'] Exploring Operation: 88/8=11, Resulting Numbers: [48, 11] Generated Node #3: [48, 11] from Operation: 88/8=11 Current State: 59:[48, 11], Operations: ['2+46=48', '88/8=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 88, 46, 8], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [46, 8, 44] Generated Node #0,0: 59:[46, 8, 44] Operation: 88/2=44 Moving to Node #0,0 Current State: 59:[46, 8, 44], Operations: ['88/2=44'] Exploring Operation: 46+8=54, Resulting Numbers: [44, 54] Generated Node #0,0,0: 59:[44, 54] Operation: 46+8=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[44, 54], Operations: ['88/2=44', '46+8=54'] Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,59 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
[ 24, 97, 27, 86 ]
62
[ "24+97=121", "86-27=59", "121-59=62" ]
Current State: 62:[24, 97, 27, 86], Operations: [] Exploring Operation: 24+97=121, Resulting Numbers: [27, 86, 121] Generated Node #2: [27, 86, 121] from Operation: 24+97=121 Current State: 62:[27, 86, 121], Operations: ['24+97=121'] Exploring Operation: 86-27=59, Resulting Numbers: [121, 59] Generated Node #3: [121, 59] from Operation: 86-27=59 Current State: 62:[121, 59], Operations: ['24+97=121', '86-27=59'] Exploring Operation: 121-59=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[24, 97, 27, 86], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [24, 27, 11] Generated Node #0,0: 62:[24, 27, 11] Operation: 97-86=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[24, 27, 11], Operations: ['97-86=11'] Exploring Operation: 24+11=35, Resulting Numbers: [27, 35] Generated Node #0,0,0: 62:[27, 35] Operation: 24+11=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[27, 35], Operations: ['97-86=11', '24+11=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[24, 97, 27, 86], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [24, 27, 11] Generated Node #0,0: 62:[24, 27, 11] Operation: 97-86=11 Moving to Node #0,0 Current State: 62:[24, 27, 11], Operations: ['97-86=11'] Exploring Operation: 24+11=35, Resulting Numbers: [27, 35] Generated Node #0,0,0: 62:[27, 35] Operation: 24+11=35 Moving to Node #0,0,0 Current State: 62:[27, 35], Operations: ['97-86=11', '24+11=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 36, 7, 18, 18 ]
79
[ "36+7=43", "18+18=36", "43+36=79" ]
Current State: 79:[36, 7, 18, 18], Operations: [] Exploring Operation: 36+7=43, Resulting Numbers: [18, 18, 43] Generated Node #2: [18, 18, 43] from Operation: 36+7=43 Current State: 79:[18, 18, 43], Operations: ['36+7=43'] Exploring Operation: 18+18=36, Resulting Numbers: [43, 36] Generated Node #3: [43, 36] from Operation: 18+18=36 Current State: 79:[43, 36], Operations: ['36+7=43', '18+18=36'] Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[36, 7, 18, 18], Operations: [] Exploring Operation: 7*18=126, Resulting Numbers: [36, 18, 126] Generated Node #0,0: 79:[36, 18, 126] Operation: 7*18=126 Exploring Operation: 36+18=54, Resulting Numbers: [7, 18, 54] Generated Node #0,1: 79:[7, 18, 54] Operation: 36+18=54 Exploring Operation: 36+7=43, Resulting Numbers: [18, 18, 43] Generated Node #0,2: 79:[18, 18, 43] Operation: 36+7=43 Exploring Operation: 7*18=126, Resulting Numbers: [36, 18, 126] Generated Node #0,3: 79:[36, 18, 126] Operation: 7*18=126 Exploring Operation: 36+18=54, Resulting Numbers: [7, 18, 54] Generated Node #0,4: 79:[7, 18, 54] Operation: 36+18=54 Moving to Node #0,0 Current State: 79:[36, 18, 126], Operations: ['7*18=126'] Exploring Operation: 126-18=108, Resulting Numbers: [36, 108] Generated Node #0,0,0: 79:[36, 108] Operation: 126-18=108 Exploring Operation: 36-18=18, Resulting Numbers: [126, 18] Generated Node #0,0,1: 79:[126, 18] Operation: 36-18=18 Exploring Operation: 36+18=54, Resulting Numbers: [126, 54] Generated Node #0,0,2: 79:[126, 54] Operation: 36+18=54 Exploring Operation: 126-36=90, Resulting Numbers: [18, 90] Generated Node #0,0,3: 79:[18, 90] Operation: 126-36=90 Exploring Operation: 18+126=144, Resulting Numbers: [36, 144] Generated Node #0,0,4: 79:[36, 144] Operation: 18+126=144 Moving to Node #0,3 Current State: 79:[36, 18, 126], Operations: ['7*18=126'] Exploring Operation: 18+126=144, Resulting Numbers: [36, 144] Generated Node #0,3,0: 79:[36, 144] Operation: 18+126=144 Exploring Operation: 126-36=90, Resulting Numbers: [18, 90] Generated Node #0,3,1: 79:[18, 90] Operation: 126-36=90 Exploring Operation: 126-18=108, Resulting Numbers: [36, 108] Generated Node #0,3,2: 79:[36, 108] Operation: 126-18=108 Exploring Operation: 36+18=54, Resulting Numbers: [126, 54] Generated Node #0,3,3: 79:[126, 54] Operation: 36+18=54 Exploring Operation: 36-18=18, Resulting Numbers: [126, 18] Generated Node #0,3,4: 79:[126, 18] Operation: 36-18=18 Moving to Node #0,1 Current State: 79:[7, 18, 54], Operations: ['36+18=54'] Exploring Operation: 7*18=126, Resulting Numbers: [54, 126] Generated Node #0,1,0: 79:[54, 126] Operation: 7*18=126 Exploring Operation: 7+54=61, Resulting Numbers: [18, 61] Generated Node #0,1,1: 79:[18, 61] Operation: 7+54=61 Exploring Operation: 18+54=72, Resulting Numbers: [7, 72] Generated Node #0,1,2: 79:[7, 72] Operation: 18+54=72 Exploring Operation: 7+18=25, Resulting Numbers: [54, 25] Generated Node #0,1,3: 79:[54, 25] Operation: 7+18=25 Exploring Operation: 18-7=11, Resulting Numbers: [54, 11] Generated Node #0,1,4: 79:[54, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[54, 126], Operations: ['36+18=54', '7*18=126'] Exploring Operation: 126-54=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 54+126=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 54*126=6804, Resulting Numbers: [6804] 6804,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[18, 61], Operations: ['36+18=54', '7+54=61'] Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,79 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[36, 7, 18, 18], Operations: [] Exploring Operation: 36+18=54, Resulting Numbers: [7, 18, 54] Generated Node #0,1: 79:[7, 18, 54] Operation: 36+18=54 Moving to Node #0,1 Current State: 79:[7, 18, 54], Operations: ['36+18=54'] Exploring Operation: 7+54=61, Resulting Numbers: [18, 61] Generated Node #0,1,1: 79:[18, 61] Operation: 7+54=61 Moving to Node #0,1,1 Current State: 79:[18, 61], Operations: ['36+18=54', '7+54=61'] Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic
[ 42, 60, 52, 98 ]
56
[ "42+60=102", "98-52=46", "102-46=56" ]
Current State: 56:[42, 60, 52, 98], Operations: [] Exploring Operation: 42+60=102, Resulting Numbers: [52, 98, 102] Generated Node #2: [52, 98, 102] from Operation: 42+60=102 Current State: 56:[52, 98, 102], Operations: ['42+60=102'] Exploring Operation: 98-52=46, Resulting Numbers: [102, 46] Generated Node #3: [102, 46] from Operation: 98-52=46 Current State: 56:[102, 46], Operations: ['42+60=102', '98-52=46'] Exploring Operation: 102-46=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[42, 60, 52, 98], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [60, 52, 56] Generated Node #0,0: 56:[60, 52, 56] Operation: 98-42=56 Exploring Operation: 98-60=38, Resulting Numbers: [42, 52, 38] Generated Node #0,1: 56:[42, 52, 38] Operation: 98-60=38 Exploring Operation: 98-52=46, Resulting Numbers: [42, 60, 46] Generated Node #0,2: 56:[42, 60, 46] Operation: 98-52=46 Exploring Operation: 60-42=18, Resulting Numbers: [52, 98, 18] Generated Node #0,3: 56:[52, 98, 18] Operation: 60-42=18 Exploring Operation: 52-42=10, Resulting Numbers: [60, 98, 10] Generated Node #0,4: 56:[60, 98, 10] Operation: 52-42=10 Moving to Node #0,0 Current State: 56:[60, 52, 56], Operations: ['98-42=56'] Exploring Operation: 60+52=112, Resulting Numbers: [56, 112] Generated Node #0,0,0: 56:[56, 112] Operation: 60+52=112 Exploring Operation: 52+56=108, Resulting Numbers: [60, 108] Generated Node #0,0,1: 56:[60, 108] Operation: 52+56=108 Exploring Operation: 60-56=4, Resulting Numbers: [52, 4] Generated Node #0,0,2: 56:[52, 4] Operation: 60-56=4 Exploring Operation: 56-52=4, Resulting Numbers: [60, 4] Generated Node #0,0,3: 56:[60, 4] Operation: 56-52=4 Exploring Operation: 60-52=8, Resulting Numbers: [56, 8] Generated Node #0,0,4: 56:[56, 8] Operation: 60-52=8 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[56, 8], Operations: ['98-42=56', '60-52=8'] Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,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,2 Current State: 56:[52, 4], Operations: ['98-42=56', '60-56=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[42, 60, 52, 98], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [60, 52, 56] Generated Node #0,0: 56:[60, 52, 56] Operation: 98-42=56 Moving to Node #0,0 Current State: 56:[60, 52, 56], Operations: ['98-42=56'] Exploring Operation: 60-56=4, Resulting Numbers: [52, 4] Generated Node #0,0,2: 56:[52, 4] Operation: 60-56=4 Moving to Node #0,0,2 Current State: 56:[52, 4], Operations: ['98-42=56', '60-56=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 66, 14, 12, 11 ]
51
[ "66-14=52", "12-11=1", "52-1=51" ]
Current State: 51:[66, 14, 12, 11], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [12, 11, 52] Generated Node #2: [12, 11, 52] from Operation: 66-14=52 Current State: 51:[12, 11, 52], Operations: ['66-14=52'] Exploring Operation: 12-11=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 12-11=1 Current State: 51:[52, 1], Operations: ['66-14=52', '12-11=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[66, 14, 12, 11], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [12, 11, 52] Generated Node #0,0: 51:[12, 11, 52] Operation: 66-14=52 Exploring Operation: 66/11=6, Resulting Numbers: [14, 12, 6] Generated Node #0,1: 51:[14, 12, 6] Operation: 66/11=6 Exploring Operation: 66-12=54, Resulting Numbers: [14, 11, 54] Generated Node #0,2: 51:[14, 11, 54] Operation: 66-12=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[14, 12, 6], Operations: ['66/11=6'] Exploring Operation: 14-12=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 51:[6, 2] Operation: 14-12=2 Exploring Operation: 12/6=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 51:[14, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [14, 18] Generated Node #0,1,2: 51:[14, 18] Operation: 12+6=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[6, 2], Operations: ['66/11=6', '14-12=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[14, 2], Operations: ['66/11=6', '12/6=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[14, 18], Operations: ['66/11=6', '12+6=18'] Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,51 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[12, 11, 52], Operations: ['66-14=52'] Exploring Operation: 52-11=41, Resulting Numbers: [12, 41] Generated Node #0,0,0: 51:[12, 41] Operation: 52-11=41 Exploring Operation: 12-11=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 51:[52, 1] Operation: 12-11=1 Exploring Operation: 12+11=23, Resulting Numbers: [52, 23] Generated Node #0,0,2: 51:[52, 23] Operation: 12+11=23 Moving to Node #0,0,1 Current State: 51:[52, 1], Operations: ['66-14=52', '12-11=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[66, 14, 12, 11], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [12, 11, 52] Generated Node #0,0: 51:[12, 11, 52] Operation: 66-14=52 Moving to Node #0,0 Current State: 51:[12, 11, 52], Operations: ['66-14=52'] Exploring Operation: 12-11=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 51:[52, 1] Operation: 12-11=1 Moving to Node #0,0,1 Current State: 51:[52, 1], Operations: ['66-14=52', '12-11=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 6, 13, 51, 39 ]
59
[ "51-39=12", "6*12=72", "72-13=59" ]
Current State: 59:[6, 13, 51, 39], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [6, 13, 12] Generated Node #2: [6, 13, 12] from Operation: 51-39=12 Current State: 59:[6, 13, 12], Operations: ['51-39=12'] Exploring Operation: 6*12=72, Resulting Numbers: [13, 72] Generated Node #3: [13, 72] from Operation: 6*12=72 Current State: 59:[13, 72], Operations: ['51-39=12', '6*12=72'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[6, 13, 51, 39], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [51, 39, 78] Generated Node #0,0: 59:[51, 39, 78] Operation: 6*13=78 Moving to Node #0,0 Current State: 59:[51, 39, 78], Operations: ['6*13=78'] Exploring Operation: 78-39=39, Resulting Numbers: [51, 39] Generated Node #0,0,0: 59:[51, 39] Operation: 78-39=39 Moving to Node #0,0,0 Current State: 59:[51, 39], Operations: ['6*13=78', '78-39=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,59 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 60, 57, 23, 62 ]
40
[ "62-60=2", "57+23=80", "80/2=40" ]
Current State: 40:[60, 57, 23, 62], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [57, 23, 2] Generated Node #2: [57, 23, 2] from Operation: 62-60=2 Current State: 40:[57, 23, 2], Operations: ['62-60=2'] Exploring Operation: 57+23=80, Resulting Numbers: [2, 80] Generated Node #3: [2, 80] from Operation: 57+23=80 Current State: 40:[2, 80], Operations: ['62-60=2', '57+23=80'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[60, 57, 23, 62], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [60, 23, 5] Generated Node #0,0: 40:[60, 23, 5] Operation: 62-57=5 Exploring Operation: 62-60=2, Resulting Numbers: [57, 23, 2] Generated Node #0,1: 40:[57, 23, 2] Operation: 62-60=2 Exploring Operation: 60-57=3, Resulting Numbers: [23, 62, 3] Generated Node #0,2: 40:[23, 62, 3] Operation: 60-57=3 Exploring Operation: 62-23=39, Resulting Numbers: [60, 57, 39] Generated Node #0,3: 40:[60, 57, 39] Operation: 62-23=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[57, 23, 2], Operations: ['62-60=2'] Exploring Operation: 57-2=55, Resulting Numbers: [23, 55] Generated Node #0,1,0: 40:[23, 55] Operation: 57-2=55 Exploring Operation: 57-23=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 40:[2, 34] Operation: 57-23=34 Exploring Operation: 57+2=59, Resulting Numbers: [23, 59] Generated Node #0,1,2: 40:[23, 59] Operation: 57+2=59 Exploring Operation: 23-2=21, Resulting Numbers: [57, 21] Generated Node #0,1,3: 40:[57, 21] Operation: 23-2=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[2, 34], Operations: ['62-60=2', '57-23=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,40 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,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,1,0 Current State: 40:[23, 55], Operations: ['62-60=2', '57-2=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,40 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,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,1,3 Current State: 40:[57, 21], Operations: ['62-60=2', '23-2=21'] Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,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,1,2 Current State: 40:[23, 59], Operations: ['62-60=2', '57+2=59'] Exploring Operation: 23+59=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 23*59=1357, Resulting Numbers: [1357] 1357,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,0 Current State: 40:[60, 23, 5], Operations: ['62-57=5'] Exploring Operation: 60/5=12, Resulting Numbers: [23, 12] Generated Node #0,0,0: 40:[23, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [23, 55] Generated Node #0,0,1: 40:[23, 55] Operation: 60-5=55 Exploring Operation: 23-5=18, Resulting Numbers: [60, 18] Generated Node #0,0,2: 40:[60, 18] Operation: 23-5=18 Exploring Operation: 60-23=37, Resulting Numbers: [5, 37] Generated Node #0,0,3: 40:[5, 37] Operation: 60-23=37 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 40:[5, 37], Operations: ['62-57=5', '60-23=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,40 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,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:[23, 12], Operations: ['62-57=5', '60/5=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,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,1 Current State: 40:[23, 55], Operations: ['62-57=5', '60-5=55'] Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,40 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,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:[60, 18], Operations: ['62-57=5', '23-5=18'] Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,40 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,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,2 Current State: 40:[23, 62, 3], Operations: ['60-57=3'] Exploring Operation: 23-3=20, Resulting Numbers: [62, 20] Generated Node #0,2,0: 40:[62, 20] Operation: 23-3=20 Exploring Operation: 62-3=59, Resulting Numbers: [23, 59] Generated Node #0,2,1: 40:[23, 59] Operation: 62-3=59 Exploring Operation: 62-23=39, Resulting Numbers: [3, 39] Generated Node #0,2,2: 40:[3, 39] Operation: 62-23=39 Exploring Operation: 23+3=26, Resulting Numbers: [62, 26] Generated Node #0,2,3: 40:[62, 26] Operation: 23+3=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[3, 39], Operations: ['60-57=3', '62-23=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,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,2,0 Current State: 40:[62, 20], Operations: ['60-57=3', '23-3=20'] Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 62*20=1240, Resulting Numbers: [1240] 1240,40 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,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,2,1 Current State: 40:[23, 59], Operations: ['60-57=3', '62-3=59'] Exploring Operation: 23+59=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 23*59=1357, Resulting Numbers: [1357] 1357,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,2,3 Current State: 40:[62, 26], Operations: ['60-57=3', '23+3=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,40 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,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,3 Current State: 40:[60, 57, 39], Operations: ['62-23=39'] Exploring Operation: 57-39=18, Resulting Numbers: [60, 18] Generated Node #0,3,0: 40:[60, 18] Operation: 57-39=18 Exploring Operation: 60-39=21, Resulting Numbers: [57, 21] Generated Node #0,3,1: 40:[57, 21] Operation: 60-39=21 Exploring Operation: 60+39=99, Resulting Numbers: [57, 99] Generated Node #0,3,2: 40:[57, 99] Operation: 60+39=99 Exploring Operation: 60-57=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 40:[39, 3] Operation: 60-57=3 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[39, 3], Operations: ['62-23=39', '60-57=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,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,3,1 Current State: 40:[57, 21], Operations: ['62-23=39', '60-39=21'] Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,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,3,0 Current State: 40:[60, 18], Operations: ['62-23=39', '57-39=18'] Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,40 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,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,3,2 Current State: 40:[57, 99], Operations: ['62-23=39', '60+39=99'] Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,40 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,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 No solution found.
0
hs_4
sum_heuristic
[ 5, 80, 63, 5 ]
80
[ "5+80=85", "85/5=17", "63+17=80" ]
Current State: 80:[5, 80, 63, 5], Operations: [] Exploring Operation: 5+80=85, Resulting Numbers: [63, 85] Generated Node #2: [63, 85] from Operation: 5+80=85 Current State: 80:[63, 85], Operations: ['5+80=85'] Exploring Operation: 85/5=17, Resulting Numbers: [63, 17] Generated Node #3: [63, 17] from Operation: 85/5=17 Current State: 80:[63, 17], Operations: ['5+80=85', '85/5=17'] Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 80, 63, 5], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [5, 5, 17] Generated Node #0,0: 80:[5, 5, 17] Operation: 80-63=17 Exploring Operation: 5+5=10, Resulting Numbers: [80, 63, 10] Generated Node #0,1: 80:[80, 63, 10] Operation: 5+5=10 Exploring Operation: 63+5=68, Resulting Numbers: [5, 80, 68] Generated Node #0,2: 80:[5, 80, 68] Operation: 63+5=68 Exploring Operation: 5+63=68, Resulting Numbers: [80, 5, 68] Generated Node #0,3: 80:[80, 5, 68] Operation: 5+63=68 Exploring Operation: 80/5=16, Resulting Numbers: [63, 5, 16] Generated Node #0,4: 80:[63, 5, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[5, 5, 17], Operations: ['80-63=17'] Exploring Operation: 5+17=22, Resulting Numbers: [5, 22] Generated Node #0,0,0: 80:[5, 22] Operation: 5+17=22 Exploring Operation: 5/5=1, Resulting Numbers: [17, 1] Generated Node #0,0,1: 80:[17, 1] Operation: 5/5=1 Exploring Operation: 17-5=12, Resulting Numbers: [5, 12] Generated Node #0,0,2: 80:[5, 12] Operation: 17-5=12 Exploring Operation: 5+5=10, Resulting Numbers: [17, 10] Generated Node #0,0,3: 80:[17, 10] Operation: 5+5=10 Exploring Operation: 5+17=22, Resulting Numbers: [5, 22] Generated Node #0,0,4: 80:[5, 22] Operation: 5+17=22 Moving to Node #0,0,3 Current State: 80:[17, 10], Operations: ['80-63=17', '5+5=10'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[17, 1], Operations: ['80-63=17', '5/5=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[5, 22], Operations: ['80-63=17', '5+17=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[5, 22], Operations: ['80-63=17', '5+17=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[5, 12], Operations: ['80-63=17', '17-5=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[5, 80, 68], Operations: ['63+5=68'] Exploring Operation: 80-68=12, Resulting Numbers: [5, 12] Generated Node #0,2,0: 80:[5, 12] Operation: 80-68=12 Exploring Operation: 5+80=85, Resulting Numbers: [68, 85] Generated Node #0,2,1: 80:[68, 85] Operation: 5+80=85 Exploring Operation: 5+68=73, Resulting Numbers: [80, 73] Generated Node #0,2,2: 80:[80, 73] Operation: 5+68=73 Exploring Operation: 80/5=16, Resulting Numbers: [68, 16] Generated Node #0,2,3: 80:[68, 16] Operation: 80/5=16 Exploring Operation: 80-5=75, Resulting Numbers: [68, 75] Generated Node #0,2,4: 80:[68, 75] Operation: 80-5=75 Moving to Node #0,2,0 Current State: 80:[5, 12], Operations: ['63+5=68', '80-68=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[80, 73], Operations: ['63+5=68', '5+68=73'] Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[68, 16], Operations: ['63+5=68', '80/5=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,80 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[68, 85], Operations: ['63+5=68', '5+80=85'] Exploring Operation: 68*85=5780, Resulting Numbers: [5780] 5780,80 unequal: No Solution Exploring Operation: 68+85=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[68, 75], Operations: ['63+5=68', '80-5=75'] Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,80 unequal: No Solution Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[80, 5, 68], Operations: ['5+63=68'] Exploring Operation: 80-5=75, Resulting Numbers: [68, 75] Generated Node #0,3,0: 80:[68, 75] Operation: 80-5=75 Exploring Operation: 80-68=12, Resulting Numbers: [5, 12] Generated Node #0,3,1: 80:[5, 12] Operation: 80-68=12 Exploring Operation: 5+68=73, Resulting Numbers: [80, 73] Generated Node #0,3,2: 80:[80, 73] Operation: 5+68=73 Exploring Operation: 80/5=16, Resulting Numbers: [68, 16] Generated Node #0,3,3: 80:[68, 16] Operation: 80/5=16 Exploring Operation: 80+5=85, Resulting Numbers: [68, 85] Generated Node #0,3,4: 80:[68, 85] Operation: 80+5=85 Moving to Node #0,3,1 Current State: 80:[5, 12], Operations: ['5+63=68', '80-68=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[80, 73], Operations: ['5+63=68', '5+68=73'] Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[68, 16], Operations: ['5+63=68', '80/5=16'] Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[68, 75], Operations: ['5+63=68', '80-5=75'] Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,80 unequal: No Solution Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[68, 85], Operations: ['5+63=68', '80+5=85'] Exploring Operation: 68*85=5780, Resulting Numbers: [5780] 5780,80 unequal: No Solution Exploring Operation: 68+85=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[80, 63, 10], Operations: ['5+5=10'] Exploring Operation: 80-63=17, Resulting Numbers: [10, 17] Generated Node #0,1,0: 80:[10, 17] Operation: 80-63=17 Exploring Operation: 80/10=8, Resulting Numbers: [63, 8] Generated Node #0,1,1: 80:[63, 8] Operation: 80/10=8 Exploring Operation: 63-10=53, Resulting Numbers: [80, 53] Generated Node #0,1,2: 80:[80, 53] Operation: 63-10=53 Exploring Operation: 80+10=90, Resulting Numbers: [63, 90] Generated Node #0,1,3: 80:[63, 90] Operation: 80+10=90 Exploring Operation: 63+10=73, Resulting Numbers: [80, 73] Generated Node #0,1,4: 80:[80, 73] Operation: 63+10=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[10, 17], Operations: ['5+5=10', '80-63=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,80 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,80 unequal: No Solution No 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: 80:[80, 73], Operations: ['5+5=10', '63+10=73'] Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,80 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,80 unequal: No Solution No 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: 80:[80, 53], Operations: ['5+5=10', '63-10=53'] Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,80 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,80 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,80 unequal: No Solution No 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: 80:[63, 8], Operations: ['5+5=10', '80/10=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,80 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,80 unequal: No Solution No 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: 80:[63, 90], Operations: ['5+5=10', '80+10=90'] Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 80:[63, 5, 16], Operations: ['80/5=16'] Exploring Operation: 63+16=79, Resulting Numbers: [5, 79] Generated Node #0,4,0: 80:[5, 79] Operation: 63+16=79 Exploring Operation: 63+5=68, Resulting Numbers: [16, 68] Generated Node #0,4,1: 80:[16, 68] Operation: 63+5=68 Exploring Operation: 63-16=47, Resulting Numbers: [5, 47] Generated Node #0,4,2: 80:[5, 47] Operation: 63-16=47 Exploring Operation: 63-5=58, Resulting Numbers: [16, 58] Generated Node #0,4,3: 80:[16, 58] Operation: 63-5=58 Exploring Operation: 5*16=80, Resulting Numbers: [63, 80] Generated Node #0,4,4: 80:[63, 80] Operation: 5*16=80 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 80:[5, 79], Operations: ['80/5=16', '63+16=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,80 unequal: No Solution No 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: 80:[5, 47], Operations: ['80/5=16', '63-16=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,80 unequal: No Solution No 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: 80:[16, 68], Operations: ['80/5=16', '63+5=68'] Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,80 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,80 unequal: No Solution No 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: 80:[63, 80], Operations: ['80/5=16', '5*16=80'] Exploring Operation: 63*80=5040, Resulting Numbers: [5040] 5040,80 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 63+80=143, Resulting Numbers: [143] 143,80 unequal: No Solution No 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: 80:[16, 58], Operations: ['80/5=16', '63-5=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,80 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
[ 4, 68, 22, 70 ]
16
[ "68-4=64", "70-22=48", "64-48=16" ]
Current State: 16:[4, 68, 22, 70], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [22, 70, 64] Generated Node #2: [22, 70, 64] from Operation: 68-4=64 Current State: 16:[22, 70, 64], Operations: ['68-4=64'] Exploring Operation: 70-22=48, Resulting Numbers: [64, 48] Generated Node #3: [64, 48] from Operation: 70-22=48 Current State: 16:[64, 48], Operations: ['68-4=64', '70-22=48'] Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[4, 68, 22, 70], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [22, 70, 64] Generated Node #0,0: 16:[22, 70, 64] Operation: 68-4=64 Exploring Operation: 70-68=2, Resulting Numbers: [4, 22, 2] Generated Node #0,1: 16:[4, 22, 2] Operation: 70-68=2 Exploring Operation: 68/4=17, Resulting Numbers: [22, 70, 17] Generated Node #0,2: 16:[22, 70, 17] Operation: 68/4=17 Exploring Operation: 68-22=46, Resulting Numbers: [4, 70, 46] Generated Node #0,3: 16:[4, 70, 46] Operation: 68-22=46 Exploring Operation: 70-22=48, Resulting Numbers: [4, 68, 48] Generated Node #0,4: 16:[4, 68, 48] Operation: 70-22=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[4, 22, 2], Operations: ['70-68=2'] Exploring Operation: 4*2=8, Resulting Numbers: [22, 8] Generated Node #0,1,0: 16:[22, 8] Operation: 4*2=8 Exploring Operation: 22/2=11, Resulting Numbers: [4, 11] Generated Node #0,1,1: 16:[4, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [4, 20] Generated Node #0,1,2: 16:[4, 20] Operation: 22-2=20 Exploring Operation: 22-4=18, Resulting Numbers: [2, 18] Generated Node #0,1,3: 16:[2, 18] Operation: 22-4=18 Exploring Operation: 4-2=2, Resulting Numbers: [22, 2] Generated Node #0,1,4: 16:[22, 2] Operation: 4-2=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 16:[2, 18], Operations: ['70-68=2', '22-4=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[4, 68, 22, 70], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [4, 22, 2] Generated Node #0,1: 16:[4, 22, 2] Operation: 70-68=2 Moving to Node #0,1 Current State: 16:[4, 22, 2], Operations: ['70-68=2'] Exploring Operation: 22-4=18, Resulting Numbers: [2, 18] Generated Node #0,1,3: 16:[2, 18] Operation: 22-4=18 Moving to Node #0,1,3 Current State: 16:[2, 18], Operations: ['70-68=2', '22-4=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 82, 36, 93, 77 ]
95
[ "77-36=41", "82/41=2", "93+2=95" ]
Current State: 95:[82, 36, 93, 77], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [82, 93, 41] Generated Node #2: [82, 93, 41] from Operation: 77-36=41 Current State: 95:[82, 93, 41], Operations: ['77-36=41'] Exploring Operation: 82/41=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 82/41=2 Current State: 95:[93, 2], Operations: ['77-36=41', '82/41=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[82, 36, 93, 77], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [36, 93, 5] Generated Node #0,0: 95:[36, 93, 5] Operation: 82-77=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[36, 93, 5], Operations: ['82-77=5'] Exploring Operation: 36-5=31, Resulting Numbers: [93, 31] Generated Node #0,0,0: 95:[93, 31] Operation: 36-5=31 Moving to Node #0,0,0 Current State: 95:[93, 31], Operations: ['82-77=5', '36-5=31'] Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,95 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
[ 17, 8, 11, 96 ]
18
[ "17-11=6", "96/8=12", "6+12=18" ]
Current State: 18:[17, 8, 11, 96], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [8, 96, 6] Generated Node #2: [8, 96, 6] from Operation: 17-11=6 Current State: 18:[8, 96, 6], Operations: ['17-11=6'] Exploring Operation: 96/8=12, Resulting Numbers: [6, 12] Generated Node #3: [6, 12] from Operation: 96/8=12 Current State: 18:[6, 12], Operations: ['17-11=6', '96/8=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[17, 8, 11, 96], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [17, 11, 12] Generated Node #0,0: 18:[17, 11, 12] Operation: 96/8=12 Exploring Operation: 96-11=85, Resulting Numbers: [17, 8, 85] Generated Node #0,1: 18:[17, 8, 85] Operation: 96-11=85 Exploring Operation: 96-17=79, Resulting Numbers: [8, 11, 79] Generated Node #0,2: 18:[8, 11, 79] Operation: 96-17=79 Exploring Operation: 96-8=88, Resulting Numbers: [17, 11, 88] Generated Node #0,3: 18:[17, 11, 88] Operation: 96-8=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[17, 11, 12], Operations: ['96/8=12'] Exploring Operation: 11+12=23, Resulting Numbers: [17, 23] Generated Node #0,0,0: 18:[17, 23] Operation: 11+12=23 Exploring Operation: 17-12=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 18:[11, 5] Operation: 17-12=5 Exploring Operation: 17-11=6, Resulting Numbers: [12, 6] Generated Node #0,0,2: 18:[12, 6] Operation: 17-11=6 Exploring Operation: 12-11=1, Resulting Numbers: [17, 1] Generated Node #0,0,3: 18:[17, 1] Operation: 12-11=1 Moving to Node #0,0,3 Current State: 18:[17, 1], Operations: ['96/8=12', '12-11=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[17, 8, 11, 96], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [17, 11, 12] Generated Node #0,0: 18:[17, 11, 12] Operation: 96/8=12 Moving to Node #0,0 Current State: 18:[17, 11, 12], Operations: ['96/8=12'] Exploring Operation: 12-11=1, Resulting Numbers: [17, 1] Generated Node #0,0,3: 18:[17, 1] Operation: 12-11=1 Moving to Node #0,0,3 Current State: 18:[17, 1], Operations: ['96/8=12', '12-11=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 13, 18, 6, 65 ]
40
[ "13+18=31", "6+65=71", "71-31=40" ]
Current State: 40:[13, 18, 6, 65], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [6, 65, 31] Generated Node #2: [6, 65, 31] from Operation: 13+18=31 Current State: 40:[6, 65, 31], Operations: ['13+18=31'] Exploring Operation: 6+65=71, Resulting Numbers: [31, 71] Generated Node #3: [31, 71] from Operation: 6+65=71 Current State: 40:[31, 71], Operations: ['13+18=31', '6+65=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[13, 18, 6, 65], Operations: [] Exploring Operation: 65-6=59, Resulting Numbers: [13, 18, 59] Generated Node #0,0: 40:[13, 18, 59] Operation: 65-6=59 Exploring Operation: 65/13=5, Resulting Numbers: [18, 6, 5] Generated Node #0,1: 40:[18, 6, 5] Operation: 65/13=5 Exploring Operation: 65-18=47, Resulting Numbers: [13, 6, 47] Generated Node #0,2: 40:[13, 6, 47] Operation: 65-18=47 Exploring Operation: 18-13=5, Resulting Numbers: [6, 65, 5] Generated Node #0,3: 40:[6, 65, 5] Operation: 18-13=5 Exploring Operation: 65-13=52, Resulting Numbers: [18, 6, 52] Generated Node #0,4: 40:[18, 6, 52] Operation: 65-13=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[18, 6, 5], Operations: ['65/13=5'] Exploring Operation: 18+6=24, Resulting Numbers: [5, 24] Generated Node #0,1,0: 40:[5, 24] Operation: 18+6=24 Exploring Operation: 18/6=3, Resulting Numbers: [5, 3] Generated Node #0,1,1: 40:[5, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [5, 12] Generated Node #0,1,2: 40:[5, 12] Operation: 18-6=12 Exploring Operation: 6-5=1, Resulting Numbers: [18, 1] Generated Node #0,1,3: 40:[18, 1] Operation: 6-5=1 Exploring Operation: 6+5=11, Resulting Numbers: [18, 11] Generated Node #0,1,4: 40:[18, 11] Operation: 6+5=11 Moving to Node #0,1,1 Current State: 40:[5, 3], Operations: ['65/13=5', '18/6=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[5, 12], Operations: ['65/13=5', '18-6=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[18, 1], Operations: ['65/13=5', '6-5=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 Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[18, 11], Operations: ['65/13=5', '6+5=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[5, 24], Operations: ['65/13=5', '18+6=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,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,2 Current State: 40:[13, 6, 47], Operations: ['65-18=47'] Exploring Operation: 6+47=53, Resulting Numbers: [13, 53] Generated Node #0,2,0: 40:[13, 53] Operation: 6+47=53 Exploring Operation: 47-6=41, Resulting Numbers: [13, 41] Generated Node #0,2,1: 40:[13, 41] Operation: 47-6=41 Exploring Operation: 47-13=34, Resulting Numbers: [6, 34] Generated Node #0,2,2: 40:[6, 34] Operation: 47-13=34 Exploring Operation: 13-6=7, Resulting Numbers: [47, 7] Generated Node #0,2,3: 40:[47, 7] Operation: 13-6=7 Exploring Operation: 13+6=19, Resulting Numbers: [47, 19] Generated Node #0,2,4: 40:[47, 19] Operation: 13+6=19 Moving to Node #0,2,1 Current State: 40:[13, 41], Operations: ['65-18=47', '47-6=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[6, 34], Operations: ['65-18=47', '47-13=34'] Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,40 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[13, 18, 6, 65], Operations: [] Exploring Operation: 65-18=47, Resulting Numbers: [13, 6, 47] Generated Node #0,2: 40:[13, 6, 47] Operation: 65-18=47 Moving to Node #0,2 Current State: 40:[13, 6, 47], Operations: ['65-18=47'] Exploring Operation: 47-13=34, Resulting Numbers: [6, 34] Generated Node #0,2,2: 40:[6, 34] Operation: 47-13=34 Moving to Node #0,2,2 Current State: 40:[6, 34], Operations: ['65-18=47', '47-13=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 99, 51, 57, 68 ]
42
[ "68-57=11", "99/11=9", "51-9=42" ]
Current State: 42:[99, 51, 57, 68], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [99, 51, 11] Generated Node #2: [99, 51, 11] from Operation: 68-57=11 Current State: 42:[99, 51, 11], Operations: ['68-57=11'] Exploring Operation: 99/11=9, Resulting Numbers: [51, 9] Generated Node #3: [51, 9] from Operation: 99/11=9 Current State: 42:[51, 9], Operations: ['68-57=11', '99/11=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[99, 51, 57, 68], Operations: [] Exploring Operation: 99-68=31, Resulting Numbers: [51, 57, 31] Generated Node #0,0: 42:[51, 57, 31] Operation: 99-68=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[51, 57, 31], Operations: ['99-68=31'] Exploring Operation: 57-51=6, Resulting Numbers: [31, 6] Generated Node #0,0,0: 42:[31, 6] Operation: 57-51=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[31, 6], Operations: ['99-68=31', '57-51=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,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
[ 70, 89, 60, 4 ]
45
[ "89-70=19", "60+4=64", "64-19=45" ]
Current State: 45:[70, 89, 60, 4], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [60, 4, 19] Generated Node #2: [60, 4, 19] from Operation: 89-70=19 Current State: 45:[60, 4, 19], Operations: ['89-70=19'] Exploring Operation: 60+4=64, Resulting Numbers: [19, 64] Generated Node #3: [19, 64] from Operation: 60+4=64 Current State: 45:[19, 64], Operations: ['89-70=19', '60+4=64'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[70, 89, 60, 4], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [89, 4, 10] Generated Node #0,0: 45:[89, 4, 10] Operation: 70-60=10 Exploring Operation: 89-60=29, Resulting Numbers: [70, 4, 29] Generated Node #0,1: 45:[70, 4, 29] Operation: 89-60=29 Exploring Operation: 89-70=19, Resulting Numbers: [60, 4, 19] Generated Node #0,2: 45:[60, 4, 19] Operation: 89-70=19 Exploring Operation: 60/4=15, Resulting Numbers: [70, 89, 15] Generated Node #0,3: 45:[70, 89, 15] Operation: 60/4=15 Exploring Operation: 70-4=66, Resulting Numbers: [89, 60, 66] Generated Node #0,4: 45:[89, 60, 66] Operation: 70-4=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[60, 4, 19], Operations: ['89-70=19'] Exploring Operation: 60-19=41, Resulting Numbers: [4, 41] Generated Node #0,2,0: 45:[4, 41] Operation: 60-19=41 Exploring Operation: 60-4=56, Resulting Numbers: [19, 56] Generated Node #0,2,1: 45:[19, 56] Operation: 60-4=56 Exploring Operation: 60+4=64, Resulting Numbers: [19, 64] Generated Node #0,2,2: 45:[19, 64] Operation: 60+4=64 Exploring Operation: 19-4=15, Resulting Numbers: [60, 15] Generated Node #0,2,3: 45:[60, 15] Operation: 19-4=15 Exploring Operation: 60/4=15, Resulting Numbers: [19, 15] Generated Node #0,2,4: 45:[19, 15] Operation: 60/4=15 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 45:[19, 15], Operations: ['89-70=19', '60/4=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,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,2,0 Current State: 45:[4, 41], Operations: ['89-70=19', '60-19=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[70, 89, 60, 4], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [60, 4, 19] Generated Node #0,2: 45:[60, 4, 19] Operation: 89-70=19 Moving to Node #0,2 Current State: 45:[60, 4, 19], Operations: ['89-70=19'] Exploring Operation: 60-19=41, Resulting Numbers: [4, 41] Generated Node #0,2,0: 45:[4, 41] Operation: 60-19=41 Moving to Node #0,2,0 Current State: 45:[4, 41], Operations: ['89-70=19', '60-19=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 82, 90, 2, 52 ]
36
[ "90-82=8", "2*8=16", "52-16=36" ]
Current State: 36:[82, 90, 2, 52], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [2, 52, 8] Generated Node #2: [2, 52, 8] from Operation: 90-82=8 Current State: 36:[2, 52, 8], Operations: ['90-82=8'] Exploring Operation: 2*8=16, Resulting Numbers: [52, 16] Generated Node #3: [52, 16] from Operation: 2*8=16 Current State: 36:[52, 16], Operations: ['90-82=8', '2*8=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[82, 90, 2, 52], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [82, 52, 45] Generated Node #0,0: 36:[82, 52, 45] Operation: 90/2=45 Exploring Operation: 82-52=30, Resulting Numbers: [90, 2, 30] Generated Node #0,1: 36:[90, 2, 30] Operation: 82-52=30 Exploring Operation: 90-52=38, Resulting Numbers: [82, 2, 38] Generated Node #0,2: 36:[82, 2, 38] Operation: 90-52=38 Exploring Operation: 90-82=8, Resulting Numbers: [2, 52, 8] Generated Node #0,3: 36:[2, 52, 8] Operation: 90-82=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[2, 52, 8], Operations: ['90-82=8'] Exploring Operation: 52/2=26, Resulting Numbers: [8, 26] Generated Node #0,3,0: 36:[8, 26] Operation: 52/2=26 Exploring Operation: 8-2=6, Resulting Numbers: [52, 6] Generated Node #0,3,1: 36:[52, 6] Operation: 8-2=6 Exploring Operation: 52-8=44, Resulting Numbers: [2, 44] Generated Node #0,3,2: 36:[2, 44] Operation: 52-8=44 Exploring Operation: 52-2=50, Resulting Numbers: [8, 50] Generated Node #0,3,3: 36:[8, 50] Operation: 52-2=50 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 36:[2, 44], Operations: ['90-82=8', '52-8=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,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,3,0 Current State: 36:[8, 26], Operations: ['90-82=8', '52/2=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,36 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,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,3,3 Current State: 36:[8, 50], Operations: ['90-82=8', '52-2=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,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,3,1 Current State: 36:[52, 6], Operations: ['90-82=8', '8-2=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[82, 2, 38], Operations: ['90-52=38'] Exploring Operation: 38-2=36, Resulting Numbers: [82, 36] Generated Node #0,2,0: 36:[82, 36] Operation: 38-2=36 Exploring Operation: 82-38=44, Resulting Numbers: [2, 44] Generated Node #0,2,1: 36:[2, 44] Operation: 82-38=44 Exploring Operation: 82/2=41, Resulting Numbers: [38, 41] Generated Node #0,2,2: 36:[38, 41] Operation: 82/2=41 Exploring Operation: 82-2=80, Resulting Numbers: [38, 80] Generated Node #0,2,3: 36:[38, 80] Operation: 82-2=80 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[38, 41], Operations: ['90-52=38', '82/2=41'] Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,36 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,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,2,1 Current State: 36:[2, 44], Operations: ['90-52=38', '82-38=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,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,2,0 Current State: 36:[82, 36], Operations: ['90-52=38', '38-2=36'] Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,36 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,36 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,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,2,3 Current State: 36:[38, 80], Operations: ['90-52=38', '82-2=80'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,36 unequal: No Solution Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[90, 2, 30], Operations: ['82-52=30'] Exploring Operation: 90/2=45, Resulting Numbers: [30, 45] Generated Node #0,1,0: 36:[30, 45] Operation: 90/2=45 Exploring Operation: 90/30=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 36:[2, 3] Operation: 90/30=3 Exploring Operation: 90-30=60, Resulting Numbers: [2, 60] Generated Node #0,1,2: 36:[2, 60] Operation: 90-30=60 Exploring Operation: 30/2=15, Resulting Numbers: [90, 15] Generated Node #0,1,3: 36:[90, 15] Operation: 30/2=15 Moving to Node #0,1,1 Current State: 36:[2, 3], Operations: ['82-52=30', '90/30=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[30, 45], Operations: ['82-52=30', '90/2=45'] Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,36 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[2, 60], Operations: ['82-52=30', '90-30=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,36 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,36 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[90, 15], Operations: ['82-52=30', '30/2=15'] Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,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:[82, 52, 45], Operations: ['90/2=45'] Exploring Operation: 82-52=30, Resulting Numbers: [45, 30] Generated Node #0,0,0: 36:[45, 30] Operation: 82-52=30 Exploring Operation: 82+52=134, Resulting Numbers: [45, 134] Generated Node #0,0,1: 36:[45, 134] Operation: 82+52=134 Exploring Operation: 82-45=37, Resulting Numbers: [52, 37] Generated Node #0,0,2: 36:[52, 37] Operation: 82-45=37 Exploring Operation: 52-45=7, Resulting Numbers: [82, 7] Generated Node #0,0,3: 36:[82, 7] Operation: 52-45=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[45, 30], Operations: ['90/2=45', '82-52=30'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,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,2 Current State: 36:[52, 37], Operations: ['90/2=45', '82-45=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,36 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,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,3 Current State: 36:[82, 7], Operations: ['90/2=45', '52-45=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,36 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,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,1 Current State: 36:[45, 134], Operations: ['90/2=45', '82+52=134'] Exploring Operation: 45+134=179, Resulting Numbers: [179] 179,36 unequal: No Solution Exploring Operation: 45*134=6030, Resulting Numbers: [6030] 6030,36 unequal: No Solution Exploring Operation: 134-45=89, Resulting Numbers: [89] 89,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_4
sum_heuristic
[ 68, 47, 67, 53 ]
99
[ "68-47=21", "67+53=120", "120-21=99" ]
Current State: 99:[68, 47, 67, 53], Operations: [] Exploring Operation: 68-47=21, Resulting Numbers: [67, 53, 21] Generated Node #2: [67, 53, 21] from Operation: 68-47=21 Current State: 99:[67, 53, 21], Operations: ['68-47=21'] Exploring Operation: 67+53=120, Resulting Numbers: [21, 120] Generated Node #3: [21, 120] from Operation: 67+53=120 Current State: 99:[21, 120], Operations: ['68-47=21', '67+53=120'] Exploring Operation: 120-21=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[68, 47, 67, 53], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [47, 53, 1] Generated Node #0,0: 99:[47, 53, 1] Operation: 68-67=1 Moving to Node #0,0 Current State: 99:[47, 53, 1], Operations: ['68-67=1'] Exploring Operation: 47+53=100, Resulting Numbers: [1, 100] Generated Node #0,0,0: 99:[1, 100] Operation: 47+53=100 Moving to Node #0,0,0 Current State: 99:[1, 100], Operations: ['68-67=1', '47+53=100'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[68, 47, 67, 53], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [47, 53, 1] Generated Node #0,0: 99:[47, 53, 1] Operation: 68-67=1 Moving to Node #0,0 Current State: 99:[47, 53, 1], Operations: ['68-67=1'] Exploring Operation: 47+53=100, Resulting Numbers: [1, 100] Generated Node #0,0,0: 99:[1, 100] Operation: 47+53=100 Moving to Node #0,0,0 Current State: 99:[1, 100], Operations: ['68-67=1', '47+53=100'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 62, 20, 52, 30 ]
76
[ "62+52=114", "20*114=2280", "2280/30=76" ]
Current State: 76:[62, 20, 52, 30], Operations: [] Exploring Operation: 62+52=114, Resulting Numbers: [20, 30, 114] Generated Node #2: [20, 30, 114] from Operation: 62+52=114 Current State: 76:[20, 30, 114], Operations: ['62+52=114'] Exploring Operation: 20*114=2280, Resulting Numbers: [30, 2280] Generated Node #3: [30, 2280] from Operation: 20*114=2280 Current State: 76:[30, 2280], Operations: ['62+52=114', '20*114=2280'] Exploring Operation: 2280/30=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[62, 20, 52, 30], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [20, 30, 10] Generated Node #0,0: 76:[20, 30, 10] Operation: 62-52=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[20, 30, 10], Operations: ['62-52=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 76:[20, 20] Operation: 30-10=20 Moving to Node #0,0,0 Current State: 76:[20, 20], Operations: ['62-52=10', '30-10=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 88, 3, 31 ]
25
[ "3*31=93", "93-88=5", "5*5=25" ]
Current State: 25:[5, 88, 3, 31], Operations: [] Exploring Operation: 3*31=93, Resulting Numbers: [5, 88, 93] Generated Node #2: [5, 88, 93] from Operation: 3*31=93 Current State: 25:[5, 88, 93], Operations: ['3*31=93'] Exploring Operation: 93-88=5, Resulting Numbers: [5, 5] Generated Node #3: [5, 5] from Operation: 93-88=5 Current State: 25:[5, 5], Operations: ['3*31=93', '93-88=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 88, 3, 31], Operations: [] Exploring Operation: 31-3=28, Resulting Numbers: [5, 88, 28] Generated Node #0,0: 25:[5, 88, 28] Operation: 31-3=28 Exploring Operation: 88-5=83, Resulting Numbers: [3, 31, 83] Generated Node #0,1: 25:[3, 31, 83] Operation: 88-5=83 Exploring Operation: 88-3=85, Resulting Numbers: [5, 31, 85] Generated Node #0,2: 25:[5, 31, 85] Operation: 88-3=85 Exploring Operation: 31-5=26, Resulting Numbers: [88, 3, 26] Generated Node #0,3: 25:[88, 3, 26] Operation: 31-5=26 Exploring Operation: 88-31=57, Resulting Numbers: [5, 3, 57] Generated Node #0,4: 25:[5, 3, 57] Operation: 88-31=57 Moving to Node #0,4 Current State: 25:[5, 3, 57], Operations: ['88-31=57'] Exploring Operation: 5+3=8, Resulting Numbers: [57, 8] Generated Node #0,4,0: 25:[57, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [57, 2] Generated Node #0,4,1: 25:[57, 2] Operation: 5-3=2 Exploring Operation: 57-5=52, Resulting Numbers: [3, 52] Generated Node #0,4,2: 25:[3, 52] Operation: 57-5=52 Exploring Operation: 57-3=54, Resulting Numbers: [5, 54] Generated Node #0,4,3: 25:[5, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [5, 19] Generated Node #0,4,4: 25:[5, 19] Operation: 57/3=19 Moving to Node #0,1 Current State: 25:[3, 31, 83], Operations: ['88-5=83'] Exploring Operation: 3+83=86, Resulting Numbers: [31, 86] Generated Node #0,1,0: 25:[31, 86] Operation: 3+83=86 Exploring Operation: 83-31=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 25:[3, 52] Operation: 83-31=52 Exploring Operation: 83-3=80, Resulting Numbers: [31, 80] Generated Node #0,1,2: 25:[31, 80] Operation: 83-3=80 Exploring Operation: 3+31=34, Resulting Numbers: [83, 34] Generated Node #0,1,3: 25:[83, 34] Operation: 3+31=34 Exploring Operation: 31-3=28, Resulting Numbers: [83, 28] Generated Node #0,1,4: 25:[83, 28] Operation: 31-3=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[3, 52], Operations: ['88-5=83', '83-31=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,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,2 Current State: 25:[31, 80], Operations: ['88-5=83', '83-3=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,25 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,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,4 Current State: 25:[83, 28], Operations: ['88-5=83', '31-3=28'] Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,25 unequal: No Solution Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,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:[31, 86], Operations: ['88-5=83', '3+83=86'] Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,25 unequal: No Solution Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,25 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,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,3 Current State: 25:[83, 34], Operations: ['88-5=83', '3+31=34'] Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,25 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,25 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: 25:[88, 3, 26], Operations: ['31-5=26'] Exploring Operation: 3+26=29, Resulting Numbers: [88, 29] Generated Node #0,3,0: 25:[88, 29] Operation: 3+26=29 Exploring Operation: 88-3=85, Resulting Numbers: [26, 85] Generated Node #0,3,1: 25:[26, 85] Operation: 88-3=85 Exploring Operation: 88+3=91, Resulting Numbers: [26, 91] Generated Node #0,3,2: 25:[26, 91] Operation: 88+3=91 Exploring Operation: 88-26=62, Resulting Numbers: [3, 62] Generated Node #0,3,3: 25:[3, 62] Operation: 88-26=62 Exploring Operation: 26-3=23, Resulting Numbers: [88, 23] Generated Node #0,3,4: 25:[88, 23] Operation: 26-3=23 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[3, 62], Operations: ['31-5=26', '88-26=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,25 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[26, 85], Operations: ['31-5=26', '88-3=85'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[88, 23], Operations: ['31-5=26', '26-3=23'] Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,25 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[88, 29], Operations: ['31-5=26', '3+26=29'] Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,25 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[26, 91], Operations: ['31-5=26', '88+3=91'] Exploring Operation: 26*91=2366, Resulting Numbers: [2366] 2366,25 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 26+91=117, Resulting Numbers: [117] 117,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[5, 88, 28], Operations: ['31-3=28'] Exploring Operation: 5+88=93, Resulting Numbers: [28, 93] Generated Node #0,0,0: 25:[28, 93] Operation: 5+88=93 Exploring Operation: 5+28=33, Resulting Numbers: [88, 33] Generated Node #0,0,1: 25:[88, 33] Operation: 5+28=33 Exploring Operation: 28-5=23, Resulting Numbers: [88, 23] Generated Node #0,0,2: 25:[88, 23] Operation: 28-5=23 Exploring Operation: 88-28=60, Resulting Numbers: [5, 60] Generated Node #0,0,3: 25:[5, 60] Operation: 88-28=60 Exploring Operation: 88-5=83, Resulting Numbers: [28, 83] Generated Node #0,0,4: 25:[28, 83] Operation: 88-5=83 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[5, 60], Operations: ['31-3=28', '88-28=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 5*60=300, Resulting Numbers: [300] 300,25 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,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,0,4 Current State: 25:[28, 83], Operations: ['31-3=28', '88-5=83'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 28*83=2324, Resulting Numbers: [2324] 2324,25 unequal: No Solution Exploring Operation: 28+83=111, Resulting Numbers: [111] 111,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,0,2 Current State: 25:[88, 23], Operations: ['31-3=28', '28-5=23'] Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,25 unequal: No Solution Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,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,0,0 Current State: 25:[28, 93], Operations: ['31-3=28', '5+88=93'] Exploring Operation: 28*93=2604, Resulting Numbers: [2604] 2604,25 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 28+93=121, Resulting Numbers: [121] 121,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,0,1 Current State: 25:[88, 33], Operations: ['31-3=28', '5+28=33'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,25 unequal: No Solution Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,25 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: 25:[5, 31, 85], Operations: ['88-3=85'] Exploring Operation: 85/5=17, Resulting Numbers: [31, 17] Generated Node #0,2,0: 25:[31, 17] Operation: 85/5=17 Exploring Operation: 31-5=26, Resulting Numbers: [85, 26] Generated Node #0,2,1: 25:[85, 26] Operation: 31-5=26 Exploring Operation: 85-5=80, Resulting Numbers: [31, 80] Generated Node #0,2,2: 25:[31, 80] Operation: 85-5=80 Exploring Operation: 5+31=36, Resulting Numbers: [85, 36] Generated Node #0,2,3: 25:[85, 36] Operation: 5+31=36 Exploring Operation: 85-31=54, Resulting Numbers: [5, 54] Generated Node #0,2,4: 25:[5, 54] Operation: 85-31=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[31, 17], Operations: ['88-3=85', '85/5=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,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,4 Current State: 25:[5, 54], Operations: ['88-3=85', '85-31=54'] Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,25 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,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:[85, 26], Operations: ['88-3=85', '31-5=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,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,2 Current State: 25:[31, 80], Operations: ['88-3=85', '85-5=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,25 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,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:[85, 36], Operations: ['88-3=85', '5+31=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,25 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,25 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 25:[5, 19], Operations: ['88-31=57', '57/3=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,25 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[5, 54], Operations: ['88-31=57', '57-3=54'] Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,25 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[3, 52], Operations: ['88-31=57', '57-5=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,25 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[57, 8], Operations: ['88-31=57', '5+3=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,25 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[57, 2], Operations: ['88-31=57', '5-3=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 36, 94, 62, 49 ]
19
[ "36+94=130", "62+49=111", "130-111=19" ]
Current State: 19:[36, 94, 62, 49], Operations: [] Exploring Operation: 36+94=130, Resulting Numbers: [62, 49, 130] Generated Node #2: [62, 49, 130] from Operation: 36+94=130 Current State: 19:[62, 49, 130], Operations: ['36+94=130'] Exploring Operation: 62+49=111, Resulting Numbers: [130, 111] Generated Node #3: [130, 111] from Operation: 62+49=111 Current State: 19:[130, 111], Operations: ['36+94=130', '62+49=111'] Exploring Operation: 130-111=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 94, 62, 49], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [36, 49, 32] Generated Node #0,0: 19:[36, 49, 32] Operation: 94-62=32 Exploring Operation: 94-49=45, Resulting Numbers: [36, 62, 45] Generated Node #0,1: 19:[36, 62, 45] Operation: 94-49=45 Exploring Operation: 94-36=58, Resulting Numbers: [62, 49, 58] Generated Node #0,2: 19:[62, 49, 58] Operation: 94-36=58 Exploring Operation: 62-49=13, Resulting Numbers: [36, 94, 13] Generated Node #0,3: 19:[36, 94, 13] Operation: 62-49=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[36, 49, 32], Operations: ['94-62=32'] Exploring Operation: 49-36=13, Resulting Numbers: [32, 13] Generated Node #0,0,0: 19:[32, 13] Operation: 49-36=13 Exploring Operation: 49-32=17, Resulting Numbers: [36, 17] Generated Node #0,0,1: 19:[36, 17] Operation: 49-32=17 Exploring Operation: 36+49=85, Resulting Numbers: [32, 85] Generated Node #0,0,2: 19:[32, 85] Operation: 36+49=85 Exploring Operation: 36-32=4, Resulting Numbers: [49, 4] Generated Node #0,0,3: 19:[49, 4] Operation: 36-32=4 Moving to Node #0,0,0 Current State: 19:[32, 13], Operations: ['94-62=32', '49-36=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[36, 94, 62, 49], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [36, 49, 32] Generated Node #0,0: 19:[36, 49, 32] Operation: 94-62=32 Moving to Node #0,0 Current State: 19:[36, 49, 32], Operations: ['94-62=32'] Exploring Operation: 49-36=13, Resulting Numbers: [32, 13] Generated Node #0,0,0: 19:[32, 13] Operation: 49-36=13 Moving to Node #0,0,0 Current State: 19:[32, 13], Operations: ['94-62=32', '49-36=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 55, 44, 40, 5 ]
95
[ "55-44=11", "5*11=55", "40+55=95" ]
Current State: 95:[55, 44, 40, 5], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [40, 5, 11] Generated Node #2: [40, 5, 11] from Operation: 55-44=11 Current State: 95:[40, 5, 11], Operations: ['55-44=11'] Exploring Operation: 5*11=55, Resulting Numbers: [40, 55] Generated Node #3: [40, 55] from Operation: 5*11=55 Current State: 95:[40, 55], Operations: ['55-44=11', '5*11=55'] Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[55, 44, 40, 5], Operations: [] Exploring Operation: 55+40=95, Resulting Numbers: [44, 5, 95] Generated Node #0,0: 95:[44, 5, 95] Operation: 55+40=95 Exploring Operation: 55-40=15, Resulting Numbers: [44, 5, 15] Generated Node #0,1: 95:[44, 5, 15] Operation: 55-40=15 Exploring Operation: 55-44=11, Resulting Numbers: [40, 5, 11] Generated Node #0,2: 95:[40, 5, 11] Operation: 55-44=11 Exploring Operation: 44-40=4, Resulting Numbers: [55, 5, 4] Generated Node #0,3: 95:[55, 5, 4] Operation: 44-40=4 Exploring Operation: 55+44=99, Resulting Numbers: [40, 5, 99] Generated Node #0,4: 95:[40, 5, 99] Operation: 55+44=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[44, 5, 95], Operations: ['55+40=95'] Exploring Operation: 44-5=39, Resulting Numbers: [95, 39] Generated Node #0,0,0: 95:[95, 39] Operation: 44-5=39 Exploring Operation: 95/5=19, Resulting Numbers: [44, 19] Generated Node #0,0,1: 95:[44, 19] Operation: 95/5=19 Exploring Operation: 44+5=49, Resulting Numbers: [95, 49] Generated Node #0,0,2: 95:[95, 49] Operation: 44+5=49 Exploring Operation: 5+95=100, Resulting Numbers: [44, 100] Generated Node #0,0,3: 95:[44, 100] Operation: 5+95=100 Exploring Operation: 95-5=90, Resulting Numbers: [44, 90] Generated Node #0,0,4: 95:[44, 90] Operation: 95-5=90 Moving to Node #0,0,0 Current State: 95:[95, 39], Operations: ['55+40=95', '44-5=39'] Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 95*39=3705, Resulting Numbers: [3705] 3705,95 unequal: No Solution Exploring Operation: 95+39=134, Resulting Numbers: [134] 134,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[44, 19], Operations: ['55+40=95', '95/5=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[95, 49], Operations: ['55+40=95', '44+5=49'] Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 95*49=4655, Resulting Numbers: [4655] 4655,95 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[44, 100], Operations: ['55+40=95', '5+95=100'] Exploring Operation: 44*100=4400, Resulting Numbers: [4400] 4400,95 unequal: No Solution Exploring Operation: 44+100=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 100-44=56, Resulting Numbers: [56] 56,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[44, 90], Operations: ['55+40=95', '95-5=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,95 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,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,4 Current State: 95:[40, 5, 99], Operations: ['55+44=99'] Exploring Operation: 40/5=8, Resulting Numbers: [99, 8] Generated Node #0,4,0: 95:[99, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [99, 35] Generated Node #0,4,1: 95:[99, 35] Operation: 40-5=35 Exploring Operation: 5+99=104, Resulting Numbers: [40, 104] Generated Node #0,4,2: 95:[40, 104] Operation: 5+99=104 Exploring Operation: 40+5=45, Resulting Numbers: [99, 45] Generated Node #0,4,3: 95:[99, 45] Operation: 40+5=45 Exploring Operation: 99-5=94, Resulting Numbers: [40, 94] Generated Node #0,4,4: 95:[40, 94] Operation: 99-5=94 Moving to Node #0,4,0 Current State: 95:[99, 8], Operations: ['55+44=99', '40/5=8'] Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,95 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[99, 35], Operations: ['55+44=99', '40-5=35'] Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,95 unequal: No Solution Exploring Operation: 99*35=3465, Resulting Numbers: [3465] 3465,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[40, 94], Operations: ['55+44=99', '99-5=94'] Exploring Operation: 40*94=3760, Resulting Numbers: [3760] 3760,95 unequal: No Solution Exploring Operation: 40+94=134, Resulting Numbers: [134] 134,95 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[40, 104], Operations: ['55+44=99', '5+99=104'] Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 40+104=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 40*104=4160, Resulting Numbers: [4160] 4160,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[99, 45], Operations: ['55+44=99', '40+5=45'] Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,95 unequal: No Solution Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,95 unequal: No Solution Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,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 Current State: 95:[40, 5, 11], Operations: ['55-44=11'] Exploring Operation: 40-5=35, Resulting Numbers: [11, 35] Generated Node #0,2,0: 95:[11, 35] Operation: 40-5=35 Exploring Operation: 5+11=16, Resulting Numbers: [40, 16] Generated Node #0,2,1: 95:[40, 16] Operation: 5+11=16 Exploring Operation: 11-5=6, Resulting Numbers: [40, 6] Generated Node #0,2,2: 95:[40, 6] Operation: 11-5=6 Exploring Operation: 40-11=29, Resulting Numbers: [5, 29] Generated Node #0,2,3: 95:[5, 29] Operation: 40-11=29 Exploring Operation: 40/5=8, Resulting Numbers: [11, 8] Generated Node #0,2,4: 95:[11, 8] Operation: 40/5=8 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 95:[11, 8], Operations: ['55-44=11', '40/5=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 95:[5, 29], Operations: ['55-44=11', '40-11=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[11, 35], Operations: ['55-44=11', '40-5=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,95 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[40, 6], Operations: ['55-44=11', '11-5=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,95 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[40, 16], Operations: ['55-44=11', '5+11=16'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,95 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: 95:[44, 5, 15], Operations: ['55-40=15'] Exploring Operation: 44-5=39, Resulting Numbers: [15, 39] Generated Node #0,1,0: 95:[15, 39] Operation: 44-5=39 Exploring Operation: 15-5=10, Resulting Numbers: [44, 10] Generated Node #0,1,1: 95:[44, 10] Operation: 15-5=10 Exploring Operation: 5+15=20, Resulting Numbers: [44, 20] Generated Node #0,1,2: 95:[44, 20] Operation: 5+15=20 Exploring Operation: 15/5=3, Resulting Numbers: [44, 3] Generated Node #0,1,3: 95:[44, 3] Operation: 15/5=3 Exploring Operation: 44-15=29, Resulting Numbers: [5, 29] Generated Node #0,1,4: 95:[5, 29] Operation: 44-15=29 Moving to Node #0,1,4 Current State: 95:[5, 29], Operations: ['55-40=15', '44-15=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,95 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[15, 39], Operations: ['55-40=15', '44-5=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,95 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[44, 20], Operations: ['55-40=15', '5+15=20'] Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,95 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[44, 3], Operations: ['55-40=15', '15/5=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,95 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[44, 10], Operations: ['55-40=15', '15-5=10'] Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,95 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,95 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[55, 5, 4], Operations: ['44-40=4'] Exploring Operation: 55/5=11, Resulting Numbers: [4, 11] Generated Node #0,3,0: 95:[4, 11] Operation: 55/5=11 Exploring Operation: 55-5=50, Resulting Numbers: [4, 50] Generated Node #0,3,1: 95:[4, 50] Operation: 55-5=50 Exploring Operation: 55+4=59, Resulting Numbers: [5, 59] Generated Node #0,3,2: 95:[5, 59] Operation: 55+4=59 Exploring Operation: 55+5=60, Resulting Numbers: [4, 60] Generated Node #0,3,3: 95:[4, 60] Operation: 55+5=60 Exploring Operation: 55-4=51, Resulting Numbers: [5, 51] Generated Node #0,3,4: 95:[5, 51] Operation: 55-4=51 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 95:[4, 11], Operations: ['44-40=4', '55/5=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 95:[4, 50], Operations: ['44-40=4', '55-5=50'] Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,95 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 95:[5, 51], Operations: ['44-40=4', '55-4=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,95 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 95:[5, 59], Operations: ['44-40=4', '55+4=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,95 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 95:[4, 60], Operations: ['44-40=4', '55+5=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,95 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,95 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
[ 81, 10, 92, 63 ]
64
[ "81+10=91", "92+63=155", "155-91=64" ]
Current State: 64:[81, 10, 92, 63], Operations: [] Exploring Operation: 81+10=91, Resulting Numbers: [92, 63, 91] Generated Node #2: [92, 63, 91] from Operation: 81+10=91 Current State: 64:[92, 63, 91], Operations: ['81+10=91'] Exploring Operation: 92+63=155, Resulting Numbers: [91, 155] Generated Node #3: [91, 155] from Operation: 92+63=155 Current State: 64:[91, 155], Operations: ['81+10=91', '92+63=155'] Exploring Operation: 155-91=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[81, 10, 92, 63], Operations: [] Exploring Operation: 81-10=71, Resulting Numbers: [92, 63, 71] Generated Node #0,0: 64:[92, 63, 71] Operation: 81-10=71 Exploring Operation: 92-81=11, Resulting Numbers: [10, 63, 11] Generated Node #0,1: 64:[10, 63, 11] Operation: 92-81=11 Exploring Operation: 81-63=18, Resulting Numbers: [10, 92, 18] Generated Node #0,2: 64:[10, 92, 18] Operation: 81-63=18 Exploring Operation: 92-63=29, Resulting Numbers: [81, 10, 29] Generated Node #0,3: 64:[81, 10, 29] Operation: 92-63=29 Moving to Node #0,1 Current State: 64:[10, 63, 11], Operations: ['92-81=11'] Exploring Operation: 10+11=21, Resulting Numbers: [63, 21] Generated Node #0,1,0: 64:[63, 21] Operation: 10+11=21 Exploring Operation: 11-10=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 64:[63, 1] Operation: 11-10=1 Exploring Operation: 10+63=73, Resulting Numbers: [11, 73] Generated Node #0,1,2: 64:[11, 73] Operation: 10+63=73 Exploring Operation: 63+11=74, Resulting Numbers: [10, 74] Generated Node #0,1,3: 64:[10, 74] Operation: 63+11=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[63, 1], Operations: ['92-81=11', '11-10=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[81, 10, 92, 63], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [10, 63, 11] Generated Node #0,1: 64:[10, 63, 11] Operation: 92-81=11 Moving to Node #0,1 Current State: 64:[10, 63, 11], Operations: ['92-81=11'] Exploring Operation: 11-10=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 64:[63, 1] Operation: 11-10=1 Moving to Node #0,1,1 Current State: 64:[63, 1], Operations: ['92-81=11', '11-10=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 39, 12, 23, 92 ]
31
[ "39-12=27", "92/23=4", "27+4=31" ]
Current State: 31:[39, 12, 23, 92], Operations: [] Exploring Operation: 39-12=27, Resulting Numbers: [23, 92, 27] Generated Node #2: [23, 92, 27] from Operation: 39-12=27 Current State: 31:[23, 92, 27], Operations: ['39-12=27'] Exploring Operation: 92/23=4, Resulting Numbers: [27, 4] Generated Node #3: [27, 4] from Operation: 92/23=4 Current State: 31:[27, 4], Operations: ['39-12=27', '92/23=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[39, 12, 23, 92], Operations: [] Exploring Operation: 92-39=53, Resulting Numbers: [12, 23, 53] Generated Node #0,0: 31:[12, 23, 53] Operation: 92-39=53 Moving to Node #0,0 Current State: 31:[12, 23, 53], Operations: ['92-39=53'] Exploring Operation: 53-12=41, Resulting Numbers: [23, 41] Generated Node #0,0,0: 31:[23, 41] Operation: 53-12=41 Moving to Node #0,0,0 Current State: 31:[23, 41], Operations: ['92-39=53', '53-12=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 14, 26, 22, 24 ]
66
[ "24-22=2", "26*2=52", "14+52=66" ]
Current State: 66:[14, 26, 22, 24], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [14, 26, 2] Generated Node #2: [14, 26, 2] from Operation: 24-22=2 Current State: 66:[14, 26, 2], Operations: ['24-22=2'] Exploring Operation: 26*2=52, Resulting Numbers: [14, 52] Generated Node #3: [14, 52] from Operation: 26*2=52 Current State: 66:[14, 52], Operations: ['24-22=2', '26*2=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[14, 26, 22, 24], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [22, 24, 12] Generated Node #0,0: 66:[22, 24, 12] Operation: 26-14=12 Exploring Operation: 26-24=2, Resulting Numbers: [14, 22, 2] Generated Node #0,1: 66:[14, 22, 2] Operation: 26-24=2 Moving to Node #0,0 Current State: 66:[22, 24, 12], Operations: ['26-14=12'] Exploring Operation: 24-22=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 66:[12, 2] Operation: 24-22=2 Exploring Operation: 24/12=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 66:[22, 2] Operation: 24/12=2 Moving to Node #0,1 Current State: 66:[14, 22, 2], Operations: ['26-24=2'] Exploring Operation: 14-2=12, Resulting Numbers: [22, 12] Generated Node #0,1,0: 66:[22, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 66:[22, 7] Operation: 14/2=7 Moving to Node #0,0,1 Current State: 66:[22, 2], Operations: ['26-14=12', '24/12=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[22, 12], Operations: ['26-24=2', '14-2=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[12, 2], Operations: ['26-14=12', '24-22=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[22, 7], Operations: ['26-24=2', '14/2=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 10, 44, 38, 83 ]
99
[ "10+44=54", "83-38=45", "54+45=99" ]
Current State: 99:[10, 44, 38, 83], Operations: [] Exploring Operation: 10+44=54, Resulting Numbers: [38, 83, 54] Generated Node #2: [38, 83, 54] from Operation: 10+44=54 Current State: 99:[38, 83, 54], Operations: ['10+44=54'] Exploring Operation: 83-38=45, Resulting Numbers: [54, 45] Generated Node #3: [54, 45] from Operation: 83-38=45 Current State: 99:[54, 45], Operations: ['10+44=54', '83-38=45'] Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[10, 44, 38, 83], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [10, 83, 6] Generated Node #0,0: 99:[10, 83, 6] Operation: 44-38=6 Exploring Operation: 83-44=39, Resulting Numbers: [10, 38, 39] Generated Node #0,1: 99:[10, 38, 39] Operation: 83-44=39 Moving to Node #0,1 Current State: 99:[10, 38, 39], Operations: ['83-44=39'] Exploring Operation: 39-38=1, Resulting Numbers: [10, 1] Generated Node #0,1,0: 99:[10, 1] Operation: 39-38=1 Exploring Operation: 39-10=29, Resulting Numbers: [38, 29] Generated Node #0,1,1: 99:[38, 29] Operation: 39-10=29 Moving to Node #0,0 Current State: 99:[10, 83, 6], Operations: ['44-38=6'] Exploring Operation: 83+6=89, Resulting Numbers: [10, 89] Generated Node #0,0,0: 99:[10, 89] Operation: 83+6=89 Exploring Operation: 10+83=93, Resulting Numbers: [6, 93] Generated Node #0,0,1: 99:[6, 93] Operation: 10+83=93 Moving to Node #0,1,0 Current State: 99:[10, 1], Operations: ['83-44=39', '39-38=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[6, 93], Operations: ['44-38=6', '10+83=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,99 unequal: No Solution Exploring Operation: 6+93=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[10, 44, 38, 83], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [10, 83, 6] Generated Node #0,0: 99:[10, 83, 6] Operation: 44-38=6 Moving to Node #0,0 Current State: 99:[10, 83, 6], Operations: ['44-38=6'] Exploring Operation: 10+83=93, Resulting Numbers: [6, 93] Generated Node #0,0,1: 99:[6, 93] Operation: 10+83=93 Moving to Node #0,0,1 Current State: 99:[6, 93], Operations: ['44-38=6', '10+83=93'] Exploring Operation: 6+93=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.987847
hs_2
mult_heuristic
[ 22, 9, 22, 90 ]
80
[ "22/22=1", "90-9=81", "81-1=80" ]
Current State: 80:[22, 9, 22, 90], Operations: [] Exploring Operation: 22/22=1, Resulting Numbers: [9, 90, 1] Generated Node #2: [9, 90, 1] from Operation: 22/22=1 Current State: 80:[9, 90, 1], Operations: ['22/22=1'] Exploring Operation: 90-9=81, Resulting Numbers: [1, 81] Generated Node #3: [1, 81] from Operation: 90-9=81 Current State: 80:[1, 81], Operations: ['22/22=1', '90-9=81'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[22, 9, 22, 90], Operations: [] Exploring Operation: 90-9=81, Resulting Numbers: [22, 22, 81] Generated Node #0,0: 80:[22, 22, 81] Operation: 90-9=81 Exploring Operation: 22/22=1, Resulting Numbers: [9, 90, 1] Generated Node #0,1: 80:[9, 90, 1] Operation: 22/22=1 Exploring Operation: 90/9=10, Resulting Numbers: [22, 22, 10] Generated Node #0,2: 80:[22, 22, 10] Operation: 90/9=10 Moving to Node #0,2 Current State: 80:[22, 22, 10], Operations: ['90/9=10'] Exploring Operation: 22+22=44, Resulting Numbers: [10, 44] Generated Node #0,2,0: 80:[10, 44] Operation: 22+22=44 Exploring Operation: 22-22=0, Resulting Numbers: [10, 0] Generated Node #0,2,1: 80:[10, 0] Operation: 22-22=0 Exploring Operation: 22/22=1, Resulting Numbers: [10, 1] Generated Node #0,2,2: 80:[10, 1] Operation: 22/22=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[10, 1], Operations: ['90/9=10', '22/22=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[10, 0], Operations: ['90/9=10', '22-22=0'] Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[10, 44], Operations: ['90/9=10', '22+22=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,80 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: 80:[22, 22, 81], Operations: ['90-9=81'] Exploring Operation: 22/22=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 80:[81, 1] Operation: 22/22=1 Exploring Operation: 22-22=0, Resulting Numbers: [81, 0] Generated Node #0,0,1: 80:[81, 0] Operation: 22-22=0 Exploring Operation: 22+22=44, Resulting Numbers: [81, 44] Generated Node #0,0,2: 80:[81, 44] Operation: 22+22=44 Moving to Node #0,1 Current State: 80:[9, 90, 1], Operations: ['22/22=1'] Exploring Operation: 90/9=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 80:[1, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [1, 81] Generated Node #0,1,1: 80:[1, 81] Operation: 90-9=81 Exploring Operation: 9+1=10, Resulting Numbers: [90, 10] Generated Node #0,1,2: 80:[90, 10] Operation: 9+1=10 Moving to Node #0,1,0 Current State: 80:[1, 10], Operations: ['22/22=1', '90/9=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[81, 1], Operations: ['90-9=81', '22/22=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[22, 9, 22, 90], Operations: [] Exploring Operation: 90-9=81, Resulting Numbers: [22, 22, 81] Generated Node #0,0: 80:[22, 22, 81] Operation: 90-9=81 Moving to Node #0,0 Current State: 80:[22, 22, 81], Operations: ['90-9=81'] Exploring Operation: 22/22=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 80:[81, 1] Operation: 22/22=1 Moving to Node #0,0,0 Current State: 80:[81, 1], Operations: ['90-9=81', '22/22=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 13, 4, 39, 14 ]
43
[ "14-13=1", "4+39=43", "1*43=43" ]
Current State: 43:[13, 4, 39, 14], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [4, 39, 1] Generated Node #2: [4, 39, 1] from Operation: 14-13=1 Current State: 43:[4, 39, 1], Operations: ['14-13=1'] Exploring Operation: 4+39=43, Resulting Numbers: [1, 43] Generated Node #3: [1, 43] from Operation: 4+39=43 Current State: 43:[1, 43], Operations: ['14-13=1', '4+39=43'] Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[13, 4, 39, 14], Operations: [] Exploring Operation: 13*4=52, Resulting Numbers: [39, 14, 52] Generated Node #0,0: 43:[39, 14, 52] Operation: 13*4=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[39, 14, 52], Operations: ['13*4=52'] Exploring Operation: 52-14=38, Resulting Numbers: [39, 38] Generated Node #0,0,0: 43:[39, 38] Operation: 52-14=38 Moving to Node #0,0,0 Current State: 43:[39, 38], Operations: ['13*4=52', '52-14=38'] Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 26, 35, 8, 1 ]
54
[ "26+35=61", "8-1=7", "61-7=54" ]
Current State: 54:[26, 35, 8, 1], Operations: [] Exploring Operation: 26+35=61, Resulting Numbers: [8, 1, 61] Generated Node #2: [8, 1, 61] from Operation: 26+35=61 Current State: 54:[8, 1, 61], Operations: ['26+35=61'] Exploring Operation: 8-1=7, Resulting Numbers: [61, 7] Generated Node #3: [61, 7] from Operation: 8-1=7 Current State: 54:[61, 7], Operations: ['26+35=61', '8-1=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[26, 35, 8, 1], Operations: [] Exploring Operation: 35-26=9, Resulting Numbers: [8, 1, 9] Generated Node #0,0: 54:[8, 1, 9] Operation: 35-26=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[8, 1, 9], Operations: ['35-26=9'] Exploring Operation: 8+1=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 54:[9, 9] Operation: 8+1=9 Moving to Node #0,0,0 Current State: 54:[9, 9], Operations: ['35-26=9', '8+1=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 27, 25, 69 ]
40
[ "81-27=54", "25+69=94", "94-54=40" ]
Current State: 40:[81, 27, 25, 69], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [25, 69, 54] Generated Node #2: [25, 69, 54] from Operation: 81-27=54 Current State: 40:[25, 69, 54], Operations: ['81-27=54'] Exploring Operation: 25+69=94, Resulting Numbers: [54, 94] Generated Node #3: [54, 94] from Operation: 25+69=94 Current State: 40:[54, 94], Operations: ['81-27=54', '25+69=94'] Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[81, 27, 25, 69], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [27, 25, 12] Generated Node #0,0: 40:[27, 25, 12] Operation: 81-69=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[27, 25, 12], Operations: ['81-69=12'] Exploring Operation: 27-25=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 40:[12, 2] Operation: 27-25=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[12, 2], Operations: ['81-69=12', '27-25=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,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 No solution found.
0
hs_1
mult_heuristic
[ 6, 41, 8, 36 ]
27
[ "36/6=6", "41-8=33", "33-6=27" ]
Current State: 27:[6, 41, 8, 36], Operations: [] Exploring Operation: 36/6=6, Resulting Numbers: [41, 8, 6] Generated Node #2: [41, 8, 6] from Operation: 36/6=6 Current State: 27:[41, 8, 6], Operations: ['36/6=6'] Exploring Operation: 41-8=33, Resulting Numbers: [6, 33] Generated Node #3: [6, 33] from Operation: 41-8=33 Current State: 27:[6, 33], Operations: ['36/6=6', '41-8=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[6, 41, 8, 36], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [6, 8, 5] Generated Node #0,0: 27:[6, 8, 5] Operation: 41-36=5 Exploring Operation: 41-8=33, Resulting Numbers: [6, 36, 33] Generated Node #0,1: 27:[6, 36, 33] Operation: 41-8=33 Exploring Operation: 36-6=30, Resulting Numbers: [41, 8, 30] Generated Node #0,2: 27:[41, 8, 30] Operation: 36-6=30 Exploring Operation: 41-6=35, Resulting Numbers: [8, 36, 35] Generated Node #0,3: 27:[8, 36, 35] Operation: 41-6=35 Exploring Operation: 36/6=6, Resulting Numbers: [41, 8, 6] Generated Node #0,4: 27:[41, 8, 6] Operation: 36/6=6 Moving to Node #0,0 Current State: 27:[6, 8, 5], Operations: ['41-36=5'] Exploring Operation: 6-5=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 27:[8, 1] Operation: 6-5=1 Exploring Operation: 8-6=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 27:[5, 2] Operation: 8-6=2 Exploring Operation: 6*5=30, Resulting Numbers: [8, 30] Generated Node #0,0,2: 27:[8, 30] Operation: 6*5=30 Exploring Operation: 6+5=11, Resulting Numbers: [8, 11] Generated Node #0,0,3: 27:[8, 11] Operation: 6+5=11 Exploring Operation: 8-5=3, Resulting Numbers: [6, 3] Generated Node #0,0,4: 27:[6, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[8, 1], Operations: ['41-36=5', '6-5=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,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,1 Current State: 27:[5, 2], Operations: ['41-36=5', '8-6=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 5+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,0,3 Current State: 27:[8, 11], Operations: ['41-36=5', '6+5=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,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,4 Current State: 27:[6, 3], Operations: ['41-36=5', '8-5=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,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,2 Current State: 27:[8, 30], Operations: ['41-36=5', '6*5=30'] Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,27 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,27 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: 27:[41, 8, 30], Operations: ['36-6=30'] Exploring Operation: 41-8=33, Resulting Numbers: [30, 33] Generated Node #0,2,0: 27:[30, 33] Operation: 41-8=33 Exploring Operation: 41-30=11, Resulting Numbers: [8, 11] Generated Node #0,2,1: 27:[8, 11] Operation: 41-30=11 Exploring Operation: 41+8=49, Resulting Numbers: [30, 49] Generated Node #0,2,2: 27:[30, 49] Operation: 41+8=49 Exploring Operation: 8+30=38, Resulting Numbers: [41, 38] Generated Node #0,2,3: 27:[41, 38] Operation: 8+30=38 Exploring Operation: 30-8=22, Resulting Numbers: [41, 22] Generated Node #0,2,4: 27:[41, 22] Operation: 30-8=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[8, 11], Operations: ['36-6=30', '41-30=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,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,2,0 Current State: 27:[30, 33], Operations: ['36-6=30', '41-8=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,27 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,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,2,4 Current State: 27:[41, 22], Operations: ['36-6=30', '30-8=22'] Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,27 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,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,2,2 Current State: 27:[30, 49], Operations: ['36-6=30', '41+8=49'] Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,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,2,3 Current State: 27:[41, 38], Operations: ['36-6=30', '8+30=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,27 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: 27:[41, 8, 6], Operations: ['36/6=6'] Exploring Operation: 41+6=47, Resulting Numbers: [8, 47] Generated Node #0,4,0: 27:[8, 47] Operation: 41+6=47 Exploring Operation: 8-6=2, Resulting Numbers: [41, 2] Generated Node #0,4,1: 27:[41, 2] Operation: 8-6=2 Exploring Operation: 41-6=35, Resulting Numbers: [8, 35] Generated Node #0,4,2: 27:[8, 35] Operation: 41-6=35 Exploring Operation: 41-8=33, Resulting Numbers: [6, 33] Generated Node #0,4,3: 27:[6, 33] Operation: 41-8=33 Exploring Operation: 8+6=14, Resulting Numbers: [41, 14] Generated Node #0,4,4: 27:[41, 14] Operation: 8+6=14 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[8, 35], Operations: ['36/6=6', '41-6=35'] Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,27 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[6, 41, 8, 36], Operations: [] Exploring Operation: 36/6=6, Resulting Numbers: [41, 8, 6] Generated Node #0,4: 27:[41, 8, 6] Operation: 36/6=6 Moving to Node #0,4 Current State: 27:[41, 8, 6], Operations: ['36/6=6'] Exploring Operation: 41-6=35, Resulting Numbers: [8, 35] Generated Node #0,4,2: 27:[8, 35] Operation: 41-6=35 Moving to Node #0,4,2 Current State: 27:[8, 35], Operations: ['36/6=6', '41-6=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
sum_heuristic
[ 3, 78, 20, 50 ]
51
[ "3+78=81", "50-20=30", "81-30=51" ]
Current State: 51:[3, 78, 20, 50], Operations: [] Exploring Operation: 3+78=81, Resulting Numbers: [20, 50, 81] Generated Node #2: [20, 50, 81] from Operation: 3+78=81 Current State: 51:[20, 50, 81], Operations: ['3+78=81'] Exploring Operation: 50-20=30, Resulting Numbers: [81, 30] Generated Node #3: [81, 30] from Operation: 50-20=30 Current State: 51:[81, 30], Operations: ['3+78=81', '50-20=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[3, 78, 20, 50], Operations: [] Exploring Operation: 78-20=58, Resulting Numbers: [3, 50, 58] Generated Node #0,0: 51:[3, 50, 58] Operation: 78-20=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[3, 50, 58], Operations: ['78-20=58'] Exploring Operation: 58-3=55, Resulting Numbers: [50, 55] Generated Node #0,0,0: 51:[50, 55] Operation: 58-3=55 Moving to Node #0,0,0 Current State: 51:[50, 55], Operations: ['78-20=58', '58-3=55'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 92, 38, 99, 46 ]
59
[ "92/46=2", "99-38=61", "61-2=59" ]
Current State: 59:[92, 38, 99, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [38, 99, 2] Generated Node #2: [38, 99, 2] from Operation: 92/46=2 Current State: 59:[38, 99, 2], Operations: ['92/46=2'] Exploring Operation: 99-38=61, Resulting Numbers: [2, 61] Generated Node #3: [2, 61] from Operation: 99-38=61 Current State: 59:[2, 61], Operations: ['92/46=2', '99-38=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[92, 38, 99, 46], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [99, 46, 54] Generated Node #0,0: 59:[99, 46, 54] Operation: 92-38=54 Exploring Operation: 99-46=53, Resulting Numbers: [92, 38, 53] Generated Node #0,1: 59:[92, 38, 53] Operation: 99-46=53 Exploring Operation: 99-38=61, Resulting Numbers: [92, 46, 61] Generated Node #0,2: 59:[92, 46, 61] Operation: 99-38=61 Moving to Node #0,2 Current State: 59:[92, 46, 61], Operations: ['99-38=61'] Exploring Operation: 92/46=2, Resulting Numbers: [61, 2] Generated Node #0,2,0: 59:[61, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [61, 46] Generated Node #0,2,1: 59:[61, 46] Operation: 92-46=46 Exploring Operation: 92-61=31, Resulting Numbers: [46, 31] Generated Node #0,2,2: 59:[46, 31] Operation: 92-61=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[61, 46], Operations: ['99-38=61', '92-46=46'] Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 61*46=2806, Resulting Numbers: [2806] 2806,59 unequal: No Solution Exploring Operation: 61+46=107, Resulting Numbers: [107] 107,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[46, 31], Operations: ['99-38=61', '92-61=31'] Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[61, 2], Operations: ['99-38=61', '92/46=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[92, 38, 99, 46], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [92, 46, 61] Generated Node #0,2: 59:[92, 46, 61] Operation: 99-38=61 Moving to Node #0,2 Current State: 59:[92, 46, 61], Operations: ['99-38=61'] Exploring Operation: 92/46=2, Resulting Numbers: [61, 2] Generated Node #0,2,0: 59:[61, 2] Operation: 92/46=2 Moving to Node #0,2,0 Current State: 59:[61, 2], Operations: ['99-38=61', '92/46=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 5, 72, 28, 88 ]
60
[ "72+28=100", "100-88=12", "5*12=60" ]
Current State: 60:[5, 72, 28, 88], Operations: [] Exploring Operation: 72+28=100, Resulting Numbers: [5, 88, 100] Generated Node #2: [5, 88, 100] from Operation: 72+28=100 Current State: 60:[5, 88, 100], Operations: ['72+28=100'] Exploring Operation: 100-88=12, Resulting Numbers: [5, 12] Generated Node #3: [5, 12] from Operation: 100-88=12 Current State: 60:[5, 12], Operations: ['72+28=100', '100-88=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[5, 72, 28, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [5, 28, 16] Generated Node #0,0: 60:[5, 28, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[5, 28, 16], Operations: ['88-72=16'] Exploring Operation: 28-16=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 60:[5, 12] Operation: 28-16=12 Moving to Node #0,0,0 Current State: 60:[5, 12], Operations: ['88-72=16', '28-16=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[5, 72, 28, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [5, 28, 16] Generated Node #0,0: 60:[5, 28, 16] Operation: 88-72=16 Moving to Node #0,0 Current State: 60:[5, 28, 16], Operations: ['88-72=16'] Exploring Operation: 28-16=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 60:[5, 12] Operation: 28-16=12 Moving to Node #0,0,0 Current State: 60:[5, 12], Operations: ['88-72=16', '28-16=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 82, 52, 84, 67 ]
82
[ "82+52=134", "134/67=2", "84-2=82" ]
Current State: 82:[82, 52, 84, 67], Operations: [] Exploring Operation: 82+52=134, Resulting Numbers: [84, 67, 134] Generated Node #2: [84, 67, 134] from Operation: 82+52=134 Current State: 82:[84, 67, 134], Operations: ['82+52=134'] Exploring Operation: 134/67=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 134/67=2 Current State: 82:[84, 2], Operations: ['82+52=134', '134/67=2'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[82, 52, 84, 67], Operations: [] Exploring Operation: 67-52=15, Resulting Numbers: [82, 84, 15] Generated Node #0,0: 82:[82, 84, 15] Operation: 67-52=15 Moving to Node #0,0 Current State: 82:[82, 84, 15], Operations: ['67-52=15'] Exploring Operation: 84-82=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 82:[15, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[15, 2], Operations: ['67-52=15', '84-82=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,82 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
[ 54, 87, 49, 60 ]
76
[ "87-54=33", "49+60=109", "109-33=76" ]
Current State: 76:[54, 87, 49, 60], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [49, 60, 33] Generated Node #2: [49, 60, 33] from Operation: 87-54=33 Current State: 76:[49, 60, 33], Operations: ['87-54=33'] Exploring Operation: 49+60=109, Resulting Numbers: [33, 109] Generated Node #3: [33, 109] from Operation: 49+60=109 Current State: 76:[33, 109], Operations: ['87-54=33', '49+60=109'] Exploring Operation: 109-33=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[54, 87, 49, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [87, 49, 6] Generated Node #0,0: 76:[87, 49, 6] Operation: 60-54=6 Moving to Node #0,0 Current State: 76:[87, 49, 6], Operations: ['60-54=6'] Exploring Operation: 87-49=38, Resulting Numbers: [6, 38] Generated Node #0,0,0: 76:[6, 38] Operation: 87-49=38 Moving to Node #0,0,0 Current State: 76:[6, 38], Operations: ['60-54=6', '87-49=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,76 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 66, 82, 2, 29 ]
36
[ "82*29=2378", "2378-2=2376", "2376/66=36" ]
Current State: 36:[66, 82, 2, 29], Operations: [] Exploring Operation: 82*29=2378, Resulting Numbers: [66, 2, 2378] Generated Node #2: [66, 2, 2378] from Operation: 82*29=2378 Current State: 36:[66, 2, 2378], Operations: ['82*29=2378'] Exploring Operation: 2378-2=2376, Resulting Numbers: [66, 2376] Generated Node #3: [66, 2376] from Operation: 2378-2=2376 Current State: 36:[66, 2376], Operations: ['82*29=2378', '2378-2=2376'] Exploring Operation: 2376/66=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[66, 82, 2, 29], Operations: [] Exploring Operation: 66-29=37, Resulting Numbers: [82, 2, 37] Generated Node #0,0: 36:[82, 2, 37] Operation: 66-29=37 Exploring Operation: 82/2=41, Resulting Numbers: [66, 29, 41] Generated Node #0,1: 36:[66, 29, 41] Operation: 82/2=41 Exploring Operation: 82-29=53, Resulting Numbers: [66, 2, 53] Generated Node #0,2: 36:[66, 2, 53] Operation: 82-29=53 Exploring Operation: 82-66=16, Resulting Numbers: [2, 29, 16] Generated Node #0,3: 36:[2, 29, 16] Operation: 82-66=16 Moving to Node #0,3 Current State: 36:[2, 29, 16], Operations: ['82-66=16'] Exploring Operation: 29-16=13, Resulting Numbers: [2, 13] Generated Node #0,3,0: 36:[2, 13] Operation: 29-16=13 Exploring Operation: 2+16=18, Resulting Numbers: [29, 18] Generated Node #0,3,1: 36:[29, 18] Operation: 2+16=18 Exploring Operation: 16/2=8, Resulting Numbers: [29, 8] Generated Node #0,3,2: 36:[29, 8] Operation: 16/2=8 Exploring Operation: 2+29=31, Resulting Numbers: [16, 31] Generated Node #0,3,3: 36:[16, 31] Operation: 2+29=31 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[2, 13], Operations: ['82-66=16', '29-16=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,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:[29, 18], Operations: ['82-66=16', '2+16=18'] Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,36 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,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:[16, 31], Operations: ['82-66=16', '2+29=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[29, 8], Operations: ['82-66=16', '16/2=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,36 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 36:[66, 29, 41], Operations: ['82/2=41'] Exploring Operation: 41-29=12, Resulting Numbers: [66, 12] Generated Node #0,1,0: 36:[66, 12] Operation: 41-29=12 Exploring Operation: 66-41=25, Resulting Numbers: [29, 25] Generated Node #0,1,1: 36:[29, 25] Operation: 66-41=25 Exploring Operation: 66-29=37, Resulting Numbers: [41, 37] Generated Node #0,1,2: 36:[41, 37] Operation: 66-29=37 Exploring Operation: 66+29=95, Resulting Numbers: [41, 95] Generated Node #0,1,3: 36:[41, 95] Operation: 66+29=95 Moving to Node #0,2 Current State: 36:[66, 2, 53], Operations: ['82-29=53'] Exploring Operation: 66-2=64, Resulting Numbers: [53, 64] Generated Node #0,2,0: 36:[53, 64] Operation: 66-2=64 Exploring Operation: 66-53=13, Resulting Numbers: [2, 13] Generated Node #0,2,1: 36:[2, 13] Operation: 66-53=13 Exploring Operation: 66/2=33, Resulting Numbers: [53, 33] Generated Node #0,2,2: 36:[53, 33] Operation: 66/2=33 Exploring Operation: 53-2=51, Resulting Numbers: [66, 51] Generated Node #0,2,3: 36:[66, 51] Operation: 53-2=51 Moving to Node #0,0 Current State: 36:[82, 2, 37], Operations: ['66-29=37'] Exploring Operation: 82-37=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 36:[2, 45] Operation: 82-37=45 Exploring Operation: 37-2=35, Resulting Numbers: [82, 35] Generated Node #0,0,1: 36:[82, 35] Operation: 37-2=35 Exploring Operation: 82-2=80, Resulting Numbers: [37, 80] Generated Node #0,0,2: 36:[37, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [37, 41] Generated Node #0,0,3: 36:[37, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[37, 41], Operations: ['66-29=37', '82/2=41'] Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,36 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[2, 45], Operations: ['66-29=37', '82-37=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,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:[37, 80], Operations: ['66-29=37', '82-2=80'] Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,36 unequal: No Solution Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,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:[82, 35], Operations: ['66-29=37', '37-2=35'] Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,36 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: 36:[2, 13], Operations: ['82-29=53', '66-53=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[41, 37], Operations: ['82/2=41', '66-29=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[29, 25], Operations: ['82/2=41', '66-41=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[53, 33], Operations: ['82-29=53', '66/2=33'] Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,36 unequal: No Solution Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[66, 12], Operations: ['82/2=41', '41-29=12'] Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,36 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[66, 51], Operations: ['82-29=53', '53-2=51'] Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[53, 64], Operations: ['82-29=53', '66-2=64'] Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[41, 95], Operations: ['82/2=41', '66+29=95'] Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 41+95=136, Resulting Numbers: [136] 136,36 unequal: No Solution Exploring Operation: 41*95=3895, Resulting Numbers: [3895] 3895,36 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 63, 73, 82, 52 ]
20
[ "73-63=10", "82-52=30", "30-10=20" ]
Current State: 20:[63, 73, 82, 52], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [82, 52, 10] Generated Node #2: [82, 52, 10] from Operation: 73-63=10 Current State: 20:[82, 52, 10], Operations: ['73-63=10'] Exploring Operation: 82-52=30, Resulting Numbers: [10, 30] Generated Node #3: [10, 30] from Operation: 82-52=30 Current State: 20:[10, 30], Operations: ['73-63=10', '82-52=30'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[63, 73, 82, 52], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [82, 52, 10] Generated Node #0,0: 20:[82, 52, 10] Operation: 73-63=10 Exploring Operation: 82-63=19, Resulting Numbers: [73, 52, 19] Generated Node #0,1: 20:[73, 52, 19] Operation: 82-63=19 Exploring Operation: 82-73=9, Resulting Numbers: [63, 52, 9] Generated Node #0,2: 20:[63, 52, 9] Operation: 82-73=9 Exploring Operation: 73-52=21, Resulting Numbers: [63, 82, 21] Generated Node #0,3: 20:[63, 82, 21] Operation: 73-52=21 Moving to Node #0,2 Current State: 20:[63, 52, 9], Operations: ['82-73=9'] Exploring Operation: 63-52=11, Resulting Numbers: [9, 11] Generated Node #0,2,0: 20:[9, 11] Operation: 63-52=11 Exploring Operation: 52-9=43, Resulting Numbers: [63, 43] Generated Node #0,2,1: 20:[63, 43] Operation: 52-9=43 Exploring Operation: 63-9=54, Resulting Numbers: [52, 54] Generated Node #0,2,2: 20:[52, 54] Operation: 63-9=54 Exploring Operation: 63/9=7, Resulting Numbers: [52, 7] Generated Node #0,2,3: 20:[52, 7] Operation: 63/9=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[9, 11], Operations: ['82-73=9', '63-52=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[63, 73, 82, 52], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [63, 52, 9] Generated Node #0,2: 20:[63, 52, 9] Operation: 82-73=9 Moving to Node #0,2 Current State: 20:[63, 52, 9], Operations: ['82-73=9'] Exploring Operation: 63-52=11, Resulting Numbers: [9, 11] Generated Node #0,2,0: 20:[9, 11] Operation: 63-52=11 Moving to Node #0,2,0 Current State: 20:[9, 11], Operations: ['82-73=9', '63-52=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 61, 27, 90, 36 ]
51
[ "36-27=9", "90/9=10", "61-10=51" ]
Current State: 51:[61, 27, 90, 36], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [61, 90, 9] Generated Node #2: [61, 90, 9] from Operation: 36-27=9 Current State: 51:[61, 90, 9], Operations: ['36-27=9'] Exploring Operation: 90/9=10, Resulting Numbers: [61, 10] Generated Node #3: [61, 10] from Operation: 90/9=10 Current State: 51:[61, 10], Operations: ['36-27=9', '90/9=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[61, 27, 90, 36], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [61, 27, 54] Generated Node #0,0: 51:[61, 27, 54] Operation: 90-36=54 Moving to Node #0,0 Current State: 51:[61, 27, 54], Operations: ['90-36=54'] Exploring Operation: 54/27=2, Resulting Numbers: [61, 2] Generated Node #0,0,0: 51:[61, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[61, 2], Operations: ['90-36=54', '54/27=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 80, 1, 6, 38 ]
54
[ "6-1=5", "80/5=16", "38+16=54" ]
Current State: 54:[80, 1, 6, 38], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [80, 38, 5] Generated Node #2: [80, 38, 5] from Operation: 6-1=5 Current State: 54:[80, 38, 5], Operations: ['6-1=5'] Exploring Operation: 80/5=16, Resulting Numbers: [38, 16] Generated Node #3: [38, 16] from Operation: 80/5=16 Current State: 54:[38, 16], Operations: ['6-1=5', '80/5=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[80, 1, 6, 38], Operations: [] Exploring Operation: 80-6=74, Resulting Numbers: [1, 38, 74] Generated Node #0,0: 54:[1, 38, 74] Operation: 80-6=74 Exploring Operation: 80-38=42, Resulting Numbers: [1, 6, 42] Generated Node #0,1: 54:[1, 6, 42] Operation: 80-38=42 Moving to Node #0,1 Current State: 54:[1, 6, 42], Operations: ['80-38=42'] Exploring Operation: 42/6=7, Resulting Numbers: [1, 7] Generated Node #0,1,0: 54:[1, 7] Operation: 42/6=7 Exploring Operation: 6+42=48, Resulting Numbers: [1, 48] Generated Node #0,1,1: 54:[1, 48] Operation: 6+42=48 Moving to Node #0,0 Current State: 54:[1, 38, 74], Operations: ['80-6=74'] Exploring Operation: 74-38=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 54:[1, 36] Operation: 74-38=36 Exploring Operation: 38-1=37, Resulting Numbers: [74, 37] Generated Node #0,0,1: 54:[74, 37] Operation: 38-1=37 Moving to Node #0,1,0 Current State: 54:[1, 7], Operations: ['80-38=42', '42/6=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[1, 48], Operations: ['80-38=42', '6+42=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[1, 36], Operations: ['80-6=74', '74-38=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[74, 37], Operations: ['80-6=74', '38-1=37'] Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,54 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 72, 47, 21, 13 ]
70
[ "47-21=26", "26/13=2", "72-2=70" ]
Current State: 70:[72, 47, 21, 13], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [72, 13, 26] Generated Node #2: [72, 13, 26] from Operation: 47-21=26 Current State: 70:[72, 13, 26], Operations: ['47-21=26'] Exploring Operation: 26/13=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 26/13=2 Current State: 70:[72, 2], Operations: ['47-21=26', '26/13=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[72, 47, 21, 13], Operations: [] Exploring Operation: 47+21=68, Resulting Numbers: [72, 13, 68] Generated Node #0,0: 70:[72, 13, 68] Operation: 47+21=68 Exploring Operation: 47-13=34, Resulting Numbers: [72, 21, 34] Generated Node #0,1: 70:[72, 21, 34] Operation: 47-13=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[72, 13, 68], Operations: ['47+21=68'] Exploring Operation: 72-68=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 70:[13, 4] Operation: 72-68=4 Exploring Operation: 72-13=59, Resulting Numbers: [68, 59] Generated Node #0,0,1: 70:[68, 59] Operation: 72-13=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[13, 4], Operations: ['47+21=68', '72-68=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[68, 59], Operations: ['47+21=68', '72-13=59'] Exploring Operation: 68+59=127, Resulting Numbers: [127] 127,70 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[72, 21, 34], Operations: ['47-13=34'] Exploring Operation: 72-34=38, Resulting Numbers: [21, 38] Generated Node #0,1,0: 70:[21, 38] Operation: 72-34=38 Exploring Operation: 34-21=13, Resulting Numbers: [72, 13] Generated Node #0,1,1: 70:[72, 13] Operation: 34-21=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[72, 13], Operations: ['47-13=34', '34-21=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[21, 38], Operations: ['47-13=34', '72-34=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 29, 19, 64, 23 ]
31
[ "29-19=10", "64-23=41", "41-10=31" ]
Current State: 31:[29, 19, 64, 23], Operations: [] Exploring Operation: 29-19=10, Resulting Numbers: [64, 23, 10] Generated Node #2: [64, 23, 10] from Operation: 29-19=10 Current State: 31:[64, 23, 10], Operations: ['29-19=10'] Exploring Operation: 64-23=41, Resulting Numbers: [10, 41] Generated Node #3: [10, 41] from Operation: 64-23=41 Current State: 31:[10, 41], Operations: ['29-19=10', '64-23=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[29, 19, 64, 23], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [29, 23, 45] Generated Node #0,0: 31:[29, 23, 45] Operation: 64-19=45 Exploring Operation: 64-29=35, Resulting Numbers: [19, 23, 35] Generated Node #0,1: 31:[19, 23, 35] Operation: 64-29=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[29, 23, 45], Operations: ['64-19=45'] Exploring Operation: 45-23=22, Resulting Numbers: [29, 22] Generated Node #0,0,0: 31:[29, 22] Operation: 45-23=22 Exploring Operation: 45-29=16, Resulting Numbers: [23, 16] Generated Node #0,0,1: 31:[23, 16] Operation: 45-29=16 Moving to Node #0,0,0 Current State: 31:[29, 22], Operations: ['64-19=45', '45-23=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[23, 16], Operations: ['64-19=45', '45-29=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,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 Current State: 31:[19, 23, 35], Operations: ['64-29=35'] Exploring Operation: 35-19=16, Resulting Numbers: [23, 16] Generated Node #0,1,0: 31:[23, 16] Operation: 35-19=16 Exploring Operation: 19+23=42, Resulting Numbers: [35, 42] Generated Node #0,1,1: 31:[35, 42] Operation: 19+23=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[35, 42], Operations: ['64-29=35', '19+23=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,31 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,31 unequal: No Solution No 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: 31:[23, 16], Operations: ['64-29=35', '35-19=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,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_2
sum_heuristic
[ 46, 39, 12, 52 ]
45
[ "46+39=85", "52-12=40", "85-40=45" ]
Current State: 45:[46, 39, 12, 52], Operations: [] Exploring Operation: 46+39=85, Resulting Numbers: [12, 52, 85] Generated Node #2: [12, 52, 85] from Operation: 46+39=85 Current State: 45:[12, 52, 85], Operations: ['46+39=85'] Exploring Operation: 52-12=40, Resulting Numbers: [85, 40] Generated Node #3: [85, 40] from Operation: 52-12=40 Current State: 45:[85, 40], Operations: ['46+39=85', '52-12=40'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[46, 39, 12, 52], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [46, 12, 13] Generated Node #0,0: 45:[46, 12, 13] Operation: 52-39=13 Moving to Node #0,0 Current State: 45:[46, 12, 13], Operations: ['52-39=13'] Exploring Operation: 13-12=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 45:[46, 1] Operation: 13-12=1 Moving to Node #0,0,0 Current State: 45:[46, 1], Operations: ['52-39=13', '13-12=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[46, 39, 12, 52], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [46, 12, 13] Generated Node #0,0: 45:[46, 12, 13] Operation: 52-39=13 Moving to Node #0,0 Current State: 45:[46, 12, 13], Operations: ['52-39=13'] Exploring Operation: 13-12=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 45:[46, 1] Operation: 13-12=1 Moving to Node #0,0,0 Current State: 45:[46, 1], Operations: ['52-39=13', '13-12=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 20, 24, 61, 44 ]
21
[ "24-20=4", "61-44=17", "4+17=21" ]
Current State: 21:[20, 24, 61, 44], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [61, 44, 4] Generated Node #2: [61, 44, 4] from Operation: 24-20=4 Current State: 21:[61, 44, 4], Operations: ['24-20=4'] Exploring Operation: 61-44=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 61-44=17 Current State: 21:[4, 17], Operations: ['24-20=4', '61-44=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[20, 24, 61, 44], Operations: [] Exploring Operation: 61-44=17, Resulting Numbers: [20, 24, 17] Generated Node #0,0: 21:[20, 24, 17] Operation: 61-44=17 Moving to Node #0,0 Current State: 21:[20, 24, 17], Operations: ['61-44=17'] Exploring Operation: 24-17=7, Resulting Numbers: [20, 7] Generated Node #0,0,0: 21:[20, 7] Operation: 24-17=7 Moving to Node #0,0,0 Current State: 21:[20, 7], Operations: ['61-44=17', '24-17=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,21 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 55, 26, 43 ]
53
[ "71-55=16", "26+43=69", "69-16=53" ]
Current State: 53:[71, 55, 26, 43], Operations: [] Exploring Operation: 71-55=16, Resulting Numbers: [26, 43, 16] Generated Node #2: [26, 43, 16] from Operation: 71-55=16 Current State: 53:[26, 43, 16], Operations: ['71-55=16'] Exploring Operation: 26+43=69, Resulting Numbers: [16, 69] Generated Node #3: [16, 69] from Operation: 26+43=69 Current State: 53:[16, 69], Operations: ['71-55=16', '26+43=69'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[71, 55, 26, 43], Operations: [] Exploring Operation: 26+43=69, Resulting Numbers: [71, 55, 69] Generated Node #0,0: 53:[71, 55, 69] Operation: 26+43=69 Exploring Operation: 55-26=29, Resulting Numbers: [71, 43, 29] Generated Node #0,1: 53:[71, 43, 29] Operation: 55-26=29 Exploring Operation: 71-43=28, Resulting Numbers: [55, 26, 28] Generated Node #0,2: 53:[55, 26, 28] Operation: 71-43=28 Exploring Operation: 71-26=45, Resulting Numbers: [55, 43, 45] Generated Node #0,3: 53:[55, 43, 45] Operation: 71-26=45 Exploring Operation: 71+26=97, Resulting Numbers: [55, 43, 97] Generated Node #0,4: 53:[55, 43, 97] Operation: 71+26=97 Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[55, 43, 45], Operations: ['71-26=45'] Exploring Operation: 45-43=2, Resulting Numbers: [55, 2] Generated Node #0,3,0: 53:[55, 2] Operation: 45-43=2 Exploring Operation: 55-43=12, Resulting Numbers: [45, 12] Generated Node #0,3,1: 53:[45, 12] Operation: 55-43=12 Exploring Operation: 43+45=88, Resulting Numbers: [55, 88] Generated Node #0,3,2: 53:[55, 88] Operation: 43+45=88 Exploring Operation: 55+43=98, Resulting Numbers: [45, 98] Generated Node #0,3,3: 53:[45, 98] Operation: 55+43=98 Exploring Operation: 55-45=10, Resulting Numbers: [43, 10] Generated Node #0,3,4: 53:[43, 10] Operation: 55-45=10 Moving to Node #0,3,2 Current State: 53:[55, 88], Operations: ['71-26=45', '43+45=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,53 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,53 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[45, 12], Operations: ['71-26=45', '55-43=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,53 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[55, 2], Operations: ['71-26=45', '45-43=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[71, 55, 26, 43], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [55, 43, 45] Generated Node #0,3: 53:[55, 43, 45] Operation: 71-26=45 Moving to Node #0,3 Current State: 53:[55, 43, 45], Operations: ['71-26=45'] Exploring Operation: 45-43=2, Resulting Numbers: [55, 2] Generated Node #0,3,0: 53:[55, 2] Operation: 45-43=2 Moving to Node #0,3,0 Current State: 53:[55, 2], Operations: ['71-26=45', '45-43=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 73, 66, 11, 67 ]
22
[ "73-67=6", "66/6=11", "11+11=22" ]
Current State: 22:[73, 66, 11, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [66, 11, 6] Generated Node #2: [66, 11, 6] from Operation: 73-67=6 Current State: 22:[66, 11, 6], Operations: ['73-67=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11, 11] Generated Node #3: [11, 11] from Operation: 66/6=11 Current State: 22:[11, 11], Operations: ['73-67=6', '66/6=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[73, 66, 11, 67], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [73, 67, 6] Generated Node #0,0: 22:[73, 67, 6] Operation: 66/11=6 Exploring Operation: 73-11=62, Resulting Numbers: [66, 67, 62] Generated Node #0,1: 22:[66, 67, 62] Operation: 73-11=62 Exploring Operation: 67-66=1, Resulting Numbers: [73, 11, 1] Generated Node #0,2: 22:[73, 11, 1] Operation: 67-66=1 Exploring Operation: 73-67=6, Resulting Numbers: [66, 11, 6] Generated Node #0,3: 22:[66, 11, 6] Operation: 73-67=6 Exploring Operation: 73-66=7, Resulting Numbers: [11, 67, 7] Generated Node #0,4: 22:[11, 67, 7] Operation: 73-66=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[66, 11, 6], Operations: ['73-67=6'] Exploring Operation: 66/11=6, Resulting Numbers: [6, 6] Generated Node #0,3,0: 22:[6, 6] Operation: 66/11=6 Exploring Operation: 66-6=60, Resulting Numbers: [11, 60] Generated Node #0,3,1: 22:[11, 60] Operation: 66-6=60 Exploring Operation: 66/6=11, Resulting Numbers: [11, 11] Generated Node #0,3,2: 22:[11, 11] Operation: 66/6=11 Exploring Operation: 11-6=5, Resulting Numbers: [66, 5] Generated Node #0,3,3: 22:[66, 5] Operation: 11-6=5 Exploring Operation: 66-11=55, Resulting Numbers: [6, 55] Generated Node #0,3,4: 22:[6, 55] Operation: 66-11=55 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[11, 11], Operations: ['73-67=6', '66/6=11'] Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,22 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[73, 66, 11, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [66, 11, 6] Generated Node #0,3: 22:[66, 11, 6] Operation: 73-67=6 Moving to Node #0,3 Current State: 22:[66, 11, 6], Operations: ['73-67=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11, 11] Generated Node #0,3,2: 22:[11, 11] Operation: 66/6=11 Moving to Node #0,3,2 Current State: 22:[11, 11], Operations: ['73-67=6', '66/6=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 48, 85, 7, 64 ]
62
[ "48+85=133", "7+64=71", "133-71=62" ]
Current State: 62:[48, 85, 7, 64], Operations: [] Exploring Operation: 48+85=133, Resulting Numbers: [7, 64, 133] Generated Node #2: [7, 64, 133] from Operation: 48+85=133 Current State: 62:[7, 64, 133], Operations: ['48+85=133'] Exploring Operation: 7+64=71, Resulting Numbers: [133, 71] Generated Node #3: [133, 71] from Operation: 7+64=71 Current State: 62:[133, 71], Operations: ['48+85=133', '7+64=71'] Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[48, 85, 7, 64], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [7, 64, 37] Generated Node #0,0: 62:[7, 64, 37] Operation: 85-48=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[7, 64, 37], Operations: ['85-48=37'] Exploring Operation: 37-7=30, Resulting Numbers: [64, 30] Generated Node #0,0,0: 62:[64, 30] Operation: 37-7=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[64, 30], Operations: ['85-48=37', '37-7=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 91, 22, 72, 9 ]
61
[ "91-22=69", "72/9=8", "69-8=61" ]
Current State: 61:[91, 22, 72, 9], Operations: [] Exploring Operation: 91-22=69, Resulting Numbers: [72, 9, 69] Generated Node #2: [72, 9, 69] from Operation: 91-22=69 Current State: 61:[72, 9, 69], Operations: ['91-22=69'] Exploring Operation: 72/9=8, Resulting Numbers: [69, 8] Generated Node #3: [69, 8] from Operation: 72/9=8 Current State: 61:[69, 8], Operations: ['91-22=69', '72/9=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[91, 22, 72, 9], Operations: [] Exploring Operation: 91-22=69, Resulting Numbers: [72, 9, 69] Generated Node #0,0: 61:[72, 9, 69] Operation: 91-22=69 Moving to Node #0,0 Current State: 61:[72, 9, 69], Operations: ['91-22=69'] Exploring Operation: 72-9=63, Resulting Numbers: [69, 63] Generated Node #0,0,0: 61:[69, 63] Operation: 72-9=63 Moving to Node #0,0,0 Current State: 61:[69, 63], Operations: ['91-22=69', '72-9=63'] Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,61 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 55, 12, 50, 42 ]
18
[ "55-50=5", "12*5=60", "60-42=18" ]
Current State: 18:[55, 12, 50, 42], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [12, 42, 5] Generated Node #2: [12, 42, 5] from Operation: 55-50=5 Current State: 18:[12, 42, 5], Operations: ['55-50=5'] Exploring Operation: 12*5=60, Resulting Numbers: [42, 60] Generated Node #3: [42, 60] from Operation: 12*5=60 Current State: 18:[42, 60], Operations: ['55-50=5', '12*5=60'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[55, 12, 50, 42], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [50, 42, 43] Generated Node #0,0: 18:[50, 42, 43] Operation: 55-12=43 Exploring Operation: 50-42=8, Resulting Numbers: [55, 12, 8] Generated Node #0,1: 18:[55, 12, 8] Operation: 50-42=8 Exploring Operation: 55-50=5, Resulting Numbers: [12, 42, 5] Generated Node #0,2: 18:[12, 42, 5] Operation: 55-50=5 Exploring Operation: 50-12=38, Resulting Numbers: [55, 42, 38] Generated Node #0,3: 18:[55, 42, 38] Operation: 50-12=38 Exploring Operation: 55-42=13, Resulting Numbers: [12, 50, 13] Generated Node #0,4: 18:[12, 50, 13] Operation: 55-42=13 Moving to Node #0,2 Current State: 18:[12, 42, 5], Operations: ['55-50=5'] Exploring Operation: 12-5=7, Resulting Numbers: [42, 7] Generated Node #0,2,0: 18:[42, 7] Operation: 12-5=7 Exploring Operation: 12+5=17, Resulting Numbers: [42, 17] Generated Node #0,2,1: 18:[42, 17] Operation: 12+5=17 Exploring Operation: 42-12=30, Resulting Numbers: [5, 30] Generated Node #0,2,2: 18:[5, 30] Operation: 42-12=30 Exploring Operation: 42-5=37, Resulting Numbers: [12, 37] Generated Node #0,2,3: 18:[12, 37] Operation: 42-5=37 Exploring Operation: 42+5=47, Resulting Numbers: [12, 47] Generated Node #0,2,4: 18:[12, 47] Operation: 42+5=47 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[5, 30], Operations: ['55-50=5', '42-12=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[12, 37], Operations: ['55-50=5', '42-5=37'] Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,18 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[42, 7], Operations: ['55-50=5', '12-5=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[42, 17], Operations: ['55-50=5', '12+5=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,18 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[12, 47], Operations: ['55-50=5', '42+5=47'] Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,18 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,18 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: 18:[12, 50, 13], Operations: ['55-42=13'] Exploring Operation: 50-12=38, Resulting Numbers: [13, 38] Generated Node #0,4,0: 18:[13, 38] Operation: 50-12=38 Exploring Operation: 13-12=1, Resulting Numbers: [50, 1] Generated Node #0,4,1: 18:[50, 1] Operation: 13-12=1 Exploring Operation: 50-13=37, Resulting Numbers: [12, 37] Generated Node #0,4,2: 18:[12, 37] Operation: 50-13=37 Exploring Operation: 12+50=62, Resulting Numbers: [13, 62] Generated Node #0,4,3: 18:[13, 62] Operation: 12+50=62 Exploring Operation: 12+13=25, Resulting Numbers: [50, 25] Generated Node #0,4,4: 18:[50, 25] Operation: 12+13=25 Moving to Node #0,1 Current State: 18:[55, 12, 8], Operations: ['50-42=8'] Exploring Operation: 55+8=63, Resulting Numbers: [12, 63] Generated Node #0,1,0: 18:[12, 63] Operation: 55+8=63 Exploring Operation: 55-12=43, Resulting Numbers: [8, 43] Generated Node #0,1,1: 18:[8, 43] Operation: 55-12=43 Exploring Operation: 12-8=4, Resulting Numbers: [55, 4] Generated Node #0,1,2: 18:[55, 4] Operation: 12-8=4 Exploring Operation: 12+8=20, Resulting Numbers: [55, 20] Generated Node #0,1,3: 18:[55, 20] Operation: 12+8=20 Exploring Operation: 55-8=47, Resulting Numbers: [12, 47] Generated Node #0,1,4: 18:[12, 47] Operation: 55-8=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[8, 43], Operations: ['50-42=8', '55-12=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,18 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 18:[12, 47], Operations: ['50-42=8', '55-8=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,18 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[55, 4], Operations: ['50-42=8', '12-8=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,18 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[55, 20], Operations: ['50-42=8', '12+8=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,18 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[12, 63], Operations: ['50-42=8', '55+8=63'] Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,18 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: 18:[50, 42, 43], Operations: ['55-12=43'] Exploring Operation: 50-43=7, Resulting Numbers: [42, 7] Generated Node #0,0,0: 18:[42, 7] Operation: 50-43=7 Exploring Operation: 50+42=92, Resulting Numbers: [43, 92] Generated Node #0,0,1: 18:[43, 92] Operation: 50+42=92 Exploring Operation: 43-42=1, Resulting Numbers: [50, 1] Generated Node #0,0,2: 18:[50, 1] Operation: 43-42=1 Exploring Operation: 50+43=93, Resulting Numbers: [42, 93] Generated Node #0,0,3: 18:[42, 93] Operation: 50+43=93 Exploring Operation: 50-42=8, Resulting Numbers: [43, 8] Generated Node #0,0,4: 18:[43, 8] Operation: 50-42=8 Moving to Node #0,3 Current State: 18:[55, 42, 38], Operations: ['50-12=38'] Exploring Operation: 42-38=4, Resulting Numbers: [55, 4] Generated Node #0,3,0: 18:[55, 4] Operation: 42-38=4 Exploring Operation: 55+38=93, Resulting Numbers: [42, 93] Generated Node #0,3,1: 18:[42, 93] Operation: 55+38=93 Exploring Operation: 55-38=17, Resulting Numbers: [42, 17] Generated Node #0,3,2: 18:[42, 17] Operation: 55-38=17 Exploring Operation: 55-42=13, Resulting Numbers: [38, 13] Generated Node #0,3,3: 18:[38, 13] Operation: 55-42=13 Exploring Operation: 55+42=97, Resulting Numbers: [38, 97] Generated Node #0,3,4: 18:[38, 97] Operation: 55+42=97 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[38, 13], Operations: ['50-12=38', '55-42=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[42, 17], Operations: ['50-12=38', '55-38=17'] Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[55, 4], Operations: ['50-12=38', '42-38=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,18 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[42, 93], Operations: ['50-12=38', '55+38=93'] Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,18 unequal: No Solution Exploring Operation: 42*93=3906, Resulting Numbers: [3906] 3906,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[38, 97], Operations: ['50-12=38', '55+42=97'] Exploring Operation: 38+97=135, Resulting Numbers: [135] 135,18 unequal: No Solution Exploring Operation: 38*97=3686, Resulting Numbers: [3686] 3686,18 unequal: No Solution Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 18:[12, 37], Operations: ['55-42=13', '50-13=37'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[13, 38], Operations: ['55-42=13', '50-12=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,18 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[42, 7], Operations: ['55-12=43', '50-43=7'] Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[43, 8], Operations: ['55-12=43', '50-42=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,18 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[50, 1], Operations: ['55-42=13', '13-12=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[50, 1], Operations: ['55-12=43', '43-42=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[50, 25], Operations: ['55-42=13', '12+13=25'] Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,18 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[13, 62], Operations: ['55-42=13', '12+50=62'] Exploring Operation: 13*62=806, Resulting Numbers: [806] 806,18 unequal: No Solution Exploring Operation: 13+62=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[43, 92], Operations: ['55-12=43', '50+42=92'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,18 unequal: No Solution Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[42, 93], Operations: ['55-12=43', '50+43=93'] Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,18 unequal: No Solution Exploring Operation: 42*93=3906, Resulting Numbers: [3906] 3906,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 90, 49, 46, 99 ]
12
[ "90-49=41", "99-46=53", "53-41=12" ]
Current State: 12:[90, 49, 46, 99], Operations: [] Exploring Operation: 90-49=41, Resulting Numbers: [46, 99, 41] Generated Node #2: [46, 99, 41] from Operation: 90-49=41 Current State: 12:[46, 99, 41], Operations: ['90-49=41'] Exploring Operation: 99-46=53, Resulting Numbers: [41, 53] Generated Node #3: [41, 53] from Operation: 99-46=53 Current State: 12:[41, 53], Operations: ['90-49=41', '99-46=53'] Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[90, 49, 46, 99], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [49, 46, 9] Generated Node #0,0: 12:[49, 46, 9] Operation: 99-90=9 Moving to Node #0,0 Current State: 12:[49, 46, 9], Operations: ['99-90=9'] Exploring Operation: 49-46=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 12:[9, 3] Operation: 49-46=3 Moving to Node #0,0,0 Current State: 12:[9, 3], Operations: ['99-90=9', '49-46=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[90, 49, 46, 99], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [49, 46, 9] Generated Node #0,0: 12:[49, 46, 9] Operation: 99-90=9 Moving to Node #0,0 Current State: 12:[49, 46, 9], Operations: ['99-90=9'] Exploring Operation: 49-46=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 12:[9, 3] Operation: 49-46=3 Moving to Node #0,0,0 Current State: 12:[9, 3], Operations: ['99-90=9', '49-46=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 35, 96, 44, 68 ]
39
[ "68-44=24", "96/24=4", "35+4=39" ]
Current State: 39:[35, 96, 44, 68], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [35, 96, 24] Generated Node #2: [35, 96, 24] from Operation: 68-44=24 Current State: 39:[35, 96, 24], Operations: ['68-44=24'] Exploring Operation: 96/24=4, Resulting Numbers: [35, 4] Generated Node #3: [35, 4] from Operation: 96/24=4 Current State: 39:[35, 4], Operations: ['68-44=24', '96/24=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[35, 96, 44, 68], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [35, 44, 28] Generated Node #0,0: 39:[35, 44, 28] Operation: 96-68=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[35, 44, 28], Operations: ['96-68=28'] Exploring Operation: 44-28=16, Resulting Numbers: [35, 16] Generated Node #0,0,0: 39:[35, 16] Operation: 44-28=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[35, 16], Operations: ['96-68=28', '44-28=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 90, 11, 70, 44 ]
13
[ "90+11=101", "70+44=114", "114-101=13" ]
Current State: 13:[90, 11, 70, 44], Operations: [] Exploring Operation: 90+11=101, Resulting Numbers: [70, 44, 101] Generated Node #2: [70, 44, 101] from Operation: 90+11=101 Current State: 13:[70, 44, 101], Operations: ['90+11=101'] Exploring Operation: 70+44=114, Resulting Numbers: [101, 114] Generated Node #3: [101, 114] from Operation: 70+44=114 Current State: 13:[101, 114], Operations: ['90+11=101', '70+44=114'] Exploring Operation: 114-101=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[90, 11, 70, 44], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [90, 11, 26] Generated Node #0,0: 13:[90, 11, 26] Operation: 70-44=26 Exploring Operation: 90-70=20, Resulting Numbers: [11, 44, 20] Generated Node #0,1: 13:[11, 44, 20] Operation: 90-70=20 Exploring Operation: 90-44=46, Resulting Numbers: [11, 70, 46] Generated Node #0,2: 13:[11, 70, 46] Operation: 90-44=46 Moving to Node #0,1 Current State: 13:[11, 44, 20], Operations: ['90-70=20'] Exploring Operation: 44-11=33, Resulting Numbers: [20, 33] Generated Node #0,1,0: 13:[20, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 13:[20, 4] Operation: 44/11=4 Exploring Operation: 44-20=24, Resulting Numbers: [11, 24] Generated Node #0,1,2: 13:[11, 24] Operation: 44-20=24 Moving to Node #0,0 Current State: 13:[90, 11, 26], Operations: ['70-44=26'] Exploring Operation: 26-11=15, Resulting Numbers: [90, 15] Generated Node #0,0,0: 13:[90, 15] Operation: 26-11=15 Exploring Operation: 90-26=64, Resulting Numbers: [11, 64] Generated Node #0,0,1: 13:[11, 64] Operation: 90-26=64 Exploring Operation: 90-11=79, Resulting Numbers: [26, 79] Generated Node #0,0,2: 13:[26, 79] Operation: 90-11=79 Moving to Node #0,2 Current State: 13:[11, 70, 46], Operations: ['90-44=46'] Exploring Operation: 46-11=35, Resulting Numbers: [70, 35] Generated Node #0,2,0: 13:[70, 35] Operation: 46-11=35 Exploring Operation: 70-46=24, Resulting Numbers: [11, 24] Generated Node #0,2,1: 13:[11, 24] Operation: 70-46=24 Exploring Operation: 70-11=59, Resulting Numbers: [46, 59] Generated Node #0,2,2: 13:[46, 59] Operation: 70-11=59 Moving to Node #0,1,2 Current State: 13:[11, 24], Operations: ['90-70=20', '44-20=24'] Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,13 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[90, 11, 70, 44], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [11, 44, 20] Generated Node #0,1: 13:[11, 44, 20] Operation: 90-70=20 Moving to Node #0,1 Current State: 13:[11, 44, 20], Operations: ['90-70=20'] Exploring Operation: 44-20=24, Resulting Numbers: [11, 24] Generated Node #0,1,2: 13:[11, 24] Operation: 44-20=24 Moving to Node #0,1,2 Current State: 13:[11, 24], Operations: ['90-70=20', '44-20=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 4, 59, 5, 28 ]
67
[ "4*5=20", "59+28=87", "87-20=67" ]
Current State: 67:[4, 59, 5, 28], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [59, 28, 20] Generated Node #2: [59, 28, 20] from Operation: 4*5=20 Current State: 67:[59, 28, 20], Operations: ['4*5=20'] Exploring Operation: 59+28=87, Resulting Numbers: [20, 87] Generated Node #3: [20, 87] from Operation: 59+28=87 Current State: 67:[20, 87], Operations: ['4*5=20', '59+28=87'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[4, 59, 5, 28], Operations: [] Exploring Operation: 4+28=32, Resulting Numbers: [59, 5, 32] Generated Node #0,0: 67:[59, 5, 32] Operation: 4+28=32 Exploring Operation: 4+59=63, Resulting Numbers: [5, 28, 63] Generated Node #0,1: 67:[5, 28, 63] Operation: 4+59=63 Exploring Operation: 4+5=9, Resulting Numbers: [59, 28, 9] Generated Node #0,2: 67:[59, 28, 9] Operation: 4+5=9 Exploring Operation: 4*5=20, Resulting Numbers: [59, 28, 20] Generated Node #0,3: 67:[59, 28, 20] Operation: 4*5=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[59, 28, 20], Operations: ['4*5=20'] Exploring Operation: 59+28=87, Resulting Numbers: [20, 87] Generated Node #0,3,0: 67:[20, 87] Operation: 59+28=87 Exploring Operation: 59+20=79, Resulting Numbers: [28, 79] Generated Node #0,3,1: 67:[28, 79] Operation: 59+20=79 Exploring Operation: 59-20=39, Resulting Numbers: [28, 39] Generated Node #0,3,2: 67:[28, 39] Operation: 59-20=39 Exploring Operation: 28+20=48, Resulting Numbers: [59, 48] Generated Node #0,3,3: 67:[59, 48] Operation: 28+20=48 Moving to Node #0,3,3 Current State: 67:[59, 48], Operations: ['4*5=20', '28+20=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[28, 79], Operations: ['4*5=20', '59+20=79'] Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[28, 39], Operations: ['4*5=20', '59-20=39'] Exploring Operation: 28*39=1092, Resulting Numbers: [1092] 1092,67 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[4, 59, 5, 28], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [59, 28, 20] Generated Node #0,3: 67:[59, 28, 20] Operation: 4*5=20 Moving to Node #0,3 Current State: 67:[59, 28, 20], Operations: ['4*5=20'] Exploring Operation: 59-20=39, Resulting Numbers: [28, 39] Generated Node #0,3,2: 67:[28, 39] Operation: 59-20=39 Moving to Node #0,3,2 Current State: 67:[28, 39], Operations: ['4*5=20', '59-20=39'] Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 95, 81, 22, 69 ]
61
[ "95+81=176", "176/22=8", "69-8=61" ]
Current State: 61:[95, 81, 22, 69], Operations: [] Exploring Operation: 95+81=176, Resulting Numbers: [22, 69, 176] Generated Node #2: [22, 69, 176] from Operation: 95+81=176 Current State: 61:[22, 69, 176], Operations: ['95+81=176'] Exploring Operation: 176/22=8, Resulting Numbers: [69, 8] Generated Node #3: [69, 8] from Operation: 176/22=8 Current State: 61:[69, 8], Operations: ['95+81=176', '176/22=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[95, 81, 22, 69], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [81, 69, 73] Generated Node #0,0: 61:[81, 69, 73] Operation: 95-22=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[81, 69, 73], Operations: ['95-22=73'] Exploring Operation: 81-69=12, Resulting Numbers: [73, 12] Generated Node #0,0,0: 61:[73, 12] Operation: 81-69=12 Moving to Node #0,0,0 Current State: 61:[73, 12], Operations: ['95-22=73', '81-69=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[95, 81, 22, 69], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [81, 69, 73] Generated Node #0,0: 61:[81, 69, 73] Operation: 95-22=73 Moving to Node #0,0 Current State: 61:[81, 69, 73], Operations: ['95-22=73'] Exploring Operation: 81-69=12, Resulting Numbers: [73, 12] Generated Node #0,0,0: 61:[73, 12] Operation: 81-69=12 Moving to Node #0,0,0 Current State: 61:[73, 12], Operations: ['95-22=73', '81-69=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 8, 70, 99, 98 ]
62
[ "70-8=62", "99-98=1", "62*1=62" ]
Current State: 62:[8, 70, 99, 98], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [99, 98, 62] Generated Node #2: [99, 98, 62] from Operation: 70-8=62 Current State: 62:[99, 98, 62], Operations: ['70-8=62'] Exploring Operation: 99-98=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 99-98=1 Current State: 62:[62, 1], Operations: ['70-8=62', '99-98=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[8, 70, 99, 98], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [8, 70, 1] Generated Node #0,0: 62:[8, 70, 1] Operation: 99-98=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[8, 70, 1], Operations: ['99-98=1'] Exploring Operation: 70-8=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 62:[1, 62] Operation: 70-8=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[1, 62], Operations: ['99-98=1', '70-8=62'] Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[8, 70, 99, 98], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [8, 70, 1] Generated Node #0,0: 62:[8, 70, 1] Operation: 99-98=1 Moving to Node #0,0 Current State: 62:[8, 70, 1], Operations: ['99-98=1'] Exploring Operation: 70-8=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 62:[1, 62] Operation: 70-8=62 Moving to Node #0,0,0 Current State: 62:[1, 62], Operations: ['99-98=1', '70-8=62'] Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 45, 45, 48, 48 ]
87
[ "48-45=3", "45*3=135", "135-48=87" ]
Current State: 87:[45, 45, 48, 48], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,87 equal: Goal Reached Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,87 equal: Goal Reached Exploring Operation: 135-48=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[45, 45, 48, 48], Operations: [] Exploring Operation: 48/48=1, Resulting Numbers: [45, 45, 1] Generated Node #0,0: 87:[45, 45, 1] Operation: 48/48=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[45, 45, 1], Operations: ['48/48=1'] Exploring Operation: 45/45=1, Resulting Numbers: [1, 1] Generated Node #0,0,0: 87:[1, 1] Operation: 45/45=1 Moving to Node #0,0,0 Current State: 87:[1, 1], Operations: ['48/48=1', '45/45=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 77, 1, 49 ]
80
[ "52+77=129", "1*49=49", "129-49=80" ]
Current State: 80:[52, 77, 1, 49], Operations: [] Exploring Operation: 52+77=129, Resulting Numbers: [1, 49, 129] Generated Node #2: [1, 49, 129] from Operation: 52+77=129 Current State: 80:[1, 49, 129], Operations: ['52+77=129'] Exploring Operation: 1*49=49, Resulting Numbers: [129, 49] Generated Node #3: [129, 49] from Operation: 1*49=49 Current State: 80:[129, 49], Operations: ['52+77=129', '1*49=49'] Exploring Operation: 129-49=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[52, 77, 1, 49], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [77, 1, 3] Generated Node #0,0: 80:[77, 1, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 80:[77, 1, 3], Operations: ['52-49=3'] Exploring Operation: 77+3=80, Resulting Numbers: [1, 80] Generated Node #0,0,0: 80:[1, 80] Operation: 77+3=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[1, 80], Operations: ['52-49=3', '77+3=80'] Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[52, 77, 1, 49], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [77, 1, 3] Generated Node #0,0: 80:[77, 1, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 80:[77, 1, 3], Operations: ['52-49=3'] Exploring Operation: 77+3=80, Resulting Numbers: [1, 80] Generated Node #0,0,0: 80:[1, 80] Operation: 77+3=80 Moving to Node #0,0,0 Current State: 80:[1, 80], Operations: ['52-49=3', '77+3=80'] Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 92, 14, 51, 4 ]
23
[ "92-14=78", "51+4=55", "78-55=23" ]
Current State: 23:[92, 14, 51, 4], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [51, 4, 78] Generated Node #2: [51, 4, 78] from Operation: 92-14=78 Current State: 23:[51, 4, 78], Operations: ['92-14=78'] Exploring Operation: 51+4=55, Resulting Numbers: [78, 55] Generated Node #3: [78, 55] from Operation: 51+4=55 Current State: 23:[78, 55], Operations: ['92-14=78', '51+4=55'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[92, 14, 51, 4], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [14, 4, 41] Generated Node #0,0: 23:[14, 4, 41] Operation: 92-51=41 Exploring Operation: 92-4=88, Resulting Numbers: [14, 51, 88] Generated Node #0,1: 23:[14, 51, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [14, 51, 23] Generated Node #0,2: 23:[14, 51, 23] Operation: 92/4=23 Exploring Operation: 51-14=37, Resulting Numbers: [92, 4, 37] Generated Node #0,3: 23:[92, 4, 37] Operation: 51-14=37 Exploring Operation: 92-14=78, Resulting Numbers: [51, 4, 78] Generated Node #0,4: 23:[51, 4, 78] Operation: 92-14=78 Moving to Node #0,2 Current State: 23:[14, 51, 23], Operations: ['92/4=23'] Exploring Operation: 14+51=65, Resulting Numbers: [23, 65] Generated Node #0,2,0: 23:[23, 65] Operation: 14+51=65 Exploring Operation: 14+23=37, Resulting Numbers: [51, 37] Generated Node #0,2,1: 23:[51, 37] Operation: 14+23=37 Exploring Operation: 51-14=37, Resulting Numbers: [23, 37] Generated Node #0,2,2: 23:[23, 37] Operation: 51-14=37 Exploring Operation: 51-23=28, Resulting Numbers: [14, 28] Generated Node #0,2,3: 23:[14, 28] Operation: 51-23=28 Exploring Operation: 23-14=9, Resulting Numbers: [51, 9] Generated Node #0,2,4: 23:[51, 9] Operation: 23-14=9 Moving to Node #0,0 Current State: 23:[14, 4, 41], Operations: ['92-51=41'] Exploring Operation: 4+41=45, Resulting Numbers: [14, 45] Generated Node #0,0,0: 23:[14, 45] Operation: 4+41=45 Exploring Operation: 14-4=10, Resulting Numbers: [41, 10] Generated Node #0,0,1: 23:[41, 10] Operation: 14-4=10 Exploring Operation: 41-14=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 23:[4, 27] Operation: 41-14=27 Exploring Operation: 41-4=37, Resulting Numbers: [14, 37] Generated Node #0,0,3: 23:[14, 37] Operation: 41-4=37 Exploring Operation: 14+4=18, Resulting Numbers: [41, 18] Generated Node #0,0,4: 23:[41, 18] Operation: 14+4=18 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[4, 27], Operations: ['92-51=41', '41-14=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,23 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[92, 14, 51, 4], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [14, 4, 41] Generated Node #0,0: 23:[14, 4, 41] Operation: 92-51=41 Moving to Node #0,0 Current State: 23:[14, 4, 41], Operations: ['92-51=41'] Exploring Operation: 41-14=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 23:[4, 27] Operation: 41-14=27 Moving to Node #0,0,2 Current State: 23:[4, 27], Operations: ['92-51=41', '41-14=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 9, 93, 17, 12 ]
55
[ "93-9=84", "17+12=29", "84-29=55" ]
Current State: 55:[9, 93, 17, 12], Operations: [] Exploring Operation: 93-9=84, Resulting Numbers: [17, 12, 84] Generated Node #2: [17, 12, 84] from Operation: 93-9=84 Current State: 55:[17, 12, 84], Operations: ['93-9=84'] Exploring Operation: 17+12=29, Resulting Numbers: [84, 29] Generated Node #3: [84, 29] from Operation: 17+12=29 Current State: 55:[84, 29], Operations: ['93-9=84', '17+12=29'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[9, 93, 17, 12], Operations: [] Exploring Operation: 93-17=76, Resulting Numbers: [9, 12, 76] Generated Node #0,0: 55:[9, 12, 76] Operation: 93-17=76 Exploring Operation: 93-9=84, Resulting Numbers: [17, 12, 84] Generated Node #0,1: 55:[17, 12, 84] Operation: 93-9=84 Exploring Operation: 93-12=81, Resulting Numbers: [9, 17, 81] Generated Node #0,2: 55:[9, 17, 81] Operation: 93-12=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[9, 12, 76], Operations: ['93-17=76'] Exploring Operation: 76-9=67, Resulting Numbers: [12, 67] Generated Node #0,0,0: 55:[12, 67] Operation: 76-9=67 Exploring Operation: 12-9=3, Resulting Numbers: [76, 3] Generated Node #0,0,1: 55:[76, 3] Operation: 12-9=3 Exploring Operation: 76-12=64, Resulting Numbers: [9, 64] Generated Node #0,0,2: 55:[9, 64] Operation: 76-12=64 Moving to Node #0,0,2 Current State: 55:[9, 64], Operations: ['93-17=76', '76-12=64'] Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,55 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[9, 93, 17, 12], Operations: [] Exploring Operation: 93-17=76, Resulting Numbers: [9, 12, 76] Generated Node #0,0: 55:[9, 12, 76] Operation: 93-17=76 Moving to Node #0,0 Current State: 55:[9, 12, 76], Operations: ['93-17=76'] Exploring Operation: 76-12=64, Resulting Numbers: [9, 64] Generated Node #0,0,2: 55:[9, 64] Operation: 76-12=64 Moving to Node #0,0,2 Current State: 55:[9, 64], Operations: ['93-17=76', '76-12=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 14, 43, 27, 40 ]
69
[ "43-40=3", "14*3=42", "27+42=69" ]
Current State: 69:[14, 43, 27, 40], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [14, 27, 3] Generated Node #2: [14, 27, 3] from Operation: 43-40=3 Current State: 69:[14, 27, 3], Operations: ['43-40=3'] Exploring Operation: 14*3=42, Resulting Numbers: [27, 42] Generated Node #3: [27, 42] from Operation: 14*3=42 Current State: 69:[27, 42], Operations: ['43-40=3', '14*3=42'] Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[14, 43, 27, 40], Operations: [] Exploring Operation: 43+27=70, Resulting Numbers: [14, 40, 70] Generated Node #0,0: 69:[14, 40, 70] Operation: 43+27=70 Exploring Operation: 40-14=26, Resulting Numbers: [43, 27, 26] Generated Node #0,1: 69:[43, 27, 26] Operation: 40-14=26 Exploring Operation: 43-14=29, Resulting Numbers: [27, 40, 29] Generated Node #0,2: 69:[27, 40, 29] Operation: 43-14=29 Exploring Operation: 43-40=3, Resulting Numbers: [14, 27, 3] Generated Node #0,3: 69:[14, 27, 3] Operation: 43-40=3 Moving to Node #0,3 Current State: 69:[14, 27, 3], Operations: ['43-40=3'] Exploring Operation: 14+3=17, Resulting Numbers: [27, 17] Generated Node #0,3,0: 69:[27, 17] Operation: 14+3=17 Exploring Operation: 27-3=24, Resulting Numbers: [14, 24] Generated Node #0,3,1: 69:[14, 24] Operation: 27-3=24 Exploring Operation: 14-3=11, Resulting Numbers: [27, 11] Generated Node #0,3,2: 69:[27, 11] Operation: 14-3=11 Exploring Operation: 27-14=13, Resulting Numbers: [3, 13] Generated Node #0,3,3: 69:[3, 13] Operation: 27-14=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[27, 17], Operations: ['43-40=3', '14+3=17'] Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,69 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,69 unequal: No Solution No 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: 69:[14, 24], Operations: ['43-40=3', '27-3=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,69 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,69 unequal: No Solution No 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: 69:[3, 13], Operations: ['43-40=3', '27-14=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,69 unequal: No Solution No 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: 69:[27, 11], Operations: ['43-40=3', '14-3=11'] Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,69 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,69 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: 69:[43, 27, 26], Operations: ['40-14=26'] Exploring Operation: 43-26=17, Resulting Numbers: [27, 17] Generated Node #0,1,0: 69:[27, 17] Operation: 43-26=17 Exploring Operation: 43+26=69, Resulting Numbers: [27, 69] Generated Node #0,1,1: 69:[27, 69] Operation: 43+26=69 Exploring Operation: 43+27=70, Resulting Numbers: [26, 70] Generated Node #0,1,2: 69:[26, 70] Operation: 43+27=70 Exploring Operation: 43-27=16, Resulting Numbers: [26, 16] Generated Node #0,1,3: 69:[26, 16] Operation: 43-27=16 Moving to Node #0,0 Current State: 69:[14, 40, 70], Operations: ['43+27=70'] Exploring Operation: 70/14=5, Resulting Numbers: [40, 5] Generated Node #0,0,0: 69:[40, 5] Operation: 70/14=5 Exploring Operation: 14+40=54, Resulting Numbers: [70, 54] Generated Node #0,0,1: 69:[70, 54] Operation: 14+40=54 Exploring Operation: 70-40=30, Resulting Numbers: [14, 30] Generated Node #0,0,2: 69:[14, 30] Operation: 70-40=30 Exploring Operation: 40-14=26, Resulting Numbers: [70, 26] Generated Node #0,0,3: 69:[70, 26] Operation: 40-14=26 Moving to Node #0,2 Current State: 69:[27, 40, 29], Operations: ['43-14=29'] Exploring Operation: 40-29=11, Resulting Numbers: [27, 11] Generated Node #0,2,0: 69:[27, 11] Operation: 40-29=11 Exploring Operation: 27+40=67, Resulting Numbers: [29, 67] Generated Node #0,2,1: 69:[29, 67] Operation: 27+40=67 Exploring Operation: 40+29=69, Resulting Numbers: [27, 69] Generated Node #0,2,2: 69:[27, 69] Operation: 40+29=69 Exploring Operation: 40-27=13, Resulting Numbers: [29, 13] Generated Node #0,2,3: 69:[29, 13] Operation: 40-27=13 Moving to Node #0,1,1 Current State: 69:[27, 69], Operations: ['40-14=26', '43+26=69'] Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,69 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[26, 70], Operations: ['40-14=26', '43+27=70'] Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 26*70=1820, Resulting Numbers: [1820] 1820,69 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[70, 26], Operations: ['43+27=70', '40-14=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,69 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[27, 69], Operations: ['43-14=29', '40+29=69'] Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,69 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[29, 67], Operations: ['43-14=29', '27+40=67'] Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,69 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[27, 17], Operations: ['40-14=26', '43-26=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[26, 16], Operations: ['40-14=26', '43-27=16'] Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[27, 11], Operations: ['43-14=29', '40-29=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,69 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[14, 30], Operations: ['43+27=70', '70-40=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,69 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[70, 54], Operations: ['43+27=70', '14+40=54'] Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,69 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[29, 13], Operations: ['43-14=29', '40-27=13'] Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,69 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[40, 5], Operations: ['43+27=70', '70/14=5'] Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,69 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,69 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 37, 53, 52, 75 ]
67
[ "37+53=90", "75-52=23", "90-23=67" ]
Current State: 67:[37, 53, 52, 75], Operations: [] Exploring Operation: 37+53=90, Resulting Numbers: [52, 75, 90] Generated Node #2: [52, 75, 90] from Operation: 37+53=90 Current State: 67:[52, 75, 90], Operations: ['37+53=90'] Exploring Operation: 75-52=23, Resulting Numbers: [90, 23] Generated Node #3: [90, 23] from Operation: 75-52=23 Current State: 67:[90, 23], Operations: ['37+53=90', '75-52=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[37, 53, 52, 75], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [53, 52, 38] Generated Node #0,0: 67:[53, 52, 38] Operation: 75-37=38 Exploring Operation: 37+53=90, Resulting Numbers: [52, 75, 90] Generated Node #0,1: 67:[52, 75, 90] Operation: 37+53=90 Exploring Operation: 37+52=89, Resulting Numbers: [53, 75, 89] Generated Node #0,2: 67:[53, 75, 89] Operation: 37+52=89 Exploring Operation: 53-37=16, Resulting Numbers: [52, 75, 16] Generated Node #0,3: 67:[52, 75, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[53, 75, 89], Operations: ['37+52=89'] Exploring Operation: 75-53=22, Resulting Numbers: [89, 22] Generated Node #0,2,0: 67:[89, 22] Operation: 75-53=22 Exploring Operation: 89-53=36, Resulting Numbers: [75, 36] Generated Node #0,2,1: 67:[75, 36] Operation: 89-53=36 Exploring Operation: 53+75=128, Resulting Numbers: [89, 128] Generated Node #0,2,2: 67:[89, 128] Operation: 53+75=128 Exploring Operation: 89-75=14, Resulting Numbers: [53, 14] Generated Node #0,2,3: 67:[53, 14] Operation: 89-75=14 Moving to Node #0,2,1 Current State: 67:[75, 36], Operations: ['37+52=89', '89-53=36'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[53, 14], Operations: ['37+52=89', '89-75=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,67 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[37, 53, 52, 75], Operations: [] Exploring Operation: 37+52=89, Resulting Numbers: [53, 75, 89] Generated Node #0,2: 67:[53, 75, 89] Operation: 37+52=89 Moving to Node #0,2 Current State: 67:[53, 75, 89], Operations: ['37+52=89'] Exploring Operation: 89-75=14, Resulting Numbers: [53, 14] Generated Node #0,2,3: 67:[53, 14] Operation: 89-75=14 Moving to Node #0,2,3 Current State: 67:[53, 14], Operations: ['37+52=89', '89-75=14'] Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 6, 53, 8, 59 ]
96
[ "53-6=47", "59-47=12", "8*12=96" ]
Current State: 96:[6, 53, 8, 59], Operations: [] Exploring Operation: 53-6=47, Resulting Numbers: [8, 59, 47] Generated Node #2: [8, 59, 47] from Operation: 53-6=47 Current State: 96:[8, 59, 47], Operations: ['53-6=47'] Exploring Operation: 59-47=12, Resulting Numbers: [8, 12] Generated Node #3: [8, 12] from Operation: 59-47=12 Current State: 96:[8, 12], Operations: ['53-6=47', '59-47=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 53, 8, 59], Operations: [] Exploring Operation: 59-6=53, Resulting Numbers: [53, 8, 53] Generated Node #0,0: 96:[53, 8, 53] Operation: 59-6=53 Exploring Operation: 53-6=47, Resulting Numbers: [8, 59, 47] Generated Node #0,1: 96:[8, 59, 47] Operation: 53-6=47 Exploring Operation: 59-8=51, Resulting Numbers: [6, 53, 51] Generated Node #0,2: 96:[6, 53, 51] Operation: 59-8=51 Exploring Operation: 59-53=6, Resulting Numbers: [6, 8, 6] Generated Node #0,3: 96:[6, 8, 6] Operation: 59-53=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[6, 8, 6], Operations: ['59-53=6'] Exploring Operation: 8*6=48, Resulting Numbers: [6, 48] Generated Node #0,3,0: 96:[6, 48] Operation: 8*6=48 Exploring Operation: 6*8=48, Resulting Numbers: [6, 48] Generated Node #0,3,1: 96:[6, 48] Operation: 6*8=48 Exploring Operation: 8-6=2, Resulting Numbers: [6, 2] Generated Node #0,3,2: 96:[6, 2] Operation: 8-6=2 Exploring Operation: 6+6=12, Resulting Numbers: [8, 12] Generated Node #0,3,3: 96:[8, 12] Operation: 6+6=12 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[6, 48], Operations: ['59-53=6', '8*6=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,96 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,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,3,1 Current State: 96:[6, 48], Operations: ['59-53=6', '6*8=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,96 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,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,3,2 Current State: 96:[6, 2], Operations: ['59-53=6', '8-6=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,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,3,3 Current State: 96:[8, 12], Operations: ['59-53=6', '6+6=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[6, 53, 8, 59], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [6, 8, 6] Generated Node #0,3: 96:[6, 8, 6] Operation: 59-53=6 Moving to Node #0,3 Current State: 96:[6, 8, 6], Operations: ['59-53=6'] Exploring Operation: 6+6=12, Resulting Numbers: [8, 12] Generated Node #0,3,3: 96:[8, 12] Operation: 6+6=12 Moving to Node #0,3,3 Current State: 96:[8, 12], Operations: ['59-53=6', '6+6=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 19, 62, 2, 27 ]
72
[ "62-19=43", "2+27=29", "43+29=72" ]
Current State: 72:[19, 62, 2, 27], Operations: [] Exploring Operation: 62-19=43, Resulting Numbers: [2, 27, 43] Generated Node #2: [2, 27, 43] from Operation: 62-19=43 Current State: 72:[2, 27, 43], Operations: ['62-19=43'] Exploring Operation: 2+27=29, Resulting Numbers: [43, 29] Generated Node #3: [43, 29] from Operation: 2+27=29 Current State: 72:[43, 29], Operations: ['62-19=43', '2+27=29'] Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[19, 62, 2, 27], Operations: [] Exploring Operation: 62-27=35, Resulting Numbers: [19, 2, 35] Generated Node #0,0: 72:[19, 2, 35] Operation: 62-27=35 Exploring Operation: 62/2=31, Resulting Numbers: [19, 27, 31] Generated Node #0,1: 72:[19, 27, 31] Operation: 62/2=31 Moving to Node #0,0 Current State: 72:[19, 2, 35], Operations: ['62-27=35'] Exploring Operation: 35-19=16, Resulting Numbers: [2, 16] Generated Node #0,0,0: 72:[2, 16] Operation: 35-19=16 Exploring Operation: 19-2=17, Resulting Numbers: [35, 17] Generated Node #0,0,1: 72:[35, 17] Operation: 19-2=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[2, 16], Operations: ['62-27=35', '35-19=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,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,1 Current State: 72:[35, 17], Operations: ['62-27=35', '19-2=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,72 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: 72:[19, 27, 31], Operations: ['62/2=31'] Exploring Operation: 31-27=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 72:[19, 4] Operation: 31-27=4 Exploring Operation: 31-19=12, Resulting Numbers: [27, 12] Generated Node #0,1,1: 72:[27, 12] Operation: 31-19=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[19, 4], Operations: ['62/2=31', '31-27=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[27, 12], Operations: ['62/2=31', '31-19=12'] Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,72 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
[ 38, 24, 21, 51 ]
58
[ "38-24=14", "21+51=72", "72-14=58" ]
Current State: 58:[38, 24, 21, 51], Operations: [] Exploring Operation: 38-24=14, Resulting Numbers: [21, 51, 14] Generated Node #2: [21, 51, 14] from Operation: 38-24=14 Current State: 58:[21, 51, 14], Operations: ['38-24=14'] Exploring Operation: 21+51=72, Resulting Numbers: [14, 72] Generated Node #3: [14, 72] from Operation: 21+51=72 Current State: 58:[14, 72], Operations: ['38-24=14', '21+51=72'] Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[38, 24, 21, 51], Operations: [] Exploring Operation: 38+24=62, Resulting Numbers: [21, 51, 62] Generated Node #0,0: 58:[21, 51, 62] Operation: 38+24=62 Exploring Operation: 38+21=59, Resulting Numbers: [24, 51, 59] Generated Node #0,1: 58:[24, 51, 59] Operation: 38+21=59 Exploring Operation: 24-21=3, Resulting Numbers: [38, 51, 3] Generated Node #0,2: 58:[38, 51, 3] Operation: 24-21=3 Exploring Operation: 51-21=30, Resulting Numbers: [38, 24, 30] Generated Node #0,3: 58:[38, 24, 30] Operation: 51-21=30 Moving to Node #0,1 Current State: 58:[24, 51, 59], Operations: ['38+21=59'] Exploring Operation: 24+51=75, Resulting Numbers: [59, 75] Generated Node #0,1,0: 58:[59, 75] Operation: 24+51=75 Exploring Operation: 59-24=35, Resulting Numbers: [51, 35] Generated Node #0,1,1: 58:[51, 35] Operation: 59-24=35 Exploring Operation: 59-51=8, Resulting Numbers: [24, 8] Generated Node #0,1,2: 58:[24, 8] Operation: 59-51=8 Exploring Operation: 51-24=27, Resulting Numbers: [59, 27] Generated Node #0,1,3: 58:[59, 27] Operation: 51-24=27 Moving to Node #0,3 Current State: 58:[38, 24, 30], Operations: ['51-21=30'] Exploring Operation: 24+30=54, Resulting Numbers: [38, 54] Generated Node #0,3,0: 58:[38, 54] Operation: 24+30=54 Exploring Operation: 38-24=14, Resulting Numbers: [30, 14] Generated Node #0,3,1: 58:[30, 14] Operation: 38-24=14 Exploring Operation: 38+24=62, Resulting Numbers: [30, 62] Generated Node #0,3,2: 58:[30, 62] Operation: 38+24=62 Exploring Operation: 38-30=8, Resulting Numbers: [24, 8] Generated Node #0,3,3: 58:[24, 8] Operation: 38-30=8 Moving to Node #0,2 Current State: 58:[38, 51, 3], Operations: ['24-21=3'] Exploring Operation: 51-38=13, Resulting Numbers: [3, 13] Generated Node #0,2,0: 58:[3, 13] Operation: 51-38=13 Exploring Operation: 38+3=41, Resulting Numbers: [51, 41] Generated Node #0,2,1: 58:[51, 41] Operation: 38+3=41 Exploring Operation: 51+3=54, Resulting Numbers: [38, 54] Generated Node #0,2,2: 58:[38, 54] Operation: 51+3=54 Exploring Operation: 38-3=35, Resulting Numbers: [51, 35] Generated Node #0,2,3: 58:[51, 35] Operation: 38-3=35 Moving to Node #0,0 Current State: 58:[21, 51, 62], Operations: ['38+24=62'] Exploring Operation: 62-51=11, Resulting Numbers: [21, 11] Generated Node #0,0,0: 58:[21, 11] Operation: 62-51=11 Exploring Operation: 21+51=72, Resulting Numbers: [62, 72] Generated Node #0,0,1: 58:[62, 72] Operation: 21+51=72 Exploring Operation: 62-21=41, Resulting Numbers: [51, 41] Generated Node #0,0,2: 58:[51, 41] Operation: 62-21=41 Exploring Operation: 51-21=30, Resulting Numbers: [62, 30] Generated Node #0,0,3: 58:[62, 30] Operation: 51-21=30 Moving to Node #0,1,3 Current State: 58:[59, 27], Operations: ['38+21=59', '51-24=27'] Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,58 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[62, 30], Operations: ['38+24=62', '51-21=30'] Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 62+30=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 62*30=1860, Resulting Numbers: [1860] 1860,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[30, 62], Operations: ['51-21=30', '38+24=62'] Exploring Operation: 30+62=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 30*62=1860, Resulting Numbers: [1860] 1860,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[24, 8], Operations: ['51-21=30', '38-30=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[24, 8], Operations: ['38+21=59', '59-51=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,58 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[3, 13], Operations: ['24-21=3', '51-38=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[38, 54], Operations: ['51-21=30', '24+30=54'] Exploring Operation: 38*54=2052, Resulting Numbers: [2052] 2052,58 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 38+54=92, Resulting Numbers: [92] 92,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[51, 35], Operations: ['38+21=59', '59-24=35'] Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,58 unequal: No Solution Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[51, 35], Operations: ['24-21=3', '38-3=35'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,58 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[38, 54], Operations: ['24-21=3', '51+3=54'] Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 38*54=2052, Resulting Numbers: [2052] 2052,58 unequal: No Solution Exploring Operation: 38+54=92, Resulting Numbers: [92] 92,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[30, 14], Operations: ['51-21=30', '38-24=14'] Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,58 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[21, 11], Operations: ['38+24=62', '62-51=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[62, 72], Operations: ['38+24=62', '21+51=72'] Exploring Operation: 62*72=4464, Resulting Numbers: [4464] 4464,58 unequal: No Solution Exploring Operation: 62+72=134, Resulting Numbers: [134] 134,58 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[59, 75], Operations: ['38+21=59', '24+51=75'] Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,58 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,58 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[51, 41], Operations: ['24-21=3', '38+3=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[51, 41], Operations: ['38+24=62', '62-21=41'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,58 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 60, 22, 36, 42 ]
76
[ "60+22=82", "42-36=6", "82-6=76" ]
Current State: 76:[60, 22, 36, 42], Operations: [] Exploring Operation: 60+22=82, Resulting Numbers: [36, 42, 82] Generated Node #2: [36, 42, 82] from Operation: 60+22=82 Current State: 76:[36, 42, 82], Operations: ['60+22=82'] Exploring Operation: 42-36=6, Resulting Numbers: [82, 6] Generated Node #3: [82, 6] from Operation: 42-36=6 Current State: 76:[82, 6], Operations: ['60+22=82', '42-36=6'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[60, 22, 36, 42], Operations: [] Exploring Operation: 60-22=38, Resulting Numbers: [36, 42, 38] Generated Node #0,0: 76:[36, 42, 38] Operation: 60-22=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[36, 42, 38], Operations: ['60-22=38'] Exploring Operation: 36+42=78, Resulting Numbers: [38, 78] Generated Node #0,0,0: 76:[38, 78] Operation: 36+42=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[38, 78], Operations: ['60-22=38', '36+42=78'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 68, 78, 9, 65 ]
64
[ "78-68=10", "9+65=74", "74-10=64" ]
Current State: 64:[68, 78, 9, 65], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [9, 65, 10] Generated Node #2: [9, 65, 10] from Operation: 78-68=10 Current State: 64:[9, 65, 10], Operations: ['78-68=10'] Exploring Operation: 9+65=74, Resulting Numbers: [10, 74] Generated Node #3: [10, 74] from Operation: 9+65=74 Current State: 64:[10, 74], Operations: ['78-68=10', '9+65=74'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[68, 78, 9, 65], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [9, 65, 10] Generated Node #0,0: 64:[9, 65, 10] Operation: 78-68=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[9, 65, 10], Operations: ['78-68=10'] Exploring Operation: 10-9=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 64:[65, 1] Operation: 10-9=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[65, 1], Operations: ['78-68=10', '10-9=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[68, 78, 9, 65], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [9, 65, 10] Generated Node #0,0: 64:[9, 65, 10] Operation: 78-68=10 Moving to Node #0,0 Current State: 64:[9, 65, 10], Operations: ['78-68=10'] Exploring Operation: 10-9=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 64:[65, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 64:[65, 1], Operations: ['78-68=10', '10-9=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 79, 5, 67, 45 ]
79
[ "79+67=146", "5*45=225", "225-146=79" ]
Current State: 79:[79, 5, 67, 45], Operations: [] Exploring Operation: 79+67=146, Resulting Numbers: [5, 45, 146] Generated Node #2: [5, 45, 146] from Operation: 79+67=146 Current State: 79:[5, 45, 146], Operations: ['79+67=146'] Exploring Operation: 5*45=225, Resulting Numbers: [146, 225] Generated Node #3: [146, 225] from Operation: 5*45=225 Current State: 79:[146, 225], Operations: ['79+67=146', '5*45=225'] Exploring Operation: 225-146=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[79, 5, 67, 45], Operations: [] Exploring Operation: 5+45=50, Resulting Numbers: [79, 67, 50] Generated Node #0,0: 79:[79, 67, 50] Operation: 5+45=50 Exploring Operation: 5+67=72, Resulting Numbers: [79, 45, 72] Generated Node #0,1: 79:[79, 45, 72] Operation: 5+67=72 Exploring Operation: 79-5=74, Resulting Numbers: [67, 45, 74] Generated Node #0,2: 79:[67, 45, 74] Operation: 79-5=74 Exploring Operation: 67-5=62, Resulting Numbers: [79, 45, 62] Generated Node #0,3: 79:[79, 45, 62] Operation: 67-5=62 Exploring Operation: 79+5=84, Resulting Numbers: [67, 45, 84] Generated Node #0,4: 79:[67, 45, 84] Operation: 79+5=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[79, 67, 50], Operations: ['5+45=50'] Exploring Operation: 79-50=29, Resulting Numbers: [67, 29] Generated Node #0,0,0: 79:[67, 29] Operation: 79-50=29 Exploring Operation: 67-50=17, Resulting Numbers: [79, 17] Generated Node #0,0,1: 79:[79, 17] Operation: 67-50=17 Exploring Operation: 79+50=129, Resulting Numbers: [67, 129] Generated Node #0,0,2: 79:[67, 129] Operation: 79+50=129 Exploring Operation: 79+67=146, Resulting Numbers: [50, 146] Generated Node #0,0,3: 79:[50, 146] Operation: 79+67=146 Exploring Operation: 67+50=117, Resulting Numbers: [79, 117] Generated Node #0,0,4: 79:[79, 117] Operation: 67+50=117 Moving to Node #0,0,4 Current State: 79:[79, 117], Operations: ['5+45=50', '67+50=117'] Exploring Operation: 79*117=9243, Resulting Numbers: [9243] 9243,79 unequal: No Solution Exploring Operation: 79+117=196, Resulting Numbers: [196] 196,79 unequal: No Solution Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[79, 17], Operations: ['5+45=50', '67-50=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,79 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[67, 29], Operations: ['5+45=50', '79-50=29'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,79 unequal: No Solution Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[67, 129], Operations: ['5+45=50', '79+50=129'] Exploring Operation: 67*129=8643, Resulting Numbers: [8643] 8643,79 unequal: No Solution Exploring Operation: 129-67=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 67+129=196, Resulting Numbers: [196] 196,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[50, 146], Operations: ['5+45=50', '79+67=146'] Exploring Operation: 146-50=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 50+146=196, Resulting Numbers: [196] 196,79 unequal: No Solution Exploring Operation: 50*146=7300, Resulting Numbers: [7300] 7300,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[79, 45, 72], Operations: ['5+67=72'] Exploring Operation: 79-45=34, Resulting Numbers: [72, 34] Generated Node #0,1,0: 79:[72, 34] Operation: 79-45=34 Exploring Operation: 45+72=117, Resulting Numbers: [79, 117] Generated Node #0,1,1: 79:[79, 117] Operation: 45+72=117 Exploring Operation: 79+45=124, Resulting Numbers: [72, 124] Generated Node #0,1,2: 79:[72, 124] Operation: 79+45=124 Exploring Operation: 79+72=151, Resulting Numbers: [45, 151] Generated Node #0,1,3: 79:[45, 151] Operation: 79+72=151 Exploring Operation: 72-45=27, Resulting Numbers: [79, 27] Generated Node #0,1,4: 79:[79, 27] Operation: 72-45=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[79, 117], Operations: ['5+67=72', '45+72=117'] Exploring Operation: 79+117=196, Resulting Numbers: [196] 196,79 unequal: No Solution Exploring Operation: 79*117=9243, Resulting Numbers: [9243] 9243,79 unequal: No Solution Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[72, 34], Operations: ['5+67=72', '79-45=34'] Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,79 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[72, 124], Operations: ['5+67=72', '79+45=124'] Exploring Operation: 72*124=8928, Resulting Numbers: [8928] 8928,79 unequal: No Solution Exploring Operation: 124-72=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 72+124=196, Resulting Numbers: [196] 196,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 79:[79, 27], Operations: ['5+67=72', '72-45=27'] Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,79 unequal: No Solution Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[45, 151], Operations: ['5+67=72', '79+72=151'] Exploring Operation: 151-45=106, Resulting Numbers: [106] 106,79 unequal: No Solution Exploring Operation: 45*151=6795, Resulting Numbers: [6795] 6795,79 unequal: No Solution Exploring Operation: 45+151=196, Resulting Numbers: [196] 196,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[67, 45, 74], Operations: ['79-5=74'] Exploring Operation: 45+74=119, Resulting Numbers: [67, 119] Generated Node #0,2,0: 79:[67, 119] Operation: 45+74=119 Exploring Operation: 74-45=29, Resulting Numbers: [67, 29] Generated Node #0,2,1: 79:[67, 29] Operation: 74-45=29 Exploring Operation: 67+74=141, Resulting Numbers: [45, 141] Generated Node #0,2,2: 79:[45, 141] Operation: 67+74=141 Exploring Operation: 67+45=112, Resulting Numbers: [74, 112] Generated Node #0,2,3: 79:[74, 112] Operation: 67+45=112 Exploring Operation: 67-45=22, Resulting Numbers: [74, 22] Generated Node #0,2,4: 79:[74, 22] Operation: 67-45=22 Moving to Node #0,2,3 Current State: 79:[74, 112], Operations: ['79-5=74', '67+45=112'] Exploring Operation: 112-74=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 74+112=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 74*112=8288, Resulting Numbers: [8288] 8288,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[67, 119], Operations: ['79-5=74', '45+74=119'] Exploring Operation: 67*119=7973, Resulting Numbers: [7973] 7973,79 unequal: No Solution Exploring Operation: 67+119=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 119-67=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[67, 29], Operations: ['79-5=74', '74-45=29'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,79 unequal: No Solution Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[74, 22], Operations: ['79-5=74', '67-45=22'] Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[45, 141], Operations: ['79-5=74', '67+74=141'] Exploring Operation: 141-45=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 45*141=6345, Resulting Numbers: [6345] 6345,79 unequal: No Solution Exploring Operation: 45+141=186, Resulting Numbers: [186] 186,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[79, 45, 62], Operations: ['67-5=62'] Exploring Operation: 45+62=107, Resulting Numbers: [79, 107] Generated Node #0,3,0: 79:[79, 107] Operation: 45+62=107 Exploring Operation: 79-45=34, Resulting Numbers: [62, 34] Generated Node #0,3,1: 79:[62, 34] Operation: 79-45=34 Exploring Operation: 79+45=124, Resulting Numbers: [62, 124] Generated Node #0,3,2: 79:[62, 124] Operation: 79+45=124 Exploring Operation: 79+62=141, Resulting Numbers: [45, 141] Generated Node #0,3,3: 79:[45, 141] Operation: 79+62=141 Exploring Operation: 62-45=17, Resulting Numbers: [79, 17] Generated Node #0,3,4: 79:[79, 17] Operation: 62-45=17 Moving to Node #0,3,0 Current State: 79:[79, 107], Operations: ['67-5=62', '45+62=107'] Exploring Operation: 107-79=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 79+107=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 79*107=8453, Resulting Numbers: [8453] 8453,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[62, 124], Operations: ['67-5=62', '79+45=124'] Exploring Operation: 62*124=7688, Resulting Numbers: [7688] 7688,79 unequal: No Solution Exploring Operation: 124/62=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 124-62=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 62+124=186, Resulting Numbers: [186] 186,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[62, 34], Operations: ['67-5=62', '79-45=34'] Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,79 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[79, 17], Operations: ['67-5=62', '62-45=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,79 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[45, 141], Operations: ['67-5=62', '79+62=141'] Exploring Operation: 45*141=6345, Resulting Numbers: [6345] 6345,79 unequal: No Solution Exploring Operation: 141-45=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 45+141=186, Resulting Numbers: [186] 186,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[67, 45, 84], Operations: ['79+5=84'] Exploring Operation: 84-67=17, Resulting Numbers: [45, 17] Generated Node #0,4,0: 79:[45, 17] Operation: 84-67=17 Exploring Operation: 67-45=22, Resulting Numbers: [84, 22] Generated Node #0,4,1: 79:[84, 22] Operation: 67-45=22 Exploring Operation: 45+84=129, Resulting Numbers: [67, 129] Generated Node #0,4,2: 79:[67, 129] Operation: 45+84=129 Exploring Operation: 67+45=112, Resulting Numbers: [84, 112] Generated Node #0,4,3: 79:[84, 112] Operation: 67+45=112 Exploring Operation: 84-45=39, Resulting Numbers: [67, 39] Generated Node #0,4,4: 79:[67, 39] Operation: 84-45=39 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 79:[84, 112], Operations: ['79+5=84', '67+45=112'] Exploring Operation: 112-84=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 84+112=196, Resulting Numbers: [196] 196,79 unequal: No Solution Exploring Operation: 84*112=9408, Resulting Numbers: [9408] 9408,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 79:[67, 39], Operations: ['79+5=84', '84-45=39'] Exploring Operation: 67*39=2613, Resulting Numbers: [2613] 2613,79 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 79:[84, 22], Operations: ['79+5=84', '67-45=22'] Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,79 unequal: No Solution Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 79:[67, 129], Operations: ['79+5=84', '45+84=129'] Exploring Operation: 67*129=8643, Resulting Numbers: [8643] 8643,79 unequal: No Solution Exploring Operation: 129-67=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 67+129=196, Resulting Numbers: [196] 196,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 79:[45, 17], Operations: ['79+5=84', '84-67=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 34, 87, 89 ]
12
[ "89-87=2", "34/2=17", "17-5=12" ]
Current State: 12:[5, 34, 87, 89], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [5, 34, 2] Generated Node #2: [5, 34, 2] from Operation: 89-87=2 Current State: 12:[5, 34, 2], Operations: ['89-87=2'] Exploring Operation: 34/2=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 34/2=17 Current State: 12:[5, 17], Operations: ['89-87=2', '34/2=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 34, 87, 89], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [5, 34, 2] Generated Node #0,0: 12:[5, 34, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 12:[5, 34, 2], Operations: ['89-87=2'] Exploring Operation: 34/2=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 12:[5, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[5, 17], Operations: ['89-87=2', '34/2=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[5, 34, 87, 89], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [5, 34, 2] Generated Node #0,0: 12:[5, 34, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 12:[5, 34, 2], Operations: ['89-87=2'] Exploring Operation: 34/2=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 12:[5, 17] Operation: 34/2=17 Moving to Node #0,0,0 Current State: 12:[5, 17], Operations: ['89-87=2', '34/2=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 1, 65, 57, 94 ]
86
[ "1*65=65", "57+94=151", "151-65=86" ]
Current State: 86:[1, 65, 57, 94], Operations: [] Exploring Operation: 1*65=65, Resulting Numbers: [57, 94, 65] Generated Node #2: [57, 94, 65] from Operation: 1*65=65 Current State: 86:[57, 94, 65], Operations: ['1*65=65'] Exploring Operation: 57+94=151, Resulting Numbers: [65, 151] Generated Node #3: [65, 151] from Operation: 57+94=151 Current State: 86:[65, 151], Operations: ['1*65=65', '57+94=151'] Exploring Operation: 151-65=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[1, 65, 57, 94], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [1, 94, 8] Generated Node #0,0: 86:[1, 94, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[1, 94, 8], Operations: ['65-57=8'] Exploring Operation: 94-8=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 86:[1, 86] Operation: 94-8=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[1, 86], Operations: ['65-57=8', '94-8=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[1, 65, 57, 94], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [1, 94, 8] Generated Node #0,0: 86:[1, 94, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 86:[1, 94, 8], Operations: ['65-57=8'] Exploring Operation: 94-8=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 86:[1, 86] Operation: 94-8=86 Moving to Node #0,0,0 Current State: 86:[1, 86], Operations: ['65-57=8', '94-8=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 29, 27, 57 ]
18
[ "29-17=12", "57-27=30", "30-12=18" ]
Current State: 18:[17, 29, 27, 57], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [27, 57, 12] Generated Node #2: [27, 57, 12] from Operation: 29-17=12 Current State: 18:[27, 57, 12], Operations: ['29-17=12'] Exploring Operation: 57-27=30, Resulting Numbers: [12, 30] Generated Node #3: [12, 30] from Operation: 57-27=30 Current State: 18:[12, 30], Operations: ['29-17=12', '57-27=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[17, 29, 27, 57], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [17, 57, 2] Generated Node #0,0: 18:[17, 57, 2] Operation: 29-27=2 Exploring Operation: 57-29=28, Resulting Numbers: [17, 27, 28] Generated Node #0,1: 18:[17, 27, 28] Operation: 57-29=28 Exploring Operation: 57-27=30, Resulting Numbers: [17, 29, 30] Generated Node #0,2: 18:[17, 29, 30] Operation: 57-27=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[17, 27, 28], Operations: ['57-29=28'] Exploring Operation: 28-17=11, Resulting Numbers: [27, 11] Generated Node #0,1,0: 18:[27, 11] Operation: 28-17=11 Exploring Operation: 28-27=1, Resulting Numbers: [17, 1] Generated Node #0,1,1: 18:[17, 1] Operation: 28-27=1 Exploring Operation: 27-17=10, Resulting Numbers: [28, 10] Generated Node #0,1,2: 18:[28, 10] Operation: 27-17=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[17, 1], Operations: ['57-29=28', '28-27=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[17, 29, 27, 57], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [17, 27, 28] Generated Node #0,1: 18:[17, 27, 28] Operation: 57-29=28 Moving to Node #0,1 Current State: 18:[17, 27, 28], Operations: ['57-29=28'] Exploring Operation: 28-27=1, Resulting Numbers: [17, 1] Generated Node #0,1,1: 18:[17, 1] Operation: 28-27=1 Moving to Node #0,1,1 Current State: 18:[17, 1], Operations: ['57-29=28', '28-27=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 96, 46, 54, 61 ]
43
[ "96-46=50", "61-54=7", "50-7=43" ]
Current State: 43:[96, 46, 54, 61], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [54, 61, 50] Generated Node #2: [54, 61, 50] from Operation: 96-46=50 Current State: 43:[54, 61, 50], Operations: ['96-46=50'] Exploring Operation: 61-54=7, Resulting Numbers: [50, 7] Generated Node #3: [50, 7] from Operation: 61-54=7 Current State: 43:[50, 7], Operations: ['96-46=50', '61-54=7'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[96, 46, 54, 61], Operations: [] Exploring Operation: 61-54=7, Resulting Numbers: [96, 46, 7] Generated Node #0,0: 43:[96, 46, 7] Operation: 61-54=7 Exploring Operation: 61-46=15, Resulting Numbers: [96, 54, 15] Generated Node #0,1: 43:[96, 54, 15] Operation: 61-46=15 Exploring Operation: 96-46=50, Resulting Numbers: [54, 61, 50] Generated Node #0,2: 43:[54, 61, 50] Operation: 96-46=50 Exploring Operation: 96-54=42, Resulting Numbers: [46, 61, 42] Generated Node #0,3: 43:[46, 61, 42] Operation: 96-54=42 Exploring Operation: 96-61=35, Resulting Numbers: [46, 54, 35] Generated Node #0,4: 43:[46, 54, 35] Operation: 96-61=35 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[46, 61, 42], Operations: ['96-54=42'] Exploring Operation: 61-46=15, Resulting Numbers: [42, 15] Generated Node #0,3,0: 43:[42, 15] Operation: 61-46=15 Exploring Operation: 61-42=19, Resulting Numbers: [46, 19] Generated Node #0,3,1: 43:[46, 19] Operation: 61-42=19 Exploring Operation: 46+42=88, Resulting Numbers: [61, 88] Generated Node #0,3,2: 43:[61, 88] Operation: 46+42=88 Exploring Operation: 46-42=4, Resulting Numbers: [61, 4] Generated Node #0,3,3: 43:[61, 4] Operation: 46-42=4 Exploring Operation: 61+42=103, Resulting Numbers: [46, 103] Generated Node #0,3,4: 43:[46, 103] Operation: 61+42=103 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[46, 19], Operations: ['96-54=42', '61-42=19'] Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,43 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,43 unequal: No Solution No 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: 43:[42, 15], Operations: ['96-54=42', '61-46=15'] Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,43 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,43 unequal: No Solution No 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: 43:[61, 4], Operations: ['96-54=42', '46-42=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,43 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,43 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,43 unequal: No Solution No 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: 43:[61, 88], Operations: ['96-54=42', '46+42=88'] Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,43 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,43 unequal: No Solution No 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: 43:[46, 103], Operations: ['96-54=42', '61+42=103'] Exploring Operation: 46*103=4738, Resulting Numbers: [4738] 4738,43 unequal: No Solution Exploring Operation: 46+103=149, Resulting Numbers: [149] 149,43 unequal: No Solution Exploring Operation: 103-46=57, Resulting Numbers: [57] 57,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 43:[46, 54, 35], Operations: ['96-61=35'] Exploring Operation: 54-46=8, Resulting Numbers: [35, 8] Generated Node #0,4,0: 43:[35, 8] Operation: 54-46=8 Exploring Operation: 46+35=81, Resulting Numbers: [54, 81] Generated Node #0,4,1: 43:[54, 81] Operation: 46+35=81 Exploring Operation: 54-35=19, Resulting Numbers: [46, 19] Generated Node #0,4,2: 43:[46, 19] Operation: 54-35=19 Exploring Operation: 46-35=11, Resulting Numbers: [54, 11] Generated Node #0,4,3: 43:[54, 11] Operation: 46-35=11 Exploring Operation: 54+35=89, Resulting Numbers: [46, 89] Generated Node #0,4,4: 43:[46, 89] Operation: 54+35=89 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 43:[46, 19], Operations: ['96-61=35', '54-35=19'] Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,43 unequal: No Solution Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,43 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,43 unequal: No Solution No 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: 43:[35, 8], Operations: ['96-61=35', '54-46=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,43 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[96, 46, 54, 61], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [46, 54, 35] Generated Node #0,4: 43:[46, 54, 35] Operation: 96-61=35 Moving to Node #0,4 Current State: 43:[46, 54, 35], Operations: ['96-61=35'] Exploring Operation: 54-46=8, Resulting Numbers: [35, 8] Generated Node #0,4,0: 43:[35, 8] Operation: 54-46=8 Moving to Node #0,4,0 Current State: 43:[35, 8], Operations: ['96-61=35', '54-46=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 29, 46, 81, 91 ]
65
[ "29+46=75", "91-81=10", "75-10=65" ]
Current State: 65:[29, 46, 81, 91], Operations: [] Exploring Operation: 29+46=75, Resulting Numbers: [81, 91, 75] Generated Node #2: [81, 91, 75] from Operation: 29+46=75 Current State: 65:[81, 91, 75], Operations: ['29+46=75'] Exploring Operation: 91-81=10, Resulting Numbers: [75, 10] Generated Node #3: [75, 10] from Operation: 91-81=10 Current State: 65:[75, 10], Operations: ['29+46=75', '91-81=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[29, 46, 81, 91], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [29, 46, 10] Generated Node #0,0: 65:[29, 46, 10] Operation: 91-81=10 Exploring Operation: 46-29=17, Resulting Numbers: [81, 91, 17] Generated Node #0,1: 65:[81, 91, 17] Operation: 46-29=17 Exploring Operation: 91-29=62, Resulting Numbers: [46, 81, 62] Generated Node #0,2: 65:[46, 81, 62] Operation: 91-29=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[29, 46, 10], Operations: ['91-81=10'] Exploring Operation: 29-10=19, Resulting Numbers: [46, 19] Generated Node #0,0,0: 65:[46, 19] Operation: 29-10=19 Exploring Operation: 29+46=75, Resulting Numbers: [10, 75] Generated Node #0,0,1: 65:[10, 75] Operation: 29+46=75 Exploring Operation: 46-29=17, Resulting Numbers: [10, 17] Generated Node #0,0,2: 65:[10, 17] Operation: 46-29=17 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[10, 17], Operations: ['91-81=10', '46-29=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,65 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[10, 75], Operations: ['91-81=10', '29+46=75'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[29, 46, 81, 91], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [29, 46, 10] Generated Node #0,0: 65:[29, 46, 10] Operation: 91-81=10 Moving to Node #0,0 Current State: 65:[29, 46, 10], Operations: ['91-81=10'] Exploring Operation: 29+46=75, Resulting Numbers: [10, 75] Generated Node #0,0,1: 65:[10, 75] Operation: 29+46=75 Moving to Node #0,0,1 Current State: 65:[10, 75], Operations: ['91-81=10', '29+46=75'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 57, 38, 77, 8 ]
75
[ "57-38=19", "8*19=152", "152-77=75" ]
Current State: 75:[57, 38, 77, 8], Operations: [] Exploring Operation: 57-38=19, Resulting Numbers: [77, 8, 19] Generated Node #2: [77, 8, 19] from Operation: 57-38=19 Current State: 75:[77, 8, 19], Operations: ['57-38=19'] Exploring Operation: 8*19=152, Resulting Numbers: [77, 152] Generated Node #3: [77, 152] from Operation: 8*19=152 Current State: 75:[77, 152], Operations: ['57-38=19', '8*19=152'] Exploring Operation: 152-77=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[57, 38, 77, 8], Operations: [] Exploring Operation: 57-38=19, Resulting Numbers: [77, 8, 19] Generated Node #0,0: 75:[77, 8, 19] Operation: 57-38=19 Exploring Operation: 38-8=30, Resulting Numbers: [57, 77, 30] Generated Node #0,1: 75:[57, 77, 30] Operation: 38-8=30 Exploring Operation: 57+38=95, Resulting Numbers: [77, 8, 95] Generated Node #0,2: 75:[77, 8, 95] Operation: 57+38=95 Exploring Operation: 57+8=65, Resulting Numbers: [38, 77, 65] Generated Node #0,3: 75:[38, 77, 65] Operation: 57+8=65 Exploring Operation: 77-57=20, Resulting Numbers: [38, 8, 20] Generated Node #0,4: 75:[38, 8, 20] Operation: 77-57=20 Moving to Node #0,0 Current State: 75:[77, 8, 19], Operations: ['57-38=19'] Exploring Operation: 19-8=11, Resulting Numbers: [77, 11] Generated Node #0,0,0: 75:[77, 11] Operation: 19-8=11 Exploring Operation: 77-19=58, Resulting Numbers: [8, 58] Generated Node #0,0,1: 75:[8, 58] Operation: 77-19=58 Exploring Operation: 8+19=27, Resulting Numbers: [77, 27] Generated Node #0,0,2: 75:[77, 27] Operation: 8+19=27 Exploring Operation: 77-8=69, Resulting Numbers: [19, 69] Generated Node #0,0,3: 75:[19, 69] Operation: 77-8=69 Exploring Operation: 77+8=85, Resulting Numbers: [19, 85] Generated Node #0,0,4: 75:[19, 85] Operation: 77+8=85 Moving to Node #0,4 Current State: 75:[38, 8, 20], Operations: ['77-57=20'] Exploring Operation: 38-20=18, Resulting Numbers: [8, 18] Generated Node #0,4,0: 75:[8, 18] Operation: 38-20=18 Exploring Operation: 38-8=30, Resulting Numbers: [20, 30] Generated Node #0,4,1: 75:[20, 30] Operation: 38-8=30 Exploring Operation: 8+20=28, Resulting Numbers: [38, 28] Generated Node #0,4,2: 75:[38, 28] Operation: 8+20=28 Exploring Operation: 38+20=58, Resulting Numbers: [8, 58] Generated Node #0,4,3: 75:[8, 58] Operation: 38+20=58 Exploring Operation: 20-8=12, Resulting Numbers: [38, 12] Generated Node #0,4,4: 75:[38, 12] Operation: 20-8=12 Moving to Node #0,1 Current State: 75:[57, 77, 30], Operations: ['38-8=30'] Exploring Operation: 57-30=27, Resulting Numbers: [77, 27] Generated Node #0,1,0: 75:[77, 27] Operation: 57-30=27 Exploring Operation: 77+30=107, Resulting Numbers: [57, 107] Generated Node #0,1,1: 75:[57, 107] Operation: 77+30=107 Exploring Operation: 77-57=20, Resulting Numbers: [30, 20] Generated Node #0,1,2: 75:[30, 20] Operation: 77-57=20 Exploring Operation: 57+30=87, Resulting Numbers: [77, 87] Generated Node #0,1,3: 75:[77, 87] Operation: 57+30=87 Exploring Operation: 77-30=47, Resulting Numbers: [57, 47] Generated Node #0,1,4: 75:[57, 47] Operation: 77-30=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[77, 27], Operations: ['38-8=30', '57-30=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,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,2 Current State: 75:[30, 20], Operations: ['38-8=30', '77-57=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,75 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,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,3 Current State: 75:[77, 87], Operations: ['38-8=30', '57+30=87'] Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 77*87=6699, Resulting Numbers: [6699] 6699,75 unequal: No Solution Exploring Operation: 77+87=164, Resulting Numbers: [164] 164,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,4 Current State: 75:[57, 47], Operations: ['38-8=30', '77-30=47'] Exploring Operation: 57+47=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 57*47=2679, Resulting Numbers: [2679] 2679,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,1 Current State: 75:[57, 107], Operations: ['38-8=30', '77+30=107'] Exploring Operation: 57+107=164, Resulting Numbers: [164] 164,75 unequal: No Solution Exploring Operation: 107-57=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 57*107=6099, Resulting Numbers: [6099] 6099,75 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: 75:[77, 8, 95], Operations: ['57+38=95'] Exploring Operation: 77+8=85, Resulting Numbers: [95, 85] Generated Node #0,2,0: 75:[95, 85] Operation: 77+8=85 Exploring Operation: 95-77=18, Resulting Numbers: [8, 18] Generated Node #0,2,1: 75:[8, 18] Operation: 95-77=18 Exploring Operation: 95-8=87, Resulting Numbers: [77, 87] Generated Node #0,2,2: 75:[77, 87] Operation: 95-8=87 Exploring Operation: 77-8=69, Resulting Numbers: [95, 69] Generated Node #0,2,3: 75:[95, 69] Operation: 77-8=69 Exploring Operation: 8+95=103, Resulting Numbers: [77, 103] Generated Node #0,2,4: 75:[77, 103] Operation: 8+95=103 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[8, 18], Operations: ['57+38=95', '95-77=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,75 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,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,2 Current State: 75:[77, 87], Operations: ['57+38=95', '95-8=87'] Exploring Operation: 77*87=6699, Resulting Numbers: [6699] 6699,75 unequal: No Solution Exploring Operation: 77+87=164, Resulting Numbers: [164] 164,75 unequal: No Solution Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,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,3 Current State: 75:[95, 69], Operations: ['57+38=95', '77-8=69'] Exploring Operation: 95+69=164, Resulting Numbers: [164] 164,75 unequal: No Solution Exploring Operation: 95*69=6555, Resulting Numbers: [6555] 6555,75 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,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,0 Current State: 75:[95, 85], Operations: ['57+38=95', '77+8=85'] Exploring Operation: 95*85=8075, Resulting Numbers: [8075] 8075,75 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 95+85=180, Resulting Numbers: [180] 180,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,4 Current State: 75:[77, 103], Operations: ['57+38=95', '8+95=103'] Exploring Operation: 103-77=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 77+103=180, Resulting Numbers: [180] 180,75 unequal: No Solution Exploring Operation: 77*103=7931, Resulting Numbers: [7931] 7931,75 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: 75:[38, 77, 65], Operations: ['57+8=65'] Exploring Operation: 38+65=103, Resulting Numbers: [77, 103] Generated Node #0,3,0: 75:[77, 103] Operation: 38+65=103 Exploring Operation: 38+77=115, Resulting Numbers: [65, 115] Generated Node #0,3,1: 75:[65, 115] Operation: 38+77=115 Exploring Operation: 77-38=39, Resulting Numbers: [65, 39] Generated Node #0,3,2: 75:[65, 39] Operation: 77-38=39 Exploring Operation: 65-38=27, Resulting Numbers: [77, 27] Generated Node #0,3,3: 75:[77, 27] Operation: 65-38=27 Exploring Operation: 77-65=12, Resulting Numbers: [38, 12] Generated Node #0,3,4: 75:[38, 12] Operation: 77-65=12 Moving to Node #0,0,2 Current State: 75:[77, 27], Operations: ['57-38=19', '8+19=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,75 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[77, 27], Operations: ['57+8=65', '65-38=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,75 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,4,0 Current State: 75:[8, 18], Operations: ['77-57=20', '38-20=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,75 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[77, 11], Operations: ['57-38=19', '19-8=11'] Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,75 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,4,1 Current State: 75:[20, 30], Operations: ['77-57=20', '38-8=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,75 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[19, 69], Operations: ['57-38=19', '77-8=69'] Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 19*69=1311, Resulting Numbers: [1311] 1311,75 unequal: No Solution Moving to Node #0,0,4 Current State: 75:[19, 85], Operations: ['57-38=19', '77+8=85'] Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,75 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[38, 12], Operations: ['57+8=65', '77-65=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,75 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[38, 12], Operations: ['77-57=20', '20-8=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[38, 28], Operations: ['77-57=20', '8+20=28'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,75 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[8, 58], Operations: ['57-38=19', '77-19=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[8, 58], Operations: ['77-57=20', '38+20=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[65, 39], Operations: ['57+8=65', '77-38=39'] Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,75 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[77, 103], Operations: ['57+8=65', '38+65=103'] Exploring Operation: 77+103=180, Resulting Numbers: [180] 180,75 unequal: No Solution Exploring Operation: 77*103=7931, Resulting Numbers: [7931] 7931,75 unequal: No Solution Exploring Operation: 103-77=26, Resulting Numbers: [26] 26,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[65, 115], Operations: ['57+8=65', '38+77=115'] Exploring Operation: 115-65=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 65*115=7475, Resulting Numbers: [7475] 7475,75 unequal: No Solution Exploring Operation: 65+115=180, Resulting Numbers: [180] 180,75 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 72, 98, 55 ]
91
[ "49*72=3528", "3528/98=36", "55+36=91" ]
Current State: 91:[49, 72, 98, 55], Operations: [] Exploring Operation: 49*72=3528, Resulting Numbers: [98, 55, 3528] Generated Node #2: [98, 55, 3528] from Operation: 49*72=3528 Current State: 91:[98, 55, 3528], Operations: ['49*72=3528'] Exploring Operation: 3528/98=36, Resulting Numbers: [55, 36] Generated Node #3: [55, 36] from Operation: 3528/98=36 Current State: 91:[55, 36], Operations: ['49*72=3528', '3528/98=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[49, 72, 98, 55], Operations: [] Exploring Operation: 49+55=104, Resulting Numbers: [72, 98, 104] Generated Node #0,0: 91:[72, 98, 104] Operation: 49+55=104 Exploring Operation: 72-55=17, Resulting Numbers: [49, 98, 17] Generated Node #0,1: 91:[49, 98, 17] Operation: 72-55=17 Exploring Operation: 55-49=6, Resulting Numbers: [72, 98, 6] Generated Node #0,2: 91:[72, 98, 6] Operation: 55-49=6 Moving to Node #0,2 Current State: 91:[72, 98, 6], Operations: ['55-49=6'] Exploring Operation: 72+6=78, Resulting Numbers: [98, 78] Generated Node #0,2,0: 91:[98, 78] Operation: 72+6=78 Exploring Operation: 72/6=12, Resulting Numbers: [98, 12] Generated Node #0,2,1: 91:[98, 12] Operation: 72/6=12 Exploring Operation: 98-72=26, Resulting Numbers: [6, 26] Generated Node #0,2,2: 91:[6, 26] Operation: 98-72=26 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[98, 12], Operations: ['55-49=6', '72/6=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[6, 26], Operations: ['55-49=6', '98-72=26'] Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,91 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[98, 78], Operations: ['55-49=6', '72+6=78'] Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 98+78=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 98*78=7644, Resulting Numbers: [7644] 7644,91 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: 91:[72, 98, 104], Operations: ['49+55=104'] Exploring Operation: 98-72=26, Resulting Numbers: [104, 26] Generated Node #0,0,0: 91:[104, 26] Operation: 98-72=26 Exploring Operation: 104-98=6, Resulting Numbers: [72, 6] Generated Node #0,0,1: 91:[72, 6] Operation: 104-98=6 Exploring Operation: 104-72=32, Resulting Numbers: [98, 32] Generated Node #0,0,2: 91:[98, 32] Operation: 104-72=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[72, 6], Operations: ['49+55=104', '104-98=6'] Exploring Operation: 72+6=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[104, 26], Operations: ['49+55=104', '98-72=26'] Exploring Operation: 104/26=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 104-26=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 104+26=130, Resulting Numbers: [130] 130,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[98, 32], Operations: ['49+55=104', '104-72=32'] Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,91 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[49, 98, 17], Operations: ['72-55=17'] Exploring Operation: 98/49=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 91:[17, 2] Operation: 98/49=2 Exploring Operation: 49+17=66, Resulting Numbers: [98, 66] Generated Node #0,1,1: 91:[98, 66] Operation: 49+17=66 Exploring Operation: 49-17=32, Resulting Numbers: [98, 32] Generated Node #0,1,2: 91:[98, 32] Operation: 49-17=32 Moving to Node #0,1,0 Current State: 91:[17, 2], Operations: ['72-55=17', '98/49=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[98, 32], Operations: ['72-55=17', '49-17=32'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,91 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[98, 66], Operations: ['72-55=17', '49+17=66'] Exploring Operation: 98+66=164, Resulting Numbers: [164] 164,91 unequal: No Solution Exploring Operation: 98*66=6468, Resulting Numbers: [6468] 6468,91 unequal: No Solution Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 85, 8, 65, 26 ]
42
[ "85*26=2210", "2210/65=34", "8+34=42" ]
Current State: 42:[85, 8, 65, 26], Operations: [] Exploring Operation: 85*26=2210, Resulting Numbers: [8, 65, 2210] Generated Node #2: [8, 65, 2210] from Operation: 85*26=2210 Current State: 42:[8, 65, 2210], Operations: ['85*26=2210'] Exploring Operation: 2210/65=34, Resulting Numbers: [8, 34] Generated Node #3: [8, 34] from Operation: 2210/65=34 Current State: 42:[8, 34], Operations: ['85*26=2210', '2210/65=34'] Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[85, 8, 65, 26], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [8, 65, 59] Generated Node #0,0: 42:[8, 65, 59] Operation: 85-26=59 Exploring Operation: 85-65=20, Resulting Numbers: [8, 26, 20] Generated Node #0,1: 42:[8, 26, 20] Operation: 85-65=20 Moving to Node #0,1 Current State: 42:[8, 26, 20], Operations: ['85-65=20'] Exploring Operation: 26-20=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 42:[8, 6] Operation: 26-20=6 Exploring Operation: 26-8=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 42:[20, 18] Operation: 26-8=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[8, 6], Operations: ['85-65=20', '26-20=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[20, 18], Operations: ['85-65=20', '26-8=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,42 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: 42:[8, 65, 59], Operations: ['85-26=59'] Exploring Operation: 65-8=57, Resulting Numbers: [59, 57] Generated Node #0,0,0: 42:[59, 57] Operation: 65-8=57 Exploring Operation: 65-59=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 42:[8, 6] Operation: 65-59=6 Moving to Node #0,0,1 Current State: 42:[8, 6], Operations: ['85-26=59', '65-59=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[59, 57], Operations: ['85-26=59', '65-8=57'] Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 59+57=116, Resulting Numbers: [116] 116,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 20, 61, 7, 66 ]
100
[ "61-20=41", "66-7=59", "41+59=100" ]
Current State: 100:[20, 61, 7, 66], Operations: [] Exploring Operation: 61-20=41, Resulting Numbers: [7, 66, 41] Generated Node #2: [7, 66, 41] from Operation: 61-20=41 Current State: 100:[7, 66, 41], Operations: ['61-20=41'] Exploring Operation: 66-7=59, Resulting Numbers: [41, 59] Generated Node #3: [41, 59] from Operation: 66-7=59 Current State: 100:[41, 59], Operations: ['61-20=41', '66-7=59'] Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[20, 61, 7, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [20, 7, 5] Generated Node #0,0: 100:[20, 7, 5] Operation: 66-61=5 Exploring Operation: 66-20=46, Resulting Numbers: [61, 7, 46] Generated Node #0,1: 100:[61, 7, 46] Operation: 66-20=46 Moving to Node #0,0 Current State: 100:[20, 7, 5], Operations: ['66-61=5'] Exploring Operation: 7-5=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 100:[20, 2] Operation: 7-5=2 Exploring Operation: 20+7=27, Resulting Numbers: [5, 27] Generated Node #0,0,1: 100:[5, 27] Operation: 20+7=27 Moving to Node #0,1 Current State: 100:[61, 7, 46], Operations: ['66-20=46'] Exploring Operation: 61-7=54, Resulting Numbers: [46, 54] Generated Node #0,1,0: 100:[46, 54] Operation: 61-7=54 Exploring Operation: 61-46=15, Resulting Numbers: [7, 15] Generated Node #0,1,1: 100:[7, 15] Operation: 61-46=15 Moving to Node #0,0,0 Current State: 100:[20, 2], Operations: ['66-61=5', '7-5=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[5, 27], Operations: ['66-61=5', '20+7=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[7, 15], Operations: ['66-20=46', '61-46=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[46, 54], Operations: ['66-20=46', '61-7=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[20, 61, 7, 66], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [61, 7, 46] Generated Node #0,1: 100:[61, 7, 46] Operation: 66-20=46 Moving to Node #0,1 Current State: 100:[61, 7, 46], Operations: ['66-20=46'] Exploring Operation: 61-7=54, Resulting Numbers: [46, 54] Generated Node #0,1,0: 100:[46, 54] Operation: 61-7=54 Moving to Node #0,1,0 Current State: 100:[46, 54], Operations: ['66-20=46', '61-7=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 96, 16, 45, 5 ]
49
[ "45-16=29", "5*29=145", "145-96=49" ]
Current State: 49:[96, 16, 45, 5], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [96, 5, 29] Generated Node #2: [96, 5, 29] from Operation: 45-16=29 Current State: 49:[96, 5, 29], Operations: ['45-16=29'] Exploring Operation: 5*29=145, Resulting Numbers: [96, 145] Generated Node #3: [96, 145] from Operation: 5*29=145 Current State: 49:[96, 145], Operations: ['45-16=29', '5*29=145'] Exploring Operation: 145-96=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[96, 16, 45, 5], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [16, 5, 51] Generated Node #0,0: 49:[16, 5, 51] Operation: 96-45=51 Exploring Operation: 96/16=6, Resulting Numbers: [45, 5, 6] Generated Node #0,1: 49:[45, 5, 6] Operation: 96/16=6 Exploring Operation: 96-16=80, Resulting Numbers: [45, 5, 80] Generated Node #0,2: 49:[45, 5, 80] Operation: 96-16=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[45, 5, 6], Operations: ['96/16=6'] Exploring Operation: 45/5=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 49:[6, 9] Operation: 45/5=9 Exploring Operation: 45+6=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 49:[5, 51] Operation: 45+6=51 Exploring Operation: 45+5=50, Resulting Numbers: [6, 50] Generated Node #0,1,2: 49:[6, 50] Operation: 45+5=50 Moving to Node #0,1,2 Current State: 49:[6, 50], Operations: ['96/16=6', '45+5=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,49 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[6, 9], Operations: ['96/16=6', '45/5=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[5, 51], Operations: ['96/16=6', '45+6=51'] Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,49 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[16, 5, 51], Operations: ['96-45=51'] Exploring Operation: 16+5=21, Resulting Numbers: [51, 21] Generated Node #0,0,0: 49:[51, 21] Operation: 16+5=21 Exploring Operation: 51-5=46, Resulting Numbers: [16, 46] Generated Node #0,0,1: 49:[16, 46] Operation: 51-5=46 Exploring Operation: 16-5=11, Resulting Numbers: [51, 11] Generated Node #0,0,2: 49:[51, 11] Operation: 16-5=11 Moving to Node #0,0,2 Current State: 49:[51, 11], Operations: ['96-45=51', '16-5=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,49 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[16, 46], Operations: ['96-45=51', '51-5=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,49 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[51, 21], Operations: ['96-45=51', '16+5=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,49 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[45, 5, 80], Operations: ['96-16=80'] Exploring Operation: 80-45=35, Resulting Numbers: [5, 35] Generated Node #0,2,0: 49:[5, 35] Operation: 80-45=35 Exploring Operation: 80-5=75, Resulting Numbers: [45, 75] Generated Node #0,2,1: 49:[45, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [45, 16] Generated Node #0,2,2: 49:[45, 16] Operation: 80/5=16 Moving to Node #0,2,2 Current State: 49:[45, 16], Operations: ['96-16=80', '80/5=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[5, 35], Operations: ['96-16=80', '80-45=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[45, 75], Operations: ['96-16=80', '80-5=75'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 45*75=3375, Resulting Numbers: [3375] 3375,49 unequal: No Solution Exploring Operation: 45+75=120, Resulting Numbers: [120] 120,49 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
[ 6, 3, 40, 18 ]
98
[ "6/3=2", "40*2=80", "18+80=98" ]
Current State: 98:[6, 3, 40, 18], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [40, 18, 2] Generated Node #2: [40, 18, 2] from Operation: 6/3=2 Current State: 98:[40, 18, 2], Operations: ['6/3=2'] Exploring Operation: 40*2=80, Resulting Numbers: [18, 80] Generated Node #3: [18, 80] from Operation: 40*2=80 Current State: 98:[18, 80], Operations: ['6/3=2', '40*2=80'] Exploring Operation: 18+80=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[6, 3, 40, 18], Operations: [] Exploring Operation: 6+40=46, Resulting Numbers: [3, 18, 46] Generated Node #0,0: 98:[3, 18, 46] Operation: 6+40=46 Moving to Node #0,0 Current State: 98:[3, 18, 46], Operations: ['6+40=46'] Exploring Operation: 18-3=15, Resulting Numbers: [46, 15] Generated Node #0,0,0: 98:[46, 15] Operation: 18-3=15 Moving to Node #0,0,0 Current State: 98:[46, 15], Operations: ['6+40=46', '18-3=15'] Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,98 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 53, 7, 59, 56 ]
49
[ "53-7=46", "59-56=3", "46+3=49" ]
Current State: 49:[53, 7, 59, 56], Operations: [] Exploring Operation: 53-7=46, Resulting Numbers: [59, 56, 46] Generated Node #2: [59, 56, 46] from Operation: 53-7=46 Current State: 49:[59, 56, 46], Operations: ['53-7=46'] Exploring Operation: 59-56=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 59-56=3 Current State: 49:[46, 3], Operations: ['53-7=46', '59-56=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[53, 7, 59, 56], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [53, 56, 52] Generated Node #0,0: 49:[53, 56, 52] Operation: 59-7=52 Exploring Operation: 59-53=6, Resulting Numbers: [7, 56, 6] Generated Node #0,1: 49:[7, 56, 6] Operation: 59-53=6 Exploring Operation: 56-53=3, Resulting Numbers: [7, 59, 3] Generated Node #0,2: 49:[7, 59, 3] Operation: 56-53=3 Exploring Operation: 56-7=49, Resulting Numbers: [53, 59, 49] Generated Node #0,3: 49:[53, 59, 49] Operation: 56-7=49 Exploring Operation: 59-56=3, Resulting Numbers: [53, 7, 3] Generated Node #0,4: 49:[53, 7, 3] Operation: 59-56=3 Moving to Node #0,1 Current State: 49:[7, 56, 6], Operations: ['59-53=6'] Exploring Operation: 7+6=13, Resulting Numbers: [56, 13] Generated Node #0,1,0: 49:[56, 13] Operation: 7+6=13 Exploring Operation: 56-6=50, Resulting Numbers: [7, 50] Generated Node #0,1,1: 49:[7, 50] Operation: 56-6=50 Exploring Operation: 56/7=8, Resulting Numbers: [6, 8] Generated Node #0,1,2: 49:[6, 8] Operation: 56/7=8 Exploring Operation: 7-6=1, Resulting Numbers: [56, 1] Generated Node #0,1,3: 49:[56, 1] Operation: 7-6=1 Exploring Operation: 56-7=49, Resulting Numbers: [6, 49] Generated Node #0,1,4: 49:[6, 49] Operation: 56-7=49 Moving to Node #0,4 Current State: 49:[53, 7, 3], Operations: ['59-56=3'] Exploring Operation: 7-3=4, Resulting Numbers: [53, 4] Generated Node #0,4,0: 49:[53, 4] Operation: 7-3=4 Exploring Operation: 53-7=46, Resulting Numbers: [3, 46] Generated Node #0,4,1: 49:[3, 46] Operation: 53-7=46 Exploring Operation: 7+3=10, Resulting Numbers: [53, 10] Generated Node #0,4,2: 49:[53, 10] Operation: 7+3=10 Exploring Operation: 53+3=56, Resulting Numbers: [7, 56] Generated Node #0,4,3: 49:[7, 56] Operation: 53+3=56 Exploring Operation: 53-3=50, Resulting Numbers: [7, 50] Generated Node #0,4,4: 49:[7, 50] Operation: 53-3=50 Moving to Node #0,0 Current State: 49:[53, 56, 52], Operations: ['59-7=52'] Exploring Operation: 56-53=3, Resulting Numbers: [52, 3] Generated Node #0,0,0: 49:[52, 3] Operation: 56-53=3 Exploring Operation: 53-52=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 49:[56, 1] Operation: 53-52=1 Exploring Operation: 53+56=109, Resulting Numbers: [52, 109] Generated Node #0,0,2: 49:[52, 109] Operation: 53+56=109 Exploring Operation: 53+52=105, Resulting Numbers: [56, 105] Generated Node #0,0,3: 49:[56, 105] Operation: 53+52=105 Exploring Operation: 56-52=4, Resulting Numbers: [53, 4] Generated Node #0,0,4: 49:[53, 4] Operation: 56-52=4 Moving to Node #0,2 Current State: 49:[7, 59, 3], Operations: ['56-53=3'] Exploring Operation: 7-3=4, Resulting Numbers: [59, 4] Generated Node #0,2,0: 49:[59, 4] Operation: 7-3=4 Exploring Operation: 59+3=62, Resulting Numbers: [7, 62] Generated Node #0,2,1: 49:[7, 62] Operation: 59+3=62 Exploring Operation: 7+3=10, Resulting Numbers: [59, 10] Generated Node #0,2,2: 49:[59, 10] Operation: 7+3=10 Exploring Operation: 59-3=56, Resulting Numbers: [7, 56] Generated Node #0,2,3: 49:[7, 56] Operation: 59-3=56 Exploring Operation: 59-7=52, Resulting Numbers: [3, 52] Generated Node #0,2,4: 49:[3, 52] Operation: 59-7=52 Moving to Node #0,3 Current State: 49:[53, 59, 49], Operations: ['56-7=49'] Exploring Operation: 53-49=4, Resulting Numbers: [59, 4] Generated Node #0,3,0: 49:[59, 4] Operation: 53-49=4 Exploring Operation: 53+59=112, Resulting Numbers: [49, 112] Generated Node #0,3,1: 49:[49, 112] Operation: 53+59=112 Exploring Operation: 59-53=6, Resulting Numbers: [49, 6] Generated Node #0,3,2: 49:[49, 6] Operation: 59-53=6 Exploring Operation: 59-49=10, Resulting Numbers: [53, 10] Generated Node #0,3,3: 49:[53, 10] Operation: 59-49=10 Exploring Operation: 53+49=102, Resulting Numbers: [59, 102] Generated Node #0,3,4: 49:[59, 102] Operation: 53+49=102 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[49, 6], Operations: ['56-7=49', '59-53=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[53, 10], Operations: ['56-7=49', '59-49=10'] Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,49 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[59, 4], Operations: ['56-7=49', '53-49=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[49, 112], Operations: ['56-7=49', '53+59=112'] Exploring Operation: 49*112=5488, Resulting Numbers: [5488] 5488,49 unequal: No Solution Exploring Operation: 112-49=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 49+112=161, Resulting Numbers: [161] 161,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 49:[59, 102], Operations: ['56-7=49', '53+49=102'] Exploring Operation: 59*102=6018, Resulting Numbers: [6018] 6018,49 unequal: No Solution Exploring Operation: 102-59=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 59+102=161, Resulting Numbers: [161] 161,49 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: 49:[7, 50], Operations: ['59-53=6', '56-6=50'] Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,49 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,49 unequal: No Solution Moving to Node #0,4,4 Current State: 49:[7, 50], Operations: ['59-56=3', '53-3=50'] Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,49 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[6, 49], Operations: ['59-53=6', '56-7=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,49 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[6, 8], Operations: ['59-53=6', '56/7=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[53, 4], Operations: ['59-56=3', '7-3=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[53, 7, 59, 56], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [53, 7, 3] Generated Node #0,4: 49:[53, 7, 3] Operation: 59-56=3 Moving to Node #0,4 Current State: 49:[53, 7, 3], Operations: ['59-56=3'] Exploring Operation: 7-3=4, Resulting Numbers: [53, 4] Generated Node #0,4,0: 49:[53, 4] Operation: 7-3=4 Moving to Node #0,4,0 Current State: 49:[53, 4], Operations: ['59-56=3', '7-3=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.946181
hs_5
sum_heuristic
[ 30, 9, 8, 4 ]
10
[ "9-8=1", "4-1=3", "30/3=10" ]
Current State: 10:[30, 9, 8, 4], Operations: [] Exploring Operation: 9-8=1, Resulting Numbers: [30, 4, 1] Generated Node #2: [30, 4, 1] from Operation: 9-8=1 Current State: 10:[30, 4, 1], Operations: ['9-8=1'] Exploring Operation: 4-1=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 4-1=3 Current State: 10:[30, 3], Operations: ['9-8=1', '4-1=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[30, 9, 8, 4], Operations: [] Exploring Operation: 30-9=21, Resulting Numbers: [8, 4, 21] Generated Node #0,0: 10:[8, 4, 21] Operation: 30-9=21 Exploring Operation: 30-8=22, Resulting Numbers: [9, 4, 22] Generated Node #0,1: 10:[9, 4, 22] Operation: 30-8=22 Exploring Operation: 30-4=26, Resulting Numbers: [9, 8, 26] Generated Node #0,2: 10:[9, 8, 26] Operation: 30-4=26 Exploring Operation: 8/4=2, Resulting Numbers: [30, 9, 2] Generated Node #0,3: 10:[30, 9, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 4, 21], Operations: ['30-9=21'] Exploring Operation: 21-8=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 10:[4, 13] Operation: 21-8=13 Exploring Operation: 8-4=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 10:[21, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [21, 2] Generated Node #0,0,2: 10:[21, 2] Operation: 8/4=2 Exploring Operation: 21-4=17, Resulting Numbers: [8, 17] Generated Node #0,0,3: 10:[8, 17] Operation: 21-4=17 Moving to Node #0,0,0 Current State: 10:[4, 13], Operations: ['30-9=21', '21-8=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,10 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[8, 17], Operations: ['30-9=21', '21-4=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[21, 2], Operations: ['30-9=21', '8/4=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[21, 4], Operations: ['30-9=21', '8-4=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,10 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[9, 4, 22], Operations: ['30-8=22'] Exploring Operation: 9+4=13, Resulting Numbers: [22, 13] Generated Node #0,1,0: 10:[22, 13] Operation: 9+4=13 Exploring Operation: 9-4=5, Resulting Numbers: [22, 5] Generated Node #0,1,1: 10:[22, 5] Operation: 9-4=5 Exploring Operation: 22-4=18, Resulting Numbers: [9, 18] Generated Node #0,1,2: 10:[9, 18] Operation: 22-4=18 Exploring Operation: 22-9=13, Resulting Numbers: [4, 13] Generated Node #0,1,3: 10:[4, 13] Operation: 22-9=13 Moving to Node #0,1,3 Current State: 10:[4, 13], Operations: ['30-8=22', '22-9=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,10 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[9, 18], Operations: ['30-8=22', '22-4=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[22, 5], Operations: ['30-8=22', '9-4=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[22, 13], Operations: ['30-8=22', '9+4=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[9, 8, 26], Operations: ['30-4=26'] Exploring Operation: 26-8=18, Resulting Numbers: [9, 18] Generated Node #0,2,0: 10:[9, 18] Operation: 26-8=18 Exploring Operation: 26-9=17, Resulting Numbers: [8, 17] Generated Node #0,2,1: 10:[8, 17] Operation: 26-9=17 Exploring Operation: 9-8=1, Resulting Numbers: [26, 1] Generated Node #0,2,2: 10:[26, 1] Operation: 9-8=1 Exploring Operation: 9+8=17, Resulting Numbers: [26, 17] Generated Node #0,2,3: 10:[26, 17] Operation: 9+8=17 Moving to Node #0,2,0 Current State: 10:[9, 18], Operations: ['30-4=26', '26-8=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[8, 17], Operations: ['30-4=26', '26-9=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[26, 1], Operations: ['30-4=26', '9-8=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[26, 17], Operations: ['30-4=26', '9+8=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,10 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[30, 9, 2], Operations: ['8/4=2'] Exploring Operation: 30/2=15, Resulting Numbers: [9, 15] Generated Node #0,3,0: 10:[9, 15] Operation: 30/2=15 Exploring Operation: 9+2=11, Resulting Numbers: [30, 11] Generated Node #0,3,1: 10:[30, 11] Operation: 9+2=11 Exploring Operation: 30-2=28, Resulting Numbers: [9, 28] Generated Node #0,3,2: 10:[9, 28] Operation: 30-2=28 Exploring Operation: 30-9=21, Resulting Numbers: [2, 21] Generated Node #0,3,3: 10:[2, 21] Operation: 30-9=21 Moving to Node #0,3,0 Current State: 10:[9, 15], Operations: ['8/4=2', '30/2=15'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[2, 21], Operations: ['8/4=2', '30-9=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[9, 28], Operations: ['8/4=2', '30-2=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,10 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[30, 11], Operations: ['8/4=2', '9+2=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,10 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