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 |
|---|---|---|---|---|---|---|---|---|
[
19,
28,
71,
61
] | 19 | [
"28-19=9",
"71-61=10",
"9+10=19"
] | Current State: 19:[19, 28, 71, 61], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [71, 61, 9]
Generated Node #2: [71, 61, 9] from Operation: 28-19=9
Current State: 19:[71, 61, 9], Operations: ['28-19=9']
Exploring Operation: 71-61=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 71-61=10
Current State: 19:[9, 10], Operations: ['28-19=9', '71-61=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[19, 28, 71, 61], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [19, 28, 10]
Generated Node #0,0: 19:[19, 28, 10] Operation: 71-61=10
Exploring Operation: 71-19=52, Resulting Numbers: [28, 61, 52]
Generated Node #0,1: 19:[28, 61, 52] Operation: 71-19=52
Exploring Operation: 61-28=33, Resulting Numbers: [19, 71, 33]
Generated Node #0,2: 19:[19, 71, 33] Operation: 61-28=33
Exploring Operation: 71-28=43, Resulting Numbers: [19, 61, 43]
Generated Node #0,3: 19:[19, 61, 43] Operation: 71-28=43
Moving to Node #0,0
Current State: 19:[19, 28, 10], Operations: ['71-61=10']
Exploring Operation: 19-10=9, Resulting Numbers: [28, 9]
Generated Node #0,0,0: 19:[28, 9] Operation: 19-10=9
Exploring Operation: 28-19=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 19:[10, 9] Operation: 28-19=9
Exploring Operation: 19+10=29, Resulting Numbers: [28, 29]
Generated Node #0,0,2: 19:[28, 29] Operation: 19+10=29
Exploring Operation: 28-10=18, Resulting Numbers: [19, 18]
Generated Node #0,0,3: 19:[19, 18] Operation: 28-10=18
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[19, 18], Operations: ['71-61=10', '28-10=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[28, 9], Operations: ['71-61=10', '19-10=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,19 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[19, 28, 71, 61], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [19, 28, 10]
Generated Node #0,0: 19:[19, 28, 10] Operation: 71-61=10
Moving to Node #0,0
Current State: 19:[19, 28, 10], Operations: ['71-61=10']
Exploring Operation: 19-10=9, Resulting Numbers: [28, 9]
Generated Node #0,0,0: 19:[28, 9] Operation: 19-10=9
Moving to Node #0,0,0
Current State: 19:[28, 9], Operations: ['71-61=10', '19-10=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
54,
10,
83,
2
] | 17 | [
"54+10=64",
"83-2=81",
"81-64=17"
] | Current State: 17:[54, 10, 83, 2], Operations: []
Exploring Operation: 54+10=64, Resulting Numbers: [83, 2, 64]
Generated Node #2: [83, 2, 64] from Operation: 54+10=64
Current State: 17:[83, 2, 64], Operations: ['54+10=64']
Exploring Operation: 83-2=81, Resulting Numbers: [64, 81]
Generated Node #3: [64, 81] from Operation: 83-2=81
Current State: 17:[64, 81], Operations: ['54+10=64', '83-2=81']
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[54, 10, 83, 2], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [10, 2, 29]
Generated Node #0,0: 17:[10, 2, 29] Operation: 83-54=29
Exploring Operation: 54/2=27, Resulting Numbers: [10, 83, 27]
Generated Node #0,1: 17:[10, 83, 27] Operation: 54/2=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[10, 2, 29], Operations: ['83-54=29']
Exploring Operation: 10+2=12, Resulting Numbers: [29, 12]
Generated Node #0,0,0: 17:[29, 12] Operation: 10+2=12
Exploring Operation: 10*2=20, Resulting Numbers: [29, 20]
Generated Node #0,0,1: 17:[29, 20] Operation: 10*2=20
Moving to Node #0,0,1
Current State: 17:[29, 20], Operations: ['83-54=29', '10*2=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[29, 12], Operations: ['83-54=29', '10+2=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[54, 10, 83, 2], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [10, 2, 29]
Generated Node #0,0: 17:[10, 2, 29] Operation: 83-54=29
Moving to Node #0,0
Current State: 17:[10, 2, 29], Operations: ['83-54=29']
Exploring Operation: 10+2=12, Resulting Numbers: [29, 12]
Generated Node #0,0,0: 17:[29, 12] Operation: 10+2=12
Moving to Node #0,0,0
Current State: 17:[29, 12], Operations: ['83-54=29', '10+2=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
4,
32,
38,
18
] | 40 | [
"4+32=36",
"36/18=2",
"38+2=40"
] | Current State: 40:[4, 32, 38, 18], Operations: []
Exploring Operation: 4+32=36, Resulting Numbers: [38, 18, 36]
Generated Node #2: [38, 18, 36] from Operation: 4+32=36
Current State: 40:[38, 18, 36], Operations: ['4+32=36']
Exploring Operation: 36/18=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 36/18=2
Current State: 40:[38, 2], Operations: ['4+32=36', '36/18=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[4, 32, 38, 18], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [38, 18, 8]
Generated Node #0,0: 40:[38, 18, 8] Operation: 32/4=8
Exploring Operation: 38-32=6, Resulting Numbers: [4, 18, 6]
Generated Node #0,1: 40:[4, 18, 6] Operation: 38-32=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[4, 18, 6], Operations: ['38-32=6']
Exploring Operation: 18/6=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 40:[4, 3] Operation: 18/6=3
Exploring Operation: 4+6=10, Resulting Numbers: [18, 10]
Generated Node #0,1,1: 40:[18, 10] Operation: 4+6=10
Moving to Node #0,1,0
Current State: 40:[4, 3], Operations: ['38-32=6', '18/6=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[18, 10], Operations: ['38-32=6', '4+6=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[38, 18, 8], Operations: ['32/4=8']
Exploring Operation: 18-8=10, Resulting Numbers: [38, 10]
Generated Node #0,0,0: 40:[38, 10] Operation: 18-8=10
Exploring Operation: 38-18=20, Resulting Numbers: [8, 20]
Generated Node #0,0,1: 40:[8, 20] Operation: 38-18=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[8, 20], Operations: ['32/4=8', '38-18=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[38, 10], Operations: ['32/4=8', '18-8=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
48,
54,
93
] | 75 | [
"84-48=36",
"93-54=39",
"36+39=75"
] | Current State: 75:[84, 48, 54, 93], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [54, 93, 36]
Generated Node #2: [54, 93, 36] from Operation: 84-48=36
Current State: 75:[54, 93, 36], Operations: ['84-48=36']
Exploring Operation: 93-54=39, Resulting Numbers: [36, 39]
Generated Node #3: [36, 39] from Operation: 93-54=39
Current State: 75:[36, 39], Operations: ['84-48=36', '93-54=39']
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[84, 48, 54, 93], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [84, 93, 6]
Generated Node #0,0: 75:[84, 93, 6] Operation: 54-48=6
Exploring Operation: 84-54=30, Resulting Numbers: [48, 93, 30]
Generated Node #0,1: 75:[48, 93, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 75:[84, 93, 6], Operations: ['54-48=6']
Exploring Operation: 84/6=14, Resulting Numbers: [93, 14]
Generated Node #0,0,0: 75:[93, 14] Operation: 84/6=14
Exploring Operation: 93-84=9, Resulting Numbers: [6, 9]
Generated Node #0,0,1: 75:[6, 9] Operation: 93-84=9
Moving to Node #0,1
Current State: 75:[48, 93, 30], Operations: ['84-54=30']
Exploring Operation: 48+30=78, Resulting Numbers: [93, 78]
Generated Node #0,1,0: 75:[93, 78] Operation: 48+30=78
Exploring Operation: 48-30=18, Resulting Numbers: [93, 18]
Generated Node #0,1,1: 75:[93, 18] Operation: 48-30=18
Moving to Node #0,0,1
Current State: 75:[6, 9], Operations: ['54-48=6', '93-84=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[93, 14], Operations: ['54-48=6', '84/6=14']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[93, 18], Operations: ['84-54=30', '48-30=18']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[84, 48, 54, 93], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [48, 93, 30]
Generated Node #0,1: 75:[48, 93, 30] Operation: 84-54=30
Moving to Node #0,1
Current State: 75:[48, 93, 30], Operations: ['84-54=30']
Exploring Operation: 48-30=18, Resulting Numbers: [93, 18]
Generated Node #0,1,1: 75:[93, 18] Operation: 48-30=18
Moving to Node #0,1,1
Current State: 75:[93, 18], Operations: ['84-54=30', '48-30=18']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
75,
8,
15,
79
] | 88 | [
"75+15=90",
"90-79=11",
"8*11=88"
] | Current State: 88:[75, 8, 15, 79], Operations: []
Exploring Operation: 75+15=90, Resulting Numbers: [8, 79, 90]
Generated Node #2: [8, 79, 90] from Operation: 75+15=90
Current State: 88:[8, 79, 90], Operations: ['75+15=90']
Exploring Operation: 90-79=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 90-79=11
Current State: 88:[8, 11], Operations: ['75+15=90', '90-79=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[75, 8, 15, 79], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [8, 15, 4]
Generated Node #0,0: 88:[8, 15, 4] Operation: 79-75=4
Exploring Operation: 75/15=5, Resulting Numbers: [8, 79, 5]
Generated Node #0,1: 88:[8, 79, 5] Operation: 75/15=5
Exploring Operation: 75+15=90, Resulting Numbers: [8, 79, 90]
Generated Node #0,2: 88:[8, 79, 90] Operation: 75+15=90
Moving to Node #0,0
Current State: 88:[8, 15, 4], Operations: ['79-75=4']
Exploring Operation: 8+15=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 88:[4, 23] Operation: 8+15=23
Exploring Operation: 15-4=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 88:[8, 11] Operation: 15-4=11
Exploring Operation: 15-8=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 88:[4, 7] Operation: 15-8=7
Moving to Node #0,1
Current State: 88:[8, 79, 5], Operations: ['75/15=5']
Exploring Operation: 8-5=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 88:[79, 3] Operation: 8-5=3
Exploring Operation: 79+5=84, Resulting Numbers: [8, 84]
Generated Node #0,1,1: 88:[8, 84] Operation: 79+5=84
Exploring Operation: 8+79=87, Resulting Numbers: [5, 87]
Generated Node #0,1,2: 88:[5, 87] Operation: 8+79=87
Moving to Node #0,2
Current State: 88:[8, 79, 90], Operations: ['75+15=90']
Exploring Operation: 90-8=82, Resulting Numbers: [79, 82]
Generated Node #0,2,0: 88:[79, 82] Operation: 90-8=82
Exploring Operation: 90-79=11, Resulting Numbers: [8, 11]
Generated Node #0,2,1: 88:[8, 11] Operation: 90-79=11
Exploring Operation: 8+79=87, Resulting Numbers: [90, 87]
Generated Node #0,2,2: 88:[90, 87] Operation: 8+79=87
Moving to Node #0,0,1
Current State: 88:[8, 11], Operations: ['79-75=4', '15-4=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[75, 8, 15, 79], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [8, 15, 4]
Generated Node #0,0: 88:[8, 15, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 88:[8, 15, 4], Operations: ['79-75=4']
Exploring Operation: 15-4=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 88:[8, 11] Operation: 15-4=11
Moving to Node #0,0,1
Current State: 88:[8, 11], Operations: ['79-75=4', '15-4=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
96,
11,
23,
63
] | 21 | [
"96+11=107",
"23+63=86",
"107-86=21"
] | Current State: 21:[96, 11, 23, 63], Operations: []
Exploring Operation: 96+11=107, Resulting Numbers: [23, 63, 107]
Generated Node #2: [23, 63, 107] from Operation: 96+11=107
Current State: 21:[23, 63, 107], Operations: ['96+11=107']
Exploring Operation: 23+63=86, Resulting Numbers: [107, 86]
Generated Node #3: [107, 86] from Operation: 23+63=86
Current State: 21:[107, 86], Operations: ['96+11=107', '23+63=86']
Exploring Operation: 107-86=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[96, 11, 23, 63], Operations: []
Exploring Operation: 96-23=73, Resulting Numbers: [11, 63, 73]
Generated Node #0,0: 21:[11, 63, 73] Operation: 96-23=73
Exploring Operation: 96-63=33, Resulting Numbers: [11, 23, 33]
Generated Node #0,1: 21:[11, 23, 33] Operation: 96-63=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[11, 23, 33], Operations: ['96-63=33']
Exploring Operation: 33/11=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 21:[23, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [23, 22]
Generated Node #0,1,1: 21:[23, 22] Operation: 33-11=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[23, 3], Operations: ['96-63=33', '33/11=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[23, 22], Operations: ['96-63=33', '33-11=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[11, 63, 73], Operations: ['96-23=73']
Exploring Operation: 73-63=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 21:[11, 10] Operation: 73-63=10
Exploring Operation: 63-11=52, Resulting Numbers: [73, 52]
Generated Node #0,0,1: 21:[73, 52] Operation: 63-11=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[11, 10], Operations: ['96-23=73', '73-63=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[96, 11, 23, 63], Operations: []
Exploring Operation: 96-23=73, Resulting Numbers: [11, 63, 73]
Generated Node #0,0: 21:[11, 63, 73] Operation: 96-23=73
Moving to Node #0,0
Current State: 21:[11, 63, 73], Operations: ['96-23=73']
Exploring Operation: 73-63=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 21:[11, 10] Operation: 73-63=10
Moving to Node #0,0,0
Current State: 21:[11, 10], Operations: ['96-23=73', '73-63=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
5,
90,
72,
21
] | 15 | [
"90-72=18",
"21-18=3",
"5*3=15"
] | Current State: 15:[5, 90, 72, 21], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [5, 21, 18]
Generated Node #2: [5, 21, 18] from Operation: 90-72=18
Current State: 15:[5, 21, 18], Operations: ['90-72=18']
Exploring Operation: 21-18=3, Resulting Numbers: [5, 3]
Generated Node #3: [5, 3] from Operation: 21-18=3
Current State: 15:[5, 3], Operations: ['90-72=18', '21-18=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[5, 90, 72, 21], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [5, 72, 69]
Generated Node #0,0: 15:[5, 72, 69] Operation: 90-21=69
Exploring Operation: 90-72=18, Resulting Numbers: [5, 21, 18]
Generated Node #0,1: 15:[5, 21, 18] Operation: 90-72=18
Exploring Operation: 90/5=18, Resulting Numbers: [72, 21, 18]
Generated Node #0,2: 15:[72, 21, 18] Operation: 90/5=18
Moving to Node #0,1
Current State: 15:[5, 21, 18], Operations: ['90-72=18']
Exploring Operation: 21-18=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 15:[5, 3] Operation: 21-18=3
Exploring Operation: 21-5=16, Resulting Numbers: [18, 16]
Generated Node #0,1,1: 15:[18, 16] Operation: 21-5=16
Exploring Operation: 18-5=13, Resulting Numbers: [21, 13]
Generated Node #0,1,2: 15:[21, 13] Operation: 18-5=13
Moving to Node #0,2
Current State: 15:[72, 21, 18], Operations: ['90/5=18']
Exploring Operation: 72-18=54, Resulting Numbers: [21, 54]
Generated Node #0,2,0: 15:[21, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [21, 4]
Generated Node #0,2,1: 15:[21, 4] Operation: 72/18=4
Exploring Operation: 72-21=51, Resulting Numbers: [18, 51]
Generated Node #0,2,2: 15:[18, 51] Operation: 72-21=51
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[21, 4], Operations: ['90/5=18', '72/18=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[18, 51], Operations: ['90/5=18', '72-21=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[21, 54], Operations: ['90/5=18', '72-18=54']
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,15 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,15 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: 15:[5, 72, 69], Operations: ['90-21=69']
Exploring Operation: 72-5=67, Resulting Numbers: [69, 67]
Generated Node #0,0,0: 15:[69, 67] Operation: 72-5=67
Exploring Operation: 69-5=64, Resulting Numbers: [72, 64]
Generated Node #0,0,1: 15:[72, 64] Operation: 69-5=64
Exploring Operation: 72-69=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 15:[5, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[5, 3], Operations: ['90-21=69', '72-69=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[5, 90, 72, 21], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [5, 72, 69]
Generated Node #0,0: 15:[5, 72, 69] Operation: 90-21=69
Moving to Node #0,0
Current State: 15:[5, 72, 69], Operations: ['90-21=69']
Exploring Operation: 72-69=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 15:[5, 3] Operation: 72-69=3
Moving to Node #0,0,2
Current State: 15:[5, 3], Operations: ['90-21=69', '72-69=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
99,
42,
15,
30
] | 32 | [
"99-15=84",
"84/42=2",
"30+2=32"
] | Current State: 32:[99, 42, 15, 30], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [42, 30, 84]
Generated Node #2: [42, 30, 84] from Operation: 99-15=84
Current State: 32:[42, 30, 84], Operations: ['99-15=84']
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 84/42=2
Current State: 32:[30, 2], Operations: ['99-15=84', '84/42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[99, 42, 15, 30], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [42, 30, 84]
Generated Node #0,0: 32:[42, 30, 84] Operation: 99-15=84
Exploring Operation: 99-30=69, Resulting Numbers: [42, 15, 69]
Generated Node #0,1: 32:[42, 15, 69] Operation: 99-30=69
Exploring Operation: 42-15=27, Resulting Numbers: [99, 30, 27]
Generated Node #0,2: 32:[99, 30, 27] Operation: 42-15=27
Exploring Operation: 42-30=12, Resulting Numbers: [99, 15, 12]
Generated Node #0,3: 32:[99, 15, 12] Operation: 42-30=12
Exploring Operation: 99-42=57, Resulting Numbers: [15, 30, 57]
Generated Node #0,4: 32:[15, 30, 57] Operation: 99-42=57
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[15, 30, 57], Operations: ['99-42=57']
Exploring Operation: 57-15=42, Resulting Numbers: [30, 42]
Generated Node #0,4,0: 32:[30, 42] Operation: 57-15=42
Exploring Operation: 57-30=27, Resulting Numbers: [15, 27]
Generated Node #0,4,1: 32:[15, 27] Operation: 57-30=27
Exploring Operation: 30-15=15, Resulting Numbers: [57, 15]
Generated Node #0,4,2: 32:[57, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [57, 2]
Generated Node #0,4,3: 32:[57, 2] Operation: 30/15=2
Exploring Operation: 15+30=45, Resulting Numbers: [57, 45]
Generated Node #0,4,4: 32:[57, 45] Operation: 15+30=45
Moving to Node #0,4,1
Current State: 32:[15, 27], Operations: ['99-42=57', '57-30=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[30, 42], Operations: ['99-42=57', '57-15=42']
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,32 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[57, 2], Operations: ['99-42=57', '30/15=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,32 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[57, 15], Operations: ['99-42=57', '30-15=15']
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 57*15=855, Resulting Numbers: [855]
855,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[57, 45], Operations: ['99-42=57', '15+30=45']
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,32 unequal: No Solution
No 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: 32:[42, 15, 69], Operations: ['99-30=69']
Exploring Operation: 69-15=54, Resulting Numbers: [42, 54]
Generated Node #0,1,0: 32:[42, 54] Operation: 69-15=54
Exploring Operation: 15+69=84, Resulting Numbers: [42, 84]
Generated Node #0,1,1: 32:[42, 84] Operation: 15+69=84
Exploring Operation: 42-15=27, Resulting Numbers: [69, 27]
Generated Node #0,1,2: 32:[69, 27] Operation: 42-15=27
Exploring Operation: 42+15=57, Resulting Numbers: [69, 57]
Generated Node #0,1,3: 32:[69, 57] Operation: 42+15=57
Exploring Operation: 69-42=27, Resulting Numbers: [15, 27]
Generated Node #0,1,4: 32:[15, 27] Operation: 69-42=27
Moving to Node #0,1,4
Current State: 32:[15, 27], Operations: ['99-30=69', '69-42=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[42, 54], Operations: ['99-30=69', '69-15=54']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[69, 27], Operations: ['99-30=69', '42-15=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,32 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[42, 84], Operations: ['99-30=69', '15+69=84']
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,32 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,32 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[69, 57], Operations: ['99-30=69', '42+15=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,32 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,32 unequal: No Solution
No 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: 32:[42, 30, 84], Operations: ['99-15=84']
Exploring Operation: 84-30=54, Resulting Numbers: [42, 54]
Generated Node #0,0,0: 32:[42, 54] Operation: 84-30=54
Exploring Operation: 42+30=72, Resulting Numbers: [84, 72]
Generated Node #0,0,1: 32:[84, 72] Operation: 42+30=72
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #0,0,2: 32:[30, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [30, 42]
Generated Node #0,0,3: 32:[30, 42] Operation: 84-42=42
Exploring Operation: 42-30=12, Resulting Numbers: [84, 12]
Generated Node #0,0,4: 32:[84, 12] Operation: 42-30=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[30, 2], Operations: ['99-15=84', '84/42=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,32 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[99, 42, 15, 30], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [42, 30, 84]
Generated Node #0,0: 32:[42, 30, 84] Operation: 99-15=84
Moving to Node #0,0
Current State: 32:[42, 30, 84], Operations: ['99-15=84']
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #0,0,2: 32:[30, 2] Operation: 84/42=2
Moving to Node #0,0,2
Current State: 32:[30, 2], Operations: ['99-15=84', '84/42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
68,
19,
17,
60
] | 64 | [
"68*17=1156",
"60+1156=1216",
"1216/19=64"
] | Current State: 64:[68, 19, 17, 60], Operations: []
Exploring Operation: 68*17=1156, Resulting Numbers: [19, 60, 1156]
Generated Node #2: [19, 60, 1156] from Operation: 68*17=1156
Current State: 64:[19, 60, 1156], Operations: ['68*17=1156']
Exploring Operation: 60+1156=1216, Resulting Numbers: [19, 1216]
Generated Node #3: [19, 1216] from Operation: 60+1156=1216
Current State: 64:[19, 1216], Operations: ['68*17=1156', '60+1156=1216']
Exploring Operation: 1216/19=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[68, 19, 17, 60], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [68, 60, 2]
Generated Node #0,0: 64:[68, 60, 2] Operation: 19-17=2
Exploring Operation: 19+17=36, Resulting Numbers: [68, 60, 36]
Generated Node #0,1: 64:[68, 60, 36] Operation: 19+17=36
Exploring Operation: 68/17=4, Resulting Numbers: [19, 60, 4]
Generated Node #0,2: 64:[19, 60, 4] Operation: 68/17=4
Exploring Operation: 68-60=8, Resulting Numbers: [19, 17, 8]
Generated Node #0,3: 64:[19, 17, 8] Operation: 68-60=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[19, 17, 8], Operations: ['68-60=8']
Exploring Operation: 19-8=11, Resulting Numbers: [17, 11]
Generated Node #0,3,0: 64:[17, 11] Operation: 19-8=11
Exploring Operation: 17-8=9, Resulting Numbers: [19, 9]
Generated Node #0,3,1: 64:[19, 9] Operation: 17-8=9
Exploring Operation: 19+17=36, Resulting Numbers: [8, 36]
Generated Node #0,3,2: 64:[8, 36] Operation: 19+17=36
Exploring Operation: 19-17=2, Resulting Numbers: [8, 2]
Generated Node #0,3,3: 64:[8, 2] Operation: 19-17=2
Moving to Node #0,3,3
Current State: 64:[8, 2], Operations: ['68-60=8', '19-17=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[19, 9], Operations: ['68-60=8', '17-8=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,64 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[17, 11], Operations: ['68-60=8', '19-8=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,64 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[8, 36], Operations: ['68-60=8', '19+17=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[19, 60, 4], Operations: ['68/17=4']
Exploring Operation: 60/4=15, Resulting Numbers: [19, 15]
Generated Node #0,2,0: 64:[19, 15] Operation: 60/4=15
Exploring Operation: 19-4=15, Resulting Numbers: [60, 15]
Generated Node #0,2,1: 64:[60, 15] Operation: 19-4=15
Exploring Operation: 60+4=64, Resulting Numbers: [19, 64]
Generated Node #0,2,2: 64:[19, 64] Operation: 60+4=64
Exploring Operation: 60-19=41, Resulting Numbers: [4, 41]
Generated Node #0,2,3: 64:[4, 41] Operation: 60-19=41
Moving to Node #0,2,2
Current State: 64:[19, 64], Operations: ['68/17=4', '60+4=64']
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,64 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,64 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[19, 15], Operations: ['68/17=4', '60/4=15']
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,64 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[60, 15], Operations: ['68/17=4', '19-4=15']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 60*15=900, Resulting Numbers: [900]
900,64 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[4, 41], Operations: ['68/17=4', '60-19=41']
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,64 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,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,0
Current State: 64:[68, 60, 2], Operations: ['19-17=2']
Exploring Operation: 68-60=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 64:[2, 8] Operation: 68-60=8
Exploring Operation: 68-2=66, Resulting Numbers: [60, 66]
Generated Node #0,0,1: 64:[60, 66] Operation: 68-2=66
Exploring Operation: 60+2=62, Resulting Numbers: [68, 62]
Generated Node #0,0,2: 64:[68, 62] Operation: 60+2=62
Exploring Operation: 68/2=34, Resulting Numbers: [60, 34]
Generated Node #0,0,3: 64:[60, 34] Operation: 68/2=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[2, 8], Operations: ['19-17=2', '68-60=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,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,0,1
Current State: 64:[60, 66], Operations: ['19-17=2', '68-2=66']
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,64 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,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,0,2
Current State: 64:[68, 62], Operations: ['19-17=2', '60+2=62']
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,64 unequal: No Solution
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,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,0,3
Current State: 64:[60, 34], Operations: ['19-17=2', '68/2=34']
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,64 unequal: No Solution
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,64 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[68, 60, 36], Operations: ['19+17=36']
Exploring Operation: 60-36=24, Resulting Numbers: [68, 24]
Generated Node #0,1,0: 64:[68, 24] Operation: 60-36=24
Exploring Operation: 68-60=8, Resulting Numbers: [36, 8]
Generated Node #0,1,1: 64:[36, 8] Operation: 68-60=8
Exploring Operation: 60+36=96, Resulting Numbers: [68, 96]
Generated Node #0,1,2: 64:[68, 96] Operation: 60+36=96
Exploring Operation: 68-36=32, Resulting Numbers: [60, 32]
Generated Node #0,1,3: 64:[60, 32] Operation: 68-36=32
Moving to Node #0,1,1
Current State: 64:[36, 8], Operations: ['19+17=36', '68-60=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,64 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[60, 32], Operations: ['19+17=36', '68-36=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[68, 24], Operations: ['19+17=36', '60-36=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,64 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[68, 96], Operations: ['19+17=36', '60+36=96']
Exploring Operation: 68*96=6528, Resulting Numbers: [6528]
6528,64 unequal: No Solution
Exploring Operation: 68+96=164, Resulting Numbers: [164]
164,64 unequal: No Solution
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
40,
26,
2,
46
] | 50 | [
"46-26=20",
"20/2=10",
"40+10=50"
] | Current State: 50:[40, 26, 2, 46], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [40, 2, 20]
Generated Node #2: [40, 2, 20] from Operation: 46-26=20
Current State: 50:[40, 2, 20], Operations: ['46-26=20']
Exploring Operation: 20/2=10, Resulting Numbers: [40, 10]
Generated Node #3: [40, 10] from Operation: 20/2=10
Current State: 50:[40, 10], Operations: ['46-26=20', '20/2=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[40, 26, 2, 46], Operations: []
Exploring Operation: 40-26=14, Resulting Numbers: [2, 46, 14]
Generated Node #0,0: 50:[2, 46, 14] Operation: 40-26=14
Exploring Operation: 46-40=6, Resulting Numbers: [26, 2, 6]
Generated Node #0,1: 50:[26, 2, 6] Operation: 46-40=6
Moving to Node #0,1
Current State: 50:[26, 2, 6], Operations: ['46-40=6']
Exploring Operation: 26-2=24, Resulting Numbers: [6, 24]
Generated Node #0,1,0: 50:[6, 24] Operation: 26-2=24
Exploring Operation: 6-2=4, Resulting Numbers: [26, 4]
Generated Node #0,1,1: 50:[26, 4] Operation: 6-2=4
Moving to Node #0,0
Current State: 50:[2, 46, 14], Operations: ['40-26=14']
Exploring Operation: 2+46=48, Resulting Numbers: [14, 48]
Generated Node #0,0,0: 50:[14, 48] Operation: 2+46=48
Exploring Operation: 46/2=23, Resulting Numbers: [14, 23]
Generated Node #0,0,1: 50:[14, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[14, 48], Operations: ['40-26=14', '2+46=48']
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[14, 23], Operations: ['40-26=14', '46/2=23']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,50 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: 50:[6, 24], Operations: ['46-40=6', '26-2=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[26, 4], Operations: ['46-40=6', '6-2=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,50 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
50,
6,
58
] | 47 | [
"58-50=8",
"6*8=48",
"48-1=47"
] | Current State: 47:[1, 50, 6, 58], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [1, 6, 8]
Generated Node #2: [1, 6, 8] from Operation: 58-50=8
Current State: 47:[1, 6, 8], Operations: ['58-50=8']
Exploring Operation: 6*8=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 6*8=48
Current State: 47:[1, 48], Operations: ['58-50=8', '6*8=48']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[1, 50, 6, 58], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [1, 50, 52]
Generated Node #0,0: 47:[1, 50, 52] Operation: 58-6=52
Exploring Operation: 50-1=49, Resulting Numbers: [6, 58, 49]
Generated Node #0,1: 47:[6, 58, 49] Operation: 50-1=49
Exploring Operation: 1+6=7, Resulting Numbers: [50, 58, 7]
Generated Node #0,2: 47:[50, 58, 7] Operation: 1+6=7
Exploring Operation: 1*50=50, Resulting Numbers: [6, 58, 50]
Generated Node #0,3: 47:[6, 58, 50] Operation: 1*50=50
Exploring Operation: 58-1=57, Resulting Numbers: [50, 6, 57]
Generated Node #0,4: 47:[50, 6, 57] Operation: 58-1=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[1, 50, 52], Operations: ['58-6=52']
Exploring Operation: 1*52=52, Resulting Numbers: [50, 52]
Generated Node #0,0,0: 47:[50, 52] Operation: 1*52=52
Exploring Operation: 50-1=49, Resulting Numbers: [52, 49]
Generated Node #0,0,1: 47:[52, 49] Operation: 50-1=49
Exploring Operation: 50/1=50, Resulting Numbers: [52, 50]
Generated Node #0,0,2: 47:[52, 50] Operation: 50/1=50
Exploring Operation: 52-1=51, Resulting Numbers: [50, 51]
Generated Node #0,0,3: 47:[50, 51] Operation: 52-1=51
Exploring Operation: 1*50=50, Resulting Numbers: [52, 50]
Generated Node #0,0,4: 47:[52, 50] Operation: 1*50=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[52, 49], Operations: ['58-6=52', '50-1=49']
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,47 unequal: No Solution
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[50, 51], Operations: ['58-6=52', '52-1=51']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[50, 52], Operations: ['58-6=52', '1*52=52']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[52, 50], Operations: ['58-6=52', '50/1=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[52, 50], Operations: ['58-6=52', '1*50=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,47 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: 47:[6, 58, 49], Operations: ['50-1=49']
Exploring Operation: 49-6=43, Resulting Numbers: [58, 43]
Generated Node #0,1,0: 47:[58, 43] Operation: 49-6=43
Exploring Operation: 6+49=55, Resulting Numbers: [58, 55]
Generated Node #0,1,1: 47:[58, 55] Operation: 6+49=55
Exploring Operation: 6+58=64, Resulting Numbers: [49, 64]
Generated Node #0,1,2: 47:[49, 64] Operation: 6+58=64
Exploring Operation: 58-6=52, Resulting Numbers: [49, 52]
Generated Node #0,1,3: 47:[49, 52] Operation: 58-6=52
Exploring Operation: 58-49=9, Resulting Numbers: [6, 9]
Generated Node #0,1,4: 47:[6, 9] Operation: 58-49=9
Moving to Node #0,1,3
Current State: 47:[49, 52], Operations: ['50-1=49', '58-6=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,47 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[58, 43], Operations: ['50-1=49', '49-6=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[58, 55], Operations: ['50-1=49', '6+49=55']
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[49, 64], Operations: ['50-1=49', '6+58=64']
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[6, 9], Operations: ['50-1=49', '58-49=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[50, 58, 7], Operations: ['1+6=7']
Exploring Operation: 58-50=8, Resulting Numbers: [7, 8]
Generated Node #0,2,0: 47:[7, 8] Operation: 58-50=8
Exploring Operation: 50-7=43, Resulting Numbers: [58, 43]
Generated Node #0,2,1: 47:[58, 43] Operation: 50-7=43
Exploring Operation: 58+7=65, Resulting Numbers: [50, 65]
Generated Node #0,2,2: 47:[50, 65] Operation: 58+7=65
Exploring Operation: 50+7=57, Resulting Numbers: [58, 57]
Generated Node #0,2,3: 47:[58, 57] Operation: 50+7=57
Exploring Operation: 58-7=51, Resulting Numbers: [50, 51]
Generated Node #0,2,4: 47:[50, 51] Operation: 58-7=51
Moving to Node #0,2,4
Current State: 47:[50, 51], Operations: ['1+6=7', '58-7=51']
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,47 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[58, 43], Operations: ['1+6=7', '50-7=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,47 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[50, 65], Operations: ['1+6=7', '58+7=65']
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,47 unequal: No Solution
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[58, 57], Operations: ['1+6=7', '50+7=57']
Exploring Operation: 58*57=3306, Resulting Numbers: [3306]
3306,47 unequal: No Solution
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[7, 8], Operations: ['1+6=7', '58-50=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[50, 6, 57], Operations: ['58-1=57']
Exploring Operation: 50-6=44, Resulting Numbers: [57, 44]
Generated Node #0,4,0: 47:[57, 44] Operation: 50-6=44
Exploring Operation: 6+57=63, Resulting Numbers: [50, 63]
Generated Node #0,4,1: 47:[50, 63] Operation: 6+57=63
Exploring Operation: 57-50=7, Resulting Numbers: [6, 7]
Generated Node #0,4,2: 47:[6, 7] Operation: 57-50=7
Exploring Operation: 50+6=56, Resulting Numbers: [57, 56]
Generated Node #0,4,3: 47:[57, 56] Operation: 50+6=56
Exploring Operation: 57-6=51, Resulting Numbers: [50, 51]
Generated Node #0,4,4: 47:[50, 51] Operation: 57-6=51
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 47:[50, 51], Operations: ['58-1=57', '57-6=51']
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,47 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 47:[57, 44], Operations: ['58-1=57', '50-6=44']
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,47 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 47:[50, 63], Operations: ['58-1=57', '6+57=63']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 47:[57, 56], Operations: ['58-1=57', '50+6=56']
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,47 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 47:[6, 7], Operations: ['58-1=57', '57-50=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,47 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: 47:[6, 58, 50], Operations: ['1*50=50']
Exploring Operation: 58-6=52, Resulting Numbers: [50, 52]
Generated Node #0,3,0: 47:[50, 52] Operation: 58-6=52
Exploring Operation: 6+50=56, Resulting Numbers: [58, 56]
Generated Node #0,3,1: 47:[58, 56] Operation: 6+50=56
Exploring Operation: 6+58=64, Resulting Numbers: [50, 64]
Generated Node #0,3,2: 47:[50, 64] Operation: 6+58=64
Exploring Operation: 50-6=44, Resulting Numbers: [58, 44]
Generated Node #0,3,3: 47:[58, 44] Operation: 50-6=44
Exploring Operation: 58-50=8, Resulting Numbers: [6, 8]
Generated Node #0,3,4: 47:[6, 8] Operation: 58-50=8
Moving to Node #0,3,0
Current State: 47:[50, 52], Operations: ['1*50=50', '58-6=52']
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,47 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[58, 44], Operations: ['1*50=50', '50-6=44']
Exploring Operation: 58+44=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 58*44=2552, Resulting Numbers: [2552]
2552,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[58, 56], Operations: ['1*50=50', '6+50=56']
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,47 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[50, 64], Operations: ['1*50=50', '6+58=64']
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,47 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[6, 8], Operations: ['1*50=50', '58-50=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,47 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 |
[
56,
52,
36,
75
] | 78 | [
"56+52=108",
"108/36=3",
"75+3=78"
] | Current State: 78:[56, 52, 36, 75], Operations: []
Exploring Operation: 56+52=108, Resulting Numbers: [36, 75, 108]
Generated Node #2: [36, 75, 108] from Operation: 56+52=108
Current State: 78:[36, 75, 108], Operations: ['56+52=108']
Exploring Operation: 108/36=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 108/36=3
Current State: 78:[75, 3], Operations: ['56+52=108', '108/36=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[56, 52, 36, 75], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [52, 75, 20]
Generated Node #0,0: 78:[52, 75, 20] Operation: 56-36=20
Exploring Operation: 75-56=19, Resulting Numbers: [52, 36, 19]
Generated Node #0,1: 78:[52, 36, 19] Operation: 75-56=19
Exploring Operation: 56-52=4, Resulting Numbers: [36, 75, 4]
Generated Node #0,2: 78:[36, 75, 4] Operation: 56-52=4
Exploring Operation: 52-36=16, Resulting Numbers: [56, 75, 16]
Generated Node #0,3: 78:[56, 75, 16] Operation: 52-36=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[36, 75, 4], Operations: ['56-52=4']
Exploring Operation: 36/4=9, Resulting Numbers: [75, 9]
Generated Node #0,2,0: 78:[75, 9] Operation: 36/4=9
Exploring Operation: 36+4=40, Resulting Numbers: [75, 40]
Generated Node #0,2,1: 78:[75, 40] Operation: 36+4=40
Exploring Operation: 75-36=39, Resulting Numbers: [4, 39]
Generated Node #0,2,2: 78:[4, 39] Operation: 75-36=39
Exploring Operation: 75+4=79, Resulting Numbers: [36, 79]
Generated Node #0,2,3: 78:[36, 79] Operation: 75+4=79
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[4, 39], Operations: ['56-52=4', '75-36=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[75, 40], Operations: ['56-52=4', '36+4=40']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,78 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 78:[36, 79], Operations: ['56-52=4', '75+4=79']
Exploring Operation: 36+79=115, Resulting Numbers: [115]
115,78 unequal: No Solution
Exploring Operation: 36*79=2844, Resulting Numbers: [2844]
2844,78 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[75, 9], Operations: ['56-52=4', '36/4=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[52, 75, 20], Operations: ['56-36=20']
Exploring Operation: 52+20=72, Resulting Numbers: [75, 72]
Generated Node #0,0,0: 78:[75, 72] Operation: 52+20=72
Exploring Operation: 75-52=23, Resulting Numbers: [20, 23]
Generated Node #0,0,1: 78:[20, 23] Operation: 75-52=23
Exploring Operation: 75-20=55, Resulting Numbers: [52, 55]
Generated Node #0,0,2: 78:[52, 55] Operation: 75-20=55
Exploring Operation: 52-20=32, Resulting Numbers: [75, 32]
Generated Node #0,0,3: 78:[75, 32] Operation: 52-20=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[75, 72], Operations: ['56-36=20', '52+20=72']
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,78 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[20, 23], Operations: ['56-36=20', '75-52=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,78 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 78:[75, 32], Operations: ['56-36=20', '52-20=32']
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,78 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[52, 55], Operations: ['56-36=20', '75-20=55']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[52, 36, 19], Operations: ['75-56=19']
Exploring Operation: 52-19=33, Resulting Numbers: [36, 33]
Generated Node #0,1,0: 78:[36, 33] Operation: 52-19=33
Exploring Operation: 52+19=71, Resulting Numbers: [36, 71]
Generated Node #0,1,1: 78:[36, 71] Operation: 52+19=71
Exploring Operation: 52+36=88, Resulting Numbers: [19, 88]
Generated Node #0,1,2: 78:[19, 88] Operation: 52+36=88
Exploring Operation: 52-36=16, Resulting Numbers: [19, 16]
Generated Node #0,1,3: 78:[19, 16] Operation: 52-36=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[36, 33], Operations: ['75-56=19', '52-19=33']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[19, 16], Operations: ['75-56=19', '52-36=16']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,78 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[36, 71], Operations: ['75-56=19', '52+19=71']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,78 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[19, 88], Operations: ['75-56=19', '52+36=88']
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 19*88=1672, Resulting Numbers: [1672]
1672,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[56, 75, 16], Operations: ['52-36=16']
Exploring Operation: 75-56=19, Resulting Numbers: [16, 19]
Generated Node #0,3,0: 78:[16, 19] Operation: 75-56=19
Exploring Operation: 56+16=72, Resulting Numbers: [75, 72]
Generated Node #0,3,1: 78:[75, 72] Operation: 56+16=72
Exploring Operation: 56-16=40, Resulting Numbers: [75, 40]
Generated Node #0,3,2: 78:[75, 40] Operation: 56-16=40
Exploring Operation: 75+16=91, Resulting Numbers: [56, 91]
Generated Node #0,3,3: 78:[56, 91] Operation: 75+16=91
Moving to Node #0,3,2
Current State: 78:[75, 40], Operations: ['52-36=16', '56-16=40']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,78 unequal: No Solution
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[75, 72], Operations: ['52-36=16', '56+16=72']
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,78 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[16, 19], Operations: ['52-36=16', '75-56=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,78 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[56, 91], Operations: ['52-36=16', '75+16=91']
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 56*91=5096, Resulting Numbers: [5096]
5096,78 unequal: No Solution
Exploring Operation: 56+91=147, Resulting Numbers: [147]
147,78 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 |
[
46,
18,
39,
78
] | 62 | [
"46+18=64",
"78/39=2",
"64-2=62"
] | Current State: 62:[46, 18, 39, 78], Operations: []
Exploring Operation: 46+18=64, Resulting Numbers: [39, 78, 64]
Generated Node #2: [39, 78, 64] from Operation: 46+18=64
Current State: 62:[39, 78, 64], Operations: ['46+18=64']
Exploring Operation: 78/39=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 78/39=2
Current State: 62:[64, 2], Operations: ['46+18=64', '78/39=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[46, 18, 39, 78], Operations: []
Exploring Operation: 46+18=64, Resulting Numbers: [39, 78, 64]
Generated Node #0,0: 62:[39, 78, 64] Operation: 46+18=64
Exploring Operation: 78/39=2, Resulting Numbers: [46, 18, 2]
Generated Node #0,1: 62:[46, 18, 2] Operation: 78/39=2
Exploring Operation: 46-18=28, Resulting Numbers: [39, 78, 28]
Generated Node #0,2: 62:[39, 78, 28] Operation: 46-18=28
Exploring Operation: 78-18=60, Resulting Numbers: [46, 39, 60]
Generated Node #0,3: 62:[46, 39, 60] Operation: 78-18=60
Exploring Operation: 78-46=32, Resulting Numbers: [18, 39, 32]
Generated Node #0,4: 62:[18, 39, 32] Operation: 78-46=32
Moving to Node #0,4
Current State: 62:[18, 39, 32], Operations: ['78-46=32']
Exploring Operation: 32-18=14, Resulting Numbers: [39, 14]
Generated Node #0,4,0: 62:[39, 14] Operation: 32-18=14
Exploring Operation: 39-18=21, Resulting Numbers: [32, 21]
Generated Node #0,4,1: 62:[32, 21] Operation: 39-18=21
Exploring Operation: 18+39=57, Resulting Numbers: [32, 57]
Generated Node #0,4,2: 62:[32, 57] Operation: 18+39=57
Exploring Operation: 39-32=7, Resulting Numbers: [18, 7]
Generated Node #0,4,3: 62:[18, 7] Operation: 39-32=7
Exploring Operation: 18+32=50, Resulting Numbers: [39, 50]
Generated Node #0,4,4: 62:[39, 50] Operation: 18+32=50
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 62:[32, 57], Operations: ['78-46=32', '18+39=57']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 62:[32, 21], Operations: ['78-46=32', '39-18=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 62:[18, 7], Operations: ['78-46=32', '39-32=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[39, 14], Operations: ['78-46=32', '32-18=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,62 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 62:[39, 50], Operations: ['78-46=32', '18+32=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,62 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: 62:[46, 39, 60], Operations: ['78-18=60']
Exploring Operation: 46-39=7, Resulting Numbers: [60, 7]
Generated Node #0,3,0: 62:[60, 7] Operation: 46-39=7
Exploring Operation: 60-39=21, Resulting Numbers: [46, 21]
Generated Node #0,3,1: 62:[46, 21] Operation: 60-39=21
Exploring Operation: 46+60=106, Resulting Numbers: [39, 106]
Generated Node #0,3,2: 62:[39, 106] Operation: 46+60=106
Exploring Operation: 60-46=14, Resulting Numbers: [39, 14]
Generated Node #0,3,3: 62:[39, 14] Operation: 60-46=14
Exploring Operation: 46+39=85, Resulting Numbers: [60, 85]
Generated Node #0,3,4: 62:[60, 85] Operation: 46+39=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[60, 7], Operations: ['78-18=60', '46-39=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[39, 14], Operations: ['78-18=60', '60-46=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,62 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[46, 21], Operations: ['78-18=60', '60-39=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,62 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 62:[60, 85], Operations: ['78-18=60', '46+39=85']
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 60+85=145, Resulting Numbers: [145]
145,62 unequal: No Solution
Exploring Operation: 60*85=5100, Resulting Numbers: [5100]
5100,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[39, 106], Operations: ['78-18=60', '46+60=106']
Exploring Operation: 39+106=145, Resulting Numbers: [145]
145,62 unequal: No Solution
Exploring Operation: 106-39=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 39*106=4134, Resulting Numbers: [4134]
4134,62 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: 62:[39, 78, 64], Operations: ['46+18=64']
Exploring Operation: 78-64=14, Resulting Numbers: [39, 14]
Generated Node #0,0,0: 62:[39, 14] Operation: 78-64=14
Exploring Operation: 78-39=39, Resulting Numbers: [64, 39]
Generated Node #0,0,1: 62:[64, 39] Operation: 78-39=39
Exploring Operation: 39+78=117, Resulting Numbers: [64, 117]
Generated Node #0,0,2: 62:[64, 117] Operation: 39+78=117
Exploring Operation: 64-39=25, Resulting Numbers: [78, 25]
Generated Node #0,0,3: 62:[78, 25] Operation: 64-39=25
Exploring Operation: 78/39=2, Resulting Numbers: [64, 2]
Generated Node #0,0,4: 62:[64, 2] Operation: 78/39=2
Moving to Node #0,2
Current State: 62:[39, 78, 28], Operations: ['46-18=28']
Exploring Operation: 78/39=2, Resulting Numbers: [28, 2]
Generated Node #0,2,0: 62:[28, 2] Operation: 78/39=2
Exploring Operation: 39-28=11, Resulting Numbers: [78, 11]
Generated Node #0,2,1: 62:[78, 11] Operation: 39-28=11
Exploring Operation: 39+28=67, Resulting Numbers: [78, 67]
Generated Node #0,2,2: 62:[78, 67] Operation: 39+28=67
Exploring Operation: 78-39=39, Resulting Numbers: [28, 39]
Generated Node #0,2,3: 62:[28, 39] Operation: 78-39=39
Exploring Operation: 78-28=50, Resulting Numbers: [39, 50]
Generated Node #0,2,4: 62:[39, 50] Operation: 78-28=50
Moving to Node #0,1
Current State: 62:[46, 18, 2], Operations: ['78/39=2']
Exploring Operation: 46+18=64, Resulting Numbers: [2, 64]
Generated Node #0,1,0: 62:[2, 64] Operation: 46+18=64
Exploring Operation: 46-18=28, Resulting Numbers: [2, 28]
Generated Node #0,1,1: 62:[2, 28] Operation: 46-18=28
Exploring Operation: 18/2=9, Resulting Numbers: [46, 9]
Generated Node #0,1,2: 62:[46, 9] Operation: 18/2=9
Exploring Operation: 18*2=36, Resulting Numbers: [46, 36]
Generated Node #0,1,3: 62:[46, 36] Operation: 18*2=36
Exploring Operation: 46/2=23, Resulting Numbers: [18, 23]
Generated Node #0,1,4: 62:[18, 23] Operation: 46/2=23
Moving to Node #0,0,4
Current State: 62:[64, 2], Operations: ['46+18=64', '78/39=2']
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[46, 18, 39, 78], Operations: []
Exploring Operation: 46+18=64, Resulting Numbers: [39, 78, 64]
Generated Node #0,0: 62:[39, 78, 64] Operation: 46+18=64
Moving to Node #0,0
Current State: 62:[39, 78, 64], Operations: ['46+18=64']
Exploring Operation: 78/39=2, Resulting Numbers: [64, 2]
Generated Node #0,0,4: 62:[64, 2] Operation: 78/39=2
Moving to Node #0,0,4
Current State: 62:[64, 2], Operations: ['46+18=64', '78/39=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
78,
10,
87,
90
] | 33 | [
"90-78=12",
"10*12=120",
"120-87=33"
] | Current State: 33:[78, 10, 87, 90], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [10, 87, 12]
Generated Node #2: [10, 87, 12] from Operation: 90-78=12
Current State: 33:[10, 87, 12], Operations: ['90-78=12']
Exploring Operation: 10*12=120, Resulting Numbers: [87, 120]
Generated Node #3: [87, 120] from Operation: 10*12=120
Current State: 33:[87, 120], Operations: ['90-78=12', '10*12=120']
Exploring Operation: 120-87=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[78, 10, 87, 90], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [78, 87, 9]
Generated Node #0,0: 33:[78, 87, 9] Operation: 90/10=9
Exploring Operation: 90-78=12, Resulting Numbers: [10, 87, 12]
Generated Node #0,1: 33:[10, 87, 12] Operation: 90-78=12
Exploring Operation: 87-78=9, Resulting Numbers: [10, 90, 9]
Generated Node #0,2: 33:[10, 90, 9] Operation: 87-78=9
Exploring Operation: 90-87=3, Resulting Numbers: [78, 10, 3]
Generated Node #0,3: 33:[78, 10, 3] Operation: 90-87=3
Moving to Node #0,3
Current State: 33:[78, 10, 3], Operations: ['90-87=3']
Exploring Operation: 78-10=68, Resulting Numbers: [3, 68]
Generated Node #0,3,0: 33:[3, 68] Operation: 78-10=68
Exploring Operation: 78/3=26, Resulting Numbers: [10, 26]
Generated Node #0,3,1: 33:[10, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [10, 75]
Generated Node #0,3,2: 33:[10, 75] Operation: 78-3=75
Exploring Operation: 10+3=13, Resulting Numbers: [78, 13]
Generated Node #0,3,3: 33:[78, 13] Operation: 10+3=13
Moving to Node #0,1
Current State: 33:[10, 87, 12], Operations: ['90-78=12']
Exploring Operation: 87-10=77, Resulting Numbers: [12, 77]
Generated Node #0,1,0: 33:[12, 77] Operation: 87-10=77
Exploring Operation: 87-12=75, Resulting Numbers: [10, 75]
Generated Node #0,1,1: 33:[10, 75] Operation: 87-12=75
Exploring Operation: 10+87=97, Resulting Numbers: [12, 97]
Generated Node #0,1,2: 33:[12, 97] Operation: 10+87=97
Exploring Operation: 12-10=2, Resulting Numbers: [87, 2]
Generated Node #0,1,3: 33:[87, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[10, 75], Operations: ['90-78=12', '87-12=75']
Exploring Operation: 10*75=750, Resulting Numbers: [750]
750,33 unequal: No Solution
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,33 unequal: No Solution
No 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: 33:[12, 77], Operations: ['90-78=12', '87-10=77']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,33 unequal: No Solution
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,33 unequal: No Solution
No 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: 33:[87, 2], Operations: ['90-78=12', '12-10=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,33 unequal: No Solution
No 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: 33:[12, 97], Operations: ['90-78=12', '10+87=97']
Exploring Operation: 12*97=1164, Resulting Numbers: [1164]
1164,33 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 12+97=109, Resulting Numbers: [109]
109,33 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: 33:[10, 90, 9], Operations: ['87-78=9']
Exploring Operation: 90-10=80, Resulting Numbers: [9, 80]
Generated Node #0,2,0: 33:[9, 80] Operation: 90-10=80
Exploring Operation: 90-9=81, Resulting Numbers: [10, 81]
Generated Node #0,2,1: 33:[10, 81] Operation: 90-9=81
Exploring Operation: 90/9=10, Resulting Numbers: [10, 10]
Generated Node #0,2,2: 33:[10, 10] Operation: 90/9=10
Exploring Operation: 90/10=9, Resulting Numbers: [9, 9]
Generated Node #0,2,3: 33:[9, 9] Operation: 90/10=9
Moving to Node #0,0
Current State: 33:[78, 87, 9], Operations: ['90/10=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87, 87]
Generated Node #0,0,0: 33:[87, 87] Operation: 78+9=87
Exploring Operation: 78-9=69, Resulting Numbers: [87, 69]
Generated Node #0,0,1: 33:[87, 69] Operation: 78-9=69
Exploring Operation: 87-78=9, Resulting Numbers: [9, 9]
Generated Node #0,0,2: 33:[9, 9] Operation: 87-78=9
Exploring Operation: 87-9=78, Resulting Numbers: [78, 78]
Generated Node #0,0,3: 33:[78, 78] Operation: 87-9=78
Moving to Node #0,2,2
Current State: 33:[10, 10], Operations: ['87-78=9', '90/9=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[9, 9], Operations: ['87-78=9', '90/10=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[9, 9], Operations: ['90/10=9', '87-78=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[10, 26], Operations: ['90-87=3', '78/3=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,33 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[3, 68], Operations: ['90-87=3', '78-10=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,33 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[10, 75], Operations: ['90-87=3', '78-3=75']
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 10*75=750, Resulting Numbers: [750]
750,33 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[78, 13], Operations: ['90-87=3', '10+3=13']
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,33 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[9, 80], Operations: ['87-78=9', '90-10=80']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Exploring Operation: 9*80=720, Resulting Numbers: [720]
720,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[10, 81], Operations: ['87-78=9', '90-9=81']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Exploring Operation: 10*81=810, Resulting Numbers: [810]
810,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[78, 78], Operations: ['90/10=9', '87-9=78']
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,33 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[87, 69], Operations: ['90/10=9', '78-9=69']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,33 unequal: No Solution
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[87, 87], Operations: ['90/10=9', '78+9=87']
Exploring Operation: 87*87=7569, Resulting Numbers: [7569]
7569,33 unequal: No Solution
Exploring Operation: 87-87=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 87/87=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 87+87=174, Resulting Numbers: [174]
174,33 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
28,
2,
4
] | 50 | [
"10-4=6",
"28*2=56",
"56-6=50"
] | Current State: 50:[10, 28, 2, 4], Operations: []
Exploring Operation: 10-4=6, Resulting Numbers: [28, 2, 6]
Generated Node #2: [28, 2, 6] from Operation: 10-4=6
Current State: 50:[28, 2, 6], Operations: ['10-4=6']
Exploring Operation: 28*2=56, Resulting Numbers: [6, 56]
Generated Node #3: [6, 56] from Operation: 28*2=56
Current State: 50:[6, 56], Operations: ['10-4=6', '28*2=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[10, 28, 2, 4], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [10, 28, 2]
Generated Node #0,0: 50:[10, 28, 2] Operation: 4-2=2
Exploring Operation: 28-2=26, Resulting Numbers: [10, 4, 26]
Generated Node #0,1: 50:[10, 4, 26] Operation: 28-2=26
Exploring Operation: 28-4=24, Resulting Numbers: [10, 2, 24]
Generated Node #0,2: 50:[10, 2, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [10, 2, 7]
Generated Node #0,3: 50:[10, 2, 7] Operation: 28/4=7
Moving to Node #0,2
Current State: 50:[10, 2, 24], Operations: ['28-4=24']
Exploring Operation: 2*24=48, Resulting Numbers: [10, 48]
Generated Node #0,2,0: 50:[10, 48] Operation: 2*24=48
Exploring Operation: 24/2=12, Resulting Numbers: [10, 12]
Generated Node #0,2,1: 50:[10, 12] Operation: 24/2=12
Exploring Operation: 10/2=5, Resulting Numbers: [24, 5]
Generated Node #0,2,2: 50:[24, 5] Operation: 10/2=5
Exploring Operation: 2+24=26, Resulting Numbers: [10, 26]
Generated Node #0,2,3: 50:[10, 26] Operation: 2+24=26
Moving to Node #0,3
Current State: 50:[10, 2, 7], Operations: ['28/4=7']
Exploring Operation: 10-7=3, Resulting Numbers: [2, 3]
Generated Node #0,3,0: 50:[2, 3] Operation: 10-7=3
Exploring Operation: 10/2=5, Resulting Numbers: [7, 5]
Generated Node #0,3,1: 50:[7, 5] Operation: 10/2=5
Exploring Operation: 7-2=5, Resulting Numbers: [10, 5]
Generated Node #0,3,2: 50:[10, 5] Operation: 7-2=5
Exploring Operation: 2+7=9, Resulting Numbers: [10, 9]
Generated Node #0,3,3: 50:[10, 9] Operation: 2+7=9
Moving to Node #0,1
Current State: 50:[10, 4, 26], Operations: ['28-2=26']
Exploring Operation: 4+26=30, Resulting Numbers: [10, 30]
Generated Node #0,1,0: 50:[10, 30] Operation: 4+26=30
Exploring Operation: 10-4=6, Resulting Numbers: [26, 6]
Generated Node #0,1,1: 50:[26, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [26, 14]
Generated Node #0,1,2: 50:[26, 14] Operation: 10+4=14
Exploring Operation: 26-4=22, Resulting Numbers: [10, 22]
Generated Node #0,1,3: 50:[10, 22] Operation: 26-4=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[26, 6], Operations: ['28-2=26', '10-4=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[10, 22], Operations: ['28-2=26', '26-4=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[10, 30], Operations: ['28-2=26', '4+26=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,50 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[26, 14], Operations: ['28-2=26', '10+4=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 50:[10, 28, 2], Operations: ['4-2=2']
Exploring Operation: 28/2=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 50:[10, 14] Operation: 28/2=14
Exploring Operation: 10/2=5, Resulting Numbers: [28, 5]
Generated Node #0,0,1: 50:[28, 5] Operation: 10/2=5
Exploring Operation: 28-2=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 50:[10, 26] Operation: 28-2=26
Exploring Operation: 10+2=12, Resulting Numbers: [28, 12]
Generated Node #0,0,3: 50:[28, 12] Operation: 10+2=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[10, 26], Operations: ['4-2=2', '28-2=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,50 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[28, 5], Operations: ['4-2=2', '10/2=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,50 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[10, 14], Operations: ['4-2=2', '28/2=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[28, 12], Operations: ['4-2=2', '10+2=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 50:[10, 5], Operations: ['28/4=7', '7-2=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[10, 28, 2, 4], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [10, 2, 7]
Generated Node #0,3: 50:[10, 2, 7] Operation: 28/4=7
Moving to Node #0,3
Current State: 50:[10, 2, 7], Operations: ['28/4=7']
Exploring Operation: 7-2=5, Resulting Numbers: [10, 5]
Generated Node #0,3,2: 50:[10, 5] Operation: 7-2=5
Moving to Node #0,3,2
Current State: 50:[10, 5], Operations: ['28/4=7', '7-2=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
19,
66,
99,
91
] | 77 | [
"19+66=85",
"99-91=8",
"85-8=77"
] | Current State: 77:[19, 66, 99, 91], Operations: []
Exploring Operation: 19+66=85, Resulting Numbers: [99, 91, 85]
Generated Node #2: [99, 91, 85] from Operation: 19+66=85
Current State: 77:[99, 91, 85], Operations: ['19+66=85']
Exploring Operation: 99-91=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 99-91=8
Current State: 77:[85, 8], Operations: ['19+66=85', '99-91=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[19, 66, 99, 91], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [19, 66, 8]
Generated Node #0,0: 77:[19, 66, 8] Operation: 99-91=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[19, 66, 8], Operations: ['99-91=8']
Exploring Operation: 19+66=85, Resulting Numbers: [8, 85]
Generated Node #0,0,0: 77:[8, 85] Operation: 19+66=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[8, 85], Operations: ['99-91=8', '19+66=85']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[19, 66, 99, 91], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [19, 66, 8]
Generated Node #0,0: 77:[19, 66, 8] Operation: 99-91=8
Moving to Node #0,0
Current State: 77:[19, 66, 8], Operations: ['99-91=8']
Exploring Operation: 19+66=85, Resulting Numbers: [8, 85]
Generated Node #0,0,0: 77:[8, 85] Operation: 19+66=85
Moving to Node #0,0,0
Current State: 77:[8, 85], Operations: ['99-91=8', '19+66=85']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
26,
21,
78,
63
] | 39 | [
"78/26=3",
"63-21=42",
"42-3=39"
] | Current State: 39:[26, 21, 78, 63], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [21, 63, 3]
Generated Node #2: [21, 63, 3] from Operation: 78/26=3
Current State: 39:[21, 63, 3], Operations: ['78/26=3']
Exploring Operation: 63-21=42, Resulting Numbers: [3, 42]
Generated Node #3: [3, 42] from Operation: 63-21=42
Current State: 39:[3, 42], Operations: ['78/26=3', '63-21=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 21, 78, 63], Operations: []
Exploring Operation: 78-26=52, Resulting Numbers: [21, 63, 52]
Generated Node #0,0: 39:[21, 63, 52] Operation: 78-26=52
Exploring Operation: 63/21=3, Resulting Numbers: [26, 78, 3]
Generated Node #0,1: 39:[26, 78, 3] Operation: 63/21=3
Exploring Operation: 78-63=15, Resulting Numbers: [26, 21, 15]
Generated Node #0,2: 39:[26, 21, 15] Operation: 78-63=15
Exploring Operation: 78/26=3, Resulting Numbers: [21, 63, 3]
Generated Node #0,3: 39:[21, 63, 3] Operation: 78/26=3
Exploring Operation: 63-26=37, Resulting Numbers: [21, 78, 37]
Generated Node #0,4: 39:[21, 78, 37] Operation: 63-26=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[26, 21, 15], Operations: ['78-63=15']
Exploring Operation: 26+21=47, Resulting Numbers: [15, 47]
Generated Node #0,2,0: 39:[15, 47] Operation: 26+21=47
Exploring Operation: 21+15=36, Resulting Numbers: [26, 36]
Generated Node #0,2,1: 39:[26, 36] Operation: 21+15=36
Exploring Operation: 26+15=41, Resulting Numbers: [21, 41]
Generated Node #0,2,2: 39:[21, 41] Operation: 26+15=41
Exploring Operation: 26-15=11, Resulting Numbers: [21, 11]
Generated Node #0,2,3: 39:[21, 11] Operation: 26-15=11
Exploring Operation: 26-21=5, Resulting Numbers: [15, 5]
Generated Node #0,2,4: 39:[15, 5] Operation: 26-21=5
Moving to Node #0,2,4
Current State: 39:[15, 5], Operations: ['78-63=15', '26-21=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[21, 41], Operations: ['78-63=15', '26+15=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[15, 47], Operations: ['78-63=15', '26+21=47']
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,39 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[21, 11], Operations: ['78-63=15', '26-15=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,39 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[26, 36], Operations: ['78-63=15', '21+15=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,39 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[21, 63, 3], Operations: ['78/26=3']
Exploring Operation: 21/3=7, Resulting Numbers: [63, 7]
Generated Node #0,3,0: 39:[63, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [63, 18]
Generated Node #0,3,1: 39:[63, 18] Operation: 21-3=18
Exploring Operation: 63/21=3, Resulting Numbers: [3, 3]
Generated Node #0,3,2: 39:[3, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [3, 42]
Generated Node #0,3,3: 39:[3, 42] Operation: 63-21=42
Exploring Operation: 63/3=21, Resulting Numbers: [21, 21]
Generated Node #0,3,4: 39:[21, 21] Operation: 63/3=21
Moving to Node #0,3,2
Current State: 39:[3, 3], Operations: ['78/26=3', '63/21=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[3, 42], Operations: ['78/26=3', '63-21=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[26, 21, 78, 63], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [21, 63, 3]
Generated Node #0,3: 39:[21, 63, 3] Operation: 78/26=3
Moving to Node #0,3
Current State: 39:[21, 63, 3], Operations: ['78/26=3']
Exploring Operation: 63-21=42, Resulting Numbers: [3, 42]
Generated Node #0,3,3: 39:[3, 42] Operation: 63-21=42
Moving to Node #0,3,3
Current State: 39:[3, 42], Operations: ['78/26=3', '63-21=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
14,
19,
8,
89
] | 42 | [
"14*8=112",
"89-19=70",
"112-70=42"
] | Current State: 42:[14, 19, 8, 89], Operations: []
Exploring Operation: 14*8=112, Resulting Numbers: [19, 89, 112]
Generated Node #2: [19, 89, 112] from Operation: 14*8=112
Current State: 42:[19, 89, 112], Operations: ['14*8=112']
Exploring Operation: 89-19=70, Resulting Numbers: [112, 70]
Generated Node #3: [112, 70] from Operation: 89-19=70
Current State: 42:[112, 70], Operations: ['14*8=112', '89-19=70']
Exploring Operation: 112-70=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[14, 19, 8, 89], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [19, 89, 6]
Generated Node #0,0: 42:[19, 89, 6] Operation: 14-8=6
Exploring Operation: 89-8=81, Resulting Numbers: [14, 19, 81]
Generated Node #0,1: 42:[14, 19, 81] Operation: 89-8=81
Exploring Operation: 89-19=70, Resulting Numbers: [14, 8, 70]
Generated Node #0,2: 42:[14, 8, 70] Operation: 89-19=70
Exploring Operation: 19-14=5, Resulting Numbers: [8, 89, 5]
Generated Node #0,3: 42:[8, 89, 5] Operation: 19-14=5
Exploring Operation: 89-14=75, Resulting Numbers: [19, 8, 75]
Generated Node #0,4: 42:[19, 8, 75] Operation: 89-14=75
Moving to Node #0,2
Current State: 42:[14, 8, 70], Operations: ['89-19=70']
Exploring Operation: 70-14=56, Resulting Numbers: [8, 56]
Generated Node #0,2,0: 42:[8, 56] Operation: 70-14=56
Exploring Operation: 14-8=6, Resulting Numbers: [70, 6]
Generated Node #0,2,1: 42:[70, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [70, 22]
Generated Node #0,2,2: 42:[70, 22] Operation: 14+8=22
Exploring Operation: 70/14=5, Resulting Numbers: [8, 5]
Generated Node #0,2,3: 42:[8, 5] Operation: 70/14=5
Exploring Operation: 70-8=62, Resulting Numbers: [14, 62]
Generated Node #0,2,4: 42:[14, 62] Operation: 70-8=62
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[8, 5], Operations: ['89-19=70', '70/14=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,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,2,0
Current State: 42:[8, 56], Operations: ['89-19=70', '70-14=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,42 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,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,2,4
Current State: 42:[14, 62], Operations: ['89-19=70', '70-8=62']
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,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,2,1
Current State: 42:[70, 6], Operations: ['89-19=70', '14-8=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,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,2,2
Current State: 42:[70, 22], Operations: ['89-19=70', '14+8=22']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,42 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 42:[19, 8, 75], Operations: ['89-14=75']
Exploring Operation: 19+8=27, Resulting Numbers: [75, 27]
Generated Node #0,4,0: 42:[75, 27] Operation: 19+8=27
Exploring Operation: 75-19=56, Resulting Numbers: [8, 56]
Generated Node #0,4,1: 42:[8, 56] Operation: 75-19=56
Exploring Operation: 19-8=11, Resulting Numbers: [75, 11]
Generated Node #0,4,2: 42:[75, 11] Operation: 19-8=11
Exploring Operation: 75-8=67, Resulting Numbers: [19, 67]
Generated Node #0,4,3: 42:[19, 67] Operation: 75-8=67
Exploring Operation: 8+75=83, Resulting Numbers: [19, 83]
Generated Node #0,4,4: 42:[19, 83] Operation: 8+75=83
Moving to Node #0,1
Current State: 42:[14, 19, 81], Operations: ['89-8=81']
Exploring Operation: 14+81=95, Resulting Numbers: [19, 95]
Generated Node #0,1,0: 42:[19, 95] Operation: 14+81=95
Exploring Operation: 81-14=67, Resulting Numbers: [19, 67]
Generated Node #0,1,1: 42:[19, 67] Operation: 81-14=67
Exploring Operation: 19-14=5, Resulting Numbers: [81, 5]
Generated Node #0,1,2: 42:[81, 5] Operation: 19-14=5
Exploring Operation: 81-19=62, Resulting Numbers: [14, 62]
Generated Node #0,1,3: 42:[14, 62] Operation: 81-19=62
Exploring Operation: 14+19=33, Resulting Numbers: [81, 33]
Generated Node #0,1,4: 42:[81, 33] Operation: 14+19=33
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[14, 62], Operations: ['89-8=81', '81-19=62']
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[19, 67], Operations: ['89-8=81', '81-14=67']
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,42 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[81, 5], Operations: ['89-8=81', '19-14=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[81, 33], Operations: ['89-8=81', '14+19=33']
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[19, 95], Operations: ['89-8=81', '14+81=95']
Exploring Operation: 19+95=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 19*95=1805, Resulting Numbers: [1805]
1805,42 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 42:[19, 89, 6], Operations: ['14-8=6']
Exploring Operation: 89+6=95, Resulting Numbers: [19, 95]
Generated Node #0,0,0: 42:[19, 95] Operation: 89+6=95
Exploring Operation: 89-6=83, Resulting Numbers: [19, 83]
Generated Node #0,0,1: 42:[19, 83] Operation: 89-6=83
Exploring Operation: 19+6=25, Resulting Numbers: [89, 25]
Generated Node #0,0,2: 42:[89, 25] Operation: 19+6=25
Exploring Operation: 19-6=13, Resulting Numbers: [89, 13]
Generated Node #0,0,3: 42:[89, 13] Operation: 19-6=13
Exploring Operation: 89-19=70, Resulting Numbers: [6, 70]
Generated Node #0,0,4: 42:[6, 70] Operation: 89-19=70
Moving to Node #0,3
Current State: 42:[8, 89, 5], Operations: ['19-14=5']
Exploring Operation: 8+5=13, Resulting Numbers: [89, 13]
Generated Node #0,3,0: 42:[89, 13] Operation: 8+5=13
Exploring Operation: 89-5=84, Resulting Numbers: [8, 84]
Generated Node #0,3,1: 42:[8, 84] Operation: 89-5=84
Exploring Operation: 8-5=3, Resulting Numbers: [89, 3]
Generated Node #0,3,2: 42:[89, 3] Operation: 8-5=3
Exploring Operation: 8*5=40, Resulting Numbers: [89, 40]
Generated Node #0,3,3: 42:[89, 40] Operation: 8*5=40
Exploring Operation: 89-8=81, Resulting Numbers: [5, 81]
Generated Node #0,3,4: 42:[5, 81] Operation: 89-8=81
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 42:[5, 81], Operations: ['19-14=5', '89-8=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,42 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[8, 84], Operations: ['19-14=5', '89-5=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,42 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[89, 3], Operations: ['19-14=5', '8-5=3']
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,42 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[89, 13], Operations: ['19-14=5', '8+5=13']
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,42 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[89, 40], Operations: ['19-14=5', '8*5=40']
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,42 unequal: No Solution
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 42:[8, 56], Operations: ['89-14=75', '75-19=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[19, 67], Operations: ['89-14=75', '75-8=67']
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,42 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[6, 70], Operations: ['14-8=6', '89-19=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[75, 11], Operations: ['89-14=75', '19-8=11']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[75, 27], Operations: ['89-14=75', '19+8=27']
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,42 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[19, 83], Operations: ['14-8=6', '89-6=83']
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,42 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[19, 83], Operations: ['89-14=75', '8+75=83']
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,42 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[89, 13], Operations: ['14-8=6', '19-6=13']
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,42 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[89, 25], Operations: ['14-8=6', '19+6=25']
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 89+25=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 89*25=2225, Resulting Numbers: [2225]
2225,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[19, 95], Operations: ['14-8=6', '89+6=95']
Exploring Operation: 19*95=1805, Resulting Numbers: [1805]
1805,42 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 19+95=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
62,
9,
15,
59
] | 12 | [
"62-59=3",
"9*3=27",
"27-15=12"
] | Current State: 12:[62, 9, 15, 59], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [9, 15, 3]
Generated Node #2: [9, 15, 3] from Operation: 62-59=3
Current State: 12:[9, 15, 3], Operations: ['62-59=3']
Exploring Operation: 9*3=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 9*3=27
Current State: 12:[15, 27], Operations: ['62-59=3', '9*3=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[62, 9, 15, 59], Operations: []
Exploring Operation: 62-15=47, Resulting Numbers: [9, 59, 47]
Generated Node #0,0: 12:[9, 59, 47] Operation: 62-15=47
Exploring Operation: 62-59=3, Resulting Numbers: [9, 15, 3]
Generated Node #0,1: 12:[9, 15, 3] Operation: 62-59=3
Moving to Node #0,1
Current State: 12:[9, 15, 3], Operations: ['62-59=3']
Exploring Operation: 15-9=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 12:[3, 6] Operation: 15-9=6
Exploring Operation: 9+3=12, Resulting Numbers: [15, 12]
Generated Node #0,1,1: 12:[15, 12] Operation: 9+3=12
Moving to Node #0,0
Current State: 12:[9, 59, 47], Operations: ['62-15=47']
Exploring Operation: 59-47=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 12:[9, 12] Operation: 59-47=12
Exploring Operation: 59-9=50, Resulting Numbers: [47, 50]
Generated Node #0,0,1: 12:[47, 50] Operation: 59-9=50
Moving to Node #0,1,0
Current State: 12:[3, 6], Operations: ['62-59=3', '15-9=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[9, 12], Operations: ['62-15=47', '59-47=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[15, 12], Operations: ['62-59=3', '9+3=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[47, 50], Operations: ['62-15=47', '59-9=50']
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
41,
18,
17,
1
] | 42 | [
"41+18=59",
"17*1=17",
"59-17=42"
] | Current State: 42:[41, 18, 17, 1], Operations: []
Exploring Operation: 41+18=59, Resulting Numbers: [17, 1, 59]
Generated Node #2: [17, 1, 59] from Operation: 41+18=59
Current State: 42:[17, 1, 59], Operations: ['41+18=59']
Exploring Operation: 17*1=17, Resulting Numbers: [59, 17]
Generated Node #3: [59, 17] from Operation: 17*1=17
Current State: 42:[59, 17], Operations: ['41+18=59', '17*1=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[41, 18, 17, 1], Operations: []
Exploring Operation: 17-1=16, Resulting Numbers: [41, 18, 16]
Generated Node #0,0: 42:[41, 18, 16] Operation: 17-1=16
Exploring Operation: 18-17=1, Resulting Numbers: [41, 1, 1]
Generated Node #0,1: 42:[41, 1, 1] Operation: 18-17=1
Exploring Operation: 41-18=23, Resulting Numbers: [17, 1, 23]
Generated Node #0,2: 42:[17, 1, 23] Operation: 41-18=23
Exploring Operation: 41+1=42, Resulting Numbers: [18, 17, 42]
Generated Node #0,3: 42:[18, 17, 42] Operation: 41+1=42
Exploring Operation: 18+1=19, Resulting Numbers: [41, 17, 19]
Generated Node #0,4: 42:[41, 17, 19] Operation: 18+1=19
Moving to Node #0,1
Current State: 42:[41, 1, 1], Operations: ['18-17=1']
Exploring Operation: 41*1=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 42:[1, 41] Operation: 41*1=41
Exploring Operation: 41+1=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 42:[1, 42] Operation: 41+1=42
Exploring Operation: 1+1=2, Resulting Numbers: [41, 2]
Generated Node #0,1,2: 42:[41, 2] Operation: 1+1=2
Exploring Operation: 41/1=41, Resulting Numbers: [1, 41]
Generated Node #0,1,3: 42:[1, 41] Operation: 41/1=41
Exploring Operation: 41+1=42, Resulting Numbers: [1, 42]
Generated Node #0,1,4: 42:[1, 42] Operation: 41+1=42
Moving to Node #0,2
Current State: 42:[17, 1, 23], Operations: ['41-18=23']
Exploring Operation: 23-1=22, Resulting Numbers: [17, 22]
Generated Node #0,2,0: 42:[17, 22] Operation: 23-1=22
Exploring Operation: 23-17=6, Resulting Numbers: [1, 6]
Generated Node #0,2,1: 42:[1, 6] Operation: 23-17=6
Exploring Operation: 17-1=16, Resulting Numbers: [23, 16]
Generated Node #0,2,2: 42:[23, 16] Operation: 17-1=16
Exploring Operation: 17+1=18, Resulting Numbers: [23, 18]
Generated Node #0,2,3: 42:[23, 18] Operation: 17+1=18
Exploring Operation: 17+23=40, Resulting Numbers: [1, 40]
Generated Node #0,2,4: 42:[1, 40] Operation: 17+23=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[1, 6], Operations: ['41-18=23', '23-17=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,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,2,4
Current State: 42:[1, 40], Operations: ['41-18=23', '17+23=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,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,2,0
Current State: 42:[17, 22], Operations: ['41-18=23', '23-1=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,42 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,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,2,2
Current State: 42:[23, 16], Operations: ['41-18=23', '17-1=16']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,42 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,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,2,3
Current State: 42:[23, 18], Operations: ['41-18=23', '17+1=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,42 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 42:[41, 17, 19], Operations: ['18+1=19']
Exploring Operation: 41-17=24, Resulting Numbers: [19, 24]
Generated Node #0,4,0: 42:[19, 24] Operation: 41-17=24
Exploring Operation: 41+17=58, Resulting Numbers: [19, 58]
Generated Node #0,4,1: 42:[19, 58] Operation: 41+17=58
Exploring Operation: 41-19=22, Resulting Numbers: [17, 22]
Generated Node #0,4,2: 42:[17, 22] Operation: 41-19=22
Exploring Operation: 19-17=2, Resulting Numbers: [41, 2]
Generated Node #0,4,3: 42:[41, 2] Operation: 19-17=2
Exploring Operation: 17+19=36, Resulting Numbers: [41, 36]
Generated Node #0,4,4: 42:[41, 36] Operation: 17+19=36
Moving to Node #0,0
Current State: 42:[41, 18, 16], Operations: ['17-1=16']
Exploring Operation: 41+16=57, Resulting Numbers: [18, 57]
Generated Node #0,0,0: 42:[18, 57] Operation: 41+16=57
Exploring Operation: 18+16=34, Resulting Numbers: [41, 34]
Generated Node #0,0,1: 42:[41, 34] Operation: 18+16=34
Exploring Operation: 41-18=23, Resulting Numbers: [16, 23]
Generated Node #0,0,2: 42:[16, 23] Operation: 41-18=23
Exploring Operation: 18-16=2, Resulting Numbers: [41, 2]
Generated Node #0,0,3: 42:[41, 2] Operation: 18-16=2
Exploring Operation: 41-16=25, Resulting Numbers: [18, 25]
Generated Node #0,0,4: 42:[18, 25] Operation: 41-16=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[41, 2], Operations: ['17-1=16', '18-16=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[16, 23], Operations: ['17-1=16', '41-18=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 42:[18, 25], Operations: ['17-1=16', '41-16=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[41, 34], Operations: ['17-1=16', '18+16=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,42 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,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:[18, 57], Operations: ['17-1=16', '41+16=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 42:[18, 17, 42], Operations: ['41+1=42']
Exploring Operation: 18+17=35, Resulting Numbers: [42, 35]
Generated Node #0,3,0: 42:[42, 35] Operation: 18+17=35
Exploring Operation: 17+42=59, Resulting Numbers: [18, 59]
Generated Node #0,3,1: 42:[18, 59] Operation: 17+42=59
Exploring Operation: 42-18=24, Resulting Numbers: [17, 24]
Generated Node #0,3,2: 42:[17, 24] Operation: 42-18=24
Exploring Operation: 42-17=25, Resulting Numbers: [18, 25]
Generated Node #0,3,3: 42:[18, 25] Operation: 42-17=25
Exploring Operation: 18-17=1, Resulting Numbers: [42, 1]
Generated Node #0,3,4: 42:[42, 1] Operation: 18-17=1
Moving to Node #0,1,1
Current State: 42:[1, 42], Operations: ['18-17=1', '41+1=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[41, 18, 17, 1], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [41, 1, 1]
Generated Node #0,1: 42:[41, 1, 1] Operation: 18-17=1
Moving to Node #0,1
Current State: 42:[41, 1, 1], Operations: ['18-17=1']
Exploring Operation: 41+1=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 42:[1, 42] Operation: 41+1=42
Moving to Node #0,1,1
Current State: 42:[1, 42], Operations: ['18-17=1', '41+1=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
17,
96,
74,
10
] | 49 | [
"17+96=113",
"74-10=64",
"113-64=49"
] | Current State: 49:[17, 96, 74, 10], Operations: []
Exploring Operation: 17+96=113, Resulting Numbers: [74, 10, 113]
Generated Node #2: [74, 10, 113] from Operation: 17+96=113
Current State: 49:[74, 10, 113], Operations: ['17+96=113']
Exploring Operation: 74-10=64, Resulting Numbers: [113, 64]
Generated Node #3: [113, 64] from Operation: 74-10=64
Current State: 49:[113, 64], Operations: ['17+96=113', '74-10=64']
Exploring Operation: 113-64=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[17, 96, 74, 10], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [74, 10, 79]
Generated Node #0,0: 49:[74, 10, 79] Operation: 96-17=79
Exploring Operation: 96-74=22, Resulting Numbers: [17, 10, 22]
Generated Node #0,1: 49:[17, 10, 22] Operation: 96-74=22
Exploring Operation: 74-17=57, Resulting Numbers: [96, 10, 57]
Generated Node #0,2: 49:[96, 10, 57] Operation: 74-17=57
Exploring Operation: 17-10=7, Resulting Numbers: [96, 74, 7]
Generated Node #0,3: 49:[96, 74, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[17, 10, 22], Operations: ['96-74=22']
Exploring Operation: 17+22=39, Resulting Numbers: [10, 39]
Generated Node #0,1,0: 49:[10, 39] Operation: 17+22=39
Exploring Operation: 17-10=7, Resulting Numbers: [22, 7]
Generated Node #0,1,1: 49:[22, 7] Operation: 17-10=7
Exploring Operation: 22-17=5, Resulting Numbers: [10, 5]
Generated Node #0,1,2: 49:[10, 5] Operation: 22-17=5
Exploring Operation: 22-10=12, Resulting Numbers: [17, 12]
Generated Node #0,1,3: 49:[17, 12] Operation: 22-10=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[10, 5], Operations: ['96-74=22', '22-17=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[10, 39], Operations: ['96-74=22', '17+22=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,49 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[17, 96, 74, 10], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [17, 10, 22]
Generated Node #0,1: 49:[17, 10, 22] Operation: 96-74=22
Moving to Node #0,1
Current State: 49:[17, 10, 22], Operations: ['96-74=22']
Exploring Operation: 17+22=39, Resulting Numbers: [10, 39]
Generated Node #0,1,0: 49:[10, 39] Operation: 17+22=39
Moving to Node #0,1,0
Current State: 49:[10, 39], Operations: ['96-74=22', '17+22=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
12,
84,
10,
71
] | 12 | [
"12*71=852",
"84*10=840",
"852-840=12"
] | Current State: 12:[12, 84, 10, 71], Operations: []
Exploring Operation: 12*71=852, Resulting Numbers: [84, 10, 852]
Generated Node #2: [84, 10, 852] from Operation: 12*71=852
Current State: 12:[84, 10, 852], Operations: ['12*71=852']
Exploring Operation: 84*10=840, Resulting Numbers: [852, 840]
Generated Node #3: [852, 840] from Operation: 84*10=840
Current State: 12:[852, 840], Operations: ['12*71=852', '84*10=840']
Exploring Operation: 852-840=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[12, 84, 10, 71], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [12, 10, 13]
Generated Node #0,0: 12:[12, 10, 13] Operation: 84-71=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[12, 10, 13], Operations: ['84-71=13']
Exploring Operation: 13-10=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 12:[12, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 12:[12, 3], Operations: ['84-71=13', '13-10=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,12 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 |
[
35,
2,
94,
35
] | 95 | [
"35/35=1",
"2+94=96",
"96-1=95"
] | Current State: 95:[35, 2, 94, 35], Operations: []
Exploring Operation: 35/35=1, Resulting Numbers: [2, 94, 1]
Generated Node #2: [2, 94, 1] from Operation: 35/35=1
Current State: 95:[2, 94, 1], Operations: ['35/35=1']
Exploring Operation: 2+94=96, Resulting Numbers: [1, 96]
Generated Node #3: [1, 96] from Operation: 2+94=96
Current State: 95:[1, 96], Operations: ['35/35=1', '2+94=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[35, 2, 94, 35], Operations: []
Exploring Operation: 35/35=1, Resulting Numbers: [2, 94, 1]
Generated Node #0,0: 95:[2, 94, 1] Operation: 35/35=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[2, 94, 1], Operations: ['35/35=1']
Exploring Operation: 2+1=3, Resulting Numbers: [94, 3]
Generated Node #0,0,0: 95:[94, 3] Operation: 2+1=3
Moving to Node #0,0,0
Current State: 95:[94, 3], Operations: ['35/35=1', '2+1=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
55,
3,
53,
76
] | 98 | [
"53+76=129",
"129/3=43",
"55+43=98"
] | Current State: 98:[55, 3, 53, 76], Operations: []
Exploring Operation: 53+76=129, Resulting Numbers: [55, 3, 129]
Generated Node #2: [55, 3, 129] from Operation: 53+76=129
Current State: 98:[55, 3, 129], Operations: ['53+76=129']
Exploring Operation: 129/3=43, Resulting Numbers: [55, 43]
Generated Node #3: [55, 43] from Operation: 129/3=43
Current State: 98:[55, 43], Operations: ['53+76=129', '129/3=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[55, 3, 53, 76], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [55, 3, 23]
Generated Node #0,0: 98:[55, 3, 23] Operation: 76-53=23
Exploring Operation: 76-55=21, Resulting Numbers: [3, 53, 21]
Generated Node #0,1: 98:[3, 53, 21] Operation: 76-55=21
Moving to Node #0,1
Current State: 98:[3, 53, 21], Operations: ['76-55=21']
Exploring Operation: 21/3=7, Resulting Numbers: [53, 7]
Generated Node #0,1,0: 98:[53, 7] Operation: 21/3=7
Exploring Operation: 53-3=50, Resulting Numbers: [21, 50]
Generated Node #0,1,1: 98:[21, 50] Operation: 53-3=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[53, 7], Operations: ['76-55=21', '21/3=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[21, 50], Operations: ['76-55=21', '53-3=50']
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 98:[55, 3, 23], Operations: ['76-53=23']
Exploring Operation: 55-3=52, Resulting Numbers: [23, 52]
Generated Node #0,0,0: 98:[23, 52] Operation: 55-3=52
Exploring Operation: 23-3=20, Resulting Numbers: [55, 20]
Generated Node #0,0,1: 98:[55, 20] Operation: 23-3=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[23, 52], Operations: ['76-53=23', '55-3=52']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[55, 20], Operations: ['76-53=23', '23-3=20']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,98 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 |
[
98,
9,
15,
36
] | 79 | [
"98-15=83",
"36/9=4",
"83-4=79"
] | Current State: 79:[98, 9, 15, 36], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [9, 36, 83]
Generated Node #2: [9, 36, 83] from Operation: 98-15=83
Current State: 79:[9, 36, 83], Operations: ['98-15=83']
Exploring Operation: 36/9=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 36/9=4
Current State: 79:[83, 4], Operations: ['98-15=83', '36/9=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[98, 9, 15, 36], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [15, 36, 89]
Generated Node #0,0: 79:[15, 36, 89] Operation: 98-9=89
Exploring Operation: 98-15=83, Resulting Numbers: [9, 36, 83]
Generated Node #0,1: 79:[9, 36, 83] Operation: 98-15=83
Moving to Node #0,0
Current State: 79:[15, 36, 89], Operations: ['98-9=89']
Exploring Operation: 15+36=51, Resulting Numbers: [89, 51]
Generated Node #0,0,0: 79:[89, 51] Operation: 15+36=51
Exploring Operation: 89-15=74, Resulting Numbers: [36, 74]
Generated Node #0,0,1: 79:[36, 74] Operation: 89-15=74
Moving to Node #0,1
Current State: 79:[9, 36, 83], Operations: ['98-15=83']
Exploring Operation: 83-9=74, Resulting Numbers: [36, 74]
Generated Node #0,1,0: 79:[36, 74] Operation: 83-9=74
Exploring Operation: 9+36=45, Resulting Numbers: [83, 45]
Generated Node #0,1,1: 79:[83, 45] Operation: 9+36=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[83, 45], Operations: ['98-15=83', '9+36=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,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:[36, 74], Operations: ['98-15=83', '83-9=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 79:[89, 51], Operations: ['98-9=89', '15+36=51']
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,79 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[36, 74], Operations: ['98-9=89', '89-15=74']
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
73,
77,
52
] | 16 | [
"73-32=41",
"77-52=25",
"41-25=16"
] | Current State: 16:[32, 73, 77, 52], Operations: []
Exploring Operation: 73-32=41, Resulting Numbers: [77, 52, 41]
Generated Node #2: [77, 52, 41] from Operation: 73-32=41
Current State: 16:[77, 52, 41], Operations: ['73-32=41']
Exploring Operation: 77-52=25, Resulting Numbers: [41, 25]
Generated Node #3: [41, 25] from Operation: 77-52=25
Current State: 16:[41, 25], Operations: ['73-32=41', '77-52=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[32, 73, 77, 52], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [32, 77, 21]
Generated Node #0,0: 16:[32, 77, 21] Operation: 73-52=21
Exploring Operation: 73-32=41, Resulting Numbers: [77, 52, 41]
Generated Node #0,1: 16:[77, 52, 41] Operation: 73-32=41
Exploring Operation: 77-73=4, Resulting Numbers: [32, 52, 4]
Generated Node #0,2: 16:[32, 52, 4] Operation: 77-73=4
Exploring Operation: 77-52=25, Resulting Numbers: [32, 73, 25]
Generated Node #0,3: 16:[32, 73, 25] Operation: 77-52=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[32, 52, 4], Operations: ['77-73=4']
Exploring Operation: 32-4=28, Resulting Numbers: [52, 28]
Generated Node #0,2,0: 16:[52, 28] Operation: 32-4=28
Exploring Operation: 52-32=20, Resulting Numbers: [4, 20]
Generated Node #0,2,1: 16:[4, 20] Operation: 52-32=20
Exploring Operation: 32/4=8, Resulting Numbers: [52, 8]
Generated Node #0,2,2: 16:[52, 8] Operation: 32/4=8
Exploring Operation: 52/4=13, Resulting Numbers: [32, 13]
Generated Node #0,2,3: 16:[32, 13] Operation: 52/4=13
Moving to Node #0,2,1
Current State: 16:[4, 20], Operations: ['77-73=4', '52-32=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[32, 73, 77, 52], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [32, 52, 4]
Generated Node #0,2: 16:[32, 52, 4] Operation: 77-73=4
Moving to Node #0,2
Current State: 16:[32, 52, 4], Operations: ['77-73=4']
Exploring Operation: 52-32=20, Resulting Numbers: [4, 20]
Generated Node #0,2,1: 16:[4, 20] Operation: 52-32=20
Moving to Node #0,2,1
Current State: 16:[4, 20], Operations: ['77-73=4', '52-32=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
11,
89,
5,
20
] | 93 | [
"89-11=78",
"20-5=15",
"78+15=93"
] | Current State: 93:[11, 89, 5, 20], Operations: []
Exploring Operation: 89-11=78, Resulting Numbers: [5, 20, 78]
Generated Node #2: [5, 20, 78] from Operation: 89-11=78
Current State: 93:[5, 20, 78], Operations: ['89-11=78']
Exploring Operation: 20-5=15, Resulting Numbers: [78, 15]
Generated Node #3: [78, 15] from Operation: 20-5=15
Current State: 93:[78, 15], Operations: ['89-11=78', '20-5=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[11, 89, 5, 20], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [89, 5, 9]
Generated Node #0,0: 93:[89, 5, 9] Operation: 20-11=9
Exploring Operation: 11+20=31, Resulting Numbers: [89, 5, 31]
Generated Node #0,1: 93:[89, 5, 31] Operation: 11+20=31
Moving to Node #0,1
Current State: 93:[89, 5, 31], Operations: ['11+20=31']
Exploring Operation: 89+5=94, Resulting Numbers: [31, 94]
Generated Node #0,1,0: 93:[31, 94] Operation: 89+5=94
Exploring Operation: 89-5=84, Resulting Numbers: [31, 84]
Generated Node #0,1,1: 93:[31, 84] Operation: 89-5=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[31, 94], Operations: ['11+20=31', '89+5=94']
Exploring Operation: 31+94=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[31, 84], Operations: ['11+20=31', '89-5=84']
Exploring Operation: 31+84=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,93 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: 93:[89, 5, 9], Operations: ['20-11=9']
Exploring Operation: 9-5=4, Resulting Numbers: [89, 4]
Generated Node #0,0,0: 93:[89, 4] Operation: 9-5=4
Exploring Operation: 89+5=94, Resulting Numbers: [9, 94]
Generated Node #0,0,1: 93:[9, 94] Operation: 89+5=94
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[89, 4], Operations: ['20-11=9', '9-5=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[11, 89, 5, 20], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [89, 5, 9]
Generated Node #0,0: 93:[89, 5, 9] Operation: 20-11=9
Moving to Node #0,0
Current State: 93:[89, 5, 9], Operations: ['20-11=9']
Exploring Operation: 9-5=4, Resulting Numbers: [89, 4]
Generated Node #0,0,0: 93:[89, 4] Operation: 9-5=4
Moving to Node #0,0,0
Current State: 93:[89, 4], Operations: ['20-11=9', '9-5=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
68,
57,
73,
75
] | 23 | [
"68+57=125",
"73+75=148",
"148-125=23"
] | Current State: 23:[68, 57, 73, 75], Operations: []
Exploring Operation: 68+57=125, Resulting Numbers: [73, 75, 125]
Generated Node #2: [73, 75, 125] from Operation: 68+57=125
Current State: 23:[73, 75, 125], Operations: ['68+57=125']
Exploring Operation: 73+75=148, Resulting Numbers: [125, 148]
Generated Node #3: [125, 148] from Operation: 73+75=148
Current State: 23:[125, 148], Operations: ['68+57=125', '73+75=148']
Exploring Operation: 148-125=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[68, 57, 73, 75], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [57, 73, 7]
Generated Node #0,0: 23:[57, 73, 7] Operation: 75-68=7
Exploring Operation: 75-73=2, Resulting Numbers: [68, 57, 2]
Generated Node #0,1: 23:[68, 57, 2] Operation: 75-73=2
Exploring Operation: 73-68=5, Resulting Numbers: [57, 75, 5]
Generated Node #0,2: 23:[57, 75, 5] Operation: 73-68=5
Exploring Operation: 75-57=18, Resulting Numbers: [68, 73, 18]
Generated Node #0,3: 23:[68, 73, 18] Operation: 75-57=18
Moving to Node #0,0
Current State: 23:[57, 73, 7], Operations: ['75-68=7']
Exploring Operation: 73-57=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 23:[7, 16] Operation: 73-57=16
Exploring Operation: 57+7=64, Resulting Numbers: [73, 64]
Generated Node #0,0,1: 23:[73, 64] Operation: 57+7=64
Exploring Operation: 73-7=66, Resulting Numbers: [57, 66]
Generated Node #0,0,2: 23:[57, 66] Operation: 73-7=66
Exploring Operation: 57-7=50, Resulting Numbers: [73, 50]
Generated Node #0,0,3: 23:[73, 50] Operation: 57-7=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[7, 16], Operations: ['75-68=7', '73-57=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,23 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[68, 57, 73, 75], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [57, 73, 7]
Generated Node #0,0: 23:[57, 73, 7] Operation: 75-68=7
Moving to Node #0,0
Current State: 23:[57, 73, 7], Operations: ['75-68=7']
Exploring Operation: 73-57=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 23:[7, 16] Operation: 73-57=16
Moving to Node #0,0,0
Current State: 23:[7, 16], Operations: ['75-68=7', '73-57=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
56,
7,
6,
7
] | 98 | [
"56/7=8",
"6+8=14",
"7*14=98"
] | Current State: 98:[56, 7, 6, 7], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [6, 8]
Generated Node #2: [6, 8] from Operation: 56/7=8
Current State: 98:[6, 8], Operations: ['56/7=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,98 equal: Goal Reached
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[56, 7, 6, 7], Operations: []
Exploring Operation: 56-7=49, Resulting Numbers: [7, 6, 49]
Generated Node #0,0: 98:[7, 6, 49] Operation: 56-7=49
Exploring Operation: 56-6=50, Resulting Numbers: [7, 7, 50]
Generated Node #0,1: 98:[7, 7, 50] Operation: 56-6=50
Exploring Operation: 56/7=8, Resulting Numbers: [6, 7, 8]
Generated Node #0,2: 98:[6, 7, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [6, 7, 49]
Generated Node #0,3: 98:[6, 7, 49] Operation: 56-7=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[7, 6, 49], Operations: ['56-7=49']
Exploring Operation: 49/7=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 98:[6, 7] Operation: 49/7=7
Exploring Operation: 7-6=1, Resulting Numbers: [49, 1]
Generated Node #0,0,1: 98:[49, 1] Operation: 7-6=1
Exploring Operation: 6+49=55, Resulting Numbers: [7, 55]
Generated Node #0,0,2: 98:[7, 55] Operation: 6+49=55
Exploring Operation: 7+6=13, Resulting Numbers: [49, 13]
Generated Node #0,0,3: 98:[49, 13] Operation: 7+6=13
Moving to Node #0,0,0
Current State: 98:[6, 7], Operations: ['56-7=49', '49/7=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[49, 13], Operations: ['56-7=49', '7+6=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[49, 1], Operations: ['56-7=49', '7-6=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[7, 55], Operations: ['56-7=49', '6+49=55']
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,98 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[7, 7, 50], Operations: ['56-6=50']
Exploring Operation: 7+7=14, Resulting Numbers: [50, 14]
Generated Node #0,1,0: 98:[50, 14] Operation: 7+7=14
Exploring Operation: 7/7=1, Resulting Numbers: [50, 1]
Generated Node #0,1,1: 98:[50, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [50, 0]
Generated Node #0,1,2: 98:[50, 0] Operation: 7-7=0
Exploring Operation: 7*7=49, Resulting Numbers: [50, 49]
Generated Node #0,1,3: 98:[50, 49] Operation: 7*7=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[50, 14], Operations: ['56-6=50', '7+7=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,98 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,98 unequal: No Solution
No 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: 98:[50, 49], Operations: ['56-6=50', '7*7=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,98 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No 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: 98:[50, 1], Operations: ['56-6=50', '7/7=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,98 unequal: No Solution
No 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: 98:[50, 0], Operations: ['56-6=50', '7-7=0']
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,98 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: 98:[6, 7, 49], Operations: ['56-7=49']
Exploring Operation: 7-6=1, Resulting Numbers: [49, 1]
Generated Node #0,3,0: 98:[49, 1] Operation: 7-6=1
Exploring Operation: 6+49=55, Resulting Numbers: [7, 55]
Generated Node #0,3,1: 98:[7, 55] Operation: 6+49=55
Exploring Operation: 49/7=7, Resulting Numbers: [6, 7]
Generated Node #0,3,2: 98:[6, 7] Operation: 49/7=7
Exploring Operation: 6+7=13, Resulting Numbers: [49, 13]
Generated Node #0,3,3: 98:[49, 13] Operation: 6+7=13
Moving to Node #0,3,0
Current State: 98:[49, 1], Operations: ['56-7=49', '7-6=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[49, 13], Operations: ['56-7=49', '6+7=13']
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,98 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[6, 7], Operations: ['56-7=49', '49/7=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[7, 55], Operations: ['56-7=49', '6+49=55']
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[6, 7, 8], Operations: ['56/7=8']
Exploring Operation: 6*8=48, Resulting Numbers: [7, 48]
Generated Node #0,2,0: 98:[7, 48] Operation: 6*8=48
Exploring Operation: 6+7=13, Resulting Numbers: [8, 13]
Generated Node #0,2,1: 98:[8, 13] Operation: 6+7=13
Exploring Operation: 6+8=14, Resulting Numbers: [7, 14]
Generated Node #0,2,2: 98:[7, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [7, 2]
Generated Node #0,2,3: 98:[7, 2] Operation: 8-6=2
Moving to Node #0,2,2
Current State: 98:[7, 14], Operations: ['56/7=8', '6+8=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[56, 7, 6, 7], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [6, 7, 8]
Generated Node #0,2: 98:[6, 7, 8] Operation: 56/7=8
Moving to Node #0,2
Current State: 98:[6, 7, 8], Operations: ['56/7=8']
Exploring Operation: 6+8=14, Resulting Numbers: [7, 14]
Generated Node #0,2,2: 98:[7, 14] Operation: 6+8=14
Moving to Node #0,2,2
Current State: 98:[7, 14], Operations: ['56/7=8', '6+8=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_4 | sum_heuristic |
[
26,
17,
32,
10
] | 15 | [
"26-10=16",
"32/16=2",
"17-2=15"
] | Current State: 15:[26, 17, 32, 10], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [17, 32, 16]
Generated Node #2: [17, 32, 16] from Operation: 26-10=16
Current State: 15:[17, 32, 16], Operations: ['26-10=16']
Exploring Operation: 32/16=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 32/16=2
Current State: 15:[17, 2], Operations: ['26-10=16', '32/16=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[26, 17, 32, 10], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [17, 10, 6]
Generated Node #0,0: 15:[17, 10, 6] Operation: 32-26=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[17, 10, 6], Operations: ['32-26=6']
Exploring Operation: 17-10=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 15:[6, 7] Operation: 17-10=7
Moving to Node #0,0,0
Current State: 15:[6, 7], Operations: ['32-26=6', '17-10=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
87,
95,
74
] | 70 | [
"95-87=8",
"8/2=4",
"74-4=70"
] | Current State: 70:[2, 87, 95, 74], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [2, 74, 8]
Generated Node #2: [2, 74, 8] from Operation: 95-87=8
Current State: 70:[2, 74, 8], Operations: ['95-87=8']
Exploring Operation: 8/2=4, Resulting Numbers: [74, 4]
Generated Node #3: [74, 4] from Operation: 8/2=4
Current State: 70:[74, 4], Operations: ['95-87=8', '8/2=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[2, 87, 95, 74], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [2, 87, 21]
Generated Node #0,0: 70:[2, 87, 21] Operation: 95-74=21
Exploring Operation: 95-87=8, Resulting Numbers: [2, 74, 8]
Generated Node #0,1: 70:[2, 74, 8] Operation: 95-87=8
Moving to Node #0,1
Current State: 70:[2, 74, 8], Operations: ['95-87=8']
Exploring Operation: 74-2=72, Resulting Numbers: [8, 72]
Generated Node #0,1,0: 70:[8, 72] Operation: 74-2=72
Exploring Operation: 74/2=37, Resulting Numbers: [8, 37]
Generated Node #0,1,1: 70:[8, 37] Operation: 74/2=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[8, 72], Operations: ['95-87=8', '74-2=72']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,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,1,1
Current State: 70:[8, 37], Operations: ['95-87=8', '74/2=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[2, 87, 21], Operations: ['95-74=21']
Exploring Operation: 87-21=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 70:[2, 66] Operation: 87-21=66
Exploring Operation: 87-2=85, Resulting Numbers: [21, 85]
Generated Node #0,0,1: 70:[21, 85] Operation: 87-2=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[2, 66], Operations: ['95-74=21', '87-21=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[21, 85], Operations: ['95-74=21', '87-2=85']
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,70 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 |
[
54,
12,
33,
6
] | 99 | [
"54*33=1782",
"12+6=18",
"1782/18=99"
] | Current State: 99:[54, 12, 33, 6], Operations: []
Exploring Operation: 54*33=1782, Resulting Numbers: [12, 6, 1782]
Generated Node #2: [12, 6, 1782] from Operation: 54*33=1782
Current State: 99:[12, 6, 1782], Operations: ['54*33=1782']
Exploring Operation: 12+6=18, Resulting Numbers: [1782, 18]
Generated Node #3: [1782, 18] from Operation: 12+6=18
Current State: 99:[1782, 18], Operations: ['54*33=1782', '12+6=18']
Exploring Operation: 1782/18=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[54, 12, 33, 6], Operations: []
Exploring Operation: 54-12=42, Resulting Numbers: [33, 6, 42]
Generated Node #0,0: 99:[33, 6, 42] Operation: 54-12=42
Exploring Operation: 54-33=21, Resulting Numbers: [12, 6, 21]
Generated Node #0,1: 99:[12, 6, 21] Operation: 54-33=21
Exploring Operation: 54/6=9, Resulting Numbers: [12, 33, 9]
Generated Node #0,2: 99:[12, 33, 9] Operation: 54/6=9
Exploring Operation: 54+33=87, Resulting Numbers: [12, 6, 87]
Generated Node #0,3: 99:[12, 6, 87] Operation: 54+33=87
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[12, 33, 9], Operations: ['54/6=9']
Exploring Operation: 12*9=108, Resulting Numbers: [33, 108]
Generated Node #0,2,0: 99:[33, 108] Operation: 12*9=108
Exploring Operation: 12-9=3, Resulting Numbers: [33, 3]
Generated Node #0,2,1: 99:[33, 3] Operation: 12-9=3
Exploring Operation: 33-12=21, Resulting Numbers: [9, 21]
Generated Node #0,2,2: 99:[9, 21] Operation: 33-12=21
Exploring Operation: 12+9=21, Resulting Numbers: [33, 21]
Generated Node #0,2,3: 99:[33, 21] Operation: 12+9=21
Moving to Node #0,2,1
Current State: 99:[33, 3], Operations: ['54/6=9', '12-9=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[54, 12, 33, 6], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [12, 33, 9]
Generated Node #0,2: 99:[12, 33, 9] Operation: 54/6=9
Moving to Node #0,2
Current State: 99:[12, 33, 9], Operations: ['54/6=9']
Exploring Operation: 12-9=3, Resulting Numbers: [33, 3]
Generated Node #0,2,1: 99:[33, 3] Operation: 12-9=3
Moving to Node #0,2,1
Current State: 99:[33, 3], Operations: ['54/6=9', '12-9=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
96,
31,
55,
59
] | 63 | [
"55-31=24",
"96/24=4",
"59+4=63"
] | Current State: 63:[96, 31, 55, 59], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [96, 59, 24]
Generated Node #2: [96, 59, 24] from Operation: 55-31=24
Current State: 63:[96, 59, 24], Operations: ['55-31=24']
Exploring Operation: 96/24=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 96/24=4
Current State: 63:[59, 4], Operations: ['55-31=24', '96/24=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[96, 31, 55, 59], Operations: []
Exploring Operation: 96-31=65, Resulting Numbers: [55, 59, 65]
Generated Node #0,0: 63:[55, 59, 65] Operation: 96-31=65
Exploring Operation: 96-55=41, Resulting Numbers: [31, 59, 41]
Generated Node #0,1: 63:[31, 59, 41] Operation: 96-55=41
Exploring Operation: 96-59=37, Resulting Numbers: [31, 55, 37]
Generated Node #0,2: 63:[31, 55, 37] Operation: 96-59=37
Moving to Node #0,0
Current State: 63:[55, 59, 65], Operations: ['96-31=65']
Exploring Operation: 59-55=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 63:[65, 4] Operation: 59-55=4
Exploring Operation: 65-59=6, Resulting Numbers: [55, 6]
Generated Node #0,0,1: 63:[55, 6] Operation: 65-59=6
Exploring Operation: 65-55=10, Resulting Numbers: [59, 10]
Generated Node #0,0,2: 63:[59, 10] Operation: 65-55=10
Moving to Node #0,1
Current State: 63:[31, 59, 41], Operations: ['96-55=41']
Exploring Operation: 31+41=72, Resulting Numbers: [59, 72]
Generated Node #0,1,0: 63:[59, 72] Operation: 31+41=72
Exploring Operation: 41-31=10, Resulting Numbers: [59, 10]
Generated Node #0,1,1: 63:[59, 10] Operation: 41-31=10
Exploring Operation: 59-41=18, Resulting Numbers: [31, 18]
Generated Node #0,1,2: 63:[31, 18] Operation: 59-41=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[59, 10], Operations: ['96-55=41', '41-31=10']
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,63 unequal: No Solution
No 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: 63:[59, 72], Operations: ['96-55=41', '31+41=72']
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,63 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,63 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No 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: 63:[31, 18], Operations: ['96-55=41', '59-41=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,63 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: 63:[31, 55, 37], Operations: ['96-59=37']
Exploring Operation: 37-31=6, Resulting Numbers: [55, 6]
Generated Node #0,2,0: 63:[55, 6] Operation: 37-31=6
Exploring Operation: 31+37=68, Resulting Numbers: [55, 68]
Generated Node #0,2,1: 63:[55, 68] Operation: 31+37=68
Exploring Operation: 55-37=18, Resulting Numbers: [31, 18]
Generated Node #0,2,2: 63:[31, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[55, 6], Operations: ['96-59=37', '37-31=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,63 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,63 unequal: No Solution
No 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: 63:[55, 68], Operations: ['96-59=37', '31+37=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,63 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,63 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No 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: 63:[31, 18], Operations: ['96-59=37', '55-37=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 63:[65, 4], Operations: ['96-31=65', '59-55=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[59, 10], Operations: ['96-31=65', '65-55=10']
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,63 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[55, 6], Operations: ['96-31=65', '65-59=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,63 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
93,
79,
47,
98
] | 37 | [
"93-79=14",
"98-47=51",
"51-14=37"
] | Current State: 37:[93, 79, 47, 98], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [47, 98, 14]
Generated Node #2: [47, 98, 14] from Operation: 93-79=14
Current State: 37:[47, 98, 14], Operations: ['93-79=14']
Exploring Operation: 98-47=51, Resulting Numbers: [14, 51]
Generated Node #3: [14, 51] from Operation: 98-47=51
Current State: 37:[14, 51], Operations: ['93-79=14', '98-47=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[93, 79, 47, 98], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [79, 98, 46]
Generated Node #0,0: 37:[79, 98, 46] Operation: 93-47=46
Exploring Operation: 93-79=14, Resulting Numbers: [47, 98, 14]
Generated Node #0,1: 37:[47, 98, 14] Operation: 93-79=14
Exploring Operation: 98-79=19, Resulting Numbers: [93, 47, 19]
Generated Node #0,2: 37:[93, 47, 19] Operation: 98-79=19
Exploring Operation: 98-93=5, Resulting Numbers: [79, 47, 5]
Generated Node #0,3: 37:[79, 47, 5] Operation: 98-93=5
Moving to Node #0,2
Current State: 37:[93, 47, 19], Operations: ['98-79=19']
Exploring Operation: 93-19=74, Resulting Numbers: [47, 74]
Generated Node #0,2,0: 37:[47, 74] Operation: 93-19=74
Exploring Operation: 93-47=46, Resulting Numbers: [19, 46]
Generated Node #0,2,1: 37:[19, 46] Operation: 93-47=46
Exploring Operation: 47-19=28, Resulting Numbers: [93, 28]
Generated Node #0,2,2: 37:[93, 28] Operation: 47-19=28
Exploring Operation: 93+19=112, Resulting Numbers: [47, 112]
Generated Node #0,2,3: 37:[47, 112] Operation: 93+19=112
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[19, 46], Operations: ['98-79=19', '93-47=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[47, 74], Operations: ['98-79=19', '93-19=74']
Exploring Operation: 47+74=121, Resulting Numbers: [121]
121,37 unequal: No Solution
Exploring Operation: 47*74=3478, Resulting Numbers: [3478]
3478,37 unequal: No Solution
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[93, 28], Operations: ['98-79=19', '47-19=28']
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,37 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 93*28=2604, Resulting Numbers: [2604]
2604,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[47, 112], Operations: ['98-79=19', '93+19=112']
Exploring Operation: 47*112=5264, Resulting Numbers: [5264]
5264,37 unequal: No Solution
Exploring Operation: 112-47=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 47+112=159, Resulting Numbers: [159]
159,37 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: 37:[79, 47, 5], Operations: ['98-93=5']
Exploring Operation: 47-5=42, Resulting Numbers: [79, 42]
Generated Node #0,3,0: 37:[79, 42] Operation: 47-5=42
Exploring Operation: 79+5=84, Resulting Numbers: [47, 84]
Generated Node #0,3,1: 37:[47, 84] Operation: 79+5=84
Exploring Operation: 79-47=32, Resulting Numbers: [5, 32]
Generated Node #0,3,2: 37:[5, 32] Operation: 79-47=32
Exploring Operation: 79-5=74, Resulting Numbers: [47, 74]
Generated Node #0,3,3: 37:[47, 74] Operation: 79-5=74
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[5, 32], Operations: ['98-93=5', '79-47=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[93, 79, 47, 98], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [79, 47, 5]
Generated Node #0,3: 37:[79, 47, 5] Operation: 98-93=5
Moving to Node #0,3
Current State: 37:[79, 47, 5], Operations: ['98-93=5']
Exploring Operation: 79-47=32, Resulting Numbers: [5, 32]
Generated Node #0,3,2: 37:[5, 32] Operation: 79-47=32
Moving to Node #0,3,2
Current State: 37:[5, 32], Operations: ['98-93=5', '79-47=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
62,
12,
31,
86
] | 60 | [
"12+31=43",
"86/43=2",
"62-2=60"
] | Current State: 60:[62, 12, 31, 86], Operations: []
Exploring Operation: 12+31=43, Resulting Numbers: [62, 86, 43]
Generated Node #2: [62, 86, 43] from Operation: 12+31=43
Current State: 60:[62, 86, 43], Operations: ['12+31=43']
Exploring Operation: 86/43=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 86/43=2
Current State: 60:[62, 2], Operations: ['12+31=43', '86/43=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[62, 12, 31, 86], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [62, 31, 74]
Generated Node #0,0: 60:[62, 31, 74] Operation: 86-12=74
Exploring Operation: 86-31=55, Resulting Numbers: [62, 12, 55]
Generated Node #0,1: 60:[62, 12, 55] Operation: 86-31=55
Exploring Operation: 86-62=24, Resulting Numbers: [12, 31, 24]
Generated Node #0,2: 60:[12, 31, 24] Operation: 86-62=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[12, 31, 24], Operations: ['86-62=24']
Exploring Operation: 31-24=7, Resulting Numbers: [12, 7]
Generated Node #0,2,0: 60:[12, 7] Operation: 31-24=7
Exploring Operation: 24/12=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 60:[31, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [31, 12]
Generated Node #0,2,2: 60:[31, 12] Operation: 24-12=12
Moving to Node #0,2,0
Current State: 60:[12, 7], Operations: ['86-62=24', '31-24=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[31, 2], Operations: ['86-62=24', '24/12=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[31, 12], Operations: ['86-62=24', '24-12=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,60 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,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,1
Current State: 60:[62, 12, 55], Operations: ['86-31=55']
Exploring Operation: 62-12=50, Resulting Numbers: [55, 50]
Generated Node #0,1,0: 60:[55, 50] Operation: 62-12=50
Exploring Operation: 12+55=67, Resulting Numbers: [62, 67]
Generated Node #0,1,1: 60:[62, 67] Operation: 12+55=67
Exploring Operation: 62-55=7, Resulting Numbers: [12, 7]
Generated Node #0,1,2: 60:[12, 7] Operation: 62-55=7
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[12, 7], Operations: ['86-31=55', '62-55=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,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:[62, 67], Operations: ['86-31=55', '12+55=67']
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 62+67=129, Resulting Numbers: [129]
129,60 unequal: No Solution
Exploring Operation: 62*67=4154, Resulting Numbers: [4154]
4154,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,0
Current State: 60:[55, 50], Operations: ['86-31=55', '62-12=50']
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,60 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,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,0
Current State: 60:[62, 31, 74], Operations: ['86-12=74']
Exploring Operation: 62-31=31, Resulting Numbers: [74, 31]
Generated Node #0,0,0: 60:[74, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [74, 2]
Generated Node #0,0,1: 60:[74, 2] Operation: 62/31=2
Exploring Operation: 74-62=12, Resulting Numbers: [31, 12]
Generated Node #0,0,2: 60:[31, 12] Operation: 74-62=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[31, 12], Operations: ['86-12=74', '74-62=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,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,0,1
Current State: 60:[74, 2], Operations: ['86-12=74', '62/31=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,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,0,0
Current State: 60:[74, 31], Operations: ['86-12=74', '62-31=31']
Exploring Operation: 74+31=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 74*31=2294, Resulting Numbers: [2294]
2294,60 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,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_3 | mult_heuristic |
[
67,
57,
4,
8
] | 14 | [
"67-57=10",
"8-4=4",
"10+4=14"
] | Current State: 14:[67, 57, 4, 8], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [4, 8, 10]
Generated Node #2: [4, 8, 10] from Operation: 67-57=10
Current State: 14:[4, 8, 10], Operations: ['67-57=10']
Exploring Operation: 8-4=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 8-4=4
Current State: 14:[10, 4], Operations: ['67-57=10', '8-4=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[67, 57, 4, 8], Operations: []
Exploring Operation: 57-8=49, Resulting Numbers: [67, 4, 49]
Generated Node #0,0: 14:[67, 4, 49] Operation: 57-8=49
Exploring Operation: 67-8=59, Resulting Numbers: [57, 4, 59]
Generated Node #0,1: 14:[57, 4, 59] Operation: 67-8=59
Exploring Operation: 67-57=10, Resulting Numbers: [4, 8, 10]
Generated Node #0,2: 14:[4, 8, 10] Operation: 67-57=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[4, 8, 10], Operations: ['67-57=10']
Exploring Operation: 10-4=6, Resulting Numbers: [8, 6]
Generated Node #0,2,0: 14:[8, 6] Operation: 10-4=6
Exploring Operation: 10-8=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 14:[4, 2] Operation: 10-8=2
Exploring Operation: 4+10=14, Resulting Numbers: [8, 14]
Generated Node #0,2,2: 14:[8, 14] Operation: 4+10=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 14:[8, 14], Operations: ['67-57=10', '4+10=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,14 unequal: No Solution
No 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: 14:[8, 6], Operations: ['67-57=10', '10-4=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[67, 57, 4, 8], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [4, 8, 10]
Generated Node #0,2: 14:[4, 8, 10] Operation: 67-57=10
Moving to Node #0,2
Current State: 14:[4, 8, 10], Operations: ['67-57=10']
Exploring Operation: 10-4=6, Resulting Numbers: [8, 6]
Generated Node #0,2,0: 14:[8, 6] Operation: 10-4=6
Moving to Node #0,2,0
Current State: 14:[8, 6], Operations: ['67-57=10', '10-4=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
48,
38,
27,
11
] | 26 | [
"48-38=10",
"27-11=16",
"10+16=26"
] | Current State: 26:[48, 38, 27, 11], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [27, 11, 10]
Generated Node #2: [27, 11, 10] from Operation: 48-38=10
Current State: 26:[27, 11, 10], Operations: ['48-38=10']
Exploring Operation: 27-11=16, Resulting Numbers: [10, 16]
Generated Node #3: [10, 16] from Operation: 27-11=16
Current State: 26:[10, 16], Operations: ['48-38=10', '27-11=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[48, 38, 27, 11], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [27, 11, 10]
Generated Node #0,0: 26:[27, 11, 10] Operation: 48-38=10
Exploring Operation: 48-27=21, Resulting Numbers: [38, 11, 21]
Generated Node #0,1: 26:[38, 11, 21] Operation: 48-27=21
Moving to Node #0,0
Current State: 26:[27, 11, 10], Operations: ['48-38=10']
Exploring Operation: 27-11=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 26:[10, 16] Operation: 27-11=16
Exploring Operation: 11-10=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 26:[27, 1] Operation: 11-10=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[27, 1], Operations: ['48-38=10', '11-10=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[48, 38, 27, 11], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [27, 11, 10]
Generated Node #0,0: 26:[27, 11, 10] Operation: 48-38=10
Moving to Node #0,0
Current State: 26:[27, 11, 10], Operations: ['48-38=10']
Exploring Operation: 11-10=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 26:[27, 1] Operation: 11-10=1
Moving to Node #0,0,1
Current State: 26:[27, 1], Operations: ['48-38=10', '11-10=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
13,
68,
84,
44
] | 22 | [
"13*68=884",
"84+884=968",
"968/44=22"
] | Current State: 22:[13, 68, 84, 44], Operations: []
Exploring Operation: 13*68=884, Resulting Numbers: [84, 44, 884]
Generated Node #2: [84, 44, 884] from Operation: 13*68=884
Current State: 22:[84, 44, 884], Operations: ['13*68=884']
Exploring Operation: 84+884=968, Resulting Numbers: [44, 968]
Generated Node #3: [44, 968] from Operation: 84+884=968
Current State: 22:[44, 968], Operations: ['13*68=884', '84+884=968']
Exploring Operation: 968/44=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[13, 68, 84, 44], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [13, 68, 40]
Generated Node #0,0: 22:[13, 68, 40] Operation: 84-44=40
Exploring Operation: 84-68=16, Resulting Numbers: [13, 44, 16]
Generated Node #0,1: 22:[13, 44, 16] Operation: 84-68=16
Exploring Operation: 68-44=24, Resulting Numbers: [13, 84, 24]
Generated Node #0,2: 22:[13, 84, 24] Operation: 68-44=24
Moving to Node #0,1
Current State: 22:[13, 44, 16], Operations: ['84-68=16']
Exploring Operation: 44-13=31, Resulting Numbers: [16, 31]
Generated Node #0,1,0: 22:[16, 31] Operation: 44-13=31
Exploring Operation: 16-13=3, Resulting Numbers: [44, 3]
Generated Node #0,1,1: 22:[44, 3] Operation: 16-13=3
Exploring Operation: 44-16=28, Resulting Numbers: [13, 28]
Generated Node #0,1,2: 22:[13, 28] Operation: 44-16=28
Moving to Node #0,0
Current State: 22:[13, 68, 40], Operations: ['84-44=40']
Exploring Operation: 68-40=28, Resulting Numbers: [13, 28]
Generated Node #0,0,0: 22:[13, 28] Operation: 68-40=28
Exploring Operation: 40-13=27, Resulting Numbers: [68, 27]
Generated Node #0,0,1: 22:[68, 27] Operation: 40-13=27
Exploring Operation: 68-13=55, Resulting Numbers: [40, 55]
Generated Node #0,0,2: 22:[40, 55] Operation: 68-13=55
Moving to Node #0,2
Current State: 22:[13, 84, 24], Operations: ['68-44=24']
Exploring Operation: 24-13=11, Resulting Numbers: [84, 11]
Generated Node #0,2,0: 22:[84, 11] Operation: 24-13=11
Exploring Operation: 84-13=71, Resulting Numbers: [24, 71]
Generated Node #0,2,1: 22:[24, 71] Operation: 84-13=71
Exploring Operation: 84-24=60, Resulting Numbers: [13, 60]
Generated Node #0,2,2: 22:[13, 60] Operation: 84-24=60
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[13, 60], Operations: ['68-44=24', '84-24=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[24, 71], Operations: ['68-44=24', '84-13=71']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,22 unequal: No Solution
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[84, 11], Operations: ['68-44=24', '24-13=11']
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 84*11=924, Resulting Numbers: [924]
924,22 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,22 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: 22:[13, 28], Operations: ['84-68=16', '44-16=28']
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,22 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[13, 28], Operations: ['84-44=40', '68-40=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,22 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[16, 31], Operations: ['84-68=16', '44-13=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,22 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[44, 3], Operations: ['84-68=16', '16-13=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[40, 55], Operations: ['84-44=40', '68-13=55']
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,22 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[68, 27], Operations: ['84-44=40', '40-13=27']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,22 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,22 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
93,
58,
6
] | 67 | [
"93/31=3",
"58+6=64",
"3+64=67"
] | Current State: 67:[31, 93, 58, 6], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [58, 6, 3]
Generated Node #2: [58, 6, 3] from Operation: 93/31=3
Current State: 67:[58, 6, 3], Operations: ['93/31=3']
Exploring Operation: 58+6=64, Resulting Numbers: [3, 64]
Generated Node #3: [3, 64] from Operation: 58+6=64
Current State: 67:[3, 64], Operations: ['93/31=3', '58+6=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[31, 93, 58, 6], Operations: []
Exploring Operation: 31+6=37, Resulting Numbers: [93, 58, 37]
Generated Node #0,0: 67:[93, 58, 37] Operation: 31+6=37
Moving to Node #0,0
Current State: 67:[93, 58, 37], Operations: ['31+6=37']
Exploring Operation: 93-37=56, Resulting Numbers: [58, 56]
Generated Node #0,0,0: 67:[58, 56] Operation: 93-37=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[58, 56], Operations: ['31+6=37', '93-37=56']
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
57,
11,
28
] | 29 | [
"57-45=12",
"28-11=17",
"12+17=29"
] | Current State: 29:[45, 57, 11, 28], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [11, 28, 12]
Generated Node #2: [11, 28, 12] from Operation: 57-45=12
Current State: 29:[11, 28, 12], Operations: ['57-45=12']
Exploring Operation: 28-11=17, Resulting Numbers: [12, 17]
Generated Node #3: [12, 17] from Operation: 28-11=17
Current State: 29:[12, 17], Operations: ['57-45=12', '28-11=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[45, 57, 11, 28], Operations: []
Exploring Operation: 45-11=34, Resulting Numbers: [57, 28, 34]
Generated Node #0,0: 29:[57, 28, 34] Operation: 45-11=34
Moving to Node #0,0
Current State: 29:[57, 28, 34], Operations: ['45-11=34']
Exploring Operation: 57-28=29, Resulting Numbers: [34, 29]
Generated Node #0,0,0: 29:[34, 29] Operation: 57-28=29
Moving to Node #0,0,0
Current State: 29:[34, 29], Operations: ['45-11=34', '57-28=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,29 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
45,
89,
20
] | 35 | [
"29+45=74",
"89+20=109",
"109-74=35"
] | Current State: 35:[29, 45, 89, 20], Operations: []
Exploring Operation: 29+45=74, Resulting Numbers: [89, 20, 74]
Generated Node #2: [89, 20, 74] from Operation: 29+45=74
Current State: 35:[89, 20, 74], Operations: ['29+45=74']
Exploring Operation: 89+20=109, Resulting Numbers: [74, 109]
Generated Node #3: [74, 109] from Operation: 89+20=109
Current State: 35:[74, 109], Operations: ['29+45=74', '89+20=109']
Exploring Operation: 109-74=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[29, 45, 89, 20], Operations: []
Exploring Operation: 89-45=44, Resulting Numbers: [29, 20, 44]
Generated Node #0,0: 35:[29, 20, 44] Operation: 89-45=44
Exploring Operation: 89-20=69, Resulting Numbers: [29, 45, 69]
Generated Node #0,1: 35:[29, 45, 69] Operation: 89-20=69
Exploring Operation: 89-29=60, Resulting Numbers: [45, 20, 60]
Generated Node #0,2: 35:[45, 20, 60] Operation: 89-29=60
Moving to Node #0,0
Current State: 35:[29, 20, 44], Operations: ['89-45=44']
Exploring Operation: 44-20=24, Resulting Numbers: [29, 24]
Generated Node #0,0,0: 35:[29, 24] Operation: 44-20=24
Exploring Operation: 44-29=15, Resulting Numbers: [20, 15]
Generated Node #0,0,1: 35:[20, 15] Operation: 44-29=15
Exploring Operation: 29-20=9, Resulting Numbers: [44, 9]
Generated Node #0,0,2: 35:[44, 9] Operation: 29-20=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[44, 9], Operations: ['89-45=44', '29-20=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[29, 45, 89, 20], Operations: []
Exploring Operation: 89-45=44, Resulting Numbers: [29, 20, 44]
Generated Node #0,0: 35:[29, 20, 44] Operation: 89-45=44
Moving to Node #0,0
Current State: 35:[29, 20, 44], Operations: ['89-45=44']
Exploring Operation: 29-20=9, Resulting Numbers: [44, 9]
Generated Node #0,0,2: 35:[44, 9] Operation: 29-20=9
Moving to Node #0,0,2
Current State: 35:[44, 9], Operations: ['89-45=44', '29-20=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
66,
61,
40,
3
] | 73 | [
"61-40=21",
"21/3=7",
"66+7=73"
] | Current State: 73:[66, 61, 40, 3], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [66, 3, 21]
Generated Node #2: [66, 3, 21] from Operation: 61-40=21
Current State: 73:[66, 3, 21], Operations: ['61-40=21']
Exploring Operation: 21/3=7, Resulting Numbers: [66, 7]
Generated Node #3: [66, 7] from Operation: 21/3=7
Current State: 73:[66, 7], Operations: ['61-40=21', '21/3=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[66, 61, 40, 3], Operations: []
Exploring Operation: 61+3=64, Resulting Numbers: [66, 40, 64]
Generated Node #0,0: 73:[66, 40, 64] Operation: 61+3=64
Exploring Operation: 61-3=58, Resulting Numbers: [66, 40, 58]
Generated Node #0,1: 73:[66, 40, 58] Operation: 61-3=58
Exploring Operation: 66+3=69, Resulting Numbers: [61, 40, 69]
Generated Node #0,2: 73:[61, 40, 69] Operation: 66+3=69
Exploring Operation: 66-3=63, Resulting Numbers: [61, 40, 63]
Generated Node #0,3: 73:[61, 40, 63] Operation: 66-3=63
Exploring Operation: 40+3=43, Resulting Numbers: [66, 61, 43]
Generated Node #0,4: 73:[66, 61, 43] Operation: 40+3=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[66, 40, 64], Operations: ['61+3=64']
Exploring Operation: 64-40=24, Resulting Numbers: [66, 24]
Generated Node #0,0,0: 73:[66, 24] Operation: 64-40=24
Exploring Operation: 66+64=130, Resulting Numbers: [40, 130]
Generated Node #0,0,1: 73:[40, 130] Operation: 66+64=130
Exploring Operation: 66+40=106, Resulting Numbers: [64, 106]
Generated Node #0,0,2: 73:[64, 106] Operation: 66+40=106
Exploring Operation: 40+64=104, Resulting Numbers: [66, 104]
Generated Node #0,0,3: 73:[66, 104] Operation: 40+64=104
Exploring Operation: 66-40=26, Resulting Numbers: [64, 26]
Generated Node #0,0,4: 73:[64, 26] Operation: 66-40=26
Moving to Node #0,0,3
Current State: 73:[66, 104], Operations: ['61+3=64', '40+64=104']
Exploring Operation: 66+104=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Exploring Operation: 66*104=6864, Resulting Numbers: [6864]
6864,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[64, 106], Operations: ['61+3=64', '66+40=106']
Exploring Operation: 64*106=6784, Resulting Numbers: [6784]
6784,73 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[66, 24], Operations: ['61+3=64', '64-40=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[64, 26], Operations: ['61+3=64', '66-40=26']
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,73 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[40, 130], Operations: ['61+3=64', '66+64=130']
Exploring Operation: 130-40=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 40+130=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 40*130=5200, Resulting Numbers: [5200]
5200,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[61, 40, 69], Operations: ['66+3=69']
Exploring Operation: 61+40=101, Resulting Numbers: [69, 101]
Generated Node #0,2,0: 73:[69, 101] Operation: 61+40=101
Exploring Operation: 69-40=29, Resulting Numbers: [61, 29]
Generated Node #0,2,1: 73:[61, 29] Operation: 69-40=29
Exploring Operation: 61-40=21, Resulting Numbers: [69, 21]
Generated Node #0,2,2: 73:[69, 21] Operation: 61-40=21
Exploring Operation: 61+69=130, Resulting Numbers: [40, 130]
Generated Node #0,2,3: 73:[40, 130] Operation: 61+69=130
Exploring Operation: 40+69=109, Resulting Numbers: [61, 109]
Generated Node #0,2,4: 73:[61, 109] Operation: 40+69=109
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[69, 101], Operations: ['66+3=69', '61+40=101']
Exploring Operation: 101-69=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 69+101=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 69*101=6969, Resulting Numbers: [6969]
6969,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 73:[61, 109], Operations: ['66+3=69', '40+69=109']
Exploring Operation: 61*109=6649, Resulting Numbers: [6649]
6649,73 unequal: No Solution
Exploring Operation: 61+109=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 109-61=48, Resulting Numbers: [48]
48,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[61, 29], Operations: ['66+3=69', '69-40=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[69, 21], Operations: ['66+3=69', '61-40=21']
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,73 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[40, 130], Operations: ['66+3=69', '61+69=130']
Exploring Operation: 40+130=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 130-40=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 40*130=5200, Resulting Numbers: [5200]
5200,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[66, 61, 43], Operations: ['40+3=43']
Exploring Operation: 66+61=127, Resulting Numbers: [43, 127]
Generated Node #0,4,0: 73:[43, 127] Operation: 66+61=127
Exploring Operation: 66-43=23, Resulting Numbers: [61, 23]
Generated Node #0,4,1: 73:[61, 23] Operation: 66-43=23
Exploring Operation: 66+43=109, Resulting Numbers: [61, 109]
Generated Node #0,4,2: 73:[61, 109] Operation: 66+43=109
Exploring Operation: 61+43=104, Resulting Numbers: [66, 104]
Generated Node #0,4,3: 73:[66, 104] Operation: 61+43=104
Exploring Operation: 61-43=18, Resulting Numbers: [66, 18]
Generated Node #0,4,4: 73:[66, 18] Operation: 61-43=18
Moving to Node #0,4,3
Current State: 73:[66, 104], Operations: ['40+3=43', '61+43=104']
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Exploring Operation: 66*104=6864, Resulting Numbers: [6864]
6864,73 unequal: No Solution
Exploring Operation: 66+104=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[61, 109], Operations: ['40+3=43', '66+43=109']
Exploring Operation: 109-61=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 61*109=6649, Resulting Numbers: [6649]
6649,73 unequal: No Solution
Exploring Operation: 61+109=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[61, 23], Operations: ['40+3=43', '66-43=23']
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,73 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[66, 18], Operations: ['40+3=43', '61-43=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,73 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[43, 127], Operations: ['40+3=43', '66+61=127']
Exploring Operation: 127-43=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 43*127=5461, Resulting Numbers: [5461]
5461,73 unequal: No Solution
Exploring Operation: 43+127=170, Resulting Numbers: [170]
170,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[66, 40, 58], Operations: ['61-3=58']
Exploring Operation: 40+58=98, Resulting Numbers: [66, 98]
Generated Node #0,1,0: 73:[66, 98] Operation: 40+58=98
Exploring Operation: 66-40=26, Resulting Numbers: [58, 26]
Generated Node #0,1,1: 73:[58, 26] Operation: 66-40=26
Exploring Operation: 66+40=106, Resulting Numbers: [58, 106]
Generated Node #0,1,2: 73:[58, 106] Operation: 66+40=106
Exploring Operation: 58-40=18, Resulting Numbers: [66, 18]
Generated Node #0,1,3: 73:[66, 18] Operation: 58-40=18
Exploring Operation: 66+58=124, Resulting Numbers: [40, 124]
Generated Node #0,1,4: 73:[40, 124] Operation: 66+58=124
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[66, 98], Operations: ['61-3=58', '40+58=98']
Exploring Operation: 66*98=6468, Resulting Numbers: [6468]
6468,73 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 66+98=164, Resulting Numbers: [164]
164,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[58, 106], Operations: ['61-3=58', '66+40=106']
Exploring Operation: 58*106=6148, Resulting Numbers: [6148]
6148,73 unequal: No Solution
Exploring Operation: 58+106=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 106-58=48, Resulting Numbers: [48]
48,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[58, 26], Operations: ['61-3=58', '66-40=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[66, 18], Operations: ['61-3=58', '58-40=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,73 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[40, 124], Operations: ['61-3=58', '66+58=124']
Exploring Operation: 40*124=4960, Resulting Numbers: [4960]
4960,73 unequal: No Solution
Exploring Operation: 40+124=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 124-40=84, Resulting Numbers: [84]
84,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[61, 40, 63], Operations: ['66-3=63']
Exploring Operation: 61+63=124, Resulting Numbers: [40, 124]
Generated Node #0,3,0: 73:[40, 124] Operation: 61+63=124
Exploring Operation: 63-40=23, Resulting Numbers: [61, 23]
Generated Node #0,3,1: 73:[61, 23] Operation: 63-40=23
Exploring Operation: 61-40=21, Resulting Numbers: [63, 21]
Generated Node #0,3,2: 73:[63, 21] Operation: 61-40=21
Exploring Operation: 61+40=101, Resulting Numbers: [63, 101]
Generated Node #0,3,3: 73:[63, 101] Operation: 61+40=101
Exploring Operation: 40+63=103, Resulting Numbers: [61, 103]
Generated Node #0,3,4: 73:[61, 103] Operation: 40+63=103
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[63, 101], Operations: ['66-3=63', '61+40=101']
Exploring Operation: 63*101=6363, Resulting Numbers: [6363]
6363,73 unequal: No Solution
Exploring Operation: 63+101=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 101-63=38, Resulting Numbers: [38]
38,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[61, 103], Operations: ['66-3=63', '40+63=103']
Exploring Operation: 61+103=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 103-61=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 61*103=6283, Resulting Numbers: [6283]
6283,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[61, 23], Operations: ['66-3=63', '63-40=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[63, 21], Operations: ['66-3=63', '61-40=21']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[40, 124], Operations: ['66-3=63', '61+63=124']
Exploring Operation: 40*124=4960, Resulting Numbers: [4960]
4960,73 unequal: No Solution
Exploring Operation: 40+124=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 124-40=84, Resulting Numbers: [84]
84,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
47,
67,
93,
58
] | 37 | [
"47+67=114",
"93+58=151",
"151-114=37"
] | Current State: 37:[47, 67, 93, 58], Operations: []
Exploring Operation: 47+67=114, Resulting Numbers: [93, 58, 114]
Generated Node #2: [93, 58, 114] from Operation: 47+67=114
Current State: 37:[93, 58, 114], Operations: ['47+67=114']
Exploring Operation: 93+58=151, Resulting Numbers: [114, 151]
Generated Node #3: [114, 151] from Operation: 93+58=151
Current State: 37:[114, 151], Operations: ['47+67=114', '93+58=151']
Exploring Operation: 151-114=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[47, 67, 93, 58], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [47, 93, 9]
Generated Node #0,0: 37:[47, 93, 9] Operation: 67-58=9
Exploring Operation: 67-47=20, Resulting Numbers: [93, 58, 20]
Generated Node #0,1: 37:[93, 58, 20] Operation: 67-47=20
Exploring Operation: 93-58=35, Resulting Numbers: [47, 67, 35]
Generated Node #0,2: 37:[47, 67, 35] Operation: 93-58=35
Exploring Operation: 93-47=46, Resulting Numbers: [67, 58, 46]
Generated Node #0,3: 37:[67, 58, 46] Operation: 93-47=46
Exploring Operation: 93-67=26, Resulting Numbers: [47, 58, 26]
Generated Node #0,4: 37:[47, 58, 26] Operation: 93-67=26
Moving to Node #0,2
Current State: 37:[47, 67, 35], Operations: ['93-58=35']
Exploring Operation: 67+35=102, Resulting Numbers: [47, 102]
Generated Node #0,2,0: 37:[47, 102] Operation: 67+35=102
Exploring Operation: 67-47=20, Resulting Numbers: [35, 20]
Generated Node #0,2,1: 37:[35, 20] Operation: 67-47=20
Exploring Operation: 47-35=12, Resulting Numbers: [67, 12]
Generated Node #0,2,2: 37:[67, 12] Operation: 47-35=12
Exploring Operation: 67-35=32, Resulting Numbers: [47, 32]
Generated Node #0,2,3: 37:[47, 32] Operation: 67-35=32
Exploring Operation: 47+35=82, Resulting Numbers: [67, 82]
Generated Node #0,2,4: 37:[67, 82] Operation: 47+35=82
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[47, 32], Operations: ['93-58=35', '67-35=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[35, 20], Operations: ['93-58=35', '67-47=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,37 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[67, 12], Operations: ['93-58=35', '47-35=12']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[47, 102], Operations: ['93-58=35', '67+35=102']
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,37 unequal: No Solution
Exploring Operation: 47*102=4794, Resulting Numbers: [4794]
4794,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 37:[67, 82], Operations: ['93-58=35', '47+35=82']
Exploring Operation: 67*82=5494, Resulting Numbers: [5494]
5494,37 unequal: No Solution
Exploring Operation: 67+82=149, Resulting Numbers: [149]
149,37 unequal: No Solution
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 37:[47, 58, 26], Operations: ['93-67=26']
Exploring Operation: 58-26=32, Resulting Numbers: [47, 32]
Generated Node #0,4,0: 37:[47, 32] Operation: 58-26=32
Exploring Operation: 47+26=73, Resulting Numbers: [58, 73]
Generated Node #0,4,1: 37:[58, 73] Operation: 47+26=73
Exploring Operation: 47-26=21, Resulting Numbers: [58, 21]
Generated Node #0,4,2: 37:[58, 21] Operation: 47-26=21
Exploring Operation: 58-47=11, Resulting Numbers: [26, 11]
Generated Node #0,4,3: 37:[26, 11] Operation: 58-47=11
Exploring Operation: 58+26=84, Resulting Numbers: [47, 84]
Generated Node #0,4,4: 37:[47, 84] Operation: 58+26=84
Moving to Node #0,3
Current State: 37:[67, 58, 46], Operations: ['93-47=46']
Exploring Operation: 58-46=12, Resulting Numbers: [67, 12]
Generated Node #0,3,0: 37:[67, 12] Operation: 58-46=12
Exploring Operation: 67-46=21, Resulting Numbers: [58, 21]
Generated Node #0,3,1: 37:[58, 21] Operation: 67-46=21
Exploring Operation: 67+46=113, Resulting Numbers: [58, 113]
Generated Node #0,3,2: 37:[58, 113] Operation: 67+46=113
Exploring Operation: 67-58=9, Resulting Numbers: [46, 9]
Generated Node #0,3,3: 37:[46, 9] Operation: 67-58=9
Exploring Operation: 67+58=125, Resulting Numbers: [46, 125]
Generated Node #0,3,4: 37:[46, 125] Operation: 67+58=125
Moving to Node #0,0
Current State: 37:[47, 93, 9], Operations: ['67-58=9']
Exploring Operation: 93-47=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 37:[9, 46] Operation: 93-47=46
Exploring Operation: 47-9=38, Resulting Numbers: [93, 38]
Generated Node #0,0,1: 37:[93, 38] Operation: 47-9=38
Exploring Operation: 47+9=56, Resulting Numbers: [93, 56]
Generated Node #0,0,2: 37:[93, 56] Operation: 47+9=56
Exploring Operation: 93+9=102, Resulting Numbers: [47, 102]
Generated Node #0,0,3: 37:[47, 102] Operation: 93+9=102
Exploring Operation: 93-9=84, Resulting Numbers: [47, 84]
Generated Node #0,0,4: 37:[47, 84] Operation: 93-9=84
Moving to Node #0,1
Current State: 37:[93, 58, 20], Operations: ['67-47=20']
Exploring Operation: 58+20=78, Resulting Numbers: [93, 78]
Generated Node #0,1,0: 37:[93, 78] Operation: 58+20=78
Exploring Operation: 58-20=38, Resulting Numbers: [93, 38]
Generated Node #0,1,1: 37:[93, 38] Operation: 58-20=38
Exploring Operation: 93+20=113, Resulting Numbers: [58, 113]
Generated Node #0,1,2: 37:[58, 113] Operation: 93+20=113
Exploring Operation: 93-58=35, Resulting Numbers: [20, 35]
Generated Node #0,1,3: 37:[20, 35] Operation: 93-58=35
Exploring Operation: 93-20=73, Resulting Numbers: [58, 73]
Generated Node #0,1,4: 37:[58, 73] Operation: 93-20=73
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 37:[20, 35], Operations: ['67-47=20', '93-58=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,37 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[93, 38], Operations: ['67-47=20', '58-20=38']
Exploring Operation: 93+38=131, Resulting Numbers: [131]
131,37 unequal: No Solution
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 93*38=3534, Resulting Numbers: [3534]
3534,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 37:[58, 73], Operations: ['67-47=20', '93-20=73']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,37 unequal: No Solution
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[93, 78], Operations: ['67-47=20', '58+20=78']
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 93*78=7254, Resulting Numbers: [7254]
7254,37 unequal: No Solution
Exploring Operation: 93+78=171, Resulting Numbers: [171]
171,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[58, 113], Operations: ['67-47=20', '93+20=113']
Exploring Operation: 58*113=6554, Resulting Numbers: [6554]
6554,37 unequal: No Solution
Exploring Operation: 113-58=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 58+113=171, Resulting Numbers: [171]
171,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 37:[47, 32], Operations: ['93-67=26', '58-26=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,37 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[26, 11], Operations: ['93-67=26', '58-47=11']
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,37 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[47, 67, 93, 58], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [47, 58, 26]
Generated Node #0,4: 37:[47, 58, 26] Operation: 93-67=26
Moving to Node #0,4
Current State: 37:[47, 58, 26], Operations: ['93-67=26']
Exploring Operation: 58-47=11, Resulting Numbers: [26, 11]
Generated Node #0,4,3: 37:[26, 11] Operation: 58-47=11
Moving to Node #0,4,3
Current State: 37:[26, 11], Operations: ['93-67=26', '58-47=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.939236 | hs_5 | mult_heuristic |
[
34,
63,
69,
13
] | 85 | [
"63-34=29",
"69-13=56",
"29+56=85"
] | Current State: 85:[34, 63, 69, 13], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [69, 13, 29]
Generated Node #2: [69, 13, 29] from Operation: 63-34=29
Current State: 85:[69, 13, 29], Operations: ['63-34=29']
Exploring Operation: 69-13=56, Resulting Numbers: [29, 56]
Generated Node #3: [29, 56] from Operation: 69-13=56
Current State: 85:[29, 56], Operations: ['63-34=29', '69-13=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[34, 63, 69, 13], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [34, 13, 6]
Generated Node #0,0: 85:[34, 13, 6] Operation: 69-63=6
Exploring Operation: 34+63=97, Resulting Numbers: [69, 13, 97]
Generated Node #0,1: 85:[69, 13, 97] Operation: 34+63=97
Exploring Operation: 63-34=29, Resulting Numbers: [69, 13, 29]
Generated Node #0,2: 85:[69, 13, 29] Operation: 63-34=29
Moving to Node #0,0
Current State: 85:[34, 13, 6], Operations: ['69-63=6']
Exploring Operation: 34-13=21, Resulting Numbers: [6, 21]
Generated Node #0,0,0: 85:[6, 21] Operation: 34-13=21
Exploring Operation: 34-6=28, Resulting Numbers: [13, 28]
Generated Node #0,0,1: 85:[13, 28] Operation: 34-6=28
Exploring Operation: 13+6=19, Resulting Numbers: [34, 19]
Generated Node #0,0,2: 85:[34, 19] Operation: 13+6=19
Moving to Node #0,1
Current State: 85:[69, 13, 97], Operations: ['34+63=97']
Exploring Operation: 97-13=84, Resulting Numbers: [69, 84]
Generated Node #0,1,0: 85:[69, 84] Operation: 97-13=84
Exploring Operation: 69+13=82, Resulting Numbers: [97, 82]
Generated Node #0,1,1: 85:[97, 82] Operation: 69+13=82
Exploring Operation: 97-69=28, Resulting Numbers: [13, 28]
Generated Node #0,1,2: 85:[13, 28] Operation: 97-69=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[97, 82], Operations: ['34+63=97', '69+13=82']
Exploring Operation: 97*82=7954, Resulting Numbers: [7954]
7954,85 unequal: No Solution
Exploring Operation: 97+82=179, Resulting Numbers: [179]
179,85 unequal: No Solution
Exploring Operation: 97-82=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[13, 28], Operations: ['34+63=97', '97-69=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[69, 84], Operations: ['34+63=97', '97-13=84']
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,85 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[69, 13, 29], Operations: ['63-34=29']
Exploring Operation: 69+13=82, Resulting Numbers: [29, 82]
Generated Node #0,2,0: 85:[29, 82] Operation: 69+13=82
Exploring Operation: 69+29=98, Resulting Numbers: [13, 98]
Generated Node #0,2,1: 85:[13, 98] Operation: 69+29=98
Exploring Operation: 29-13=16, Resulting Numbers: [69, 16]
Generated Node #0,2,2: 85:[69, 16] Operation: 29-13=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[29, 82], Operations: ['63-34=29', '69+13=82']
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,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,2,1
Current State: 85:[13, 98], Operations: ['63-34=29', '69+29=98']
Exploring Operation: 13*98=1274, Resulting Numbers: [1274]
1274,85 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[34, 63, 69, 13], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [69, 13, 29]
Generated Node #0,2: 85:[69, 13, 29] Operation: 63-34=29
Moving to Node #0,2
Current State: 85:[69, 13, 29], Operations: ['63-34=29']
Exploring Operation: 69+29=98, Resulting Numbers: [13, 98]
Generated Node #0,2,1: 85:[13, 98] Operation: 69+29=98
Moving to Node #0,2,1
Current State: 85:[13, 98], Operations: ['63-34=29', '69+29=98']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
45,
91,
51,
2
] | 83 | [
"45+91=136",
"51+2=53",
"136-53=83"
] | Current State: 83:[45, 91, 51, 2], Operations: []
Exploring Operation: 45+91=136, Resulting Numbers: [51, 2, 136]
Generated Node #2: [51, 2, 136] from Operation: 45+91=136
Current State: 83:[51, 2, 136], Operations: ['45+91=136']
Exploring Operation: 51+2=53, Resulting Numbers: [136, 53]
Generated Node #3: [136, 53] from Operation: 51+2=53
Current State: 83:[136, 53], Operations: ['45+91=136', '51+2=53']
Exploring Operation: 136-53=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[45, 91, 51, 2], Operations: []
Exploring Operation: 51*2=102, Resulting Numbers: [45, 91, 102]
Generated Node #0,0: 83:[45, 91, 102] Operation: 51*2=102
Exploring Operation: 45*2=90, Resulting Numbers: [91, 51, 90]
Generated Node #0,1: 83:[91, 51, 90] Operation: 45*2=90
Exploring Operation: 91-2=89, Resulting Numbers: [45, 51, 89]
Generated Node #0,2: 83:[45, 51, 89] Operation: 91-2=89
Exploring Operation: 45+2=47, Resulting Numbers: [91, 51, 47]
Generated Node #0,3: 83:[91, 51, 47] Operation: 45+2=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[91, 51, 90], Operations: ['45*2=90']
Exploring Operation: 91-51=40, Resulting Numbers: [90, 40]
Generated Node #0,1,0: 83:[90, 40] Operation: 91-51=40
Exploring Operation: 51+90=141, Resulting Numbers: [91, 141]
Generated Node #0,1,1: 83:[91, 141] Operation: 51+90=141
Exploring Operation: 90-51=39, Resulting Numbers: [91, 39]
Generated Node #0,1,2: 83:[91, 39] Operation: 90-51=39
Exploring Operation: 91+51=142, Resulting Numbers: [90, 142]
Generated Node #0,1,3: 83:[90, 142] Operation: 91+51=142
Moving to Node #0,1,0
Current State: 83:[90, 40], Operations: ['45*2=90', '91-51=40']
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,83 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,83 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[91, 39], Operations: ['45*2=90', '90-51=39']
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,83 unequal: No Solution
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,83 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[90, 142], Operations: ['45*2=90', '91+51=142']
Exploring Operation: 90*142=12780, Resulting Numbers: [12780]
12780,83 unequal: No Solution
Exploring Operation: 90+142=232, Resulting Numbers: [232]
232,83 unequal: No Solution
Exploring Operation: 142-90=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[91, 141], Operations: ['45*2=90', '51+90=141']
Exploring Operation: 141-91=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 91*141=12831, Resulting Numbers: [12831]
12831,83 unequal: No Solution
Exploring Operation: 91+141=232, Resulting Numbers: [232]
232,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[45, 91, 102], Operations: ['51*2=102']
Exploring Operation: 45+91=136, Resulting Numbers: [102, 136]
Generated Node #0,0,0: 83:[102, 136] Operation: 45+91=136
Exploring Operation: 91-45=46, Resulting Numbers: [102, 46]
Generated Node #0,0,1: 83:[102, 46] Operation: 91-45=46
Exploring Operation: 102-45=57, Resulting Numbers: [91, 57]
Generated Node #0,0,2: 83:[91, 57] Operation: 102-45=57
Exploring Operation: 45+102=147, Resulting Numbers: [91, 147]
Generated Node #0,0,3: 83:[91, 147] Operation: 45+102=147
Moving to Node #0,0,2
Current State: 83:[91, 57], Operations: ['51*2=102', '102-45=57']
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 91*57=5187, Resulting Numbers: [5187]
5187,83 unequal: No Solution
Exploring Operation: 91+57=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[102, 46], Operations: ['51*2=102', '91-45=46']
Exploring Operation: 102-46=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 102+46=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 102*46=4692, Resulting Numbers: [4692]
4692,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[91, 147], Operations: ['51*2=102', '45+102=147']
Exploring Operation: 91*147=13377, Resulting Numbers: [13377]
13377,83 unequal: No Solution
Exploring Operation: 147-91=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 91+147=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[102, 136], Operations: ['51*2=102', '45+91=136']
Exploring Operation: 102+136=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 102*136=13872, Resulting Numbers: [13872]
13872,83 unequal: No Solution
Exploring Operation: 136-102=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[45, 51, 89], Operations: ['91-2=89']
Exploring Operation: 45+89=134, Resulting Numbers: [51, 134]
Generated Node #0,2,0: 83:[51, 134] Operation: 45+89=134
Exploring Operation: 51-45=6, Resulting Numbers: [89, 6]
Generated Node #0,2,1: 83:[89, 6] Operation: 51-45=6
Exploring Operation: 45+51=96, Resulting Numbers: [89, 96]
Generated Node #0,2,2: 83:[89, 96] Operation: 45+51=96
Exploring Operation: 89-45=44, Resulting Numbers: [51, 44]
Generated Node #0,2,3: 83:[51, 44] Operation: 89-45=44
Moving to Node #0,2,2
Current State: 83:[89, 96], Operations: ['91-2=89', '45+51=96']
Exploring Operation: 89+96=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 89*96=8544, Resulting Numbers: [8544]
8544,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[51, 44], Operations: ['91-2=89', '89-45=44']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,83 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[89, 6], Operations: ['91-2=89', '51-45=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[45, 91, 51, 2], Operations: []
Exploring Operation: 91-2=89, Resulting Numbers: [45, 51, 89]
Generated Node #0,2: 83:[45, 51, 89] Operation: 91-2=89
Moving to Node #0,2
Current State: 83:[45, 51, 89], Operations: ['91-2=89']
Exploring Operation: 51-45=6, Resulting Numbers: [89, 6]
Generated Node #0,2,1: 83:[89, 6] Operation: 51-45=6
Moving to Node #0,2,1
Current State: 83:[89, 6], Operations: ['91-2=89', '51-45=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_4 | mult_heuristic |
[
27,
70,
29,
24
] | 59 | [
"29-27=2",
"70/2=35",
"24+35=59"
] | Current State: 59:[27, 70, 29, 24], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [70, 24, 2]
Generated Node #2: [70, 24, 2] from Operation: 29-27=2
Current State: 59:[70, 24, 2], Operations: ['29-27=2']
Exploring Operation: 70/2=35, Resulting Numbers: [24, 35]
Generated Node #3: [24, 35] from Operation: 70/2=35
Current State: 59:[24, 35], Operations: ['29-27=2', '70/2=35']
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[27, 70, 29, 24], Operations: []
Exploring Operation: 27+29=56, Resulting Numbers: [70, 24, 56]
Generated Node #0,0: 59:[70, 24, 56] Operation: 27+29=56
Moving to Node #0,0
Current State: 59:[70, 24, 56], Operations: ['27+29=56']
Exploring Operation: 70-24=46, Resulting Numbers: [56, 46]
Generated Node #0,0,0: 59:[56, 46] Operation: 70-24=46
Moving to Node #0,0,0
Current State: 59:[56, 46], Operations: ['27+29=56', '70-24=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
26,
84,
42
] | 83 | [
"16+26=42",
"42/42=1",
"84-1=83"
] | Current State: 83:[16, 26, 84, 42], Operations: []
Exploring Operation: 16+26=42, Resulting Numbers: [84, 42, 42]
Generated Node #2: [84, 42, 42] from Operation: 16+26=42
Current State: 83:[84, 42, 42], Operations: ['16+26=42']
Exploring Operation: 42/42=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 42/42=1
Current State: 83:[84, 1], Operations: ['16+26=42', '42/42=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[16, 26, 84, 42], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [26, 42, 68]
Generated Node #0,0: 83:[26, 42, 68] Operation: 84-16=68
Exploring Operation: 26+42=68, Resulting Numbers: [16, 84, 68]
Generated Node #0,1: 83:[16, 84, 68] Operation: 26+42=68
Exploring Operation: 16+26=42, Resulting Numbers: [84, 42, 42]
Generated Node #0,2: 83:[84, 42, 42] Operation: 16+26=42
Exploring Operation: 16+42=58, Resulting Numbers: [26, 84, 58]
Generated Node #0,3: 83:[26, 84, 58] Operation: 16+42=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[16, 84, 68], Operations: ['26+42=68']
Exploring Operation: 16+68=84, Resulting Numbers: [84, 84]
Generated Node #0,1,0: 83:[84, 84] Operation: 16+68=84
Exploring Operation: 84-16=68, Resulting Numbers: [68, 68]
Generated Node #0,1,1: 83:[68, 68] Operation: 84-16=68
Exploring Operation: 16+84=100, Resulting Numbers: [68, 100]
Generated Node #0,1,2: 83:[68, 100] Operation: 16+84=100
Exploring Operation: 68-16=52, Resulting Numbers: [84, 52]
Generated Node #0,1,3: 83:[84, 52] Operation: 68-16=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[84, 84], Operations: ['26+42=68', '16+68=84']
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 84*84=7056, Resulting Numbers: [7056]
7056,83 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,83 unequal: No Solution
No 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: 83:[68, 68], Operations: ['26+42=68', '84-16=68']
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,83 unequal: No Solution
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,83 unequal: No Solution
No 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: 83:[68, 100], Operations: ['26+42=68', '16+84=100']
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 68+100=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 68*100=6800, Resulting Numbers: [6800]
6800,83 unequal: No Solution
No 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: 83:[84, 52], Operations: ['26+42=68', '68-16=52']
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[84, 42, 42], Operations: ['16+26=42']
Exploring Operation: 42/42=1, Resulting Numbers: [84, 1]
Generated Node #0,2,0: 83:[84, 1] Operation: 42/42=1
Exploring Operation: 84-42=42, Resulting Numbers: [42, 42]
Generated Node #0,2,1: 83:[42, 42] Operation: 84-42=42
Exploring Operation: 84-42=42, Resulting Numbers: [42, 42]
Generated Node #0,2,2: 83:[42, 42] Operation: 84-42=42
Exploring Operation: 42+42=84, Resulting Numbers: [84, 84]
Generated Node #0,2,3: 83:[84, 84] Operation: 42+42=84
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[84, 84], Operations: ['16+26=42', '42+42=84']
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 84*84=7056, Resulting Numbers: [7056]
7056,83 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,83 unequal: No Solution
No 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: 83:[42, 42], Operations: ['16+26=42', '84-42=42']
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,83 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,83 unequal: No Solution
No 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: 83:[42, 42], Operations: ['16+26=42', '84-42=42']
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,83 unequal: No Solution
No 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: 83:[84, 1], Operations: ['16+26=42', '42/42=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[16, 26, 84, 42], Operations: []
Exploring Operation: 16+26=42, Resulting Numbers: [84, 42, 42]
Generated Node #0,2: 83:[84, 42, 42] Operation: 16+26=42
Moving to Node #0,2
Current State: 83:[84, 42, 42], Operations: ['16+26=42']
Exploring Operation: 42/42=1, Resulting Numbers: [84, 1]
Generated Node #0,2,0: 83:[84, 1] Operation: 42/42=1
Moving to Node #0,2,0
Current State: 83:[84, 1], Operations: ['16+26=42', '42/42=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
15,
41,
5,
19
] | 50 | [
"41-15=26",
"5+19=24",
"26+24=50"
] | Current State: 50:[15, 41, 5, 19], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [5, 19, 26]
Generated Node #2: [5, 19, 26] from Operation: 41-15=26
Current State: 50:[5, 19, 26], Operations: ['41-15=26']
Exploring Operation: 5+19=24, Resulting Numbers: [26, 24]
Generated Node #3: [26, 24] from Operation: 5+19=24
Current State: 50:[26, 24], Operations: ['41-15=26', '5+19=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[15, 41, 5, 19], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [5, 19, 26]
Generated Node #0,0: 50:[5, 19, 26] Operation: 41-15=26
Exploring Operation: 41-19=22, Resulting Numbers: [15, 5, 22]
Generated Node #0,1: 50:[15, 5, 22] Operation: 41-19=22
Exploring Operation: 15+41=56, Resulting Numbers: [5, 19, 56]
Generated Node #0,2: 50:[5, 19, 56] Operation: 15+41=56
Exploring Operation: 19-15=4, Resulting Numbers: [41, 5, 4]
Generated Node #0,3: 50:[41, 5, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[5, 19, 26], Operations: ['41-15=26']
Exploring Operation: 26-19=7, Resulting Numbers: [5, 7]
Generated Node #0,0,0: 50:[5, 7] Operation: 26-19=7
Exploring Operation: 19+26=45, Resulting Numbers: [5, 45]
Generated Node #0,0,1: 50:[5, 45] Operation: 19+26=45
Exploring Operation: 19-5=14, Resulting Numbers: [26, 14]
Generated Node #0,0,2: 50:[26, 14] Operation: 19-5=14
Exploring Operation: 5+19=24, Resulting Numbers: [26, 24]
Generated Node #0,0,3: 50:[26, 24] Operation: 5+19=24
Moving to Node #0,0,0
Current State: 50:[5, 7], Operations: ['41-15=26', '26-19=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[26, 24], Operations: ['41-15=26', '5+19=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[15, 41, 5, 19], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [5, 19, 26]
Generated Node #0,0: 50:[5, 19, 26] Operation: 41-15=26
Moving to Node #0,0
Current State: 50:[5, 19, 26], Operations: ['41-15=26']
Exploring Operation: 5+19=24, Resulting Numbers: [26, 24]
Generated Node #0,0,3: 50:[26, 24] Operation: 5+19=24
Moving to Node #0,0,3
Current State: 50:[26, 24], Operations: ['41-15=26', '5+19=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
83,
73,
95,
12
] | 69 | [
"73+95=168",
"168/12=14",
"83-14=69"
] | Current State: 69:[83, 73, 95, 12], Operations: []
Exploring Operation: 73+95=168, Resulting Numbers: [83, 12, 168]
Generated Node #2: [83, 12, 168] from Operation: 73+95=168
Current State: 69:[83, 12, 168], Operations: ['73+95=168']
Exploring Operation: 168/12=14, Resulting Numbers: [83, 14]
Generated Node #3: [83, 14] from Operation: 168/12=14
Current State: 69:[83, 14], Operations: ['73+95=168', '168/12=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[83, 73, 95, 12], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [73, 12, 12]
Generated Node #0,0: 69:[73, 12, 12] Operation: 95-83=12
Exploring Operation: 95-73=22, Resulting Numbers: [83, 12, 22]
Generated Node #0,1: 69:[83, 12, 22] Operation: 95-73=22
Moving to Node #0,0
Current State: 69:[73, 12, 12], Operations: ['95-83=12']
Exploring Operation: 12+12=24, Resulting Numbers: [73, 24]
Generated Node #0,0,0: 69:[73, 24] Operation: 12+12=24
Exploring Operation: 12/12=1, Resulting Numbers: [73, 1]
Generated Node #0,0,1: 69:[73, 1] Operation: 12/12=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[73, 24], Operations: ['95-83=12', '12+12=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[73, 1], Operations: ['95-83=12', '12/12=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 69:[83, 12, 22], Operations: ['95-73=22']
Exploring Operation: 83-12=71, Resulting Numbers: [22, 71]
Generated Node #0,1,0: 69:[22, 71] Operation: 83-12=71
Exploring Operation: 83-22=61, Resulting Numbers: [12, 61]
Generated Node #0,1,1: 69:[12, 61] Operation: 83-22=61
Moving to Node #0,1,0
Current State: 69:[22, 71], Operations: ['95-73=22', '83-12=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[12, 61], Operations: ['95-73=22', '83-22=61']
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
90,
34,
60
] | 30 | [
"34/17=2",
"60*2=120",
"120-90=30"
] | Current State: 30:[17, 90, 34, 60], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [90, 60, 2]
Generated Node #2: [90, 60, 2] from Operation: 34/17=2
Current State: 30:[90, 60, 2], Operations: ['34/17=2']
Exploring Operation: 60*2=120, Resulting Numbers: [90, 120]
Generated Node #3: [90, 120] from Operation: 60*2=120
Current State: 30:[90, 120], Operations: ['34/17=2', '60*2=120']
Exploring Operation: 120-90=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 90, 34, 60], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [17, 90, 26]
Generated Node #0,0: 30:[17, 90, 26] Operation: 60-34=26
Exploring Operation: 90-60=30, Resulting Numbers: [17, 34, 30]
Generated Node #0,1: 30:[17, 34, 30] Operation: 90-60=30
Exploring Operation: 90-17=73, Resulting Numbers: [34, 60, 73]
Generated Node #0,2: 30:[34, 60, 73] Operation: 90-17=73
Exploring Operation: 90-34=56, Resulting Numbers: [17, 60, 56]
Generated Node #0,3: 30:[17, 60, 56] Operation: 90-34=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[17, 34, 30], Operations: ['90-60=30']
Exploring Operation: 30-17=13, Resulting Numbers: [34, 13]
Generated Node #0,1,0: 30:[34, 13] Operation: 30-17=13
Exploring Operation: 34-17=17, Resulting Numbers: [30, 17]
Generated Node #0,1,1: 30:[30, 17] Operation: 34-17=17
Exploring Operation: 34/17=2, Resulting Numbers: [30, 2]
Generated Node #0,1,2: 30:[30, 2] Operation: 34/17=2
Exploring Operation: 34-30=4, Resulting Numbers: [17, 4]
Generated Node #0,1,3: 30:[17, 4] Operation: 34-30=4
Moving to Node #0,1,2
Current State: 30:[30, 2], Operations: ['90-60=30', '34/17=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[30, 17], Operations: ['90-60=30', '34-17=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,30 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[17, 4], Operations: ['90-60=30', '34-30=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[34, 13], Operations: ['90-60=30', '30-17=13']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,30 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,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
Current State: 30:[17, 60, 56], Operations: ['90-34=56']
Exploring Operation: 60-17=43, Resulting Numbers: [56, 43]
Generated Node #0,3,0: 30:[56, 43] Operation: 60-17=43
Exploring Operation: 60-56=4, Resulting Numbers: [17, 4]
Generated Node #0,3,1: 30:[17, 4] Operation: 60-56=4
Exploring Operation: 56-17=39, Resulting Numbers: [60, 39]
Generated Node #0,3,2: 30:[60, 39] Operation: 56-17=39
Exploring Operation: 17+60=77, Resulting Numbers: [56, 77]
Generated Node #0,3,3: 30:[56, 77] Operation: 17+60=77
Moving to Node #0,3,1
Current State: 30:[17, 4], Operations: ['90-34=56', '60-56=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,30 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[60, 39], Operations: ['90-34=56', '56-17=39']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,30 unequal: No Solution
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[56, 43], Operations: ['90-34=56', '60-17=43']
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[56, 77], Operations: ['90-34=56', '17+60=77']
Exploring Operation: 56+77=133, Resulting Numbers: [133]
133,30 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 56*77=4312, Resulting Numbers: [4312]
4312,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[17, 90, 26], Operations: ['60-34=26']
Exploring Operation: 26-17=9, Resulting Numbers: [90, 9]
Generated Node #0,0,0: 30:[90, 9] Operation: 26-17=9
Exploring Operation: 17+26=43, Resulting Numbers: [90, 43]
Generated Node #0,0,1: 30:[90, 43] Operation: 17+26=43
Exploring Operation: 90-26=64, Resulting Numbers: [17, 64]
Generated Node #0,0,2: 30:[17, 64] Operation: 90-26=64
Exploring Operation: 90-17=73, Resulting Numbers: [26, 73]
Generated Node #0,0,3: 30:[26, 73] Operation: 90-17=73
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[17, 64], Operations: ['60-34=26', '90-26=64']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,30 unequal: No Solution
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 30:[26, 73], Operations: ['60-34=26', '90-17=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[90, 9], Operations: ['60-34=26', '26-17=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,30 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[90, 43], Operations: ['60-34=26', '17+26=43']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,30 unequal: No Solution
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,30 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: 30:[34, 60, 73], Operations: ['90-17=73']
Exploring Operation: 73-34=39, Resulting Numbers: [60, 39]
Generated Node #0,2,0: 30:[60, 39] Operation: 73-34=39
Exploring Operation: 73-60=13, Resulting Numbers: [34, 13]
Generated Node #0,2,1: 30:[34, 13] Operation: 73-60=13
Exploring Operation: 34+60=94, Resulting Numbers: [73, 94]
Generated Node #0,2,2: 30:[73, 94] Operation: 34+60=94
Exploring Operation: 60-34=26, Resulting Numbers: [73, 26]
Generated Node #0,2,3: 30:[73, 26] Operation: 60-34=26
Moving to Node #0,2,1
Current State: 30:[34, 13], Operations: ['90-17=73', '73-60=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[60, 39], Operations: ['90-17=73', '73-34=39']
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,30 unequal: No Solution
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[73, 26], Operations: ['90-17=73', '60-34=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[73, 94], Operations: ['90-17=73', '34+60=94']
Exploring Operation: 73*94=6862, Resulting Numbers: [6862]
6862,30 unequal: No Solution
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 73+94=167, Resulting Numbers: [167]
167,30 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 |
[
5,
1,
38,
51
] | 94 | [
"5*1=5",
"38+51=89",
"5+89=94"
] | Current State: 94:[5, 1, 38, 51], Operations: []
Exploring Operation: 5*1=5, Resulting Numbers: [38, 51, 5]
Generated Node #2: [38, 51, 5] from Operation: 5*1=5
Current State: 94:[38, 51, 5], Operations: ['5*1=5']
Exploring Operation: 38+51=89, Resulting Numbers: [5, 89]
Generated Node #3: [5, 89] from Operation: 38+51=89
Current State: 94:[5, 89], Operations: ['5*1=5', '38+51=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[5, 1, 38, 51], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [38, 51, 4]
Generated Node #0,0: 94:[38, 51, 4] Operation: 5-1=4
Exploring Operation: 1+38=39, Resulting Numbers: [5, 51, 39]
Generated Node #0,1: 94:[5, 51, 39] Operation: 1+38=39
Exploring Operation: 5+38=43, Resulting Numbers: [1, 51, 43]
Generated Node #0,2: 94:[1, 51, 43] Operation: 5+38=43
Exploring Operation: 38+51=89, Resulting Numbers: [5, 1, 89]
Generated Node #0,3: 94:[5, 1, 89] Operation: 38+51=89
Exploring Operation: 51-5=46, Resulting Numbers: [1, 38, 46]
Generated Node #0,4: 94:[1, 38, 46] Operation: 51-5=46
Moving to Node #0,2
Current State: 94:[1, 51, 43], Operations: ['5+38=43']
Exploring Operation: 51-43=8, Resulting Numbers: [1, 8]
Generated Node #0,2,0: 94:[1, 8] Operation: 51-43=8
Exploring Operation: 1*51=51, Resulting Numbers: [43, 51]
Generated Node #0,2,1: 94:[43, 51] Operation: 1*51=51
Exploring Operation: 1+43=44, Resulting Numbers: [51, 44]
Generated Node #0,2,2: 94:[51, 44] Operation: 1+43=44
Exploring Operation: 51+43=94, Resulting Numbers: [1, 94]
Generated Node #0,2,3: 94:[1, 94] Operation: 51+43=94
Exploring Operation: 51-1=50, Resulting Numbers: [43, 50]
Generated Node #0,2,4: 94:[43, 50] Operation: 51-1=50
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[1, 94], Operations: ['5+38=43', '51+43=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[5, 1, 38, 51], Operations: []
Exploring Operation: 5+38=43, Resulting Numbers: [1, 51, 43]
Generated Node #0,2: 94:[1, 51, 43] Operation: 5+38=43
Moving to Node #0,2
Current State: 94:[1, 51, 43], Operations: ['5+38=43']
Exploring Operation: 51+43=94, Resulting Numbers: [1, 94]
Generated Node #0,2,3: 94:[1, 94] Operation: 51+43=94
Moving to Node #0,2,3
Current State: 94:[1, 94], Operations: ['5+38=43', '51+43=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
31,
6,
65,
41
] | 13 | [
"31+6=37",
"65-41=24",
"37-24=13"
] | Current State: 13:[31, 6, 65, 41], Operations: []
Exploring Operation: 31+6=37, Resulting Numbers: [65, 41, 37]
Generated Node #2: [65, 41, 37] from Operation: 31+6=37
Current State: 13:[65, 41, 37], Operations: ['31+6=37']
Exploring Operation: 65-41=24, Resulting Numbers: [37, 24]
Generated Node #3: [37, 24] from Operation: 65-41=24
Current State: 13:[37, 24], Operations: ['31+6=37', '65-41=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[31, 6, 65, 41], Operations: []
Exploring Operation: 65-31=34, Resulting Numbers: [6, 41, 34]
Generated Node #0,0: 13:[6, 41, 34] Operation: 65-31=34
Exploring Operation: 65-41=24, Resulting Numbers: [31, 6, 24]
Generated Node #0,1: 13:[31, 6, 24] Operation: 65-41=24
Moving to Node #0,1
Current State: 13:[31, 6, 24], Operations: ['65-41=24']
Exploring Operation: 31-6=25, Resulting Numbers: [24, 25]
Generated Node #0,1,0: 13:[24, 25] Operation: 31-6=25
Exploring Operation: 31-24=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 13:[6, 7] Operation: 31-24=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[6, 7], Operations: ['65-41=24', '31-24=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[31, 6, 65, 41], Operations: []
Exploring Operation: 65-41=24, Resulting Numbers: [31, 6, 24]
Generated Node #0,1: 13:[31, 6, 24] Operation: 65-41=24
Moving to Node #0,1
Current State: 13:[31, 6, 24], Operations: ['65-41=24']
Exploring Operation: 31-24=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 13:[6, 7] Operation: 31-24=7
Moving to Node #0,1,1
Current State: 13:[6, 7], Operations: ['65-41=24', '31-24=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
9,
43,
35,
19
] | 37 | [
"35+19=54",
"54/9=6",
"43-6=37"
] | Current State: 37:[9, 43, 35, 19], Operations: []
Exploring Operation: 35+19=54, Resulting Numbers: [9, 43, 54]
Generated Node #2: [9, 43, 54] from Operation: 35+19=54
Current State: 37:[9, 43, 54], Operations: ['35+19=54']
Exploring Operation: 54/9=6, Resulting Numbers: [43, 6]
Generated Node #3: [43, 6] from Operation: 54/9=6
Current State: 37:[43, 6], Operations: ['35+19=54', '54/9=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[9, 43, 35, 19], Operations: []
Exploring Operation: 9+35=44, Resulting Numbers: [43, 19, 44]
Generated Node #0,0: 37:[43, 19, 44] Operation: 9+35=44
Exploring Operation: 9+43=52, Resulting Numbers: [35, 19, 52]
Generated Node #0,1: 37:[35, 19, 52] Operation: 9+43=52
Exploring Operation: 43-9=34, Resulting Numbers: [35, 19, 34]
Generated Node #0,2: 37:[35, 19, 34] Operation: 43-9=34
Exploring Operation: 9+19=28, Resulting Numbers: [43, 35, 28]
Generated Node #0,3: 37:[43, 35, 28] Operation: 9+19=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[43, 35, 28], Operations: ['9+19=28']
Exploring Operation: 43+28=71, Resulting Numbers: [35, 71]
Generated Node #0,3,0: 37:[35, 71] Operation: 43+28=71
Exploring Operation: 35+28=63, Resulting Numbers: [43, 63]
Generated Node #0,3,1: 37:[43, 63] Operation: 35+28=63
Exploring Operation: 43-28=15, Resulting Numbers: [35, 15]
Generated Node #0,3,2: 37:[35, 15] Operation: 43-28=15
Exploring Operation: 35-28=7, Resulting Numbers: [43, 7]
Generated Node #0,3,3: 37:[43, 7] Operation: 35-28=7
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[35, 15], Operations: ['9+19=28', '43-28=15']
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,37 unequal: No Solution
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,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,3,1
Current State: 37:[43, 63], Operations: ['9+19=28', '35+28=63']
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,37 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,37 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,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,3,0
Current State: 37:[35, 71], Operations: ['9+19=28', '43+28=71']
Exploring Operation: 35*71=2485, Resulting Numbers: [2485]
2485,37 unequal: No Solution
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,37 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,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,3,3
Current State: 37:[43, 7], Operations: ['9+19=28', '35-28=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[35, 19, 34], Operations: ['43-9=34']
Exploring Operation: 19+34=53, Resulting Numbers: [35, 53]
Generated Node #0,2,0: 37:[35, 53] Operation: 19+34=53
Exploring Operation: 35-19=16, Resulting Numbers: [34, 16]
Generated Node #0,2,1: 37:[34, 16] Operation: 35-19=16
Exploring Operation: 34-19=15, Resulting Numbers: [35, 15]
Generated Node #0,2,2: 37:[35, 15] Operation: 34-19=15
Exploring Operation: 35+19=54, Resulting Numbers: [34, 54]
Generated Node #0,2,3: 37:[34, 54] Operation: 35+19=54
Moving to Node #0,2,0
Current State: 37:[35, 53], Operations: ['43-9=34', '19+34=53']
Exploring Operation: 35*53=1855, Resulting Numbers: [1855]
1855,37 unequal: No Solution
Exploring Operation: 35+53=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[34, 54], Operations: ['43-9=34', '35+19=54']
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,37 unequal: No Solution
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[35, 15], Operations: ['43-9=34', '34-19=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,37 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[34, 16], Operations: ['43-9=34', '35-19=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,37 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[43, 19, 44], Operations: ['9+35=44']
Exploring Operation: 43+19=62, Resulting Numbers: [44, 62]
Generated Node #0,0,0: 37:[44, 62] Operation: 43+19=62
Exploring Operation: 43-19=24, Resulting Numbers: [44, 24]
Generated Node #0,0,1: 37:[44, 24] Operation: 43-19=24
Exploring Operation: 44-19=25, Resulting Numbers: [43, 25]
Generated Node #0,0,2: 37:[43, 25] Operation: 44-19=25
Exploring Operation: 19+44=63, Resulting Numbers: [43, 63]
Generated Node #0,0,3: 37:[43, 63] Operation: 19+44=63
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[43, 25], Operations: ['9+35=44', '44-19=25']
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,37 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[44, 24], Operations: ['9+35=44', '43-19=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,37 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,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:[44, 62], Operations: ['9+35=44', '43+19=62']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,37 unequal: No Solution
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[43, 63], Operations: ['9+35=44', '19+44=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,37 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,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:[35, 19, 52], Operations: ['9+43=52']
Exploring Operation: 19+52=71, Resulting Numbers: [35, 71]
Generated Node #0,1,0: 37:[35, 71] Operation: 19+52=71
Exploring Operation: 35-19=16, Resulting Numbers: [52, 16]
Generated Node #0,1,1: 37:[52, 16] Operation: 35-19=16
Exploring Operation: 35+19=54, Resulting Numbers: [52, 54]
Generated Node #0,1,2: 37:[52, 54] Operation: 35+19=54
Exploring Operation: 52-19=33, Resulting Numbers: [35, 33]
Generated Node #0,1,3: 37:[35, 33] Operation: 52-19=33
Moving to Node #0,1,3
Current State: 37:[35, 33], Operations: ['9+43=52', '52-19=33']
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,37 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[52, 54], Operations: ['9+43=52', '35+19=54']
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,37 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,37 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[52, 16], Operations: ['9+43=52', '35-19=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,37 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[35, 71], Operations: ['9+43=52', '19+52=71']
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,37 unequal: No Solution
Exploring Operation: 35*71=2485, Resulting Numbers: [2485]
2485,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
20,
15,
83,
85
] | 90 | [
"20+85=105",
"105/15=7",
"83+7=90"
] | Current State: 90:[20, 15, 83, 85], Operations: []
Exploring Operation: 20+85=105, Resulting Numbers: [15, 83, 105]
Generated Node #2: [15, 83, 105] from Operation: 20+85=105
Current State: 90:[15, 83, 105], Operations: ['20+85=105']
Exploring Operation: 105/15=7, Resulting Numbers: [83, 7]
Generated Node #3: [83, 7] from Operation: 105/15=7
Current State: 90:[83, 7], Operations: ['20+85=105', '105/15=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[20, 15, 83, 85], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [83, 85, 5]
Generated Node #0,0: 90:[83, 85, 5] Operation: 20-15=5
Exploring Operation: 15+83=98, Resulting Numbers: [20, 85, 98]
Generated Node #0,1: 90:[20, 85, 98] Operation: 15+83=98
Exploring Operation: 85-83=2, Resulting Numbers: [20, 15, 2]
Generated Node #0,2: 90:[20, 15, 2] Operation: 85-83=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[20, 15, 2], Operations: ['85-83=2']
Exploring Operation: 20-15=5, Resulting Numbers: [2, 5]
Generated Node #0,2,0: 90:[2, 5] Operation: 20-15=5
Exploring Operation: 20-2=18, Resulting Numbers: [15, 18]
Generated Node #0,2,1: 90:[15, 18] Operation: 20-2=18
Exploring Operation: 20/2=10, Resulting Numbers: [15, 10]
Generated Node #0,2,2: 90:[15, 10] Operation: 20/2=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[2, 5], Operations: ['85-83=2', '20-15=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,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,1
Current State: 90:[15, 18], Operations: ['85-83=2', '20-2=18']
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,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:[15, 10], Operations: ['85-83=2', '20/2=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,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,0
Current State: 90:[83, 85, 5], Operations: ['20-15=5']
Exploring Operation: 85+5=90, Resulting Numbers: [83, 90]
Generated Node #0,0,0: 90:[83, 90] Operation: 85+5=90
Exploring Operation: 85-83=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 90:[5, 2] Operation: 85-83=2
Exploring Operation: 83+5=88, Resulting Numbers: [85, 88]
Generated Node #0,0,2: 90:[85, 88] Operation: 83+5=88
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[5, 2], Operations: ['20-15=5', '85-83=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,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:[83, 90], Operations: ['20-15=5', '85+5=90']
Exploring Operation: 83+90=173, Resulting Numbers: [173]
173,90 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 83*90=7470, Resulting Numbers: [7470]
7470,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,2
Current State: 90:[85, 88], Operations: ['20-15=5', '83+5=88']
Exploring Operation: 85+88=173, Resulting Numbers: [173]
173,90 unequal: No Solution
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 85*88=7480, Resulting Numbers: [7480]
7480,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,1
Current State: 90:[20, 85, 98], Operations: ['15+83=98']
Exploring Operation: 98-20=78, Resulting Numbers: [85, 78]
Generated Node #0,1,0: 90:[85, 78] Operation: 98-20=78
Exploring Operation: 20+85=105, Resulting Numbers: [98, 105]
Generated Node #0,1,1: 90:[98, 105] Operation: 20+85=105
Exploring Operation: 98-85=13, Resulting Numbers: [20, 13]
Generated Node #0,1,2: 90:[20, 13] Operation: 98-85=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[20, 13], Operations: ['15+83=98', '98-85=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,90 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[85, 78], Operations: ['15+83=98', '98-20=78']
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,90 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[98, 105], Operations: ['15+83=98', '20+85=105']
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,90 unequal: No Solution
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,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 |
[
79,
25,
54,
3
] | 50 | [
"79-54=25",
"25*3=75",
"75-25=50"
] | Current State: 50:[79, 25, 54, 3], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [25, 3, 25]
Generated Node #2: [25, 3, 25] from Operation: 79-54=25
Current State: 50:[25, 3, 25], Operations: ['79-54=25']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,50 equal: Goal Reached
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[79, 25, 54, 3], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [25, 3, 25]
Generated Node #0,0: 50:[25, 3, 25] Operation: 79-54=25
Moving to Node #0,0
Current State: 50:[25, 3, 25], Operations: ['79-54=25']
Exploring Operation: 25+25=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 50:[3, 50] Operation: 25+25=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[3, 50], Operations: ['79-54=25', '25+25=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,50 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 |
[
78,
78,
49,
51
] | 51 | [
"78-78=0",
"49*0=0",
"51+0=51"
] | Current State: 51:[78, 78, 49, 51], Operations: []
Exploring Operation: 78-78=0, Resulting Numbers: [49, 51, 0]
Generated Node #2: [49, 51, 0] from Operation: 78-78=0
Current State: 51:[49, 51, 0], Operations: ['78-78=0']
Exploring Operation: 49*0=0, Resulting Numbers: [51, 0]
Generated Node #3: [51, 0] from Operation: 49*0=0
Current State: 51:[51, 0], Operations: ['78-78=0', '49*0=0']
Exploring Operation: 51+0=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[78, 78, 49, 51], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [49, 51, 1]
Generated Node #0,0: 51:[49, 51, 1] Operation: 78/78=1
Exploring Operation: 78-78=0, Resulting Numbers: [49, 51, 0]
Generated Node #0,1: 51:[49, 51, 0] Operation: 78-78=0
Exploring Operation: 78-49=29, Resulting Numbers: [78, 51, 29]
Generated Node #0,2: 51:[78, 51, 29] Operation: 78-49=29
Moving to Node #0,0
Current State: 51:[49, 51, 1], Operations: ['78/78=1']
Exploring Operation: 49+1=50, Resulting Numbers: [51, 50]
Generated Node #0,0,0: 51:[51, 50] Operation: 49+1=50
Exploring Operation: 49*1=49, Resulting Numbers: [51, 49]
Generated Node #0,0,1: 51:[51, 49] Operation: 49*1=49
Exploring Operation: 49/1=49, Resulting Numbers: [51, 49]
Generated Node #0,0,2: 51:[51, 49] Operation: 49/1=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[51, 50], Operations: ['78/78=1', '49+1=50']
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,51 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[51, 49], Operations: ['78/78=1', '49*1=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[51, 49], Operations: ['78/78=1', '49/1=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 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: 51:[49, 51, 0], Operations: ['78-78=0']
Exploring Operation: 49-0=49, Resulting Numbers: [51, 49]
Generated Node #0,1,0: 51:[51, 49] Operation: 49-0=49
Exploring Operation: 49+0=49, Resulting Numbers: [51, 49]
Generated Node #0,1,1: 51:[51, 49] Operation: 49+0=49
Exploring Operation: 51+0=51, Resulting Numbers: [49, 51]
Generated Node #0,1,2: 51:[49, 51] Operation: 51+0=51
Moving to Node #0,2
Current State: 51:[78, 51, 29], Operations: ['78-49=29']
Exploring Operation: 51-29=22, Resulting Numbers: [78, 22]
Generated Node #0,2,0: 51:[78, 22] Operation: 51-29=22
Exploring Operation: 78-51=27, Resulting Numbers: [29, 27]
Generated Node #0,2,1: 51:[29, 27] Operation: 78-51=27
Exploring Operation: 78-29=49, Resulting Numbers: [51, 49]
Generated Node #0,2,2: 51:[51, 49] Operation: 78-29=49
Moving to Node #0,1,0
Current State: 51:[51, 49], Operations: ['78-78=0', '49-0=49']
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[49, 51], Operations: ['78-78=0', '51+0=51']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[51, 49], Operations: ['78-78=0', '49+0=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[51, 49], Operations: ['78-49=29', '78-29=49']
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,51 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[29, 27], Operations: ['78-49=29', '78-51=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,51 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[78, 22], Operations: ['78-49=29', '51-29=22']
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,51 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,51 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
85,
13,
5,
35
] | 31 | [
"85/5=17",
"13+35=48",
"48-17=31"
] | Current State: 31:[85, 13, 5, 35], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [13, 35, 17]
Generated Node #2: [13, 35, 17] from Operation: 85/5=17
Current State: 31:[13, 35, 17], Operations: ['85/5=17']
Exploring Operation: 13+35=48, Resulting Numbers: [17, 48]
Generated Node #3: [17, 48] from Operation: 13+35=48
Current State: 31:[17, 48], Operations: ['85/5=17', '13+35=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[85, 13, 5, 35], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [13, 35, 17]
Generated Node #0,0: 31:[13, 35, 17] Operation: 85/5=17
Exploring Operation: 85-13=72, Resulting Numbers: [5, 35, 72]
Generated Node #0,1: 31:[5, 35, 72] Operation: 85-13=72
Exploring Operation: 85-35=50, Resulting Numbers: [13, 5, 50]
Generated Node #0,2: 31:[13, 5, 50] Operation: 85-35=50
Moving to Node #0,0
Current State: 31:[13, 35, 17], Operations: ['85/5=17']
Exploring Operation: 13+35=48, Resulting Numbers: [17, 48]
Generated Node #0,0,0: 31:[17, 48] Operation: 13+35=48
Exploring Operation: 13+17=30, Resulting Numbers: [35, 30]
Generated Node #0,0,1: 31:[35, 30] Operation: 13+17=30
Exploring Operation: 35-13=22, Resulting Numbers: [17, 22]
Generated Node #0,0,2: 31:[17, 22] Operation: 35-13=22
Moving to Node #0,2
Current State: 31:[13, 5, 50], Operations: ['85-35=50']
Exploring Operation: 50-13=37, Resulting Numbers: [5, 37]
Generated Node #0,2,0: 31:[5, 37] Operation: 50-13=37
Exploring Operation: 50-5=45, Resulting Numbers: [13, 45]
Generated Node #0,2,1: 31:[13, 45] Operation: 50-5=45
Exploring Operation: 13+5=18, Resulting Numbers: [50, 18]
Generated Node #0,2,2: 31:[50, 18] Operation: 13+5=18
Moving to Node #0,1
Current State: 31:[5, 35, 72], Operations: ['85-13=72']
Exploring Operation: 72-5=67, Resulting Numbers: [35, 67]
Generated Node #0,1,0: 31:[35, 67] Operation: 72-5=67
Exploring Operation: 35-5=30, Resulting Numbers: [72, 30]
Generated Node #0,1,1: 31:[72, 30] Operation: 35-5=30
Exploring Operation: 72-35=37, Resulting Numbers: [5, 37]
Generated Node #0,1,2: 31:[5, 37] Operation: 72-35=37
Moving to Node #0,0,1
Current State: 31:[35, 30], Operations: ['85/5=17', '13+17=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[17, 22], Operations: ['85/5=17', '35-13=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[17, 48], Operations: ['85/5=17', '13+35=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,31 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[85, 13, 5, 35], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [13, 35, 17]
Generated Node #0,0: 31:[13, 35, 17] Operation: 85/5=17
Moving to Node #0,0
Current State: 31:[13, 35, 17], Operations: ['85/5=17']
Exploring Operation: 13+35=48, Resulting Numbers: [17, 48]
Generated Node #0,0,0: 31:[17, 48] Operation: 13+35=48
Moving to Node #0,0,0
Current State: 31:[17, 48], Operations: ['85/5=17', '13+35=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.978299 | hs_3 | mult_heuristic |
[
72,
52,
4,
28
] | 33 | [
"72-52=20",
"20/4=5",
"28+5=33"
] | Current State: 33:[72, 52, 4, 28], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [4, 28, 20]
Generated Node #2: [4, 28, 20] from Operation: 72-52=20
Current State: 33:[4, 28, 20], Operations: ['72-52=20']
Exploring Operation: 20/4=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 20/4=5
Current State: 33:[28, 5], Operations: ['72-52=20', '20/4=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 52, 4, 28], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [52, 4, 44]
Generated Node #0,0: 33:[52, 4, 44] Operation: 72-28=44
Exploring Operation: 72-52=20, Resulting Numbers: [4, 28, 20]
Generated Node #0,1: 33:[4, 28, 20] Operation: 72-52=20
Exploring Operation: 72/4=18, Resulting Numbers: [52, 28, 18]
Generated Node #0,2: 33:[52, 28, 18] Operation: 72/4=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[4, 28, 20], Operations: ['72-52=20']
Exploring Operation: 20/4=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 33:[28, 5] Operation: 20/4=5
Exploring Operation: 28-20=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 33:[4, 8] Operation: 28-20=8
Exploring Operation: 4+28=32, Resulting Numbers: [20, 32]
Generated Node #0,1,2: 33:[20, 32] Operation: 4+28=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[4, 8], Operations: ['72-52=20', '28-20=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No 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: 33:[28, 5], Operations: ['72-52=20', '20/4=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,33 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[72, 52, 4, 28], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [4, 28, 20]
Generated Node #0,1: 33:[4, 28, 20] Operation: 72-52=20
Moving to Node #0,1
Current State: 33:[4, 28, 20], Operations: ['72-52=20']
Exploring Operation: 20/4=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 33:[28, 5] Operation: 20/4=5
Moving to Node #0,1,0
Current State: 33:[28, 5], Operations: ['72-52=20', '20/4=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
87,
29,
7,
10
] | 49 | [
"87/29=3",
"10-3=7",
"7*7=49"
] | Current State: 49:[87, 29, 7, 10], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [7, 10, 3]
Generated Node #2: [7, 10, 3] from Operation: 87/29=3
Current State: 49:[7, 10, 3], Operations: ['87/29=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 10-3=7
Current State: 49:[7, 7], Operations: ['87/29=3', '10-3=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[87, 29, 7, 10], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [29, 7, 77]
Generated Node #0,0: 49:[29, 7, 77] Operation: 87-10=77
Exploring Operation: 87/29=3, Resulting Numbers: [7, 10, 3]
Generated Node #0,1: 49:[7, 10, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [7, 10, 58]
Generated Node #0,2: 49:[7, 10, 58] Operation: 87-29=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[7, 10, 3], Operations: ['87/29=3']
Exploring Operation: 7-3=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 49:[10, 4] Operation: 7-3=4
Exploring Operation: 10-3=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 49:[7, 7] Operation: 10-3=7
Exploring Operation: 7+3=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 49:[10, 10] Operation: 7+3=10
Moving to Node #0,1,1
Current State: 49:[7, 7], Operations: ['87/29=3', '10-3=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[87, 29, 7, 10], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [7, 10, 3]
Generated Node #0,1: 49:[7, 10, 3] Operation: 87/29=3
Moving to Node #0,1
Current State: 49:[7, 10, 3], Operations: ['87/29=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 49:[7, 7] Operation: 10-3=7
Moving to Node #0,1,1
Current State: 49:[7, 7], Operations: ['87/29=3', '10-3=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
56,
7,
21,
80
] | 88 | [
"56/7=8",
"21*8=168",
"168-80=88"
] | Current State: 88:[56, 7, 21, 80], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [21, 80, 8]
Generated Node #2: [21, 80, 8] from Operation: 56/7=8
Current State: 88:[21, 80, 8], Operations: ['56/7=8']
Exploring Operation: 21*8=168, Resulting Numbers: [80, 168]
Generated Node #3: [80, 168] from Operation: 21*8=168
Current State: 88:[80, 168], Operations: ['56/7=8', '21*8=168']
Exploring Operation: 168-80=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[56, 7, 21, 80], Operations: []
Exploring Operation: 56-21=35, Resulting Numbers: [7, 80, 35]
Generated Node #0,0: 88:[7, 80, 35] Operation: 56-21=35
Exploring Operation: 56-7=49, Resulting Numbers: [21, 80, 49]
Generated Node #0,1: 88:[21, 80, 49] Operation: 56-7=49
Exploring Operation: 7+80=87, Resulting Numbers: [56, 21, 87]
Generated Node #0,2: 88:[56, 21, 87] Operation: 7+80=87
Exploring Operation: 56/7=8, Resulting Numbers: [21, 80, 8]
Generated Node #0,3: 88:[21, 80, 8] Operation: 56/7=8
Exploring Operation: 80-56=24, Resulting Numbers: [7, 21, 24]
Generated Node #0,4: 88:[7, 21, 24] Operation: 80-56=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[7, 21, 24], Operations: ['80-56=24']
Exploring Operation: 24-21=3, Resulting Numbers: [7, 3]
Generated Node #0,4,0: 88:[7, 3] Operation: 24-21=3
Exploring Operation: 21/7=3, Resulting Numbers: [24, 3]
Generated Node #0,4,1: 88:[24, 3] Operation: 21/7=3
Exploring Operation: 24-7=17, Resulting Numbers: [21, 17]
Generated Node #0,4,2: 88:[21, 17] Operation: 24-7=17
Exploring Operation: 21-7=14, Resulting Numbers: [24, 14]
Generated Node #0,4,3: 88:[24, 14] Operation: 21-7=14
Exploring Operation: 21+24=45, Resulting Numbers: [7, 45]
Generated Node #0,4,4: 88:[7, 45] Operation: 21+24=45
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 88:[7, 3], Operations: ['80-56=24', '24-21=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,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,4
Current State: 88:[7, 45], Operations: ['80-56=24', '21+24=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,88 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[24, 3], Operations: ['80-56=24', '21/7=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,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:[24, 14], Operations: ['80-56=24', '21-7=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,88 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,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:[21, 17], Operations: ['80-56=24', '24-7=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,88 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,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:[21, 80, 8], Operations: ['56/7=8']
Exploring Operation: 80+8=88, Resulting Numbers: [21, 88]
Generated Node #0,3,0: 88:[21, 88] Operation: 80+8=88
Exploring Operation: 21+80=101, Resulting Numbers: [8, 101]
Generated Node #0,3,1: 88:[8, 101] Operation: 21+80=101
Exploring Operation: 21-8=13, Resulting Numbers: [80, 13]
Generated Node #0,3,2: 88:[80, 13] Operation: 21-8=13
Exploring Operation: 80/8=10, Resulting Numbers: [21, 10]
Generated Node #0,3,3: 88:[21, 10] Operation: 80/8=10
Exploring Operation: 80-21=59, Resulting Numbers: [8, 59]
Generated Node #0,3,4: 88:[8, 59] Operation: 80-21=59
Moving to Node #0,3,0
Current State: 88:[21, 88], Operations: ['56/7=8', '80+8=88']
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 21*88=1848, Resulting Numbers: [1848]
1848,88 unequal: No Solution
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[21, 10], Operations: ['56/7=8', '80/8=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,88 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[80, 13], Operations: ['56/7=8', '21-8=13']
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,88 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[8, 101], Operations: ['56/7=8', '21+80=101']
Exploring Operation: 8*101=808, Resulting Numbers: [808]
808,88 unequal: No Solution
Exploring Operation: 8+101=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[8, 59], Operations: ['56/7=8', '80-21=59']
Exploring Operation: 8*59=472, Resulting Numbers: [472]
472,88 unequal: No Solution
Exploring Operation: 8+59=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[21, 80, 49], Operations: ['56-7=49']
Exploring Operation: 80-49=31, Resulting Numbers: [21, 31]
Generated Node #0,1,0: 88:[21, 31] Operation: 80-49=31
Exploring Operation: 49-21=28, Resulting Numbers: [80, 28]
Generated Node #0,1,1: 88:[80, 28] Operation: 49-21=28
Exploring Operation: 80-21=59, Resulting Numbers: [49, 59]
Generated Node #0,1,2: 88:[49, 59] Operation: 80-21=59
Exploring Operation: 21+80=101, Resulting Numbers: [49, 101]
Generated Node #0,1,3: 88:[49, 101] Operation: 21+80=101
Exploring Operation: 21+49=70, Resulting Numbers: [80, 70]
Generated Node #0,1,4: 88:[80, 70] Operation: 21+49=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[21, 31], Operations: ['56-7=49', '80-49=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,88 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,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:[80, 28], Operations: ['56-7=49', '49-21=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,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:[49, 101], Operations: ['56-7=49', '21+80=101']
Exploring Operation: 101-49=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 49+101=150, Resulting Numbers: [150]
150,88 unequal: No Solution
Exploring Operation: 49*101=4949, Resulting Numbers: [4949]
4949,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:[49, 59], Operations: ['56-7=49', '80-21=59']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,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:[80, 70], Operations: ['56-7=49', '21+49=70']
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 80+70=150, Resulting Numbers: [150]
150,88 unequal: No Solution
Exploring Operation: 80*70=5600, Resulting Numbers: [5600]
5600,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,2
Current State: 88:[56, 21, 87], Operations: ['7+80=87']
Exploring Operation: 87-21=66, Resulting Numbers: [56, 66]
Generated Node #0,2,0: 88:[56, 66] Operation: 87-21=66
Exploring Operation: 21+87=108, Resulting Numbers: [56, 108]
Generated Node #0,2,1: 88:[56, 108] Operation: 21+87=108
Exploring Operation: 56+21=77, Resulting Numbers: [87, 77]
Generated Node #0,2,2: 88:[87, 77] Operation: 56+21=77
Exploring Operation: 87-56=31, Resulting Numbers: [21, 31]
Generated Node #0,2,3: 88:[21, 31] Operation: 87-56=31
Exploring Operation: 56-21=35, Resulting Numbers: [87, 35]
Generated Node #0,2,4: 88:[87, 35] Operation: 56-21=35
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[21, 31], Operations: ['7+80=87', '87-56=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,88 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,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:[87, 35], Operations: ['7+80=87', '56-21=35']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,88 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,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:[87, 77], Operations: ['7+80=87', '56+21=77']
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,88 unequal: No Solution
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,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:[56, 108], Operations: ['7+80=87', '21+87=108']
Exploring Operation: 108-56=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 56+108=164, Resulting Numbers: [164]
164,88 unequal: No Solution
Exploring Operation: 56*108=6048, Resulting Numbers: [6048]
6048,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:[56, 66], Operations: ['7+80=87', '87-21=66']
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,88 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,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:[7, 80, 35], Operations: ['56-21=35']
Exploring Operation: 80-35=45, Resulting Numbers: [7, 45]
Generated Node #0,0,0: 88:[7, 45] Operation: 80-35=45
Exploring Operation: 7+35=42, Resulting Numbers: [80, 42]
Generated Node #0,0,1: 88:[80, 42] Operation: 7+35=42
Exploring Operation: 7+80=87, Resulting Numbers: [35, 87]
Generated Node #0,0,2: 88:[35, 87] Operation: 7+80=87
Exploring Operation: 35/7=5, Resulting Numbers: [80, 5]
Generated Node #0,0,3: 88:[80, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [80, 28]
Generated Node #0,0,4: 88:[80, 28] Operation: 35-7=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[7, 45], Operations: ['56-21=35', '80-35=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,88 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[80, 5], Operations: ['56-21=35', '35/7=5']
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,88 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,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,0,1
Current State: 88:[80, 42], Operations: ['56-21=35', '7+35=42']
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,88 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,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,0,2
Current State: 88:[35, 87], Operations: ['56-21=35', '7+80=87']
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,88 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 88:[80, 28], Operations: ['56-21=35', '35-7=28']
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,88 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,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 | mult_heuristic |
[
27,
73,
54,
82
] | 73 | [
"27+54=81",
"82-81=1",
"73*1=73"
] | Current State: 73:[27, 73, 54, 82], Operations: []
Exploring Operation: 27+54=81, Resulting Numbers: [73, 82, 81]
Generated Node #2: [73, 82, 81] from Operation: 27+54=81
Current State: 73:[73, 82, 81], Operations: ['27+54=81']
Exploring Operation: 82-81=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 82-81=1
Current State: 73:[73, 1], Operations: ['27+54=81', '82-81=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[27, 73, 54, 82], Operations: []
Exploring Operation: 27+54=81, Resulting Numbers: [73, 82, 81]
Generated Node #0,0: 73:[73, 82, 81] Operation: 27+54=81
Exploring Operation: 82-27=55, Resulting Numbers: [73, 54, 55]
Generated Node #0,1: 73:[73, 54, 55] Operation: 82-27=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[73, 82, 81], Operations: ['27+54=81']
Exploring Operation: 82-73=9, Resulting Numbers: [81, 9]
Generated Node #0,0,0: 73:[81, 9] Operation: 82-73=9
Exploring Operation: 82-81=1, Resulting Numbers: [73, 1]
Generated Node #0,0,1: 73:[73, 1] Operation: 82-81=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[81, 9], Operations: ['27+54=81', '82-73=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[73, 1], Operations: ['27+54=81', '82-81=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[27, 73, 54, 82], Operations: []
Exploring Operation: 27+54=81, Resulting Numbers: [73, 82, 81]
Generated Node #0,0: 73:[73, 82, 81] Operation: 27+54=81
Moving to Node #0,0
Current State: 73:[73, 82, 81], Operations: ['27+54=81']
Exploring Operation: 82-81=1, Resulting Numbers: [73, 1]
Generated Node #0,0,1: 73:[73, 1] Operation: 82-81=1
Moving to Node #0,0,1
Current State: 73:[73, 1], Operations: ['27+54=81', '82-81=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
51,
14,
92,
92
] | 51 | [
"92-92=0",
"14*0=0",
"51+0=51"
] | Current State: 51:[51, 14, 92, 92], Operations: []
Exploring Operation: 92-92=0, Resulting Numbers: [51, 14, 0]
Generated Node #2: [51, 14, 0] from Operation: 92-92=0
Current State: 51:[51, 14, 0], Operations: ['92-92=0']
Exploring Operation: 14*0=0, Resulting Numbers: [51, 0]
Generated Node #3: [51, 0] from Operation: 14*0=0
Current State: 51:[51, 0], Operations: ['92-92=0', '14*0=0']
Exploring Operation: 51+0=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[51, 14, 92, 92], Operations: []
Exploring Operation: 92-92=0, Resulting Numbers: [51, 14, 0]
Generated Node #0,0: 51:[51, 14, 0] Operation: 92-92=0
Exploring Operation: 92/92=1, Resulting Numbers: [51, 14, 1]
Generated Node #0,1: 51:[51, 14, 1] Operation: 92/92=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[51, 14, 1], Operations: ['92/92=1']
Exploring Operation: 14+1=15, Resulting Numbers: [51, 15]
Generated Node #0,1,0: 51:[51, 15] Operation: 14+1=15
Exploring Operation: 51*1=51, Resulting Numbers: [14, 51]
Generated Node #0,1,1: 51:[14, 51] Operation: 51*1=51
Moving to Node #0,1,0
Current State: 51:[51, 15], Operations: ['92/92=1', '14+1=15']
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,51 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[14, 51], Operations: ['92/92=1', '51*1=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[51, 14, 0], Operations: ['92-92=0']
Exploring Operation: 51-0=51, Resulting Numbers: [14, 51]
Generated Node #0,0,0: 51:[14, 51] Operation: 51-0=51
Exploring Operation: 51+0=51, Resulting Numbers: [14, 51]
Generated Node #0,0,1: 51:[14, 51] Operation: 51+0=51
Moving to Node #0,0,0
Current State: 51:[14, 51], Operations: ['92-92=0', '51-0=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[14, 51], Operations: ['92-92=0', '51+0=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,51 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 |
[
39,
91,
59,
33
] | 78 | [
"91-39=52",
"59-33=26",
"52+26=78"
] | Current State: 78:[39, 91, 59, 33], Operations: []
Exploring Operation: 91-39=52, Resulting Numbers: [59, 33, 52]
Generated Node #2: [59, 33, 52] from Operation: 91-39=52
Current State: 78:[59, 33, 52], Operations: ['91-39=52']
Exploring Operation: 59-33=26, Resulting Numbers: [52, 26]
Generated Node #3: [52, 26] from Operation: 59-33=26
Current State: 78:[52, 26], Operations: ['91-39=52', '59-33=26']
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[39, 91, 59, 33], Operations: []
Exploring Operation: 59-33=26, Resulting Numbers: [39, 91, 26]
Generated Node #0,0: 78:[39, 91, 26] Operation: 59-33=26
Exploring Operation: 59+33=92, Resulting Numbers: [39, 91, 92]
Generated Node #0,1: 78:[39, 91, 92] Operation: 59+33=92
Exploring Operation: 91-59=32, Resulting Numbers: [39, 33, 32]
Generated Node #0,2: 78:[39, 33, 32] Operation: 91-59=32
Exploring Operation: 59-39=20, Resulting Numbers: [91, 33, 20]
Generated Node #0,3: 78:[91, 33, 20] Operation: 59-39=20
Moving to Node #0,2
Current State: 78:[39, 33, 32], Operations: ['91-59=32']
Exploring Operation: 39-32=7, Resulting Numbers: [33, 7]
Generated Node #0,2,0: 78:[33, 7] Operation: 39-32=7
Exploring Operation: 39+33=72, Resulting Numbers: [32, 72]
Generated Node #0,2,1: 78:[32, 72] Operation: 39+33=72
Exploring Operation: 39-33=6, Resulting Numbers: [32, 6]
Generated Node #0,2,2: 78:[32, 6] Operation: 39-33=6
Exploring Operation: 33-32=1, Resulting Numbers: [39, 1]
Generated Node #0,2,3: 78:[39, 1] Operation: 33-32=1
Moving to Node #0,0
Current State: 78:[39, 91, 26], Operations: ['59-33=26']
Exploring Operation: 39+26=65, Resulting Numbers: [91, 65]
Generated Node #0,0,0: 78:[91, 65] Operation: 39+26=65
Exploring Operation: 91-39=52, Resulting Numbers: [26, 52]
Generated Node #0,0,1: 78:[26, 52] Operation: 91-39=52
Exploring Operation: 39-26=13, Resulting Numbers: [91, 13]
Generated Node #0,0,2: 78:[91, 13] Operation: 39-26=13
Exploring Operation: 91-26=65, Resulting Numbers: [39, 65]
Generated Node #0,0,3: 78:[39, 65] Operation: 91-26=65
Moving to Node #0,3
Current State: 78:[91, 33, 20], Operations: ['59-39=20']
Exploring Operation: 91-33=58, Resulting Numbers: [20, 58]
Generated Node #0,3,0: 78:[20, 58] Operation: 91-33=58
Exploring Operation: 91-20=71, Resulting Numbers: [33, 71]
Generated Node #0,3,1: 78:[33, 71] Operation: 91-20=71
Exploring Operation: 33-20=13, Resulting Numbers: [91, 13]
Generated Node #0,3,2: 78:[91, 13] Operation: 33-20=13
Exploring Operation: 33+20=53, Resulting Numbers: [91, 53]
Generated Node #0,3,3: 78:[91, 53] Operation: 33+20=53
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[33, 71], Operations: ['59-39=20', '91-20=71']
Exploring Operation: 33+71=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 33*71=2343, Resulting Numbers: [2343]
2343,78 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[91, 13], Operations: ['59-39=20', '33-20=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,78 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[39, 91, 59, 33], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [91, 33, 20]
Generated Node #0,3: 78:[91, 33, 20] Operation: 59-39=20
Moving to Node #0,3
Current State: 78:[91, 33, 20], Operations: ['59-39=20']
Exploring Operation: 33-20=13, Resulting Numbers: [91, 13]
Generated Node #0,3,2: 78:[91, 13] Operation: 33-20=13
Moving to Node #0,3,2
Current State: 78:[91, 13], Operations: ['59-39=20', '33-20=13']
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
20,
98,
25,
5
] | 97 | [
"25-20=5",
"5/5=1",
"98-1=97"
] | Current State: 97:[20, 98, 25, 5], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [98, 5, 5]
Generated Node #2: [98, 5, 5] from Operation: 25-20=5
Current State: 97:[98, 5, 5], Operations: ['25-20=5']
Exploring Operation: 5/5=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 5/5=1
Current State: 97:[98, 1], Operations: ['25-20=5', '5/5=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[20, 98, 25, 5], Operations: []
Exploring Operation: 20+25=45, Resulting Numbers: [98, 5, 45]
Generated Node #0,0: 97:[98, 5, 45] Operation: 20+25=45
Exploring Operation: 20*5=100, Resulting Numbers: [98, 25, 100]
Generated Node #0,1: 97:[98, 25, 100] Operation: 20*5=100
Exploring Operation: 25*5=125, Resulting Numbers: [20, 98, 125]
Generated Node #0,2: 97:[20, 98, 125] Operation: 25*5=125
Moving to Node #0,1
Current State: 97:[98, 25, 100], Operations: ['20*5=100']
Exploring Operation: 98-25=73, Resulting Numbers: [100, 73]
Generated Node #0,1,0: 97:[100, 73] Operation: 98-25=73
Exploring Operation: 98+25=123, Resulting Numbers: [100, 123]
Generated Node #0,1,1: 97:[100, 123] Operation: 98+25=123
Exploring Operation: 100-25=75, Resulting Numbers: [98, 75]
Generated Node #0,1,2: 97:[98, 75] Operation: 100-25=75
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[98, 75], Operations: ['20*5=100', '100-25=75']
Exploring Operation: 98*75=7350, Resulting Numbers: [7350]
7350,97 unequal: No Solution
Exploring Operation: 98+75=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[100, 73], Operations: ['20*5=100', '98-25=73']
Exploring Operation: 100+73=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 100*73=7300, Resulting Numbers: [7300]
7300,97 unequal: No Solution
Exploring Operation: 100-73=27, Resulting Numbers: [27]
27,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[100, 123], Operations: ['20*5=100', '98+25=123']
Exploring Operation: 100+123=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 100*123=12300, Resulting Numbers: [12300]
12300,97 unequal: No Solution
Exploring Operation: 123-100=23, Resulting Numbers: [23]
23,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[20, 98, 125], Operations: ['25*5=125']
Exploring Operation: 98-20=78, Resulting Numbers: [125, 78]
Generated Node #0,2,0: 97:[125, 78] Operation: 98-20=78
Exploring Operation: 20+98=118, Resulting Numbers: [125, 118]
Generated Node #0,2,1: 97:[125, 118] Operation: 20+98=118
Exploring Operation: 125-20=105, Resulting Numbers: [98, 105]
Generated Node #0,2,2: 97:[98, 105] Operation: 125-20=105
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[98, 105], Operations: ['25*5=125', '125-20=105']
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,97 unequal: No Solution
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,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:[125, 78], Operations: ['25*5=125', '98-20=78']
Exploring Operation: 125+78=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 125*78=9750, Resulting Numbers: [9750]
9750,97 unequal: No Solution
Exploring Operation: 125-78=47, Resulting Numbers: [47]
47,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[125, 118], Operations: ['25*5=125', '20+98=118']
Exploring Operation: 125+118=243, Resulting Numbers: [243]
243,97 unequal: No Solution
Exploring Operation: 125*118=14750, Resulting Numbers: [14750]
14750,97 unequal: No Solution
Exploring Operation: 125-118=7, Resulting Numbers: [7]
7,97 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: 97:[98, 5, 45], Operations: ['20+25=45']
Exploring Operation: 5+45=50, Resulting Numbers: [98, 50]
Generated Node #0,0,0: 97:[98, 50] Operation: 5+45=50
Exploring Operation: 98+5=103, Resulting Numbers: [45, 103]
Generated Node #0,0,1: 97:[45, 103] Operation: 98+5=103
Exploring Operation: 98-5=93, Resulting Numbers: [45, 93]
Generated Node #0,0,2: 97:[45, 93] Operation: 98-5=93
Moving to Node #0,0,0
Current State: 97:[98, 50], Operations: ['20+25=45', '5+45=50']
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 98+50=148, Resulting Numbers: [148]
148,97 unequal: No Solution
Exploring Operation: 98*50=4900, Resulting Numbers: [4900]
4900,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[45, 93], Operations: ['20+25=45', '98-5=93']
Exploring Operation: 45+93=138, Resulting Numbers: [138]
138,97 unequal: No Solution
Exploring Operation: 45*93=4185, Resulting Numbers: [4185]
4185,97 unequal: No Solution
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[45, 103], Operations: ['20+25=45', '98+5=103']
Exploring Operation: 103-45=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 45*103=4635, Resulting Numbers: [4635]
4635,97 unequal: No Solution
Exploring Operation: 45+103=148, Resulting Numbers: [148]
148,97 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
99,
22,
79
] | 95 | [
"53+99=152",
"79-22=57",
"152-57=95"
] | Current State: 95:[53, 99, 22, 79], Operations: []
Exploring Operation: 53+99=152, Resulting Numbers: [22, 79, 152]
Generated Node #2: [22, 79, 152] from Operation: 53+99=152
Current State: 95:[22, 79, 152], Operations: ['53+99=152']
Exploring Operation: 79-22=57, Resulting Numbers: [152, 57]
Generated Node #3: [152, 57] from Operation: 79-22=57
Current State: 95:[152, 57], Operations: ['53+99=152', '79-22=57']
Exploring Operation: 152-57=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[53, 99, 22, 79], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [99, 22, 26]
Generated Node #0,0: 95:[99, 22, 26] Operation: 79-53=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[99, 22, 26], Operations: ['79-53=26']
Exploring Operation: 26-22=4, Resulting Numbers: [99, 4]
Generated Node #0,0,0: 95:[99, 4] Operation: 26-22=4
Moving to Node #0,0,0
Current State: 95:[99, 4], Operations: ['79-53=26', '26-22=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[53, 99, 22, 79], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [99, 22, 26]
Generated Node #0,0: 95:[99, 22, 26] Operation: 79-53=26
Moving to Node #0,0
Current State: 95:[99, 22, 26], Operations: ['79-53=26']
Exploring Operation: 26-22=4, Resulting Numbers: [99, 4]
Generated Node #0,0,0: 95:[99, 4] Operation: 26-22=4
Moving to Node #0,0,0
Current State: 95:[99, 4], Operations: ['79-53=26', '26-22=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
84,
4,
27,
35
] | 96 | [
"84+4=88",
"35-27=8",
"88+8=96"
] | Current State: 96:[84, 4, 27, 35], Operations: []
Exploring Operation: 84+4=88, Resulting Numbers: [27, 35, 88]
Generated Node #2: [27, 35, 88] from Operation: 84+4=88
Current State: 96:[27, 35, 88], Operations: ['84+4=88']
Exploring Operation: 35-27=8, Resulting Numbers: [88, 8]
Generated Node #3: [88, 8] from Operation: 35-27=8
Current State: 96:[88, 8], Operations: ['84+4=88', '35-27=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[84, 4, 27, 35], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [84, 4, 8]
Generated Node #0,0: 96:[84, 4, 8] Operation: 35-27=8
Exploring Operation: 84-27=57, Resulting Numbers: [4, 35, 57]
Generated Node #0,1: 96:[4, 35, 57] Operation: 84-27=57
Exploring Operation: 84/4=21, Resulting Numbers: [27, 35, 21]
Generated Node #0,2: 96:[27, 35, 21] Operation: 84/4=21
Exploring Operation: 84-35=49, Resulting Numbers: [4, 27, 49]
Generated Node #0,3: 96:[4, 27, 49] Operation: 84-35=49
Moving to Node #0,3
Current State: 96:[4, 27, 49], Operations: ['84-35=49']
Exploring Operation: 49-27=22, Resulting Numbers: [4, 22]
Generated Node #0,3,0: 96:[4, 22] Operation: 49-27=22
Exploring Operation: 27-4=23, Resulting Numbers: [49, 23]
Generated Node #0,3,1: 96:[49, 23] Operation: 27-4=23
Exploring Operation: 49-4=45, Resulting Numbers: [27, 45]
Generated Node #0,3,2: 96:[27, 45] Operation: 49-4=45
Exploring Operation: 4+27=31, Resulting Numbers: [49, 31]
Generated Node #0,3,3: 96:[49, 31] Operation: 4+27=31
Moving to Node #0,2
Current State: 96:[27, 35, 21], Operations: ['84/4=21']
Exploring Operation: 27-21=6, Resulting Numbers: [35, 6]
Generated Node #0,2,0: 96:[35, 6] Operation: 27-21=6
Exploring Operation: 27+21=48, Resulting Numbers: [35, 48]
Generated Node #0,2,1: 96:[35, 48] Operation: 27+21=48
Exploring Operation: 35-27=8, Resulting Numbers: [21, 8]
Generated Node #0,2,2: 96:[21, 8] Operation: 35-27=8
Exploring Operation: 35-21=14, Resulting Numbers: [27, 14]
Generated Node #0,2,3: 96:[27, 14] Operation: 35-21=14
Moving to Node #0,1
Current State: 96:[4, 35, 57], Operations: ['84-27=57']
Exploring Operation: 57-4=53, Resulting Numbers: [35, 53]
Generated Node #0,1,0: 96:[35, 53] Operation: 57-4=53
Exploring Operation: 35+57=92, Resulting Numbers: [4, 92]
Generated Node #0,1,1: 96:[4, 92] Operation: 35+57=92
Exploring Operation: 35-4=31, Resulting Numbers: [57, 31]
Generated Node #0,1,2: 96:[57, 31] Operation: 35-4=31
Exploring Operation: 57-35=22, Resulting Numbers: [4, 22]
Generated Node #0,1,3: 96:[4, 22] Operation: 57-35=22
Moving to Node #0,0
Current State: 96:[84, 4, 8], Operations: ['35-27=8']
Exploring Operation: 84+8=92, Resulting Numbers: [4, 92]
Generated Node #0,0,0: 96:[4, 92] Operation: 84+8=92
Exploring Operation: 84+4=88, Resulting Numbers: [8, 88]
Generated Node #0,0,1: 96:[8, 88] Operation: 84+4=88
Exploring Operation: 84/4=21, Resulting Numbers: [8, 21]
Generated Node #0,0,2: 96:[8, 21] Operation: 84/4=21
Exploring Operation: 4+8=12, Resulting Numbers: [84, 12]
Generated Node #0,0,3: 96:[84, 12] Operation: 4+8=12
Moving to Node #0,3,0
Current State: 96:[4, 22], Operations: ['84-35=49', '49-27=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[49, 31], Operations: ['84-35=49', '4+27=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,96 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[49, 23], Operations: ['84-35=49', '27-4=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,96 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[4, 22], Operations: ['84-27=57', '57-35=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[21, 8], Operations: ['84/4=21', '35-27=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[35, 48], Operations: ['84/4=21', '27+21=48']
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,96 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[8, 21], Operations: ['35-27=8', '84/4=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[35, 6], Operations: ['84/4=21', '27-21=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,96 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[4, 92], Operations: ['35-27=8', '84+8=92']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[84, 4, 27, 35], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [84, 4, 8]
Generated Node #0,0: 96:[84, 4, 8] Operation: 35-27=8
Moving to Node #0,0
Current State: 96:[84, 4, 8], Operations: ['35-27=8']
Exploring Operation: 84+8=92, Resulting Numbers: [4, 92]
Generated Node #0,0,0: 96:[4, 92] Operation: 84+8=92
Moving to Node #0,0,0
Current State: 96:[4, 92], Operations: ['35-27=8', '84+8=92']
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
11,
88,
89,
80
] | 86 | [
"88-11=77",
"89-80=9",
"77+9=86"
] | Current State: 86:[11, 88, 89, 80], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [89, 80, 77]
Generated Node #2: [89, 80, 77] from Operation: 88-11=77
Current State: 86:[89, 80, 77], Operations: ['88-11=77']
Exploring Operation: 89-80=9, Resulting Numbers: [77, 9]
Generated Node #3: [77, 9] from Operation: 89-80=9
Current State: 86:[77, 9], Operations: ['88-11=77', '89-80=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[11, 88, 89, 80], Operations: []
Exploring Operation: 89-11=78, Resulting Numbers: [88, 80, 78]
Generated Node #0,0: 86:[88, 80, 78] Operation: 89-11=78
Exploring Operation: 11+80=91, Resulting Numbers: [88, 89, 91]
Generated Node #0,1: 86:[88, 89, 91] Operation: 11+80=91
Exploring Operation: 88-11=77, Resulting Numbers: [89, 80, 77]
Generated Node #0,2: 86:[89, 80, 77] Operation: 88-11=77
Exploring Operation: 88/11=8, Resulting Numbers: [89, 80, 8]
Generated Node #0,3: 86:[89, 80, 8] Operation: 88/11=8
Exploring Operation: 89-88=1, Resulting Numbers: [11, 80, 1]
Generated Node #0,4: 86:[11, 80, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[88, 89, 91], Operations: ['11+80=91']
Exploring Operation: 91-88=3, Resulting Numbers: [89, 3]
Generated Node #0,1,0: 86:[89, 3] Operation: 91-88=3
Exploring Operation: 88+91=179, Resulting Numbers: [89, 179]
Generated Node #0,1,1: 86:[89, 179] Operation: 88+91=179
Exploring Operation: 89-88=1, Resulting Numbers: [91, 1]
Generated Node #0,1,2: 86:[91, 1] Operation: 89-88=1
Exploring Operation: 88+89=177, Resulting Numbers: [91, 177]
Generated Node #0,1,3: 86:[91, 177] Operation: 88+89=177
Exploring Operation: 91-89=2, Resulting Numbers: [88, 2]
Generated Node #0,1,4: 86:[88, 2] Operation: 91-89=2
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 86:[88, 2], Operations: ['11+80=91', '91-89=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[11, 88, 89, 80], Operations: []
Exploring Operation: 11+80=91, Resulting Numbers: [88, 89, 91]
Generated Node #0,1: 86:[88, 89, 91] Operation: 11+80=91
Moving to Node #0,1
Current State: 86:[88, 89, 91], Operations: ['11+80=91']
Exploring Operation: 91-89=2, Resulting Numbers: [88, 2]
Generated Node #0,1,4: 86:[88, 2] Operation: 91-89=2
Moving to Node #0,1,4
Current State: 86:[88, 2], Operations: ['11+80=91', '91-89=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
75,
90,
3,
7
] | 48 | [
"75+90=165",
"165/3=55",
"55-7=48"
] | Current State: 48:[75, 90, 3, 7], Operations: []
Exploring Operation: 75+90=165, Resulting Numbers: [3, 7, 165]
Generated Node #2: [3, 7, 165] from Operation: 75+90=165
Current State: 48:[3, 7, 165], Operations: ['75+90=165']
Exploring Operation: 165/3=55, Resulting Numbers: [7, 55]
Generated Node #3: [7, 55] from Operation: 165/3=55
Current State: 48:[7, 55], Operations: ['75+90=165', '165/3=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[75, 90, 3, 7], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [75, 7, 30]
Generated Node #0,0: 48:[75, 7, 30] Operation: 90/3=30
Exploring Operation: 90-75=15, Resulting Numbers: [3, 7, 15]
Generated Node #0,1: 48:[3, 7, 15] Operation: 90-75=15
Moving to Node #0,1
Current State: 48:[3, 7, 15], Operations: ['90-75=15']
Exploring Operation: 15-7=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 48:[3, 8] Operation: 15-7=8
Exploring Operation: 7-3=4, Resulting Numbers: [15, 4]
Generated Node #0,1,1: 48:[15, 4] Operation: 7-3=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[3, 8], Operations: ['90-75=15', '15-7=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No 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: 48:[15, 4], Operations: ['90-75=15', '7-3=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,48 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: 48:[75, 7, 30], Operations: ['90/3=30']
Exploring Operation: 75-30=45, Resulting Numbers: [7, 45]
Generated Node #0,0,0: 48:[7, 45] Operation: 75-30=45
Exploring Operation: 75-7=68, Resulting Numbers: [30, 68]
Generated Node #0,0,1: 48:[30, 68] Operation: 75-7=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[7, 45], Operations: ['90/3=30', '75-30=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,48 unequal: No Solution
No 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: 48:[30, 68], Operations: ['90/3=30', '75-7=68']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,48 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 |
[
76,
31,
5,
33
] | 46 | [
"76+33=109",
"31*5=155",
"155-109=46"
] | Current State: 46:[76, 31, 5, 33], Operations: []
Exploring Operation: 76+33=109, Resulting Numbers: [31, 5, 109]
Generated Node #2: [31, 5, 109] from Operation: 76+33=109
Current State: 46:[31, 5, 109], Operations: ['76+33=109']
Exploring Operation: 31*5=155, Resulting Numbers: [109, 155]
Generated Node #3: [109, 155] from Operation: 31*5=155
Current State: 46:[109, 155], Operations: ['76+33=109', '31*5=155']
Exploring Operation: 155-109=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[76, 31, 5, 33], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [31, 5, 43]
Generated Node #0,0: 46:[31, 5, 43] Operation: 76-33=43
Exploring Operation: 76-31=45, Resulting Numbers: [5, 33, 45]
Generated Node #0,1: 46:[5, 33, 45] Operation: 76-31=45
Moving to Node #0,0
Current State: 46:[31, 5, 43], Operations: ['76-33=43']
Exploring Operation: 5+43=48, Resulting Numbers: [31, 48]
Generated Node #0,0,0: 46:[31, 48] Operation: 5+43=48
Exploring Operation: 31-5=26, Resulting Numbers: [43, 26]
Generated Node #0,0,1: 46:[43, 26] Operation: 31-5=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[43, 26], Operations: ['76-33=43', '31-5=26']
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[31, 48], Operations: ['76-33=43', '5+43=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[5, 33, 45], Operations: ['76-31=45']
Exploring Operation: 33-5=28, Resulting Numbers: [45, 28]
Generated Node #0,1,0: 46:[45, 28] Operation: 33-5=28
Exploring Operation: 5+33=38, Resulting Numbers: [45, 38]
Generated Node #0,1,1: 46:[45, 38] Operation: 5+33=38
Moving to Node #0,1,0
Current State: 46:[45, 28], Operations: ['76-31=45', '33-5=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[45, 38], Operations: ['76-31=45', '5+33=38']
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
76,
87,
36
] | 83 | [
"68+76=144",
"144/36=4",
"87-4=83"
] | Current State: 83:[68, 76, 87, 36], Operations: []
Exploring Operation: 68+76=144, Resulting Numbers: [87, 36, 144]
Generated Node #2: [87, 36, 144] from Operation: 68+76=144
Current State: 83:[87, 36, 144], Operations: ['68+76=144']
Exploring Operation: 144/36=4, Resulting Numbers: [87, 4]
Generated Node #3: [87, 4] from Operation: 144/36=4
Current State: 83:[87, 4], Operations: ['68+76=144', '144/36=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[68, 76, 87, 36], Operations: []
Exploring Operation: 68+36=104, Resulting Numbers: [76, 87, 104]
Generated Node #0,0: 83:[76, 87, 104] Operation: 68+36=104
Moving to Node #0,0
Current State: 83:[76, 87, 104], Operations: ['68+36=104']
Exploring Operation: 104-76=28, Resulting Numbers: [87, 28]
Generated Node #0,0,0: 83:[87, 28] Operation: 104-76=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[87, 28], Operations: ['68+36=104', '104-76=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,83 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 |
[
74,
26,
9,
46
] | 85 | [
"74-26=48",
"46-9=37",
"48+37=85"
] | Current State: 85:[74, 26, 9, 46], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [9, 46, 48]
Generated Node #2: [9, 46, 48] from Operation: 74-26=48
Current State: 85:[9, 46, 48], Operations: ['74-26=48']
Exploring Operation: 46-9=37, Resulting Numbers: [48, 37]
Generated Node #3: [48, 37] from Operation: 46-9=37
Current State: 85:[48, 37], Operations: ['74-26=48', '46-9=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[74, 26, 9, 46], Operations: []
Exploring Operation: 74-46=28, Resulting Numbers: [26, 9, 28]
Generated Node #0,0: 85:[26, 9, 28] Operation: 74-46=28
Exploring Operation: 46-26=20, Resulting Numbers: [74, 9, 20]
Generated Node #0,1: 85:[74, 9, 20] Operation: 46-26=20
Moving to Node #0,1
Current State: 85:[74, 9, 20], Operations: ['46-26=20']
Exploring Operation: 74+20=94, Resulting Numbers: [9, 94]
Generated Node #0,1,0: 85:[9, 94] Operation: 74+20=94
Exploring Operation: 74+9=83, Resulting Numbers: [20, 83]
Generated Node #0,1,1: 85:[20, 83] Operation: 74+9=83
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[20, 83], Operations: ['46-26=20', '74+9=83']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 20+83=103, Resulting Numbers: [103]
103,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[9, 94], Operations: ['46-26=20', '74+20=94']
Exploring Operation: 9+94=103, Resulting Numbers: [103]
103,85 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[74, 26, 9, 46], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [74, 9, 20]
Generated Node #0,1: 85:[74, 9, 20] Operation: 46-26=20
Moving to Node #0,1
Current State: 85:[74, 9, 20], Operations: ['46-26=20']
Exploring Operation: 74+20=94, Resulting Numbers: [9, 94]
Generated Node #0,1,0: 85:[9, 94] Operation: 74+20=94
Moving to Node #0,1,0
Current State: 85:[9, 94], Operations: ['46-26=20', '74+20=94']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
14,
7,
3,
31
] | 77 | [
"14*3=42",
"42-31=11",
"7*11=77"
] | Current State: 77:[14, 7, 3, 31], Operations: []
Exploring Operation: 14*3=42, Resulting Numbers: [7, 31, 42]
Generated Node #2: [7, 31, 42] from Operation: 14*3=42
Current State: 77:[7, 31, 42], Operations: ['14*3=42']
Exploring Operation: 42-31=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 42-31=11
Current State: 77:[7, 11], Operations: ['14*3=42', '42-31=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[14, 7, 3, 31], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [7, 3, 17]
Generated Node #0,0: 77:[7, 3, 17] Operation: 31-14=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[7, 3, 17], Operations: ['31-14=17']
Exploring Operation: 17-3=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 77:[7, 14] Operation: 17-3=14
Moving to Node #0,0,0
Current State: 77:[7, 14], Operations: ['31-14=17', '17-3=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,77 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 |
[
36,
99,
84,
21
] | 67 | [
"99-36=63",
"84/21=4",
"63+4=67"
] | Current State: 67:[36, 99, 84, 21], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [84, 21, 63]
Generated Node #2: [84, 21, 63] from Operation: 99-36=63
Current State: 67:[84, 21, 63], Operations: ['99-36=63']
Exploring Operation: 84/21=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 84/21=4
Current State: 67:[63, 4], Operations: ['99-36=63', '84/21=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[36, 99, 84, 21], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [84, 21, 63]
Generated Node #0,0: 67:[84, 21, 63] Operation: 99-36=63
Exploring Operation: 36+21=57, Resulting Numbers: [99, 84, 57]
Generated Node #0,1: 67:[99, 84, 57] Operation: 36+21=57
Exploring Operation: 99-21=78, Resulting Numbers: [36, 84, 78]
Generated Node #0,2: 67:[36, 84, 78] Operation: 99-21=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[99, 84, 57], Operations: ['36+21=57']
Exploring Operation: 99-57=42, Resulting Numbers: [84, 42]
Generated Node #0,1,0: 67:[84, 42] Operation: 99-57=42
Exploring Operation: 99-84=15, Resulting Numbers: [57, 15]
Generated Node #0,1,1: 67:[57, 15] Operation: 99-84=15
Exploring Operation: 84-57=27, Resulting Numbers: [99, 27]
Generated Node #0,1,2: 67:[99, 27] Operation: 84-57=27
Moving to Node #0,1,0
Current State: 67:[84, 42], Operations: ['36+21=57', '99-57=42']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[57, 15], Operations: ['36+21=57', '99-84=15']
Exploring Operation: 57*15=855, Resulting Numbers: [855]
855,67 unequal: No Solution
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[99, 27], Operations: ['36+21=57', '84-57=27']
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,67 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,67 unequal: No Solution
No 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: 67:[36, 84, 78], Operations: ['99-21=78']
Exploring Operation: 36+84=120, Resulting Numbers: [78, 120]
Generated Node #0,2,0: 67:[78, 120] Operation: 36+84=120
Exploring Operation: 78-36=42, Resulting Numbers: [84, 42]
Generated Node #0,2,1: 67:[84, 42] Operation: 78-36=42
Exploring Operation: 84-36=48, Resulting Numbers: [78, 48]
Generated Node #0,2,2: 67:[78, 48] Operation: 84-36=48
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[78, 48], Operations: ['99-21=78', '84-36=48']
Exploring Operation: 78*48=3744, Resulting Numbers: [3744]
3744,67 unequal: No Solution
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 78+48=126, Resulting Numbers: [126]
126,67 unequal: No Solution
No 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: 67:[84, 42], Operations: ['99-21=78', '78-36=42']
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,67 unequal: No Solution
No 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: 67:[78, 120], Operations: ['99-21=78', '36+84=120']
Exploring Operation: 120-78=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 78*120=9360, Resulting Numbers: [9360]
9360,67 unequal: No Solution
Exploring Operation: 78+120=198, Resulting Numbers: [198]
198,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[84, 21, 63], Operations: ['99-36=63']
Exploring Operation: 21+63=84, Resulting Numbers: [84, 84]
Generated Node #0,0,0: 67:[84, 84] Operation: 21+63=84
Exploring Operation: 84-21=63, Resulting Numbers: [63, 63]
Generated Node #0,0,1: 67:[63, 63] Operation: 84-21=63
Exploring Operation: 84+21=105, Resulting Numbers: [63, 105]
Generated Node #0,0,2: 67:[63, 105] Operation: 84+21=105
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[63, 63], Operations: ['99-36=63', '84-21=63']
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 63+63=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No 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: 67:[84, 84], Operations: ['99-36=63', '21+63=84']
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No 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: 67:[63, 105], Operations: ['99-36=63', '84+21=105']
Exploring Operation: 63+105=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 63*105=6615, Resulting Numbers: [6615]
6615,67 unequal: No Solution
Exploring Operation: 105-63=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
50,
9,
40,
25
] | 47 | [
"50/25=2",
"9+40=49",
"49-2=47"
] | Current State: 47:[50, 9, 40, 25], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [9, 40, 2]
Generated Node #2: [9, 40, 2] from Operation: 50/25=2
Current State: 47:[9, 40, 2], Operations: ['50/25=2']
Exploring Operation: 9+40=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 9+40=49
Current State: 47:[2, 49], Operations: ['50/25=2', '9+40=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[50, 9, 40, 25], Operations: []
Exploring Operation: 9+40=49, Resulting Numbers: [50, 25, 49]
Generated Node #0,0: 47:[50, 25, 49] Operation: 9+40=49
Exploring Operation: 40-9=31, Resulting Numbers: [50, 25, 31]
Generated Node #0,1: 47:[50, 25, 31] Operation: 40-9=31
Exploring Operation: 50+9=59, Resulting Numbers: [40, 25, 59]
Generated Node #0,2: 47:[40, 25, 59] Operation: 50+9=59
Exploring Operation: 9+25=34, Resulting Numbers: [50, 40, 34]
Generated Node #0,3: 47:[50, 40, 34] Operation: 9+25=34
Exploring Operation: 50-9=41, Resulting Numbers: [40, 25, 41]
Generated Node #0,4: 47:[40, 25, 41] Operation: 50-9=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[50, 40, 34], Operations: ['9+25=34']
Exploring Operation: 40+34=74, Resulting Numbers: [50, 74]
Generated Node #0,3,0: 47:[50, 74] Operation: 40+34=74
Exploring Operation: 40-34=6, Resulting Numbers: [50, 6]
Generated Node #0,3,1: 47:[50, 6] Operation: 40-34=6
Exploring Operation: 50-40=10, Resulting Numbers: [34, 10]
Generated Node #0,3,2: 47:[34, 10] Operation: 50-40=10
Exploring Operation: 50+34=84, Resulting Numbers: [40, 84]
Generated Node #0,3,3: 47:[40, 84] Operation: 50+34=84
Exploring Operation: 50-34=16, Resulting Numbers: [40, 16]
Generated Node #0,3,4: 47:[40, 16] Operation: 50-34=16
Moving to Node #0,3,0
Current State: 47:[50, 74], Operations: ['9+25=34', '40+34=74']
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,47 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[40, 16], Operations: ['9+25=34', '50-34=16']
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,47 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[50, 6], Operations: ['9+25=34', '40-34=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,47 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[40, 84], Operations: ['9+25=34', '50+34=84']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 40*84=3360, Resulting Numbers: [3360]
3360,47 unequal: No Solution
Exploring Operation: 40+84=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[34, 10], Operations: ['9+25=34', '50-40=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[50, 25, 49], Operations: ['9+40=49']
Exploring Operation: 25+49=74, Resulting Numbers: [50, 74]
Generated Node #0,0,0: 47:[50, 74] Operation: 25+49=74
Exploring Operation: 50+25=75, Resulting Numbers: [49, 75]
Generated Node #0,0,1: 47:[49, 75] Operation: 50+25=75
Exploring Operation: 49-25=24, Resulting Numbers: [50, 24]
Generated Node #0,0,2: 47:[50, 24] Operation: 49-25=24
Exploring Operation: 50/25=2, Resulting Numbers: [49, 2]
Generated Node #0,0,3: 47:[49, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [49, 25]
Generated Node #0,0,4: 47:[49, 25] Operation: 50-25=25
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[49, 25], Operations: ['9+40=49', '50-25=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,47 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[50, 24], Operations: ['9+40=49', '49-25=24']
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,47 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[50, 74], Operations: ['9+40=49', '25+49=74']
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,47 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[49, 75], Operations: ['9+40=49', '50+25=75']
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,47 unequal: No Solution
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[49, 2], Operations: ['9+40=49', '50/25=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[50, 9, 40, 25], Operations: []
Exploring Operation: 9+40=49, Resulting Numbers: [50, 25, 49]
Generated Node #0,0: 47:[50, 25, 49] Operation: 9+40=49
Moving to Node #0,0
Current State: 47:[50, 25, 49], Operations: ['9+40=49']
Exploring Operation: 50/25=2, Resulting Numbers: [49, 2]
Generated Node #0,0,3: 47:[49, 2] Operation: 50/25=2
Moving to Node #0,0,3
Current State: 47:[49, 2], Operations: ['9+40=49', '50/25=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
4,
42,
39,
2
] | 53 | [
"4+42=46",
"2*46=92",
"92-39=53"
] | Current State: 53:[4, 42, 39, 2], Operations: []
Exploring Operation: 4+42=46, Resulting Numbers: [39, 2, 46]
Generated Node #2: [39, 2, 46] from Operation: 4+42=46
Current State: 53:[39, 2, 46], Operations: ['4+42=46']
Exploring Operation: 2*46=92, Resulting Numbers: [39, 92]
Generated Node #3: [39, 92] from Operation: 2*46=92
Current State: 53:[39, 92], Operations: ['4+42=46', '2*46=92']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[4, 42, 39, 2], Operations: []
Exploring Operation: 4+42=46, Resulting Numbers: [39, 2, 46]
Generated Node #0,0: 53:[39, 2, 46] Operation: 4+42=46
Exploring Operation: 4*2=8, Resulting Numbers: [42, 39, 8]
Generated Node #0,1: 53:[42, 39, 8] Operation: 4*2=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[42, 39, 8], Operations: ['4*2=8']
Exploring Operation: 42+8=50, Resulting Numbers: [39, 50]
Generated Node #0,1,0: 53:[39, 50] Operation: 42+8=50
Exploring Operation: 39+8=47, Resulting Numbers: [42, 47]
Generated Node #0,1,1: 53:[42, 47] Operation: 39+8=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[39, 50], Operations: ['4*2=8', '42+8=50']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,53 unequal: No Solution
No 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: 53:[42, 47], Operations: ['4*2=8', '39+8=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,53 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: 53:[39, 2, 46], Operations: ['4+42=46']
Exploring Operation: 39+2=41, Resulting Numbers: [46, 41]
Generated Node #0,0,0: 53:[46, 41] Operation: 39+2=41
Exploring Operation: 2+46=48, Resulting Numbers: [39, 48]
Generated Node #0,0,1: 53:[39, 48] Operation: 2+46=48
Moving to Node #0,0,0
Current State: 53:[46, 41], Operations: ['4+42=46', '39+2=41']
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[39, 48], Operations: ['4+42=46', '2+46=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,53 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 |
[
58,
38,
22,
49
] | 82 | [
"38*49=1862",
"1862-58=1804",
"1804/22=82"
] | Current State: 82:[58, 38, 22, 49], Operations: []
Exploring Operation: 38*49=1862, Resulting Numbers: [58, 22, 1862]
Generated Node #2: [58, 22, 1862] from Operation: 38*49=1862
Current State: 82:[58, 22, 1862], Operations: ['38*49=1862']
Exploring Operation: 1862-58=1804, Resulting Numbers: [22, 1804]
Generated Node #3: [22, 1804] from Operation: 1862-58=1804
Current State: 82:[22, 1804], Operations: ['38*49=1862', '1862-58=1804']
Exploring Operation: 1804/22=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[58, 38, 22, 49], Operations: []
Exploring Operation: 58+22=80, Resulting Numbers: [38, 49, 80]
Generated Node #0,0: 82:[38, 49, 80] Operation: 58+22=80
Exploring Operation: 58-22=36, Resulting Numbers: [38, 49, 36]
Generated Node #0,1: 82:[38, 49, 36] Operation: 58-22=36
Moving to Node #0,0
Current State: 82:[38, 49, 80], Operations: ['58+22=80']
Exploring Operation: 38+49=87, Resulting Numbers: [80, 87]
Generated Node #0,0,0: 82:[80, 87] Operation: 38+49=87
Exploring Operation: 80-38=42, Resulting Numbers: [49, 42]
Generated Node #0,0,1: 82:[49, 42] Operation: 80-38=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[80, 87], Operations: ['58+22=80', '38+49=87']
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 80+87=167, Resulting Numbers: [167]
167,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,0,1
Current State: 82:[49, 42], Operations: ['58+22=80', '80-38=42']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,82 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: 82:[38, 49, 36], Operations: ['58-22=36']
Exploring Operation: 38-36=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 82:[49, 2] Operation: 38-36=2
Exploring Operation: 49+36=85, Resulting Numbers: [38, 85]
Generated Node #0,1,1: 82:[38, 85] Operation: 49+36=85
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[38, 85], Operations: ['58-22=36', '49+36=85']
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,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,1,0
Current State: 82:[49, 2], Operations: ['58-22=36', '38-36=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,82 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 |
[
20,
38,
11,
61
] | 54 | [
"38-20=18",
"11+61=72",
"72-18=54"
] | Current State: 54:[20, 38, 11, 61], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [11, 61, 18]
Generated Node #2: [11, 61, 18] from Operation: 38-20=18
Current State: 54:[11, 61, 18], Operations: ['38-20=18']
Exploring Operation: 11+61=72, Resulting Numbers: [18, 72]
Generated Node #3: [18, 72] from Operation: 11+61=72
Current State: 54:[18, 72], Operations: ['38-20=18', '11+61=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[20, 38, 11, 61], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [11, 61, 18]
Generated Node #0,0: 54:[11, 61, 18] Operation: 38-20=18
Exploring Operation: 61-38=23, Resulting Numbers: [20, 11, 23]
Generated Node #0,1: 54:[20, 11, 23] Operation: 61-38=23
Moving to Node #0,1
Current State: 54:[20, 11, 23], Operations: ['61-38=23']
Exploring Operation: 23-20=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 54:[11, 3] Operation: 23-20=3
Exploring Operation: 20-11=9, Resulting Numbers: [23, 9]
Generated Node #0,1,1: 54:[23, 9] Operation: 20-11=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[11, 3], Operations: ['61-38=23', '23-20=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 11-3=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,1,1
Current State: 54:[23, 9], Operations: ['61-38=23', '20-11=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,54 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: 54:[11, 61, 18], Operations: ['38-20=18']
Exploring Operation: 18-11=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 54:[61, 7] Operation: 18-11=7
Exploring Operation: 61-11=50, Resulting Numbers: [18, 50]
Generated Node #0,0,1: 54:[18, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[18, 50], Operations: ['38-20=18', '61-11=50']
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,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,0
Current State: 54:[61, 7], Operations: ['38-20=18', '18-11=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[20, 38, 11, 61], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [11, 61, 18]
Generated Node #0,0: 54:[11, 61, 18] Operation: 38-20=18
Moving to Node #0,0
Current State: 54:[11, 61, 18], Operations: ['38-20=18']
Exploring Operation: 18-11=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 54:[61, 7] Operation: 18-11=7
Moving to Node #0,0,0
Current State: 54:[61, 7], Operations: ['38-20=18', '18-11=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
14,
51,
2,
76
] | 40 | [
"76-14=62",
"51*2=102",
"102-62=40"
] | Current State: 40:[14, 51, 2, 76], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [51, 2, 62]
Generated Node #2: [51, 2, 62] from Operation: 76-14=62
Current State: 40:[51, 2, 62], Operations: ['76-14=62']
Exploring Operation: 51*2=102, Resulting Numbers: [62, 102]
Generated Node #3: [62, 102] from Operation: 51*2=102
Current State: 40:[62, 102], Operations: ['76-14=62', '51*2=102']
Exploring Operation: 102-62=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 51, 2, 76], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [14, 2, 25]
Generated Node #0,0: 40:[14, 2, 25] Operation: 76-51=25
Exploring Operation: 76/2=38, Resulting Numbers: [14, 51, 38]
Generated Node #0,1: 40:[14, 51, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 40:[14, 2, 25], Operations: ['76-51=25']
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 40:[2, 11] Operation: 25-14=11
Exploring Operation: 14+25=39, Resulting Numbers: [2, 39]
Generated Node #0,0,1: 40:[2, 39] Operation: 14+25=39
Moving to Node #0,1
Current State: 40:[14, 51, 38], Operations: ['76/2=38']
Exploring Operation: 51-38=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 40:[14, 13] Operation: 51-38=13
Exploring Operation: 51-14=37, Resulting Numbers: [38, 37]
Generated Node #0,1,1: 40:[38, 37] Operation: 51-14=37
Moving to Node #0,0,0
Current State: 40:[2, 11], Operations: ['76-51=25', '25-14=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[2, 39], Operations: ['76-51=25', '14+25=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[38, 37], Operations: ['76/2=38', '51-14=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[14, 13], Operations: ['76/2=38', '51-38=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
29,
18,
10,
8
] | 76 | [
"10-8=2",
"29*2=58",
"18+58=76"
] | Current State: 76:[29, 18, 10, 8], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [29, 18, 2]
Generated Node #2: [29, 18, 2] from Operation: 10-8=2
Current State: 76:[29, 18, 2], Operations: ['10-8=2']
Exploring Operation: 29*2=58, Resulting Numbers: [18, 58]
Generated Node #3: [18, 58] from Operation: 29*2=58
Current State: 76:[18, 58], Operations: ['10-8=2', '29*2=58']
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[29, 18, 10, 8], Operations: []
Exploring Operation: 29+10=39, Resulting Numbers: [18, 8, 39]
Generated Node #0,0: 76:[18, 8, 39] Operation: 29+10=39
Exploring Operation: 29+8=37, Resulting Numbers: [18, 10, 37]
Generated Node #0,1: 76:[18, 10, 37] Operation: 29+8=37
Exploring Operation: 29-10=19, Resulting Numbers: [18, 8, 19]
Generated Node #0,2: 76:[18, 8, 19] Operation: 29-10=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[18, 8, 19], Operations: ['29-10=19']
Exploring Operation: 19-18=1, Resulting Numbers: [8, 1]
Generated Node #0,2,0: 76:[8, 1] Operation: 19-18=1
Exploring Operation: 18+19=37, Resulting Numbers: [8, 37]
Generated Node #0,2,1: 76:[8, 37] Operation: 18+19=37
Exploring Operation: 18-8=10, Resulting Numbers: [19, 10]
Generated Node #0,2,2: 76:[19, 10] Operation: 18-8=10
Moving to Node #0,2,0
Current State: 76:[8, 1], Operations: ['29-10=19', '19-18=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[8, 37], Operations: ['29-10=19', '18+19=37']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,76 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[19, 10], Operations: ['29-10=19', '18-8=10']
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,76 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[18, 8, 39], Operations: ['29+10=39']
Exploring Operation: 39-18=21, Resulting Numbers: [8, 21]
Generated Node #0,0,0: 76:[8, 21] Operation: 39-18=21
Exploring Operation: 18-8=10, Resulting Numbers: [39, 10]
Generated Node #0,0,1: 76:[39, 10] Operation: 18-8=10
Exploring Operation: 18+8=26, Resulting Numbers: [39, 26]
Generated Node #0,0,2: 76:[39, 26] Operation: 18+8=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[8, 21], Operations: ['29+10=39', '39-18=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[39, 10], Operations: ['29+10=39', '18-8=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,76 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[39, 26], Operations: ['29+10=39', '18+8=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,76 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[18, 10, 37], Operations: ['29+8=37']
Exploring Operation: 37-18=19, Resulting Numbers: [10, 19]
Generated Node #0,1,0: 76:[10, 19] Operation: 37-18=19
Exploring Operation: 18-10=8, Resulting Numbers: [37, 8]
Generated Node #0,1,1: 76:[37, 8] Operation: 18-10=8
Exploring Operation: 37-10=27, Resulting Numbers: [18, 27]
Generated Node #0,1,2: 76:[18, 27] Operation: 37-10=27
Moving to Node #0,1,1
Current State: 76:[37, 8], Operations: ['29+8=37', '18-10=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[10, 19], Operations: ['29+8=37', '37-18=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,76 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[18, 27], Operations: ['29+8=37', '37-10=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
13,
44,
66
] | 64 | [
"66/2=33",
"44-13=31",
"33+31=64"
] | Current State: 64:[2, 13, 44, 66], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [13, 44, 33]
Generated Node #2: [13, 44, 33] from Operation: 66/2=33
Current State: 64:[13, 44, 33], Operations: ['66/2=33']
Exploring Operation: 44-13=31, Resulting Numbers: [33, 31]
Generated Node #3: [33, 31] from Operation: 44-13=31
Current State: 64:[33, 31], Operations: ['66/2=33', '44-13=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[2, 13, 44, 66], Operations: []
Exploring Operation: 44-13=31, Resulting Numbers: [2, 66, 31]
Generated Node #0,0: 64:[2, 66, 31] Operation: 44-13=31
Moving to Node #0,0
Current State: 64:[2, 66, 31], Operations: ['44-13=31']
Exploring Operation: 66-2=64, Resulting Numbers: [31, 64]
Generated Node #0,0,0: 64:[31, 64] Operation: 66-2=64
Moving to Node #0,0,0
Current State: 64:[31, 64], Operations: ['44-13=31', '66-2=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
78,
3,
96
] | 47 | [
"62+78=140",
"96-3=93",
"140-93=47"
] | Current State: 47:[62, 78, 3, 96], Operations: []
Exploring Operation: 62+78=140, Resulting Numbers: [3, 96, 140]
Generated Node #2: [3, 96, 140] from Operation: 62+78=140
Current State: 47:[3, 96, 140], Operations: ['62+78=140']
Exploring Operation: 96-3=93, Resulting Numbers: [140, 93]
Generated Node #3: [140, 93] from Operation: 96-3=93
Current State: 47:[140, 93], Operations: ['62+78=140', '96-3=93']
Exploring Operation: 140-93=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[62, 78, 3, 96], Operations: []
Exploring Operation: 96-62=34, Resulting Numbers: [78, 3, 34]
Generated Node #0,0: 47:[78, 3, 34] Operation: 96-62=34
Exploring Operation: 78/3=26, Resulting Numbers: [62, 96, 26]
Generated Node #0,1: 47:[62, 96, 26] Operation: 78/3=26
Exploring Operation: 96/3=32, Resulting Numbers: [62, 78, 32]
Generated Node #0,2: 47:[62, 78, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[62, 78, 32], Operations: ['96/3=32']
Exploring Operation: 78-62=16, Resulting Numbers: [32, 16]
Generated Node #0,2,0: 47:[32, 16] Operation: 78-62=16
Exploring Operation: 78-32=46, Resulting Numbers: [62, 46]
Generated Node #0,2,1: 47:[62, 46] Operation: 78-32=46
Exploring Operation: 62-32=30, Resulting Numbers: [78, 30]
Generated Node #0,2,2: 47:[78, 30] Operation: 62-32=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[62, 46], Operations: ['96/3=32', '78-32=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,47 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[32, 16], Operations: ['96/3=32', '78-62=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[78, 30], Operations: ['96/3=32', '62-32=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,47 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: 47:[62, 96, 26], Operations: ['78/3=26']
Exploring Operation: 62-26=36, Resulting Numbers: [96, 36]
Generated Node #0,1,0: 47:[96, 36] Operation: 62-26=36
Exploring Operation: 96-62=34, Resulting Numbers: [26, 34]
Generated Node #0,1,1: 47:[26, 34] Operation: 96-62=34
Exploring Operation: 96-26=70, Resulting Numbers: [62, 70]
Generated Node #0,1,2: 47:[62, 70] Operation: 96-26=70
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[26, 34], Operations: ['78/3=26', '96-62=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[62, 70], Operations: ['78/3=26', '96-26=70']
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,47 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[96, 36], Operations: ['78/3=26', '62-26=36']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,47 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: 47:[78, 3, 34], Operations: ['96-62=34']
Exploring Operation: 78-3=75, Resulting Numbers: [34, 75]
Generated Node #0,0,0: 47:[34, 75] Operation: 78-3=75
Exploring Operation: 3+34=37, Resulting Numbers: [78, 37]
Generated Node #0,0,1: 47:[78, 37] Operation: 3+34=37
Exploring Operation: 78/3=26, Resulting Numbers: [34, 26]
Generated Node #0,0,2: 47:[34, 26] Operation: 78/3=26
Moving to Node #0,0,2
Current State: 47:[34, 26], Operations: ['96-62=34', '78/3=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[34, 75], Operations: ['96-62=34', '78-3=75']
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[78, 37], Operations: ['96-62=34', '3+34=37']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 78*37=2886, Resulting Numbers: [2886]
2886,47 unequal: No Solution
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,47 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 |
[
95,
6,
14,
46
] | 97 | [
"46-14=32",
"6*32=192",
"192-95=97"
] | Current State: 97:[95, 6, 14, 46], Operations: []
Exploring Operation: 46-14=32, Resulting Numbers: [95, 6, 32]
Generated Node #2: [95, 6, 32] from Operation: 46-14=32
Current State: 97:[95, 6, 32], Operations: ['46-14=32']
Exploring Operation: 6*32=192, Resulting Numbers: [95, 192]
Generated Node #3: [95, 192] from Operation: 6*32=192
Current State: 97:[95, 192], Operations: ['46-14=32', '6*32=192']
Exploring Operation: 192-95=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[95, 6, 14, 46], Operations: []
Exploring Operation: 6*14=84, Resulting Numbers: [95, 46, 84]
Generated Node #0,0: 97:[95, 46, 84] Operation: 6*14=84
Moving to Node #0,0
Current State: 97:[95, 46, 84], Operations: ['6*14=84']
Exploring Operation: 46+84=130, Resulting Numbers: [95, 130]
Generated Node #0,0,0: 97:[95, 130] Operation: 46+84=130
Moving to Node #0,0,0
Current State: 97:[95, 130], Operations: ['6*14=84', '46+84=130']
Exploring Operation: 130-95=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
89,
68,
65
] | 23 | [
"89-69=20",
"68-65=3",
"20+3=23"
] | Current State: 23:[69, 89, 68, 65], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [68, 65, 20]
Generated Node #2: [68, 65, 20] from Operation: 89-69=20
Current State: 23:[68, 65, 20], Operations: ['89-69=20']
Exploring Operation: 68-65=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 68-65=3
Current State: 23:[20, 3], Operations: ['89-69=20', '68-65=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[69, 89, 68, 65], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [68, 65, 20]
Generated Node #0,0: 23:[68, 65, 20] Operation: 89-69=20
Exploring Operation: 89-68=21, Resulting Numbers: [69, 65, 21]
Generated Node #0,1: 23:[69, 65, 21] Operation: 89-68=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[68, 65, 20], Operations: ['89-69=20']
Exploring Operation: 68-20=48, Resulting Numbers: [65, 48]
Generated Node #0,0,0: 23:[65, 48] Operation: 68-20=48
Exploring Operation: 68-65=3, Resulting Numbers: [20, 3]
Generated Node #0,0,1: 23:[20, 3] Operation: 68-65=3
Moving to Node #0,0,1
Current State: 23:[20, 3], Operations: ['89-69=20', '68-65=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[69, 89, 68, 65], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [68, 65, 20]
Generated Node #0,0: 23:[68, 65, 20] Operation: 89-69=20
Moving to Node #0,0
Current State: 23:[68, 65, 20], Operations: ['89-69=20']
Exploring Operation: 68-65=3, Resulting Numbers: [20, 3]
Generated Node #0,0,1: 23:[20, 3] Operation: 68-65=3
Moving to Node #0,0,1
Current State: 23:[20, 3], Operations: ['89-69=20', '68-65=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
96,
83,
65,
67
] | 47 | [
"96+83=179",
"65+67=132",
"179-132=47"
] | Current State: 47:[96, 83, 65, 67], Operations: []
Exploring Operation: 96+83=179, Resulting Numbers: [65, 67, 179]
Generated Node #2: [65, 67, 179] from Operation: 96+83=179
Current State: 47:[65, 67, 179], Operations: ['96+83=179']
Exploring Operation: 65+67=132, Resulting Numbers: [179, 132]
Generated Node #3: [179, 132] from Operation: 65+67=132
Current State: 47:[179, 132], Operations: ['96+83=179', '65+67=132']
Exploring Operation: 179-132=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[96, 83, 65, 67], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [65, 67, 13]
Generated Node #0,0: 47:[65, 67, 13] Operation: 96-83=13
Exploring Operation: 96-65=31, Resulting Numbers: [83, 67, 31]
Generated Node #0,1: 47:[83, 67, 31] Operation: 96-65=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[65, 67, 13], Operations: ['96-83=13']
Exploring Operation: 65-13=52, Resulting Numbers: [67, 52]
Generated Node #0,0,0: 47:[67, 52] Operation: 65-13=52
Exploring Operation: 67-13=54, Resulting Numbers: [65, 54]
Generated Node #0,0,1: 47:[65, 54] Operation: 67-13=54
Moving to Node #0,0,0
Current State: 47:[67, 52], Operations: ['96-83=13', '65-13=52']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[65, 54], Operations: ['96-83=13', '67-13=54']
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[83, 67, 31], Operations: ['96-65=31']
Exploring Operation: 83-67=16, Resulting Numbers: [31, 16]
Generated Node #0,1,0: 47:[31, 16] Operation: 83-67=16
Exploring Operation: 83-31=52, Resulting Numbers: [67, 52]
Generated Node #0,1,1: 47:[67, 52] Operation: 83-31=52
Moving to Node #0,1,1
Current State: 47:[67, 52], Operations: ['96-65=31', '83-31=52']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[31, 16], Operations: ['96-65=31', '83-67=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[96, 83, 65, 67], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [83, 67, 31]
Generated Node #0,1: 47:[83, 67, 31] Operation: 96-65=31
Moving to Node #0,1
Current State: 47:[83, 67, 31], Operations: ['96-65=31']
Exploring Operation: 83-67=16, Resulting Numbers: [31, 16]
Generated Node #0,1,0: 47:[31, 16] Operation: 83-67=16
Moving to Node #0,1,0
Current State: 47:[31, 16], Operations: ['96-65=31', '83-67=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
1,
30,
20,
2
] | 20 | [
"1*30=30",
"20/2=10",
"30-10=20"
] | Current State: 20:[1, 30, 20, 2], Operations: []
Exploring Operation: 1*30=30, Resulting Numbers: [20, 2, 30]
Generated Node #2: [20, 2, 30] from Operation: 1*30=30
Current State: 20:[20, 2, 30], Operations: ['1*30=30']
Exploring Operation: 20/2=10, Resulting Numbers: [30, 10]
Generated Node #3: [30, 10] from Operation: 20/2=10
Current State: 20:[30, 10], Operations: ['1*30=30', '20/2=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[1, 30, 20, 2], Operations: []
Exploring Operation: 30/2=15, Resulting Numbers: [1, 20, 15]
Generated Node #0,0: 20:[1, 20, 15] Operation: 30/2=15
Exploring Operation: 30-1=29, Resulting Numbers: [20, 2, 29]
Generated Node #0,1: 20:[20, 2, 29] Operation: 30-1=29
Exploring Operation: 30-2=28, Resulting Numbers: [1, 20, 28]
Generated Node #0,2: 20:[1, 20, 28] Operation: 30-2=28
Exploring Operation: 30-20=10, Resulting Numbers: [1, 2, 10]
Generated Node #0,3: 20:[1, 2, 10] Operation: 30-20=10
Moving to Node #0,3
Current State: 20:[1, 2, 10], Operations: ['30-20=10']
Exploring Operation: 10/1=10, Resulting Numbers: [2, 10]
Generated Node #0,3,0: 20:[2, 10] Operation: 10/1=10
Exploring Operation: 1*2=2, Resulting Numbers: [10, 2]
Generated Node #0,3,1: 20:[10, 2] Operation: 1*2=2
Exploring Operation: 1*10=10, Resulting Numbers: [2, 10]
Generated Node #0,3,2: 20:[2, 10] Operation: 1*10=10
Exploring Operation: 2/1=2, Resulting Numbers: [10, 2]
Generated Node #0,3,3: 20:[10, 2] Operation: 2/1=2
Moving to Node #0,0
Current State: 20:[1, 20, 15], Operations: ['30/2=15']
Exploring Operation: 20-15=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 20:[1, 5] Operation: 20-15=5
Exploring Operation: 1*20=20, Resulting Numbers: [15, 20]
Generated Node #0,0,1: 20:[15, 20] Operation: 1*20=20
Exploring Operation: 15-1=14, Resulting Numbers: [20, 14]
Generated Node #0,0,2: 20:[20, 14] Operation: 15-1=14
Exploring Operation: 1+15=16, Resulting Numbers: [20, 16]
Generated Node #0,0,3: 20:[20, 16] Operation: 1+15=16
Moving to Node #0,2
Current State: 20:[1, 20, 28], Operations: ['30-2=28']
Exploring Operation: 28-20=8, Resulting Numbers: [1, 8]
Generated Node #0,2,0: 20:[1, 8] Operation: 28-20=8
Exploring Operation: 28-1=27, Resulting Numbers: [20, 27]
Generated Node #0,2,1: 20:[20, 27] Operation: 28-1=27
Exploring Operation: 1*20=20, Resulting Numbers: [28, 20]
Generated Node #0,2,2: 20:[28, 20] Operation: 1*20=20
Exploring Operation: 20/1=20, Resulting Numbers: [28, 20]
Generated Node #0,2,3: 20:[28, 20] Operation: 20/1=20
Moving to Node #0,1
Current State: 20:[20, 2, 29], Operations: ['30-1=29']
Exploring Operation: 29-20=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 20:[2, 9] Operation: 29-20=9
Exploring Operation: 29-2=27, Resulting Numbers: [20, 27]
Generated Node #0,1,1: 20:[20, 27] Operation: 29-2=27
Exploring Operation: 20/2=10, Resulting Numbers: [29, 10]
Generated Node #0,1,2: 20:[29, 10] Operation: 20/2=10
Exploring Operation: 20+2=22, Resulting Numbers: [29, 22]
Generated Node #0,1,3: 20:[29, 22] Operation: 20+2=22
Moving to Node #0,3,0
Current State: 20:[2, 10], Operations: ['30-20=10', '10/1=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[1, 30, 20, 2], Operations: []
Exploring Operation: 30-20=10, Resulting Numbers: [1, 2, 10]
Generated Node #0,3: 20:[1, 2, 10] Operation: 30-20=10
Moving to Node #0,3
Current State: 20:[1, 2, 10], Operations: ['30-20=10']
Exploring Operation: 10/1=10, Resulting Numbers: [2, 10]
Generated Node #0,3,0: 20:[2, 10] Operation: 10/1=10
Moving to Node #0,3,0
Current State: 20:[2, 10], Operations: ['30-20=10', '10/1=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.977431 | hs_4 | sum_heuristic |
[
26,
73,
74,
38
] | 83 | [
"73-26=47",
"74-38=36",
"47+36=83"
] | Current State: 83:[26, 73, 74, 38], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [74, 38, 47]
Generated Node #2: [74, 38, 47] from Operation: 73-26=47
Current State: 83:[74, 38, 47], Operations: ['73-26=47']
Exploring Operation: 74-38=36, Resulting Numbers: [47, 36]
Generated Node #3: [47, 36] from Operation: 74-38=36
Current State: 83:[47, 36], Operations: ['73-26=47', '74-38=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[26, 73, 74, 38], Operations: []
Exploring Operation: 26+38=64, Resulting Numbers: [73, 74, 64]
Generated Node #0,0: 83:[73, 74, 64] Operation: 26+38=64
Exploring Operation: 26+74=100, Resulting Numbers: [73, 38, 100]
Generated Node #0,1: 83:[73, 38, 100] Operation: 26+74=100
Exploring Operation: 26+73=99, Resulting Numbers: [74, 38, 99]
Generated Node #0,2: 83:[74, 38, 99] Operation: 26+73=99
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[73, 74, 64], Operations: ['26+38=64']
Exploring Operation: 73+64=137, Resulting Numbers: [74, 137]
Generated Node #0,0,0: 83:[74, 137] Operation: 73+64=137
Exploring Operation: 74+64=138, Resulting Numbers: [73, 138]
Generated Node #0,0,1: 83:[73, 138] Operation: 74+64=138
Exploring Operation: 73+74=147, Resulting Numbers: [64, 147]
Generated Node #0,0,2: 83:[64, 147] Operation: 73+74=147
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[74, 137], Operations: ['26+38=64', '73+64=137']
Exploring Operation: 74*137=10138, Resulting Numbers: [10138]
10138,83 unequal: No Solution
Exploring Operation: 74+137=211, Resulting Numbers: [211]
211,83 unequal: No Solution
Exploring Operation: 137-74=63, Resulting Numbers: [63]
63,83 unequal: No Solution
No 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: 83:[73, 138], Operations: ['26+38=64', '74+64=138']
Exploring Operation: 138-73=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 73+138=211, Resulting Numbers: [211]
211,83 unequal: No Solution
Exploring Operation: 73*138=10074, Resulting Numbers: [10074]
10074,83 unequal: No Solution
No 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: 83:[64, 147], Operations: ['26+38=64', '73+74=147']
Exploring Operation: 147-64=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[26, 73, 74, 38], Operations: []
Exploring Operation: 26+38=64, Resulting Numbers: [73, 74, 64]
Generated Node #0,0: 83:[73, 74, 64] Operation: 26+38=64
Moving to Node #0,0
Current State: 83:[73, 74, 64], Operations: ['26+38=64']
Exploring Operation: 73+74=147, Resulting Numbers: [64, 147]
Generated Node #0,0,2: 83:[64, 147] Operation: 73+74=147
Moving to Node #0,0,2
Current State: 83:[64, 147], Operations: ['26+38=64', '73+74=147']
Exploring Operation: 147-64=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
50,
20,
47,
47
] | 50 | [
"47-47=0",
"20*0=0",
"50+0=50"
] | Current State: 50:[50, 20, 47, 47], Operations: []
Exploring Operation: 47-47=0, Resulting Numbers: [50, 20, 0]
Generated Node #2: [50, 20, 0] from Operation: 47-47=0
Current State: 50:[50, 20, 0], Operations: ['47-47=0']
Exploring Operation: 20*0=0, Resulting Numbers: [50, 0]
Generated Node #3: [50, 0] from Operation: 20*0=0
Current State: 50:[50, 0], Operations: ['47-47=0', '20*0=0']
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[50, 20, 47, 47], Operations: []
Exploring Operation: 47-20=27, Resulting Numbers: [50, 47, 27]
Generated Node #0,0: 50:[50, 47, 27] Operation: 47-20=27
Moving to Node #0,0
Current State: 50:[50, 47, 27], Operations: ['47-20=27']
Exploring Operation: 50-47=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 50:[27, 3] Operation: 50-47=3
Moving to Node #0,0,0
Current State: 50:[27, 3], Operations: ['47-20=27', '50-47=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
4,
71,
97
] | 88 | [
"71-35=36",
"36/4=9",
"97-9=88"
] | Current State: 88:[35, 4, 71, 97], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [4, 97, 36]
Generated Node #2: [4, 97, 36] from Operation: 71-35=36
Current State: 88:[4, 97, 36], Operations: ['71-35=36']
Exploring Operation: 36/4=9, Resulting Numbers: [97, 9]
Generated Node #3: [97, 9] from Operation: 36/4=9
Current State: 88:[97, 9], Operations: ['71-35=36', '36/4=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[35, 4, 71, 97], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [35, 4, 26]
Generated Node #0,0: 88:[35, 4, 26] Operation: 97-71=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[35, 4, 26], Operations: ['97-71=26']
Exploring Operation: 35-26=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 88:[4, 9] Operation: 35-26=9
Moving to Node #0,0,0
Current State: 88:[4, 9], Operations: ['97-71=26', '35-26=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,88 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 |
[
84,
89,
63,
13
] | 97 | [
"84+89=173",
"63+13=76",
"173-76=97"
] | Current State: 97:[84, 89, 63, 13], Operations: []
Exploring Operation: 84+89=173, Resulting Numbers: [63, 13, 173]
Generated Node #2: [63, 13, 173] from Operation: 84+89=173
Current State: 97:[63, 13, 173], Operations: ['84+89=173']
Exploring Operation: 63+13=76, Resulting Numbers: [173, 76]
Generated Node #3: [173, 76] from Operation: 63+13=76
Current State: 97:[173, 76], Operations: ['84+89=173', '63+13=76']
Exploring Operation: 173-76=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[84, 89, 63, 13], Operations: []
Exploring Operation: 84+13=97, Resulting Numbers: [89, 63, 97]
Generated Node #0,0: 97:[89, 63, 97] Operation: 84+13=97
Exploring Operation: 63+13=76, Resulting Numbers: [84, 89, 76]
Generated Node #0,1: 97:[84, 89, 76] Operation: 63+13=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[89, 63, 97], Operations: ['84+13=97']
Exploring Operation: 89+63=152, Resulting Numbers: [97, 152]
Generated Node #0,0,0: 97:[97, 152] Operation: 89+63=152
Exploring Operation: 89-63=26, Resulting Numbers: [97, 26]
Generated Node #0,0,1: 97:[97, 26] Operation: 89-63=26
Moving to Node #0,0,0
Current State: 97:[97, 152], Operations: ['84+13=97', '89+63=152']
Exploring Operation: 97+152=249, Resulting Numbers: [249]
249,97 unequal: No Solution
Exploring Operation: 152-97=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[97, 26], Operations: ['84+13=97', '89-63=26']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 97+26=123, Resulting Numbers: [123]
123,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
Current State: 97:[84, 89, 76], Operations: ['63+13=76']
Exploring Operation: 89+76=165, Resulting Numbers: [84, 165]
Generated Node #0,1,0: 97:[84, 165] Operation: 89+76=165
Exploring Operation: 84+76=160, Resulting Numbers: [89, 160]
Generated Node #0,1,1: 97:[89, 160] Operation: 84+76=160
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[89, 160], Operations: ['63+13=76', '84+76=160']
Exploring Operation: 160-89=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 89+160=249, Resulting Numbers: [249]
249,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[84, 165], Operations: ['63+13=76', '89+76=165']
Exploring Operation: 84+165=249, Resulting Numbers: [249]
249,97 unequal: No Solution
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
79,
15,
34
] | 71 | [
"79-34=45",
"45/15=3",
"74-3=71"
] | Current State: 71:[74, 79, 15, 34], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [74, 15, 45]
Generated Node #2: [74, 15, 45] from Operation: 79-34=45
Current State: 71:[74, 15, 45], Operations: ['79-34=45']
Exploring Operation: 45/15=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 45/15=3
Current State: 71:[74, 3], Operations: ['79-34=45', '45/15=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[74, 79, 15, 34], Operations: []
Exploring Operation: 74+15=89, Resulting Numbers: [79, 34, 89]
Generated Node #0,0: 71:[79, 34, 89] Operation: 74+15=89
Exploring Operation: 74-15=59, Resulting Numbers: [79, 34, 59]
Generated Node #0,1: 71:[79, 34, 59] Operation: 74-15=59
Exploring Operation: 15+34=49, Resulting Numbers: [74, 79, 49]
Generated Node #0,2: 71:[74, 79, 49] Operation: 15+34=49
Exploring Operation: 79-15=64, Resulting Numbers: [74, 34, 64]
Generated Node #0,3: 71:[74, 34, 64] Operation: 79-15=64
Moving to Node #0,2
Current State: 71:[74, 79, 49], Operations: ['15+34=49']
Exploring Operation: 79+49=128, Resulting Numbers: [74, 128]
Generated Node #0,2,0: 71:[74, 128] Operation: 79+49=128
Exploring Operation: 74+49=123, Resulting Numbers: [79, 123]
Generated Node #0,2,1: 71:[79, 123] Operation: 74+49=123
Exploring Operation: 74-49=25, Resulting Numbers: [79, 25]
Generated Node #0,2,2: 71:[79, 25] Operation: 74-49=25
Exploring Operation: 79-49=30, Resulting Numbers: [74, 30]
Generated Node #0,2,3: 71:[74, 30] Operation: 79-49=30
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[74, 30], Operations: ['15+34=49', '79-49=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,71 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[79, 25], Operations: ['15+34=49', '74-49=25']
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,71 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[74, 128], Operations: ['15+34=49', '79+49=128']
Exploring Operation: 74*128=9472, Resulting Numbers: [9472]
9472,71 unequal: No Solution
Exploring Operation: 128-74=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 74+128=202, Resulting Numbers: [202]
202,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[79, 123], Operations: ['15+34=49', '74+49=123']
Exploring Operation: 79+123=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 79*123=9717, Resulting Numbers: [9717]
9717,71 unequal: No Solution
Exploring Operation: 123-79=44, Resulting Numbers: [44]
44,71 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: 71:[74, 34, 64], Operations: ['79-15=64']
Exploring Operation: 64-34=30, Resulting Numbers: [74, 30]
Generated Node #0,3,0: 71:[74, 30] Operation: 64-34=30
Exploring Operation: 34+64=98, Resulting Numbers: [74, 98]
Generated Node #0,3,1: 71:[74, 98] Operation: 34+64=98
Exploring Operation: 74+34=108, Resulting Numbers: [64, 108]
Generated Node #0,3,2: 71:[64, 108] Operation: 74+34=108
Exploring Operation: 74-34=40, Resulting Numbers: [64, 40]
Generated Node #0,3,3: 71:[64, 40] Operation: 74-34=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[74, 98], Operations: ['79-15=64', '34+64=98']
Exploring Operation: 74*98=7252, Resulting Numbers: [7252]
7252,71 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 74+98=172, Resulting Numbers: [172]
172,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[64, 40], Operations: ['79-15=64', '74-34=40']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[74, 30], Operations: ['79-15=64', '64-34=30']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,71 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[64, 108], Operations: ['79-15=64', '74+34=108']
Exploring Operation: 64+108=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 64*108=6912, Resulting Numbers: [6912]
6912,71 unequal: No Solution
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[79, 34, 59], Operations: ['74-15=59']
Exploring Operation: 59-34=25, Resulting Numbers: [79, 25]
Generated Node #0,1,0: 71:[79, 25] Operation: 59-34=25
Exploring Operation: 79+34=113, Resulting Numbers: [59, 113]
Generated Node #0,1,1: 71:[59, 113] Operation: 79+34=113
Exploring Operation: 34+59=93, Resulting Numbers: [79, 93]
Generated Node #0,1,2: 71:[79, 93] Operation: 34+59=93
Exploring Operation: 79-34=45, Resulting Numbers: [59, 45]
Generated Node #0,1,3: 71:[59, 45] Operation: 79-34=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[79, 93], Operations: ['74-15=59', '34+59=93']
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 79+93=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 79*93=7347, Resulting Numbers: [7347]
7347,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[59, 45], Operations: ['74-15=59', '79-34=45']
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,71 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[79, 25], Operations: ['74-15=59', '59-34=25']
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,71 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[59, 113], Operations: ['74-15=59', '79+34=113']
Exploring Operation: 59+113=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 59*113=6667, Resulting Numbers: [6667]
6667,71 unequal: No Solution
Exploring Operation: 113-59=54, Resulting Numbers: [54]
54,71 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: 71:[79, 34, 89], Operations: ['74+15=89']
Exploring Operation: 79-34=45, Resulting Numbers: [89, 45]
Generated Node #0,0,0: 71:[89, 45] Operation: 79-34=45
Exploring Operation: 79+34=113, Resulting Numbers: [89, 113]
Generated Node #0,0,1: 71:[89, 113] Operation: 79+34=113
Exploring Operation: 34+89=123, Resulting Numbers: [79, 123]
Generated Node #0,0,2: 71:[79, 123] Operation: 34+89=123
Exploring Operation: 89-34=55, Resulting Numbers: [79, 55]
Generated Node #0,0,3: 71:[79, 55] Operation: 89-34=55
Moving to Node #0,0,3
Current State: 71:[79, 55], Operations: ['74+15=89', '89-34=55']
Exploring Operation: 79*55=4345, Resulting Numbers: [4345]
4345,71 unequal: No Solution
Exploring Operation: 79+55=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[89, 45], Operations: ['74+15=89', '79-34=45']
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[79, 123], Operations: ['74+15=89', '34+89=123']
Exploring Operation: 79*123=9717, Resulting Numbers: [9717]
9717,71 unequal: No Solution
Exploring Operation: 79+123=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 123-79=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[89, 113], Operations: ['74+15=89', '79+34=113']
Exploring Operation: 89*113=10057, Resulting Numbers: [10057]
10057,71 unequal: No Solution
Exploring Operation: 89+113=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 113-89=24, Resulting Numbers: [24]
24,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
63,
58,
47
] | 97 | [
"71-63=8",
"58+47=105",
"105-8=97"
] | Current State: 97:[71, 63, 58, 47], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [58, 47, 8]
Generated Node #2: [58, 47, 8] from Operation: 71-63=8
Current State: 97:[58, 47, 8], Operations: ['71-63=8']
Exploring Operation: 58+47=105, Resulting Numbers: [8, 105]
Generated Node #3: [8, 105] from Operation: 58+47=105
Current State: 97:[8, 105], Operations: ['71-63=8', '58+47=105']
Exploring Operation: 105-8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[71, 63, 58, 47], Operations: []
Exploring Operation: 71+47=118, Resulting Numbers: [63, 58, 118]
Generated Node #0,0: 97:[63, 58, 118] Operation: 71+47=118
Exploring Operation: 63+47=110, Resulting Numbers: [71, 58, 110]
Generated Node #0,1: 97:[71, 58, 110] Operation: 63+47=110
Exploring Operation: 63+58=121, Resulting Numbers: [71, 47, 121]
Generated Node #0,2: 97:[71, 47, 121] Operation: 63+58=121
Exploring Operation: 58+47=105, Resulting Numbers: [71, 63, 105]
Generated Node #0,3: 97:[71, 63, 105] Operation: 58+47=105
Moving to Node #0,3
Current State: 97:[71, 63, 105], Operations: ['58+47=105']
Exploring Operation: 71+63=134, Resulting Numbers: [105, 134]
Generated Node #0,3,0: 97:[105, 134] Operation: 71+63=134
Exploring Operation: 71-63=8, Resulting Numbers: [105, 8]
Generated Node #0,3,1: 97:[105, 8] Operation: 71-63=8
Exploring Operation: 105-63=42, Resulting Numbers: [71, 42]
Generated Node #0,3,2: 97:[71, 42] Operation: 105-63=42
Exploring Operation: 105-71=34, Resulting Numbers: [63, 34]
Generated Node #0,3,3: 97:[63, 34] Operation: 105-71=34
Moving to Node #0,1
Current State: 97:[71, 58, 110], Operations: ['63+47=110']
Exploring Operation: 71+58=129, Resulting Numbers: [110, 129]
Generated Node #0,1,0: 97:[110, 129] Operation: 71+58=129
Exploring Operation: 110-58=52, Resulting Numbers: [71, 52]
Generated Node #0,1,1: 97:[71, 52] Operation: 110-58=52
Exploring Operation: 71-58=13, Resulting Numbers: [110, 13]
Generated Node #0,1,2: 97:[110, 13] Operation: 71-58=13
Exploring Operation: 110-71=39, Resulting Numbers: [58, 39]
Generated Node #0,1,3: 97:[58, 39] Operation: 110-71=39
Moving to Node #0,0
Current State: 97:[63, 58, 118], Operations: ['71+47=118']
Exploring Operation: 63+58=121, Resulting Numbers: [118, 121]
Generated Node #0,0,0: 97:[118, 121] Operation: 63+58=121
Exploring Operation: 63-58=5, Resulting Numbers: [118, 5]
Generated Node #0,0,1: 97:[118, 5] Operation: 63-58=5
Exploring Operation: 118-63=55, Resulting Numbers: [58, 55]
Generated Node #0,0,2: 97:[58, 55] Operation: 118-63=55
Exploring Operation: 118-58=60, Resulting Numbers: [63, 60]
Generated Node #0,0,3: 97:[63, 60] Operation: 118-58=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[118, 121], Operations: ['71+47=118', '63+58=121']
Exploring Operation: 118+121=239, Resulting Numbers: [239]
239,97 unequal: No Solution
Exploring Operation: 118*121=14278, Resulting Numbers: [14278]
14278,97 unequal: No Solution
Exploring Operation: 121-118=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[63, 60], Operations: ['71+47=118', '118-58=60']
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[58, 55], Operations: ['71+47=118', '118-63=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[118, 5], Operations: ['71+47=118', '63-58=5']
Exploring Operation: 118-5=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 118*5=590, Resulting Numbers: [590]
590,97 unequal: No Solution
Exploring Operation: 118+5=123, Resulting Numbers: [123]
123,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[71, 47, 121], Operations: ['63+58=121']
Exploring Operation: 121-47=74, Resulting Numbers: [71, 74]
Generated Node #0,2,0: 97:[71, 74] Operation: 121-47=74
Exploring Operation: 71-47=24, Resulting Numbers: [121, 24]
Generated Node #0,2,1: 97:[121, 24] Operation: 71-47=24
Exploring Operation: 121-71=50, Resulting Numbers: [47, 50]
Generated Node #0,2,2: 97:[47, 50] Operation: 121-71=50
Exploring Operation: 71+47=118, Resulting Numbers: [121, 118]
Generated Node #0,2,3: 97:[121, 118] Operation: 71+47=118
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[121, 118], Operations: ['63+58=121', '71+47=118']
Exploring Operation: 121*118=14278, Resulting Numbers: [14278]
14278,97 unequal: No Solution
Exploring Operation: 121+118=239, Resulting Numbers: [239]
239,97 unequal: No Solution
Exploring Operation: 121-118=3, Resulting Numbers: [3]
3,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:[71, 74], Operations: ['63+58=121', '121-47=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 71*74=5254, Resulting Numbers: [5254]
5254,97 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[121, 24], Operations: ['63+58=121', '71-47=24']
Exploring Operation: 121*24=2904, Resulting Numbers: [2904]
2904,97 unequal: No Solution
Exploring Operation: 121-24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[71, 63, 58, 47], Operations: []
Exploring Operation: 63+58=121, Resulting Numbers: [71, 47, 121]
Generated Node #0,2: 97:[71, 47, 121] Operation: 63+58=121
Moving to Node #0,2
Current State: 97:[71, 47, 121], Operations: ['63+58=121']
Exploring Operation: 71-47=24, Resulting Numbers: [121, 24]
Generated Node #0,2,1: 97:[121, 24] Operation: 71-47=24
Moving to Node #0,2,1
Current State: 97:[121, 24], Operations: ['63+58=121', '71-47=24']
Exploring Operation: 121-24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_4 | mult_heuristic |
[
99,
12,
45,
15
] | 38 | [
"99-15=84",
"84/12=7",
"45-7=38"
] | Current State: 38:[99, 12, 45, 15], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [12, 45, 84]
Generated Node #2: [12, 45, 84] from Operation: 99-15=84
Current State: 38:[12, 45, 84], Operations: ['99-15=84']
Exploring Operation: 84/12=7, Resulting Numbers: [45, 7]
Generated Node #3: [45, 7] from Operation: 84/12=7
Current State: 38:[45, 7], Operations: ['99-15=84', '84/12=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[99, 12, 45, 15], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [12, 45, 84]
Generated Node #0,0: 38:[12, 45, 84] Operation: 99-15=84
Exploring Operation: 99-12=87, Resulting Numbers: [45, 15, 87]
Generated Node #0,1: 38:[45, 15, 87] Operation: 99-12=87
Exploring Operation: 45/15=3, Resulting Numbers: [99, 12, 3]
Generated Node #0,2: 38:[99, 12, 3] Operation: 45/15=3
Exploring Operation: 99-45=54, Resulting Numbers: [12, 15, 54]
Generated Node #0,3: 38:[12, 15, 54] Operation: 99-45=54
Exploring Operation: 15-12=3, Resulting Numbers: [99, 45, 3]
Generated Node #0,4: 38:[99, 45, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[12, 15, 54], Operations: ['99-45=54']
Exploring Operation: 54-12=42, Resulting Numbers: [15, 42]
Generated Node #0,3,0: 38:[15, 42] Operation: 54-12=42
Exploring Operation: 54-15=39, Resulting Numbers: [12, 39]
Generated Node #0,3,1: 38:[12, 39] Operation: 54-15=39
Exploring Operation: 12+15=27, Resulting Numbers: [54, 27]
Generated Node #0,3,2: 38:[54, 27] Operation: 12+15=27
Exploring Operation: 15-12=3, Resulting Numbers: [54, 3]
Generated Node #0,3,3: 38:[54, 3] Operation: 15-12=3
Exploring Operation: 12+54=66, Resulting Numbers: [15, 66]
Generated Node #0,3,4: 38:[15, 66] Operation: 12+54=66
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[15, 42], Operations: ['99-45=54', '54-12=42']
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,38 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[12, 39], Operations: ['99-45=54', '54-15=39']
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,38 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 38:[54, 3], Operations: ['99-45=54', '15-12=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,38 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 38:[54, 27], Operations: ['99-45=54', '12+15=27']
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 54*27=1458, Resulting Numbers: [1458]
1458,38 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 38:[15, 66], Operations: ['99-45=54', '12+54=66']
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[12, 45, 84], Operations: ['99-15=84']
Exploring Operation: 45-12=33, Resulting Numbers: [84, 33]
Generated Node #0,0,0: 38:[84, 33] Operation: 45-12=33
Exploring Operation: 84/12=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 38:[45, 7] Operation: 84/12=7
Exploring Operation: 84-45=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 38:[12, 39] Operation: 84-45=39
Exploring Operation: 12+45=57, Resulting Numbers: [84, 57]
Generated Node #0,0,3: 38:[84, 57] Operation: 12+45=57
Exploring Operation: 84-12=72, Resulting Numbers: [45, 72]
Generated Node #0,0,4: 38:[45, 72] Operation: 84-12=72
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[12, 39], Operations: ['99-15=84', '84-45=39']
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,38 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[45, 7], Operations: ['99-15=84', '84/12=7']
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,38 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[99, 12, 45, 15], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [12, 45, 84]
Generated Node #0,0: 38:[12, 45, 84] Operation: 99-15=84
Moving to Node #0,0
Current State: 38:[12, 45, 84], Operations: ['99-15=84']
Exploring Operation: 84/12=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 38:[45, 7] Operation: 84/12=7
Moving to Node #0,0,1
Current State: 38:[45, 7], Operations: ['99-15=84', '84/12=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
13,
22,
70,
57
] | 59 | [
"13+22=35",
"70/35=2",
"57+2=59"
] | Current State: 59:[13, 22, 70, 57], Operations: []
Exploring Operation: 13+22=35, Resulting Numbers: [70, 57, 35]
Generated Node #2: [70, 57, 35] from Operation: 13+22=35
Current State: 59:[70, 57, 35], Operations: ['13+22=35']
Exploring Operation: 70/35=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 70/35=2
Current State: 59:[57, 2], Operations: ['13+22=35', '70/35=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[13, 22, 70, 57], Operations: []
Exploring Operation: 13+22=35, Resulting Numbers: [70, 57, 35]
Generated Node #0,0: 59:[70, 57, 35] Operation: 13+22=35
Exploring Operation: 70-13=57, Resulting Numbers: [22, 57, 57]
Generated Node #0,1: 59:[22, 57, 57] Operation: 70-13=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[70, 57, 35], Operations: ['13+22=35']
Exploring Operation: 57+35=92, Resulting Numbers: [70, 92]
Generated Node #0,0,0: 59:[70, 92] Operation: 57+35=92
Exploring Operation: 70-35=35, Resulting Numbers: [57, 35]
Generated Node #0,0,1: 59:[57, 35] Operation: 70-35=35
Moving to Node #0,0,1
Current State: 59:[57, 35], Operations: ['13+22=35', '70-35=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[70, 92], Operations: ['13+22=35', '57+35=92']
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[22, 57, 57], Operations: ['70-13=57']
Exploring Operation: 22+57=79, Resulting Numbers: [57, 79]
Generated Node #0,1,0: 59:[57, 79] Operation: 22+57=79
Exploring Operation: 22+57=79, Resulting Numbers: [57, 79]
Generated Node #0,1,1: 59:[57, 79] Operation: 22+57=79
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[57, 79], Operations: ['70-13=57', '22+57=79']
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 57+79=136, Resulting Numbers: [136]
136,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[57, 79], Operations: ['70-13=57', '22+57=79']
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 57+79=136, Resulting Numbers: [136]
136,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_2 | mult_heuristic |
[
72,
86,
43,
3
] | 67 | [
"72+86=158",
"43+158=201",
"201/3=67"
] | Current State: 67:[72, 86, 43, 3], Operations: []
Exploring Operation: 72+86=158, Resulting Numbers: [43, 3, 158]
Generated Node #2: [43, 3, 158] from Operation: 72+86=158
Current State: 67:[43, 3, 158], Operations: ['72+86=158']
Exploring Operation: 43+158=201, Resulting Numbers: [3, 201]
Generated Node #3: [3, 201] from Operation: 43+158=201
Current State: 67:[3, 201], Operations: ['72+86=158', '43+158=201']
Exploring Operation: 201/3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[72, 86, 43, 3], Operations: []
Exploring Operation: 86-3=83, Resulting Numbers: [72, 43, 83]
Generated Node #0,0: 67:[72, 43, 83] Operation: 86-3=83
Exploring Operation: 86+3=89, Resulting Numbers: [72, 43, 89]
Generated Node #0,1: 67:[72, 43, 89] Operation: 86+3=89
Exploring Operation: 43+3=46, Resulting Numbers: [72, 86, 46]
Generated Node #0,2: 67:[72, 86, 46] Operation: 43+3=46
Exploring Operation: 72-3=69, Resulting Numbers: [86, 43, 69]
Generated Node #0,3: 67:[86, 43, 69] Operation: 72-3=69
Exploring Operation: 72+3=75, Resulting Numbers: [86, 43, 75]
Generated Node #0,4: 67:[86, 43, 75] Operation: 72+3=75
Moving to Node #0,0
Current State: 67:[72, 43, 83], Operations: ['86-3=83']
Exploring Operation: 72-43=29, Resulting Numbers: [83, 29]
Generated Node #0,0,0: 67:[83, 29] Operation: 72-43=29
Exploring Operation: 43+83=126, Resulting Numbers: [72, 126]
Generated Node #0,0,1: 67:[72, 126] Operation: 43+83=126
Exploring Operation: 83-43=40, Resulting Numbers: [72, 40]
Generated Node #0,0,2: 67:[72, 40] Operation: 83-43=40
Exploring Operation: 83-72=11, Resulting Numbers: [43, 11]
Generated Node #0,0,3: 67:[43, 11] Operation: 83-72=11
Exploring Operation: 72+43=115, Resulting Numbers: [83, 115]
Generated Node #0,0,4: 67:[83, 115] Operation: 72+43=115
Moving to Node #0,3
Current State: 67:[86, 43, 69], Operations: ['72-3=69']
Exploring Operation: 43+69=112, Resulting Numbers: [86, 112]
Generated Node #0,3,0: 67:[86, 112] Operation: 43+69=112
Exploring Operation: 86/43=2, Resulting Numbers: [69, 2]
Generated Node #0,3,1: 67:[69, 2] Operation: 86/43=2
Exploring Operation: 86-43=43, Resulting Numbers: [69, 43]
Generated Node #0,3,2: 67:[69, 43] Operation: 86-43=43
Exploring Operation: 69-43=26, Resulting Numbers: [86, 26]
Generated Node #0,3,3: 67:[86, 26] Operation: 69-43=26
Exploring Operation: 86+43=129, Resulting Numbers: [69, 129]
Generated Node #0,3,4: 67:[69, 129] Operation: 86+43=129
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[69, 43], Operations: ['72-3=69', '86-43=43']
Exploring Operation: 69*43=2967, Resulting Numbers: [2967]
2967,67 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,67 unequal: No Solution
Exploring Operation: 69+43=112, Resulting Numbers: [112]
112,67 unequal: No Solution
No 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: 67:[86, 26], Operations: ['72-3=69', '69-43=26']
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,67 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,67 unequal: No Solution
No 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: 67:[86, 112], Operations: ['72-3=69', '43+69=112']
Exploring Operation: 86+112=198, Resulting Numbers: [198]
198,67 unequal: No Solution
Exploring Operation: 86*112=9632, Resulting Numbers: [9632]
9632,67 unequal: No Solution
Exploring Operation: 112-86=26, Resulting Numbers: [26]
26,67 unequal: No Solution
No 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: 67:[69, 129], Operations: ['72-3=69', '86+43=129']
Exploring Operation: 129-69=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 69+129=198, Resulting Numbers: [198]
198,67 unequal: No Solution
Exploring Operation: 69*129=8901, Resulting Numbers: [8901]
8901,67 unequal: No Solution
No 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: 67:[69, 2], Operations: ['72-3=69', '86/43=2']
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[72, 86, 43, 3], Operations: []
Exploring Operation: 72-3=69, Resulting Numbers: [86, 43, 69]
Generated Node #0,3: 67:[86, 43, 69] Operation: 72-3=69
Moving to Node #0,3
Current State: 67:[86, 43, 69], Operations: ['72-3=69']
Exploring Operation: 86/43=2, Resulting Numbers: [69, 2]
Generated Node #0,3,1: 67:[69, 2] Operation: 86/43=2
Moving to Node #0,3,1
Current State: 67:[69, 2], Operations: ['72-3=69', '86/43=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_5 | mult_heuristic |
[
3,
97,
5,
97
] | 16 | [
"3*5=15",
"97/97=1",
"15+1=16"
] | Current State: 16:[3, 97, 5, 97], Operations: []
Exploring Operation: 3*5=15, Resulting Numbers: [97, 97, 15]
Generated Node #2: [97, 97, 15] from Operation: 3*5=15
Current State: 16:[97, 97, 15], Operations: ['3*5=15']
Exploring Operation: 97/97=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 97/97=1
Current State: 16:[15, 1], Operations: ['3*5=15', '97/97=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[3, 97, 5, 97], Operations: []
Exploring Operation: 97-3=94, Resulting Numbers: [5, 97, 94]
Generated Node #0,0: 16:[5, 97, 94] Operation: 97-3=94
Exploring Operation: 97-5=92, Resulting Numbers: [3, 97, 92]
Generated Node #0,1: 16:[3, 97, 92] Operation: 97-5=92
Exploring Operation: 97-5=92, Resulting Numbers: [3, 97, 92]
Generated Node #0,2: 16:[3, 97, 92] Operation: 97-5=92
Exploring Operation: 97-97=0, Resulting Numbers: [3, 5, 0]
Generated Node #0,3: 16:[3, 5, 0] Operation: 97-97=0
Exploring Operation: 97/97=1, Resulting Numbers: [3, 5, 1]
Generated Node #0,4: 16:[3, 5, 1] Operation: 97/97=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[3, 5, 1], Operations: ['97/97=1']
Exploring Operation: 5-3=2, Resulting Numbers: [1, 2]
Generated Node #0,4,0: 16:[1, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [1, 8]
Generated Node #0,4,1: 16:[1, 8] Operation: 3+5=8
Exploring Operation: 5-1=4, Resulting Numbers: [3, 4]
Generated Node #0,4,2: 16:[3, 4] Operation: 5-1=4
Exploring Operation: 3+1=4, Resulting Numbers: [5, 4]
Generated Node #0,4,3: 16:[5, 4] Operation: 3+1=4
Exploring Operation: 3-1=2, Resulting Numbers: [5, 2]
Generated Node #0,4,4: 16:[5, 2] Operation: 3-1=2
Moving to Node #0,4,0
Current State: 16:[1, 2], Operations: ['97/97=1', '5-3=2']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[3, 4], Operations: ['97/97=1', '5-1=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[5, 2], Operations: ['97/97=1', '3-1=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[1, 8], Operations: ['97/97=1', '3+5=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[5, 4], Operations: ['97/97=1', '3+1=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,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,3
Current State: 16:[3, 5, 0], Operations: ['97-97=0']
Exploring Operation: 3-0=3, Resulting Numbers: [5, 3]
Generated Node #0,3,0: 16:[5, 3] Operation: 3-0=3
Exploring Operation: 5-3=2, Resulting Numbers: [0, 2]
Generated Node #0,3,1: 16:[0, 2] Operation: 5-3=2
Exploring Operation: 3+0=3, Resulting Numbers: [5, 3]
Generated Node #0,3,2: 16:[5, 3] Operation: 3+0=3
Exploring Operation: 5+0=5, Resulting Numbers: [3, 5]
Generated Node #0,3,3: 16:[3, 5] Operation: 5+0=5
Exploring Operation: 3+5=8, Resulting Numbers: [0, 8]
Generated Node #0,3,4: 16:[0, 8] Operation: 3+5=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[5, 3], Operations: ['97-97=0', '3-0=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No 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: 16:[0, 2], Operations: ['97-97=0', '5-3=2']
Exploring Operation: 0+2=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 0*2=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No 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: 16:[5, 3], Operations: ['97-97=0', '3+0=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No 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: 16:[3, 5], Operations: ['97-97=0', '5+0=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No 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: 16:[0, 8], Operations: ['97-97=0', '3+5=8']
Exploring Operation: 0*8=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 0+8=8, Resulting Numbers: [8]
8,16 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: 16:[3, 97, 92], Operations: ['97-5=92']
Exploring Operation: 92-3=89, Resulting Numbers: [97, 89]
Generated Node #0,1,0: 16:[97, 89] Operation: 92-3=89
Exploring Operation: 97-3=94, Resulting Numbers: [92, 94]
Generated Node #0,1,1: 16:[92, 94] Operation: 97-3=94
Exploring Operation: 97-92=5, Resulting Numbers: [3, 5]
Generated Node #0,1,2: 16:[3, 5] Operation: 97-92=5
Exploring Operation: 3+97=100, Resulting Numbers: [92, 100]
Generated Node #0,1,3: 16:[92, 100] Operation: 3+97=100
Exploring Operation: 3+92=95, Resulting Numbers: [97, 95]
Generated Node #0,1,4: 16:[97, 95] Operation: 3+92=95
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[3, 5], Operations: ['97-5=92', '97-92=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No 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: 16:[97, 89], Operations: ['97-5=92', '92-3=89']
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,16 unequal: No Solution
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,16 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No 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: 16:[92, 94], Operations: ['97-5=92', '97-3=94']
Exploring Operation: 92*94=8648, Resulting Numbers: [8648]
8648,16 unequal: No Solution
Exploring Operation: 92+94=186, Resulting Numbers: [186]
186,16 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No 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: 16:[92, 100], Operations: ['97-5=92', '3+97=100']
Exploring Operation: 100-92=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 92*100=9200, Resulting Numbers: [9200]
9200,16 unequal: No Solution
Exploring Operation: 92+100=192, Resulting Numbers: [192]
192,16 unequal: No Solution
No 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: 16:[97, 95], Operations: ['97-5=92', '3+92=95']
Exploring Operation: 97-95=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 97*95=9215, Resulting Numbers: [9215]
9215,16 unequal: No Solution
Exploring Operation: 97+95=192, Resulting Numbers: [192]
192,16 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: 16:[3, 97, 92], Operations: ['97-5=92']
Exploring Operation: 3+92=95, Resulting Numbers: [97, 95]
Generated Node #0,2,0: 16:[97, 95] Operation: 3+92=95
Exploring Operation: 3+97=100, Resulting Numbers: [92, 100]
Generated Node #0,2,1: 16:[92, 100] Operation: 3+97=100
Exploring Operation: 92-3=89, Resulting Numbers: [97, 89]
Generated Node #0,2,2: 16:[97, 89] Operation: 92-3=89
Exploring Operation: 97-92=5, Resulting Numbers: [3, 5]
Generated Node #0,2,3: 16:[3, 5] Operation: 97-92=5
Exploring Operation: 97-3=94, Resulting Numbers: [92, 94]
Generated Node #0,2,4: 16:[92, 94] Operation: 97-3=94
Moving to Node #0,2,3
Current State: 16:[3, 5], Operations: ['97-5=92', '97-92=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[92, 94], Operations: ['97-5=92', '97-3=94']
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 92+94=186, Resulting Numbers: [186]
186,16 unequal: No Solution
Exploring Operation: 92*94=8648, Resulting Numbers: [8648]
8648,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[97, 89], Operations: ['97-5=92', '92-3=89']
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,16 unequal: No Solution
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,16 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[97, 95], Operations: ['97-5=92', '3+92=95']
Exploring Operation: 97+95=192, Resulting Numbers: [192]
192,16 unequal: No Solution
Exploring Operation: 97-95=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 97*95=9215, Resulting Numbers: [9215]
9215,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[92, 100], Operations: ['97-5=92', '3+97=100']
Exploring Operation: 92+100=192, Resulting Numbers: [192]
192,16 unequal: No Solution
Exploring Operation: 92*100=9200, Resulting Numbers: [9200]
9200,16 unequal: No Solution
Exploring Operation: 100-92=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,0
Current State: 16:[5, 97, 94], Operations: ['97-3=94']
Exploring Operation: 97-5=92, Resulting Numbers: [94, 92]
Generated Node #0,0,0: 16:[94, 92] Operation: 97-5=92
Exploring Operation: 5+94=99, Resulting Numbers: [97, 99]
Generated Node #0,0,1: 16:[97, 99] Operation: 5+94=99
Exploring Operation: 5+97=102, Resulting Numbers: [94, 102]
Generated Node #0,0,2: 16:[94, 102] Operation: 5+97=102
Exploring Operation: 94-5=89, Resulting Numbers: [97, 89]
Generated Node #0,0,3: 16:[97, 89] Operation: 94-5=89
Exploring Operation: 97-94=3, Resulting Numbers: [5, 3]
Generated Node #0,0,4: 16:[5, 3] Operation: 97-94=3
Moving to Node #0,0,4
Current State: 16:[5, 3], Operations: ['97-3=94', '97-94=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[97, 89], Operations: ['97-3=94', '94-5=89']
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,16 unequal: No Solution
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,16 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[94, 92], Operations: ['97-3=94', '97-5=92']
Exploring Operation: 94*92=8648, Resulting Numbers: [8648]
8648,16 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 94+92=186, Resulting Numbers: [186]
186,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[97, 99], Operations: ['97-3=94', '5+94=99']
Exploring Operation: 97*99=9603, Resulting Numbers: [9603]
9603,16 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[94, 102], Operations: ['97-3=94', '5+97=102']
Exploring Operation: 94*102=9588, Resulting Numbers: [9588]
9588,16 unequal: No Solution
Exploring Operation: 94+102=196, Resulting Numbers: [196]
196,16 unequal: No Solution
Exploring Operation: 102-94=8, Resulting Numbers: [8]
8,16 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 |
[
90,
58,
25,
2
] | 39 | [
"90-58=32",
"2*32=64",
"64-25=39"
] | Current State: 39:[90, 58, 25, 2], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [25, 2, 32]
Generated Node #2: [25, 2, 32] from Operation: 90-58=32
Current State: 39:[25, 2, 32], Operations: ['90-58=32']
Exploring Operation: 2*32=64, Resulting Numbers: [25, 64]
Generated Node #3: [25, 64] from Operation: 2*32=64
Current State: 39:[25, 64], Operations: ['90-58=32', '2*32=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[90, 58, 25, 2], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [25, 2, 32]
Generated Node #0,0: 39:[25, 2, 32] Operation: 90-58=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[25, 2, 32], Operations: ['90-58=32']
Exploring Operation: 32-25=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 39:[2, 7] Operation: 32-25=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[2, 7], Operations: ['90-58=32', '32-25=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
4,
87,
86
] | 57 | [
"87-4=83",
"86-83=3",
"19*3=57"
] | Current State: 57:[19, 4, 87, 86], Operations: []
Exploring Operation: 87-4=83, Resulting Numbers: [19, 86, 83]
Generated Node #2: [19, 86, 83] from Operation: 87-4=83
Current State: 57:[19, 86, 83], Operations: ['87-4=83']
Exploring Operation: 86-83=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 86-83=3
Current State: 57:[19, 3], Operations: ['87-4=83', '86-83=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[19, 4, 87, 86], Operations: []
Exploring Operation: 86-19=67, Resulting Numbers: [4, 87, 67]
Generated Node #0,0: 57:[4, 87, 67] Operation: 86-19=67
Exploring Operation: 87-19=68, Resulting Numbers: [4, 86, 68]
Generated Node #0,1: 57:[4, 86, 68] Operation: 87-19=68
Exploring Operation: 87-86=1, Resulting Numbers: [19, 4, 1]
Generated Node #0,2: 57:[19, 4, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[19, 4, 1], Operations: ['87-86=1']
Exploring Operation: 4-1=3, Resulting Numbers: [19, 3]
Generated Node #0,2,0: 57:[19, 3] Operation: 4-1=3
Exploring Operation: 19/1=19, Resulting Numbers: [4, 19]
Generated Node #0,2,1: 57:[4, 19] Operation: 19/1=19
Exploring Operation: 19*1=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 57:[4, 19] Operation: 19*1=19
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[19, 3], Operations: ['87-86=1', '4-1=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[19, 4, 87, 86], Operations: []
Exploring Operation: 87-86=1, Resulting Numbers: [19, 4, 1]
Generated Node #0,2: 57:[19, 4, 1] Operation: 87-86=1
Moving to Node #0,2
Current State: 57:[19, 4, 1], Operations: ['87-86=1']
Exploring Operation: 4-1=3, Resulting Numbers: [19, 3]
Generated Node #0,2,0: 57:[19, 3] Operation: 4-1=3
Moving to Node #0,2,0
Current State: 57:[19, 3], Operations: ['87-86=1', '4-1=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
7,
21,
5,
37
] | 42 | [
"7*5=35",
"37-35=2",
"21*2=42"
] | Current State: 42:[7, 21, 5, 37], Operations: []
Exploring Operation: 7*5=35, Resulting Numbers: [21, 37, 35]
Generated Node #2: [21, 37, 35] from Operation: 7*5=35
Current State: 42:[21, 37, 35], Operations: ['7*5=35']
Exploring Operation: 37-35=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 37-35=2
Current State: 42:[21, 2], Operations: ['7*5=35', '37-35=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[7, 21, 5, 37], Operations: []
Exploring Operation: 7+37=44, Resulting Numbers: [21, 5, 44]
Generated Node #0,0: 42:[21, 5, 44] Operation: 7+37=44
Exploring Operation: 5+37=42, Resulting Numbers: [7, 21, 42]
Generated Node #0,1: 42:[7, 21, 42] Operation: 5+37=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[7, 21, 42], Operations: ['5+37=42']
Exploring Operation: 21/7=3, Resulting Numbers: [42, 3]
Generated Node #0,1,0: 42:[42, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [42, 14]
Generated Node #0,1,1: 42:[42, 14] Operation: 21-7=14
Moving to Node #0,1,0
Current State: 42:[42, 3], Operations: ['5+37=42', '21/7=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[42, 14], Operations: ['5+37=42', '21-7=14']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,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
Current State: 42:[21, 5, 44], Operations: ['7+37=44']
Exploring Operation: 44-21=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 42:[5, 23] Operation: 44-21=23
Exploring Operation: 44-5=39, Resulting Numbers: [21, 39]
Generated Node #0,0,1: 42:[21, 39] Operation: 44-5=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[5, 23], Operations: ['7+37=44', '44-21=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,42 unequal: No Solution
No 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: 42:[21, 39], Operations: ['7+37=44', '44-5=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
57,
63,
70,
47
] | 70 | [
"57-47=10",
"70-63=7",
"10*7=70"
] | Current State: 70:[57, 63, 70, 47], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [63, 70, 10]
Generated Node #2: [63, 70, 10] from Operation: 57-47=10
Current State: 70:[63, 70, 10], Operations: ['57-47=10']
Exploring Operation: 70-63=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 70-63=7
Current State: 70:[10, 7], Operations: ['57-47=10', '70-63=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[57, 63, 70, 47], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [70, 47, 6]
Generated Node #0,0: 70:[70, 47, 6] Operation: 63-57=6
Exploring Operation: 57-47=10, Resulting Numbers: [63, 70, 10]
Generated Node #0,1: 70:[63, 70, 10] Operation: 57-47=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[63, 70, 10], Operations: ['57-47=10']
Exploring Operation: 63+10=73, Resulting Numbers: [70, 73]
Generated Node #0,1,0: 70:[70, 73] Operation: 63+10=73
Exploring Operation: 70-63=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 70:[10, 7] Operation: 70-63=7
Moving to Node #0,1,1
Current State: 70:[10, 7], Operations: ['57-47=10', '70-63=7']
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:[57, 63, 70, 47], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [63, 70, 10]
Generated Node #0,1: 70:[63, 70, 10] Operation: 57-47=10
Moving to Node #0,1
Current State: 70:[63, 70, 10], Operations: ['57-47=10']
Exploring Operation: 70-63=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 70:[10, 7] Operation: 70-63=7
Moving to Node #0,1,1
Current State: 70:[10, 7], Operations: ['57-47=10', '70-63=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
65,
2,
62,
84
] | 100 | [
"84-65=19",
"2*19=38",
"62+38=100"
] | Current State: 100:[65, 2, 62, 84], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [2, 62, 19]
Generated Node #2: [2, 62, 19] from Operation: 84-65=19
Current State: 100:[2, 62, 19], Operations: ['84-65=19']
Exploring Operation: 2*19=38, Resulting Numbers: [62, 38]
Generated Node #3: [62, 38] from Operation: 2*19=38
Current State: 100:[62, 38], Operations: ['84-65=19', '2*19=38']
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[65, 2, 62, 84], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [2, 62, 19]
Generated Node #0,0: 100:[2, 62, 19] Operation: 84-65=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[2, 62, 19], Operations: ['84-65=19']
Exploring Operation: 62/2=31, Resulting Numbers: [19, 31]
Generated Node #0,0,0: 100:[19, 31] Operation: 62/2=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[19, 31], Operations: ['84-65=19', '62/2=31']
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,100 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.