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
[ 64, 61, 61, 98 ]
98
[ "61-61=0", "64*0=0", "98+0=98" ]
Current State: 98:[64, 61, 61, 98], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [64, 98, 0] Generated Node #2: [64, 98, 0] from Operation: 61-61=0 Current State: 98:[64, 98, 0], Operations: ['61-61=0'] Exploring Operation: 64*0=0, Resulting Numbers: [98, 0] Generated Node #3: [98, 0] from Operation: 64*0=0 Current State: 98:[98, 0], Operations: ['61-61=0', '64*0=0'] Exploring Operation: 98+0=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[64, 61, 61, 98], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [64, 98, 1] Generated Node #0,0: 98:[64, 98, 1] Operation: 61/61=1 Exploring Operation: 64-61=3, Resulting Numbers: [61, 98, 3] Generated Node #0,1: 98:[61, 98, 3] Operation: 64-61=3 Exploring Operation: 64-61=3, Resulting Numbers: [61, 98, 3] Generated Node #0,2: 98:[61, 98, 3] Operation: 64-61=3 Exploring Operation: 61-61=0, Resulting Numbers: [64, 98, 0] Generated Node #0,3: 98:[64, 98, 0] Operation: 61-61=0 Moving to Node #0,1 Current State: 98:[61, 98, 3], Operations: ['64-61=3'] Exploring Operation: 61+3=64, Resulting Numbers: [98, 64] Generated Node #0,1,0: 98:[98, 64] Operation: 61+3=64 Exploring Operation: 98+3=101, Resulting Numbers: [61, 101] Generated Node #0,1,1: 98:[61, 101] Operation: 98+3=101 Exploring Operation: 98-61=37, Resulting Numbers: [3, 37] Generated Node #0,1,2: 98:[3, 37] Operation: 98-61=37 Exploring Operation: 61-3=58, Resulting Numbers: [98, 58] Generated Node #0,1,3: 98:[98, 58] Operation: 61-3=58 Moving to Node #0,2 Current State: 98:[61, 98, 3], Operations: ['64-61=3'] Exploring Operation: 61-3=58, Resulting Numbers: [98, 58] Generated Node #0,2,0: 98:[98, 58] Operation: 61-3=58 Exploring Operation: 98-61=37, Resulting Numbers: [3, 37] Generated Node #0,2,1: 98:[3, 37] Operation: 98-61=37 Exploring Operation: 98+3=101, Resulting Numbers: [61, 101] Generated Node #0,2,2: 98:[61, 101] Operation: 98+3=101 Exploring Operation: 61+3=64, Resulting Numbers: [98, 64] Generated Node #0,2,3: 98:[98, 64] Operation: 61+3=64 Moving to Node #0,0 Current State: 98:[64, 98, 1], Operations: ['61/61=1'] Exploring Operation: 64-1=63, Resulting Numbers: [98, 63] Generated Node #0,0,0: 98:[98, 63] Operation: 64-1=63 Exploring Operation: 98*1=98, Resulting Numbers: [64, 98] Generated Node #0,0,1: 98:[64, 98] Operation: 98*1=98 Exploring Operation: 64*1=64, Resulting Numbers: [98, 64] Generated Node #0,0,2: 98:[98, 64] Operation: 64*1=64 Exploring Operation: 64/1=64, Resulting Numbers: [98, 64] Generated Node #0,0,3: 98:[98, 64] Operation: 64/1=64 Moving to Node #0,3 Current State: 98:[64, 98, 0], Operations: ['61-61=0'] Exploring Operation: 98+0=98, Resulting Numbers: [64, 98] Generated Node #0,3,0: 98:[64, 98] Operation: 98+0=98 Exploring Operation: 64+0=64, Resulting Numbers: [98, 64] Generated Node #0,3,1: 98:[98, 64] Operation: 64+0=64 Exploring Operation: 64*0=0, Resulting Numbers: [98, 0] Generated Node #0,3,2: 98:[98, 0] Operation: 64*0=0 Exploring Operation: 64-0=64, Resulting Numbers: [98, 64] Generated Node #0,3,3: 98:[98, 64] Operation: 64-0=64 Moving to Node #0,3,2 Current State: 98:[98, 0], Operations: ['61-61=0', '64*0=0'] Exploring Operation: 98*0=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 98-0=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[64, 61, 61, 98], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [64, 98, 0] Generated Node #0,3: 98:[64, 98, 0] Operation: 61-61=0 Moving to Node #0,3 Current State: 98:[64, 98, 0], Operations: ['61-61=0'] Exploring Operation: 64*0=0, Resulting Numbers: [98, 0] Generated Node #0,3,2: 98:[98, 0] Operation: 64*0=0 Moving to Node #0,3,2 Current State: 98:[98, 0], Operations: ['61-61=0', '64*0=0'] Exploring Operation: 98-0=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.977431
hs_4
sum_heuristic
[ 16, 32, 46, 24 ]
26
[ "16+32=48", "46-24=22", "48-22=26" ]
Current State: 26:[16, 32, 46, 24], Operations: [] Exploring Operation: 16+32=48, Resulting Numbers: [46, 24, 48] Generated Node #2: [46, 24, 48] from Operation: 16+32=48 Current State: 26:[46, 24, 48], Operations: ['16+32=48'] Exploring Operation: 46-24=22, Resulting Numbers: [48, 22] Generated Node #3: [48, 22] from Operation: 46-24=22 Current State: 26:[48, 22], Operations: ['16+32=48', '46-24=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[16, 32, 46, 24], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [46, 24, 16] Generated Node #0,0: 26:[46, 24, 16] Operation: 32-16=16 Exploring Operation: 46-24=22, Resulting Numbers: [16, 32, 22] Generated Node #0,1: 26:[16, 32, 22] Operation: 46-24=22 Exploring Operation: 32/16=2, Resulting Numbers: [46, 24, 2] Generated Node #0,2: 26:[46, 24, 2] Operation: 32/16=2 Exploring Operation: 46-16=30, Resulting Numbers: [32, 24, 30] Generated Node #0,3: 26:[32, 24, 30] Operation: 46-16=30 Exploring Operation: 46-32=14, Resulting Numbers: [16, 24, 14] Generated Node #0,4: 26:[16, 24, 14] Operation: 46-32=14 Moving to Node #0,4 Current State: 26:[16, 24, 14], Operations: ['46-32=14'] Exploring Operation: 24-14=10, Resulting Numbers: [16, 10] Generated Node #0,4,0: 26:[16, 10] Operation: 24-14=10 Exploring Operation: 16-14=2, Resulting Numbers: [24, 2] Generated Node #0,4,1: 26:[24, 2] Operation: 16-14=2 Exploring Operation: 16+24=40, Resulting Numbers: [14, 40] Generated Node #0,4,2: 26:[14, 40] Operation: 16+24=40 Exploring Operation: 24-16=8, Resulting Numbers: [14, 8] Generated Node #0,4,3: 26:[14, 8] Operation: 24-16=8 Exploring Operation: 16+14=30, Resulting Numbers: [24, 30] Generated Node #0,4,4: 26:[24, 30] Operation: 16+14=30 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 26:[24, 2], Operations: ['46-32=14', '16-14=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[16, 32, 46, 24], Operations: [] Exploring Operation: 46-32=14, Resulting Numbers: [16, 24, 14] Generated Node #0,4: 26:[16, 24, 14] Operation: 46-32=14 Moving to Node #0,4 Current State: 26:[16, 24, 14], Operations: ['46-32=14'] Exploring Operation: 16-14=2, Resulting Numbers: [24, 2] Generated Node #0,4,1: 26:[24, 2] Operation: 16-14=2 Moving to Node #0,4,1 Current State: 26:[24, 2], Operations: ['46-32=14', '16-14=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 90, 98, 53, 84 ]
39
[ "98-90=8", "84-53=31", "8+31=39" ]
Current State: 39:[90, 98, 53, 84], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [53, 84, 8] Generated Node #2: [53, 84, 8] from Operation: 98-90=8 Current State: 39:[53, 84, 8], Operations: ['98-90=8'] Exploring Operation: 84-53=31, Resulting Numbers: [8, 31] Generated Node #3: [8, 31] from Operation: 84-53=31 Current State: 39:[8, 31], Operations: ['98-90=8', '84-53=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[90, 98, 53, 84], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [53, 84, 8] Generated Node #0,0: 39:[53, 84, 8] Operation: 98-90=8 Exploring Operation: 98-84=14, Resulting Numbers: [90, 53, 14] Generated Node #0,1: 39:[90, 53, 14] Operation: 98-84=14 Exploring Operation: 98-53=45, Resulting Numbers: [90, 84, 45] Generated Node #0,2: 39:[90, 84, 45] Operation: 98-53=45 Exploring Operation: 90-84=6, Resulting Numbers: [98, 53, 6] Generated Node #0,3: 39:[98, 53, 6] Operation: 90-84=6 Moving to Node #0,0 Current State: 39:[53, 84, 8], Operations: ['98-90=8'] Exploring Operation: 84-53=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 84-53=31 Exploring Operation: 53+8=61, Resulting Numbers: [84, 61] Generated Node #0,0,1: 39:[84, 61] Operation: 53+8=61 Exploring Operation: 84-8=76, Resulting Numbers: [53, 76] Generated Node #0,0,2: 39:[53, 76] Operation: 84-8=76 Exploring Operation: 53-8=45, Resulting Numbers: [84, 45] Generated Node #0,0,3: 39:[84, 45] Operation: 53-8=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['98-90=8', '84-53=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[90, 98, 53, 84], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [53, 84, 8] Generated Node #0,0: 39:[53, 84, 8] Operation: 98-90=8 Moving to Node #0,0 Current State: 39:[53, 84, 8], Operations: ['98-90=8'] Exploring Operation: 84-53=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 84-53=31 Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['98-90=8', '84-53=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 44, 90, 89, 39 ]
83
[ "44+39=83", "90-89=1", "83*1=83" ]
Current State: 83:[44, 90, 89, 39], Operations: [] Exploring Operation: 44+39=83, Resulting Numbers: [90, 89, 83] Generated Node #2: [90, 89, 83] from Operation: 44+39=83 Current State: 83:[90, 89, 83], Operations: ['44+39=83'] Exploring Operation: 90-89=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 90-89=1 Current State: 83:[83, 1], Operations: ['44+39=83', '90-89=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[44, 90, 89, 39], Operations: [] Exploring Operation: 44+39=83, Resulting Numbers: [90, 89, 83] Generated Node #0,0: 83:[90, 89, 83] Operation: 44+39=83 Moving to Node #0,0 Current State: 83:[90, 89, 83], Operations: ['44+39=83'] Exploring Operation: 90-89=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 83:[83, 1] Operation: 90-89=1 Moving to Node #0,0,0 Current State: 83:[83, 1], Operations: ['44+39=83', '90-89=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[44, 90, 89, 39], Operations: [] Exploring Operation: 44+39=83, Resulting Numbers: [90, 89, 83] Generated Node #0,0: 83:[90, 89, 83] Operation: 44+39=83 Moving to Node #0,0 Current State: 83:[90, 89, 83], Operations: ['44+39=83'] Exploring Operation: 90-89=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 83:[83, 1] Operation: 90-89=1 Moving to Node #0,0,0 Current State: 83:[83, 1], Operations: ['44+39=83', '90-89=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 32, 20, 28, 39 ]
76
[ "32-28=4", "39-20=19", "4*19=76" ]
Current State: 76:[32, 20, 28, 39], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [20, 39, 4] Generated Node #2: [20, 39, 4] from Operation: 32-28=4 Current State: 76:[20, 39, 4], Operations: ['32-28=4'] Exploring Operation: 39-20=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 39-20=19 Current State: 76:[4, 19], Operations: ['32-28=4', '39-20=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[32, 20, 28, 39], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [32, 39, 8] Generated Node #0,0: 76:[32, 39, 8] Operation: 28-20=8 Exploring Operation: 32-28=4, Resulting Numbers: [20, 39, 4] Generated Node #0,1: 76:[20, 39, 4] Operation: 32-28=4 Exploring Operation: 39-32=7, Resulting Numbers: [20, 28, 7] Generated Node #0,2: 76:[20, 28, 7] Operation: 39-32=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[20, 39, 4], Operations: ['32-28=4'] Exploring Operation: 39-20=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 76:[4, 19] Operation: 39-20=19 Exploring Operation: 20-4=16, Resulting Numbers: [39, 16] Generated Node #0,1,1: 76:[39, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [39, 5] Generated Node #0,1,2: 76:[39, 5] Operation: 20/4=5 Moving to Node #0,1,0 Current State: 76:[4, 19], Operations: ['32-28=4', '39-20=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[32, 20, 28, 39], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [20, 39, 4] Generated Node #0,1: 76:[20, 39, 4] Operation: 32-28=4 Moving to Node #0,1 Current State: 76:[20, 39, 4], Operations: ['32-28=4'] Exploring Operation: 39-20=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 76:[4, 19] Operation: 39-20=19 Moving to Node #0,1,0 Current State: 76:[4, 19], Operations: ['32-28=4', '39-20=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 29, 20, 73, 39 ]
75
[ "39-29=10", "20/10=2", "73+2=75" ]
Current State: 75:[29, 20, 73, 39], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [20, 73, 10] Generated Node #2: [20, 73, 10] from Operation: 39-29=10 Current State: 75:[20, 73, 10], Operations: ['39-29=10'] Exploring Operation: 20/10=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 20/10=2 Current State: 75:[73, 2], Operations: ['39-29=10', '20/10=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[29, 20, 73, 39], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [20, 73, 10] Generated Node #0,0: 75:[20, 73, 10] Operation: 39-29=10 Exploring Operation: 39-20=19, Resulting Numbers: [29, 73, 19] Generated Node #0,1: 75:[29, 73, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[29, 73, 19], Operations: ['39-20=19'] Exploring Operation: 29-19=10, Resulting Numbers: [73, 10] Generated Node #0,1,0: 75:[73, 10] Operation: 29-19=10 Exploring Operation: 73+19=92, Resulting Numbers: [29, 92] Generated Node #0,1,1: 75:[29, 92] Operation: 73+19=92 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[73, 10], Operations: ['39-20=19', '29-19=10'] Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[29, 92], Operations: ['39-20=19', '73+19=92'] Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,75 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[20, 73, 10], Operations: ['39-29=10'] Exploring Operation: 20+10=30, Resulting Numbers: [73, 30] Generated Node #0,0,0: 75:[73, 30] Operation: 20+10=30 Exploring Operation: 20/10=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 75:[73, 2] Operation: 20/10=2 Moving to Node #0,0,1 Current State: 75:[73, 2], Operations: ['39-29=10', '20/10=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[29, 20, 73, 39], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [20, 73, 10] Generated Node #0,0: 75:[20, 73, 10] Operation: 39-29=10 Moving to Node #0,0 Current State: 75:[20, 73, 10], Operations: ['39-29=10'] Exploring Operation: 20/10=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 75:[73, 2] Operation: 20/10=2 Moving to Node #0,0,1 Current State: 75:[73, 2], Operations: ['39-29=10', '20/10=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 2, 70, 60, 5 ]
28
[ "70+60=130", "130/5=26", "2+26=28" ]
Current State: 28:[2, 70, 60, 5], Operations: [] Exploring Operation: 70+60=130, Resulting Numbers: [2, 5, 130] Generated Node #2: [2, 5, 130] from Operation: 70+60=130 Current State: 28:[2, 5, 130], Operations: ['70+60=130'] Exploring Operation: 130/5=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 130/5=26 Current State: 28:[2, 26], Operations: ['70+60=130', '130/5=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 70, 60, 5], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [2, 60, 14] Generated Node #0,0: 28:[2, 60, 14] Operation: 70/5=14 Exploring Operation: 70/2=35, Resulting Numbers: [60, 5, 35] Generated Node #0,1: 28:[60, 5, 35] Operation: 70/2=35 Exploring Operation: 70-60=10, Resulting Numbers: [2, 5, 10] Generated Node #0,2: 28:[2, 5, 10] Operation: 70-60=10 Exploring Operation: 60/5=12, Resulting Numbers: [2, 70, 12] Generated Node #0,3: 28:[2, 70, 12] Operation: 60/5=12 Moving to Node #0,2 Current State: 28:[2, 5, 10], Operations: ['70-60=10'] Exploring Operation: 5+10=15, Resulting Numbers: [2, 15] Generated Node #0,2,0: 28:[2, 15] Operation: 5+10=15 Exploring Operation: 10-2=8, Resulting Numbers: [5, 8] Generated Node #0,2,1: 28:[5, 8] Operation: 10-2=8 Exploring Operation: 10/5=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 28:[2, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [2, 5] Generated Node #0,2,3: 28:[2, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[2, 2], Operations: ['70-60=10', '10/5=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,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,2,0 Current State: 28:[2, 15], Operations: ['70-60=10', '5+10=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,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,2,3 Current State: 28:[2, 5], Operations: ['70-60=10', '10-5=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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,2,1 Current State: 28:[5, 8], Operations: ['70-60=10', '10-2=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 28:[2, 60, 14], Operations: ['70/5=14'] Exploring Operation: 2*14=28, Resulting Numbers: [60, 28] Generated Node #0,0,0: 28:[60, 28] Operation: 2*14=28 Exploring Operation: 60/2=30, Resulting Numbers: [14, 30] Generated Node #0,0,1: 28:[14, 30] Operation: 60/2=30 Exploring Operation: 60-2=58, Resulting Numbers: [14, 58] Generated Node #0,0,2: 28:[14, 58] Operation: 60-2=58 Exploring Operation: 60-14=46, Resulting Numbers: [2, 46] Generated Node #0,0,3: 28:[2, 46] Operation: 60-14=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[14, 30], Operations: ['70/5=14', '60/2=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,28 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[2, 46], Operations: ['70/5=14', '60-14=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,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,2 Current State: 28:[14, 58], Operations: ['70/5=14', '60-2=58'] Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,28 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,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:[60, 28], Operations: ['70/5=14', '2*14=28'] Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,28 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,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:[60, 5, 35], Operations: ['70/2=35'] Exploring Operation: 35/5=7, Resulting Numbers: [60, 7] Generated Node #0,1,0: 28:[60, 7] Operation: 35/5=7 Exploring Operation: 60-5=55, Resulting Numbers: [35, 55] Generated Node #0,1,1: 28:[35, 55] Operation: 60-5=55 Exploring Operation: 60/5=12, Resulting Numbers: [35, 12] Generated Node #0,1,2: 28:[35, 12] Operation: 60/5=12 Exploring Operation: 60-35=25, Resulting Numbers: [5, 25] Generated Node #0,1,3: 28:[5, 25] Operation: 60-35=25 Moving to Node #0,3 Current State: 28:[2, 70, 12], Operations: ['60/5=12'] Exploring Operation: 70-12=58, Resulting Numbers: [2, 58] Generated Node #0,3,0: 28:[2, 58] Operation: 70-12=58 Exploring Operation: 70/2=35, Resulting Numbers: [12, 35] Generated Node #0,3,1: 28:[12, 35] Operation: 70/2=35 Exploring Operation: 2+12=14, Resulting Numbers: [70, 14] Generated Node #0,3,2: 28:[70, 14] Operation: 2+12=14 Exploring Operation: 70-2=68, Resulting Numbers: [12, 68] Generated Node #0,3,3: 28:[12, 68] Operation: 70-2=68 Moving to Node #0,1,3 Current State: 28:[5, 25], Operations: ['70/2=35', '60-35=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,28 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[35, 12], Operations: ['70/2=35', '60/5=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,28 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[12, 35], Operations: ['60/5=12', '70/2=35'] Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,28 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[2, 58], Operations: ['60/5=12', '70-12=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[60, 7], Operations: ['70/2=35', '35/5=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,28 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,28 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[35, 55], Operations: ['70/2=35', '60-5=55'] Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,28 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[70, 14], Operations: ['60/5=12', '2+12=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,28 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,28 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[12, 68], Operations: ['60/5=12', '70-2=68'] Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,28 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,28 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 3, 63, 62, 75 ]
66
[ "75-63=12", "12/3=4", "62+4=66" ]
Current State: 66:[3, 63, 62, 75], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [3, 62, 12] Generated Node #2: [3, 62, 12] from Operation: 75-63=12 Current State: 66:[3, 62, 12], Operations: ['75-63=12'] Exploring Operation: 12/3=4, Resulting Numbers: [62, 4] Generated Node #3: [62, 4] from Operation: 12/3=4 Current State: 66:[62, 4], Operations: ['75-63=12', '12/3=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[3, 63, 62, 75], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [3, 75, 1] Generated Node #0,0: 66:[3, 75, 1] Operation: 63-62=1 Exploring Operation: 75/3=25, Resulting Numbers: [63, 62, 25] Generated Node #0,1: 66:[63, 62, 25] Operation: 75/3=25 Exploring Operation: 75-62=13, Resulting Numbers: [3, 63, 13] Generated Node #0,2: 66:[3, 63, 13] Operation: 75-62=13 Exploring Operation: 75-63=12, Resulting Numbers: [3, 62, 12] Generated Node #0,3: 66:[3, 62, 12] Operation: 75-63=12 Moving to Node #0,2 Current State: 66:[3, 63, 13], Operations: ['75-62=13'] Exploring Operation: 3+63=66, Resulting Numbers: [13, 66] Generated Node #0,2,0: 66:[13, 66] Operation: 3+63=66 Exploring Operation: 13-3=10, Resulting Numbers: [63, 10] Generated Node #0,2,1: 66:[63, 10] Operation: 13-3=10 Exploring Operation: 63-3=60, Resulting Numbers: [13, 60] Generated Node #0,2,2: 66:[13, 60] Operation: 63-3=60 Exploring Operation: 63/3=21, Resulting Numbers: [13, 21] Generated Node #0,2,3: 66:[13, 21] Operation: 63/3=21 Moving to Node #0,3 Current State: 66:[3, 62, 12], Operations: ['75-63=12'] Exploring Operation: 12-3=9, Resulting Numbers: [62, 9] Generated Node #0,3,0: 66:[62, 9] Operation: 12-3=9 Exploring Operation: 3*12=36, Resulting Numbers: [62, 36] Generated Node #0,3,1: 66:[62, 36] Operation: 3*12=36 Exploring Operation: 12/3=4, Resulting Numbers: [62, 4] Generated Node #0,3,2: 66:[62, 4] Operation: 12/3=4 Exploring Operation: 3+62=65, Resulting Numbers: [12, 65] Generated Node #0,3,3: 66:[12, 65] Operation: 3+62=65 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 66:[12, 65], Operations: ['75-63=12', '3+62=65'] Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,66 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,66 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[62, 4], Operations: ['75-63=12', '12/3=4'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,66 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,66 unequal: No Solution Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[3, 63, 62, 75], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [3, 62, 12] Generated Node #0,3: 66:[3, 62, 12] Operation: 75-63=12 Moving to Node #0,3 Current State: 66:[3, 62, 12], Operations: ['75-63=12'] Exploring Operation: 12/3=4, Resulting Numbers: [62, 4] Generated Node #0,3,2: 66:[62, 4] Operation: 12/3=4 Moving to Node #0,3,2 Current State: 66:[62, 4], Operations: ['75-63=12', '12/3=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 62, 96, 13, 91 ]
27
[ "96-62=34", "91/13=7", "34-7=27" ]
Current State: 27:[62, 96, 13, 91], Operations: [] Exploring Operation: 96-62=34, Resulting Numbers: [13, 91, 34] Generated Node #2: [13, 91, 34] from Operation: 96-62=34 Current State: 27:[13, 91, 34], Operations: ['96-62=34'] Exploring Operation: 91/13=7, Resulting Numbers: [34, 7] Generated Node #3: [34, 7] from Operation: 91/13=7 Current State: 27:[34, 7], Operations: ['96-62=34', '91/13=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[62, 96, 13, 91], Operations: [] Exploring Operation: 96-62=34, Resulting Numbers: [13, 91, 34] Generated Node #0,0: 27:[13, 91, 34] Operation: 96-62=34 Exploring Operation: 91/13=7, Resulting Numbers: [62, 96, 7] Generated Node #0,1: 27:[62, 96, 7] Operation: 91/13=7 Exploring Operation: 62-13=49, Resulting Numbers: [96, 91, 49] Generated Node #0,2: 27:[96, 91, 49] Operation: 62-13=49 Exploring Operation: 96-91=5, Resulting Numbers: [62, 13, 5] Generated Node #0,3: 27:[62, 13, 5] Operation: 96-91=5 Exploring Operation: 91-62=29, Resulting Numbers: [96, 13, 29] Generated Node #0,4: 27:[96, 13, 29] Operation: 91-62=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[62, 13, 5], Operations: ['96-91=5'] Exploring Operation: 62-5=57, Resulting Numbers: [13, 57] Generated Node #0,3,0: 27:[13, 57] Operation: 62-5=57 Exploring Operation: 62-13=49, Resulting Numbers: [5, 49] Generated Node #0,3,1: 27:[5, 49] Operation: 62-13=49 Exploring Operation: 13+5=18, Resulting Numbers: [62, 18] Generated Node #0,3,2: 27:[62, 18] Operation: 13+5=18 Exploring Operation: 62+5=67, Resulting Numbers: [13, 67] Generated Node #0,3,3: 27:[13, 67] Operation: 62+5=67 Exploring Operation: 13-5=8, Resulting Numbers: [62, 8] Generated Node #0,3,4: 27:[62, 8] Operation: 13-5=8 Moving to Node #0,3,1 Current State: 27:[5, 49], Operations: ['96-91=5', '62-13=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,27 unequal: No Solution Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,27 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[13, 57], Operations: ['96-91=5', '62-5=57'] Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,27 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,27 unequal: No Solution Moving to Node #0,3,4 Current State: 27:[62, 8], Operations: ['96-91=5', '13-5=8'] Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,27 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[62, 18], Operations: ['96-91=5', '13+5=18'] Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[13, 67], Operations: ['96-91=5', '62+5=67'] Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,27 unequal: No Solution Exploring Operation: 13+67=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 13*67=871, Resulting Numbers: [871] 871,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 Current State: 27:[13, 91, 34], Operations: ['96-62=34'] Exploring Operation: 91/13=7, Resulting Numbers: [34, 7] Generated Node #0,0,0: 27:[34, 7] Operation: 91/13=7 Exploring Operation: 91-34=57, Resulting Numbers: [13, 57] Generated Node #0,0,1: 27:[13, 57] Operation: 91-34=57 Exploring Operation: 91-13=78, Resulting Numbers: [34, 78] Generated Node #0,0,2: 27:[34, 78] Operation: 91-13=78 Exploring Operation: 34-13=21, Resulting Numbers: [91, 21] Generated Node #0,0,3: 27:[91, 21] Operation: 34-13=21 Exploring Operation: 13+91=104, Resulting Numbers: [34, 104] Generated Node #0,0,4: 27:[34, 104] Operation: 13+91=104 Moving to Node #0,0,0 Current State: 27:[34, 7], Operations: ['96-62=34', '91/13=7'] Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[62, 96, 13, 91], Operations: [] Exploring Operation: 96-62=34, Resulting Numbers: [13, 91, 34] Generated Node #0,0: 27:[13, 91, 34] Operation: 96-62=34 Moving to Node #0,0 Current State: 27:[13, 91, 34], Operations: ['96-62=34'] Exploring Operation: 91/13=7, Resulting Numbers: [34, 7] Generated Node #0,0,0: 27:[34, 7] Operation: 91/13=7 Moving to Node #0,0,0 Current State: 27:[34, 7], Operations: ['96-62=34', '91/13=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 23, 16, 2, 54 ]
84
[ "23*2=46", "54-16=38", "46+38=84" ]
Current State: 84:[23, 16, 2, 54], Operations: [] Exploring Operation: 23*2=46, Resulting Numbers: [16, 54, 46] Generated Node #2: [16, 54, 46] from Operation: 23*2=46 Current State: 84:[16, 54, 46], Operations: ['23*2=46'] Exploring Operation: 54-16=38, Resulting Numbers: [46, 38] Generated Node #3: [46, 38] from Operation: 54-16=38 Current State: 84:[46, 38], Operations: ['23*2=46', '54-16=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[23, 16, 2, 54], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [16, 2, 31] Generated Node #0,0: 84:[16, 2, 31] Operation: 54-23=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[16, 2, 31], Operations: ['54-23=31'] Exploring Operation: 31-16=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 84:[2, 15] Operation: 31-16=15 Moving to Node #0,0,0 Current State: 84:[2, 15], Operations: ['54-23=31', '31-16=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 57, 18, 26, 35 ]
59
[ "35-26=9", "18/9=2", "57+2=59" ]
Current State: 59:[57, 18, 26, 35], Operations: [] Exploring Operation: 35-26=9, Resulting Numbers: [57, 18, 9] Generated Node #2: [57, 18, 9] from Operation: 35-26=9 Current State: 59:[57, 18, 9], Operations: ['35-26=9'] Exploring Operation: 18/9=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 18/9=2 Current State: 59:[57, 2], Operations: ['35-26=9', '18/9=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[57, 18, 26, 35], Operations: [] Exploring Operation: 18+26=44, Resulting Numbers: [57, 35, 44] Generated Node #0,0: 59:[57, 35, 44] Operation: 18+26=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[57, 35, 44], Operations: ['18+26=44'] Exploring Operation: 35+44=79, Resulting Numbers: [57, 79] Generated Node #0,0,0: 59:[57, 79] Operation: 35+44=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[57, 79], Operations: ['18+26=44', '35+44=79'] Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 56, 80, 20, 18 ]
62
[ "80-56=24", "20+18=38", "24+38=62" ]
Current State: 62:[56, 80, 20, 18], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [20, 18, 24] Generated Node #2: [20, 18, 24] from Operation: 80-56=24 Current State: 62:[20, 18, 24], Operations: ['80-56=24'] Exploring Operation: 20+18=38, Resulting Numbers: [24, 38] Generated Node #3: [24, 38] from Operation: 20+18=38 Current State: 62:[24, 38], Operations: ['80-56=24', '20+18=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[56, 80, 20, 18], Operations: [] Exploring Operation: 80-18=62, Resulting Numbers: [56, 20, 62] Generated Node #0,0: 62:[56, 20, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[56, 20, 62], Operations: ['80-18=62'] Exploring Operation: 56-20=36, Resulting Numbers: [62, 36] Generated Node #0,0,0: 62:[62, 36] Operation: 56-20=36 Moving to Node #0,0,0 Current State: 62:[62, 36], Operations: ['80-18=62', '56-20=36'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,62 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
[ 72, 62, 76, 34 ]
64
[ "72-34=38", "76/38=2", "62+2=64" ]
Current State: 64:[72, 62, 76, 34], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [62, 76, 38] Generated Node #2: [62, 76, 38] from Operation: 72-34=38 Current State: 64:[62, 76, 38], Operations: ['72-34=38'] Exploring Operation: 76/38=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 76/38=2 Current State: 64:[62, 2], Operations: ['72-34=38', '76/38=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[72, 62, 76, 34], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [62, 34, 4] Generated Node #0,0: 64:[62, 34, 4] Operation: 76-72=4 Moving to Node #0,0 Current State: 64:[62, 34, 4], Operations: ['76-72=4'] Exploring Operation: 62-34=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 64:[4, 28] Operation: 62-34=28 Moving to Node #0,0,0 Current State: 64:[4, 28], Operations: ['76-72=4', '62-34=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 38, 15, 59, 3 ]
16
[ "59-38=21", "15/3=5", "21-5=16" ]
Current State: 16:[38, 15, 59, 3], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [15, 3, 21] Generated Node #2: [15, 3, 21] from Operation: 59-38=21 Current State: 16:[15, 3, 21], Operations: ['59-38=21'] Exploring Operation: 15/3=5, Resulting Numbers: [21, 5] Generated Node #3: [21, 5] from Operation: 15/3=5 Current State: 16:[21, 5], Operations: ['59-38=21', '15/3=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[38, 15, 59, 3], Operations: [] Exploring Operation: 38-3=35, Resulting Numbers: [15, 59, 35] Generated Node #0,0: 16:[15, 59, 35] Operation: 38-3=35 Exploring Operation: 38-15=23, Resulting Numbers: [59, 3, 23] Generated Node #0,1: 16:[59, 3, 23] Operation: 38-15=23 Exploring Operation: 59-38=21, Resulting Numbers: [15, 3, 21] Generated Node #0,2: 16:[15, 3, 21] Operation: 59-38=21 Exploring Operation: 59-15=44, Resulting Numbers: [38, 3, 44] Generated Node #0,3: 16:[38, 3, 44] Operation: 59-15=44 Moving to Node #0,2 Current State: 16:[15, 3, 21], Operations: ['59-38=21'] Exploring Operation: 21-15=6, Resulting Numbers: [3, 6] Generated Node #0,2,0: 16:[3, 6] Operation: 21-15=6 Exploring Operation: 21/3=7, Resulting Numbers: [15, 7] Generated Node #0,2,1: 16:[15, 7] Operation: 21/3=7 Exploring Operation: 15/3=5, Resulting Numbers: [21, 5] Generated Node #0,2,2: 16:[21, 5] Operation: 15/3=5 Exploring Operation: 21-3=18, Resulting Numbers: [15, 18] Generated Node #0,2,3: 16:[15, 18] Operation: 21-3=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[15, 7], Operations: ['59-38=21', '21/3=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,16 unequal: No Solution No 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: 16:[3, 6], Operations: ['59-38=21', '21-15=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,16 unequal: No Solution No 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: 16:[15, 18], Operations: ['59-38=21', '21-3=18'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,16 unequal: No Solution No 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: 16:[21, 5], Operations: ['59-38=21', '15/3=5'] Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[38, 15, 59, 3], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [15, 3, 21] Generated Node #0,2: 16:[15, 3, 21] Operation: 59-38=21 Moving to Node #0,2 Current State: 16:[15, 3, 21], Operations: ['59-38=21'] Exploring Operation: 15/3=5, Resulting Numbers: [21, 5] Generated Node #0,2,2: 16:[21, 5] Operation: 15/3=5 Moving to Node #0,2,2 Current State: 16:[21, 5], Operations: ['59-38=21', '15/3=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 40, 44, 6, 58 ]
60
[ "44-40=4", "6+58=64", "64-4=60" ]
Current State: 60:[40, 44, 6, 58], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [6, 58, 4] Generated Node #2: [6, 58, 4] from Operation: 44-40=4 Current State: 60:[6, 58, 4], Operations: ['44-40=4'] Exploring Operation: 6+58=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 6+58=64 Current State: 60:[4, 64], Operations: ['44-40=4', '6+58=64'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[40, 44, 6, 58], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [6, 58, 4] Generated Node #0,0: 60:[6, 58, 4] Operation: 44-40=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[6, 58, 4], Operations: ['44-40=4'] Exploring Operation: 6+4=10, Resulting Numbers: [58, 10] Generated Node #0,0,0: 60:[58, 10] Operation: 6+4=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[58, 10], Operations: ['44-40=4', '6+4=10'] Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 99, 17, 78, 15 ]
63
[ "78*15=1170", "1170-99=1071", "1071/17=63" ]
Current State: 63:[99, 17, 78, 15], Operations: [] Exploring Operation: 78*15=1170, Resulting Numbers: [99, 17, 1170] Generated Node #2: [99, 17, 1170] from Operation: 78*15=1170 Current State: 63:[99, 17, 1170], Operations: ['78*15=1170'] Exploring Operation: 1170-99=1071, Resulting Numbers: [17, 1071] Generated Node #3: [17, 1071] from Operation: 1170-99=1071 Current State: 63:[17, 1071], Operations: ['78*15=1170', '1170-99=1071'] Exploring Operation: 1071/17=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[99, 17, 78, 15], Operations: [] Exploring Operation: 99-17=82, Resulting Numbers: [78, 15, 82] Generated Node #0,0: 63:[78, 15, 82] Operation: 99-17=82 Exploring Operation: 99-78=21, Resulting Numbers: [17, 15, 21] Generated Node #0,1: 63:[17, 15, 21] Operation: 99-78=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[17, 15, 21], Operations: ['99-78=21'] Exploring Operation: 21-15=6, Resulting Numbers: [17, 6] Generated Node #0,1,0: 63:[17, 6] Operation: 21-15=6 Exploring Operation: 17-15=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 63:[21, 2] Operation: 17-15=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[21, 2], Operations: ['99-78=21', '17-15=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[17, 6], Operations: ['99-78=21', '21-15=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[78, 15, 82], Operations: ['99-17=82'] Exploring Operation: 82-78=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 63:[15, 4] Operation: 82-78=4 Exploring Operation: 78-15=63, Resulting Numbers: [82, 63] Generated Node #0,0,1: 63:[82, 63] Operation: 78-15=63 Moving to Node #0,0,0 Current State: 63:[15, 4], Operations: ['99-17=82', '82-78=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[82, 63], Operations: ['99-17=82', '78-15=63'] Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,63 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,63 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
[ 41, 47, 83, 28 ]
33
[ "41+47=88", "83-28=55", "88-55=33" ]
Current State: 33:[41, 47, 83, 28], Operations: [] Exploring Operation: 41+47=88, Resulting Numbers: [83, 28, 88] Generated Node #2: [83, 28, 88] from Operation: 41+47=88 Current State: 33:[83, 28, 88], Operations: ['41+47=88'] Exploring Operation: 83-28=55, Resulting Numbers: [88, 55] Generated Node #3: [88, 55] from Operation: 83-28=55 Current State: 33:[88, 55], Operations: ['41+47=88', '83-28=55'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[41, 47, 83, 28], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [41, 28, 36] Generated Node #0,0: 33:[41, 28, 36] Operation: 83-47=36 Moving to Node #0,0 Current State: 33:[41, 28, 36], Operations: ['83-47=36'] Exploring Operation: 41-28=13, Resulting Numbers: [36, 13] Generated Node #0,0,0: 33:[36, 13] Operation: 41-28=13 Moving to Node #0,0,0 Current State: 33:[36, 13], Operations: ['83-47=36', '41-28=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,33 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 56, 79, 19, 77 ]
74
[ "56-19=37", "79-77=2", "37*2=74" ]
Current State: 74:[56, 79, 19, 77], Operations: [] Exploring Operation: 56-19=37, Resulting Numbers: [79, 77, 37] Generated Node #2: [79, 77, 37] from Operation: 56-19=37 Current State: 74:[79, 77, 37], Operations: ['56-19=37'] Exploring Operation: 79-77=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 79-77=2 Current State: 74:[37, 2], Operations: ['56-19=37', '79-77=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[56, 79, 19, 77], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [19, 77, 23] Generated Node #0,0: 74:[19, 77, 23] Operation: 79-56=23 Exploring Operation: 56-19=37, Resulting Numbers: [79, 77, 37] Generated Node #0,1: 74:[79, 77, 37] Operation: 56-19=37 Exploring Operation: 56+19=75, Resulting Numbers: [79, 77, 75] Generated Node #0,2: 74:[79, 77, 75] Operation: 56+19=75 Exploring Operation: 79-19=60, Resulting Numbers: [56, 77, 60] Generated Node #0,3: 74:[56, 77, 60] Operation: 79-19=60 Moving to Node #0,1 Current State: 74:[79, 77, 37], Operations: ['56-19=37'] Exploring Operation: 79-37=42, Resulting Numbers: [77, 42] Generated Node #0,1,0: 74:[77, 42] Operation: 79-37=42 Exploring Operation: 77-37=40, Resulting Numbers: [79, 40] Generated Node #0,1,1: 74:[79, 40] Operation: 77-37=40 Exploring Operation: 79-77=2, Resulting Numbers: [37, 2] Generated Node #0,1,2: 74:[37, 2] Operation: 79-77=2 Exploring Operation: 79+37=116, Resulting Numbers: [77, 116] Generated Node #0,1,3: 74:[77, 116] Operation: 79+37=116 Moving to Node #0,2 Current State: 74:[79, 77, 75], Operations: ['56+19=75'] Exploring Operation: 79-75=4, Resulting Numbers: [77, 4] Generated Node #0,2,0: 74:[77, 4] Operation: 79-75=4 Exploring Operation: 79+77=156, Resulting Numbers: [75, 156] Generated Node #0,2,1: 74:[75, 156] Operation: 79+77=156 Exploring Operation: 77-75=2, Resulting Numbers: [79, 2] Generated Node #0,2,2: 74:[79, 2] Operation: 77-75=2 Exploring Operation: 79-77=2, Resulting Numbers: [75, 2] Generated Node #0,2,3: 74:[75, 2] Operation: 79-77=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[75, 2], Operations: ['56+19=75', '79-77=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,74 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,74 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[77, 4], Operations: ['56+19=75', '79-75=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,74 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[79, 2], Operations: ['56+19=75', '77-75=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,74 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[75, 156], Operations: ['56+19=75', '79+77=156'] Exploring Operation: 75+156=231, Resulting Numbers: [231] 231,74 unequal: No Solution Exploring Operation: 75*156=11700, Resulting Numbers: [11700] 11700,74 unequal: No Solution Exploring Operation: 156-75=81, Resulting Numbers: [81] 81,74 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: 74:[19, 77, 23], Operations: ['79-56=23'] Exploring Operation: 19+23=42, Resulting Numbers: [77, 42] Generated Node #0,0,0: 74:[77, 42] Operation: 19+23=42 Exploring Operation: 77-19=58, Resulting Numbers: [23, 58] Generated Node #0,0,1: 74:[23, 58] Operation: 77-19=58 Exploring Operation: 23-19=4, Resulting Numbers: [77, 4] Generated Node #0,0,2: 74:[77, 4] Operation: 23-19=4 Exploring Operation: 77-23=54, Resulting Numbers: [19, 54] Generated Node #0,0,3: 74:[19, 54] Operation: 77-23=54 Moving to Node #0,3 Current State: 74:[56, 77, 60], Operations: ['79-19=60'] Exploring Operation: 56+60=116, Resulting Numbers: [77, 116] Generated Node #0,3,0: 74:[77, 116] Operation: 56+60=116 Exploring Operation: 77-56=21, Resulting Numbers: [60, 21] Generated Node #0,3,1: 74:[60, 21] Operation: 77-56=21 Exploring Operation: 77-60=17, Resulting Numbers: [56, 17] Generated Node #0,3,2: 74:[56, 17] Operation: 77-60=17 Exploring Operation: 60-56=4, Resulting Numbers: [77, 4] Generated Node #0,3,3: 74:[77, 4] Operation: 60-56=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[77, 4], Operations: ['79-19=60', '60-56=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,74 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[60, 21], Operations: ['79-19=60', '77-56=21'] Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,74 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[56, 17], Operations: ['79-19=60', '77-60=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,74 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[77, 116], Operations: ['79-19=60', '56+60=116'] Exploring Operation: 116-77=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 77+116=193, Resulting Numbers: [193] 193,74 unequal: No Solution Exploring Operation: 77*116=8932, Resulting Numbers: [8932] 8932,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 74:[37, 2], Operations: ['56-19=37', '79-77=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[56, 79, 19, 77], Operations: [] Exploring Operation: 56-19=37, Resulting Numbers: [79, 77, 37] Generated Node #0,1: 74:[79, 77, 37] Operation: 56-19=37 Moving to Node #0,1 Current State: 74:[79, 77, 37], Operations: ['56-19=37'] Exploring Operation: 79-77=2, Resulting Numbers: [37, 2] Generated Node #0,1,2: 74:[37, 2] Operation: 79-77=2 Moving to Node #0,1,2 Current State: 74:[37, 2], Operations: ['56-19=37', '79-77=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 73, 13, 8, 42 ]
10
[ "73-13=60", "8+42=50", "60-50=10" ]
Current State: 10:[73, 13, 8, 42], Operations: [] Exploring Operation: 73-13=60, Resulting Numbers: [8, 42, 60] Generated Node #2: [8, 42, 60] from Operation: 73-13=60 Current State: 10:[8, 42, 60], Operations: ['73-13=60'] Exploring Operation: 8+42=50, Resulting Numbers: [60, 50] Generated Node #3: [60, 50] from Operation: 8+42=50 Current State: 10:[60, 50], Operations: ['73-13=60', '8+42=50'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[73, 13, 8, 42], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [13, 8, 31] Generated Node #0,0: 10:[13, 8, 31] Operation: 73-42=31 Moving to Node #0,0 Current State: 10:[13, 8, 31], Operations: ['73-42=31'] Exploring Operation: 31-13=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 10:[8, 18] Operation: 31-13=18 Moving to Node #0,0,0 Current State: 10:[8, 18], Operations: ['73-42=31', '31-13=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[73, 13, 8, 42], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [13, 8, 31] Generated Node #0,0: 10:[13, 8, 31] Operation: 73-42=31 Moving to Node #0,0 Current State: 10:[13, 8, 31], Operations: ['73-42=31'] Exploring Operation: 31-13=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 10:[8, 18] Operation: 31-13=18 Moving to Node #0,0,0 Current State: 10:[8, 18], Operations: ['73-42=31', '31-13=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 52, 41, 1, 99 ]
89
[ "52-41=11", "1+99=100", "100-11=89" ]
Current State: 89:[52, 41, 1, 99], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [1, 99, 11] Generated Node #2: [1, 99, 11] from Operation: 52-41=11 Current State: 89:[1, 99, 11], Operations: ['52-41=11'] Exploring Operation: 1+99=100, Resulting Numbers: [11, 100] Generated Node #3: [11, 100] from Operation: 1+99=100 Current State: 89:[11, 100], Operations: ['52-41=11', '1+99=100'] Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[52, 41, 1, 99], Operations: [] Exploring Operation: 99-1=98, Resulting Numbers: [52, 41, 98] Generated Node #0,0: 89:[52, 41, 98] Operation: 99-1=98 Exploring Operation: 52/1=52, Resulting Numbers: [41, 99, 52] Generated Node #0,1: 89:[41, 99, 52] Operation: 52/1=52 Exploring Operation: 52*1=52, Resulting Numbers: [41, 99, 52] Generated Node #0,2: 89:[41, 99, 52] Operation: 52*1=52 Exploring Operation: 52+1=53, Resulting Numbers: [41, 99, 53] Generated Node #0,3: 89:[41, 99, 53] Operation: 52+1=53 Exploring Operation: 41+1=42, Resulting Numbers: [52, 99, 42] Generated Node #0,4: 89:[52, 99, 42] Operation: 41+1=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[52, 41, 98], Operations: ['99-1=98'] Exploring Operation: 98-41=57, Resulting Numbers: [52, 57] Generated Node #0,0,0: 89:[52, 57] Operation: 98-41=57 Exploring Operation: 41+98=139, Resulting Numbers: [52, 139] Generated Node #0,0,1: 89:[52, 139] Operation: 41+98=139 Exploring Operation: 52+41=93, Resulting Numbers: [98, 93] Generated Node #0,0,2: 89:[98, 93] Operation: 52+41=93 Exploring Operation: 98-52=46, Resulting Numbers: [41, 46] Generated Node #0,0,3: 89:[41, 46] Operation: 98-52=46 Exploring Operation: 52-41=11, Resulting Numbers: [98, 11] Generated Node #0,0,4: 89:[98, 11] Operation: 52-41=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[98, 93], Operations: ['99-1=98', '52+41=93'] Exploring Operation: 98*93=9114, Resulting Numbers: [9114] 9114,89 unequal: No Solution Exploring Operation: 98+93=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,89 unequal: No Solution No 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: 89:[52, 57], Operations: ['99-1=98', '98-41=57'] Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,89 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,89 unequal: No Solution No 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: 89:[52, 139], Operations: ['99-1=98', '41+98=139'] Exploring Operation: 139-52=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 52+139=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 52*139=7228, Resulting Numbers: [7228] 7228,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 89:[98, 11], Operations: ['99-1=98', '52-41=11'] Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,89 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,89 unequal: No Solution No 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: 89:[41, 46], Operations: ['99-1=98', '98-52=46'] Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 41*46=1886, Resulting Numbers: [1886] 1886,89 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: 89:[41, 99, 53], Operations: ['52+1=53'] Exploring Operation: 41+53=94, Resulting Numbers: [99, 94] Generated Node #0,3,0: 89:[99, 94] Operation: 41+53=94 Exploring Operation: 41+99=140, Resulting Numbers: [53, 140] Generated Node #0,3,1: 89:[53, 140] Operation: 41+99=140 Exploring Operation: 53-41=12, Resulting Numbers: [99, 12] Generated Node #0,3,2: 89:[99, 12] Operation: 53-41=12 Exploring Operation: 99-41=58, Resulting Numbers: [53, 58] Generated Node #0,3,3: 89:[53, 58] Operation: 99-41=58 Exploring Operation: 99-53=46, Resulting Numbers: [41, 46] Generated Node #0,3,4: 89:[41, 46] Operation: 99-53=46 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[99, 94], Operations: ['52+1=53', '41+53=94'] Exploring Operation: 99*94=9306, Resulting Numbers: [9306] 9306,89 unequal: No Solution Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 99+94=193, Resulting Numbers: [193] 193,89 unequal: No Solution No 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: 89:[53, 58], Operations: ['52+1=53', '99-41=58'] Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,89 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,89 unequal: No Solution No 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: 89:[53, 140], Operations: ['52+1=53', '41+99=140'] Exploring Operation: 140-53=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 53+140=193, Resulting Numbers: [193] 193,89 unequal: No Solution Exploring Operation: 53*140=7420, Resulting Numbers: [7420] 7420,89 unequal: No Solution No 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: 89:[99, 12], Operations: ['52+1=53', '53-41=12'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 99+12=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 99*12=1188, Resulting Numbers: [1188] 1188,89 unequal: No Solution No 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: 89:[41, 46], Operations: ['52+1=53', '99-53=46'] Exploring Operation: 41*46=1886, Resulting Numbers: [1886] 1886,89 unequal: No Solution Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,89 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: 89:[52, 99, 42], Operations: ['41+1=42'] Exploring Operation: 52+42=94, Resulting Numbers: [99, 94] Generated Node #0,4,0: 89:[99, 94] Operation: 52+42=94 Exploring Operation: 99-42=57, Resulting Numbers: [52, 57] Generated Node #0,4,1: 89:[52, 57] Operation: 99-42=57 Exploring Operation: 52-42=10, Resulting Numbers: [99, 10] Generated Node #0,4,2: 89:[99, 10] Operation: 52-42=10 Exploring Operation: 99+42=141, Resulting Numbers: [52, 141] Generated Node #0,4,3: 89:[52, 141] Operation: 99+42=141 Exploring Operation: 99-52=47, Resulting Numbers: [42, 47] Generated Node #0,4,4: 89:[42, 47] Operation: 99-52=47 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 89:[99, 94], Operations: ['41+1=42', '52+42=94'] Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 99*94=9306, Resulting Numbers: [9306] 9306,89 unequal: No Solution Exploring Operation: 99+94=193, Resulting Numbers: [193] 193,89 unequal: No Solution No 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: 89:[52, 57], Operations: ['41+1=42', '99-42=57'] Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,89 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,89 unequal: No Solution No 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: 89:[99, 10], Operations: ['41+1=42', '52-42=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[52, 41, 1, 99], Operations: [] Exploring Operation: 41+1=42, Resulting Numbers: [52, 99, 42] Generated Node #0,4: 89:[52, 99, 42] Operation: 41+1=42 Moving to Node #0,4 Current State: 89:[52, 99, 42], Operations: ['41+1=42'] Exploring Operation: 52-42=10, Resulting Numbers: [99, 10] Generated Node #0,4,2: 89:[99, 10] Operation: 52-42=10 Moving to Node #0,4,2 Current State: 89:[99, 10], Operations: ['41+1=42', '52-42=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947049
hs_5
mult_heuristic
[ 80, 10, 34, 4 ]
60
[ "80+10=90", "34-4=30", "90-30=60" ]
Current State: 60:[80, 10, 34, 4], Operations: [] Exploring Operation: 80+10=90, Resulting Numbers: [34, 4, 90] Generated Node #2: [34, 4, 90] from Operation: 80+10=90 Current State: 60:[34, 4, 90], Operations: ['80+10=90'] Exploring Operation: 34-4=30, Resulting Numbers: [90, 30] Generated Node #3: [90, 30] from Operation: 34-4=30 Current State: 60:[90, 30], Operations: ['80+10=90', '34-4=30'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[80, 10, 34, 4], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [34, 4, 70] Generated Node #0,0: 60:[34, 4, 70] Operation: 80-10=70 Exploring Operation: 80/4=20, Resulting Numbers: [10, 34, 20] Generated Node #0,1: 60:[10, 34, 20] Operation: 80/4=20 Exploring Operation: 80/10=8, Resulting Numbers: [34, 4, 8] Generated Node #0,2: 60:[34, 4, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[10, 34, 20], Operations: ['80/4=20'] Exploring Operation: 34-20=14, Resulting Numbers: [10, 14] Generated Node #0,1,0: 60:[10, 14] Operation: 34-20=14 Exploring Operation: 10+20=30, Resulting Numbers: [34, 30] Generated Node #0,1,1: 60:[34, 30] Operation: 10+20=30 Exploring Operation: 34-10=24, Resulting Numbers: [20, 24] Generated Node #0,1,2: 60:[20, 24] Operation: 34-10=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[10, 14], Operations: ['80/4=20', '34-20=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,60 unequal: No Solution No 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: 60:[34, 30], Operations: ['80/4=20', '10+20=30'] Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,60 unequal: No Solution No 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: 60:[20, 24], Operations: ['80/4=20', '34-10=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,60 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,60 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: 60:[34, 4, 8], Operations: ['80/10=8'] Exploring Operation: 34-8=26, Resulting Numbers: [4, 26] Generated Node #0,2,0: 60:[4, 26] Operation: 34-8=26 Exploring Operation: 4+8=12, Resulting Numbers: [34, 12] Generated Node #0,2,1: 60:[34, 12] Operation: 4+8=12 Exploring Operation: 34-4=30, Resulting Numbers: [8, 30] Generated Node #0,2,2: 60:[8, 30] Operation: 34-4=30 Moving to Node #0,2,2 Current State: 60:[8, 30], Operations: ['80/10=8', '34-4=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,60 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[4, 26], Operations: ['80/10=8', '34-8=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[34, 12], Operations: ['80/10=8', '4+8=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,60 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[34, 4, 70], Operations: ['80-10=70'] Exploring Operation: 34-4=30, Resulting Numbers: [70, 30] Generated Node #0,0,0: 60:[70, 30] Operation: 34-4=30 Exploring Operation: 70-34=36, Resulting Numbers: [4, 36] Generated Node #0,0,1: 60:[4, 36] Operation: 70-34=36 Exploring Operation: 70-4=66, Resulting Numbers: [34, 66] Generated Node #0,0,2: 60:[34, 66] Operation: 70-4=66 Moving to Node #0,0,1 Current State: 60:[4, 36], Operations: ['80-10=70', '70-34=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[70, 30], Operations: ['80-10=70', '34-4=30'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[34, 66], Operations: ['80-10=70', '70-4=66'] Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,60 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,60 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
[ 44, 93, 31, 1 ]
40
[ "44-1=43", "93/31=3", "43-3=40" ]
Current State: 40:[44, 93, 31, 1], Operations: [] Exploring Operation: 44-1=43, Resulting Numbers: [93, 31, 43] Generated Node #2: [93, 31, 43] from Operation: 44-1=43 Current State: 40:[93, 31, 43], Operations: ['44-1=43'] Exploring Operation: 93/31=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 93/31=3 Current State: 40:[43, 3], Operations: ['44-1=43', '93/31=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[44, 93, 31, 1], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [44, 1, 3] Generated Node #0,0: 40:[44, 1, 3] Operation: 93/31=3 Moving to Node #0,0 Current State: 40:[44, 1, 3], Operations: ['93/31=3'] Exploring Operation: 44-3=41, Resulting Numbers: [1, 41] Generated Node #0,0,0: 40:[1, 41] Operation: 44-3=41 Moving to Node #0,0,0 Current State: 40:[1, 41], Operations: ['93/31=3', '44-3=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[44, 93, 31, 1], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [44, 1, 3] Generated Node #0,0: 40:[44, 1, 3] Operation: 93/31=3 Moving to Node #0,0 Current State: 40:[44, 1, 3], Operations: ['93/31=3'] Exploring Operation: 44-3=41, Resulting Numbers: [1, 41] Generated Node #0,0,0: 40:[1, 41] Operation: 44-3=41 Moving to Node #0,0,0 Current State: 40:[1, 41], Operations: ['93/31=3', '44-3=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 83, 69, 84, 25 ]
93
[ "83+69=152", "84-25=59", "152-59=93" ]
Current State: 93:[83, 69, 84, 25], Operations: [] Exploring Operation: 83+69=152, Resulting Numbers: [84, 25, 152] Generated Node #2: [84, 25, 152] from Operation: 83+69=152 Current State: 93:[84, 25, 152], Operations: ['83+69=152'] Exploring Operation: 84-25=59, Resulting Numbers: [152, 59] Generated Node #3: [152, 59] from Operation: 84-25=59 Current State: 93:[152, 59], Operations: ['83+69=152', '84-25=59'] Exploring Operation: 152-59=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[83, 69, 84, 25], Operations: [] Exploring Operation: 69+25=94, Resulting Numbers: [83, 84, 94] Generated Node #0,0: 93:[83, 84, 94] Operation: 69+25=94 Moving to Node #0,0 Current State: 93:[83, 84, 94], Operations: ['69+25=94'] Exploring Operation: 84-83=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 93:[94, 1] Operation: 84-83=1 Moving to Node #0,0,0 Current State: 93:[94, 1], Operations: ['69+25=94', '84-83=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[83, 69, 84, 25], Operations: [] Exploring Operation: 69+25=94, Resulting Numbers: [83, 84, 94] Generated Node #0,0: 93:[83, 84, 94] Operation: 69+25=94 Moving to Node #0,0 Current State: 93:[83, 84, 94], Operations: ['69+25=94'] Exploring Operation: 84-83=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 93:[94, 1] Operation: 84-83=1 Moving to Node #0,0,0 Current State: 93:[94, 1], Operations: ['69+25=94', '84-83=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 62, 30, 70, 5 ]
82
[ "30+70=100", "100/5=20", "62+20=82" ]
Current State: 82:[62, 30, 70, 5], Operations: [] Exploring Operation: 30+70=100, Resulting Numbers: [62, 5, 100] Generated Node #2: [62, 5, 100] from Operation: 30+70=100 Current State: 82:[62, 5, 100], Operations: ['30+70=100'] Exploring Operation: 100/5=20, Resulting Numbers: [62, 20] Generated Node #3: [62, 20] from Operation: 100/5=20 Current State: 82:[62, 20], Operations: ['30+70=100', '100/5=20'] Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[62, 30, 70, 5], Operations: [] Exploring Operation: 62-30=32, Resulting Numbers: [70, 5, 32] Generated Node #0,0: 82:[70, 5, 32] Operation: 62-30=32 Exploring Operation: 62+30=92, Resulting Numbers: [70, 5, 92] Generated Node #0,1: 82:[70, 5, 92] Operation: 62+30=92 Exploring Operation: 70-62=8, Resulting Numbers: [30, 5, 8] Generated Node #0,2: 82:[30, 5, 8] Operation: 70-62=8 Exploring Operation: 70-30=40, Resulting Numbers: [62, 5, 40] Generated Node #0,3: 82:[62, 5, 40] Operation: 70-30=40 Moving to Node #0,2 Current State: 82:[30, 5, 8], Operations: ['70-62=8'] Exploring Operation: 30/5=6, Resulting Numbers: [8, 6] Generated Node #0,2,0: 82:[8, 6] Operation: 30/5=6 Exploring Operation: 30+8=38, Resulting Numbers: [5, 38] Generated Node #0,2,1: 82:[5, 38] Operation: 30+8=38 Exploring Operation: 5*8=40, Resulting Numbers: [30, 40] Generated Node #0,2,2: 82:[30, 40] Operation: 5*8=40 Exploring Operation: 30+5=35, Resulting Numbers: [8, 35] Generated Node #0,2,3: 82:[8, 35] Operation: 30+5=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[5, 38], Operations: ['70-62=8', '30+8=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,82 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[8, 6], Operations: ['70-62=8', '30/5=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[30, 40], Operations: ['70-62=8', '5*8=40'] Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,82 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[8, 35], Operations: ['70-62=8', '30+5=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,82 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: 82:[62, 5, 40], Operations: ['70-30=40'] Exploring Operation: 62+40=102, Resulting Numbers: [5, 102] Generated Node #0,3,0: 82:[5, 102] Operation: 62+40=102 Exploring Operation: 62-5=57, Resulting Numbers: [40, 57] Generated Node #0,3,1: 82:[40, 57] Operation: 62-5=57 Exploring Operation: 62+5=67, Resulting Numbers: [40, 67] Generated Node #0,3,2: 82:[40, 67] Operation: 62+5=67 Exploring Operation: 62-40=22, Resulting Numbers: [5, 22] Generated Node #0,3,3: 82:[5, 22] Operation: 62-40=22 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[40, 67], Operations: ['70-30=40', '62+5=67'] Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,82 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[40, 57], Operations: ['70-30=40', '62-5=57'] Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,82 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[5, 22], Operations: ['70-30=40', '62-40=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[5, 102], Operations: ['70-30=40', '62+40=102'] Exploring Operation: 5*102=510, Resulting Numbers: [510] 510,82 unequal: No Solution Exploring Operation: 5+102=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 102-5=97, Resulting Numbers: [97] 97,82 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: 82:[70, 5, 32], Operations: ['62-30=32'] Exploring Operation: 70/5=14, Resulting Numbers: [32, 14] Generated Node #0,0,0: 82:[32, 14] Operation: 70/5=14 Exploring Operation: 5+32=37, Resulting Numbers: [70, 37] Generated Node #0,0,1: 82:[70, 37] Operation: 5+32=37 Exploring Operation: 70+5=75, Resulting Numbers: [32, 75] Generated Node #0,0,2: 82:[32, 75] Operation: 70+5=75 Exploring Operation: 70-32=38, Resulting Numbers: [5, 38] Generated Node #0,0,3: 82:[5, 38] Operation: 70-32=38 Moving to Node #0,1 Current State: 82:[70, 5, 92], Operations: ['62+30=92'] Exploring Operation: 92-70=22, Resulting Numbers: [5, 22] Generated Node #0,1,0: 82:[5, 22] Operation: 92-70=22 Exploring Operation: 70+5=75, Resulting Numbers: [92, 75] Generated Node #0,1,1: 82:[92, 75] Operation: 70+5=75 Exploring Operation: 92-5=87, Resulting Numbers: [70, 87] Generated Node #0,1,2: 82:[70, 87] Operation: 92-5=87 Exploring Operation: 70/5=14, Resulting Numbers: [92, 14] Generated Node #0,1,3: 82:[92, 14] Operation: 70/5=14 Moving to Node #0,0,3 Current State: 82:[5, 38], Operations: ['62-30=32', '70-32=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,82 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[32, 75], Operations: ['62-30=32', '70+5=75'] Exploring Operation: 32*75=2400, Resulting Numbers: [2400] 2400,82 unequal: No Solution Exploring Operation: 32+75=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[70, 37], Operations: ['62-30=32', '5+32=37'] Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,82 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[70, 87], Operations: ['62+30=92', '92-5=87'] Exploring Operation: 70*87=6090, Resulting Numbers: [6090] 6090,82 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 70+87=157, Resulting Numbers: [157] 157,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[92, 75], Operations: ['62+30=92', '70+5=75'] Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[32, 14], Operations: ['62-30=32', '70/5=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[5, 22], Operations: ['62+30=92', '92-70=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[92, 14], Operations: ['62+30=92', '70/5=14'] Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,82 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,82 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,82 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 63, 58, 10, 21 ]
19
[ "63-58=5", "10/5=2", "21-2=19" ]
Current State: 19:[63, 58, 10, 21], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [10, 21, 5] Generated Node #2: [10, 21, 5] from Operation: 63-58=5 Current State: 19:[10, 21, 5], Operations: ['63-58=5'] Exploring Operation: 10/5=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 10/5=2 Current State: 19:[21, 2], Operations: ['63-58=5', '10/5=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[63, 58, 10, 21], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [10, 21, 5] Generated Node #0,0: 19:[10, 21, 5] Operation: 63-58=5 Moving to Node #0,0 Current State: 19:[10, 21, 5], Operations: ['63-58=5'] Exploring Operation: 10+5=15, Resulting Numbers: [21, 15] Generated Node #0,0,0: 19:[21, 15] Operation: 10+5=15 Moving to Node #0,0,0 Current State: 19:[21, 15], Operations: ['63-58=5', '10+5=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 77, 40, 54 ]
28
[ "40*54=2160", "2160-4=2156", "2156/77=28" ]
Current State: 28:[4, 77, 40, 54], Operations: [] Exploring Operation: 40*54=2160, Resulting Numbers: [4, 77, 2160] Generated Node #2: [4, 77, 2160] from Operation: 40*54=2160 Current State: 28:[4, 77, 2160], Operations: ['40*54=2160'] Exploring Operation: 2160-4=2156, Resulting Numbers: [77, 2156] Generated Node #3: [77, 2156] from Operation: 2160-4=2156 Current State: 28:[77, 2156], Operations: ['40*54=2160', '2160-4=2156'] Exploring Operation: 2156/77=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[4, 77, 40, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [4, 77, 14] Generated Node #0,0: 28:[4, 77, 14] Operation: 54-40=14 Exploring Operation: 77-40=37, Resulting Numbers: [4, 54, 37] Generated Node #0,1: 28:[4, 54, 37] Operation: 77-40=37 Exploring Operation: 77-54=23, Resulting Numbers: [4, 40, 23] Generated Node #0,2: 28:[4, 40, 23] Operation: 77-54=23 Moving to Node #0,2 Current State: 28:[4, 40, 23], Operations: ['77-54=23'] Exploring Operation: 40-23=17, Resulting Numbers: [4, 17] Generated Node #0,2,0: 28:[4, 17] Operation: 40-23=17 Exploring Operation: 40/4=10, Resulting Numbers: [23, 10] Generated Node #0,2,1: 28:[23, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [23, 36] Generated Node #0,2,2: 28:[23, 36] Operation: 40-4=36 Moving to Node #0,1 Current State: 28:[4, 54, 37], Operations: ['77-40=37'] Exploring Operation: 54-4=50, Resulting Numbers: [37, 50] Generated Node #0,1,0: 28:[37, 50] Operation: 54-4=50 Exploring Operation: 37-4=33, Resulting Numbers: [54, 33] Generated Node #0,1,1: 28:[54, 33] Operation: 37-4=33 Exploring Operation: 54-37=17, Resulting Numbers: [4, 17] Generated Node #0,1,2: 28:[4, 17] Operation: 54-37=17 Moving to Node #0,0 Current State: 28:[4, 77, 14], Operations: ['54-40=14'] Exploring Operation: 14-4=10, Resulting Numbers: [77, 10] Generated Node #0,0,0: 28:[77, 10] Operation: 14-4=10 Exploring Operation: 77-4=73, Resulting Numbers: [14, 73] Generated Node #0,0,1: 28:[14, 73] Operation: 77-4=73 Exploring Operation: 77-14=63, Resulting Numbers: [4, 63] Generated Node #0,0,2: 28:[4, 63] Operation: 77-14=63 Moving to Node #0,2,0 Current State: 28:[4, 17], Operations: ['77-54=23', '40-23=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[4, 17], Operations: ['77-40=37', '54-37=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[23, 10], Operations: ['77-54=23', '40/4=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,28 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[23, 36], Operations: ['77-54=23', '40-4=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,28 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[54, 33], Operations: ['77-40=37', '37-4=33'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,28 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[37, 50], Operations: ['77-40=37', '54-4=50'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,28 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[4, 63], Operations: ['54-40=14', '77-14=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,28 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,28 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[14, 73], Operations: ['54-40=14', '77-4=73'] Exploring Operation: 14*73=1022, Resulting Numbers: [1022] 1022,28 unequal: No Solution Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,28 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[77, 10], Operations: ['54-40=14', '14-4=10'] Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,28 unequal: No Solution Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,28 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,28 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 17, 51, 16 ]
13
[ "37+17=54", "51+16=67", "67-54=13" ]
Current State: 13:[37, 17, 51, 16], Operations: [] Exploring Operation: 37+17=54, Resulting Numbers: [51, 16, 54] Generated Node #2: [51, 16, 54] from Operation: 37+17=54 Current State: 13:[51, 16, 54], Operations: ['37+17=54'] Exploring Operation: 51+16=67, Resulting Numbers: [54, 67] Generated Node #3: [54, 67] from Operation: 51+16=67 Current State: 13:[54, 67], Operations: ['37+17=54', '51+16=67'] Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[37, 17, 51, 16], Operations: [] Exploring Operation: 51-37=14, Resulting Numbers: [17, 16, 14] Generated Node #0,0: 13:[17, 16, 14] Operation: 51-37=14 Exploring Operation: 37-17=20, Resulting Numbers: [51, 16, 20] Generated Node #0,1: 13:[51, 16, 20] Operation: 37-17=20 Exploring Operation: 51/17=3, Resulting Numbers: [37, 16, 3] Generated Node #0,2: 13:[37, 16, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [37, 16, 34] Generated Node #0,3: 13:[37, 16, 34] Operation: 51-17=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[17, 16, 14], Operations: ['51-37=14'] Exploring Operation: 17-14=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 13:[16, 3] Operation: 17-14=3 Exploring Operation: 17+16=33, Resulting Numbers: [14, 33] Generated Node #0,0,1: 13:[14, 33] Operation: 17+16=33 Exploring Operation: 16-14=2, Resulting Numbers: [17, 2] Generated Node #0,0,2: 13:[17, 2] Operation: 16-14=2 Exploring Operation: 17-16=1, Resulting Numbers: [14, 1] Generated Node #0,0,3: 13:[14, 1] Operation: 17-16=1 Moving to Node #0,0,0 Current State: 13:[16, 3], Operations: ['51-37=14', '17-14=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[37, 17, 51, 16], Operations: [] Exploring Operation: 51-37=14, Resulting Numbers: [17, 16, 14] Generated Node #0,0: 13:[17, 16, 14] Operation: 51-37=14 Moving to Node #0,0 Current State: 13:[17, 16, 14], Operations: ['51-37=14'] Exploring Operation: 17-14=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 13:[16, 3] Operation: 17-14=3 Moving to Node #0,0,0 Current State: 13:[16, 3], Operations: ['51-37=14', '17-14=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 85, 21, 17, 57 ]
31
[ "85/17=5", "57-21=36", "36-5=31" ]
Current State: 31:[85, 21, 17, 57], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [21, 57, 5] Generated Node #2: [21, 57, 5] from Operation: 85/17=5 Current State: 31:[21, 57, 5], Operations: ['85/17=5'] Exploring Operation: 57-21=36, Resulting Numbers: [5, 36] Generated Node #3: [5, 36] from Operation: 57-21=36 Current State: 31:[5, 36], Operations: ['85/17=5', '57-21=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[85, 21, 17, 57], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [21, 57, 5] Generated Node #0,0: 31:[21, 57, 5] Operation: 85/17=5 Exploring Operation: 85-57=28, Resulting Numbers: [21, 17, 28] Generated Node #0,1: 31:[21, 17, 28] Operation: 85-57=28 Exploring Operation: 85-17=68, Resulting Numbers: [21, 57, 68] Generated Node #0,2: 31:[21, 57, 68] Operation: 85-17=68 Exploring Operation: 85-21=64, Resulting Numbers: [17, 57, 64] Generated Node #0,3: 31:[17, 57, 64] Operation: 85-21=64 Exploring Operation: 57-21=36, Resulting Numbers: [85, 17, 36] Generated Node #0,4: 31:[85, 17, 36] Operation: 57-21=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[21, 17, 28], Operations: ['85-57=28'] Exploring Operation: 21+28=49, Resulting Numbers: [17, 49] Generated Node #0,1,0: 31:[17, 49] Operation: 21+28=49 Exploring Operation: 17+28=45, Resulting Numbers: [21, 45] Generated Node #0,1,1: 31:[21, 45] Operation: 17+28=45 Exploring Operation: 28-17=11, Resulting Numbers: [21, 11] Generated Node #0,1,2: 31:[21, 11] Operation: 28-17=11 Exploring Operation: 21-17=4, Resulting Numbers: [28, 4] Generated Node #0,1,3: 31:[28, 4] Operation: 21-17=4 Exploring Operation: 21+17=38, Resulting Numbers: [28, 38] Generated Node #0,1,4: 31:[28, 38] Operation: 21+17=38 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[28, 38], Operations: ['85-57=28', '21+17=38'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,31 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,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,1 Current State: 31:[21, 45], Operations: ['85-57=28', '17+28=45'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,31 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,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,2 Current State: 31:[21, 11], Operations: ['85-57=28', '28-17=11'] Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,31 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,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,3 Current State: 31:[28, 4], Operations: ['85-57=28', '21-17=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,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:[17, 49], Operations: ['85-57=28', '21+28=49'] Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,31 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[21, 57, 5], Operations: ['85/17=5'] Exploring Operation: 57-21=36, Resulting Numbers: [5, 36] Generated Node #0,0,0: 31:[5, 36] Operation: 57-21=36 Exploring Operation: 21-5=16, Resulting Numbers: [57, 16] Generated Node #0,0,1: 31:[57, 16] Operation: 21-5=16 Exploring Operation: 57-5=52, Resulting Numbers: [21, 52] Generated Node #0,0,2: 31:[21, 52] Operation: 57-5=52 Exploring Operation: 21+5=26, Resulting Numbers: [57, 26] Generated Node #0,0,3: 31:[57, 26] Operation: 21+5=26 Exploring Operation: 57+5=62, Resulting Numbers: [21, 62] Generated Node #0,0,4: 31:[21, 62] Operation: 57+5=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[5, 36], Operations: ['85/17=5', '57-21=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,31 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[85, 21, 17, 57], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [21, 57, 5] Generated Node #0,0: 31:[21, 57, 5] Operation: 85/17=5 Moving to Node #0,0 Current State: 31:[21, 57, 5], Operations: ['85/17=5'] Exploring Operation: 57-21=36, Resulting Numbers: [5, 36] Generated Node #0,0,0: 31:[5, 36] Operation: 57-21=36 Moving to Node #0,0,0 Current State: 31:[5, 36], Operations: ['85/17=5', '57-21=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 56, 8, 21, 14 ]
57
[ "56+8=64", "21-14=7", "64-7=57" ]
Current State: 57:[56, 8, 21, 14], Operations: [] Exploring Operation: 56+8=64, Resulting Numbers: [21, 14, 64] Generated Node #2: [21, 14, 64] from Operation: 56+8=64 Current State: 57:[21, 14, 64], Operations: ['56+8=64'] Exploring Operation: 21-14=7, Resulting Numbers: [64, 7] Generated Node #3: [64, 7] from Operation: 21-14=7 Current State: 57:[64, 7], Operations: ['56+8=64', '21-14=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[56, 8, 21, 14], Operations: [] Exploring Operation: 14-8=6, Resulting Numbers: [56, 21, 6] Generated Node #0,0: 57:[56, 21, 6] Operation: 14-8=6 Exploring Operation: 56/14=4, Resulting Numbers: [8, 21, 4] Generated Node #0,1: 57:[8, 21, 4] Operation: 56/14=4 Exploring Operation: 8+14=22, Resulting Numbers: [56, 21, 22] Generated Node #0,2: 57:[56, 21, 22] Operation: 8+14=22 Moving to Node #0,0 Current State: 57:[56, 21, 6], Operations: ['14-8=6'] Exploring Operation: 56-6=50, Resulting Numbers: [21, 50] Generated Node #0,0,0: 57:[21, 50] Operation: 56-6=50 Exploring Operation: 56+6=62, Resulting Numbers: [21, 62] Generated Node #0,0,1: 57:[21, 62] Operation: 56+6=62 Exploring Operation: 21-6=15, Resulting Numbers: [56, 15] Generated Node #0,0,2: 57:[56, 15] Operation: 21-6=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[56, 15], Operations: ['14-8=6', '21-6=15'] Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,57 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[21, 62], Operations: ['14-8=6', '56+6=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[21, 50], Operations: ['14-8=6', '56-6=50'] Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 21*50=1050, Resulting Numbers: [1050] 1050,57 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,57 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: 57:[56, 21, 22], Operations: ['8+14=22'] Exploring Operation: 21+22=43, Resulting Numbers: [56, 43] Generated Node #0,2,0: 57:[56, 43] Operation: 21+22=43 Exploring Operation: 56-22=34, Resulting Numbers: [21, 34] Generated Node #0,2,1: 57:[21, 34] Operation: 56-22=34 Exploring Operation: 22-21=1, Resulting Numbers: [56, 1] Generated Node #0,2,2: 57:[56, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[56, 1], Operations: ['8+14=22', '22-21=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[56, 8, 21, 14], Operations: [] Exploring Operation: 8+14=22, Resulting Numbers: [56, 21, 22] Generated Node #0,2: 57:[56, 21, 22] Operation: 8+14=22 Moving to Node #0,2 Current State: 57:[56, 21, 22], Operations: ['8+14=22'] Exploring Operation: 22-21=1, Resulting Numbers: [56, 1] Generated Node #0,2,2: 57:[56, 1] Operation: 22-21=1 Moving to Node #0,2,2 Current State: 57:[56, 1], Operations: ['8+14=22', '22-21=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 3, 30, 77, 96 ]
33
[ "30+77=107", "107-96=11", "3*11=33" ]
Current State: 33:[3, 30, 77, 96], Operations: [] Exploring Operation: 30+77=107, Resulting Numbers: [3, 96, 107] Generated Node #2: [3, 96, 107] from Operation: 30+77=107 Current State: 33:[3, 96, 107], Operations: ['30+77=107'] Exploring Operation: 107-96=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 107-96=11 Current State: 33:[3, 11], Operations: ['30+77=107', '107-96=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 30, 77, 96], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [3, 96, 47] Generated Node #0,0: 33:[3, 96, 47] Operation: 77-30=47 Exploring Operation: 96-77=19, Resulting Numbers: [3, 30, 19] Generated Node #0,1: 33:[3, 30, 19] Operation: 96-77=19 Exploring Operation: 96/3=32, Resulting Numbers: [30, 77, 32] Generated Node #0,2: 33:[30, 77, 32] Operation: 96/3=32 Exploring Operation: 96-30=66, Resulting Numbers: [3, 77, 66] Generated Node #0,3: 33:[3, 77, 66] Operation: 96-30=66 Moving to Node #0,1 Current State: 33:[3, 30, 19], Operations: ['96-77=19'] Exploring Operation: 19-3=16, Resulting Numbers: [30, 16] Generated Node #0,1,0: 33:[30, 16] Operation: 19-3=16 Exploring Operation: 30/3=10, Resulting Numbers: [19, 10] Generated Node #0,1,1: 33:[19, 10] Operation: 30/3=10 Exploring Operation: 3+30=33, Resulting Numbers: [19, 33] Generated Node #0,1,2: 33:[19, 33] Operation: 3+30=33 Exploring Operation: 30-19=11, Resulting Numbers: [3, 11] Generated Node #0,1,3: 33:[3, 11] Operation: 30-19=11 Moving to Node #0,2 Current State: 33:[30, 77, 32], Operations: ['96/3=32'] Exploring Operation: 77-32=45, Resulting Numbers: [30, 45] Generated Node #0,2,0: 33:[30, 45] Operation: 77-32=45 Exploring Operation: 32-30=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 33:[77, 2] Operation: 32-30=2 Exploring Operation: 77-30=47, Resulting Numbers: [32, 47] Generated Node #0,2,2: 33:[32, 47] Operation: 77-30=47 Exploring Operation: 30+32=62, Resulting Numbers: [77, 62] Generated Node #0,2,3: 33:[77, 62] Operation: 30+32=62 Moving to Node #0,3 Current State: 33:[3, 77, 66], Operations: ['96-30=66'] Exploring Operation: 66-3=63, Resulting Numbers: [77, 63] Generated Node #0,3,0: 33:[77, 63] Operation: 66-3=63 Exploring Operation: 66/3=22, Resulting Numbers: [77, 22] Generated Node #0,3,1: 33:[77, 22] Operation: 66/3=22 Exploring Operation: 77-66=11, Resulting Numbers: [3, 11] Generated Node #0,3,2: 33:[3, 11] Operation: 77-66=11 Exploring Operation: 77-3=74, Resulting Numbers: [66, 74] Generated Node #0,3,3: 33:[66, 74] Operation: 77-3=74 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[3, 11], Operations: ['96-30=66', '77-66=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[3, 30, 77, 96], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [3, 77, 66] Generated Node #0,3: 33:[3, 77, 66] Operation: 96-30=66 Moving to Node #0,3 Current State: 33:[3, 77, 66], Operations: ['96-30=66'] Exploring Operation: 77-66=11, Resulting Numbers: [3, 11] Generated Node #0,3,2: 33:[3, 11] Operation: 77-66=11 Moving to Node #0,3,2 Current State: 33:[3, 11], Operations: ['96-30=66', '77-66=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 11, 5, 20, 24 ]
31
[ "11+24=35", "20/5=4", "35-4=31" ]
Current State: 31:[11, 5, 20, 24], Operations: [] Exploring Operation: 11+24=35, Resulting Numbers: [5, 20, 35] Generated Node #2: [5, 20, 35] from Operation: 11+24=35 Current State: 31:[5, 20, 35], Operations: ['11+24=35'] Exploring Operation: 20/5=4, Resulting Numbers: [35, 4] Generated Node #3: [35, 4] from Operation: 20/5=4 Current State: 31:[35, 4], Operations: ['11+24=35', '20/5=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[11, 5, 20, 24], Operations: [] Exploring Operation: 5+24=29, Resulting Numbers: [11, 20, 29] Generated Node #0,0: 31:[11, 20, 29] Operation: 5+24=29 Exploring Operation: 11+5=16, Resulting Numbers: [20, 24, 16] Generated Node #0,1: 31:[20, 24, 16] Operation: 11+5=16 Exploring Operation: 11+20=31, Resulting Numbers: [5, 24, 31] Generated Node #0,2: 31:[5, 24, 31] Operation: 11+20=31 Exploring Operation: 5+20=25, Resulting Numbers: [11, 24, 25] Generated Node #0,3: 31:[11, 24, 25] Operation: 5+20=25 Exploring Operation: 11+24=35, Resulting Numbers: [5, 20, 35] Generated Node #0,4: 31:[5, 20, 35] Operation: 11+24=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[11, 20, 29], Operations: ['5+24=29'] Exploring Operation: 29-11=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 31:[20, 18] Operation: 29-11=18 Exploring Operation: 11+20=31, Resulting Numbers: [29, 31] Generated Node #0,0,1: 31:[29, 31] Operation: 11+20=31 Exploring Operation: 20+29=49, Resulting Numbers: [11, 49] Generated Node #0,0,2: 31:[11, 49] Operation: 20+29=49 Exploring Operation: 20-11=9, Resulting Numbers: [29, 9] Generated Node #0,0,3: 31:[29, 9] Operation: 20-11=9 Exploring Operation: 11+29=40, Resulting Numbers: [20, 40] Generated Node #0,0,4: 31:[20, 40] Operation: 11+29=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[29, 31], Operations: ['5+24=29', '11+20=31'] Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,31 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,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,0,4 Current State: 31:[20, 40], Operations: ['5+24=29', '11+29=40'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,31 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,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,0,0 Current State: 31:[20, 18], Operations: ['5+24=29', '29-11=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,31 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,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,0,3 Current State: 31:[29, 9], Operations: ['5+24=29', '20-11=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,31 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,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,0,2 Current State: 31:[11, 49], Operations: ['5+24=29', '20+29=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[20, 24, 16], Operations: ['11+5=16'] Exploring Operation: 24-16=8, Resulting Numbers: [20, 8] Generated Node #0,1,0: 31:[20, 8] Operation: 24-16=8 Exploring Operation: 20+24=44, Resulting Numbers: [16, 44] Generated Node #0,1,1: 31:[16, 44] Operation: 20+24=44 Exploring Operation: 24+16=40, Resulting Numbers: [20, 40] Generated Node #0,1,2: 31:[20, 40] Operation: 24+16=40 Exploring Operation: 20+16=36, Resulting Numbers: [24, 36] Generated Node #0,1,3: 31:[24, 36] Operation: 20+16=36 Exploring Operation: 20-16=4, Resulting Numbers: [24, 4] Generated Node #0,1,4: 31:[24, 4] Operation: 20-16=4 Moving to Node #0,1,3 Current State: 31:[24, 36], Operations: ['11+5=16', '20+16=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,31 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[20, 40], Operations: ['11+5=16', '24+16=40'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[16, 44], Operations: ['11+5=16', '20+24=44'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[20, 8], Operations: ['11+5=16', '24-16=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[24, 4], Operations: ['11+5=16', '20-16=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,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 Current State: 31:[5, 24, 31], Operations: ['11+20=31'] Exploring Operation: 24+31=55, Resulting Numbers: [5, 55] Generated Node #0,2,0: 31:[5, 55] Operation: 24+31=55 Exploring Operation: 5+24=29, Resulting Numbers: [31, 29] Generated Node #0,2,1: 31:[31, 29] Operation: 5+24=29 Exploring Operation: 31-5=26, Resulting Numbers: [24, 26] Generated Node #0,2,2: 31:[24, 26] Operation: 31-5=26 Exploring Operation: 24-5=19, Resulting Numbers: [31, 19] Generated Node #0,2,3: 31:[31, 19] Operation: 24-5=19 Exploring Operation: 5+31=36, Resulting Numbers: [24, 36] Generated Node #0,2,4: 31:[24, 36] Operation: 5+31=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[31, 29], Operations: ['11+20=31', '5+24=29'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,31 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,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,2,2 Current State: 31:[24, 26], Operations: ['11+20=31', '31-5=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,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,2,3 Current State: 31:[31, 19], Operations: ['11+20=31', '24-5=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,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,2,4 Current State: 31:[24, 36], Operations: ['11+20=31', '5+31=36'] Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,31 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,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,2,0 Current State: 31:[5, 55], Operations: ['11+20=31', '24+31=55'] Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,31 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[11, 24, 25], Operations: ['5+20=25'] Exploring Operation: 25-11=14, Resulting Numbers: [24, 14] Generated Node #0,3,0: 31:[24, 14] Operation: 25-11=14 Exploring Operation: 11+24=35, Resulting Numbers: [25, 35] Generated Node #0,3,1: 31:[25, 35] Operation: 11+24=35 Exploring Operation: 11+25=36, Resulting Numbers: [24, 36] Generated Node #0,3,2: 31:[24, 36] Operation: 11+25=36 Exploring Operation: 24-11=13, Resulting Numbers: [25, 13] Generated Node #0,3,3: 31:[25, 13] Operation: 24-11=13 Exploring Operation: 24+25=49, Resulting Numbers: [11, 49] Generated Node #0,3,4: 31:[11, 49] Operation: 24+25=49 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[25, 35], Operations: ['5+20=25', '11+24=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,31 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,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,3,2 Current State: 31:[24, 36], Operations: ['5+20=25', '11+25=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,31 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,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,3,0 Current State: 31:[24, 14], Operations: ['5+20=25', '25-11=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,31 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,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,3,3 Current State: 31:[25, 13], Operations: ['5+20=25', '24-11=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,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,3,4 Current State: 31:[11, 49], Operations: ['5+20=25', '24+25=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,31 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[5, 20, 35], Operations: ['11+24=35'] Exploring Operation: 35-5=30, Resulting Numbers: [20, 30] Generated Node #0,4,0: 31:[20, 30] Operation: 35-5=30 Exploring Operation: 20/5=4, Resulting Numbers: [35, 4] Generated Node #0,4,1: 31:[35, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [35, 15] Generated Node #0,4,2: 31:[35, 15] Operation: 20-5=15 Exploring Operation: 5+20=25, Resulting Numbers: [35, 25] Generated Node #0,4,3: 31:[35, 25] Operation: 5+20=25 Exploring Operation: 5+35=40, Resulting Numbers: [20, 40] Generated Node #0,4,4: 31:[20, 40] Operation: 5+35=40 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[35, 25], Operations: ['11+24=35', '5+20=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,31 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,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,4,0 Current State: 31:[20, 30], Operations: ['11+24=35', '35-5=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,31 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,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,4,2 Current State: 31:[35, 15], Operations: ['11+24=35', '20-5=15'] Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,31 unequal: No Solution Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,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,4,4 Current State: 31:[20, 40], Operations: ['11+24=35', '5+35=40'] Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,31 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,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,4,1 Current State: 31:[35, 4], Operations: ['11+24=35', '20/5=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,31 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[11, 5, 20, 24], Operations: [] Exploring Operation: 11+24=35, Resulting Numbers: [5, 20, 35] Generated Node #0,4: 31:[5, 20, 35] Operation: 11+24=35 Moving to Node #0,4 Current State: 31:[5, 20, 35], Operations: ['11+24=35'] Exploring Operation: 20/5=4, Resulting Numbers: [35, 4] Generated Node #0,4,1: 31:[35, 4] Operation: 20/5=4 Moving to Node #0,4,1 Current State: 31:[35, 4], Operations: ['11+24=35', '20/5=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.901042
hs_5
mult_heuristic
[ 98, 95, 72, 12 ]
57
[ "98-95=3", "72-12=60", "60-3=57" ]
Current State: 57:[98, 95, 72, 12], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [72, 12, 3] Generated Node #2: [72, 12, 3] from Operation: 98-95=3 Current State: 57:[72, 12, 3], Operations: ['98-95=3'] Exploring Operation: 72-12=60, Resulting Numbers: [3, 60] Generated Node #3: [3, 60] from Operation: 72-12=60 Current State: 57:[3, 60], Operations: ['98-95=3', '72-12=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[98, 95, 72, 12], Operations: [] Exploring Operation: 98-12=86, Resulting Numbers: [95, 72, 86] Generated Node #0,0: 57:[95, 72, 86] Operation: 98-12=86 Exploring Operation: 95-72=23, Resulting Numbers: [98, 12, 23] Generated Node #0,1: 57:[98, 12, 23] Operation: 95-72=23 Exploring Operation: 98-72=26, Resulting Numbers: [95, 12, 26] Generated Node #0,2: 57:[95, 12, 26] Operation: 98-72=26 Exploring Operation: 98-95=3, Resulting Numbers: [72, 12, 3] Generated Node #0,3: 57:[72, 12, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[72, 12, 3], Operations: ['98-95=3'] Exploring Operation: 12/3=4, Resulting Numbers: [72, 4] Generated Node #0,3,0: 57:[72, 4] Operation: 12/3=4 Exploring Operation: 72/3=24, Resulting Numbers: [12, 24] Generated Node #0,3,1: 57:[12, 24] Operation: 72/3=24 Exploring Operation: 72-12=60, Resulting Numbers: [3, 60] Generated Node #0,3,2: 57:[3, 60] Operation: 72-12=60 Exploring Operation: 72/12=6, Resulting Numbers: [3, 6] Generated Node #0,3,3: 57:[3, 6] Operation: 72/12=6 Moving to Node #0,3,2 Current State: 57:[3, 60], Operations: ['98-95=3', '72-12=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[98, 95, 72, 12], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [72, 12, 3] Generated Node #0,3: 57:[72, 12, 3] Operation: 98-95=3 Moving to Node #0,3 Current State: 57:[72, 12, 3], Operations: ['98-95=3'] Exploring Operation: 72-12=60, Resulting Numbers: [3, 60] Generated Node #0,3,2: 57:[3, 60] Operation: 72-12=60 Moving to Node #0,3,2 Current State: 57:[3, 60], Operations: ['98-95=3', '72-12=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 75, 75, 67, 53 ]
67
[ "75-75=0", "53*0=0", "67+0=67" ]
Current State: 67:[75, 75, 67, 53], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [67, 53, 0] Generated Node #2: [67, 53, 0] from Operation: 75-75=0 Current State: 67:[67, 53, 0], Operations: ['75-75=0'] Exploring Operation: 53*0=0, Resulting Numbers: [67, 0] Generated Node #3: [67, 0] from Operation: 53*0=0 Current State: 67:[67, 0], Operations: ['75-75=0', '53*0=0'] Exploring Operation: 67+0=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[75, 75, 67, 53], Operations: [] Exploring Operation: 75-53=22, Resulting Numbers: [75, 67, 22] Generated Node #0,0: 67:[75, 67, 22] Operation: 75-53=22 Moving to Node #0,0 Current State: 67:[75, 67, 22], Operations: ['75-53=22'] Exploring Operation: 75-22=53, Resulting Numbers: [67, 53] Generated Node #0,0,0: 67:[67, 53] Operation: 75-22=53 Moving to Node #0,0,0 Current State: 67:[67, 53], Operations: ['75-53=22', '75-22=53'] Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 32, 47, 74, 93 ]
34
[ "47-32=15", "93-74=19", "15+19=34" ]
Current State: 34:[32, 47, 74, 93], Operations: [] Exploring Operation: 47-32=15, Resulting Numbers: [74, 93, 15] Generated Node #2: [74, 93, 15] from Operation: 47-32=15 Current State: 34:[74, 93, 15], Operations: ['47-32=15'] Exploring Operation: 93-74=19, Resulting Numbers: [15, 19] Generated Node #3: [15, 19] from Operation: 93-74=19 Current State: 34:[15, 19], Operations: ['47-32=15', '93-74=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[32, 47, 74, 93], Operations: [] Exploring Operation: 93-74=19, Resulting Numbers: [32, 47, 19] Generated Node #0,0: 34:[32, 47, 19] Operation: 93-74=19 Exploring Operation: 93-47=46, Resulting Numbers: [32, 74, 46] Generated Node #0,1: 34:[32, 74, 46] Operation: 93-47=46 Moving to Node #0,0 Current State: 34:[32, 47, 19], Operations: ['93-74=19'] Exploring Operation: 47-19=28, Resulting Numbers: [32, 28] Generated Node #0,0,0: 34:[32, 28] Operation: 47-19=28 Exploring Operation: 47-32=15, Resulting Numbers: [19, 15] Generated Node #0,0,1: 34:[19, 15] Operation: 47-32=15 Moving to Node #0,1 Current State: 34:[32, 74, 46], Operations: ['93-47=46'] Exploring Operation: 74-32=42, Resulting Numbers: [46, 42] Generated Node #0,1,0: 34:[46, 42] Operation: 74-32=42 Exploring Operation: 74-46=28, Resulting Numbers: [32, 28] Generated Node #0,1,1: 34:[32, 28] Operation: 74-46=28 Moving to Node #0,0,1 Current State: 34:[19, 15], Operations: ['93-74=19', '47-32=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[32, 47, 74, 93], Operations: [] Exploring Operation: 93-74=19, Resulting Numbers: [32, 47, 19] Generated Node #0,0: 34:[32, 47, 19] Operation: 93-74=19 Moving to Node #0,0 Current State: 34:[32, 47, 19], Operations: ['93-74=19'] Exploring Operation: 47-32=15, Resulting Numbers: [19, 15] Generated Node #0,0,1: 34:[19, 15] Operation: 47-32=15 Moving to Node #0,0,1 Current State: 34:[19, 15], Operations: ['93-74=19', '47-32=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 29, 36, 25, 7 ]
97
[ "29+36=65", "25+7=32", "65+32=97" ]
Current State: 97:[29, 36, 25, 7], Operations: [] Exploring Operation: 29+36=65, Resulting Numbers: [25, 7, 65] Generated Node #2: [25, 7, 65] from Operation: 29+36=65 Current State: 97:[25, 7, 65], Operations: ['29+36=65'] Exploring Operation: 25+7=32, Resulting Numbers: [65, 32] Generated Node #3: [65, 32] from Operation: 25+7=32 Current State: 97:[65, 32], Operations: ['29+36=65', '25+7=32'] Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[29, 36, 25, 7], Operations: [] Exploring Operation: 36+25=61, Resulting Numbers: [29, 7, 61] Generated Node #0,0: 97:[29, 7, 61] Operation: 36+25=61 Exploring Operation: 29+36=65, Resulting Numbers: [25, 7, 65] Generated Node #0,1: 97:[25, 7, 65] Operation: 29+36=65 Exploring Operation: 36+7=43, Resulting Numbers: [29, 25, 43] Generated Node #0,2: 97:[29, 25, 43] Operation: 36+7=43 Exploring Operation: 29+7=36, Resulting Numbers: [36, 25, 36] Generated Node #0,3: 97:[36, 25, 36] Operation: 29+7=36 Exploring Operation: 29+25=54, Resulting Numbers: [36, 7, 54] Generated Node #0,4: 97:[36, 7, 54] Operation: 29+25=54 Moving to Node #0,0 Current State: 97:[29, 7, 61], Operations: ['36+25=61'] Exploring Operation: 29-7=22, Resulting Numbers: [61, 22] Generated Node #0,0,0: 97:[61, 22] Operation: 29-7=22 Exploring Operation: 61-7=54, Resulting Numbers: [29, 54] Generated Node #0,0,1: 97:[29, 54] Operation: 61-7=54 Exploring Operation: 29+7=36, Resulting Numbers: [61, 36] Generated Node #0,0,2: 97:[61, 36] Operation: 29+7=36 Exploring Operation: 29+61=90, Resulting Numbers: [7, 90] Generated Node #0,0,3: 97:[7, 90] Operation: 29+61=90 Exploring Operation: 7+61=68, Resulting Numbers: [29, 68] Generated Node #0,0,4: 97:[29, 68] Operation: 7+61=68 Moving to Node #0,2 Current State: 97:[29, 25, 43], Operations: ['36+7=43'] Exploring Operation: 25+43=68, Resulting Numbers: [29, 68] Generated Node #0,2,0: 97:[29, 68] Operation: 25+43=68 Exploring Operation: 29+25=54, Resulting Numbers: [43, 54] Generated Node #0,2,1: 97:[43, 54] Operation: 29+25=54 Exploring Operation: 43-25=18, Resulting Numbers: [29, 18] Generated Node #0,2,2: 97:[29, 18] Operation: 43-25=18 Exploring Operation: 29-25=4, Resulting Numbers: [43, 4] Generated Node #0,2,3: 97:[43, 4] Operation: 29-25=4 Exploring Operation: 29+43=72, Resulting Numbers: [25, 72] Generated Node #0,2,4: 97:[25, 72] Operation: 29+43=72 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[29, 68], Operations: ['36+7=43', '25+43=68'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[29, 36, 25, 7], Operations: [] Exploring Operation: 36+7=43, Resulting Numbers: [29, 25, 43] Generated Node #0,2: 97:[29, 25, 43] Operation: 36+7=43 Moving to Node #0,2 Current State: 97:[29, 25, 43], Operations: ['36+7=43'] Exploring Operation: 25+43=68, Resulting Numbers: [29, 68] Generated Node #0,2,0: 97:[29, 68] Operation: 25+43=68 Moving to Node #0,2,0 Current State: 97:[29, 68], Operations: ['36+7=43', '25+43=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 3, 55, 6, 81 ]
88
[ "81/3=27", "55+6=61", "27+61=88" ]
Current State: 88:[3, 55, 6, 81], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [55, 6, 27] Generated Node #2: [55, 6, 27] from Operation: 81/3=27 Current State: 88:[55, 6, 27], Operations: ['81/3=27'] Exploring Operation: 55+6=61, Resulting Numbers: [27, 61] Generated Node #3: [27, 61] from Operation: 55+6=61 Current State: 88:[27, 61], Operations: ['81/3=27', '55+6=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[3, 55, 6, 81], Operations: [] Exploring Operation: 55-6=49, Resulting Numbers: [3, 81, 49] Generated Node #0,0: 88:[3, 81, 49] Operation: 55-6=49 Exploring Operation: 3+81=84, Resulting Numbers: [55, 6, 84] Generated Node #0,1: 88:[55, 6, 84] Operation: 3+81=84 Exploring Operation: 81-55=26, Resulting Numbers: [3, 6, 26] Generated Node #0,2: 88:[3, 6, 26] Operation: 81-55=26 Exploring Operation: 55-3=52, Resulting Numbers: [6, 81, 52] Generated Node #0,3: 88:[6, 81, 52] Operation: 55-3=52 Exploring Operation: 6+81=87, Resulting Numbers: [3, 55, 87] Generated Node #0,4: 88:[3, 55, 87] Operation: 6+81=87 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[3, 6, 26], Operations: ['81-55=26'] Exploring Operation: 3+6=9, Resulting Numbers: [26, 9] Generated Node #0,2,0: 88:[26, 9] Operation: 3+6=9 Exploring Operation: 6/3=2, Resulting Numbers: [26, 2] Generated Node #0,2,1: 88:[26, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [26, 3] Generated Node #0,2,2: 88:[26, 3] Operation: 6-3=3 Exploring Operation: 26-6=20, Resulting Numbers: [3, 20] Generated Node #0,2,3: 88:[3, 20] Operation: 26-6=20 Exploring Operation: 26-3=23, Resulting Numbers: [6, 23] Generated Node #0,2,4: 88:[6, 23] Operation: 26-3=23 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[3, 20], Operations: ['81-55=26', '26-6=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 88:[6, 23], Operations: ['81-55=26', '26-3=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,88 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[26, 2], Operations: ['81-55=26', '6/3=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[26, 9], Operations: ['81-55=26', '3+6=9'] Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,88 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[26, 3], Operations: ['81-55=26', '6-3=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[3, 81, 49], Operations: ['55-6=49'] Exploring Operation: 49-3=46, Resulting Numbers: [81, 46] Generated Node #0,0,0: 88:[81, 46] Operation: 49-3=46 Exploring Operation: 81/3=27, Resulting Numbers: [49, 27] Generated Node #0,0,1: 88:[49, 27] Operation: 81/3=27 Exploring Operation: 81-49=32, Resulting Numbers: [3, 32] Generated Node #0,0,2: 88:[3, 32] Operation: 81-49=32 Exploring Operation: 3+81=84, Resulting Numbers: [49, 84] Generated Node #0,0,3: 88:[49, 84] Operation: 3+81=84 Exploring Operation: 81-3=78, Resulting Numbers: [49, 78] Generated Node #0,0,4: 88:[49, 78] Operation: 81-3=78 Moving to Node #0,0,0 Current State: 88:[81, 46], Operations: ['55-6=49', '49-3=46'] Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,88 unequal: No Solution Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[49, 84], Operations: ['55-6=49', '3+81=84'] Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 49*84=4116, Resulting Numbers: [4116] 4116,88 unequal: No Solution Exploring Operation: 49+84=133, Resulting Numbers: [133] 133,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[49, 27], Operations: ['55-6=49', '81/3=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[3, 32], Operations: ['55-6=49', '81-49=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[49, 78], Operations: ['55-6=49', '81-3=78'] Exploring Operation: 49*78=3822, Resulting Numbers: [3822] 3822,88 unequal: No Solution Exploring Operation: 49+78=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[3, 55, 87], Operations: ['6+81=87'] Exploring Operation: 3+87=90, Resulting Numbers: [55, 90] Generated Node #0,4,0: 88:[55, 90] Operation: 3+87=90 Exploring Operation: 87-55=32, Resulting Numbers: [3, 32] Generated Node #0,4,1: 88:[3, 32] Operation: 87-55=32 Exploring Operation: 3+55=58, Resulting Numbers: [87, 58] Generated Node #0,4,2: 88:[87, 58] Operation: 3+55=58 Exploring Operation: 87-3=84, Resulting Numbers: [55, 84] Generated Node #0,4,3: 88:[55, 84] Operation: 87-3=84 Exploring Operation: 55-3=52, Resulting Numbers: [87, 52] Generated Node #0,4,4: 88:[87, 52] Operation: 55-3=52 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 88:[87, 52], Operations: ['6+81=87', '55-3=52'] Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,88 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,88 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 88:[3, 32], Operations: ['6+81=87', '87-55=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,88 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 88:[55, 90], Operations: ['6+81=87', '3+87=90'] Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,88 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,88 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 88:[87, 58], Operations: ['6+81=87', '3+55=58'] Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 87*58=5046, Resulting Numbers: [5046] 5046,88 unequal: No Solution Exploring Operation: 87+58=145, Resulting Numbers: [145] 145,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 88:[55, 84], Operations: ['6+81=87', '87-3=84'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,88 unequal: No Solution Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[55, 6, 84], Operations: ['3+81=84'] Exploring Operation: 55-6=49, Resulting Numbers: [84, 49] Generated Node #0,1,0: 88:[84, 49] Operation: 55-6=49 Exploring Operation: 6+84=90, Resulting Numbers: [55, 90] Generated Node #0,1,1: 88:[55, 90] Operation: 6+84=90 Exploring Operation: 55+6=61, Resulting Numbers: [84, 61] Generated Node #0,1,2: 88:[84, 61] Operation: 55+6=61 Exploring Operation: 84-55=29, Resulting Numbers: [6, 29] Generated Node #0,1,3: 88:[6, 29] Operation: 84-55=29 Exploring Operation: 84/6=14, Resulting Numbers: [55, 14] Generated Node #0,1,4: 88:[55, 14] Operation: 84/6=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[84, 49], Operations: ['3+81=84', '55-6=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,88 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,88 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[6, 29], Operations: ['3+81=84', '84-55=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,88 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[55, 90], Operations: ['3+81=84', '6+84=90'] Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,88 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 88:[55, 14], Operations: ['3+81=84', '84/6=14'] Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,88 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[84, 61], Operations: ['3+81=84', '55+6=61'] Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,88 unequal: No Solution Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,88 unequal: No Solution Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[6, 81, 52], Operations: ['55-3=52'] Exploring Operation: 6+52=58, Resulting Numbers: [81, 58] Generated Node #0,3,0: 88:[81, 58] Operation: 6+52=58 Exploring Operation: 81-6=75, Resulting Numbers: [52, 75] Generated Node #0,3,1: 88:[52, 75] Operation: 81-6=75 Exploring Operation: 52-6=46, Resulting Numbers: [81, 46] Generated Node #0,3,2: 88:[81, 46] Operation: 52-6=46 Exploring Operation: 6+81=87, Resulting Numbers: [52, 87] Generated Node #0,3,3: 88:[52, 87] Operation: 6+81=87 Exploring Operation: 81-52=29, Resulting Numbers: [6, 29] Generated Node #0,3,4: 88:[6, 29] Operation: 81-52=29 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[81, 46], Operations: ['55-3=52', '52-6=46'] Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,88 unequal: No Solution Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[52, 87], Operations: ['55-3=52', '6+81=87'] Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,88 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 88:[6, 29], Operations: ['55-3=52', '81-52=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,88 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[81, 58], Operations: ['55-3=52', '6+52=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,88 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,88 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[52, 75], Operations: ['55-3=52', '81-6=75'] Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,88 unequal: No Solution Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 27, 53, 46, 93 ]
73
[ "53-27=26", "93-46=47", "26+47=73" ]
Current State: 73:[27, 53, 46, 93], Operations: [] Exploring Operation: 53-27=26, Resulting Numbers: [46, 93, 26] Generated Node #2: [46, 93, 26] from Operation: 53-27=26 Current State: 73:[46, 93, 26], Operations: ['53-27=26'] Exploring Operation: 93-46=47, Resulting Numbers: [26, 47] Generated Node #3: [26, 47] from Operation: 93-46=47 Current State: 73:[26, 47], Operations: ['53-27=26', '93-46=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[27, 53, 46, 93], Operations: [] Exploring Operation: 27+46=73, Resulting Numbers: [53, 93, 73] Generated Node #0,0: 73:[53, 93, 73] Operation: 27+46=73 Moving to Node #0,0 Current State: 73:[53, 93, 73], Operations: ['27+46=73'] Exploring Operation: 93-53=40, Resulting Numbers: [73, 40] Generated Node #0,0,0: 73:[73, 40] Operation: 93-53=40 Moving to Node #0,0,0 Current State: 73:[73, 40], Operations: ['27+46=73', '93-53=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,73 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 52, 70, 29 ]
73
[ "52-20=32", "70-29=41", "32+41=73" ]
Current State: 73:[20, 52, 70, 29], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [70, 29, 32] Generated Node #2: [70, 29, 32] from Operation: 52-20=32 Current State: 73:[70, 29, 32], Operations: ['52-20=32'] Exploring Operation: 70-29=41, Resulting Numbers: [32, 41] Generated Node #3: [32, 41] from Operation: 70-29=41 Current State: 73:[32, 41], Operations: ['52-20=32', '70-29=41'] Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[20, 52, 70, 29], Operations: [] Exploring Operation: 20+29=49, Resulting Numbers: [52, 70, 49] Generated Node #0,0: 73:[52, 70, 49] Operation: 20+29=49 Exploring Operation: 52+29=81, Resulting Numbers: [20, 70, 81] Generated Node #0,1: 73:[20, 70, 81] Operation: 52+29=81 Exploring Operation: 20+52=72, Resulting Numbers: [70, 29, 72] Generated Node #0,2: 73:[70, 29, 72] Operation: 20+52=72 Moving to Node #0,0 Current State: 73:[52, 70, 49], Operations: ['20+29=49'] Exploring Operation: 52+70=122, Resulting Numbers: [49, 122] Generated Node #0,0,0: 73:[49, 122] Operation: 52+70=122 Exploring Operation: 52+49=101, Resulting Numbers: [70, 101] Generated Node #0,0,1: 73:[70, 101] Operation: 52+49=101 Exploring Operation: 70+49=119, Resulting Numbers: [52, 119] Generated Node #0,0,2: 73:[52, 119] Operation: 70+49=119 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[70, 101], Operations: ['20+29=49', '52+49=101'] Exploring Operation: 70+101=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 70*101=7070, Resulting Numbers: [7070] 7070,73 unequal: No Solution Exploring Operation: 101-70=31, Resulting Numbers: [31] 31,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[52, 119], Operations: ['20+29=49', '70+49=119'] Exploring Operation: 119-52=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 52*119=6188, Resulting Numbers: [6188] 6188,73 unequal: No Solution Exploring Operation: 52+119=171, Resulting Numbers: [171] 171,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[49, 122], Operations: ['20+29=49', '52+70=122'] Exploring Operation: 122-49=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[20, 52, 70, 29], Operations: [] Exploring Operation: 20+29=49, Resulting Numbers: [52, 70, 49] Generated Node #0,0: 73:[52, 70, 49] Operation: 20+29=49 Moving to Node #0,0 Current State: 73:[52, 70, 49], Operations: ['20+29=49'] Exploring Operation: 52+70=122, Resulting Numbers: [49, 122] Generated Node #0,0,0: 73:[49, 122] Operation: 52+70=122 Moving to Node #0,0,0 Current State: 73:[49, 122], Operations: ['20+29=49', '52+70=122'] Exploring Operation: 122-49=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 85, 42, 30, 99 ]
26
[ "85-42=43", "99-30=69", "69-43=26" ]
Current State: 26:[85, 42, 30, 99], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [30, 99, 43] Generated Node #2: [30, 99, 43] from Operation: 85-42=43 Current State: 26:[30, 99, 43], Operations: ['85-42=43'] Exploring Operation: 99-30=69, Resulting Numbers: [43, 69] Generated Node #3: [43, 69] from Operation: 99-30=69 Current State: 26:[43, 69], Operations: ['85-42=43', '99-30=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[85, 42, 30, 99], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [85, 30, 57] Generated Node #0,0: 26:[85, 30, 57] Operation: 99-42=57 Exploring Operation: 85-42=43, Resulting Numbers: [30, 99, 43] Generated Node #0,1: 26:[30, 99, 43] Operation: 85-42=43 Exploring Operation: 99-85=14, Resulting Numbers: [42, 30, 14] Generated Node #0,2: 26:[42, 30, 14] Operation: 99-85=14 Moving to Node #0,2 Current State: 26:[42, 30, 14], Operations: ['99-85=14'] Exploring Operation: 42-30=12, Resulting Numbers: [14, 12] Generated Node #0,2,0: 26:[14, 12] Operation: 42-30=12 Exploring Operation: 42-14=28, Resulting Numbers: [30, 28] Generated Node #0,2,1: 26:[30, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 26:[30, 3] Operation: 42/14=3 Moving to Node #0,0 Current State: 26:[85, 30, 57], Operations: ['99-42=57'] Exploring Operation: 57-30=27, Resulting Numbers: [85, 27] Generated Node #0,0,0: 26:[85, 27] Operation: 57-30=27 Exploring Operation: 85-30=55, Resulting Numbers: [57, 55] Generated Node #0,0,1: 26:[57, 55] Operation: 85-30=55 Exploring Operation: 85-57=28, Resulting Numbers: [30, 28] Generated Node #0,0,2: 26:[30, 28] Operation: 85-57=28 Moving to Node #0,1 Current State: 26:[30, 99, 43], Operations: ['85-42=43'] Exploring Operation: 99-30=69, Resulting Numbers: [43, 69] Generated Node #0,1,0: 26:[43, 69] Operation: 99-30=69 Exploring Operation: 99-43=56, Resulting Numbers: [30, 56] Generated Node #0,1,1: 26:[30, 56] Operation: 99-43=56 Exploring Operation: 43-30=13, Resulting Numbers: [99, 13] Generated Node #0,1,2: 26:[99, 13] Operation: 43-30=13 Moving to Node #0,2,0 Current State: 26:[14, 12], Operations: ['99-85=14', '42-30=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[85, 42, 30, 99], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [42, 30, 14] Generated Node #0,2: 26:[42, 30, 14] Operation: 99-85=14 Moving to Node #0,2 Current State: 26:[42, 30, 14], Operations: ['99-85=14'] Exploring Operation: 42-30=12, Resulting Numbers: [14, 12] Generated Node #0,2,0: 26:[14, 12] Operation: 42-30=12 Moving to Node #0,2,0 Current State: 26:[14, 12], Operations: ['99-85=14', '42-30=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 13, 2, 92, 1 ]
99
[ "13+1=14", "14/2=7", "92+7=99" ]
Current State: 99:[13, 2, 92, 1], Operations: [] Exploring Operation: 13+1=14, Resulting Numbers: [2, 92, 14] Generated Node #2: [2, 92, 14] from Operation: 13+1=14 Current State: 99:[2, 92, 14], Operations: ['13+1=14'] Exploring Operation: 14/2=7, Resulting Numbers: [92, 7] Generated Node #3: [92, 7] from Operation: 14/2=7 Current State: 99:[92, 7], Operations: ['13+1=14', '14/2=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[13, 2, 92, 1], Operations: [] Exploring Operation: 13-2=11, Resulting Numbers: [92, 1, 11] Generated Node #0,0: 99:[92, 1, 11] Operation: 13-2=11 Exploring Operation: 2+1=3, Resulting Numbers: [13, 92, 3] Generated Node #0,1: 99:[13, 92, 3] Operation: 2+1=3 Exploring Operation: 13+92=105, Resulting Numbers: [2, 1, 105] Generated Node #0,2: 99:[2, 1, 105] Operation: 13+92=105 Exploring Operation: 13-1=12, Resulting Numbers: [2, 92, 12] Generated Node #0,3: 99:[2, 92, 12] Operation: 13-1=12 Exploring Operation: 2+92=94, Resulting Numbers: [13, 1, 94] Generated Node #0,4: 99:[13, 1, 94] Operation: 2+92=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[92, 1, 11], Operations: ['13-2=11'] Exploring Operation: 92*1=92, Resulting Numbers: [11, 92] Generated Node #0,0,0: 99:[11, 92] Operation: 92*1=92 Exploring Operation: 1*11=11, Resulting Numbers: [92, 11] Generated Node #0,0,1: 99:[92, 11] Operation: 1*11=11 Exploring Operation: 92+1=93, Resulting Numbers: [11, 93] Generated Node #0,0,2: 99:[11, 93] Operation: 92+1=93 Exploring Operation: 92+11=103, Resulting Numbers: [1, 103] Generated Node #0,0,3: 99:[1, 103] Operation: 92+11=103 Exploring Operation: 92/1=92, Resulting Numbers: [11, 92] Generated Node #0,0,4: 99:[11, 92] Operation: 92/1=92 Moving to Node #0,0,2 Current State: 99:[11, 93], Operations: ['13-2=11', '92+1=93'] Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[1, 103], Operations: ['13-2=11', '92+11=103'] Exploring Operation: 1*103=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 103-1=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 103/1=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 1+103=104, Resulting Numbers: [104] 104,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[11, 92], Operations: ['13-2=11', '92*1=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,99 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[92, 11], Operations: ['13-2=11', '1*11=11'] Exploring Operation: 92+11=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 92*11=1012, Resulting Numbers: [1012] 1012,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[11, 92], Operations: ['13-2=11', '92/1=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,99 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[13, 92, 3], Operations: ['2+1=3'] Exploring Operation: 92-3=89, Resulting Numbers: [13, 89] Generated Node #0,1,0: 99:[13, 89] Operation: 92-3=89 Exploring Operation: 13-3=10, Resulting Numbers: [92, 10] Generated Node #0,1,1: 99:[92, 10] Operation: 13-3=10 Exploring Operation: 13+3=16, Resulting Numbers: [92, 16] Generated Node #0,1,2: 99:[92, 16] Operation: 13+3=16 Exploring Operation: 13+92=105, Resulting Numbers: [3, 105] Generated Node #0,1,3: 99:[3, 105] Operation: 13+92=105 Exploring Operation: 92+3=95, Resulting Numbers: [13, 95] Generated Node #0,1,4: 99:[13, 95] Operation: 92+3=95 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 99:[3, 105], Operations: ['2+1=3', '13+92=105'] Exploring Operation: 3+105=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 105/3=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 105-3=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 3*105=315, Resulting Numbers: [315] 315,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 99:[13, 95], Operations: ['2+1=3', '92+3=95'] Exploring Operation: 13*95=1235, Resulting Numbers: [1235] 1235,99 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[92, 10], Operations: ['2+1=3', '13-3=10'] Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,99 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[13, 89], Operations: ['2+1=3', '92-3=89'] Exploring Operation: 13*89=1157, Resulting Numbers: [1157] 1157,99 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,99 unequal: No Solution Exploring Operation: 13+89=102, Resulting Numbers: [102] 102,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[92, 16], Operations: ['2+1=3', '13+3=16'] Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,99 unequal: No Solution Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[2, 1, 105], Operations: ['13+92=105'] Exploring Operation: 2*1=2, Resulting Numbers: [105, 2] Generated Node #0,2,0: 99:[105, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [105, 3] Generated Node #0,2,1: 99:[105, 3] Operation: 2+1=3 Exploring Operation: 105-2=103, Resulting Numbers: [1, 103] Generated Node #0,2,2: 99:[1, 103] Operation: 105-2=103 Exploring Operation: 105-1=104, Resulting Numbers: [2, 104] Generated Node #0,2,3: 99:[2, 104] Operation: 105-1=104 Exploring Operation: 2/1=2, Resulting Numbers: [105, 2] Generated Node #0,2,4: 99:[105, 2] Operation: 2/1=2 Moving to Node #0,2,1 Current State: 99:[105, 3], Operations: ['13+92=105', '2+1=3'] Exploring Operation: 105+3=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 105-3=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 105/3=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 105*3=315, Resulting Numbers: [315] 315,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[2, 104], Operations: ['13+92=105', '105-1=104'] Exploring Operation: 2*104=208, Resulting Numbers: [208] 208,99 unequal: No Solution Exploring Operation: 2+104=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 104-2=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[1, 103], Operations: ['13+92=105', '105-2=103'] Exploring Operation: 1+103=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 103/1=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 103-1=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 1*103=103, Resulting Numbers: [103] 103,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[105, 2], Operations: ['13+92=105', '2*1=2'] Exploring Operation: 105*2=210, Resulting Numbers: [210] 210,99 unequal: No Solution Exploring Operation: 105+2=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 105-2=103, Resulting Numbers: [103] 103,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[105, 2], Operations: ['13+92=105', '2/1=2'] Exploring Operation: 105*2=210, Resulting Numbers: [210] 210,99 unequal: No Solution Exploring Operation: 105-2=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 105+2=107, Resulting Numbers: [107] 107,99 unequal: No Solution No 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: 99:[2, 92, 12], Operations: ['13-1=12'] Exploring Operation: 92-2=90, Resulting Numbers: [12, 90] Generated Node #0,3,0: 99:[12, 90] Operation: 92-2=90 Exploring Operation: 2+92=94, Resulting Numbers: [12, 94] Generated Node #0,3,1: 99:[12, 94] Operation: 2+92=94 Exploring Operation: 92+12=104, Resulting Numbers: [2, 104] Generated Node #0,3,2: 99:[2, 104] Operation: 92+12=104 Exploring Operation: 2+12=14, Resulting Numbers: [92, 14] Generated Node #0,3,3: 99:[92, 14] Operation: 2+12=14 Exploring Operation: 12-2=10, Resulting Numbers: [92, 10] Generated Node #0,3,4: 99:[92, 10] Operation: 12-2=10 Moving to Node #0,3,1 Current State: 99:[12, 94], Operations: ['13-1=12', '2+92=94'] Exploring Operation: 12*94=1128, Resulting Numbers: [1128] 1128,99 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 12+94=106, Resulting Numbers: [106] 106,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[2, 104], Operations: ['13-1=12', '92+12=104'] Exploring Operation: 104-2=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 2+104=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 2*104=208, Resulting Numbers: [208] 208,99 unequal: No Solution Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[92, 10], Operations: ['13-1=12', '12-2=10'] Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,99 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[12, 90], Operations: ['13-1=12', '92-2=90'] Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,99 unequal: No Solution Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[92, 14], Operations: ['13-1=12', '2+12=14'] Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,99 unequal: No Solution No 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: 99:[13, 1, 94], Operations: ['2+92=94'] Exploring Operation: 1+94=95, Resulting Numbers: [13, 95] Generated Node #0,4,0: 99:[13, 95] Operation: 1+94=95 Exploring Operation: 1*94=94, Resulting Numbers: [13, 94] Generated Node #0,4,1: 99:[13, 94] Operation: 1*94=94 Exploring Operation: 13*1=13, Resulting Numbers: [94, 13] Generated Node #0,4,2: 99:[94, 13] Operation: 13*1=13 Exploring Operation: 13/1=13, Resulting Numbers: [94, 13] Generated Node #0,4,3: 99:[94, 13] Operation: 13/1=13 Exploring Operation: 13-1=12, Resulting Numbers: [94, 12] Generated Node #0,4,4: 99:[94, 12] Operation: 13-1=12 Moving to Node #0,4,0 Current State: 99:[13, 95], Operations: ['2+92=94', '1+94=95'] Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 13*95=1235, Resulting Numbers: [1235] 1235,99 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[94, 12], Operations: ['2+92=94', '13-1=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,99 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[13, 94], Operations: ['2+92=94', '1*94=94'] Exploring Operation: 13*94=1222, Resulting Numbers: [1222] 1222,99 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[94, 13], Operations: ['2+92=94', '13*1=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[94, 13], Operations: ['2+92=94', '13/1=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 14, 17, 10, 55 ]
25
[ "17-14=3", "10*3=30", "55-30=25" ]
Current State: 25:[14, 17, 10, 55], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [10, 55, 3] Generated Node #2: [10, 55, 3] from Operation: 17-14=3 Current State: 25:[10, 55, 3], Operations: ['17-14=3'] Exploring Operation: 10*3=30, Resulting Numbers: [55, 30] Generated Node #3: [55, 30] from Operation: 10*3=30 Current State: 25:[55, 30], Operations: ['17-14=3', '10*3=30'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[14, 17, 10, 55], Operations: [] Exploring Operation: 55-17=38, Resulting Numbers: [14, 10, 38] Generated Node #0,0: 25:[14, 10, 38] Operation: 55-17=38 Moving to Node #0,0 Current State: 25:[14, 10, 38], Operations: ['55-17=38'] Exploring Operation: 38-14=24, Resulting Numbers: [10, 24] Generated Node #0,0,0: 25:[10, 24] Operation: 38-14=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[10, 24], Operations: ['55-17=38', '38-14=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 48, 8, 6 ]
54
[ "12*8=96", "48-6=42", "96-42=54" ]
Current State: 54:[12, 48, 8, 6], Operations: [] Exploring Operation: 12*8=96, Resulting Numbers: [48, 6, 96] Generated Node #2: [48, 6, 96] from Operation: 12*8=96 Current State: 54:[48, 6, 96], Operations: ['12*8=96'] Exploring Operation: 48-6=42, Resulting Numbers: [96, 42] Generated Node #3: [96, 42] from Operation: 48-6=42 Current State: 54:[96, 42], Operations: ['12*8=96', '48-6=42'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[12, 48, 8, 6], Operations: [] Exploring Operation: 48+6=54, Resulting Numbers: [12, 8, 54] Generated Node #0,0: 54:[12, 8, 54] Operation: 48+6=54 Exploring Operation: 48+8=56, Resulting Numbers: [12, 6, 56] Generated Node #0,1: 54:[12, 6, 56] Operation: 48+8=56 Exploring Operation: 48/12=4, Resulting Numbers: [8, 6, 4] Generated Node #0,2: 54:[8, 6, 4] Operation: 48/12=4 Exploring Operation: 48/8=6, Resulting Numbers: [12, 6, 6] Generated Node #0,3: 54:[12, 6, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[8, 6, 4], Operations: ['48/12=4'] Exploring Operation: 8/4=2, Resulting Numbers: [6, 2] Generated Node #0,2,0: 54:[6, 2] Operation: 8/4=2 Exploring Operation: 6-4=2, Resulting Numbers: [8, 2] Generated Node #0,2,1: 54:[8, 2] Operation: 6-4=2 Exploring Operation: 8-4=4, Resulting Numbers: [6, 4] Generated Node #0,2,2: 54:[6, 4] Operation: 8-4=4 Exploring Operation: 8-6=2, Resulting Numbers: [4, 2] Generated Node #0,2,3: 54:[4, 2] Operation: 8-6=2 Moving to Node #0,2,0 Current State: 54:[6, 2], Operations: ['48/12=4', '8/4=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[6, 4], Operations: ['48/12=4', '8-4=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[8, 2], Operations: ['48/12=4', '6-4=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[4, 2], Operations: ['48/12=4', '8-6=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[12, 6, 6], Operations: ['48/8=6'] Exploring Operation: 12+6=18, Resulting Numbers: [6, 18] Generated Node #0,3,0: 54:[6, 18] Operation: 12+6=18 Exploring Operation: 12-6=6, Resulting Numbers: [6, 6] Generated Node #0,3,1: 54:[6, 6] Operation: 12-6=6 Exploring Operation: 12+6=18, Resulting Numbers: [6, 18] Generated Node #0,3,2: 54:[6, 18] Operation: 12+6=18 Exploring Operation: 12/6=2, Resulting Numbers: [6, 2] Generated Node #0,3,3: 54:[6, 2] Operation: 12/6=2 Moving to Node #0,3,0 Current State: 54:[6, 18], Operations: ['48/8=6', '12+6=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[6, 18], Operations: ['48/8=6', '12+6=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[6, 6], Operations: ['48/8=6', '12-6=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[6, 2], Operations: ['48/8=6', '12/6=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[12, 8, 54], Operations: ['48+6=54'] Exploring Operation: 12-8=4, Resulting Numbers: [54, 4] Generated Node #0,0,0: 54:[54, 4] Operation: 12-8=4 Exploring Operation: 54-8=46, Resulting Numbers: [12, 46] Generated Node #0,0,1: 54:[12, 46] Operation: 54-8=46 Exploring Operation: 12+8=20, Resulting Numbers: [54, 20] Generated Node #0,0,2: 54:[54, 20] Operation: 12+8=20 Exploring Operation: 8+54=62, Resulting Numbers: [12, 62] Generated Node #0,0,3: 54:[12, 62] Operation: 8+54=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[54, 4], Operations: ['48+6=54', '12-8=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,54 unequal: No Solution No 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: 54:[54, 20], Operations: ['48+6=54', '12+8=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,54 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,54 unequal: No Solution No 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: 54:[12, 46], Operations: ['48+6=54', '54-8=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,54 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,54 unequal: No Solution No 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: 54:[12, 62], Operations: ['48+6=54', '8+54=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,54 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,54 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[12, 6, 56], Operations: ['48+8=56'] Exploring Operation: 56-6=50, Resulting Numbers: [12, 50] Generated Node #0,1,0: 54:[12, 50] Operation: 56-6=50 Exploring Operation: 12+6=18, Resulting Numbers: [56, 18] Generated Node #0,1,1: 54:[56, 18] Operation: 12+6=18 Exploring Operation: 12/6=2, Resulting Numbers: [56, 2] Generated Node #0,1,2: 54:[56, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [56, 6] Generated Node #0,1,3: 54:[56, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[56, 18], Operations: ['48+8=56', '12+6=18'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,54 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,54 unequal: No Solution No 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: 54:[56, 2], Operations: ['48+8=56', '12/6=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[12, 48, 8, 6], Operations: [] Exploring Operation: 48+8=56, Resulting Numbers: [12, 6, 56] Generated Node #0,1: 54:[12, 6, 56] Operation: 48+8=56 Moving to Node #0,1 Current State: 54:[12, 6, 56], Operations: ['48+8=56'] Exploring Operation: 12/6=2, Resulting Numbers: [56, 2] Generated Node #0,1,2: 54:[56, 2] Operation: 12/6=2 Moving to Node #0,1,2 Current State: 54:[56, 2], Operations: ['48+8=56', '12/6=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.935764
hs_4
sum_heuristic
[ 81, 17, 62, 2 ]
72
[ "81+17=98", "98-62=36", "2*36=72" ]
Current State: 72:[81, 17, 62, 2], Operations: [] Exploring Operation: 81+17=98, Resulting Numbers: [62, 2, 98] Generated Node #2: [62, 2, 98] from Operation: 81+17=98 Current State: 72:[62, 2, 98], Operations: ['81+17=98'] Exploring Operation: 98-62=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 98-62=36 Current State: 72:[2, 36], Operations: ['81+17=98', '98-62=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[81, 17, 62, 2], Operations: [] Exploring Operation: 81-62=19, Resulting Numbers: [17, 2, 19] Generated Node #0,0: 72:[17, 2, 19] Operation: 81-62=19 Moving to Node #0,0 Current State: 72:[17, 2, 19], Operations: ['81-62=19'] Exploring Operation: 17+19=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 72:[2, 36] Operation: 17+19=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[2, 36], Operations: ['81-62=19', '17+19=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[81, 17, 62, 2], Operations: [] Exploring Operation: 81-62=19, Resulting Numbers: [17, 2, 19] Generated Node #0,0: 72:[17, 2, 19] Operation: 81-62=19 Moving to Node #0,0 Current State: 72:[17, 2, 19], Operations: ['81-62=19'] Exploring Operation: 17+19=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 72:[2, 36] Operation: 17+19=36 Moving to Node #0,0,0 Current State: 72:[2, 36], Operations: ['81-62=19', '17+19=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 46, 38, 85, 36 ]
78
[ "85-46=39", "38-36=2", "39*2=78" ]
Current State: 78:[46, 38, 85, 36], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [38, 36, 39] Generated Node #2: [38, 36, 39] from Operation: 85-46=39 Current State: 78:[38, 36, 39], Operations: ['85-46=39'] Exploring Operation: 38-36=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 38-36=2 Current State: 78:[39, 2], Operations: ['85-46=39', '38-36=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[46, 38, 85, 36], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [38, 36, 39] Generated Node #0,0: 78:[38, 36, 39] Operation: 85-46=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[38, 36, 39], Operations: ['85-46=39'] Exploring Operation: 38-36=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 78:[39, 2] Operation: 38-36=2 Moving to Node #0,0,0 Current State: 78:[39, 2], Operations: ['85-46=39', '38-36=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[46, 38, 85, 36], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [38, 36, 39] Generated Node #0,0: 78:[38, 36, 39] Operation: 85-46=39 Moving to Node #0,0 Current State: 78:[38, 36, 39], Operations: ['85-46=39'] Exploring Operation: 38-36=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 78:[39, 2] Operation: 38-36=2 Moving to Node #0,0,0 Current State: 78:[39, 2], Operations: ['85-46=39', '38-36=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 55, 22, 15, 11 ]
37
[ "55-22=33", "15-11=4", "33+4=37" ]
Current State: 37:[55, 22, 15, 11], Operations: [] Exploring Operation: 55-22=33, Resulting Numbers: [15, 11, 33] Generated Node #2: [15, 11, 33] from Operation: 55-22=33 Current State: 37:[15, 11, 33], Operations: ['55-22=33'] Exploring Operation: 15-11=4, Resulting Numbers: [33, 4] Generated Node #3: [33, 4] from Operation: 15-11=4 Current State: 37:[33, 4], Operations: ['55-22=33', '15-11=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[55, 22, 15, 11], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [22, 11, 40] Generated Node #0,0: 37:[22, 11, 40] Operation: 55-15=40 Exploring Operation: 22+15=37, Resulting Numbers: [55, 11, 37] Generated Node #0,1: 37:[55, 11, 37] Operation: 22+15=37 Exploring Operation: 55-11=44, Resulting Numbers: [22, 15, 44] Generated Node #0,2: 37:[22, 15, 44] Operation: 55-11=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[22, 11, 40], Operations: ['55-15=40'] Exploring Operation: 40-11=29, Resulting Numbers: [22, 29] Generated Node #0,0,0: 37:[22, 29] Operation: 40-11=29 Exploring Operation: 22+11=33, Resulting Numbers: [40, 33] Generated Node #0,0,1: 37:[40, 33] Operation: 22+11=33 Exploring Operation: 22-11=11, Resulting Numbers: [40, 11] Generated Node #0,0,2: 37:[40, 11] Operation: 22-11=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[40, 33], Operations: ['55-15=40', '22+11=33'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,37 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[22, 29], Operations: ['55-15=40', '40-11=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,37 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[40, 11], Operations: ['55-15=40', '22-11=11'] Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,37 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[55, 11, 37], Operations: ['22+15=37'] Exploring Operation: 55-11=44, Resulting Numbers: [37, 44] Generated Node #0,1,0: 37:[37, 44] Operation: 55-11=44 Exploring Operation: 11+37=48, Resulting Numbers: [55, 48] Generated Node #0,1,1: 37:[55, 48] Operation: 11+37=48 Exploring Operation: 55+11=66, Resulting Numbers: [37, 66] Generated Node #0,1,2: 37:[37, 66] Operation: 55+11=66 Moving to Node #0,1,0 Current State: 37:[37, 44], Operations: ['22+15=37', '55-11=44'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,37 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[55, 48], Operations: ['22+15=37', '11+37=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,37 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,37 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[37, 66], Operations: ['22+15=37', '55+11=66'] Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,37 unequal: No Solution Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,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 Current State: 37:[22, 15, 44], Operations: ['55-11=44'] Exploring Operation: 22+15=37, Resulting Numbers: [44, 37] Generated Node #0,2,0: 37:[44, 37] Operation: 22+15=37 Exploring Operation: 44-15=29, Resulting Numbers: [22, 29] Generated Node #0,2,1: 37:[22, 29] Operation: 44-15=29 Exploring Operation: 22-15=7, Resulting Numbers: [44, 7] Generated Node #0,2,2: 37:[44, 7] Operation: 22-15=7 Moving to Node #0,2,0 Current State: 37:[44, 37], Operations: ['55-11=44', '22+15=37'] Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,37 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[22, 29], Operations: ['55-11=44', '44-15=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,37 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[44, 7], Operations: ['55-11=44', '22-15=7'] Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,37 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[55, 22, 15, 11], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [22, 15, 44] Generated Node #0,2: 37:[22, 15, 44] Operation: 55-11=44 Moving to Node #0,2 Current State: 37:[22, 15, 44], Operations: ['55-11=44'] Exploring Operation: 22-15=7, Resulting Numbers: [44, 7] Generated Node #0,2,2: 37:[44, 7] Operation: 22-15=7 Moving to Node #0,2,2 Current State: 37:[44, 7], Operations: ['55-11=44', '22-15=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 73, 48, 63, 49 ]
61
[ "73-49=24", "48/24=2", "63-2=61" ]
Current State: 61:[73, 48, 63, 49], Operations: [] Exploring Operation: 73-49=24, Resulting Numbers: [48, 63, 24] Generated Node #2: [48, 63, 24] from Operation: 73-49=24 Current State: 61:[48, 63, 24], Operations: ['73-49=24'] Exploring Operation: 48/24=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 48/24=2 Current State: 61:[63, 2], Operations: ['73-49=24', '48/24=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[73, 48, 63, 49], Operations: [] Exploring Operation: 48+49=97, Resulting Numbers: [73, 63, 97] Generated Node #0,0: 61:[73, 63, 97] Operation: 48+49=97 Exploring Operation: 73-49=24, Resulting Numbers: [48, 63, 24] Generated Node #0,1: 61:[48, 63, 24] Operation: 73-49=24 Exploring Operation: 73-48=25, Resulting Numbers: [63, 49, 25] Generated Node #0,2: 61:[63, 49, 25] Operation: 73-48=25 Exploring Operation: 63-48=15, Resulting Numbers: [73, 49, 15] Generated Node #0,3: 61:[73, 49, 15] Operation: 63-48=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[73, 63, 97], Operations: ['48+49=97'] Exploring Operation: 73-63=10, Resulting Numbers: [97, 10] Generated Node #0,0,0: 61:[97, 10] Operation: 73-63=10 Exploring Operation: 97-63=34, Resulting Numbers: [73, 34] Generated Node #0,0,1: 61:[73, 34] Operation: 97-63=34 Exploring Operation: 73+63=136, Resulting Numbers: [97, 136] Generated Node #0,0,2: 61:[97, 136] Operation: 73+63=136 Exploring Operation: 97-73=24, Resulting Numbers: [63, 24] Generated Node #0,0,3: 61:[63, 24] Operation: 97-73=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[73, 34], Operations: ['48+49=97', '97-63=34'] Exploring Operation: 73*34=2482, Resulting Numbers: [2482] 2482,61 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 73+34=107, Resulting Numbers: [107] 107,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 61:[63, 24], Operations: ['48+49=97', '97-73=24'] Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,61 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[97, 10], Operations: ['48+49=97', '73-63=10'] Exploring Operation: 97*10=970, Resulting Numbers: [970] 970,61 unequal: No Solution Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 61:[97, 136], Operations: ['48+49=97', '73+63=136'] Exploring Operation: 97+136=233, Resulting Numbers: [233] 233,61 unequal: No Solution Exploring Operation: 136-97=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 97*136=13192, Resulting Numbers: [13192] 13192,61 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: 61:[63, 49, 25], Operations: ['73-48=25'] Exploring Operation: 49-25=24, Resulting Numbers: [63, 24] Generated Node #0,2,0: 61:[63, 24] Operation: 49-25=24 Exploring Operation: 49+25=74, Resulting Numbers: [63, 74] Generated Node #0,2,1: 61:[63, 74] Operation: 49+25=74 Exploring Operation: 63-25=38, Resulting Numbers: [49, 38] Generated Node #0,2,2: 61:[49, 38] Operation: 63-25=38 Exploring Operation: 63+25=88, Resulting Numbers: [49, 88] Generated Node #0,2,3: 61:[49, 88] Operation: 63+25=88 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[63, 74], Operations: ['73-48=25', '49+25=74'] Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,61 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 61:[49, 38], Operations: ['73-48=25', '63-25=38'] Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 49+38=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 49*38=1862, Resulting Numbers: [1862] 1862,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 61:[63, 24], Operations: ['73-48=25', '49-25=24'] Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 61:[49, 88], Operations: ['73-48=25', '63+25=88'] Exploring Operation: 49*88=4312, Resulting Numbers: [4312] 4312,61 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 49+88=137, Resulting Numbers: [137] 137,61 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: 61:[48, 63, 24], Operations: ['73-49=24'] Exploring Operation: 48+24=72, Resulting Numbers: [63, 72] Generated Node #0,1,0: 61:[63, 72] Operation: 48+24=72 Exploring Operation: 63-24=39, Resulting Numbers: [48, 39] Generated Node #0,1,1: 61:[48, 39] Operation: 63-24=39 Exploring Operation: 48-24=24, Resulting Numbers: [63, 24] Generated Node #0,1,2: 61:[63, 24] Operation: 48-24=24 Exploring Operation: 63+24=87, Resulting Numbers: [48, 87] Generated Node #0,1,3: 61:[48, 87] Operation: 63+24=87 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[63, 72], Operations: ['73-49=24', '48+24=72'] Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,61 unequal: No Solution Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,61 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[48, 39], Operations: ['73-49=24', '63-24=39'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,61 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[63, 24], Operations: ['73-49=24', '48-24=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 61:[48, 87], Operations: ['73-49=24', '63+24=87'] Exploring Operation: 48*87=4176, Resulting Numbers: [4176] 4176,61 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 48+87=135, Resulting Numbers: [135] 135,61 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: 61:[73, 49, 15], Operations: ['63-48=15'] Exploring Operation: 49-15=34, Resulting Numbers: [73, 34] Generated Node #0,3,0: 61:[73, 34] Operation: 49-15=34 Exploring Operation: 73-15=58, Resulting Numbers: [49, 58] Generated Node #0,3,1: 61:[49, 58] Operation: 73-15=58 Exploring Operation: 49+15=64, Resulting Numbers: [73, 64] Generated Node #0,3,2: 61:[73, 64] Operation: 49+15=64 Exploring Operation: 73+15=88, Resulting Numbers: [49, 88] Generated Node #0,3,3: 61:[49, 88] Operation: 73+15=88 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[49, 58], Operations: ['63-48=15', '73-15=58'] Exploring Operation: 49*58=2842, Resulting Numbers: [2842] 2842,61 unequal: No Solution Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[73, 64], Operations: ['63-48=15', '49+15=64'] Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,61 unequal: No Solution Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[73, 34], Operations: ['63-48=15', '49-15=34'] Exploring Operation: 73*34=2482, Resulting Numbers: [2482] 2482,61 unequal: No Solution Exploring Operation: 73+34=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[49, 88], Operations: ['63-48=15', '73+15=88'] Exploring Operation: 49*88=4312, Resulting Numbers: [4312] 4312,61 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 49+88=137, Resulting Numbers: [137] 137,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 18, 69, 87, 60 ]
46
[ "18*69=1242", "87-60=27", "1242/27=46" ]
Current State: 46:[18, 69, 87, 60], Operations: [] Exploring Operation: 18*69=1242, Resulting Numbers: [87, 60, 1242] Generated Node #2: [87, 60, 1242] from Operation: 18*69=1242 Current State: 46:[87, 60, 1242], Operations: ['18*69=1242'] Exploring Operation: 87-60=27, Resulting Numbers: [1242, 27] Generated Node #3: [1242, 27] from Operation: 87-60=27 Current State: 46:[1242, 27], Operations: ['18*69=1242', '87-60=27'] Exploring Operation: 1242/27=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 69, 87, 60], Operations: [] Exploring Operation: 87-60=27, Resulting Numbers: [18, 69, 27] Generated Node #0,0: 46:[18, 69, 27] Operation: 87-60=27 Exploring Operation: 87-69=18, Resulting Numbers: [18, 60, 18] Generated Node #0,1: 46:[18, 60, 18] Operation: 87-69=18 Exploring Operation: 69-60=9, Resulting Numbers: [18, 87, 9] Generated Node #0,2: 46:[18, 87, 9] Operation: 69-60=9 Exploring Operation: 69-18=51, Resulting Numbers: [87, 60, 51] Generated Node #0,3: 46:[87, 60, 51] Operation: 69-18=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[18, 60, 18], Operations: ['87-69=18'] Exploring Operation: 60-18=42, Resulting Numbers: [18, 42] Generated Node #0,1,0: 46:[18, 42] Operation: 60-18=42 Exploring Operation: 18/18=1, Resulting Numbers: [60, 1] Generated Node #0,1,1: 46:[60, 1] Operation: 18/18=1 Exploring Operation: 60-18=42, Resulting Numbers: [18, 42] Generated Node #0,1,2: 46:[18, 42] Operation: 60-18=42 Exploring Operation: 18-18=0, Resulting Numbers: [60, 0] Generated Node #0,1,3: 46:[60, 0] Operation: 18-18=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[18, 42], Operations: ['87-69=18', '60-18=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,46 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,46 unequal: No Solution No 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: 46:[18, 42], Operations: ['87-69=18', '60-18=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,46 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,46 unequal: No Solution No 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: 46:[60, 1], Operations: ['87-69=18', '18/18=1'] Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,46 unequal: No Solution No 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: 46:[60, 0], Operations: ['87-69=18', '18-18=0'] Exploring Operation: 60-0=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 60*0=0, Resulting Numbers: [0] 0,46 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: 46:[18, 69, 27], Operations: ['87-60=27'] Exploring Operation: 18+27=45, Resulting Numbers: [69, 45] Generated Node #0,0,0: 46:[69, 45] Operation: 18+27=45 Exploring Operation: 69-18=51, Resulting Numbers: [27, 51] Generated Node #0,0,1: 46:[27, 51] Operation: 69-18=51 Exploring Operation: 69-27=42, Resulting Numbers: [18, 42] Generated Node #0,0,2: 46:[18, 42] Operation: 69-27=42 Exploring Operation: 27-18=9, Resulting Numbers: [69, 9] Generated Node #0,0,3: 46:[69, 9] Operation: 27-18=9 Moving to Node #0,0,1 Current State: 46:[27, 51], Operations: ['87-60=27', '69-18=51'] Exploring Operation: 27+51=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 27*51=1377, Resulting Numbers: [1377] 1377,46 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[18, 42], Operations: ['87-60=27', '69-27=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,46 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[69, 45], Operations: ['87-60=27', '18+27=45'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,46 unequal: No Solution Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[69, 9], Operations: ['87-60=27', '27-18=9'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[18, 87, 9], Operations: ['69-60=9'] Exploring Operation: 87-18=69, Resulting Numbers: [9, 69] Generated Node #0,2,0: 46:[9, 69] Operation: 87-18=69 Exploring Operation: 87-9=78, Resulting Numbers: [18, 78] Generated Node #0,2,1: 46:[18, 78] Operation: 87-9=78 Exploring Operation: 18/9=2, Resulting Numbers: [87, 2] Generated Node #0,2,2: 46:[87, 2] Operation: 18/9=2 Exploring Operation: 18+9=27, Resulting Numbers: [87, 27] Generated Node #0,2,3: 46:[87, 27] Operation: 18+9=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[9, 69], Operations: ['69-60=9', '87-18=69'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,46 unequal: No Solution No 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: 46:[18, 78], Operations: ['69-60=9', '87-9=78'] Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,46 unequal: No Solution Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,46 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,46 unequal: No Solution No 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: 46:[87, 2], Operations: ['69-60=9', '18/9=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,46 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,46 unequal: No Solution No 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: 46:[87, 27], Operations: ['69-60=9', '18+9=27'] Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,46 unequal: No Solution Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,46 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,46 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: 46:[87, 60, 51], Operations: ['69-18=51'] Exploring Operation: 87+60=147, Resulting Numbers: [51, 147] Generated Node #0,3,0: 46:[51, 147] Operation: 87+60=147 Exploring Operation: 60-51=9, Resulting Numbers: [87, 9] Generated Node #0,3,1: 46:[87, 9] Operation: 60-51=9 Exploring Operation: 87-60=27, Resulting Numbers: [51, 27] Generated Node #0,3,2: 46:[51, 27] Operation: 87-60=27 Exploring Operation: 87-51=36, Resulting Numbers: [60, 36] Generated Node #0,3,3: 46:[60, 36] Operation: 87-51=36 Moving to Node #0,3,2 Current State: 46:[51, 27], Operations: ['69-18=51', '87-60=27'] Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,46 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[60, 36], Operations: ['69-18=51', '87-51=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,46 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[87, 9], Operations: ['69-18=51', '60-51=9'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,46 unequal: No Solution Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[51, 147], Operations: ['69-18=51', '87+60=147'] Exploring Operation: 51*147=7497, Resulting Numbers: [7497] 7497,46 unequal: No Solution Exploring Operation: 51+147=198, Resulting Numbers: [198] 198,46 unequal: No Solution Exploring Operation: 147-51=96, Resulting Numbers: [96] 96,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 43, 94, 13 ]
99
[ "96-94=2", "43*2=86", "13+86=99" ]
Current State: 99:[96, 43, 94, 13], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [43, 13, 2] Generated Node #2: [43, 13, 2] from Operation: 96-94=2 Current State: 99:[43, 13, 2], Operations: ['96-94=2'] Exploring Operation: 43*2=86, Resulting Numbers: [13, 86] Generated Node #3: [13, 86] from Operation: 43*2=86 Current State: 99:[13, 86], Operations: ['96-94=2', '43*2=86'] Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[96, 43, 94, 13], Operations: [] Exploring Operation: 94+13=107, Resulting Numbers: [96, 43, 107] Generated Node #0,0: 99:[96, 43, 107] Operation: 94+13=107 Exploring Operation: 94-43=51, Resulting Numbers: [96, 13, 51] Generated Node #0,1: 99:[96, 13, 51] Operation: 94-43=51 Exploring Operation: 96-94=2, Resulting Numbers: [43, 13, 2] Generated Node #0,2: 99:[43, 13, 2] Operation: 96-94=2 Exploring Operation: 43-13=30, Resulting Numbers: [96, 94, 30] Generated Node #0,3: 99:[96, 94, 30] Operation: 43-13=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[96, 94, 30], Operations: ['43-13=30'] Exploring Operation: 96+30=126, Resulting Numbers: [94, 126] Generated Node #0,3,0: 99:[94, 126] Operation: 96+30=126 Exploring Operation: 94-30=64, Resulting Numbers: [96, 64] Generated Node #0,3,1: 99:[96, 64] Operation: 94-30=64 Exploring Operation: 96-94=2, Resulting Numbers: [30, 2] Generated Node #0,3,2: 99:[30, 2] Operation: 96-94=2 Exploring Operation: 94+30=124, Resulting Numbers: [96, 124] Generated Node #0,3,3: 99:[96, 124] Operation: 94+30=124 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[30, 2], Operations: ['43-13=30', '96-94=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[96, 124], Operations: ['43-13=30', '94+30=124'] Exploring Operation: 96+124=220, Resulting Numbers: [220] 220,99 unequal: No Solution Exploring Operation: 124-96=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 96*124=11904, Resulting Numbers: [11904] 11904,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[94, 126], Operations: ['43-13=30', '96+30=126'] Exploring Operation: 126-94=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 94+126=220, Resulting Numbers: [220] 220,99 unequal: No Solution Exploring Operation: 94*126=11844, Resulting Numbers: [11844] 11844,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[96, 64], Operations: ['43-13=30', '94-30=64'] Exploring Operation: 96*64=6144, Resulting Numbers: [6144] 6144,99 unequal: No Solution Exploring Operation: 96-64=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 96+64=160, Resulting Numbers: [160] 160,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[43, 13, 2], Operations: ['96-94=2'] Exploring Operation: 43+2=45, Resulting Numbers: [13, 45] Generated Node #0,2,0: 99:[13, 45] Operation: 43+2=45 Exploring Operation: 13-2=11, Resulting Numbers: [43, 11] Generated Node #0,2,1: 99:[43, 11] Operation: 13-2=11 Exploring Operation: 43-13=30, Resulting Numbers: [2, 30] Generated Node #0,2,2: 99:[2, 30] Operation: 43-13=30 Exploring Operation: 43-2=41, Resulting Numbers: [13, 41] Generated Node #0,2,3: 99:[13, 41] Operation: 43-2=41 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[2, 30], Operations: ['96-94=2', '43-13=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[43, 11], Operations: ['96-94=2', '13-2=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,99 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[13, 41], Operations: ['96-94=2', '43-2=41'] Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,99 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[13, 45], Operations: ['96-94=2', '43+2=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,99 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[96, 43, 107], Operations: ['94+13=107'] Exploring Operation: 107-96=11, Resulting Numbers: [43, 11] Generated Node #0,0,0: 99:[43, 11] Operation: 107-96=11 Exploring Operation: 107-43=64, Resulting Numbers: [96, 64] Generated Node #0,0,1: 99:[96, 64] Operation: 107-43=64 Exploring Operation: 96+43=139, Resulting Numbers: [107, 139] Generated Node #0,0,2: 99:[107, 139] Operation: 96+43=139 Exploring Operation: 96-43=53, Resulting Numbers: [107, 53] Generated Node #0,0,3: 99:[107, 53] Operation: 96-43=53 Moving to Node #0,0,0 Current State: 99:[43, 11], Operations: ['94+13=107', '107-96=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[107, 53], Operations: ['94+13=107', '96-43=53'] Exploring Operation: 107+53=160, Resulting Numbers: [160] 160,99 unequal: No Solution Exploring Operation: 107*53=5671, Resulting Numbers: [5671] 5671,99 unequal: No Solution Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[96, 64], Operations: ['94+13=107', '107-43=64'] Exploring Operation: 96-64=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 96+64=160, Resulting Numbers: [160] 160,99 unequal: No Solution Exploring Operation: 96*64=6144, Resulting Numbers: [6144] 6144,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[107, 139], Operations: ['94+13=107', '96+43=139'] Exploring Operation: 107+139=246, Resulting Numbers: [246] 246,99 unequal: No Solution Exploring Operation: 139-107=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 107*139=14873, Resulting Numbers: [14873] 14873,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[96, 13, 51], Operations: ['94-43=51'] Exploring Operation: 96-13=83, Resulting Numbers: [51, 83] Generated Node #0,1,0: 99:[51, 83] Operation: 96-13=83 Exploring Operation: 96-51=45, Resulting Numbers: [13, 45] Generated Node #0,1,1: 99:[13, 45] Operation: 96-51=45 Exploring Operation: 51-13=38, Resulting Numbers: [96, 38] Generated Node #0,1,2: 99:[96, 38] Operation: 51-13=38 Exploring Operation: 96+13=109, Resulting Numbers: [51, 109] Generated Node #0,1,3: 99:[51, 109] Operation: 96+13=109 Moving to Node #0,1,2 Current State: 99:[96, 38], Operations: ['94-43=51', '51-13=38'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 96+38=134, Resulting Numbers: [134] 134,99 unequal: No Solution Exploring Operation: 96*38=3648, Resulting Numbers: [3648] 3648,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[13, 45], Operations: ['94-43=51', '96-51=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,99 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[51, 109], Operations: ['94-43=51', '96+13=109'] Exploring Operation: 51*109=5559, Resulting Numbers: [5559] 5559,99 unequal: No Solution Exploring Operation: 109-51=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 51+109=160, Resulting Numbers: [160] 160,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[51, 83], Operations: ['94-43=51', '96-13=83'] Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 51+83=134, Resulting Numbers: [134] 134,99 unequal: No Solution Exploring Operation: 51*83=4233, Resulting Numbers: [4233] 4233,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 80, 25, 60, 40 ]
64
[ "60-40=20", "80*20=1600", "1600/25=64" ]
Current State: 64:[80, 25, 60, 40], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [80, 25, 20] Generated Node #2: [80, 25, 20] from Operation: 60-40=20 Current State: 64:[80, 25, 20], Operations: ['60-40=20'] Exploring Operation: 80*20=1600, Resulting Numbers: [25, 1600] Generated Node #3: [25, 1600] from Operation: 80*20=1600 Current State: 64:[25, 1600], Operations: ['60-40=20', '80*20=1600'] Exploring Operation: 1600/25=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[80, 25, 60, 40], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [25, 60, 2] Generated Node #0,0: 64:[25, 60, 2] Operation: 80/40=2 Exploring Operation: 80-60=20, Resulting Numbers: [25, 40, 20] Generated Node #0,1: 64:[25, 40, 20] Operation: 80-60=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[25, 60, 2], Operations: ['80/40=2'] Exploring Operation: 25+2=27, Resulting Numbers: [60, 27] Generated Node #0,0,0: 64:[60, 27] Operation: 25+2=27 Exploring Operation: 60-25=35, Resulting Numbers: [2, 35] Generated Node #0,0,1: 64:[2, 35] Operation: 60-25=35 Moving to Node #0,0,1 Current State: 64:[2, 35], Operations: ['80/40=2', '60-25=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[60, 27], Operations: ['80/40=2', '25+2=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[25, 40, 20], Operations: ['80-60=20'] Exploring Operation: 25+40=65, Resulting Numbers: [20, 65] Generated Node #0,1,0: 64:[20, 65] Operation: 25+40=65 Exploring Operation: 40-25=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 64:[20, 15] Operation: 40-25=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[20, 65], Operations: ['80-60=20', '25+40=65'] Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,64 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,64 unequal: No Solution No 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: 64:[20, 15], Operations: ['80-60=20', '40-25=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,64 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
[ 6, 58, 65, 5 ]
12
[ "65-58=7", "7-5=2", "6*2=12" ]
Current State: 12:[6, 58, 65, 5], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [6, 5, 7] Generated Node #2: [6, 5, 7] from Operation: 65-58=7 Current State: 12:[6, 5, 7], Operations: ['65-58=7'] Exploring Operation: 7-5=2, Resulting Numbers: [6, 2] Generated Node #3: [6, 2] from Operation: 7-5=2 Current State: 12:[6, 2], Operations: ['65-58=7', '7-5=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[6, 58, 65, 5], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [6, 5, 7] Generated Node #0,0: 12:[6, 5, 7] Operation: 65-58=7 Exploring Operation: 65-6=59, Resulting Numbers: [58, 5, 59] Generated Node #0,1: 12:[58, 5, 59] Operation: 65-6=59 Exploring Operation: 58-6=52, Resulting Numbers: [65, 5, 52] Generated Node #0,2: 12:[65, 5, 52] Operation: 58-6=52 Exploring Operation: 65/5=13, Resulting Numbers: [6, 58, 13] Generated Node #0,3: 12:[6, 58, 13] Operation: 65/5=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[6, 5, 7], Operations: ['65-58=7'] Exploring Operation: 5+7=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 12:[6, 12] Operation: 5+7=12 Exploring Operation: 6+5=11, Resulting Numbers: [7, 11] Generated Node #0,0,1: 12:[7, 11] Operation: 6+5=11 Exploring Operation: 6-5=1, Resulting Numbers: [7, 1] Generated Node #0,0,2: 12:[7, 1] Operation: 6-5=1 Exploring Operation: 7-5=2, Resulting Numbers: [6, 2] Generated Node #0,0,3: 12:[6, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[6, 12], Operations: ['65-58=7', '5+7=12'] Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 12:[6, 2], Operations: ['65-58=7', '7-5=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[6, 58, 65, 5], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [6, 5, 7] Generated Node #0,0: 12:[6, 5, 7] Operation: 65-58=7 Moving to Node #0,0 Current State: 12:[6, 5, 7], Operations: ['65-58=7'] Exploring Operation: 7-5=2, Resulting Numbers: [6, 2] Generated Node #0,0,3: 12:[6, 2] Operation: 7-5=2 Moving to Node #0,0,3 Current State: 12:[6, 2], Operations: ['65-58=7', '7-5=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 3, 7, 93, 4 ]
98
[ "3*4=12", "93-7=86", "12+86=98" ]
Current State: 98:[3, 7, 93, 4], Operations: [] Exploring Operation: 3*4=12, Resulting Numbers: [7, 93, 12] Generated Node #2: [7, 93, 12] from Operation: 3*4=12 Current State: 98:[7, 93, 12], Operations: ['3*4=12'] Exploring Operation: 93-7=86, Resulting Numbers: [12, 86] Generated Node #3: [12, 86] from Operation: 93-7=86 Current State: 98:[12, 86], Operations: ['3*4=12', '93-7=86'] Exploring Operation: 12+86=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[3, 7, 93, 4], Operations: [] Exploring Operation: 3+93=96, Resulting Numbers: [7, 4, 96] Generated Node #0,0: 98:[7, 4, 96] Operation: 3+93=96 Exploring Operation: 93+4=97, Resulting Numbers: [3, 7, 97] Generated Node #0,1: 98:[3, 7, 97] Operation: 93+4=97 Moving to Node #0,1 Current State: 98:[3, 7, 97], Operations: ['93+4=97'] Exploring Operation: 3+97=100, Resulting Numbers: [7, 100] Generated Node #0,1,0: 98:[7, 100] Operation: 3+97=100 Exploring Operation: 7-3=4, Resulting Numbers: [97, 4] Generated Node #0,1,1: 98:[97, 4] Operation: 7-3=4 Moving to Node #0,0 Current State: 98:[7, 4, 96], Operations: ['3+93=96'] Exploring Operation: 4+96=100, Resulting Numbers: [7, 100] Generated Node #0,0,0: 98:[7, 100] Operation: 4+96=100 Exploring Operation: 7-4=3, Resulting Numbers: [96, 3] Generated Node #0,0,1: 98:[96, 3] Operation: 7-4=3 Moving to Node #0,1,0 Current State: 98:[7, 100], Operations: ['93+4=97', '3+97=100'] Exploring Operation: 7+100=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[7, 100], Operations: ['3+93=96', '4+96=100'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 7+100=107, Resulting Numbers: [107] 107,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[97, 4], Operations: ['93+4=97', '7-3=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[96, 3], Operations: ['3+93=96', '7-4=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,98 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 78, 60, 52 ]
72
[ "60-12=48", "78*48=3744", "3744/52=72" ]
Current State: 72:[12, 78, 60, 52], Operations: [] Exploring Operation: 60-12=48, Resulting Numbers: [78, 52, 48] Generated Node #2: [78, 52, 48] from Operation: 60-12=48 Current State: 72:[78, 52, 48], Operations: ['60-12=48'] Exploring Operation: 78*48=3744, Resulting Numbers: [52, 3744] Generated Node #3: [52, 3744] from Operation: 78*48=3744 Current State: 72:[52, 3744], Operations: ['60-12=48', '78*48=3744'] Exploring Operation: 3744/52=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[12, 78, 60, 52], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [12, 52, 18] Generated Node #0,0: 72:[12, 52, 18] Operation: 78-60=18 Exploring Operation: 60-52=8, Resulting Numbers: [12, 78, 8] Generated Node #0,1: 72:[12, 78, 8] Operation: 60-52=8 Exploring Operation: 78-52=26, Resulting Numbers: [12, 60, 26] Generated Node #0,2: 72:[12, 60, 26] Operation: 78-52=26 Moving to Node #0,1 Current State: 72:[12, 78, 8], Operations: ['60-52=8'] Exploring Operation: 12-8=4, Resulting Numbers: [78, 4] Generated Node #0,1,0: 72:[78, 4] Operation: 12-8=4 Exploring Operation: 78-8=70, Resulting Numbers: [12, 70] Generated Node #0,1,1: 72:[12, 70] Operation: 78-8=70 Exploring Operation: 78-12=66, Resulting Numbers: [8, 66] Generated Node #0,1,2: 72:[8, 66] Operation: 78-12=66 Moving to Node #0,2 Current State: 72:[12, 60, 26], Operations: ['78-52=26'] Exploring Operation: 60/12=5, Resulting Numbers: [26, 5] Generated Node #0,2,0: 72:[26, 5] Operation: 60/12=5 Exploring Operation: 12+60=72, Resulting Numbers: [26, 72] Generated Node #0,2,1: 72:[26, 72] Operation: 12+60=72 Exploring Operation: 60-26=34, Resulting Numbers: [12, 34] Generated Node #0,2,2: 72:[12, 34] Operation: 60-26=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[26, 72], Operations: ['78-52=26', '12+60=72'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 26*72=1872, Resulting Numbers: [1872] 1872,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[12, 34], Operations: ['78-52=26', '60-26=34'] Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[26, 5], Operations: ['78-52=26', '60/12=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 72:[12, 52, 18], Operations: ['78-60=18'] Exploring Operation: 52-18=34, Resulting Numbers: [12, 34] Generated Node #0,0,0: 72:[12, 34] Operation: 52-18=34 Exploring Operation: 52+18=70, Resulting Numbers: [12, 70] Generated Node #0,0,1: 72:[12, 70] Operation: 52+18=70 Exploring Operation: 52-12=40, Resulting Numbers: [18, 40] Generated Node #0,0,2: 72:[18, 40] Operation: 52-12=40 Moving to Node #0,1,1 Current State: 72:[12, 70], Operations: ['60-52=8', '78-8=70'] Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,72 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[12, 34], Operations: ['78-60=18', '52-18=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,72 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[12, 70], Operations: ['78-60=18', '52+18=70'] Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,72 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[18, 40], Operations: ['78-60=18', '52-12=40'] Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,72 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,72 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[78, 4], Operations: ['60-52=8', '12-8=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,72 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[8, 66], Operations: ['60-52=8', '78-12=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,72 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,72 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,72 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 20, 94, 80, 52 ]
86
[ "20+94=114", "80-52=28", "114-28=86" ]
Current State: 86:[20, 94, 80, 52], Operations: [] Exploring Operation: 20+94=114, Resulting Numbers: [80, 52, 114] Generated Node #2: [80, 52, 114] from Operation: 20+94=114 Current State: 86:[80, 52, 114], Operations: ['20+94=114'] Exploring Operation: 80-52=28, Resulting Numbers: [114, 28] Generated Node #3: [114, 28] from Operation: 80-52=28 Current State: 86:[114, 28], Operations: ['20+94=114', '80-52=28'] Exploring Operation: 114-28=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[20, 94, 80, 52], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [94, 80, 32] Generated Node #0,0: 86:[94, 80, 32] Operation: 52-20=32 Exploring Operation: 20+52=72, Resulting Numbers: [94, 80, 72] Generated Node #0,1: 86:[94, 80, 72] Operation: 20+52=72 Exploring Operation: 94-52=42, Resulting Numbers: [20, 80, 42] Generated Node #0,2: 86:[20, 80, 42] Operation: 94-52=42 Exploring Operation: 94-20=74, Resulting Numbers: [80, 52, 74] Generated Node #0,3: 86:[80, 52, 74] Operation: 94-20=74 Exploring Operation: 80/20=4, Resulting Numbers: [94, 52, 4] Generated Node #0,4: 86:[94, 52, 4] Operation: 80/20=4 Moving to Node #0,4 Current State: 86:[94, 52, 4], Operations: ['80/20=4'] Exploring Operation: 52/4=13, Resulting Numbers: [94, 13] Generated Node #0,4,0: 86:[94, 13] Operation: 52/4=13 Exploring Operation: 94-4=90, Resulting Numbers: [52, 90] Generated Node #0,4,1: 86:[52, 90] Operation: 94-4=90 Exploring Operation: 94+4=98, Resulting Numbers: [52, 98] Generated Node #0,4,2: 86:[52, 98] Operation: 94+4=98 Exploring Operation: 52-4=48, Resulting Numbers: [94, 48] Generated Node #0,4,3: 86:[94, 48] Operation: 52-4=48 Exploring Operation: 94-52=42, Resulting Numbers: [4, 42] Generated Node #0,4,4: 86:[4, 42] Operation: 94-52=42 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[4, 42], Operations: ['80/20=4', '94-52=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,86 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[52, 90], Operations: ['80/20=4', '94-4=90'] Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 52*90=4680, Resulting Numbers: [4680] 4680,86 unequal: No Solution Exploring Operation: 52+90=142, Resulting Numbers: [142] 142,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[94, 48], Operations: ['80/20=4', '52-4=48'] Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,86 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[94, 13], Operations: ['80/20=4', '52/4=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,86 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 86:[52, 98], Operations: ['80/20=4', '94+4=98'] Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,86 unequal: No Solution Exploring Operation: 52*98=5096, Resulting Numbers: [5096] 5096,86 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: 86:[20, 80, 42], Operations: ['94-52=42'] Exploring Operation: 80-42=38, Resulting Numbers: [20, 38] Generated Node #0,2,0: 86:[20, 38] Operation: 80-42=38 Exploring Operation: 80-20=60, Resulting Numbers: [42, 60] Generated Node #0,2,1: 86:[42, 60] Operation: 80-20=60 Exploring Operation: 80/20=4, Resulting Numbers: [42, 4] Generated Node #0,2,2: 86:[42, 4] Operation: 80/20=4 Exploring Operation: 20+42=62, Resulting Numbers: [80, 62] Generated Node #0,2,3: 86:[80, 62] Operation: 20+42=62 Exploring Operation: 20+80=100, Resulting Numbers: [42, 100] Generated Node #0,2,4: 86:[42, 100] Operation: 20+80=100 Moving to Node #0,0 Current State: 86:[94, 80, 32], Operations: ['52-20=32'] Exploring Operation: 94-80=14, Resulting Numbers: [32, 14] Generated Node #0,0,0: 86:[32, 14] Operation: 94-80=14 Exploring Operation: 80+32=112, Resulting Numbers: [94, 112] Generated Node #0,0,1: 86:[94, 112] Operation: 80+32=112 Exploring Operation: 80-32=48, Resulting Numbers: [94, 48] Generated Node #0,0,2: 86:[94, 48] Operation: 80-32=48 Exploring Operation: 94-32=62, Resulting Numbers: [80, 62] Generated Node #0,0,3: 86:[80, 62] Operation: 94-32=62 Exploring Operation: 94+32=126, Resulting Numbers: [80, 126] Generated Node #0,0,4: 86:[80, 126] Operation: 94+32=126 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[94, 48], Operations: ['52-20=32', '80-32=48'] Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,86 unequal: No Solution Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,86 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[32, 14], Operations: ['52-20=32', '94-80=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,86 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[80, 62], Operations: ['52-20=32', '94-32=62'] Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,86 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[94, 112], Operations: ['52-20=32', '80+32=112'] Exploring Operation: 94+112=206, Resulting Numbers: [206] 206,86 unequal: No Solution Exploring Operation: 112-94=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 94*112=10528, Resulting Numbers: [10528] 10528,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[80, 126], Operations: ['52-20=32', '94+32=126'] Exploring Operation: 126-80=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 80*126=10080, Resulting Numbers: [10080] 10080,86 unequal: No Solution Exploring Operation: 80+126=206, Resulting Numbers: [206] 206,86 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: 86:[80, 52, 74], Operations: ['94-20=74'] Exploring Operation: 80+52=132, Resulting Numbers: [74, 132] Generated Node #0,3,0: 86:[74, 132] Operation: 80+52=132 Exploring Operation: 80-74=6, Resulting Numbers: [52, 6] Generated Node #0,3,1: 86:[52, 6] Operation: 80-74=6 Exploring Operation: 80-52=28, Resulting Numbers: [74, 28] Generated Node #0,3,2: 86:[74, 28] Operation: 80-52=28 Exploring Operation: 74-52=22, Resulting Numbers: [80, 22] Generated Node #0,3,3: 86:[80, 22] Operation: 74-52=22 Exploring Operation: 52+74=126, Resulting Numbers: [80, 126] Generated Node #0,3,4: 86:[80, 126] Operation: 52+74=126 Moving to Node #0,1 Current State: 86:[94, 80, 72], Operations: ['20+52=72'] Exploring Operation: 80-72=8, Resulting Numbers: [94, 8] Generated Node #0,1,0: 86:[94, 8] Operation: 80-72=8 Exploring Operation: 94+72=166, Resulting Numbers: [80, 166] Generated Node #0,1,1: 86:[80, 166] Operation: 94+72=166 Exploring Operation: 94-80=14, Resulting Numbers: [72, 14] Generated Node #0,1,2: 86:[72, 14] Operation: 94-80=14 Exploring Operation: 80+72=152, Resulting Numbers: [94, 152] Generated Node #0,1,3: 86:[94, 152] Operation: 80+72=152 Exploring Operation: 94-72=22, Resulting Numbers: [80, 22] Generated Node #0,1,4: 86:[80, 22] Operation: 94-72=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[94, 8], Operations: ['20+52=72', '80-72=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[20, 94, 80, 52], Operations: [] Exploring Operation: 20+52=72, Resulting Numbers: [94, 80, 72] Generated Node #0,1: 86:[94, 80, 72] Operation: 20+52=72 Moving to Node #0,1 Current State: 86:[94, 80, 72], Operations: ['20+52=72'] Exploring Operation: 80-72=8, Resulting Numbers: [94, 8] Generated Node #0,1,0: 86:[94, 8] Operation: 80-72=8 Moving to Node #0,1,0 Current State: 86:[94, 8], Operations: ['20+52=72', '80-72=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
mult_heuristic
[ 13, 34, 42, 35 ]
98
[ "34-13=21", "42+35=77", "21+77=98" ]
Current State: 98:[13, 34, 42, 35], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [42, 35, 21] Generated Node #2: [42, 35, 21] from Operation: 34-13=21 Current State: 98:[42, 35, 21], Operations: ['34-13=21'] Exploring Operation: 42+35=77, Resulting Numbers: [21, 77] Generated Node #3: [21, 77] from Operation: 42+35=77 Current State: 98:[21, 77], Operations: ['34-13=21', '42+35=77'] Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[13, 34, 42, 35], Operations: [] Exploring Operation: 35-34=1, Resulting Numbers: [13, 42, 1] Generated Node #0,0: 98:[13, 42, 1] Operation: 35-34=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[13, 42, 1], Operations: ['35-34=1'] Exploring Operation: 13+42=55, Resulting Numbers: [1, 55] Generated Node #0,0,0: 98:[1, 55] Operation: 13+42=55 Moving to Node #0,0,0 Current State: 98:[1, 55], Operations: ['35-34=1', '13+42=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,98 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
[ 15, 6, 12, 21 ]
34
[ "15+21=36", "12/6=2", "36-2=34" ]
Current State: 34:[15, 6, 12, 21], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [6, 12, 36] Generated Node #2: [6, 12, 36] from Operation: 15+21=36 Current State: 34:[6, 12, 36], Operations: ['15+21=36'] Exploring Operation: 12/6=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 12/6=2 Current State: 34:[36, 2], Operations: ['15+21=36', '12/6=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 6, 12, 21], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [15, 21, 2] Generated Node #0,0: 34:[15, 21, 2] Operation: 12/6=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[15, 21, 2], Operations: ['12/6=2'] Exploring Operation: 15+21=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 34:[2, 36] Operation: 15+21=36 Moving to Node #0,0,0 Current State: 34:[2, 36], Operations: ['12/6=2', '15+21=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[15, 6, 12, 21], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [15, 21, 2] Generated Node #0,0: 34:[15, 21, 2] Operation: 12/6=2 Moving to Node #0,0 Current State: 34:[15, 21, 2], Operations: ['12/6=2'] Exploring Operation: 15+21=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 34:[2, 36] Operation: 15+21=36 Moving to Node #0,0,0 Current State: 34:[2, 36], Operations: ['12/6=2', '15+21=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 37, 52, 14, 74 ]
40
[ "37*52=1924", "1924/74=26", "14+26=40" ]
Current State: 40:[37, 52, 14, 74], Operations: [] Exploring Operation: 37*52=1924, Resulting Numbers: [14, 74, 1924] Generated Node #2: [14, 74, 1924] from Operation: 37*52=1924 Current State: 40:[14, 74, 1924], Operations: ['37*52=1924'] Exploring Operation: 1924/74=26, Resulting Numbers: [14, 26] Generated Node #3: [14, 26] from Operation: 1924/74=26 Current State: 40:[14, 26], Operations: ['37*52=1924', '1924/74=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[37, 52, 14, 74], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [37, 14, 22] Generated Node #0,0: 40:[37, 14, 22] Operation: 74-52=22 Exploring Operation: 74/37=2, Resulting Numbers: [52, 14, 2] Generated Node #0,1: 40:[52, 14, 2] Operation: 74/37=2 Exploring Operation: 74-37=37, Resulting Numbers: [52, 14, 37] Generated Node #0,2: 40:[52, 14, 37] Operation: 74-37=37 Moving to Node #0,0 Current State: 40:[37, 14, 22], Operations: ['74-52=22'] Exploring Operation: 37-14=23, Resulting Numbers: [22, 23] Generated Node #0,0,0: 40:[22, 23] Operation: 37-14=23 Exploring Operation: 14+22=36, Resulting Numbers: [37, 36] Generated Node #0,0,1: 40:[37, 36] Operation: 14+22=36 Exploring Operation: 22-14=8, Resulting Numbers: [37, 8] Generated Node #0,0,2: 40:[37, 8] Operation: 22-14=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[37, 8], Operations: ['74-52=22', '22-14=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,40 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[22, 23], Operations: ['74-52=22', '37-14=23'] Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,40 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[37, 36], Operations: ['74-52=22', '14+22=36'] Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,40 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: 40:[52, 14, 2], Operations: ['74/37=2'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,1,0: 40:[52, 7] Operation: 14/2=7 Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 40:[2, 38] Operation: 52-14=38 Exploring Operation: 52/2=26, Resulting Numbers: [14, 26] Generated Node #0,1,2: 40:[14, 26] Operation: 52/2=26 Moving to Node #0,2 Current State: 40:[52, 14, 37], Operations: ['74-37=37'] Exploring Operation: 52-14=38, Resulting Numbers: [37, 38] Generated Node #0,2,0: 40:[37, 38] Operation: 52-14=38 Exploring Operation: 52-37=15, Resulting Numbers: [14, 15] Generated Node #0,2,1: 40:[14, 15] Operation: 52-37=15 Exploring Operation: 37-14=23, Resulting Numbers: [52, 23] Generated Node #0,2,2: 40:[52, 23] Operation: 37-14=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[37, 38], Operations: ['74-37=37', '52-14=38'] Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,40 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,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,1 Current State: 40:[14, 15], Operations: ['74-37=37', '52-37=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,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,2 Current State: 40:[52, 23], Operations: ['74-37=37', '37-14=23'] Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,40 unequal: No Solution Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,40 unequal: No Solution Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,40 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: 40:[2, 38], Operations: ['74/37=2', '52-14=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[37, 52, 14, 74], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [52, 14, 2] Generated Node #0,1: 40:[52, 14, 2] Operation: 74/37=2 Moving to Node #0,1 Current State: 40:[52, 14, 2], Operations: ['74/37=2'] Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 40:[2, 38] Operation: 52-14=38 Moving to Node #0,1,1 Current State: 40:[2, 38], Operations: ['74/37=2', '52-14=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 55, 56, 46, 55 ]
56
[ "55-55=0", "46*0=0", "56+0=56" ]
Current State: 56:[55, 56, 46, 55], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [56, 46, 0] Generated Node #2: [56, 46, 0] from Operation: 55-55=0 Current State: 56:[56, 46, 0], Operations: ['55-55=0'] Exploring Operation: 46*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 46*0=0 Current State: 56:[56, 0], Operations: ['55-55=0', '46*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 56, 46, 55], Operations: [] Exploring Operation: 56-55=1, Resulting Numbers: [46, 55, 1] Generated Node #0,0: 56:[46, 55, 1] Operation: 56-55=1 Exploring Operation: 55-46=9, Resulting Numbers: [56, 55, 9] Generated Node #0,1: 56:[56, 55, 9] Operation: 55-46=9 Exploring Operation: 56-46=10, Resulting Numbers: [55, 55, 10] Generated Node #0,2: 56:[55, 55, 10] Operation: 56-46=10 Exploring Operation: 55-46=9, Resulting Numbers: [55, 56, 9] Generated Node #0,3: 56:[55, 56, 9] Operation: 55-46=9 Exploring Operation: 55/55=1, Resulting Numbers: [56, 46, 1] Generated Node #0,4: 56:[56, 46, 1] Operation: 55/55=1 Moving to Node #0,1 Current State: 56:[56, 55, 9], Operations: ['55-46=9'] Exploring Operation: 56+9=65, Resulting Numbers: [55, 65] Generated Node #0,1,0: 56:[55, 65] Operation: 56+9=65 Exploring Operation: 55+9=64, Resulting Numbers: [56, 64] Generated Node #0,1,1: 56:[56, 64] Operation: 55+9=64 Exploring Operation: 56-9=47, Resulting Numbers: [55, 47] Generated Node #0,1,2: 56:[55, 47] Operation: 56-9=47 Exploring Operation: 56-55=1, Resulting Numbers: [9, 1] Generated Node #0,1,3: 56:[9, 1] Operation: 56-55=1 Exploring Operation: 55-9=46, Resulting Numbers: [56, 46] Generated Node #0,1,4: 56:[56, 46] Operation: 55-9=46 Moving to Node #0,3 Current State: 56:[55, 56, 9], Operations: ['55-46=9'] Exploring Operation: 56+9=65, Resulting Numbers: [55, 65] Generated Node #0,3,0: 56:[55, 65] Operation: 56+9=65 Exploring Operation: 56-55=1, Resulting Numbers: [9, 1] Generated Node #0,3,1: 56:[9, 1] Operation: 56-55=1 Exploring Operation: 55+9=64, Resulting Numbers: [56, 64] Generated Node #0,3,2: 56:[56, 64] Operation: 55+9=64 Exploring Operation: 55-9=46, Resulting Numbers: [56, 46] Generated Node #0,3,3: 56:[56, 46] Operation: 55-9=46 Exploring Operation: 56-9=47, Resulting Numbers: [55, 47] Generated Node #0,3,4: 56:[55, 47] Operation: 56-9=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[9, 1], Operations: ['55-46=9', '56-55=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[56, 64], Operations: ['55-46=9', '55+9=64'] Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,56 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[55, 65], Operations: ['55-46=9', '56+9=65'] Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,56 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[56, 46], Operations: ['55-46=9', '55-9=46'] Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,56 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,56 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[55, 47], Operations: ['55-46=9', '56-9=47'] Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,56 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,56 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,56 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: 56:[55, 55, 10], Operations: ['56-46=10'] Exploring Operation: 55+10=65, Resulting Numbers: [55, 65] Generated Node #0,2,0: 56:[55, 65] Operation: 55+10=65 Exploring Operation: 55-10=45, Resulting Numbers: [55, 45] Generated Node #0,2,1: 56:[55, 45] Operation: 55-10=45 Exploring Operation: 55+10=65, Resulting Numbers: [55, 65] Generated Node #0,2,2: 56:[55, 65] Operation: 55+10=65 Exploring Operation: 55-55=0, Resulting Numbers: [10, 0] Generated Node #0,2,3: 56:[10, 0] Operation: 55-55=0 Exploring Operation: 55/55=1, Resulting Numbers: [10, 1] Generated Node #0,2,4: 56:[10, 1] Operation: 55/55=1 Moving to Node #0,4 Current State: 56:[56, 46, 1], Operations: ['55/55=1'] Exploring Operation: 56/1=56, Resulting Numbers: [46, 56] Generated Node #0,4,0: 56:[46, 56] Operation: 56/1=56 Exploring Operation: 56-46=10, Resulting Numbers: [1, 10] Generated Node #0,4,1: 56:[1, 10] Operation: 56-46=10 Exploring Operation: 46*1=46, Resulting Numbers: [56, 46] Generated Node #0,4,2: 56:[56, 46] Operation: 46*1=46 Exploring Operation: 56*1=56, Resulting Numbers: [46, 56] Generated Node #0,4,3: 56:[46, 56] Operation: 56*1=56 Exploring Operation: 46+1=47, Resulting Numbers: [56, 47] Generated Node #0,4,4: 56:[56, 47] Operation: 46+1=47 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[1, 10], Operations: ['55/55=1', '56-46=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[56, 47], Operations: ['55/55=1', '46+1=47'] Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[46, 56], Operations: ['55/55=1', '56/1=56'] Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,56 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[56, 46], Operations: ['55/55=1', '46*1=46'] Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,56 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[46, 56], Operations: ['55/55=1', '56*1=56'] Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,56 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,56 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: 56:[46, 55, 1], Operations: ['56-55=1'] Exploring Operation: 46/1=46, Resulting Numbers: [55, 46] Generated Node #0,0,0: 56:[55, 46] Operation: 46/1=46 Exploring Operation: 46+1=47, Resulting Numbers: [55, 47] Generated Node #0,0,1: 56:[55, 47] Operation: 46+1=47 Exploring Operation: 55+1=56, Resulting Numbers: [46, 56] Generated Node #0,0,2: 56:[46, 56] Operation: 55+1=56 Exploring Operation: 55-46=9, Resulting Numbers: [1, 9] Generated Node #0,0,3: 56:[1, 9] Operation: 55-46=9 Exploring Operation: 46*1=46, Resulting Numbers: [55, 46] Generated Node #0,0,4: 56:[55, 46] Operation: 46*1=46 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[1, 9], Operations: ['56-55=1', '55-46=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[55, 47], Operations: ['56-55=1', '46+1=47'] Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,56 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,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:[46, 56], Operations: ['56-55=1', '55+1=56'] Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,56 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,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,0 Current State: 56:[55, 46], Operations: ['56-55=1', '46/1=46'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,56 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,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,4 Current State: 56:[55, 46], Operations: ['56-55=1', '46*1=46'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 56:[9, 1], Operations: ['55-46=9', '56-55=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[10, 1], Operations: ['56-46=10', '55/55=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[10, 0], Operations: ['56-46=10', '55-55=0'] Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[56, 64], Operations: ['55-46=9', '55+9=64'] Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,56 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[55, 65], Operations: ['55-46=9', '56+9=65'] Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[55, 65], Operations: ['56-46=10', '55+10=65'] Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,56 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[56, 46], Operations: ['55-46=9', '55-9=46'] Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,56 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[55, 47], Operations: ['55-46=9', '56-9=47'] Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,56 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,56 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[55, 65], Operations: ['56-46=10', '55+10=65'] Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,56 unequal: No Solution Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[55, 45], Operations: ['56-46=10', '55-10=45'] Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,56 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,56 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 27, 26, 37 ]
12
[ "2*26=52", "27+37=64", "64-52=12" ]
Current State: 12:[2, 27, 26, 37], Operations: [] Exploring Operation: 2*26=52, Resulting Numbers: [27, 37, 52] Generated Node #2: [27, 37, 52] from Operation: 2*26=52 Current State: 12:[27, 37, 52], Operations: ['2*26=52'] Exploring Operation: 27+37=64, Resulting Numbers: [52, 64] Generated Node #3: [52, 64] from Operation: 27+37=64 Current State: 12:[52, 64], Operations: ['2*26=52', '27+37=64'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[2, 27, 26, 37], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [2, 37, 1] Generated Node #0,0: 12:[2, 37, 1] Operation: 27-26=1 Exploring Operation: 27-2=25, Resulting Numbers: [26, 37, 25] Generated Node #0,1: 12:[26, 37, 25] Operation: 27-2=25 Exploring Operation: 37-27=10, Resulting Numbers: [2, 26, 10] Generated Node #0,2: 12:[2, 26, 10] Operation: 37-27=10 Exploring Operation: 26/2=13, Resulting Numbers: [27, 37, 13] Generated Node #0,3: 12:[27, 37, 13] Operation: 26/2=13 Exploring Operation: 37-26=11, Resulting Numbers: [2, 27, 11] Generated Node #0,4: 12:[2, 27, 11] Operation: 37-26=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[2, 26, 10], Operations: ['37-27=10'] Exploring Operation: 26-2=24, Resulting Numbers: [10, 24] Generated Node #0,2,0: 12:[10, 24] Operation: 26-2=24 Exploring Operation: 2+10=12, Resulting Numbers: [26, 12] Generated Node #0,2,1: 12:[26, 12] Operation: 2+10=12 Exploring Operation: 26/2=13, Resulting Numbers: [10, 13] Generated Node #0,2,2: 12:[10, 13] Operation: 26/2=13 Exploring Operation: 10/2=5, Resulting Numbers: [26, 5] Generated Node #0,2,3: 12:[26, 5] Operation: 10/2=5 Exploring Operation: 26-10=16, Resulting Numbers: [2, 16] Generated Node #0,2,4: 12:[2, 16] Operation: 26-10=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[10, 13], Operations: ['37-27=10', '26/2=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[2, 16], Operations: ['37-27=10', '26-10=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[10, 24], Operations: ['37-27=10', '26-2=24'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[26, 12], Operations: ['37-27=10', '2+10=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,12 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[26, 5], Operations: ['37-27=10', '10/2=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[2, 27, 11], Operations: ['37-26=11'] Exploring Operation: 2+11=13, Resulting Numbers: [27, 13] Generated Node #0,4,0: 12:[27, 13] Operation: 2+11=13 Exploring Operation: 11-2=9, Resulting Numbers: [27, 9] Generated Node #0,4,1: 12:[27, 9] Operation: 11-2=9 Exploring Operation: 27-2=25, Resulting Numbers: [11, 25] Generated Node #0,4,2: 12:[11, 25] Operation: 27-2=25 Exploring Operation: 2+27=29, Resulting Numbers: [11, 29] Generated Node #0,4,3: 12:[11, 29] Operation: 2+27=29 Exploring Operation: 27-11=16, Resulting Numbers: [2, 16] Generated Node #0,4,4: 12:[2, 16] Operation: 27-11=16 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 12:[2, 16], Operations: ['37-26=11', '27-11=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 12:[11, 25], Operations: ['37-26=11', '27-2=25'] Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,12 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 12:[27, 13], Operations: ['37-26=11', '2+11=13'] Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,12 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 12:[27, 9], Operations: ['37-26=11', '11-2=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,12 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 12:[11, 29], Operations: ['37-26=11', '2+27=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[2, 37, 1], Operations: ['27-26=1'] Exploring Operation: 37-2=35, Resulting Numbers: [1, 35] Generated Node #0,0,0: 12:[1, 35] Operation: 37-2=35 Exploring Operation: 2+1=3, Resulting Numbers: [37, 3] Generated Node #0,0,1: 12:[37, 3] Operation: 2+1=3 Exploring Operation: 37-1=36, Resulting Numbers: [2, 36] Generated Node #0,0,2: 12:[2, 36] Operation: 37-1=36 Exploring Operation: 2/1=2, Resulting Numbers: [37, 2] Generated Node #0,0,3: 12:[37, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [37, 2] Generated Node #0,0,4: 12:[37, 2] Operation: 2*1=2 Moving to Node #0,0,0 Current State: 12:[1, 35], Operations: ['27-26=1', '37-2=35'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[2, 36], Operations: ['27-26=1', '37-1=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[37, 3], Operations: ['27-26=1', '2+1=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[37, 2], Operations: ['27-26=1', '2/1=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[37, 2], Operations: ['27-26=1', '2*1=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[27, 37, 13], Operations: ['26/2=13'] Exploring Operation: 27+37=64, Resulting Numbers: [13, 64] Generated Node #0,3,0: 12:[13, 64] Operation: 27+37=64 Exploring Operation: 27-13=14, Resulting Numbers: [37, 14] Generated Node #0,3,1: 12:[37, 14] Operation: 27-13=14 Exploring Operation: 37-13=24, Resulting Numbers: [27, 24] Generated Node #0,3,2: 12:[27, 24] Operation: 37-13=24 Exploring Operation: 27+13=40, Resulting Numbers: [37, 40] Generated Node #0,3,3: 12:[37, 40] Operation: 27+13=40 Exploring Operation: 37-27=10, Resulting Numbers: [13, 10] Generated Node #0,3,4: 12:[13, 10] Operation: 37-27=10 Moving to Node #0,3,4 Current State: 12:[13, 10], Operations: ['26/2=13', '37-27=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[27, 24], Operations: ['26/2=13', '37-13=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[37, 14], Operations: ['26/2=13', '27-13=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,12 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[13, 64], Operations: ['26/2=13', '27+37=64'] Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,12 unequal: No Solution Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[37, 40], Operations: ['26/2=13', '27+13=40'] Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,12 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[26, 37, 25], Operations: ['27-2=25'] Exploring Operation: 26+37=63, Resulting Numbers: [25, 63] Generated Node #0,1,0: 12:[25, 63] Operation: 26+37=63 Exploring Operation: 26-25=1, Resulting Numbers: [37, 1] Generated Node #0,1,1: 12:[37, 1] Operation: 26-25=1 Exploring Operation: 37-26=11, Resulting Numbers: [25, 11] Generated Node #0,1,2: 12:[25, 11] Operation: 37-26=11 Exploring Operation: 26+25=51, Resulting Numbers: [37, 51] Generated Node #0,1,3: 12:[37, 51] Operation: 26+25=51 Exploring Operation: 37-25=12, Resulting Numbers: [26, 12] Generated Node #0,1,4: 12:[26, 12] Operation: 37-25=12 Moving to Node #0,1,2 Current State: 12:[25, 11], Operations: ['27-2=25', '37-26=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,12 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[26, 12], Operations: ['27-2=25', '37-25=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,12 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[37, 1], Operations: ['27-2=25', '26-25=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[25, 63], Operations: ['27-2=25', '26+37=63'] Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[37, 51], Operations: ['27-2=25', '26+25=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 67, 8, 74, 75 ]
19
[ "74-67=7", "8*7=56", "75-56=19" ]
Current State: 19:[67, 8, 74, 75], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [8, 75, 7] Generated Node #2: [8, 75, 7] from Operation: 74-67=7 Current State: 19:[8, 75, 7], Operations: ['74-67=7'] Exploring Operation: 8*7=56, Resulting Numbers: [75, 56] Generated Node #3: [75, 56] from Operation: 8*7=56 Current State: 19:[75, 56], Operations: ['74-67=7', '8*7=56'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[67, 8, 74, 75], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [8, 75, 7] Generated Node #0,0: 19:[8, 75, 7] Operation: 74-67=7 Exploring Operation: 75-74=1, Resulting Numbers: [67, 8, 1] Generated Node #0,1: 19:[67, 8, 1] Operation: 75-74=1 Exploring Operation: 75-67=8, Resulting Numbers: [8, 74, 8] Generated Node #0,2: 19:[8, 74, 8] Operation: 75-67=8 Exploring Operation: 67-8=59, Resulting Numbers: [74, 75, 59] Generated Node #0,3: 19:[74, 75, 59] Operation: 67-8=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[67, 8, 1], Operations: ['75-74=1'] Exploring Operation: 67-8=59, Resulting Numbers: [1, 59] Generated Node #0,1,0: 19:[1, 59] Operation: 67-8=59 Exploring Operation: 67-1=66, Resulting Numbers: [8, 66] Generated Node #0,1,1: 19:[8, 66] Operation: 67-1=66 Exploring Operation: 67*1=67, Resulting Numbers: [8, 67] Generated Node #0,1,2: 19:[8, 67] Operation: 67*1=67 Exploring Operation: 8+1=9, Resulting Numbers: [67, 9] Generated Node #0,1,3: 19:[67, 9] Operation: 8+1=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[1, 59], Operations: ['75-74=1', '67-8=59'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 1+59=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[8, 66], Operations: ['75-74=1', '67-1=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[67, 9], Operations: ['75-74=1', '8+1=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,19 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[8, 67], Operations: ['75-74=1', '67*1=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,19 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: 19:[8, 74, 8], Operations: ['75-67=8'] Exploring Operation: 74-8=66, Resulting Numbers: [8, 66] Generated Node #0,2,0: 19:[8, 66] Operation: 74-8=66 Exploring Operation: 8/8=1, Resulting Numbers: [74, 1] Generated Node #0,2,1: 19:[74, 1] Operation: 8/8=1 Exploring Operation: 74-8=66, Resulting Numbers: [8, 66] Generated Node #0,2,2: 19:[8, 66] Operation: 74-8=66 Exploring Operation: 8+8=16, Resulting Numbers: [74, 16] Generated Node #0,2,3: 19:[74, 16] Operation: 8+8=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[8, 66], Operations: ['75-67=8', '74-8=66'] Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[8, 66], Operations: ['75-67=8', '74-8=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[74, 16], Operations: ['75-67=8', '8+8=16'] Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,19 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[74, 1], Operations: ['75-67=8', '8/8=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,19 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: 19:[8, 75, 7], Operations: ['74-67=7'] Exploring Operation: 8-7=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 19:[75, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [75, 15] Generated Node #0,0,1: 19:[75, 15] Operation: 8+7=15 Exploring Operation: 75-7=68, Resulting Numbers: [8, 68] Generated Node #0,0,2: 19:[8, 68] Operation: 75-7=68 Exploring Operation: 75-8=67, Resulting Numbers: [7, 67] Generated Node #0,0,3: 19:[7, 67] Operation: 75-8=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[75, 15], Operations: ['74-67=7', '8+7=15'] Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,19 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[8, 68], Operations: ['74-67=7', '75-7=68'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 8*68=544, Resulting Numbers: [544] 544,19 unequal: No Solution Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[7, 67], Operations: ['74-67=7', '75-8=67'] Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[75, 1], Operations: ['74-67=7', '8-7=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,19 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: 19:[74, 75, 59], Operations: ['67-8=59'] Exploring Operation: 75-59=16, Resulting Numbers: [74, 16] Generated Node #0,3,0: 19:[74, 16] Operation: 75-59=16 Exploring Operation: 74+75=149, Resulting Numbers: [59, 149] Generated Node #0,3,1: 19:[59, 149] Operation: 74+75=149 Exploring Operation: 75-74=1, Resulting Numbers: [59, 1] Generated Node #0,3,2: 19:[59, 1] Operation: 75-74=1 Exploring Operation: 74-59=15, Resulting Numbers: [75, 15] Generated Node #0,3,3: 19:[75, 15] Operation: 74-59=15 Moving to Node #0,3,0 Current State: 19:[74, 16], Operations: ['67-8=59', '75-59=16'] Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[59, 1], Operations: ['67-8=59', '75-74=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[75, 15], Operations: ['67-8=59', '74-59=15'] Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,19 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[59, 149], Operations: ['67-8=59', '74+75=149'] Exploring Operation: 59+149=208, Resulting Numbers: [208] 208,19 unequal: No Solution Exploring Operation: 59*149=8791, Resulting Numbers: [8791] 8791,19 unequal: No Solution Exploring Operation: 149-59=90, Resulting Numbers: [90] 90,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 38, 17, 22, 13 ]
15
[ "38+22=60", "17-13=4", "60/4=15" ]
Current State: 15:[38, 17, 22, 13], Operations: [] Exploring Operation: 38+22=60, Resulting Numbers: [17, 13, 60] Generated Node #2: [17, 13, 60] from Operation: 38+22=60 Current State: 15:[17, 13, 60], Operations: ['38+22=60'] Exploring Operation: 17-13=4, Resulting Numbers: [60, 4] Generated Node #3: [60, 4] from Operation: 17-13=4 Current State: 15:[60, 4], Operations: ['38+22=60', '17-13=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[38, 17, 22, 13], Operations: [] Exploring Operation: 38-22=16, Resulting Numbers: [17, 13, 16] Generated Node #0,0: 15:[17, 13, 16] Operation: 38-22=16 Moving to Node #0,0 Current State: 15:[17, 13, 16], Operations: ['38-22=16'] Exploring Operation: 17-13=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 15:[16, 4] Operation: 17-13=4 Moving to Node #0,0,0 Current State: 15:[16, 4], Operations: ['38-22=16', '17-13=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 4, 58, 31, 70 ]
29
[ "4+31=35", "58*35=2030", "2030/70=29" ]
Current State: 29:[4, 58, 31, 70], Operations: [] Exploring Operation: 4+31=35, Resulting Numbers: [58, 70, 35] Generated Node #2: [58, 70, 35] from Operation: 4+31=35 Current State: 29:[58, 70, 35], Operations: ['4+31=35'] Exploring Operation: 58*35=2030, Resulting Numbers: [70, 2030] Generated Node #3: [70, 2030] from Operation: 58*35=2030 Current State: 29:[70, 2030], Operations: ['4+31=35', '58*35=2030'] Exploring Operation: 2030/70=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[4, 58, 31, 70], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [4, 31, 12] Generated Node #0,0: 29:[4, 31, 12] Operation: 70-58=12 Exploring Operation: 70-31=39, Resulting Numbers: [4, 58, 39] Generated Node #0,1: 29:[4, 58, 39] Operation: 70-31=39 Moving to Node #0,0 Current State: 29:[4, 31, 12], Operations: ['70-58=12'] Exploring Operation: 31-4=27, Resulting Numbers: [12, 27] Generated Node #0,0,0: 29:[12, 27] Operation: 31-4=27 Exploring Operation: 4+12=16, Resulting Numbers: [31, 16] Generated Node #0,0,1: 29:[31, 16] Operation: 4+12=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[31, 16], Operations: ['70-58=12', '4+12=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[12, 27], Operations: ['70-58=12', '31-4=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,29 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: 29:[4, 58, 39], Operations: ['70-31=39'] Exploring Operation: 39-4=35, Resulting Numbers: [58, 35] Generated Node #0,1,0: 29:[58, 35] Operation: 39-4=35 Exploring Operation: 58-4=54, Resulting Numbers: [39, 54] Generated Node #0,1,1: 29:[39, 54] Operation: 58-4=54 Moving to Node #0,1,0 Current State: 29:[58, 35], Operations: ['70-31=39', '39-4=35'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[39, 54], Operations: ['70-31=39', '58-4=54'] Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 49, 60, 67, 65 ]
23
[ "49+60=109", "67+65=132", "132-109=23" ]
Current State: 23:[49, 60, 67, 65], Operations: [] Exploring Operation: 49+60=109, Resulting Numbers: [67, 65, 109] Generated Node #2: [67, 65, 109] from Operation: 49+60=109 Current State: 23:[67, 65, 109], Operations: ['49+60=109'] Exploring Operation: 67+65=132, Resulting Numbers: [109, 132] Generated Node #3: [109, 132] from Operation: 67+65=132 Current State: 23:[109, 132], Operations: ['49+60=109', '67+65=132'] Exploring Operation: 132-109=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[49, 60, 67, 65], Operations: [] Exploring Operation: 67-60=7, Resulting Numbers: [49, 65, 7] Generated Node #0,0: 23:[49, 65, 7] Operation: 67-60=7 Exploring Operation: 67-49=18, Resulting Numbers: [60, 65, 18] Generated Node #0,1: 23:[60, 65, 18] Operation: 67-49=18 Moving to Node #0,0 Current State: 23:[49, 65, 7], Operations: ['67-60=7'] Exploring Operation: 49/7=7, Resulting Numbers: [65, 7] Generated Node #0,0,0: 23:[65, 7] Operation: 49/7=7 Exploring Operation: 65-49=16, Resulting Numbers: [7, 16] Generated Node #0,0,1: 23:[7, 16] Operation: 65-49=16 Moving to Node #0,1 Current State: 23:[60, 65, 18], Operations: ['67-49=18'] Exploring Operation: 65-60=5, Resulting Numbers: [18, 5] Generated Node #0,1,0: 23:[18, 5] Operation: 65-60=5 Exploring Operation: 60-18=42, Resulting Numbers: [65, 42] Generated Node #0,1,1: 23:[65, 42] Operation: 60-18=42 Moving to Node #0,0,1 Current State: 23:[7, 16], Operations: ['67-60=7', '65-49=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[49, 60, 67, 65], Operations: [] Exploring Operation: 67-60=7, Resulting Numbers: [49, 65, 7] Generated Node #0,0: 23:[49, 65, 7] Operation: 67-60=7 Moving to Node #0,0 Current State: 23:[49, 65, 7], Operations: ['67-60=7'] Exploring Operation: 65-49=16, Resulting Numbers: [7, 16] Generated Node #0,0,1: 23:[7, 16] Operation: 65-49=16 Moving to Node #0,0,1 Current State: 23:[7, 16], Operations: ['67-60=7', '65-49=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 81, 43, 12, 96 ]
70
[ "81-43=38", "12+96=108", "108-38=70" ]
Current State: 70:[81, 43, 12, 96], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [12, 96, 38] Generated Node #2: [12, 96, 38] from Operation: 81-43=38 Current State: 70:[12, 96, 38], Operations: ['81-43=38'] Exploring Operation: 12+96=108, Resulting Numbers: [38, 108] Generated Node #3: [38, 108] from Operation: 12+96=108 Current State: 70:[38, 108], Operations: ['81-43=38', '12+96=108'] Exploring Operation: 108-38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[81, 43, 12, 96], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [43, 12, 15] Generated Node #0,0: 70:[43, 12, 15] Operation: 96-81=15 Moving to Node #0,0 Current State: 70:[43, 12, 15], Operations: ['96-81=15'] Exploring Operation: 43-12=31, Resulting Numbers: [15, 31] Generated Node #0,0,0: 70:[15, 31] Operation: 43-12=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[15, 31], Operations: ['96-81=15', '43-12=31'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 38, 20, 34 ]
56
[ "38-34=4", "9*4=36", "20+36=56" ]
Current State: 56:[9, 38, 20, 34], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [9, 20, 4] Generated Node #2: [9, 20, 4] from Operation: 38-34=4 Current State: 56:[9, 20, 4], Operations: ['38-34=4'] Exploring Operation: 9*4=36, Resulting Numbers: [20, 36] Generated Node #3: [20, 36] from Operation: 9*4=36 Current State: 56:[20, 36], Operations: ['38-34=4', '9*4=36'] Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[9, 38, 20, 34], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [9, 20, 4] Generated Node #0,0: 56:[9, 20, 4] Operation: 38-34=4 Moving to Node #0,0 Current State: 56:[9, 20, 4], Operations: ['38-34=4'] Exploring Operation: 9+20=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 56:[4, 29] Operation: 9+20=29 Moving to Node #0,0,0 Current State: 56:[4, 29], Operations: ['38-34=4', '9+20=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 95, 67, 23, 9 ]
41
[ "95+67=162", "162/9=18", "23+18=41" ]
Current State: 41:[95, 67, 23, 9], Operations: [] Exploring Operation: 95+67=162, Resulting Numbers: [23, 9, 162] Generated Node #2: [23, 9, 162] from Operation: 95+67=162 Current State: 41:[23, 9, 162], Operations: ['95+67=162'] Exploring Operation: 162/9=18, Resulting Numbers: [23, 18] Generated Node #3: [23, 18] from Operation: 162/9=18 Current State: 41:[23, 18], Operations: ['95+67=162', '162/9=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[95, 67, 23, 9], Operations: [] Exploring Operation: 67-23=44, Resulting Numbers: [95, 9, 44] Generated Node #0,0: 41:[95, 9, 44] Operation: 67-23=44 Exploring Operation: 67-9=58, Resulting Numbers: [95, 23, 58] Generated Node #0,1: 41:[95, 23, 58] Operation: 67-9=58 Exploring Operation: 95-67=28, Resulting Numbers: [23, 9, 28] Generated Node #0,2: 41:[23, 9, 28] Operation: 95-67=28 Exploring Operation: 95-9=86, Resulting Numbers: [67, 23, 86] Generated Node #0,3: 41:[67, 23, 86] Operation: 95-9=86 Exploring Operation: 95-23=72, Resulting Numbers: [67, 9, 72] Generated Node #0,4: 41:[67, 9, 72] Operation: 95-23=72 Moving to Node #0,2 Current State: 41:[23, 9, 28], Operations: ['95-67=28'] Exploring Operation: 23+28=51, Resulting Numbers: [9, 51] Generated Node #0,2,0: 41:[9, 51] Operation: 23+28=51 Exploring Operation: 28-9=19, Resulting Numbers: [23, 19] Generated Node #0,2,1: 41:[23, 19] Operation: 28-9=19 Exploring Operation: 9+28=37, Resulting Numbers: [23, 37] Generated Node #0,2,2: 41:[23, 37] Operation: 9+28=37 Exploring Operation: 23+9=32, Resulting Numbers: [28, 32] Generated Node #0,2,3: 41:[28, 32] Operation: 23+9=32 Exploring Operation: 23-9=14, Resulting Numbers: [28, 14] Generated Node #0,2,4: 41:[28, 14] Operation: 23-9=14 Moving to Node #0,1 Current State: 41:[95, 23, 58], Operations: ['67-9=58'] Exploring Operation: 95+23=118, Resulting Numbers: [58, 118] Generated Node #0,1,0: 41:[58, 118] Operation: 95+23=118 Exploring Operation: 95-58=37, Resulting Numbers: [23, 37] Generated Node #0,1,1: 41:[23, 37] Operation: 95-58=37 Exploring Operation: 58-23=35, Resulting Numbers: [95, 35] Generated Node #0,1,2: 41:[95, 35] Operation: 58-23=35 Exploring Operation: 95-23=72, Resulting Numbers: [58, 72] Generated Node #0,1,3: 41:[58, 72] Operation: 95-23=72 Exploring Operation: 23+58=81, Resulting Numbers: [95, 81] Generated Node #0,1,4: 41:[95, 81] Operation: 23+58=81 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[23, 37], Operations: ['67-9=58', '95-58=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[58, 72], Operations: ['67-9=58', '95-23=72'] Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 58*72=4176, Resulting Numbers: [4176] 4176,41 unequal: No Solution Exploring Operation: 58+72=130, Resulting Numbers: [130] 130,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[95, 35], Operations: ['67-9=58', '58-23=35'] Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,41 unequal: No Solution Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[58, 118], Operations: ['67-9=58', '95+23=118'] Exploring Operation: 58+118=176, Resulting Numbers: [176] 176,41 unequal: No Solution Exploring Operation: 118-58=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 58*118=6844, Resulting Numbers: [6844] 6844,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 41:[95, 81], Operations: ['67-9=58', '23+58=81'] Exploring Operation: 95*81=7695, Resulting Numbers: [7695] 7695,41 unequal: No Solution Exploring Operation: 95+81=176, Resulting Numbers: [176] 176,41 unequal: No Solution Exploring Operation: 95-81=14, Resulting Numbers: [14] 14,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 41:[67, 9, 72], Operations: ['95-23=72'] Exploring Operation: 72-9=63, Resulting Numbers: [67, 63] Generated Node #0,4,0: 41:[67, 63] Operation: 72-9=63 Exploring Operation: 9+72=81, Resulting Numbers: [67, 81] Generated Node #0,4,1: 41:[67, 81] Operation: 9+72=81 Exploring Operation: 67+9=76, Resulting Numbers: [72, 76] Generated Node #0,4,2: 41:[72, 76] Operation: 67+9=76 Exploring Operation: 67-9=58, Resulting Numbers: [72, 58] Generated Node #0,4,3: 41:[72, 58] Operation: 67-9=58 Exploring Operation: 72/9=8, Resulting Numbers: [67, 8] Generated Node #0,4,4: 41:[67, 8] Operation: 72/9=8 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 41:[67, 63], Operations: ['95-23=72', '72-9=63'] Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 41:[72, 58], Operations: ['95-23=72', '67-9=58'] Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,41 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 41:[67, 8], Operations: ['95-23=72', '72/9=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 41:[67, 81], Operations: ['95-23=72', '9+72=81'] Exploring Operation: 67+81=148, Resulting Numbers: [148] 148,41 unequal: No Solution Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 67*81=5427, Resulting Numbers: [5427] 5427,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 41:[72, 76], Operations: ['95-23=72', '67+9=76'] Exploring Operation: 72+76=148, Resulting Numbers: [148] 148,41 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 72*76=5472, Resulting Numbers: [5472] 5472,41 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: 41:[95, 9, 44], Operations: ['67-23=44'] Exploring Operation: 95+9=104, Resulting Numbers: [44, 104] Generated Node #0,0,0: 41:[44, 104] Operation: 95+9=104 Exploring Operation: 95-9=86, Resulting Numbers: [44, 86] Generated Node #0,0,1: 41:[44, 86] Operation: 95-9=86 Exploring Operation: 95-44=51, Resulting Numbers: [9, 51] Generated Node #0,0,2: 41:[9, 51] Operation: 95-44=51 Exploring Operation: 44-9=35, Resulting Numbers: [95, 35] Generated Node #0,0,3: 41:[95, 35] Operation: 44-9=35 Exploring Operation: 9+44=53, Resulting Numbers: [95, 53] Generated Node #0,0,4: 41:[95, 53] Operation: 9+44=53 Moving to Node #0,3 Current State: 41:[67, 23, 86], Operations: ['95-9=86'] Exploring Operation: 67+23=90, Resulting Numbers: [86, 90] Generated Node #0,3,0: 41:[86, 90] Operation: 67+23=90 Exploring Operation: 86-23=63, Resulting Numbers: [67, 63] Generated Node #0,3,1: 41:[67, 63] Operation: 86-23=63 Exploring Operation: 86-67=19, Resulting Numbers: [23, 19] Generated Node #0,3,2: 41:[23, 19] Operation: 86-67=19 Exploring Operation: 23+86=109, Resulting Numbers: [67, 109] Generated Node #0,3,3: 41:[67, 109] Operation: 23+86=109 Exploring Operation: 67-23=44, Resulting Numbers: [86, 44] Generated Node #0,3,4: 41:[86, 44] Operation: 67-23=44 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[23, 19], Operations: ['95-9=86', '86-67=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,41 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[67, 63], Operations: ['95-9=86', '86-23=63'] Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 41:[86, 44], Operations: ['95-9=86', '67-23=44'] Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 86*44=3784, Resulting Numbers: [3784] 3784,41 unequal: No Solution Exploring Operation: 86+44=130, Resulting Numbers: [130] 130,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[86, 90], Operations: ['95-9=86', '67+23=90'] Exploring Operation: 86+90=176, Resulting Numbers: [176] 176,41 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 86*90=7740, Resulting Numbers: [7740] 7740,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[67, 109], Operations: ['95-9=86', '23+86=109'] Exploring Operation: 67+109=176, Resulting Numbers: [176] 176,41 unequal: No Solution Exploring Operation: 109-67=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 67*109=7303, Resulting Numbers: [7303] 7303,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 41:[23, 37], Operations: ['95-67=28', '9+28=37'] Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,41 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[28, 32], Operations: ['95-67=28', '23+9=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,41 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[23, 19], Operations: ['95-67=28', '28-9=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,41 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[28, 14], Operations: ['95-67=28', '23-9=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,41 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[9, 51], Operations: ['67-23=44', '95-44=51'] Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,41 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[9, 51], Operations: ['95-67=28', '23+28=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,41 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[44, 86], Operations: ['67-23=44', '95-9=86'] Exploring Operation: 44+86=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 44*86=3784, Resulting Numbers: [3784] 3784,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[95, 35], Operations: ['67-23=44', '44-9=35'] Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,41 unequal: No Solution Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[44, 104], Operations: ['67-23=44', '95+9=104'] Exploring Operation: 44+104=148, Resulting Numbers: [148] 148,41 unequal: No Solution Exploring Operation: 104-44=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 44*104=4576, Resulting Numbers: [4576] 4576,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[95, 53], Operations: ['67-23=44', '9+44=53'] Exploring Operation: 95*53=5035, Resulting Numbers: [5035] 5035,41 unequal: No Solution Exploring Operation: 95+53=148, Resulting Numbers: [148] 148,41 unequal: No Solution Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,41 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 77, 75, 4, 92 ]
94
[ "77-75=2", "4+92=96", "96-2=94" ]
Current State: 94:[77, 75, 4, 92], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [4, 92, 2] Generated Node #2: [4, 92, 2] from Operation: 77-75=2 Current State: 94:[4, 92, 2], Operations: ['77-75=2'] Exploring Operation: 4+92=96, Resulting Numbers: [2, 96] Generated Node #3: [2, 96] from Operation: 4+92=96 Current State: 94:[2, 96], Operations: ['77-75=2', '4+92=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[77, 75, 4, 92], Operations: [] Exploring Operation: 75+4=79, Resulting Numbers: [77, 92, 79] Generated Node #0,0: 94:[77, 92, 79] Operation: 75+4=79 Exploring Operation: 77+4=81, Resulting Numbers: [75, 92, 81] Generated Node #0,1: 94:[75, 92, 81] Operation: 77+4=81 Exploring Operation: 92-77=15, Resulting Numbers: [75, 4, 15] Generated Node #0,2: 94:[75, 4, 15] Operation: 92-77=15 Exploring Operation: 77-75=2, Resulting Numbers: [4, 92, 2] Generated Node #0,3: 94:[4, 92, 2] Operation: 77-75=2 Exploring Operation: 92-75=17, Resulting Numbers: [77, 4, 17] Generated Node #0,4: 94:[77, 4, 17] Operation: 92-75=17 Moving to Node #0,3 Current State: 94:[4, 92, 2], Operations: ['77-75=2'] Exploring Operation: 4/2=2, Resulting Numbers: [92, 2] Generated Node #0,3,0: 94:[92, 2] Operation: 4/2=2 Exploring Operation: 4+92=96, Resulting Numbers: [2, 96] Generated Node #0,3,1: 94:[2, 96] Operation: 4+92=96 Exploring Operation: 4-2=2, Resulting Numbers: [92, 2] Generated Node #0,3,2: 94:[92, 2] Operation: 4-2=2 Exploring Operation: 92/2=46, Resulting Numbers: [4, 46] Generated Node #0,3,3: 94:[4, 46] Operation: 92/2=46 Exploring Operation: 92+2=94, Resulting Numbers: [4, 94] Generated Node #0,3,4: 94:[4, 94] Operation: 92+2=94 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[92, 2], Operations: ['77-75=2', '4/2=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[77, 75, 4, 92], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [4, 92, 2] Generated Node #0,3: 94:[4, 92, 2] Operation: 77-75=2 Moving to Node #0,3 Current State: 94:[4, 92, 2], Operations: ['77-75=2'] Exploring Operation: 4/2=2, Resulting Numbers: [92, 2] Generated Node #0,3,0: 94:[92, 2] Operation: 4/2=2 Moving to Node #0,3,0 Current State: 94:[92, 2], Operations: ['77-75=2', '4/2=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 25, 48, 91, 47 ]
65
[ "25+48=73", "91+47=138", "138-73=65" ]
Current State: 65:[25, 48, 91, 47], Operations: [] Exploring Operation: 25+48=73, Resulting Numbers: [91, 47, 73] Generated Node #2: [91, 47, 73] from Operation: 25+48=73 Current State: 65:[91, 47, 73], Operations: ['25+48=73'] Exploring Operation: 91+47=138, Resulting Numbers: [73, 138] Generated Node #3: [73, 138] from Operation: 91+47=138 Current State: 65:[73, 138], Operations: ['25+48=73', '91+47=138'] Exploring Operation: 138-73=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[25, 48, 91, 47], Operations: [] Exploring Operation: 48-47=1, Resulting Numbers: [25, 91, 1] Generated Node #0,0: 65:[25, 91, 1] Operation: 48-47=1 Exploring Operation: 91-25=66, Resulting Numbers: [48, 47, 66] Generated Node #0,1: 65:[48, 47, 66] Operation: 91-25=66 Exploring Operation: 25+47=72, Resulting Numbers: [48, 91, 72] Generated Node #0,2: 65:[48, 91, 72] Operation: 25+47=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[48, 47, 66], Operations: ['91-25=66'] Exploring Operation: 48-47=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 65:[66, 1] Operation: 48-47=1 Exploring Operation: 66-48=18, Resulting Numbers: [47, 18] Generated Node #0,1,1: 65:[47, 18] Operation: 66-48=18 Exploring Operation: 66-47=19, Resulting Numbers: [48, 19] Generated Node #0,1,2: 65:[48, 19] Operation: 66-47=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[66, 1], Operations: ['91-25=66', '48-47=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[25, 48, 91, 47], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [48, 47, 66] Generated Node #0,1: 65:[48, 47, 66] Operation: 91-25=66 Moving to Node #0,1 Current State: 65:[48, 47, 66], Operations: ['91-25=66'] Exploring Operation: 48-47=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 65:[66, 1] Operation: 48-47=1 Moving to Node #0,1,0 Current State: 65:[66, 1], Operations: ['91-25=66', '48-47=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 10, 29, 8, 44 ]
70
[ "29+8=37", "44-37=7", "10*7=70" ]
Current State: 70:[10, 29, 8, 44], Operations: [] Exploring Operation: 29+8=37, Resulting Numbers: [10, 44, 37] Generated Node #2: [10, 44, 37] from Operation: 29+8=37 Current State: 70:[10, 44, 37], Operations: ['29+8=37'] Exploring Operation: 44-37=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 44-37=7 Current State: 70:[10, 7], Operations: ['29+8=37', '44-37=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 29, 8, 44], Operations: [] Exploring Operation: 44-10=34, Resulting Numbers: [29, 8, 34] Generated Node #0,0: 70:[29, 8, 34] Operation: 44-10=34 Exploring Operation: 44-8=36, Resulting Numbers: [10, 29, 36] Generated Node #0,1: 70:[10, 29, 36] Operation: 44-8=36 Exploring Operation: 44-29=15, Resulting Numbers: [10, 8, 15] Generated Node #0,2: 70:[10, 8, 15] Operation: 44-29=15 Exploring Operation: 29+44=73, Resulting Numbers: [10, 8, 73] Generated Node #0,3: 70:[10, 8, 73] Operation: 29+44=73 Moving to Node #0,2 Current State: 70:[10, 8, 15], Operations: ['44-29=15'] Exploring Operation: 15-8=7, Resulting Numbers: [10, 7] Generated Node #0,2,0: 70:[10, 7] Operation: 15-8=7 Exploring Operation: 15-10=5, Resulting Numbers: [8, 5] Generated Node #0,2,1: 70:[8, 5] Operation: 15-10=5 Exploring Operation: 10+8=18, Resulting Numbers: [15, 18] Generated Node #0,2,2: 70:[15, 18] Operation: 10+8=18 Exploring Operation: 10-8=2, Resulting Numbers: [15, 2] Generated Node #0,2,3: 70:[15, 2] Operation: 10-8=2 Moving to Node #0,3 Current State: 70:[10, 8, 73], Operations: ['29+44=73'] Exploring Operation: 73-8=65, Resulting Numbers: [10, 65] Generated Node #0,3,0: 70:[10, 65] Operation: 73-8=65 Exploring Operation: 73-10=63, Resulting Numbers: [8, 63] Generated Node #0,3,1: 70:[8, 63] Operation: 73-10=63 Exploring Operation: 10-8=2, Resulting Numbers: [73, 2] Generated Node #0,3,2: 70:[73, 2] Operation: 10-8=2 Exploring Operation: 10+8=18, Resulting Numbers: [73, 18] Generated Node #0,3,3: 70:[73, 18] Operation: 10+8=18 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[73, 2], Operations: ['29+44=73', '10-8=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[10, 65], Operations: ['29+44=73', '73-8=65'] Exploring Operation: 10+65=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 10*65=650, Resulting Numbers: [650] 650,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[73, 18], Operations: ['29+44=73', '10+8=18'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 73*18=1314, Resulting Numbers: [1314] 1314,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[8, 63], Operations: ['29+44=73', '73-10=63'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,70 unequal: No Solution Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,70 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: 70:[10, 29, 36], Operations: ['44-8=36'] Exploring Operation: 29+36=65, Resulting Numbers: [10, 65] Generated Node #0,1,0: 70:[10, 65] Operation: 29+36=65 Exploring Operation: 10+29=39, Resulting Numbers: [36, 39] Generated Node #0,1,1: 70:[36, 39] Operation: 10+29=39 Exploring Operation: 36-29=7, Resulting Numbers: [10, 7] Generated Node #0,1,2: 70:[10, 7] Operation: 36-29=7 Exploring Operation: 29-10=19, Resulting Numbers: [36, 19] Generated Node #0,1,3: 70:[36, 19] Operation: 29-10=19 Moving to Node #0,0 Current State: 70:[29, 8, 34], Operations: ['44-10=34'] Exploring Operation: 34-29=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 70:[8, 5] Operation: 34-29=5 Exploring Operation: 29+8=37, Resulting Numbers: [34, 37] Generated Node #0,0,1: 70:[34, 37] Operation: 29+8=37 Exploring Operation: 29+34=63, Resulting Numbers: [8, 63] Generated Node #0,0,2: 70:[8, 63] Operation: 29+34=63 Exploring Operation: 29-8=21, Resulting Numbers: [34, 21] Generated Node #0,0,3: 70:[34, 21] Operation: 29-8=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[8, 5], Operations: ['44-10=34', '34-29=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[34, 37], Operations: ['44-10=34', '29+8=37'] Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,70 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[8, 63], Operations: ['44-10=34', '29+34=63'] Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,70 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[34, 21], Operations: ['44-10=34', '29-8=21'] Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,70 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 70:[10, 7], Operations: ['44-29=15', '15-8=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[10, 29, 8, 44], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [10, 8, 15] Generated Node #0,2: 70:[10, 8, 15] Operation: 44-29=15 Moving to Node #0,2 Current State: 70:[10, 8, 15], Operations: ['44-29=15'] Exploring Operation: 15-8=7, Resulting Numbers: [10, 7] Generated Node #0,2,0: 70:[10, 7] Operation: 15-8=7 Moving to Node #0,2,0 Current State: 70:[10, 7], Operations: ['44-29=15', '15-8=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 55, 19, 47, 18 ]
97
[ "55*18=990", "19*47=893", "990-893=97" ]
Current State: 97:[55, 19, 47, 18], Operations: [] Exploring Operation: 55*18=990, Resulting Numbers: [19, 47, 990] Generated Node #2: [19, 47, 990] from Operation: 55*18=990 Current State: 97:[19, 47, 990], Operations: ['55*18=990'] Exploring Operation: 19*47=893, Resulting Numbers: [990, 893] Generated Node #3: [990, 893] from Operation: 19*47=893 Current State: 97:[990, 893], Operations: ['55*18=990', '19*47=893'] Exploring Operation: 990-893=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[55, 19, 47, 18], Operations: [] Exploring Operation: 19+47=66, Resulting Numbers: [55, 18, 66] Generated Node #0,0: 97:[55, 18, 66] Operation: 19+47=66 Exploring Operation: 55+18=73, Resulting Numbers: [19, 47, 73] Generated Node #0,1: 97:[19, 47, 73] Operation: 55+18=73 Exploring Operation: 19+18=37, Resulting Numbers: [55, 47, 37] Generated Node #0,2: 97:[55, 47, 37] Operation: 19+18=37 Exploring Operation: 55+19=74, Resulting Numbers: [47, 18, 74] Generated Node #0,3: 97:[47, 18, 74] Operation: 55+19=74 Moving to Node #0,0 Current State: 97:[55, 18, 66], Operations: ['19+47=66'] Exploring Operation: 55-18=37, Resulting Numbers: [66, 37] Generated Node #0,0,0: 97:[66, 37] Operation: 55-18=37 Exploring Operation: 55+18=73, Resulting Numbers: [66, 73] Generated Node #0,0,1: 97:[66, 73] Operation: 55+18=73 Exploring Operation: 18+66=84, Resulting Numbers: [55, 84] Generated Node #0,0,2: 97:[55, 84] Operation: 18+66=84 Exploring Operation: 66-18=48, Resulting Numbers: [55, 48] Generated Node #0,0,3: 97:[55, 48] Operation: 66-18=48 Moving to Node #0,2 Current State: 97:[55, 47, 37], Operations: ['19+18=37'] Exploring Operation: 55+47=102, Resulting Numbers: [37, 102] Generated Node #0,2,0: 97:[37, 102] Operation: 55+47=102 Exploring Operation: 47+37=84, Resulting Numbers: [55, 84] Generated Node #0,2,1: 97:[55, 84] Operation: 47+37=84 Exploring Operation: 55-37=18, Resulting Numbers: [47, 18] Generated Node #0,2,2: 97:[47, 18] Operation: 55-37=18 Exploring Operation: 55+37=92, Resulting Numbers: [47, 92] Generated Node #0,2,3: 97:[47, 92] Operation: 55+37=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[55, 84], Operations: ['19+18=37', '47+37=84'] Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,97 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[47, 92], Operations: ['19+18=37', '55+37=92'] Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[37, 102], Operations: ['19+18=37', '55+47=102'] Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 37*102=3774, Resulting Numbers: [3774] 3774,97 unequal: No Solution Exploring Operation: 37+102=139, Resulting Numbers: [139] 139,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[47, 18], Operations: ['19+18=37', '55-37=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[19, 47, 73], Operations: ['55+18=73'] Exploring Operation: 47-19=28, Resulting Numbers: [73, 28] Generated Node #0,1,0: 97:[73, 28] Operation: 47-19=28 Exploring Operation: 19+47=66, Resulting Numbers: [73, 66] Generated Node #0,1,1: 97:[73, 66] Operation: 19+47=66 Exploring Operation: 73-19=54, Resulting Numbers: [47, 54] Generated Node #0,1,2: 97:[47, 54] Operation: 73-19=54 Exploring Operation: 19+73=92, Resulting Numbers: [47, 92] Generated Node #0,1,3: 97:[47, 92] Operation: 19+73=92 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[73, 66], Operations: ['55+18=73', '19+47=66'] Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[47, 92], Operations: ['55+18=73', '19+73=92'] Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,97 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[73, 28], Operations: ['55+18=73', '47-19=28'] Exploring Operation: 73+28=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 73*28=2044, Resulting Numbers: [2044] 2044,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[47, 54], Operations: ['55+18=73', '73-19=54'] Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,97 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 97:[47, 18, 74], Operations: ['55+19=74'] Exploring Operation: 47-18=29, Resulting Numbers: [74, 29] Generated Node #0,3,0: 97:[74, 29] Operation: 47-18=29 Exploring Operation: 18+74=92, Resulting Numbers: [47, 92] Generated Node #0,3,1: 97:[47, 92] Operation: 18+74=92 Exploring Operation: 47+18=65, Resulting Numbers: [74, 65] Generated Node #0,3,2: 97:[74, 65] Operation: 47+18=65 Exploring Operation: 74-18=56, Resulting Numbers: [47, 56] Generated Node #0,3,3: 97:[47, 56] Operation: 74-18=56 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[47, 92], Operations: ['55+19=74', '18+74=92'] Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[74, 65], Operations: ['55+19=74', '47+18=65'] Exploring Operation: 74*65=4810, Resulting Numbers: [4810] 4810,97 unequal: No Solution Exploring Operation: 74+65=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[74, 29], Operations: ['55+19=74', '47-18=29'] Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,97 unequal: No Solution Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[47, 56], Operations: ['55+19=74', '74-18=56'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 47*56=2632, Resulting Numbers: [2632] 2632,97 unequal: No Solution Exploring Operation: 47+56=103, Resulting Numbers: [103] 103,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 97:[66, 73], Operations: ['19+47=66', '55+18=73'] Exploring Operation: 66+73=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 66*73=4818, Resulting Numbers: [4818] 4818,97 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[55, 84], Operations: ['19+47=66', '18+66=84'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,97 unequal: No Solution Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[55, 48], Operations: ['19+47=66', '66-18=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,97 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[66, 37], Operations: ['19+47=66', '55-18=37'] Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 66*37=2442, Resulting Numbers: [2442] 2442,97 unequal: No Solution Exploring Operation: 66+37=103, Resulting Numbers: [103] 103,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 86, 31, 18, 22 ]
51
[ "86-31=55", "22-18=4", "55-4=51" ]
Current State: 51:[86, 31, 18, 22], Operations: [] Exploring Operation: 86-31=55, Resulting Numbers: [18, 22, 55] Generated Node #2: [18, 22, 55] from Operation: 86-31=55 Current State: 51:[18, 22, 55], Operations: ['86-31=55'] Exploring Operation: 22-18=4, Resulting Numbers: [55, 4] Generated Node #3: [55, 4] from Operation: 22-18=4 Current State: 51:[55, 4], Operations: ['86-31=55', '22-18=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[86, 31, 18, 22], Operations: [] Exploring Operation: 86-31=55, Resulting Numbers: [18, 22, 55] Generated Node #0,0: 51:[18, 22, 55] Operation: 86-31=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[18, 22, 55], Operations: ['86-31=55'] Exploring Operation: 22-18=4, Resulting Numbers: [55, 4] Generated Node #0,0,0: 51:[55, 4] Operation: 22-18=4 Moving to Node #0,0,0 Current State: 51:[55, 4], Operations: ['86-31=55', '22-18=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[86, 31, 18, 22], Operations: [] Exploring Operation: 86-31=55, Resulting Numbers: [18, 22, 55] Generated Node #0,0: 51:[18, 22, 55] Operation: 86-31=55 Moving to Node #0,0 Current State: 51:[18, 22, 55], Operations: ['86-31=55'] Exploring Operation: 22-18=4, Resulting Numbers: [55, 4] Generated Node #0,0,0: 51:[55, 4] Operation: 22-18=4 Moving to Node #0,0,0 Current State: 51:[55, 4], Operations: ['86-31=55', '22-18=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 87, 13, 23 ]
29
[ "56+13=69", "87*23=2001", "2001/69=29" ]
Current State: 29:[56, 87, 13, 23], Operations: [] Exploring Operation: 56+13=69, Resulting Numbers: [87, 23, 69] Generated Node #2: [87, 23, 69] from Operation: 56+13=69 Current State: 29:[87, 23, 69], Operations: ['56+13=69'] Exploring Operation: 87*23=2001, Resulting Numbers: [69, 2001] Generated Node #3: [69, 2001] from Operation: 87*23=2001 Current State: 29:[69, 2001], Operations: ['56+13=69', '87*23=2001'] Exploring Operation: 2001/69=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[56, 87, 13, 23], Operations: [] Exploring Operation: 87-56=31, Resulting Numbers: [13, 23, 31] Generated Node #0,0: 29:[13, 23, 31] Operation: 87-56=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[13, 23, 31], Operations: ['87-56=31'] Exploring Operation: 13+23=36, Resulting Numbers: [31, 36] Generated Node #0,0,0: 29:[31, 36] Operation: 13+23=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[31, 36], Operations: ['87-56=31', '13+23=36'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 11, 78, 17, 7 ]
55
[ "78+7=85", "11*85=935", "935/17=55" ]
Current State: 55:[11, 78, 17, 7], Operations: [] Exploring Operation: 78+7=85, Resulting Numbers: [11, 17, 85] Generated Node #2: [11, 17, 85] from Operation: 78+7=85 Current State: 55:[11, 17, 85], Operations: ['78+7=85'] Exploring Operation: 11*85=935, Resulting Numbers: [17, 935] Generated Node #3: [17, 935] from Operation: 11*85=935 Current State: 55:[17, 935], Operations: ['78+7=85', '11*85=935'] Exploring Operation: 935/17=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[11, 78, 17, 7], Operations: [] Exploring Operation: 78-11=67, Resulting Numbers: [17, 7, 67] Generated Node #0,0: 55:[17, 7, 67] Operation: 78-11=67 Exploring Operation: 78-17=61, Resulting Numbers: [11, 7, 61] Generated Node #0,1: 55:[11, 7, 61] Operation: 78-17=61 Moving to Node #0,1 Current State: 55:[11, 7, 61], Operations: ['78-17=61'] Exploring Operation: 61-7=54, Resulting Numbers: [11, 54] Generated Node #0,1,0: 55:[11, 54] Operation: 61-7=54 Exploring Operation: 11-7=4, Resulting Numbers: [61, 4] Generated Node #0,1,1: 55:[61, 4] Operation: 11-7=4 Moving to Node #0,0 Current State: 55:[17, 7, 67], Operations: ['78-11=67'] Exploring Operation: 67-17=50, Resulting Numbers: [7, 50] Generated Node #0,0,0: 55:[7, 50] Operation: 67-17=50 Exploring Operation: 67-7=60, Resulting Numbers: [17, 60] Generated Node #0,0,1: 55:[17, 60] Operation: 67-7=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[7, 50], Operations: ['78-11=67', '67-17=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,55 unequal: No Solution No 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: 55:[17, 60], Operations: ['78-11=67', '67-7=60'] Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,55 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 55:[11, 54], Operations: ['78-17=61', '61-7=54'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[61, 4], Operations: ['78-17=61', '11-7=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,55 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 55, 55, 31 ]
27
[ "31-5=26", "55/55=1", "26+1=27" ]
Current State: 27:[5, 55, 55, 31], Operations: [] Exploring Operation: 31-5=26, Resulting Numbers: [55, 55, 26] Generated Node #2: [55, 55, 26] from Operation: 31-5=26 Current State: 27:[55, 55, 26], Operations: ['31-5=26'] Exploring Operation: 55/55=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 55/55=1 Current State: 27:[26, 1], Operations: ['31-5=26', '55/55=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[5, 55, 55, 31], Operations: [] Exploring Operation: 55/55=1, Resulting Numbers: [5, 31, 1] Generated Node #0,0: 27:[5, 31, 1] Operation: 55/55=1 Moving to Node #0,0 Current State: 27:[5, 31, 1], Operations: ['55/55=1'] Exploring Operation: 31-5=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 27:[1, 26] Operation: 31-5=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[1, 26], Operations: ['55/55=1', '31-5=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[5, 55, 55, 31], Operations: [] Exploring Operation: 55/55=1, Resulting Numbers: [5, 31, 1] Generated Node #0,0: 27:[5, 31, 1] Operation: 55/55=1 Moving to Node #0,0 Current State: 27:[5, 31, 1], Operations: ['55/55=1'] Exploring Operation: 31-5=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 27:[1, 26] Operation: 31-5=26 Moving to Node #0,0,0 Current State: 27:[1, 26], Operations: ['55/55=1', '31-5=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 31, 82, 26 ]
73
[ "48-31=17", "82-26=56", "17+56=73" ]
Current State: 73:[48, 31, 82, 26], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [82, 26, 17] Generated Node #2: [82, 26, 17] from Operation: 48-31=17 Current State: 73:[82, 26, 17], Operations: ['48-31=17'] Exploring Operation: 82-26=56, Resulting Numbers: [17, 56] Generated Node #3: [17, 56] from Operation: 82-26=56 Current State: 73:[17, 56], Operations: ['48-31=17', '82-26=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[48, 31, 82, 26], Operations: [] Exploring Operation: 31+26=57, Resulting Numbers: [48, 82, 57] Generated Node #0,0: 73:[48, 82, 57] Operation: 31+26=57 Exploring Operation: 48+31=79, Resulting Numbers: [82, 26, 79] Generated Node #0,1: 73:[82, 26, 79] Operation: 48+31=79 Exploring Operation: 48+26=74, Resulting Numbers: [31, 82, 74] Generated Node #0,2: 73:[31, 82, 74] Operation: 48+26=74 Exploring Operation: 82-26=56, Resulting Numbers: [48, 31, 56] Generated Node #0,3: 73:[48, 31, 56] Operation: 82-26=56 Moving to Node #0,0 Current State: 73:[48, 82, 57], Operations: ['31+26=57'] Exploring Operation: 48+57=105, Resulting Numbers: [82, 105] Generated Node #0,0,0: 73:[82, 105] Operation: 48+57=105 Exploring Operation: 57-48=9, Resulting Numbers: [82, 9] Generated Node #0,0,1: 73:[82, 9] Operation: 57-48=9 Exploring Operation: 48+82=130, Resulting Numbers: [57, 130] Generated Node #0,0,2: 73:[57, 130] Operation: 48+82=130 Exploring Operation: 82-48=34, Resulting Numbers: [57, 34] Generated Node #0,0,3: 73:[57, 34] Operation: 82-48=34 Moving to Node #0,2 Current State: 73:[31, 82, 74], Operations: ['48+26=74'] Exploring Operation: 31+74=105, Resulting Numbers: [82, 105] Generated Node #0,2,0: 73:[82, 105] Operation: 31+74=105 Exploring Operation: 82-31=51, Resulting Numbers: [74, 51] Generated Node #0,2,1: 73:[74, 51] Operation: 82-31=51 Exploring Operation: 31+82=113, Resulting Numbers: [74, 113] Generated Node #0,2,2: 73:[74, 113] Operation: 31+82=113 Exploring Operation: 74-31=43, Resulting Numbers: [82, 43] Generated Node #0,2,3: 73:[82, 43] Operation: 74-31=43 Moving to Node #0,1 Current State: 73:[82, 26, 79], Operations: ['48+31=79'] Exploring Operation: 82+26=108, Resulting Numbers: [79, 108] Generated Node #0,1,0: 73:[79, 108] Operation: 82+26=108 Exploring Operation: 79-26=53, Resulting Numbers: [82, 53] Generated Node #0,1,1: 73:[82, 53] Operation: 79-26=53 Exploring Operation: 82-26=56, Resulting Numbers: [79, 56] Generated Node #0,1,2: 73:[79, 56] Operation: 82-26=56 Exploring Operation: 26+79=105, Resulting Numbers: [82, 105] Generated Node #0,1,3: 73:[82, 105] Operation: 26+79=105 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[79, 56], Operations: ['48+31=79', '82-26=56'] Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[82, 53], Operations: ['48+31=79', '79-26=53'] Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,73 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[79, 108], Operations: ['48+31=79', '82+26=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,73 unequal: No Solution Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[82, 105], Operations: ['48+31=79', '26+79=105'] Exploring Operation: 82*105=8610, Resulting Numbers: [8610] 8610,73 unequal: No Solution Exploring Operation: 82+105=187, Resulting Numbers: [187] 187,73 unequal: No Solution Exploring Operation: 105-82=23, Resulting Numbers: [23] 23,73 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: 73:[48, 31, 56], Operations: ['82-26=56'] Exploring Operation: 48+56=104, Resulting Numbers: [31, 104] Generated Node #0,3,0: 73:[31, 104] Operation: 48+56=104 Exploring Operation: 31+56=87, Resulting Numbers: [48, 87] Generated Node #0,3,1: 73:[48, 87] Operation: 31+56=87 Exploring Operation: 48-31=17, Resulting Numbers: [56, 17] Generated Node #0,3,2: 73:[56, 17] Operation: 48-31=17 Exploring Operation: 48+31=79, Resulting Numbers: [56, 79] Generated Node #0,3,3: 73:[56, 79] Operation: 48+31=79 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[56, 79], Operations: ['82-26=56', '48+31=79'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,73 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[48, 87], Operations: ['82-26=56', '31+56=87'] Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 48*87=4176, Resulting Numbers: [4176] 4176,73 unequal: No Solution Exploring Operation: 48+87=135, Resulting Numbers: [135] 135,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[31, 104], Operations: ['82-26=56', '48+56=104'] Exploring Operation: 31*104=3224, Resulting Numbers: [3224] 3224,73 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[48, 31, 82, 26], Operations: [] Exploring Operation: 82-26=56, Resulting Numbers: [48, 31, 56] Generated Node #0,3: 73:[48, 31, 56] Operation: 82-26=56 Moving to Node #0,3 Current State: 73:[48, 31, 56], Operations: ['82-26=56'] Exploring Operation: 48+56=104, Resulting Numbers: [31, 104] Generated Node #0,3,0: 73:[31, 104] Operation: 48+56=104 Moving to Node #0,3,0 Current State: 73:[31, 104], Operations: ['82-26=56', '48+56=104'] Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_4
mult_heuristic
[ 86, 64, 30, 17 ]
22
[ "86+64=150", "150/30=5", "17+5=22" ]
Current State: 22:[86, 64, 30, 17], Operations: [] Exploring Operation: 86+64=150, Resulting Numbers: [30, 17, 150] Generated Node #2: [30, 17, 150] from Operation: 86+64=150 Current State: 22:[30, 17, 150], Operations: ['86+64=150'] Exploring Operation: 150/30=5, Resulting Numbers: [17, 5] Generated Node #3: [17, 5] from Operation: 150/30=5 Current State: 22:[17, 5], Operations: ['86+64=150', '150/30=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[86, 64, 30, 17], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [30, 17, 22] Generated Node #0,0: 22:[30, 17, 22] Operation: 86-64=22 Exploring Operation: 86-17=69, Resulting Numbers: [64, 30, 69] Generated Node #0,1: 22:[64, 30, 69] Operation: 86-17=69 Exploring Operation: 64-30=34, Resulting Numbers: [86, 17, 34] Generated Node #0,2: 22:[86, 17, 34] Operation: 64-30=34 Exploring Operation: 86-30=56, Resulting Numbers: [64, 17, 56] Generated Node #0,3: 22:[64, 17, 56] Operation: 86-30=56 Moving to Node #0,0 Current State: 22:[30, 17, 22], Operations: ['86-64=22'] Exploring Operation: 30+17=47, Resulting Numbers: [22, 47] Generated Node #0,0,0: 22:[22, 47] Operation: 30+17=47 Exploring Operation: 30-22=8, Resulting Numbers: [17, 8] Generated Node #0,0,1: 22:[17, 8] Operation: 30-22=8 Exploring Operation: 30-17=13, Resulting Numbers: [22, 13] Generated Node #0,0,2: 22:[22, 13] Operation: 30-17=13 Exploring Operation: 22-17=5, Resulting Numbers: [30, 5] Generated Node #0,0,3: 22:[30, 5] Operation: 22-17=5 Moving to Node #0,3 Current State: 22:[64, 17, 56], Operations: ['86-30=56'] Exploring Operation: 56-17=39, Resulting Numbers: [64, 39] Generated Node #0,3,0: 22:[64, 39] Operation: 56-17=39 Exploring Operation: 64-56=8, Resulting Numbers: [17, 8] Generated Node #0,3,1: 22:[17, 8] Operation: 64-56=8 Exploring Operation: 64-17=47, Resulting Numbers: [56, 47] Generated Node #0,3,2: 22:[56, 47] Operation: 64-17=47 Exploring Operation: 64+17=81, Resulting Numbers: [56, 81] Generated Node #0,3,3: 22:[56, 81] Operation: 64+17=81 Moving to Node #0,2 Current State: 22:[86, 17, 34], Operations: ['64-30=34'] Exploring Operation: 86-34=52, Resulting Numbers: [17, 52] Generated Node #0,2,0: 22:[17, 52] Operation: 86-34=52 Exploring Operation: 86-17=69, Resulting Numbers: [34, 69] Generated Node #0,2,1: 22:[34, 69] Operation: 86-17=69 Exploring Operation: 34/17=2, Resulting Numbers: [86, 2] Generated Node #0,2,2: 22:[86, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [86, 17] Generated Node #0,2,3: 22:[86, 17] Operation: 34-17=17 Moving to Node #0,1 Current State: 22:[64, 30, 69], Operations: ['86-17=69'] Exploring Operation: 69-30=39, Resulting Numbers: [64, 39] Generated Node #0,1,0: 22:[64, 39] Operation: 69-30=39 Exploring Operation: 69-64=5, Resulting Numbers: [30, 5] Generated Node #0,1,1: 22:[30, 5] Operation: 69-64=5 Exploring Operation: 64-30=34, Resulting Numbers: [69, 34] Generated Node #0,1,2: 22:[69, 34] Operation: 64-30=34 Exploring Operation: 64+30=94, Resulting Numbers: [69, 94] Generated Node #0,1,3: 22:[69, 94] Operation: 64+30=94 Moving to Node #0,0,2 Current State: 22:[22, 13], Operations: ['86-64=22', '30-17=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,22 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[17, 8], Operations: ['86-64=22', '30-22=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,22 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[17, 8], Operations: ['86-30=56', '64-56=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,22 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[30, 5], Operations: ['86-64=22', '22-17=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[30, 5], Operations: ['86-17=69', '69-64=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[22, 47], Operations: ['86-64=22', '30+17=47'] Exploring Operation: 22*47=1034, Resulting Numbers: [1034] 1034,22 unequal: No Solution Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[17, 52], Operations: ['64-30=34', '86-34=52'] Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,22 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[56, 47], Operations: ['86-30=56', '64-17=47'] Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,22 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[64, 39], Operations: ['86-17=69', '69-30=39'] Exploring Operation: 64+39=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 64*39=2496, Resulting Numbers: [2496] 2496,22 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[64, 39], Operations: ['86-30=56', '56-17=39'] Exploring Operation: 64*39=2496, Resulting Numbers: [2496] 2496,22 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 64+39=103, Resulting Numbers: [103] 103,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[34, 69], Operations: ['64-30=34', '86-17=69'] Exploring Operation: 34+69=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 34*69=2346, Resulting Numbers: [2346] 2346,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[69, 34], Operations: ['86-17=69', '64-30=34'] Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,22 unequal: No Solution Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[86, 2], Operations: ['64-30=34', '34/17=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,22 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[86, 17], Operations: ['64-30=34', '34-17=17'] Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,22 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[56, 81], Operations: ['86-30=56', '64+17=81'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 56+81=137, Resulting Numbers: [137] 137,22 unequal: No Solution Exploring Operation: 56*81=4536, Resulting Numbers: [4536] 4536,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[69, 94], Operations: ['86-17=69', '64+30=94'] Exploring Operation: 69*94=6486, Resulting Numbers: [6486] 6486,22 unequal: No Solution Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 69+94=163, Resulting Numbers: [163] 163,22 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 71, 23, 22, 8 ]
18
[ "71-23=48", "22+8=30", "48-30=18" ]
Current State: 18:[71, 23, 22, 8], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [22, 8, 48] Generated Node #2: [22, 8, 48] from Operation: 71-23=48 Current State: 18:[22, 8, 48], Operations: ['71-23=48'] Exploring Operation: 22+8=30, Resulting Numbers: [48, 30] Generated Node #3: [48, 30] from Operation: 22+8=30 Current State: 18:[48, 30], Operations: ['71-23=48', '22+8=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[71, 23, 22, 8], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [23, 8, 49] Generated Node #0,0: 18:[23, 8, 49] Operation: 71-22=49 Exploring Operation: 71-8=63, Resulting Numbers: [23, 22, 63] Generated Node #0,1: 18:[23, 22, 63] Operation: 71-8=63 Exploring Operation: 23-8=15, Resulting Numbers: [71, 22, 15] Generated Node #0,2: 18:[71, 22, 15] Operation: 23-8=15 Exploring Operation: 71-23=48, Resulting Numbers: [22, 8, 48] Generated Node #0,3: 18:[22, 8, 48] Operation: 71-23=48 Exploring Operation: 23-22=1, Resulting Numbers: [71, 8, 1] Generated Node #0,4: 18:[71, 8, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[22, 8, 48], Operations: ['71-23=48'] Exploring Operation: 22-8=14, Resulting Numbers: [48, 14] Generated Node #0,3,0: 18:[48, 14] Operation: 22-8=14 Exploring Operation: 48-8=40, Resulting Numbers: [22, 40] Generated Node #0,3,1: 18:[22, 40] Operation: 48-8=40 Exploring Operation: 48-22=26, Resulting Numbers: [8, 26] Generated Node #0,3,2: 18:[8, 26] Operation: 48-22=26 Exploring Operation: 22+8=30, Resulting Numbers: [48, 30] Generated Node #0,3,3: 18:[48, 30] Operation: 22+8=30 Exploring Operation: 48/8=6, Resulting Numbers: [22, 6] Generated Node #0,3,4: 18:[22, 6] Operation: 48/8=6 Moving to Node #0,3,4 Current State: 18:[22, 6], Operations: ['71-23=48', '48/8=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[8, 26], Operations: ['71-23=48', '48-22=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,18 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[71, 23, 22, 8], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [22, 8, 48] Generated Node #0,3: 18:[22, 8, 48] Operation: 71-23=48 Moving to Node #0,3 Current State: 18:[22, 8, 48], Operations: ['71-23=48'] Exploring Operation: 48-22=26, Resulting Numbers: [8, 26] Generated Node #0,3,2: 18:[8, 26] Operation: 48-22=26 Moving to Node #0,3,2 Current State: 18:[8, 26], Operations: ['71-23=48', '48-22=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 3, 18, 49, 9 ]
44
[ "49-3=46", "18/9=2", "46-2=44" ]
Current State: 44:[3, 18, 49, 9], Operations: [] Exploring Operation: 49-3=46, Resulting Numbers: [18, 9, 46] Generated Node #2: [18, 9, 46] from Operation: 49-3=46 Current State: 44:[18, 9, 46], Operations: ['49-3=46'] Exploring Operation: 18/9=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 18/9=2 Current State: 44:[46, 2], Operations: ['49-3=46', '18/9=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[3, 18, 49, 9], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [3, 49, 2] Generated Node #0,0: 44:[3, 49, 2] Operation: 18/9=2 Exploring Operation: 3+18=21, Resulting Numbers: [49, 9, 21] Generated Node #0,1: 44:[49, 9, 21] Operation: 3+18=21 Exploring Operation: 49-3=46, Resulting Numbers: [18, 9, 46] Generated Node #0,2: 44:[18, 9, 46] Operation: 49-3=46 Moving to Node #0,0 Current State: 44:[3, 49, 2], Operations: ['18/9=2'] Exploring Operation: 49-3=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 44:[2, 46] Operation: 49-3=46 Exploring Operation: 49-2=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 44:[3, 47] Operation: 49-2=47 Exploring Operation: 3+2=5, Resulting Numbers: [49, 5] Generated Node #0,0,2: 44:[49, 5] Operation: 3+2=5 Moving to Node #0,1 Current State: 44:[49, 9, 21], Operations: ['3+18=21'] Exploring Operation: 49-21=28, Resulting Numbers: [9, 28] Generated Node #0,1,0: 44:[9, 28] Operation: 49-21=28 Exploring Operation: 49-9=40, Resulting Numbers: [21, 40] Generated Node #0,1,1: 44:[21, 40] Operation: 49-9=40 Exploring Operation: 21-9=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 44:[49, 12] Operation: 21-9=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[21, 40], Operations: ['3+18=21', '49-9=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[49, 12], Operations: ['3+18=21', '21-9=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[9, 28], Operations: ['3+18=21', '49-21=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,44 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 44:[18, 9, 46], Operations: ['49-3=46'] Exploring Operation: 18+9=27, Resulting Numbers: [46, 27] Generated Node #0,2,0: 44:[46, 27] Operation: 18+9=27 Exploring Operation: 18-9=9, Resulting Numbers: [46, 9] Generated Node #0,2,1: 44:[46, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [46, 2] Generated Node #0,2,2: 44:[46, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[46, 2], Operations: ['49-3=46', '18/9=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[3, 18, 49, 9], Operations: [] Exploring Operation: 49-3=46, Resulting Numbers: [18, 9, 46] Generated Node #0,2: 44:[18, 9, 46] Operation: 49-3=46 Moving to Node #0,2 Current State: 44:[18, 9, 46], Operations: ['49-3=46'] Exploring Operation: 18/9=2, Resulting Numbers: [46, 2] Generated Node #0,2,2: 44:[46, 2] Operation: 18/9=2 Moving to Node #0,2,2 Current State: 44:[46, 2], Operations: ['49-3=46', '18/9=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 63, 39, 44, 26 ]
78
[ "63*26=1638", "39*44=1716", "1716-1638=78" ]
Current State: 78:[63, 39, 44, 26], Operations: [] Exploring Operation: 63*26=1638, Resulting Numbers: [39, 44, 1638] Generated Node #2: [39, 44, 1638] from Operation: 63*26=1638 Current State: 78:[39, 44, 1638], Operations: ['63*26=1638'] Exploring Operation: 39*44=1716, Resulting Numbers: [1638, 1716] Generated Node #3: [1638, 1716] from Operation: 39*44=1716 Current State: 78:[1638, 1716], Operations: ['63*26=1638', '39*44=1716'] Exploring Operation: 1716-1638=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[63, 39, 44, 26], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [39, 44, 37] Generated Node #0,0: 78:[39, 44, 37] Operation: 63-26=37 Exploring Operation: 63-44=19, Resulting Numbers: [39, 26, 19] Generated Node #0,1: 78:[39, 26, 19] Operation: 63-44=19 Exploring Operation: 63-39=24, Resulting Numbers: [44, 26, 24] Generated Node #0,2: 78:[44, 26, 24] Operation: 63-39=24 Exploring Operation: 63+26=89, Resulting Numbers: [39, 44, 89] Generated Node #0,3: 78:[39, 44, 89] Operation: 63+26=89 Moving to Node #0,1 Current State: 78:[39, 26, 19], Operations: ['63-44=19'] Exploring Operation: 26-19=7, Resulting Numbers: [39, 7] Generated Node #0,1,0: 78:[39, 7] Operation: 26-19=7 Exploring Operation: 26+19=45, Resulting Numbers: [39, 45] Generated Node #0,1,1: 78:[39, 45] Operation: 26+19=45 Exploring Operation: 39-19=20, Resulting Numbers: [26, 20] Generated Node #0,1,2: 78:[26, 20] Operation: 39-19=20 Exploring Operation: 39-26=13, Resulting Numbers: [19, 13] Generated Node #0,1,3: 78:[19, 13] Operation: 39-26=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[39, 7], Operations: ['63-44=19', '26-19=7'] Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,78 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,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,1,1 Current State: 78:[39, 45], Operations: ['63-44=19', '26+19=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,78 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,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,1,2 Current State: 78:[26, 20], Operations: ['63-44=19', '39-19=20'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,78 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,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,1,3 Current State: 78:[19, 13], Operations: ['63-44=19', '39-26=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[44, 26, 24], Operations: ['63-39=24'] Exploring Operation: 44-26=18, Resulting Numbers: [24, 18] Generated Node #0,2,0: 78:[24, 18] Operation: 44-26=18 Exploring Operation: 44+26=70, Resulting Numbers: [24, 70] Generated Node #0,2,1: 78:[24, 70] Operation: 44+26=70 Exploring Operation: 44-24=20, Resulting Numbers: [26, 20] Generated Node #0,2,2: 78:[26, 20] Operation: 44-24=20 Exploring Operation: 26-24=2, Resulting Numbers: [44, 2] Generated Node #0,2,3: 78:[44, 2] Operation: 26-24=2 Moving to Node #0,0 Current State: 78:[39, 44, 37], Operations: ['63-26=37'] Exploring Operation: 44-37=7, Resulting Numbers: [39, 7] Generated Node #0,0,0: 78:[39, 7] Operation: 44-37=7 Exploring Operation: 44+37=81, Resulting Numbers: [39, 81] Generated Node #0,0,1: 78:[39, 81] Operation: 44+37=81 Exploring Operation: 44-39=5, Resulting Numbers: [37, 5] Generated Node #0,0,2: 78:[37, 5] Operation: 44-39=5 Exploring Operation: 39-37=2, Resulting Numbers: [44, 2] Generated Node #0,0,3: 78:[44, 2] Operation: 39-37=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[39, 7], Operations: ['63-26=37', '44-37=7'] Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,78 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[39, 81], Operations: ['63-26=37', '44+37=81'] Exploring Operation: 39*81=3159, Resulting Numbers: [3159] 3159,78 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,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:[37, 5], Operations: ['63-26=37', '44-39=5'] Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,78 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[44, 2], Operations: ['63-26=37', '39-37=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,78 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,78 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: 78:[39, 44, 89], Operations: ['63+26=89'] Exploring Operation: 89-44=45, Resulting Numbers: [39, 45] Generated Node #0,3,0: 78:[39, 45] Operation: 89-44=45 Exploring Operation: 89-39=50, Resulting Numbers: [44, 50] Generated Node #0,3,1: 78:[44, 50] Operation: 89-39=50 Exploring Operation: 44-39=5, Resulting Numbers: [89, 5] Generated Node #0,3,2: 78:[89, 5] Operation: 44-39=5 Exploring Operation: 39+44=83, Resulting Numbers: [89, 83] Generated Node #0,3,3: 78:[89, 83] Operation: 39+44=83 Moving to Node #0,2,3 Current State: 78:[44, 2], Operations: ['63-39=24', '26-24=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,78 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[26, 20], Operations: ['63-39=24', '44-24=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[39, 45], Operations: ['63+26=89', '89-44=45'] Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,78 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[24, 18], Operations: ['63-39=24', '44-26=18'] Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,78 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[24, 70], Operations: ['63-39=24', '44+26=70'] Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,78 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[89, 5], Operations: ['63+26=89', '44-39=5'] Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,78 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[44, 50], Operations: ['63+26=89', '89-39=50'] Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,78 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[89, 83], Operations: ['63+26=89', '39+44=83'] Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 89*83=7387, Resulting Numbers: [7387] 7387,78 unequal: No Solution Exploring Operation: 89+83=172, Resulting Numbers: [172] 172,78 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 66, 1, 31, 34 ]
68
[ "66-1=65", "34-31=3", "65+3=68" ]
Current State: 68:[66, 1, 31, 34], Operations: [] Exploring Operation: 66-1=65, Resulting Numbers: [31, 34, 65] Generated Node #2: [31, 34, 65] from Operation: 66-1=65 Current State: 68:[31, 34, 65], Operations: ['66-1=65'] Exploring Operation: 34-31=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 34-31=3 Current State: 68:[65, 3], Operations: ['66-1=65', '34-31=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[66, 1, 31, 34], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [1, 34, 35] Generated Node #0,0: 68:[1, 34, 35] Operation: 66-31=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[1, 34, 35], Operations: ['66-31=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 68:[34, 34] Operation: 35-1=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[34, 34], Operations: ['66-31=35', '35-1=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[66, 1, 31, 34], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [1, 34, 35] Generated Node #0,0: 68:[1, 34, 35] Operation: 66-31=35 Moving to Node #0,0 Current State: 68:[1, 34, 35], Operations: ['66-31=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 68:[34, 34] Operation: 35-1=34 Moving to Node #0,0,0 Current State: 68:[34, 34], Operations: ['66-31=35', '35-1=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 23, 83, 37, 8 ]
77
[ "23+83=106", "37-8=29", "106-29=77" ]
Current State: 77:[23, 83, 37, 8], Operations: [] Exploring Operation: 23+83=106, Resulting Numbers: [37, 8, 106] Generated Node #2: [37, 8, 106] from Operation: 23+83=106 Current State: 77:[37, 8, 106], Operations: ['23+83=106'] Exploring Operation: 37-8=29, Resulting Numbers: [106, 29] Generated Node #3: [106, 29] from Operation: 37-8=29 Current State: 77:[106, 29], Operations: ['23+83=106', '37-8=29'] Exploring Operation: 106-29=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[23, 83, 37, 8], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [83, 37, 15] Generated Node #0,0: 77:[83, 37, 15] Operation: 23-8=15 Exploring Operation: 37-23=14, Resulting Numbers: [83, 8, 14] Generated Node #0,1: 77:[83, 8, 14] Operation: 37-23=14 Exploring Operation: 23+37=60, Resulting Numbers: [83, 8, 60] Generated Node #0,2: 77:[83, 8, 60] Operation: 23+37=60 Moving to Node #0,1 Current State: 77:[83, 8, 14], Operations: ['37-23=14'] Exploring Operation: 14-8=6, Resulting Numbers: [83, 6] Generated Node #0,1,0: 77:[83, 6] Operation: 14-8=6 Exploring Operation: 83-8=75, Resulting Numbers: [14, 75] Generated Node #0,1,1: 77:[14, 75] Operation: 83-8=75 Exploring Operation: 83-14=69, Resulting Numbers: [8, 69] Generated Node #0,1,2: 77:[8, 69] Operation: 83-14=69 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[14, 75], Operations: ['37-23=14', '83-8=75'] Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,77 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 14*75=1050, Resulting Numbers: [1050] 1050,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[83, 6], Operations: ['37-23=14', '14-8=6'] Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,77 unequal: No Solution Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,77 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[23, 83, 37, 8], Operations: [] Exploring Operation: 37-23=14, Resulting Numbers: [83, 8, 14] Generated Node #0,1: 77:[83, 8, 14] Operation: 37-23=14 Moving to Node #0,1 Current State: 77:[83, 8, 14], Operations: ['37-23=14'] Exploring Operation: 14-8=6, Resulting Numbers: [83, 6] Generated Node #0,1,0: 77:[83, 6] Operation: 14-8=6 Moving to Node #0,1,0 Current State: 77:[83, 6], Operations: ['37-23=14', '14-8=6'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 23, 77, 63, 97 ]
66
[ "23+77=100", "97-63=34", "100-34=66" ]
Current State: 66:[23, 77, 63, 97], Operations: [] Exploring Operation: 23+77=100, Resulting Numbers: [63, 97, 100] Generated Node #2: [63, 97, 100] from Operation: 23+77=100 Current State: 66:[63, 97, 100], Operations: ['23+77=100'] Exploring Operation: 97-63=34, Resulting Numbers: [100, 34] Generated Node #3: [100, 34] from Operation: 97-63=34 Current State: 66:[100, 34], Operations: ['23+77=100', '97-63=34'] Exploring Operation: 100-34=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[23, 77, 63, 97], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [23, 63, 20] Generated Node #0,0: 66:[23, 63, 20] Operation: 97-77=20 Exploring Operation: 97-23=74, Resulting Numbers: [77, 63, 74] Generated Node #0,1: 66:[77, 63, 74] Operation: 97-23=74 Exploring Operation: 77-23=54, Resulting Numbers: [63, 97, 54] Generated Node #0,2: 66:[63, 97, 54] Operation: 77-23=54 Exploring Operation: 97-63=34, Resulting Numbers: [23, 77, 34] Generated Node #0,3: 66:[23, 77, 34] Operation: 97-63=34 Exploring Operation: 77-63=14, Resulting Numbers: [23, 97, 14] Generated Node #0,4: 66:[23, 97, 14] Operation: 77-63=14 Moving to Node #0,0 Current State: 66:[23, 63, 20], Operations: ['97-77=20'] Exploring Operation: 63-23=40, Resulting Numbers: [20, 40] Generated Node #0,0,0: 66:[20, 40] Operation: 63-23=40 Exploring Operation: 23+20=43, Resulting Numbers: [63, 43] Generated Node #0,0,1: 66:[63, 43] Operation: 23+20=43 Exploring Operation: 23-20=3, Resulting Numbers: [63, 3] Generated Node #0,0,2: 66:[63, 3] Operation: 23-20=3 Exploring Operation: 63-20=43, Resulting Numbers: [23, 43] Generated Node #0,0,3: 66:[23, 43] Operation: 63-20=43 Exploring Operation: 63+20=83, Resulting Numbers: [23, 83] Generated Node #0,0,4: 66:[23, 83] Operation: 63+20=83 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[63, 3], Operations: ['97-77=20', '23-20=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[23, 77, 63, 97], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [23, 63, 20] Generated Node #0,0: 66:[23, 63, 20] Operation: 97-77=20 Moving to Node #0,0 Current State: 66:[23, 63, 20], Operations: ['97-77=20'] Exploring Operation: 23-20=3, Resulting Numbers: [63, 3] Generated Node #0,0,2: 66:[63, 3] Operation: 23-20=3 Moving to Node #0,0,2 Current State: 66:[63, 3], Operations: ['97-77=20', '23-20=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 10, 7, 89, 6 ]
79
[ "89-10=79", "7-6=1", "79*1=79" ]
Current State: 79:[10, 7, 89, 6], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [7, 6, 79] Generated Node #2: [7, 6, 79] from Operation: 89-10=79 Current State: 79:[7, 6, 79], Operations: ['89-10=79'] Exploring Operation: 7-6=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 7-6=1 Current State: 79:[79, 1], Operations: ['89-10=79', '7-6=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[10, 7, 89, 6], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [10, 89, 42] Generated Node #0,0: 79:[10, 89, 42] Operation: 7*6=42 Exploring Operation: 10+7=17, Resulting Numbers: [89, 6, 17] Generated Node #0,1: 79:[89, 6, 17] Operation: 10+7=17 Exploring Operation: 10*6=60, Resulting Numbers: [7, 89, 60] Generated Node #0,2: 79:[7, 89, 60] Operation: 10*6=60 Exploring Operation: 10*7=70, Resulting Numbers: [89, 6, 70] Generated Node #0,3: 79:[89, 6, 70] Operation: 10*7=70 Moving to Node #0,3 Current State: 79:[89, 6, 70], Operations: ['10*7=70'] Exploring Operation: 70-6=64, Resulting Numbers: [89, 64] Generated Node #0,3,0: 79:[89, 64] Operation: 70-6=64 Exploring Operation: 89-6=83, Resulting Numbers: [70, 83] Generated Node #0,3,1: 79:[70, 83] Operation: 89-6=83 Exploring Operation: 6+70=76, Resulting Numbers: [89, 76] Generated Node #0,3,2: 79:[89, 76] Operation: 6+70=76 Exploring Operation: 89+6=95, Resulting Numbers: [70, 95] Generated Node #0,3,3: 79:[70, 95] Operation: 89+6=95 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[70, 83], Operations: ['10*7=70', '89-6=83'] Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,79 unequal: No Solution Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,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,2 Current State: 79:[89, 76], Operations: ['10*7=70', '6+70=76'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 89+76=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 89*76=6764, Resulting Numbers: [6764] 6764,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,0 Current State: 79:[89, 64], Operations: ['10*7=70', '70-6=64'] Exploring Operation: 89*64=5696, Resulting Numbers: [5696] 5696,79 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 89+64=153, Resulting Numbers: [153] 153,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,3 Current State: 79:[70, 95], Operations: ['10*7=70', '89+6=95'] Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 70*95=6650, Resulting Numbers: [6650] 6650,79 unequal: No Solution Exploring Operation: 70+95=165, Resulting Numbers: [165] 165,79 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: 79:[7, 89, 60], Operations: ['10*6=60'] Exploring Operation: 7+89=96, Resulting Numbers: [60, 96] Generated Node #0,2,0: 79:[60, 96] Operation: 7+89=96 Exploring Operation: 89-7=82, Resulting Numbers: [60, 82] Generated Node #0,2,1: 79:[60, 82] Operation: 89-7=82 Exploring Operation: 7+60=67, Resulting Numbers: [89, 67] Generated Node #0,2,2: 79:[89, 67] Operation: 7+60=67 Exploring Operation: 60-7=53, Resulting Numbers: [89, 53] Generated Node #0,2,3: 79:[89, 53] Operation: 60-7=53 Moving to Node #0,0 Current State: 79:[10, 89, 42], Operations: ['7*6=42'] Exploring Operation: 10+89=99, Resulting Numbers: [42, 99] Generated Node #0,0,0: 79:[42, 99] Operation: 10+89=99 Exploring Operation: 10+42=52, Resulting Numbers: [89, 52] Generated Node #0,0,1: 79:[89, 52] Operation: 10+42=52 Exploring Operation: 42-10=32, Resulting Numbers: [89, 32] Generated Node #0,0,2: 79:[89, 32] Operation: 42-10=32 Exploring Operation: 89-10=79, Resulting Numbers: [42, 79] Generated Node #0,0,3: 79:[42, 79] Operation: 89-10=79 Moving to Node #0,1 Current State: 79:[89, 6, 17], Operations: ['10+7=17'] Exploring Operation: 6+17=23, Resulting Numbers: [89, 23] Generated Node #0,1,0: 79:[89, 23] Operation: 6+17=23 Exploring Operation: 6*17=102, Resulting Numbers: [89, 102] Generated Node #0,1,1: 79:[89, 102] Operation: 6*17=102 Exploring Operation: 89+6=95, Resulting Numbers: [17, 95] Generated Node #0,1,2: 79:[17, 95] Operation: 89+6=95 Exploring Operation: 89-6=83, Resulting Numbers: [17, 83] Generated Node #0,1,3: 79:[17, 83] Operation: 89-6=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[89, 102], Operations: ['10+7=17', '6*17=102'] Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,79 unequal: No Solution Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[89, 23], Operations: ['10+7=17', '6+17=23'] Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,79 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,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,3 Current State: 79:[17, 83], Operations: ['10+7=17', '89-6=83'] Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,79 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[17, 95], Operations: ['10+7=17', '89+6=95'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 17+95=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 17*95=1615, Resulting Numbers: [1615] 1615,79 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: 79:[60, 82], Operations: ['10*6=60', '89-7=82'] Exploring Operation: 60+82=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 60*82=4920, Resulting Numbers: [4920] 4920,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[89, 67], Operations: ['10*6=60', '7+60=67'] Exploring Operation: 89*67=5963, Resulting Numbers: [5963] 5963,79 unequal: No Solution Exploring Operation: 89+67=156, Resulting Numbers: [156] 156,79 unequal: No Solution Exploring Operation: 89-67=22, Resulting Numbers: [22] 22,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[60, 96], Operations: ['10*6=60', '7+89=96'] Exploring Operation: 60*96=5760, Resulting Numbers: [5760] 5760,79 unequal: No Solution Exploring Operation: 60+96=156, Resulting Numbers: [156] 156,79 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[89, 53], Operations: ['10*6=60', '60-7=53'] Exploring Operation: 89+53=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 89*53=4717, Resulting Numbers: [4717] 4717,79 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[42, 79], Operations: ['7*6=42', '89-10=79'] Exploring Operation: 42+79=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 42*79=3318, Resulting Numbers: [3318] 3318,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[89, 52], Operations: ['7*6=42', '10+42=52'] Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,79 unequal: No Solution Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[89, 32], Operations: ['7*6=42', '42-10=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[42, 99], Operations: ['7*6=42', '10+89=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 56, 45, 2, 71 ]
41
[ "56+45=101", "2*71=142", "142-101=41" ]
Current State: 41:[56, 45, 2, 71], Operations: [] Exploring Operation: 56+45=101, Resulting Numbers: [2, 71, 101] Generated Node #2: [2, 71, 101] from Operation: 56+45=101 Current State: 41:[2, 71, 101], Operations: ['56+45=101'] Exploring Operation: 2*71=142, Resulting Numbers: [101, 142] Generated Node #3: [101, 142] from Operation: 2*71=142 Current State: 41:[101, 142], Operations: ['56+45=101', '2*71=142'] Exploring Operation: 142-101=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[56, 45, 2, 71], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [45, 71, 28] Generated Node #0,0: 41:[45, 71, 28] Operation: 56/2=28 Exploring Operation: 56-2=54, Resulting Numbers: [45, 71, 54] Generated Node #0,1: 41:[45, 71, 54] Operation: 56-2=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[45, 71, 28], Operations: ['56/2=28'] Exploring Operation: 71-45=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 41:[28, 26] Operation: 71-45=26 Exploring Operation: 71-28=43, Resulting Numbers: [45, 43] Generated Node #0,0,1: 41:[45, 43] Operation: 71-28=43 Moving to Node #0,0,1 Current State: 41:[45, 43], Operations: ['56/2=28', '71-28=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,41 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[28, 26], Operations: ['56/2=28', '71-45=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[45, 71, 54], Operations: ['56-2=54'] Exploring Operation: 71-45=26, Resulting Numbers: [54, 26] Generated Node #0,1,0: 41:[54, 26] Operation: 71-45=26 Exploring Operation: 71-54=17, Resulting Numbers: [45, 17] Generated Node #0,1,1: 41:[45, 17] Operation: 71-54=17 Moving to Node #0,1,0 Current State: 41:[54, 26], Operations: ['56-2=54', '71-45=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[45, 17], Operations: ['56-2=54', '71-54=17'] Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,41 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
[ 49, 19, 52, 28 ]
54
[ "49-19=30", "52-28=24", "30+24=54" ]
Current State: 54:[49, 19, 52, 28], Operations: [] Exploring Operation: 49-19=30, Resulting Numbers: [52, 28, 30] Generated Node #2: [52, 28, 30] from Operation: 49-19=30 Current State: 54:[52, 28, 30], Operations: ['49-19=30'] Exploring Operation: 52-28=24, Resulting Numbers: [30, 24] Generated Node #3: [30, 24] from Operation: 52-28=24 Current State: 54:[30, 24], Operations: ['49-19=30', '52-28=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[49, 19, 52, 28], Operations: [] Exploring Operation: 49-19=30, Resulting Numbers: [52, 28, 30] Generated Node #0,0: 54:[52, 28, 30] Operation: 49-19=30 Exploring Operation: 52-49=3, Resulting Numbers: [19, 28, 3] Generated Node #0,1: 54:[19, 28, 3] Operation: 52-49=3 Moving to Node #0,1 Current State: 54:[19, 28, 3], Operations: ['52-49=3'] Exploring Operation: 19-3=16, Resulting Numbers: [28, 16] Generated Node #0,1,0: 54:[28, 16] Operation: 19-3=16 Exploring Operation: 28-19=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 54:[3, 9] Operation: 28-19=9 Moving to Node #0,0 Current State: 54:[52, 28, 30], Operations: ['49-19=30'] Exploring Operation: 52-30=22, Resulting Numbers: [28, 22] Generated Node #0,0,0: 54:[28, 22] Operation: 52-30=22 Exploring Operation: 30-28=2, Resulting Numbers: [52, 2] Generated Node #0,0,1: 54:[52, 2] Operation: 30-28=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[52, 2], Operations: ['49-19=30', '30-28=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[49, 19, 52, 28], Operations: [] Exploring Operation: 49-19=30, Resulting Numbers: [52, 28, 30] Generated Node #0,0: 54:[52, 28, 30] Operation: 49-19=30 Moving to Node #0,0 Current State: 54:[52, 28, 30], Operations: ['49-19=30'] Exploring Operation: 30-28=2, Resulting Numbers: [52, 2] Generated Node #0,0,1: 54:[52, 2] Operation: 30-28=2 Moving to Node #0,0,1 Current State: 54:[52, 2], Operations: ['49-19=30', '30-28=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 19, 45, 53, 2 ]
85
[ "19+45=64", "64/2=32", "53+32=85" ]
Current State: 85:[19, 45, 53, 2], Operations: [] Exploring Operation: 19+45=64, Resulting Numbers: [53, 2, 64] Generated Node #2: [53, 2, 64] from Operation: 19+45=64 Current State: 85:[53, 2, 64], Operations: ['19+45=64'] Exploring Operation: 64/2=32, Resulting Numbers: [53, 32] Generated Node #3: [53, 32] from Operation: 64/2=32 Current State: 85:[53, 32], Operations: ['19+45=64', '64/2=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[19, 45, 53, 2], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [19, 53, 90] Generated Node #0,0: 85:[19, 53, 90] Operation: 45*2=90 Exploring Operation: 45+53=98, Resulting Numbers: [19, 2, 98] Generated Node #0,1: 85:[19, 2, 98] Operation: 45+53=98 Exploring Operation: 53-45=8, Resulting Numbers: [19, 2, 8] Generated Node #0,2: 85:[19, 2, 8] Operation: 53-45=8 Moving to Node #0,2 Current State: 85:[19, 2, 8], Operations: ['53-45=8'] Exploring Operation: 2*8=16, Resulting Numbers: [19, 16] Generated Node #0,2,0: 85:[19, 16] Operation: 2*8=16 Exploring Operation: 19-2=17, Resulting Numbers: [8, 17] Generated Node #0,2,1: 85:[8, 17] Operation: 19-2=17 Exploring Operation: 8-2=6, Resulting Numbers: [19, 6] Generated Node #0,2,2: 85:[19, 6] Operation: 8-2=6 Moving to Node #0,1 Current State: 85:[19, 2, 98], Operations: ['45+53=98'] Exploring Operation: 98-2=96, Resulting Numbers: [19, 96] Generated Node #0,1,0: 85:[19, 96] Operation: 98-2=96 Exploring Operation: 19-2=17, Resulting Numbers: [98, 17] Generated Node #0,1,1: 85:[98, 17] Operation: 19-2=17 Exploring Operation: 98-19=79, Resulting Numbers: [2, 79] Generated Node #0,1,2: 85:[2, 79] Operation: 98-19=79 Moving to Node #0,0 Current State: 85:[19, 53, 90], Operations: ['45*2=90'] Exploring Operation: 53-19=34, Resulting Numbers: [90, 34] Generated Node #0,0,0: 85:[90, 34] Operation: 53-19=34 Exploring Operation: 19+53=72, Resulting Numbers: [90, 72] Generated Node #0,0,1: 85:[90, 72] Operation: 19+53=72 Exploring Operation: 90-53=37, Resulting Numbers: [19, 37] Generated Node #0,0,2: 85:[19, 37] Operation: 90-53=37 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[90, 72], Operations: ['45*2=90', '19+53=72'] Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 90+72=162, Resulting Numbers: [162] 162,85 unequal: No Solution Exploring Operation: 90*72=6480, Resulting Numbers: [6480] 6480,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[90, 34], Operations: ['45*2=90', '53-19=34'] Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,85 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[19, 37], Operations: ['45*2=90', '90-53=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,85 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 85:[19, 16], Operations: ['53-45=8', '2*8=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,85 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[19, 6], Operations: ['53-45=8', '8-2=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[8, 17], Operations: ['53-45=8', '19-2=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,85 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[2, 79], Operations: ['45+53=98', '98-19=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[19, 96], Operations: ['45+53=98', '98-2=96'] Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 19*96=1824, Resulting Numbers: [1824] 1824,85 unequal: No Solution Exploring Operation: 19+96=115, Resulting Numbers: [115] 115,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[98, 17], Operations: ['45+53=98', '19-2=17'] Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,85 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,85 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 51, 54, 46, 32 ]
42
[ "54-51=3", "46-32=14", "3*14=42" ]
Current State: 42:[51, 54, 46, 32], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [46, 32, 3] Generated Node #2: [46, 32, 3] from Operation: 54-51=3 Current State: 42:[46, 32, 3], Operations: ['54-51=3'] Exploring Operation: 46-32=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 46-32=14 Current State: 42:[3, 14], Operations: ['54-51=3', '46-32=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[51, 54, 46, 32], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [51, 46, 22] Generated Node #0,0: 42:[51, 46, 22] Operation: 54-32=22 Exploring Operation: 54-51=3, Resulting Numbers: [46, 32, 3] Generated Node #0,1: 42:[46, 32, 3] Operation: 54-51=3 Moving to Node #0,0 Current State: 42:[51, 46, 22], Operations: ['54-32=22'] Exploring Operation: 51-22=29, Resulting Numbers: [46, 29] Generated Node #0,0,0: 42:[46, 29] Operation: 51-22=29 Exploring Operation: 51-46=5, Resulting Numbers: [22, 5] Generated Node #0,0,1: 42:[22, 5] Operation: 51-46=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[22, 5], Operations: ['54-32=22', '51-46=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[46, 29], Operations: ['54-32=22', '51-22=29'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,42 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: 42:[46, 32, 3], Operations: ['54-51=3'] Exploring Operation: 46-32=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 42:[3, 14] Operation: 46-32=14 Exploring Operation: 46-3=43, Resulting Numbers: [32, 43] Generated Node #0,1,1: 42:[32, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[3, 14], Operations: ['54-51=3', '46-32=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[51, 54, 46, 32], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [46, 32, 3] Generated Node #0,1: 42:[46, 32, 3] Operation: 54-51=3 Moving to Node #0,1 Current State: 42:[46, 32, 3], Operations: ['54-51=3'] Exploring Operation: 46-32=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 42:[3, 14] Operation: 46-32=14 Moving to Node #0,1,0 Current State: 42:[3, 14], Operations: ['54-51=3', '46-32=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 8, 18, 96, 33 ]
37
[ "8+18=26", "96-33=63", "63-26=37" ]
Current State: 37:[8, 18, 96, 33], Operations: [] Exploring Operation: 8+18=26, Resulting Numbers: [96, 33, 26] Generated Node #2: [96, 33, 26] from Operation: 8+18=26 Current State: 37:[96, 33, 26], Operations: ['8+18=26'] Exploring Operation: 96-33=63, Resulting Numbers: [26, 63] Generated Node #3: [26, 63] from Operation: 96-33=63 Current State: 37:[26, 63], Operations: ['8+18=26', '96-33=63'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[8, 18, 96, 33], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [18, 33, 12] Generated Node #0,0: 37:[18, 33, 12] Operation: 96/8=12 Exploring Operation: 8+18=26, Resulting Numbers: [96, 33, 26] Generated Node #0,1: 37:[96, 33, 26] Operation: 8+18=26 Moving to Node #0,0 Current State: 37:[18, 33, 12], Operations: ['96/8=12'] Exploring Operation: 18+12=30, Resulting Numbers: [33, 30] Generated Node #0,0,0: 37:[33, 30] Operation: 18+12=30 Exploring Operation: 33+12=45, Resulting Numbers: [18, 45] Generated Node #0,0,1: 37:[18, 45] Operation: 33+12=45 Moving to Node #0,1 Current State: 37:[96, 33, 26], Operations: ['8+18=26'] Exploring Operation: 96-33=63, Resulting Numbers: [26, 63] Generated Node #0,1,0: 37:[26, 63] Operation: 96-33=63 Exploring Operation: 96-26=70, Resulting Numbers: [33, 70] Generated Node #0,1,1: 37:[33, 70] Operation: 96-26=70 Moving to Node #0,0,0 Current State: 37:[33, 30], Operations: ['96/8=12', '18+12=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[18, 45], Operations: ['96/8=12', '33+12=45'] Exploring Operation: 18+45=63, Resulting Numbers: [63] 63,37 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[33, 70], Operations: ['8+18=26', '96-26=70'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[8, 18, 96, 33], Operations: [] Exploring Operation: 8+18=26, Resulting Numbers: [96, 33, 26] Generated Node #0,1: 37:[96, 33, 26] Operation: 8+18=26 Moving to Node #0,1 Current State: 37:[96, 33, 26], Operations: ['8+18=26'] Exploring Operation: 96-26=70, Resulting Numbers: [33, 70] Generated Node #0,1,1: 37:[33, 70] Operation: 96-26=70 Moving to Node #0,1,1 Current State: 37:[33, 70], Operations: ['8+18=26', '96-26=70'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 33, 35, 38, 19 ]
59
[ "35-33=2", "38+19=57", "2+57=59" ]
Current State: 59:[33, 35, 38, 19], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [38, 19, 2] Generated Node #2: [38, 19, 2] from Operation: 35-33=2 Current State: 59:[38, 19, 2], Operations: ['35-33=2'] Exploring Operation: 38+19=57, Resulting Numbers: [2, 57] Generated Node #3: [2, 57] from Operation: 38+19=57 Current State: 59:[2, 57], Operations: ['35-33=2', '38+19=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[33, 35, 38, 19], Operations: [] Exploring Operation: 33+19=52, Resulting Numbers: [35, 38, 52] Generated Node #0,0: 59:[35, 38, 52] Operation: 33+19=52 Exploring Operation: 33+38=71, Resulting Numbers: [35, 19, 71] Generated Node #0,1: 59:[35, 19, 71] Operation: 33+38=71 Exploring Operation: 33+35=68, Resulting Numbers: [38, 19, 68] Generated Node #0,2: 59:[38, 19, 68] Operation: 33+35=68 Exploring Operation: 35+19=54, Resulting Numbers: [33, 38, 54] Generated Node #0,3: 59:[33, 38, 54] Operation: 35+19=54 Exploring Operation: 38+19=57, Resulting Numbers: [33, 35, 57] Generated Node #0,4: 59:[33, 35, 57] Operation: 38+19=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[35, 38, 52], Operations: ['33+19=52'] Exploring Operation: 35+38=73, Resulting Numbers: [52, 73] Generated Node #0,0,0: 59:[52, 73] Operation: 35+38=73 Exploring Operation: 38+52=90, Resulting Numbers: [35, 90] Generated Node #0,0,1: 59:[35, 90] Operation: 38+52=90 Exploring Operation: 52-35=17, Resulting Numbers: [38, 17] Generated Node #0,0,2: 59:[38, 17] Operation: 52-35=17 Exploring Operation: 38-35=3, Resulting Numbers: [52, 3] Generated Node #0,0,3: 59:[52, 3] Operation: 38-35=3 Exploring Operation: 35+52=87, Resulting Numbers: [38, 87] Generated Node #0,0,4: 59:[38, 87] Operation: 35+52=87 Moving to Node #0,0,0 Current State: 59:[52, 73], Operations: ['33+19=52', '35+38=73'] Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,59 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[38, 87], Operations: ['33+19=52', '35+52=87'] Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,59 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[35, 90], Operations: ['33+19=52', '38+52=90'] Exploring Operation: 35+90=125, Resulting Numbers: [125] 125,59 unequal: No Solution Exploring Operation: 35*90=3150, Resulting Numbers: [3150] 3150,59 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[38, 17], Operations: ['33+19=52', '52-35=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,59 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[52, 3], Operations: ['33+19=52', '38-35=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,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,3 Current State: 59:[33, 38, 54], Operations: ['35+19=54'] Exploring Operation: 33+38=71, Resulting Numbers: [54, 71] Generated Node #0,3,0: 59:[54, 71] Operation: 33+38=71 Exploring Operation: 38-33=5, Resulting Numbers: [54, 5] Generated Node #0,3,1: 59:[54, 5] Operation: 38-33=5 Exploring Operation: 33+54=87, Resulting Numbers: [38, 87] Generated Node #0,3,2: 59:[38, 87] Operation: 33+54=87 Exploring Operation: 38+54=92, Resulting Numbers: [33, 92] Generated Node #0,3,3: 59:[33, 92] Operation: 38+54=92 Exploring Operation: 54-33=21, Resulting Numbers: [38, 21] Generated Node #0,3,4: 59:[38, 21] Operation: 54-33=21 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[54, 71], Operations: ['35+19=54', '33+38=71'] Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,59 unequal: No Solution Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,59 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[38, 87], Operations: ['35+19=54', '33+54=87'] Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[54, 5], Operations: ['35+19=54', '38-33=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[33, 35, 38, 19], Operations: [] Exploring Operation: 35+19=54, Resulting Numbers: [33, 38, 54] Generated Node #0,3: 59:[33, 38, 54] Operation: 35+19=54 Moving to Node #0,3 Current State: 59:[33, 38, 54], Operations: ['35+19=54'] Exploring Operation: 38-33=5, Resulting Numbers: [54, 5] Generated Node #0,3,1: 59:[54, 5] Operation: 38-33=5 Moving to Node #0,3,1 Current State: 59:[54, 5], Operations: ['35+19=54', '38-33=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 83, 46, 74, 61 ]
63
[ "83-46=37", "74/37=2", "61+2=63" ]
Current State: 63:[83, 46, 74, 61], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [74, 61, 37] Generated Node #2: [74, 61, 37] from Operation: 83-46=37 Current State: 63:[74, 61, 37], Operations: ['83-46=37'] Exploring Operation: 74/37=2, Resulting Numbers: [61, 2] Generated Node #3: [61, 2] from Operation: 74/37=2 Current State: 63:[61, 2], Operations: ['83-46=37', '74/37=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[83, 46, 74, 61], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [74, 61, 37] Generated Node #0,0: 63:[74, 61, 37] Operation: 83-46=37 Exploring Operation: 83-74=9, Resulting Numbers: [46, 61, 9] Generated Node #0,1: 63:[46, 61, 9] Operation: 83-74=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[46, 61, 9], Operations: ['83-74=9'] Exploring Operation: 46+9=55, Resulting Numbers: [61, 55] Generated Node #0,1,0: 63:[61, 55] Operation: 46+9=55 Exploring Operation: 61-46=15, Resulting Numbers: [9, 15] Generated Node #0,1,1: 63:[9, 15] Operation: 61-46=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[9, 15], Operations: ['83-74=9', '61-46=15'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[61, 55], Operations: ['83-74=9', '46+9=55'] Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 61+55=116, Resulting Numbers: [116] 116,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[74, 61, 37], Operations: ['83-46=37'] Exploring Operation: 74/37=2, Resulting Numbers: [61, 2] Generated Node #0,0,0: 63:[61, 2] Operation: 74/37=2 Exploring Operation: 61-37=24, Resulting Numbers: [74, 24] Generated Node #0,0,1: 63:[74, 24] Operation: 61-37=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[61, 2], Operations: ['83-46=37', '74/37=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[83, 46, 74, 61], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [74, 61, 37] Generated Node #0,0: 63:[74, 61, 37] Operation: 83-46=37 Moving to Node #0,0 Current State: 63:[74, 61, 37], Operations: ['83-46=37'] Exploring Operation: 74/37=2, Resulting Numbers: [61, 2] Generated Node #0,0,0: 63:[61, 2] Operation: 74/37=2 Moving to Node #0,0,0 Current State: 63:[61, 2], Operations: ['83-46=37', '74/37=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 49, 21, 66, 88 ]
50
[ "49-21=28", "88-66=22", "28+22=50" ]
Current State: 50:[49, 21, 66, 88], Operations: [] Exploring Operation: 49-21=28, Resulting Numbers: [66, 88, 28] Generated Node #2: [66, 88, 28] from Operation: 49-21=28 Current State: 50:[66, 88, 28], Operations: ['49-21=28'] Exploring Operation: 88-66=22, Resulting Numbers: [28, 22] Generated Node #3: [28, 22] from Operation: 88-66=22 Current State: 50:[28, 22], Operations: ['49-21=28', '88-66=22'] Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[49, 21, 66, 88], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [49, 21, 22] Generated Node #0,0: 50:[49, 21, 22] Operation: 88-66=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[49, 21, 22], Operations: ['88-66=22'] Exploring Operation: 22-21=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 50:[49, 1] Operation: 22-21=1 Moving to Node #0,0,0 Current State: 50:[49, 1], Operations: ['88-66=22', '22-21=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[49, 21, 66, 88], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [49, 21, 22] Generated Node #0,0: 50:[49, 21, 22] Operation: 88-66=22 Moving to Node #0,0 Current State: 50:[49, 21, 22], Operations: ['88-66=22'] Exploring Operation: 22-21=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 50:[49, 1] Operation: 22-21=1 Moving to Node #0,0,0 Current State: 50:[49, 1], Operations: ['88-66=22', '22-21=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 85, 21, 17, 17 ]
30
[ "85-21=64", "17+17=34", "64-34=30" ]
Current State: 30:[85, 21, 17, 17], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [17, 17, 64] Generated Node #2: [17, 17, 64] from Operation: 85-21=64 Current State: 30:[17, 17, 64], Operations: ['85-21=64'] Exploring Operation: 17+17=34, Resulting Numbers: [64, 34] Generated Node #3: [64, 34] from Operation: 17+17=34 Current State: 30:[64, 34], Operations: ['85-21=64', '17+17=34'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[85, 21, 17, 17], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [17, 17, 64] Generated Node #0,0: 30:[17, 17, 64] Operation: 85-21=64 Exploring Operation: 85-17=68, Resulting Numbers: [21, 17, 68] Generated Node #0,1: 30:[21, 17, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [21, 17, 5] Generated Node #0,2: 30:[21, 17, 5] Operation: 85/17=5 Exploring Operation: 85/17=5, Resulting Numbers: [21, 17, 5] Generated Node #0,3: 30:[21, 17, 5] Operation: 85/17=5 Moving to Node #0,2 Current State: 30:[21, 17, 5], Operations: ['85/17=5'] Exploring Operation: 21+5=26, Resulting Numbers: [17, 26] Generated Node #0,2,0: 30:[17, 26] Operation: 21+5=26 Exploring Operation: 21-5=16, Resulting Numbers: [17, 16] Generated Node #0,2,1: 30:[17, 16] Operation: 21-5=16 Exploring Operation: 21+17=38, Resulting Numbers: [5, 38] Generated Node #0,2,2: 30:[5, 38] Operation: 21+17=38 Exploring Operation: 21-17=4, Resulting Numbers: [5, 4] Generated Node #0,2,3: 30:[5, 4] Operation: 21-17=4 Moving to Node #0,3 Current State: 30:[21, 17, 5], Operations: ['85/17=5'] Exploring Operation: 21+17=38, Resulting Numbers: [5, 38] Generated Node #0,3,0: 30:[5, 38] Operation: 21+17=38 Exploring Operation: 21-17=4, Resulting Numbers: [5, 4] Generated Node #0,3,1: 30:[5, 4] Operation: 21-17=4 Exploring Operation: 21-5=16, Resulting Numbers: [17, 16] Generated Node #0,3,2: 30:[17, 16] Operation: 21-5=16 Exploring Operation: 21+5=26, Resulting Numbers: [17, 26] Generated Node #0,3,3: 30:[17, 26] Operation: 21+5=26 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 30:[5, 4], Operations: ['85/17=5', '21-17=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 30:[17, 16], Operations: ['85/17=5', '21-5=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,30 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 30:[17, 26], Operations: ['85/17=5', '21+5=26'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[5, 38], Operations: ['85/17=5', '21+17=38'] Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,30 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,30 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: 30:[17, 17, 64], Operations: ['85-21=64'] Exploring Operation: 17-17=0, Resulting Numbers: [64, 0] Generated Node #0,0,0: 30:[64, 0] Operation: 17-17=0 Exploring Operation: 17/17=1, Resulting Numbers: [64, 1] Generated Node #0,0,1: 30:[64, 1] Operation: 17/17=1 Exploring Operation: 64-17=47, Resulting Numbers: [17, 47] Generated Node #0,0,2: 30:[17, 47] Operation: 64-17=47 Exploring Operation: 64-17=47, Resulting Numbers: [17, 47] Generated Node #0,0,3: 30:[17, 47] Operation: 64-17=47 Moving to Node #0,1 Current State: 30:[21, 17, 68], Operations: ['85-17=68'] Exploring Operation: 68/17=4, Resulting Numbers: [21, 4] Generated Node #0,1,0: 30:[21, 4] Operation: 68/17=4 Exploring Operation: 68-21=47, Resulting Numbers: [17, 47] Generated Node #0,1,1: 30:[17, 47] Operation: 68-21=47 Exploring Operation: 21-17=4, Resulting Numbers: [68, 4] Generated Node #0,1,2: 30:[68, 4] Operation: 21-17=4 Exploring Operation: 68-17=51, Resulting Numbers: [21, 51] Generated Node #0,1,3: 30:[21, 51] Operation: 68-17=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[21, 4], Operations: ['85-17=68', '68/17=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[17, 47], Operations: ['85-17=68', '68-21=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[85, 21, 17, 17], Operations: [] Exploring Operation: 85-17=68, Resulting Numbers: [21, 17, 68] Generated Node #0,1: 30:[21, 17, 68] Operation: 85-17=68 Moving to Node #0,1 Current State: 30:[21, 17, 68], Operations: ['85-17=68'] Exploring Operation: 68-21=47, Resulting Numbers: [17, 47] Generated Node #0,1,1: 30:[17, 47] Operation: 68-21=47 Moving to Node #0,1,1 Current State: 30:[17, 47], Operations: ['85-17=68', '68-21=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 30, 32, 13, 63 ]
12
[ "30+32=62", "63-13=50", "62-50=12" ]
Current State: 12:[30, 32, 13, 63], Operations: [] Exploring Operation: 30+32=62, Resulting Numbers: [13, 63, 62] Generated Node #2: [13, 63, 62] from Operation: 30+32=62 Current State: 12:[13, 63, 62], Operations: ['30+32=62'] Exploring Operation: 63-13=50, Resulting Numbers: [62, 50] Generated Node #3: [62, 50] from Operation: 63-13=50 Current State: 12:[62, 50], Operations: ['30+32=62', '63-13=50'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[30, 32, 13, 63], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [32, 63, 17] Generated Node #0,0: 12:[32, 63, 17] Operation: 30-13=17 Exploring Operation: 63-32=31, Resulting Numbers: [30, 13, 31] Generated Node #0,1: 12:[30, 13, 31] Operation: 63-32=31 Exploring Operation: 32-30=2, Resulting Numbers: [13, 63, 2] Generated Node #0,2: 12:[13, 63, 2] Operation: 32-30=2 Exploring Operation: 63-30=33, Resulting Numbers: [32, 13, 33] Generated Node #0,3: 12:[32, 13, 33] Operation: 63-30=33 Exploring Operation: 32-13=19, Resulting Numbers: [30, 63, 19] Generated Node #0,4: 12:[30, 63, 19] Operation: 32-13=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[30, 13, 31], Operations: ['63-32=31'] Exploring Operation: 30+13=43, Resulting Numbers: [31, 43] Generated Node #0,1,0: 12:[31, 43] Operation: 30+13=43 Exploring Operation: 30+31=61, Resulting Numbers: [13, 61] Generated Node #0,1,1: 12:[13, 61] Operation: 30+31=61 Exploring Operation: 30-13=17, Resulting Numbers: [31, 17] Generated Node #0,1,2: 12:[31, 17] Operation: 30-13=17 Exploring Operation: 31-13=18, Resulting Numbers: [30, 18] Generated Node #0,1,3: 12:[30, 18] Operation: 31-13=18 Exploring Operation: 31-30=1, Resulting Numbers: [13, 1] Generated Node #0,1,4: 12:[13, 1] Operation: 31-30=1 Moving to Node #0,1,4 Current State: 12:[13, 1], Operations: ['63-32=31', '31-30=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[30, 32, 13, 63], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [30, 13, 31] Generated Node #0,1: 12:[30, 13, 31] Operation: 63-32=31 Moving to Node #0,1 Current State: 12:[30, 13, 31], Operations: ['63-32=31'] Exploring Operation: 31-30=1, Resulting Numbers: [13, 1] Generated Node #0,1,4: 12:[13, 1] Operation: 31-30=1 Moving to Node #0,1,4 Current State: 12:[13, 1], Operations: ['63-32=31', '31-30=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 74, 2, 86, 73 ]
49
[ "86-74=12", "2*12=24", "73-24=49" ]
Current State: 49:[74, 2, 86, 73], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [2, 73, 12] Generated Node #2: [2, 73, 12] from Operation: 86-74=12 Current State: 49:[2, 73, 12], Operations: ['86-74=12'] Exploring Operation: 2*12=24, Resulting Numbers: [73, 24] Generated Node #3: [73, 24] from Operation: 2*12=24 Current State: 49:[73, 24], Operations: ['86-74=12', '2*12=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[74, 2, 86, 73], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [74, 2, 13] Generated Node #0,0: 49:[74, 2, 13] Operation: 86-73=13 Exploring Operation: 74/2=37, Resulting Numbers: [86, 73, 37] Generated Node #0,1: 49:[86, 73, 37] Operation: 74/2=37 Exploring Operation: 74-73=1, Resulting Numbers: [2, 86, 1] Generated Node #0,2: 49:[2, 86, 1] Operation: 74-73=1 Exploring Operation: 86-74=12, Resulting Numbers: [2, 73, 12] Generated Node #0,3: 49:[2, 73, 12] Operation: 86-74=12 Exploring Operation: 86/2=43, Resulting Numbers: [74, 73, 43] Generated Node #0,4: 49:[74, 73, 43] Operation: 86/2=43 Moving to Node #0,3 Current State: 49:[2, 73, 12], Operations: ['86-74=12'] Exploring Operation: 12/2=6, Resulting Numbers: [73, 6] Generated Node #0,3,0: 49:[73, 6] Operation: 12/2=6 Exploring Operation: 2+73=75, Resulting Numbers: [12, 75] Generated Node #0,3,1: 49:[12, 75] Operation: 2+73=75 Exploring Operation: 73-2=71, Resulting Numbers: [12, 71] Generated Node #0,3,2: 49:[12, 71] Operation: 73-2=71 Exploring Operation: 12-2=10, Resulting Numbers: [73, 10] Generated Node #0,3,3: 49:[73, 10] Operation: 12-2=10 Exploring Operation: 73-12=61, Resulting Numbers: [2, 61] Generated Node #0,3,4: 49:[2, 61] Operation: 73-12=61 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 49:[2, 61], Operations: ['86-74=12', '73-12=61'] Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,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:[73, 6], Operations: ['86-74=12', '12/2=6'] Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,49 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,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,2 Current State: 49:[12, 71], Operations: ['86-74=12', '73-2=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,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:[73, 10], Operations: ['86-74=12', '12-2=10'] Exploring Operation: 73*10=730, Resulting Numbers: [730] 730,49 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,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:[12, 75], Operations: ['86-74=12', '2+73=75'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,49 unequal: No Solution Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,49 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: 49:[74, 2, 13], Operations: ['86-73=13'] Exploring Operation: 74-13=61, Resulting Numbers: [2, 61] Generated Node #0,0,0: 49:[2, 61] Operation: 74-13=61 Exploring Operation: 74+2=76, Resulting Numbers: [13, 76] Generated Node #0,0,1: 49:[13, 76] Operation: 74+2=76 Exploring Operation: 74-2=72, Resulting Numbers: [13, 72] Generated Node #0,0,2: 49:[13, 72] Operation: 74-2=72 Exploring Operation: 13-2=11, Resulting Numbers: [74, 11] Generated Node #0,0,3: 49:[74, 11] Operation: 13-2=11 Exploring Operation: 74/2=37, Resulting Numbers: [13, 37] Generated Node #0,0,4: 49:[13, 37] Operation: 74/2=37 Moving to Node #0,2 Current State: 49:[2, 86, 1], Operations: ['74-73=1'] Exploring Operation: 2*1=2, Resulting Numbers: [86, 2] Generated Node #0,2,0: 49:[86, 2] Operation: 2*1=2 Exploring Operation: 86-2=84, Resulting Numbers: [1, 84] Generated Node #0,2,1: 49:[1, 84] Operation: 86-2=84 Exploring Operation: 86-1=85, Resulting Numbers: [2, 85] Generated Node #0,2,2: 49:[2, 85] Operation: 86-1=85 Exploring Operation: 2+1=3, Resulting Numbers: [86, 3] Generated Node #0,2,3: 49:[86, 3] Operation: 2+1=3 Exploring Operation: 86/2=43, Resulting Numbers: [1, 43] Generated Node #0,2,4: 49:[1, 43] Operation: 86/2=43 Moving to Node #0,4 Current State: 49:[74, 73, 43], Operations: ['86/2=43'] Exploring Operation: 73-43=30, Resulting Numbers: [74, 30] Generated Node #0,4,0: 49:[74, 30] Operation: 73-43=30 Exploring Operation: 74+43=117, Resulting Numbers: [73, 117] Generated Node #0,4,1: 49:[73, 117] Operation: 74+43=117 Exploring Operation: 73+43=116, Resulting Numbers: [74, 116] Generated Node #0,4,2: 49:[74, 116] Operation: 73+43=116 Exploring Operation: 74-73=1, Resulting Numbers: [43, 1] Generated Node #0,4,3: 49:[43, 1] Operation: 74-73=1 Exploring Operation: 74-43=31, Resulting Numbers: [73, 31] Generated Node #0,4,4: 49:[73, 31] Operation: 74-43=31 Moving to Node #0,1 Current State: 49:[86, 73, 37], Operations: ['74/2=37'] Exploring Operation: 73-37=36, Resulting Numbers: [86, 36] Generated Node #0,1,0: 49:[86, 36] Operation: 73-37=36 Exploring Operation: 86-73=13, Resulting Numbers: [37, 13] Generated Node #0,1,1: 49:[37, 13] Operation: 86-73=13 Exploring Operation: 73+37=110, Resulting Numbers: [86, 110] Generated Node #0,1,2: 49:[86, 110] Operation: 73+37=110 Exploring Operation: 86+37=123, Resulting Numbers: [73, 123] Generated Node #0,1,3: 49:[73, 123] Operation: 86+37=123 Exploring Operation: 86-37=49, Resulting Numbers: [73, 49] Generated Node #0,1,4: 49:[73, 49] Operation: 86-37=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[37, 13], Operations: ['74/2=37', '86-73=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,49 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,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,1,4 Current State: 49:[73, 49], Operations: ['74/2=37', '86-37=49'] Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,49 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,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,1,0 Current State: 49:[86, 36], Operations: ['74/2=37', '73-37=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,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,1,2 Current State: 49:[86, 110], Operations: ['74/2=37', '73+37=110'] Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,49 unequal: No Solution Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,49 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,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,1,3 Current State: 49:[73, 123], Operations: ['74/2=37', '86+37=123'] Exploring Operation: 73*123=8979, Resulting Numbers: [8979] 8979,49 unequal: No Solution Exploring Operation: 123-73=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 73+123=196, Resulting Numbers: [196] 196,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 49:[1, 43], Operations: ['74-73=1', '86/2=43'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[43, 1], Operations: ['86/2=43', '74-73=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[2, 61], Operations: ['86-73=13', '74-13=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[13, 37], Operations: ['86-73=13', '74/2=37'] Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,49 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[13, 72], Operations: ['86-73=13', '74-2=72'] Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 13*72=936, Resulting Numbers: [936] 936,49 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[74, 11], Operations: ['86-73=13', '13-2=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,49 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[13, 76], Operations: ['86-73=13', '74+2=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,49 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[1, 84], Operations: ['74-73=1', '86-2=84'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,49 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,49 unequal: No Solution Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[86, 3], Operations: ['74-73=1', '2+1=3'] Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,49 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[2, 85], Operations: ['74-73=1', '86-1=85'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,49 unequal: No Solution Moving to Node #0,4,4 Current State: 49:[73, 31], Operations: ['86/2=43', '74-43=31'] Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,49 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[86, 2], Operations: ['74-73=1', '2*1=2'] Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,49 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[74, 30], Operations: ['86/2=43', '73-43=30'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,49 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[74, 116], Operations: ['86/2=43', '73+43=116'] Exploring Operation: 116-74=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 74+116=190, Resulting Numbers: [190] 190,49 unequal: No Solution Exploring Operation: 74*116=8584, Resulting Numbers: [8584] 8584,49 unequal: No Solution Moving to Node #0,4,1 Current State: 49:[73, 117], Operations: ['86/2=43', '74+43=117'] Exploring Operation: 73+117=190, Resulting Numbers: [190] 190,49 unequal: No Solution Exploring Operation: 73*117=8541, Resulting Numbers: [8541] 8541,49 unequal: No Solution Exploring Operation: 117-73=44, Resulting Numbers: [44] 44,49 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 99, 36, 68, 90 ]
64
[ "99-90=9", "36/9=4", "68-4=64" ]
Current State: 64:[99, 36, 68, 90], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [36, 68, 9] Generated Node #2: [36, 68, 9] from Operation: 99-90=9 Current State: 64:[36, 68, 9], Operations: ['99-90=9'] Exploring Operation: 36/9=4, Resulting Numbers: [68, 4] Generated Node #3: [68, 4] from Operation: 36/9=4 Current State: 64:[68, 4], Operations: ['99-90=9', '36/9=4'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[99, 36, 68, 90], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [36, 68, 9] Generated Node #0,0: 64:[36, 68, 9] Operation: 99-90=9 Moving to Node #0,0 Current State: 64:[36, 68, 9], Operations: ['99-90=9'] Exploring Operation: 68-36=32, Resulting Numbers: [9, 32] Generated Node #0,0,0: 64:[9, 32] Operation: 68-36=32 Moving to Node #0,0,0 Current State: 64:[9, 32], Operations: ['99-90=9', '68-36=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 8, 11, 25, 27 ]
90
[ "8*11=88", "27-25=2", "88+2=90" ]
Current State: 90:[8, 11, 25, 27], Operations: [] Exploring Operation: 8*11=88, Resulting Numbers: [25, 27, 88] Generated Node #2: [25, 27, 88] from Operation: 8*11=88 Current State: 90:[25, 27, 88], Operations: ['8*11=88'] Exploring Operation: 27-25=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 27-25=2 Current State: 90:[88, 2], Operations: ['8*11=88', '27-25=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[8, 11, 25, 27], Operations: [] Exploring Operation: 25-8=17, Resulting Numbers: [11, 27, 17] Generated Node #0,0: 90:[11, 27, 17] Operation: 25-8=17 Exploring Operation: 27-25=2, Resulting Numbers: [8, 11, 2] Generated Node #0,1: 90:[8, 11, 2] Operation: 27-25=2 Exploring Operation: 25-11=14, Resulting Numbers: [8, 27, 14] Generated Node #0,2: 90:[8, 27, 14] Operation: 25-11=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[8, 11, 2], Operations: ['27-25=2'] Exploring Operation: 8+2=10, Resulting Numbers: [11, 10] Generated Node #0,1,0: 90:[11, 10] Operation: 8+2=10 Exploring Operation: 8+11=19, Resulting Numbers: [2, 19] Generated Node #0,1,1: 90:[2, 19] Operation: 8+11=19 Exploring Operation: 11-8=3, Resulting Numbers: [2, 3] Generated Node #0,1,2: 90:[2, 3] Operation: 11-8=3 Moving to Node #0,1,2 Current State: 90:[2, 3], Operations: ['27-25=2', '11-8=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[11, 10], Operations: ['27-25=2', '8+2=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,90 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[2, 19], Operations: ['27-25=2', '8+11=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,90 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[11, 27, 17], Operations: ['25-8=17'] Exploring Operation: 27+17=44, Resulting Numbers: [11, 44] Generated Node #0,0,0: 90:[11, 44] Operation: 27+17=44 Exploring Operation: 27-11=16, Resulting Numbers: [17, 16] Generated Node #0,0,1: 90:[17, 16] Operation: 27-11=16 Exploring Operation: 27-17=10, Resulting Numbers: [11, 10] Generated Node #0,0,2: 90:[11, 10] Operation: 27-17=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[11, 10], Operations: ['25-8=17', '27-17=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[11, 44], Operations: ['25-8=17', '27+17=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[17, 16], Operations: ['25-8=17', '27-11=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[8, 27, 14], Operations: ['25-11=14'] Exploring Operation: 14-8=6, Resulting Numbers: [27, 6] Generated Node #0,2,0: 90:[27, 6] Operation: 14-8=6 Exploring Operation: 27-8=19, Resulting Numbers: [14, 19] Generated Node #0,2,1: 90:[14, 19] Operation: 27-8=19 Exploring Operation: 27-14=13, Resulting Numbers: [8, 13] Generated Node #0,2,2: 90:[8, 13] Operation: 27-14=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[14, 19], Operations: ['25-11=14', '27-8=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,90 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[27, 6], Operations: ['25-11=14', '14-8=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[8, 13], Operations: ['25-11=14', '27-14=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,90 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 19, 12, 69, 23 ]
23
[ "23-19=4", "12/4=3", "69/3=23" ]
Current State: 23:[19, 12, 69, 23], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [12, 69, 4] Generated Node #2: [12, 69, 4] from Operation: 23-19=4 Current State: 23:[12, 69, 4], Operations: ['23-19=4'] Exploring Operation: 12/4=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 12/4=3 Current State: 23:[69, 3], Operations: ['23-19=4', '12/4=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 12, 69, 23], Operations: [] Exploring Operation: 69-23=46, Resulting Numbers: [19, 12, 46] Generated Node #0,0: 23:[19, 12, 46] Operation: 69-23=46 Exploring Operation: 69-12=57, Resulting Numbers: [19, 23, 57] Generated Node #0,1: 23:[19, 23, 57] Operation: 69-12=57 Exploring Operation: 69/23=3, Resulting Numbers: [19, 12, 3] Generated Node #0,2: 23:[19, 12, 3] Operation: 69/23=3 Exploring Operation: 69-19=50, Resulting Numbers: [12, 23, 50] Generated Node #0,3: 23:[12, 23, 50] Operation: 69-19=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[19, 12, 3], Operations: ['69/23=3'] Exploring Operation: 12+3=15, Resulting Numbers: [19, 15] Generated Node #0,2,0: 23:[19, 15] Operation: 12+3=15 Exploring Operation: 19-3=16, Resulting Numbers: [12, 16] Generated Node #0,2,1: 23:[12, 16] Operation: 19-3=16 Exploring Operation: 12*3=36, Resulting Numbers: [19, 36] Generated Node #0,2,2: 23:[19, 36] Operation: 12*3=36 Exploring Operation: 19+3=22, Resulting Numbers: [12, 22] Generated Node #0,2,3: 23:[12, 22] Operation: 19+3=22 Moving to Node #0,2,0 Current State: 23:[19, 15], Operations: ['69/23=3', '12+3=15'] Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,23 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[12, 22], Operations: ['69/23=3', '19+3=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,23 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[19, 36], Operations: ['69/23=3', '12*3=36'] Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,23 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[12, 16], Operations: ['69/23=3', '19-3=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[19, 12, 46], Operations: ['69-23=46'] Exploring Operation: 19+12=31, Resulting Numbers: [46, 31] Generated Node #0,0,0: 23:[46, 31] Operation: 19+12=31 Exploring Operation: 46-12=34, Resulting Numbers: [19, 34] Generated Node #0,0,1: 23:[19, 34] Operation: 46-12=34 Exploring Operation: 46-19=27, Resulting Numbers: [12, 27] Generated Node #0,0,2: 23:[12, 27] Operation: 46-19=27 Exploring Operation: 19-12=7, Resulting Numbers: [46, 7] Generated Node #0,0,3: 23:[46, 7] Operation: 19-12=7 Moving to Node #0,0,1 Current State: 23:[19, 34], Operations: ['69-23=46', '46-12=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,23 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[12, 27], Operations: ['69-23=46', '46-19=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,23 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[46, 31], Operations: ['69-23=46', '19+12=31'] Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,23 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,23 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[46, 7], Operations: ['69-23=46', '19-12=7'] Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,23 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[19, 23, 57], Operations: ['69-12=57'] Exploring Operation: 57-23=34, Resulting Numbers: [19, 34] Generated Node #0,1,0: 23:[19, 34] Operation: 57-23=34 Exploring Operation: 57-19=38, Resulting Numbers: [23, 38] Generated Node #0,1,1: 23:[23, 38] Operation: 57-19=38 Exploring Operation: 57/19=3, Resulting Numbers: [23, 3] Generated Node #0,1,2: 23:[23, 3] Operation: 57/19=3 Exploring Operation: 19+23=42, Resulting Numbers: [57, 42] Generated Node #0,1,3: 23:[57, 42] Operation: 19+23=42 Moving to Node #0,1,0 Current State: 23:[19, 34], Operations: ['69-12=57', '57-23=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,23 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[23, 38], Operations: ['69-12=57', '57-19=38'] Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,23 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[23, 3], Operations: ['69-12=57', '57/19=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[57, 42], Operations: ['69-12=57', '19+23=42'] Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,23 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[12, 23, 50], Operations: ['69-19=50'] Exploring Operation: 12+23=35, Resulting Numbers: [50, 35] Generated Node #0,3,0: 23:[50, 35] Operation: 12+23=35 Exploring Operation: 50-23=27, Resulting Numbers: [12, 27] Generated Node #0,3,1: 23:[12, 27] Operation: 50-23=27 Exploring Operation: 23-12=11, Resulting Numbers: [50, 11] Generated Node #0,3,2: 23:[50, 11] Operation: 23-12=11 Exploring Operation: 50-12=38, Resulting Numbers: [23, 38] Generated Node #0,3,3: 23:[23, 38] Operation: 50-12=38 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[12, 27], Operations: ['69-19=50', '50-23=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,23 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,23 unequal: No Solution No 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: 23:[23, 38], Operations: ['69-19=50', '50-12=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,23 unequal: No Solution No 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: 23:[50, 35], Operations: ['69-19=50', '12+23=35'] Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 50+35=85, Resulting Numbers: [85] 85,23 unequal: No Solution Exploring Operation: 50*35=1750, Resulting Numbers: [1750] 1750,23 unequal: No Solution No 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: 23:[50, 11], Operations: ['69-19=50', '23-12=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 14, 5, 73, 38 ]
16
[ "14+5=19", "73-38=35", "35-19=16" ]
Current State: 16:[14, 5, 73, 38], Operations: [] Exploring Operation: 14+5=19, Resulting Numbers: [73, 38, 19] Generated Node #2: [73, 38, 19] from Operation: 14+5=19 Current State: 16:[73, 38, 19], Operations: ['14+5=19'] Exploring Operation: 73-38=35, Resulting Numbers: [19, 35] Generated Node #3: [19, 35] from Operation: 73-38=35 Current State: 16:[19, 35], Operations: ['14+5=19', '73-38=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[14, 5, 73, 38], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [5, 73, 24] Generated Node #0,0: 16:[5, 73, 24] Operation: 38-14=24 Exploring Operation: 73-38=35, Resulting Numbers: [14, 5, 35] Generated Node #0,1: 16:[14, 5, 35] Operation: 73-38=35 Exploring Operation: 73-14=59, Resulting Numbers: [5, 38, 59] Generated Node #0,2: 16:[5, 38, 59] Operation: 73-14=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[14, 5, 35], Operations: ['73-38=35'] Exploring Operation: 35-14=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 16:[5, 21] Operation: 35-14=21 Exploring Operation: 35/5=7, Resulting Numbers: [14, 7] Generated Node #0,1,1: 16:[14, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [14, 30] Generated Node #0,1,2: 16:[14, 30] Operation: 35-5=30 Moving to Node #0,1,1 Current State: 16:[14, 7], Operations: ['73-38=35', '35/5=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[5, 21], Operations: ['73-38=35', '35-14=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[14, 5, 73, 38], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [14, 5, 35] Generated Node #0,1: 16:[14, 5, 35] Operation: 73-38=35 Moving to Node #0,1 Current State: 16:[14, 5, 35], Operations: ['73-38=35'] Exploring Operation: 35-14=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 16:[5, 21] Operation: 35-14=21 Moving to Node #0,1,0 Current State: 16:[5, 21], Operations: ['73-38=35', '35-14=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 15, 36, 51, 9 ]
89
[ "15*51=765", "36+765=801", "801/9=89" ]
Current State: 89:[15, 36, 51, 9], Operations: [] Exploring Operation: 15*51=765, Resulting Numbers: [36, 9, 765] Generated Node #2: [36, 9, 765] from Operation: 15*51=765 Current State: 89:[36, 9, 765], Operations: ['15*51=765'] Exploring Operation: 36+765=801, Resulting Numbers: [9, 801] Generated Node #3: [9, 801] from Operation: 36+765=801 Current State: 89:[9, 801], Operations: ['15*51=765', '36+765=801'] Exploring Operation: 801/9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[15, 36, 51, 9], Operations: [] Exploring Operation: 15*9=135, Resulting Numbers: [36, 51, 135] Generated Node #0,0: 89:[36, 51, 135] Operation: 15*9=135 Exploring Operation: 15+51=66, Resulting Numbers: [36, 9, 66] Generated Node #0,1: 89:[36, 9, 66] Operation: 15+51=66 Exploring Operation: 15+36=51, Resulting Numbers: [51, 9, 51] Generated Node #0,2: 89:[51, 9, 51] Operation: 15+36=51 Exploring Operation: 15+9=24, Resulting Numbers: [36, 51, 24] Generated Node #0,3: 89:[36, 51, 24] Operation: 15+9=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[36, 51, 135], Operations: ['15*9=135'] Exploring Operation: 36+51=87, Resulting Numbers: [135, 87] Generated Node #0,0,0: 89:[135, 87] Operation: 36+51=87 Exploring Operation: 51-36=15, Resulting Numbers: [135, 15] Generated Node #0,0,1: 89:[135, 15] Operation: 51-36=15 Exploring Operation: 135-51=84, Resulting Numbers: [36, 84] Generated Node #0,0,2: 89:[36, 84] Operation: 135-51=84 Exploring Operation: 135-36=99, Resulting Numbers: [51, 99] Generated Node #0,0,3: 89:[51, 99] Operation: 135-36=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[135, 87], Operations: ['15*9=135', '36+51=87'] Exploring Operation: 135-87=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 135+87=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 135*87=11745, Resulting Numbers: [11745] 11745,89 unequal: No Solution No 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: 89:[51, 99], Operations: ['15*9=135', '135-36=99'] Exploring Operation: 51*99=5049, Resulting Numbers: [5049] 5049,89 unequal: No Solution Exploring Operation: 51+99=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 99-51=48, Resulting Numbers: [48] 48,89 unequal: No Solution No 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: 89:[36, 84], Operations: ['15*9=135', '135-51=84'] Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,89 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,89 unequal: No Solution No 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: 89:[135, 15], Operations: ['15*9=135', '51-36=15'] Exploring Operation: 135/15=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 135*15=2025, Resulting Numbers: [2025] 2025,89 unequal: No Solution Exploring Operation: 135-15=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 135+15=150, Resulting Numbers: [150] 150,89 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: 89:[36, 9, 66], Operations: ['15+51=66'] Exploring Operation: 36+9=45, Resulting Numbers: [66, 45] Generated Node #0,1,0: 89:[66, 45] Operation: 36+9=45 Exploring Operation: 36-9=27, Resulting Numbers: [66, 27] Generated Node #0,1,1: 89:[66, 27] Operation: 36-9=27 Exploring Operation: 66-9=57, Resulting Numbers: [36, 57] Generated Node #0,1,2: 89:[36, 57] Operation: 66-9=57 Exploring Operation: 9+66=75, Resulting Numbers: [36, 75] Generated Node #0,1,3: 89:[36, 75] Operation: 9+66=75 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[66, 45], Operations: ['15+51=66', '36+9=45'] Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,89 unequal: No Solution Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,89 unequal: No Solution No 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: 89:[36, 75], Operations: ['15+51=66', '9+66=75'] Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,89 unequal: No Solution No 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: 89:[66, 27], Operations: ['15+51=66', '36-9=27'] Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,89 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,89 unequal: No Solution No 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: 89:[36, 57], Operations: ['15+51=66', '66-9=57'] Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,89 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,89 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: 89:[51, 9, 51], Operations: ['15+36=51'] Exploring Operation: 51-9=42, Resulting Numbers: [51, 42] Generated Node #0,2,0: 89:[51, 42] Operation: 51-9=42 Exploring Operation: 51+9=60, Resulting Numbers: [51, 60] Generated Node #0,2,1: 89:[51, 60] Operation: 51+9=60 Exploring Operation: 9+51=60, Resulting Numbers: [51, 60] Generated Node #0,2,2: 89:[51, 60] Operation: 9+51=60 Exploring Operation: 51-9=42, Resulting Numbers: [51, 42] Generated Node #0,2,3: 89:[51, 42] Operation: 51-9=42 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[51, 60], Operations: ['15+36=51', '51+9=60'] Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,89 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,89 unequal: No Solution No 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: 89:[51, 60], Operations: ['15+36=51', '9+51=60'] Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,89 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,89 unequal: No Solution No 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: 89:[51, 42], Operations: ['15+36=51', '51-9=42'] Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,89 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,89 unequal: No Solution No 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: 89:[51, 42], Operations: ['15+36=51', '51-9=42'] Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,89 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,89 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: 89:[36, 51, 24], Operations: ['15+9=24'] Exploring Operation: 36+24=60, Resulting Numbers: [51, 60] Generated Node #0,3,0: 89:[51, 60] Operation: 36+24=60 Exploring Operation: 36-24=12, Resulting Numbers: [51, 12] Generated Node #0,3,1: 89:[51, 12] Operation: 36-24=12 Exploring Operation: 51+24=75, Resulting Numbers: [36, 75] Generated Node #0,3,2: 89:[36, 75] Operation: 51+24=75 Exploring Operation: 36+51=87, Resulting Numbers: [24, 87] Generated Node #0,3,3: 89:[24, 87] Operation: 36+51=87 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[51, 60], Operations: ['15+9=24', '36+24=60'] Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,89 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,89 unequal: No Solution No 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: 89:[36, 75], Operations: ['15+9=24', '51+24=75'] Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,89 unequal: No Solution No 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: 89:[24, 87], Operations: ['15+9=24', '36+51=87'] Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,89 unequal: No Solution Exploring Operation: 24*87=2088, Resulting Numbers: [2088] 2088,89 unequal: No Solution Exploring Operation: 24+87=111, Resulting Numbers: [111] 111,89 unequal: No Solution No 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: 89:[51, 12], Operations: ['15+9=24', '36-24=12'] Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,89 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 69, 76, 31, 2 ]
55
[ "76-69=7", "31*2=62", "62-7=55" ]
Current State: 55:[69, 76, 31, 2], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [31, 2, 7] Generated Node #2: [31, 2, 7] from Operation: 76-69=7 Current State: 55:[31, 2, 7], Operations: ['76-69=7'] Exploring Operation: 31*2=62, Resulting Numbers: [7, 62] Generated Node #3: [7, 62] from Operation: 31*2=62 Current State: 55:[7, 62], Operations: ['76-69=7', '31*2=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[69, 76, 31, 2], Operations: [] Exploring Operation: 31*2=62, Resulting Numbers: [69, 76, 62] Generated Node #0,0: 55:[69, 76, 62] Operation: 31*2=62 Exploring Operation: 76-69=7, Resulting Numbers: [31, 2, 7] Generated Node #0,1: 55:[31, 2, 7] Operation: 76-69=7 Exploring Operation: 69-31=38, Resulting Numbers: [76, 2, 38] Generated Node #0,2: 55:[76, 2, 38] Operation: 69-31=38 Exploring Operation: 76-31=45, Resulting Numbers: [69, 2, 45] Generated Node #0,3: 55:[69, 2, 45] Operation: 76-31=45 Moving to Node #0,1 Current State: 55:[31, 2, 7], Operations: ['76-69=7'] Exploring Operation: 31-7=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 55:[2, 24] Operation: 31-7=24 Exploring Operation: 31+7=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 55:[2, 38] Operation: 31+7=38 Exploring Operation: 31*2=62, Resulting Numbers: [7, 62] Generated Node #0,1,2: 55:[7, 62] Operation: 31*2=62 Exploring Operation: 31-2=29, Resulting Numbers: [7, 29] Generated Node #0,1,3: 55:[7, 29] Operation: 31-2=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[7, 62], Operations: ['76-69=7', '31*2=62'] Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,55 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[69, 76, 31, 2], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [31, 2, 7] Generated Node #0,1: 55:[31, 2, 7] Operation: 76-69=7 Moving to Node #0,1 Current State: 55:[31, 2, 7], Operations: ['76-69=7'] Exploring Operation: 31*2=62, Resulting Numbers: [7, 62] Generated Node #0,1,2: 55:[7, 62] Operation: 31*2=62 Moving to Node #0,1,2 Current State: 55:[7, 62], Operations: ['76-69=7', '31*2=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 21, 3, 50, 37 ]
91
[ "21/3=7", "50-37=13", "7*13=91" ]
Current State: 91:[21, 3, 50, 37], Operations: [] Exploring Operation: 21/3=7, Resulting Numbers: [50, 37, 7] Generated Node #2: [50, 37, 7] from Operation: 21/3=7 Current State: 91:[50, 37, 7], Operations: ['21/3=7'] Exploring Operation: 50-37=13, Resulting Numbers: [7, 13] Generated Node #3: [7, 13] from Operation: 50-37=13 Current State: 91:[7, 13], Operations: ['21/3=7', '50-37=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[21, 3, 50, 37], Operations: [] Exploring Operation: 50-21=29, Resulting Numbers: [3, 37, 29] Generated Node #0,0: 91:[3, 37, 29] Operation: 50-21=29 Exploring Operation: 50-37=13, Resulting Numbers: [21, 3, 13] Generated Node #0,1: 91:[21, 3, 13] Operation: 50-37=13 Exploring Operation: 37-21=16, Resulting Numbers: [3, 50, 16] Generated Node #0,2: 91:[3, 50, 16] Operation: 37-21=16 Exploring Operation: 50+37=87, Resulting Numbers: [21, 3, 87] Generated Node #0,3: 91:[21, 3, 87] Operation: 50+37=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[21, 3, 13], Operations: ['50-37=13'] Exploring Operation: 21+3=24, Resulting Numbers: [13, 24] Generated Node #0,1,0: 91:[13, 24] Operation: 21+3=24 Exploring Operation: 21/3=7, Resulting Numbers: [13, 7] Generated Node #0,1,1: 91:[13, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [13, 18] Generated Node #0,1,2: 91:[13, 18] Operation: 21-3=18 Exploring Operation: 21-13=8, Resulting Numbers: [3, 8] Generated Node #0,1,3: 91:[3, 8] Operation: 21-13=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[13, 7], Operations: ['50-37=13', '21/3=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[21, 3, 50, 37], Operations: [] Exploring Operation: 50-37=13, Resulting Numbers: [21, 3, 13] Generated Node #0,1: 91:[21, 3, 13] Operation: 50-37=13 Moving to Node #0,1 Current State: 91:[21, 3, 13], Operations: ['50-37=13'] Exploring Operation: 21/3=7, Resulting Numbers: [13, 7] Generated Node #0,1,1: 91:[13, 7] Operation: 21/3=7 Moving to Node #0,1,1 Current State: 91:[13, 7], Operations: ['50-37=13', '21/3=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic