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 |
|---|---|---|---|---|---|---|---|---|
[
80,
7,
19,
10
] | 78
|
[
"80+7=87",
"19-10=9",
"87-9=78"
] |
Current State: 78:[80, 7, 19, 10], Operations: []
Exploring Operation: 80+7=87, Resulting Numbers: [19, 10, 87]
Generated Node #2: [19, 10, 87] from Operation: 80+7=87
Current State: 78:[19, 10, 87], Operations: ['80+7=87']
Exploring Operation: 19-10=9, Resulting Numbers: [87, 9]
Generated Node #3: [87, 9] from Operation: 19-10=9
Current State: 78:[87, 9], Operations: ['80+7=87', '19-10=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[80, 7, 19, 10], Operations: []
Exploring Operation: 19-7=12, Resulting Numbers: [80, 10, 12]
Generated Node #0,0: 78:[80, 10, 12] Operation: 19-7=12
Exploring Operation: 7+19=26, Resulting Numbers: [80, 10, 26]
Generated Node #0,1: 78:[80, 10, 26] Operation: 7+19=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[80, 10, 26], Operations: ['7+19=26']
Exploring Operation: 10+26=36, Resulting Numbers: [80, 36]
Generated Node #0,1,0: 78:[80, 36] Operation: 10+26=36
Exploring Operation: 80/10=8, Resulting Numbers: [26, 8]
Generated Node #0,1,1: 78:[26, 8] Operation: 80/10=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[26, 8], Operations: ['7+19=26', '80/10=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[80, 36], Operations: ['7+19=26', '10+26=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,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:[80, 10, 12], Operations: ['19-7=12']
Exploring Operation: 12-10=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 12-10=2
Exploring Operation: 80/10=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 78:[12, 8] Operation: 80/10=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['19-7=12', '12-10=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[80, 7, 19, 10], Operations: []
Exploring Operation: 19-7=12, Resulting Numbers: [80, 10, 12]
Generated Node #0,0: 78:[80, 10, 12] Operation: 19-7=12
Moving to Node #0,0
Current State: 78:[80, 10, 12], Operations: ['19-7=12']
Exploring Operation: 12-10=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 12-10=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['19-7=12', '12-10=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_2
|
sum_heuristic
|
[
89,
4,
81,
32
] | 44
|
[
"89+4=93",
"81-32=49",
"93-49=44"
] |
Current State: 44:[89, 4, 81, 32], Operations: []
Exploring Operation: 89+4=93, Resulting Numbers: [81, 32, 93]
Generated Node #2: [81, 32, 93] from Operation: 89+4=93
Current State: 44:[81, 32, 93], Operations: ['89+4=93']
Exploring Operation: 81-32=49, Resulting Numbers: [93, 49]
Generated Node #3: [93, 49] from Operation: 81-32=49
Current State: 44:[93, 49], Operations: ['89+4=93', '81-32=49']
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[89, 4, 81, 32], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [4, 32, 8]
Generated Node #0,0: 44:[4, 32, 8] Operation: 89-81=8
Moving to Node #0,0
Current State: 44:[4, 32, 8], Operations: ['89-81=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 44:[4, 4] Operation: 32/8=4
Moving to Node #0,0,0
Current State: 44:[4, 4], Operations: ['89-81=8', '32/8=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
33,
5,
11,
12
] | 24
|
[
"33/11=3",
"5-3=2",
"12*2=24"
] |
Current State: 24:[33, 5, 11, 12], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [5, 12, 3]
Generated Node #2: [5, 12, 3] from Operation: 33/11=3
Current State: 24:[5, 12, 3], Operations: ['33/11=3']
Exploring Operation: 5-3=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 5-3=2
Current State: 24:[12, 2], Operations: ['33/11=3', '5-3=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[33, 5, 11, 12], Operations: []
Exploring Operation: 33-11=22, Resulting Numbers: [5, 12, 22]
Generated Node #0,0: 24:[5, 12, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [5, 12, 3]
Generated Node #0,1: 24:[5, 12, 3] Operation: 33/11=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[5, 12, 3], Operations: ['33/11=3']
Exploring Operation: 5+3=8, Resulting Numbers: [12, 8]
Generated Node #0,1,0: 24:[12, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 24:[12, 2] Operation: 5-3=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[12, 8], Operations: ['33/11=3', '5+3=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,24 unequal: No Solution
No 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: 24:[12, 2], Operations: ['33/11=3', '5-3=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[33, 5, 11, 12], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [5, 12, 3]
Generated Node #0,1: 24:[5, 12, 3] Operation: 33/11=3
Moving to Node #0,1
Current State: 24:[5, 12, 3], Operations: ['33/11=3']
Exploring Operation: 5-3=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 24:[12, 2] Operation: 5-3=2
Moving to Node #0,1,1
Current State: 24:[12, 2], Operations: ['33/11=3', '5-3=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
mult_heuristic
|
[
60,
11,
96,
47
] | 94
|
[
"60-11=49",
"96+47=143",
"143-49=94"
] |
Current State: 94:[60, 11, 96, 47], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [96, 47, 49]
Generated Node #2: [96, 47, 49] from Operation: 60-11=49
Current State: 94:[96, 47, 49], Operations: ['60-11=49']
Exploring Operation: 96+47=143, Resulting Numbers: [49, 143]
Generated Node #3: [49, 143] from Operation: 96+47=143
Current State: 94:[49, 143], Operations: ['60-11=49', '96+47=143']
Exploring Operation: 143-49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4
|
Current State: 94:[60, 11, 96, 47], Operations: []
Exploring Operation: 60+47=107, Resulting Numbers: [11, 96, 107]
Generated Node #0,0: 94:[11, 96, 107] Operation: 60+47=107
Exploring Operation: 60-47=13, Resulting Numbers: [11, 96, 13]
Generated Node #0,1: 94:[11, 96, 13] Operation: 60-47=13
Exploring Operation: 96-11=85, Resulting Numbers: [60, 47, 85]
Generated Node #0,2: 94:[60, 47, 85] Operation: 96-11=85
Exploring Operation: 60-11=49, Resulting Numbers: [96, 47, 49]
Generated Node #0,3: 94:[96, 47, 49] Operation: 60-11=49
Exploring Operation: 96-60=36, Resulting Numbers: [11, 47, 36]
Generated Node #0,4: 94:[11, 47, 36] Operation: 96-60=36
Moving to Node #0,3
Current State: 94:[96, 47, 49], Operations: ['60-11=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96, 96]
Generated Node #0,3,0: 94:[96, 96] Operation: 47+49=96
Exploring Operation: 96+47=143, Resulting Numbers: [49, 143]
Generated Node #0,3,1: 94:[49, 143] Operation: 96+47=143
Exploring Operation: 96-49=47, Resulting Numbers: [47, 47]
Generated Node #0,3,2: 94:[47, 47] Operation: 96-49=47
Exploring Operation: 96-47=49, Resulting Numbers: [49, 49]
Generated Node #0,3,3: 94:[49, 49] Operation: 96-47=49
Exploring Operation: 49-47=2, Resulting Numbers: [96, 2]
Generated Node #0,3,4: 94:[96, 2] Operation: 49-47=2
Moving to Node #0,4
Current State: 94:[11, 47, 36], Operations: ['96-60=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47, 47]
Generated Node #0,4,0: 94:[47, 47] Operation: 11+36=47
Exploring Operation: 47-11=36, Resulting Numbers: [36, 36]
Generated Node #0,4,1: 94:[36, 36] Operation: 47-11=36
Exploring Operation: 47-36=11, Resulting Numbers: [11, 11]
Generated Node #0,4,2: 94:[11, 11] Operation: 47-36=11
Exploring Operation: 47+36=83, Resulting Numbers: [11, 83]
Generated Node #0,4,3: 94:[11, 83] Operation: 47+36=83
Exploring Operation: 11+47=58, Resulting Numbers: [36, 58]
Generated Node #0,4,4: 94:[36, 58] Operation: 11+47=58
Moving to Node #0,1
Current State: 94:[11, 96, 13], Operations: ['60-47=13']
Exploring Operation: 96-11=85, Resulting Numbers: [13, 85]
Generated Node #0,1,0: 94:[13, 85] Operation: 96-11=85
Exploring Operation: 11+13=24, Resulting Numbers: [96, 24]
Generated Node #0,1,1: 94:[96, 24] Operation: 11+13=24
Exploring Operation: 11+96=107, Resulting Numbers: [13, 107]
Generated Node #0,1,2: 94:[13, 107] Operation: 11+96=107
Exploring Operation: 13-11=2, Resulting Numbers: [96, 2]
Generated Node #0,1,3: 94:[96, 2] Operation: 13-11=2
Exploring Operation: 96-13=83, Resulting Numbers: [11, 83]
Generated Node #0,1,4: 94:[11, 83] Operation: 96-13=83
Moving to Node #0,2
Current State: 94:[60, 47, 85], Operations: ['96-11=85']
Exploring Operation: 85-60=25, Resulting Numbers: [47, 25]
Generated Node #0,2,0: 94:[47, 25] Operation: 85-60=25
Exploring Operation: 60+47=107, Resulting Numbers: [85, 107]
Generated Node #0,2,1: 94:[85, 107] Operation: 60+47=107
Exploring Operation: 60+85=145, Resulting Numbers: [47, 145]
Generated Node #0,2,2: 94:[47, 145] Operation: 60+85=145
Exploring Operation: 85-47=38, Resulting Numbers: [60, 38]
Generated Node #0,2,3: 94:[60, 38] Operation: 85-47=38
Exploring Operation: 60-47=13, Resulting Numbers: [85, 13]
Generated Node #0,2,4: 94:[85, 13] Operation: 60-47=13
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[85, 13], Operations: ['96-11=85', '60-47=13']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[47, 25], Operations: ['96-11=85', '85-60=25']
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,94 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[85, 107], Operations: ['96-11=85', '60+47=107']
Exploring Operation: 85+107=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 85*107=9095, Resulting Numbers: [9095]
9095,94 unequal: No Solution
Exploring Operation: 107-85=22, Resulting Numbers: [22]
22,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[60, 38], Operations: ['96-11=85', '85-47=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,94 unequal: No Solution
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[47, 145], Operations: ['96-11=85', '60+85=145']
Exploring Operation: 145-47=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 47*145=6815, Resulting Numbers: [6815]
6815,94 unequal: No Solution
Exploring Operation: 47+145=192, Resulting Numbers: [192]
192,94 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: 94:[11, 96, 107], Operations: ['60+47=107']
Exploring Operation: 107-11=96, Resulting Numbers: [96, 96]
Generated Node #0,0,0: 94:[96, 96] Operation: 107-11=96
Exploring Operation: 107-96=11, Resulting Numbers: [11, 11]
Generated Node #0,0,1: 94:[11, 11] Operation: 107-96=11
Exploring Operation: 96-11=85, Resulting Numbers: [107, 85]
Generated Node #0,0,2: 94:[107, 85] Operation: 96-11=85
Exploring Operation: 11+107=118, Resulting Numbers: [96, 118]
Generated Node #0,0,3: 94:[96, 118] Operation: 11+107=118
Exploring Operation: 11+96=107, Resulting Numbers: [107, 107]
Generated Node #0,0,4: 94:[107, 107] Operation: 11+96=107
Moving to Node #0,3,2
Current State: 94:[47, 47], Operations: ['60-11=49', '96-49=47']
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,94 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[60, 11, 96, 47], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [96, 47, 49]
Generated Node #0,3: 94:[96, 47, 49] Operation: 60-11=49
Moving to Node #0,3
Current State: 94:[96, 47, 49], Operations: ['60-11=49']
Exploring Operation: 96-49=47, Resulting Numbers: [47, 47]
Generated Node #0,3,2: 94:[47, 47] Operation: 96-49=47
Moving to Node #0,3,2
Current State: 94:[47, 47], Operations: ['60-11=49', '96-49=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.953993
|
hs_5
|
sum_heuristic
|
[
98,
91,
28,
2
] | 84
|
[
"98*2=196",
"196/28=7",
"91-7=84"
] |
Current State: 84:[98, 91, 28, 2], Operations: []
Exploring Operation: 98*2=196, Resulting Numbers: [91, 28, 196]
Generated Node #2: [91, 28, 196] from Operation: 98*2=196
Current State: 84:[91, 28, 196], Operations: ['98*2=196']
Exploring Operation: 196/28=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 196/28=7
Current State: 84:[91, 7], Operations: ['98*2=196', '196/28=7']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4
|
Current State: 84:[98, 91, 28, 2], Operations: []
Exploring Operation: 91-2=89, Resulting Numbers: [98, 28, 89]
Generated Node #0,0: 84:[98, 28, 89] Operation: 91-2=89
Exploring Operation: 98-28=70, Resulting Numbers: [91, 2, 70]
Generated Node #0,1: 84:[91, 2, 70] Operation: 98-28=70
Exploring Operation: 98/2=49, Resulting Numbers: [91, 28, 49]
Generated Node #0,2: 84:[91, 28, 49] Operation: 98/2=49
Exploring Operation: 98-91=7, Resulting Numbers: [28, 2, 7]
Generated Node #0,3: 84:[28, 2, 7] Operation: 98-91=7
Exploring Operation: 98-2=96, Resulting Numbers: [91, 28, 96]
Generated Node #0,4: 84:[91, 28, 96] Operation: 98-2=96
Moving to Node #0,3
Current State: 84:[28, 2, 7], Operations: ['98-91=7']
Exploring Operation: 28/7=4, Resulting Numbers: [2, 4]
Generated Node #0,3,0: 84:[2, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [2, 21]
Generated Node #0,3,1: 84:[2, 21] Operation: 28-7=21
Exploring Operation: 2*7=14, Resulting Numbers: [28, 14]
Generated Node #0,3,2: 84:[28, 14] Operation: 2*7=14
Exploring Operation: 28/2=14, Resulting Numbers: [7, 14]
Generated Node #0,3,3: 84:[7, 14] Operation: 28/2=14
Exploring Operation: 7-2=5, Resulting Numbers: [28, 5]
Generated Node #0,3,4: 84:[28, 5] Operation: 7-2=5
Moving to Node #0,2
Current State: 84:[91, 28, 49], Operations: ['98/2=49']
Exploring Operation: 91-28=63, Resulting Numbers: [49, 63]
Generated Node #0,2,0: 84:[49, 63] Operation: 91-28=63
Exploring Operation: 28+49=77, Resulting Numbers: [91, 77]
Generated Node #0,2,1: 84:[91, 77] Operation: 28+49=77
Exploring Operation: 91+28=119, Resulting Numbers: [49, 119]
Generated Node #0,2,2: 84:[49, 119] Operation: 91+28=119
Exploring Operation: 91-49=42, Resulting Numbers: [28, 42]
Generated Node #0,2,3: 84:[28, 42] Operation: 91-49=42
Exploring Operation: 49-28=21, Resulting Numbers: [91, 21]
Generated Node #0,2,4: 84:[91, 21] Operation: 49-28=21
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[28, 42], Operations: ['98/2=49', '91-49=42']
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[91, 21], Operations: ['98/2=49', '49-28=21']
Exploring Operation: 91+21=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 91*21=1911, Resulting Numbers: [1911]
1911,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[91, 77], Operations: ['98/2=49', '28+49=77']
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 91*77=7007, Resulting Numbers: [7007]
7007,84 unequal: No Solution
Exploring Operation: 91+77=168, Resulting Numbers: [168]
168,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[49, 63], Operations: ['98/2=49', '91-28=63']
Exploring Operation: 49+63=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 49*63=3087, Resulting Numbers: [3087]
3087,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[49, 119], Operations: ['98/2=49', '91+28=119']
Exploring Operation: 49*119=5831, Resulting Numbers: [5831]
5831,84 unequal: No Solution
Exploring Operation: 119-49=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 49+119=168, Resulting Numbers: [168]
168,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 84:[98, 28, 89], Operations: ['91-2=89']
Exploring Operation: 89-28=61, Resulting Numbers: [98, 61]
Generated Node #0,0,0: 84:[98, 61] Operation: 89-28=61
Exploring Operation: 98+28=126, Resulting Numbers: [89, 126]
Generated Node #0,0,1: 84:[89, 126] Operation: 98+28=126
Exploring Operation: 98-28=70, Resulting Numbers: [89, 70]
Generated Node #0,0,2: 84:[89, 70] Operation: 98-28=70
Exploring Operation: 98-89=9, Resulting Numbers: [28, 9]
Generated Node #0,0,3: 84:[28, 9] Operation: 98-89=9
Exploring Operation: 28+89=117, Resulting Numbers: [98, 117]
Generated Node #0,0,4: 84:[98, 117] Operation: 28+89=117
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[28, 9], Operations: ['91-2=89', '98-89=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,84 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[89, 70], Operations: ['91-2=89', '98-28=70']
Exploring Operation: 89*70=6230, Resulting Numbers: [6230]
6230,84 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 89+70=159, Resulting Numbers: [159]
159,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[98, 61], Operations: ['91-2=89', '89-28=61']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,84 unequal: No Solution
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[89, 126], Operations: ['91-2=89', '98+28=126']
Exploring Operation: 126-89=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 89+126=215, Resulting Numbers: [215]
215,84 unequal: No Solution
Exploring Operation: 89*126=11214, Resulting Numbers: [11214]
11214,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[98, 117], Operations: ['91-2=89', '28+89=117']
Exploring Operation: 98*117=11466, Resulting Numbers: [11466]
11466,84 unequal: No Solution
Exploring Operation: 98+117=215, Resulting Numbers: [215]
215,84 unequal: No Solution
Exploring Operation: 117-98=19, Resulting Numbers: [19]
19,84 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: 84:[91, 28, 96], Operations: ['98-2=96']
Exploring Operation: 96-91=5, Resulting Numbers: [28, 5]
Generated Node #0,4,0: 84:[28, 5] Operation: 96-91=5
Exploring Operation: 91+28=119, Resulting Numbers: [96, 119]
Generated Node #0,4,1: 84:[96, 119] Operation: 91+28=119
Exploring Operation: 91-28=63, Resulting Numbers: [96, 63]
Generated Node #0,4,2: 84:[96, 63] Operation: 91-28=63
Exploring Operation: 28+96=124, Resulting Numbers: [91, 124]
Generated Node #0,4,3: 84:[91, 124] Operation: 28+96=124
Exploring Operation: 96-28=68, Resulting Numbers: [91, 68]
Generated Node #0,4,4: 84:[91, 68] Operation: 96-28=68
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[28, 5], Operations: ['98-2=96', '96-91=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,84 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 84:[91, 68], Operations: ['98-2=96', '96-28=68']
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 91*68=6188, Resulting Numbers: [6188]
6188,84 unequal: No Solution
Exploring Operation: 91+68=159, Resulting Numbers: [159]
159,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 84:[96, 63], Operations: ['98-2=96', '91-28=63']
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,84 unequal: No Solution
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 84:[96, 119], Operations: ['98-2=96', '91+28=119']
Exploring Operation: 96*119=11424, Resulting Numbers: [11424]
11424,84 unequal: No Solution
Exploring Operation: 119-96=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 96+119=215, Resulting Numbers: [215]
215,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[91, 124], Operations: ['98-2=96', '28+96=124']
Exploring Operation: 91+124=215, Resulting Numbers: [215]
215,84 unequal: No Solution
Exploring Operation: 124-91=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 91*124=11284, Resulting Numbers: [11284]
11284,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 84:[91, 2, 70], Operations: ['98-28=70']
Exploring Operation: 91+2=93, Resulting Numbers: [70, 93]
Generated Node #0,1,0: 84:[70, 93] Operation: 91+2=93
Exploring Operation: 91-2=89, Resulting Numbers: [70, 89]
Generated Node #0,1,1: 84:[70, 89] Operation: 91-2=89
Exploring Operation: 2+70=72, Resulting Numbers: [91, 72]
Generated Node #0,1,2: 84:[91, 72] Operation: 2+70=72
Exploring Operation: 91-70=21, Resulting Numbers: [2, 21]
Generated Node #0,1,3: 84:[2, 21] Operation: 91-70=21
Exploring Operation: 70/2=35, Resulting Numbers: [91, 35]
Generated Node #0,1,4: 84:[91, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[2, 21], Operations: ['98-28=70', '91-70=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 84:[91, 35], Operations: ['98-28=70', '70/2=35']
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[70, 89], Operations: ['98-28=70', '91-2=89']
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,84 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[91, 72], Operations: ['98-28=70', '2+70=72']
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,84 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[70, 93], Operations: ['98-28=70', '91+2=93']
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,84 unequal: No Solution
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 84:[2, 4], Operations: ['98-91=7', '28/7=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[28, 14], Operations: ['98-91=7', '2*7=14']
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,84 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[2, 21], Operations: ['98-91=7', '28-7=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[7, 14], Operations: ['98-91=7', '28/2=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[28, 5], Operations: ['98-91=7', '7-2=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,84 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
15,
18,
54,
5
] | 23
|
[
"18-15=3",
"54/3=18",
"5+18=23"
] |
Current State: 23:[15, 18, 54, 5], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [54, 5, 3]
Generated Node #2: [54, 5, 3] from Operation: 18-15=3
Current State: 23:[54, 5, 3], Operations: ['18-15=3']
Exploring Operation: 54/3=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 54/3=18
Current State: 23:[5, 18], Operations: ['18-15=3', '54/3=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[15, 18, 54, 5], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [18, 5, 39]
Generated Node #0,0: 23:[18, 5, 39] Operation: 54-15=39
Exploring Operation: 15+5=20, Resulting Numbers: [18, 54, 20]
Generated Node #0,1: 23:[18, 54, 20] Operation: 15+5=20
Moving to Node #0,0
Current State: 23:[18, 5, 39], Operations: ['54-15=39']
Exploring Operation: 18+5=23, Resulting Numbers: [39, 23]
Generated Node #0,0,0: 23:[39, 23] Operation: 18+5=23
Exploring Operation: 39-5=34, Resulting Numbers: [18, 34]
Generated Node #0,0,1: 23:[18, 34] Operation: 39-5=34
Moving to Node #0,1
Current State: 23:[18, 54, 20], Operations: ['15+5=20']
Exploring Operation: 54-20=34, Resulting Numbers: [18, 34]
Generated Node #0,1,0: 23:[18, 34] Operation: 54-20=34
Exploring Operation: 54-18=36, Resulting Numbers: [20, 36]
Generated Node #0,1,1: 23:[20, 36] Operation: 54-18=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[18, 34], Operations: ['15+5=20', '54-20=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[20, 36], Operations: ['15+5=20', '54-18=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,23 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: 23:[39, 23], Operations: ['54-15=39', '18+5=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[18, 34], Operations: ['54-15=39', '39-5=34']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,23 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
43,
25,
76,
46
] | 98
|
[
"43+25=68",
"76-46=30",
"68+30=98"
] |
Current State: 98:[43, 25, 76, 46], Operations: []
Exploring Operation: 43+25=68, Resulting Numbers: [76, 46, 68]
Generated Node #2: [76, 46, 68] from Operation: 43+25=68
Current State: 98:[76, 46, 68], Operations: ['43+25=68']
Exploring Operation: 76-46=30, Resulting Numbers: [68, 30]
Generated Node #3: [68, 30] from Operation: 76-46=30
Current State: 98:[68, 30], Operations: ['43+25=68', '76-46=30']
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[43, 25, 76, 46], Operations: []
Exploring Operation: 76-25=51, Resulting Numbers: [43, 46, 51]
Generated Node #0,0: 98:[43, 46, 51] Operation: 76-25=51
Exploring Operation: 43-25=18, Resulting Numbers: [76, 46, 18]
Generated Node #0,1: 98:[76, 46, 18] Operation: 43-25=18
Exploring Operation: 25+76=101, Resulting Numbers: [43, 46, 101]
Generated Node #0,2: 98:[43, 46, 101] Operation: 25+76=101
Exploring Operation: 76-43=33, Resulting Numbers: [25, 46, 33]
Generated Node #0,3: 98:[25, 46, 33] Operation: 76-43=33
Moving to Node #0,0
Current State: 98:[43, 46, 51], Operations: ['76-25=51']
Exploring Operation: 46-43=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 98:[51, 3] Operation: 46-43=3
Exploring Operation: 51-43=8, Resulting Numbers: [46, 8]
Generated Node #0,0,1: 98:[46, 8] Operation: 51-43=8
Exploring Operation: 46+51=97, Resulting Numbers: [43, 97]
Generated Node #0,0,2: 98:[43, 97] Operation: 46+51=97
Exploring Operation: 43+51=94, Resulting Numbers: [46, 94]
Generated Node #0,0,3: 98:[46, 94] Operation: 43+51=94
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[51, 3], Operations: ['76-25=51', '46-43=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,98 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,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:[46, 8], Operations: ['76-25=51', '51-43=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,98 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,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,2
Current State: 98:[43, 97], Operations: ['76-25=51', '46+51=97']
Exploring Operation: 43*97=4171, Resulting Numbers: [4171]
4171,98 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 43+97=140, Resulting Numbers: [140]
140,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,3
Current State: 98:[46, 94], Operations: ['76-25=51', '43+51=94']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 46+94=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 46*94=4324, Resulting Numbers: [4324]
4324,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 98:[43, 46, 101], Operations: ['25+76=101']
Exploring Operation: 101-46=55, Resulting Numbers: [43, 55]
Generated Node #0,2,0: 98:[43, 55] Operation: 101-46=55
Exploring Operation: 43+46=89, Resulting Numbers: [101, 89]
Generated Node #0,2,1: 98:[101, 89] Operation: 43+46=89
Exploring Operation: 46-43=3, Resulting Numbers: [101, 3]
Generated Node #0,2,2: 98:[101, 3] Operation: 46-43=3
Exploring Operation: 101-43=58, Resulting Numbers: [46, 58]
Generated Node #0,2,3: 98:[46, 58] Operation: 101-43=58
Moving to Node #0,1
Current State: 98:[76, 46, 18], Operations: ['43-25=18']
Exploring Operation: 76-18=58, Resulting Numbers: [46, 58]
Generated Node #0,1,0: 98:[46, 58] Operation: 76-18=58
Exploring Operation: 76+46=122, Resulting Numbers: [18, 122]
Generated Node #0,1,1: 98:[18, 122] Operation: 76+46=122
Exploring Operation: 76-46=30, Resulting Numbers: [18, 30]
Generated Node #0,1,2: 98:[18, 30] Operation: 76-46=30
Exploring Operation: 76+18=94, Resulting Numbers: [46, 94]
Generated Node #0,1,3: 98:[46, 94] Operation: 76+18=94
Moving to Node #0,3
Current State: 98:[25, 46, 33], Operations: ['76-43=33']
Exploring Operation: 25+33=58, Resulting Numbers: [46, 58]
Generated Node #0,3,0: 98:[46, 58] Operation: 25+33=58
Exploring Operation: 46-33=13, Resulting Numbers: [25, 13]
Generated Node #0,3,1: 98:[25, 13] Operation: 46-33=13
Exploring Operation: 46-25=21, Resulting Numbers: [33, 21]
Generated Node #0,3,2: 98:[33, 21] Operation: 46-25=21
Exploring Operation: 33-25=8, Resulting Numbers: [46, 8]
Generated Node #0,3,3: 98:[46, 8] Operation: 33-25=8
Moving to Node #0,2,2
Current State: 98:[101, 3], Operations: ['25+76=101', '46-43=3']
Exploring Operation: 101*3=303, Resulting Numbers: [303]
303,98 unequal: No Solution
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[43, 25, 76, 46], Operations: []
Exploring Operation: 25+76=101, Resulting Numbers: [43, 46, 101]
Generated Node #0,2: 98:[43, 46, 101] Operation: 25+76=101
Moving to Node #0,2
Current State: 98:[43, 46, 101], Operations: ['25+76=101']
Exploring Operation: 46-43=3, Resulting Numbers: [101, 3]
Generated Node #0,2,2: 98:[101, 3] Operation: 46-43=3
Moving to Node #0,2,2
Current State: 98:[101, 3], Operations: ['25+76=101', '46-43=3']
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.966146
|
hs_4
|
sum_heuristic
|
[
47,
69,
9,
20
] | 51
|
[
"69-47=22",
"9+20=29",
"22+29=51"
] |
Current State: 51:[47, 69, 9, 20], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [9, 20, 22]
Generated Node #2: [9, 20, 22] from Operation: 69-47=22
Current State: 51:[9, 20, 22], Operations: ['69-47=22']
Exploring Operation: 9+20=29, Resulting Numbers: [22, 29]
Generated Node #3: [22, 29] from Operation: 9+20=29
Current State: 51:[22, 29], Operations: ['69-47=22', '9+20=29']
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[47, 69, 9, 20], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [47, 9, 49]
Generated Node #0,0: 51:[47, 9, 49] Operation: 69-20=49
Exploring Operation: 69-47=22, Resulting Numbers: [9, 20, 22]
Generated Node #0,1: 51:[9, 20, 22] Operation: 69-47=22
Exploring Operation: 20-9=11, Resulting Numbers: [47, 69, 11]
Generated Node #0,2: 51:[47, 69, 11] Operation: 20-9=11
Exploring Operation: 47+9=56, Resulting Numbers: [69, 20, 56]
Generated Node #0,3: 51:[69, 20, 56] Operation: 47+9=56
Exploring Operation: 69-9=60, Resulting Numbers: [47, 20, 60]
Generated Node #0,4: 51:[47, 20, 60] Operation: 69-9=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[47, 9, 49], Operations: ['69-20=49']
Exploring Operation: 49-47=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 51:[9, 2] Operation: 49-47=2
Exploring Operation: 49-9=40, Resulting Numbers: [47, 40]
Generated Node #0,0,1: 51:[47, 40] Operation: 49-9=40
Exploring Operation: 9+49=58, Resulting Numbers: [47, 58]
Generated Node #0,0,2: 51:[47, 58] Operation: 9+49=58
Exploring Operation: 47-9=38, Resulting Numbers: [49, 38]
Generated Node #0,0,3: 51:[49, 38] Operation: 47-9=38
Exploring Operation: 47+9=56, Resulting Numbers: [49, 56]
Generated Node #0,0,4: 51:[49, 56] Operation: 47+9=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[9, 2], Operations: ['69-20=49', '49-47=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[49, 56], Operations: ['69-20=49', '47+9=56']
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[47, 58], Operations: ['69-20=49', '9+49=58']
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,51 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[47, 40], Operations: ['69-20=49', '49-9=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,51 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[49, 38], Operations: ['69-20=49', '47-9=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,51 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[9, 20, 22], Operations: ['69-47=22']
Exploring Operation: 22-20=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 51:[9, 2] Operation: 22-20=2
Exploring Operation: 20-9=11, Resulting Numbers: [22, 11]
Generated Node #0,1,1: 51:[22, 11] Operation: 20-9=11
Exploring Operation: 20+22=42, Resulting Numbers: [9, 42]
Generated Node #0,1,2: 51:[9, 42] Operation: 20+22=42
Exploring Operation: 9+20=29, Resulting Numbers: [22, 29]
Generated Node #0,1,3: 51:[22, 29] Operation: 9+20=29
Exploring Operation: 22-9=13, Resulting Numbers: [20, 13]
Generated Node #0,1,4: 51:[20, 13] Operation: 22-9=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[9, 2], Operations: ['69-47=22', '22-20=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 51:[20, 13], Operations: ['69-47=22', '22-9=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,51 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[22, 11], Operations: ['69-47=22', '20-9=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,51 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[9, 42], Operations: ['69-47=22', '20+22=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[47, 69, 9, 20], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [9, 20, 22]
Generated Node #0,1: 51:[9, 20, 22] Operation: 69-47=22
Moving to Node #0,1
Current State: 51:[9, 20, 22], Operations: ['69-47=22']
Exploring Operation: 20+22=42, Resulting Numbers: [9, 42]
Generated Node #0,1,2: 51:[9, 42] Operation: 20+22=42
Moving to Node #0,1,2
Current State: 51:[9, 42], Operations: ['69-47=22', '20+22=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069
|
hs_5
|
sum_heuristic
|
[
27,
54,
21,
96
] | 74
|
[
"27*54=1458",
"96+1458=1554",
"1554/21=74"
] |
Current State: 74:[27, 54, 21, 96], Operations: []
Exploring Operation: 27*54=1458, Resulting Numbers: [21, 96, 1458]
Generated Node #2: [21, 96, 1458] from Operation: 27*54=1458
Current State: 74:[21, 96, 1458], Operations: ['27*54=1458']
Exploring Operation: 96+1458=1554, Resulting Numbers: [21, 1554]
Generated Node #3: [21, 1554] from Operation: 96+1458=1554
Current State: 74:[21, 1554], Operations: ['27*54=1458', '96+1458=1554']
Exploring Operation: 1554/21=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[27, 54, 21, 96], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [27, 54, 75]
Generated Node #0,0: 74:[27, 54, 75] Operation: 96-21=75
Exploring Operation: 54/27=2, Resulting Numbers: [21, 96, 2]
Generated Node #0,1: 74:[21, 96, 2] Operation: 54/27=2
Exploring Operation: 54+21=75, Resulting Numbers: [27, 96, 75]
Generated Node #0,2: 74:[27, 96, 75] Operation: 54+21=75
Exploring Operation: 96-54=42, Resulting Numbers: [27, 21, 42]
Generated Node #0,3: 74:[27, 21, 42] Operation: 96-54=42
Exploring Operation: 54-21=33, Resulting Numbers: [27, 96, 33]
Generated Node #0,4: 74:[27, 96, 33] Operation: 54-21=33
Moving to Node #0,0
Current State: 74:[27, 54, 75], Operations: ['96-21=75']
Exploring Operation: 75-54=21, Resulting Numbers: [27, 21]
Generated Node #0,0,0: 74:[27, 21] Operation: 75-54=21
Exploring Operation: 54/27=2, Resulting Numbers: [75, 2]
Generated Node #0,0,1: 74:[75, 2] Operation: 54/27=2
Exploring Operation: 27+54=81, Resulting Numbers: [75, 81]
Generated Node #0,0,2: 74:[75, 81] Operation: 27+54=81
Exploring Operation: 54-27=27, Resulting Numbers: [75, 27]
Generated Node #0,0,3: 74:[75, 27] Operation: 54-27=27
Exploring Operation: 75-27=48, Resulting Numbers: [54, 48]
Generated Node #0,0,4: 74:[54, 48] Operation: 75-27=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[75, 2], Operations: ['96-21=75', '54/27=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,74 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[75, 81], Operations: ['96-21=75', '27+54=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,74 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 74:[75, 27], Operations: ['96-21=75', '54-27=27']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,74 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[27, 21], Operations: ['96-21=75', '75-54=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 74:[54, 48], Operations: ['96-21=75', '75-27=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,74 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: 74:[27, 21, 42], Operations: ['96-54=42']
Exploring Operation: 27-21=6, Resulting Numbers: [42, 6]
Generated Node #0,3,0: 74:[42, 6] Operation: 27-21=6
Exploring Operation: 27+21=48, Resulting Numbers: [42, 48]
Generated Node #0,3,1: 74:[42, 48] Operation: 27+21=48
Exploring Operation: 42/21=2, Resulting Numbers: [27, 2]
Generated Node #0,3,2: 74:[27, 2] Operation: 42/21=2
Exploring Operation: 21+42=63, Resulting Numbers: [27, 63]
Generated Node #0,3,3: 74:[27, 63] Operation: 21+42=63
Exploring Operation: 27+42=69, Resulting Numbers: [21, 69]
Generated Node #0,3,4: 74:[21, 69] Operation: 27+42=69
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[42, 6], Operations: ['96-54=42', '27-21=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[27, 2], Operations: ['96-54=42', '42/21=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[42, 48], Operations: ['96-54=42', '27+21=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,74 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[27, 63], Operations: ['96-54=42', '21+42=63']
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,74 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[21, 69], Operations: ['96-54=42', '27+42=69']
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,74 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,74 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: 74:[27, 96, 75], Operations: ['54+21=75']
Exploring Operation: 75-27=48, Resulting Numbers: [96, 48]
Generated Node #0,2,0: 74:[96, 48] Operation: 75-27=48
Exploring Operation: 96-75=21, Resulting Numbers: [27, 21]
Generated Node #0,2,1: 74:[27, 21] Operation: 96-75=21
Exploring Operation: 27+75=102, Resulting Numbers: [96, 102]
Generated Node #0,2,2: 74:[96, 102] Operation: 27+75=102
Exploring Operation: 96-27=69, Resulting Numbers: [75, 69]
Generated Node #0,2,3: 74:[75, 69] Operation: 96-27=69
Exploring Operation: 27+96=123, Resulting Numbers: [75, 123]
Generated Node #0,2,4: 74:[75, 123] Operation: 27+96=123
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[75, 69], Operations: ['54+21=75', '96-27=69']
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 75*69=5175, Resulting Numbers: [5175]
5175,74 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[27, 21], Operations: ['54+21=75', '96-75=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,74 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[96, 48], Operations: ['54+21=75', '75-27=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[96, 102], Operations: ['54+21=75', '27+75=102']
Exploring Operation: 96+102=198, Resulting Numbers: [198]
198,74 unequal: No Solution
Exploring Operation: 96*102=9792, Resulting Numbers: [9792]
9792,74 unequal: No Solution
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 74:[75, 123], Operations: ['54+21=75', '27+96=123']
Exploring Operation: 75+123=198, Resulting Numbers: [198]
198,74 unequal: No Solution
Exploring Operation: 123-75=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 75*123=9225, Resulting Numbers: [9225]
9225,74 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: 74:[27, 96, 33], Operations: ['54-21=33']
Exploring Operation: 27+96=123, Resulting Numbers: [33, 123]
Generated Node #0,4,0: 74:[33, 123] Operation: 27+96=123
Exploring Operation: 96-33=63, Resulting Numbers: [27, 63]
Generated Node #0,4,1: 74:[27, 63] Operation: 96-33=63
Exploring Operation: 33-27=6, Resulting Numbers: [96, 6]
Generated Node #0,4,2: 74:[96, 6] Operation: 33-27=6
Exploring Operation: 96-27=69, Resulting Numbers: [33, 69]
Generated Node #0,4,3: 74:[33, 69] Operation: 96-27=69
Exploring Operation: 27+33=60, Resulting Numbers: [96, 60]
Generated Node #0,4,4: 74:[96, 60] Operation: 27+33=60
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 74:[33, 69], Operations: ['54-21=33', '96-27=69']
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 33*69=2277, Resulting Numbers: [2277]
2277,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[27, 63], Operations: ['54-21=33', '96-33=63']
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,74 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 74:[96, 6], Operations: ['54-21=33', '33-27=6']
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,74 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 74:[96, 60], Operations: ['54-21=33', '27+33=60']
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,74 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 74:[33, 123], Operations: ['54-21=33', '27+96=123']
Exploring Operation: 33*123=4059, Resulting Numbers: [4059]
4059,74 unequal: No Solution
Exploring Operation: 123-33=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 33+123=156, Resulting Numbers: [156]
156,74 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: 74:[21, 96, 2], Operations: ['54/27=2']
Exploring Operation: 96/2=48, Resulting Numbers: [21, 48]
Generated Node #0,1,0: 74:[21, 48] Operation: 96/2=48
Exploring Operation: 96-21=75, Resulting Numbers: [2, 75]
Generated Node #0,1,1: 74:[2, 75] Operation: 96-21=75
Exploring Operation: 96-2=94, Resulting Numbers: [21, 94]
Generated Node #0,1,2: 74:[21, 94] Operation: 96-2=94
Exploring Operation: 21+2=23, Resulting Numbers: [96, 23]
Generated Node #0,1,3: 74:[96, 23] Operation: 21+2=23
Exploring Operation: 21*2=42, Resulting Numbers: [96, 42]
Generated Node #0,1,4: 74:[96, 42] Operation: 21*2=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[2, 75], Operations: ['54/27=2', '96-21=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,74 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[21, 48], Operations: ['54/27=2', '96/2=48']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 74:[96, 42], Operations: ['54/27=2', '21*2=42']
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,74 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,74 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[21, 94], Operations: ['54/27=2', '96-2=94']
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,74 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[96, 23], Operations: ['54/27=2', '21+2=23']
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,74 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
65,
38,
68,
64
] | 31
|
[
"65-38=27",
"68-64=4",
"27+4=31"
] |
Current State: 31:[65, 38, 68, 64], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [68, 64, 27]
Generated Node #2: [68, 64, 27] from Operation: 65-38=27
Current State: 31:[68, 64, 27], Operations: ['65-38=27']
Exploring Operation: 68-64=4, Resulting Numbers: [27, 4]
Generated Node #3: [27, 4] from Operation: 68-64=4
Current State: 31:[27, 4], Operations: ['65-38=27', '68-64=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[65, 38, 68, 64], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [65, 64, 30]
Generated Node #0,0: 31:[65, 64, 30] Operation: 68-38=30
Exploring Operation: 68-65=3, Resulting Numbers: [38, 64, 3]
Generated Node #0,1: 31:[38, 64, 3] Operation: 68-65=3
Exploring Operation: 68-64=4, Resulting Numbers: [65, 38, 4]
Generated Node #0,2: 31:[65, 38, 4] Operation: 68-64=4
Moving to Node #0,0
Current State: 31:[65, 64, 30], Operations: ['68-38=30']
Exploring Operation: 65-64=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 31:[30, 1] Operation: 65-64=1
Exploring Operation: 64-30=34, Resulting Numbers: [65, 34]
Generated Node #0,0,1: 31:[65, 34] Operation: 64-30=34
Exploring Operation: 65-30=35, Resulting Numbers: [64, 35]
Generated Node #0,0,2: 31:[64, 35] Operation: 65-30=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[30, 1], Operations: ['68-38=30', '65-64=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[65, 38, 68, 64], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [65, 64, 30]
Generated Node #0,0: 31:[65, 64, 30] Operation: 68-38=30
Moving to Node #0,0
Current State: 31:[65, 64, 30], Operations: ['68-38=30']
Exploring Operation: 65-64=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 31:[30, 1] Operation: 65-64=1
Moving to Node #0,0,0
Current State: 31:[30, 1], Operations: ['68-38=30', '65-64=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
69,
21,
34,
15
] | 29
|
[
"69-21=48",
"34-15=19",
"48-19=29"
] |
Current State: 29:[69, 21, 34, 15], Operations: []
Exploring Operation: 69-21=48, Resulting Numbers: [34, 15, 48]
Generated Node #2: [34, 15, 48] from Operation: 69-21=48
Current State: 29:[34, 15, 48], Operations: ['69-21=48']
Exploring Operation: 34-15=19, Resulting Numbers: [48, 19]
Generated Node #3: [48, 19] from Operation: 34-15=19
Current State: 29:[48, 19], Operations: ['69-21=48', '34-15=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[69, 21, 34, 15], Operations: []
Exploring Operation: 69-34=35, Resulting Numbers: [21, 15, 35]
Generated Node #0,0: 29:[21, 15, 35] Operation: 69-34=35
Exploring Operation: 21+15=36, Resulting Numbers: [69, 34, 36]
Generated Node #0,1: 29:[69, 34, 36] Operation: 21+15=36
Exploring Operation: 69-15=54, Resulting Numbers: [21, 34, 54]
Generated Node #0,2: 29:[21, 34, 54] Operation: 69-15=54
Exploring Operation: 69-21=48, Resulting Numbers: [34, 15, 48]
Generated Node #0,3: 29:[34, 15, 48] Operation: 69-21=48
Moving to Node #0,0
Current State: 29:[21, 15, 35], Operations: ['69-34=35']
Exploring Operation: 35-15=20, Resulting Numbers: [21, 20]
Generated Node #0,0,0: 29:[21, 20] Operation: 35-15=20
Exploring Operation: 21+15=36, Resulting Numbers: [35, 36]
Generated Node #0,0,1: 29:[35, 36] Operation: 21+15=36
Exploring Operation: 35-21=14, Resulting Numbers: [15, 14]
Generated Node #0,0,2: 29:[15, 14] Operation: 35-21=14
Exploring Operation: 21-15=6, Resulting Numbers: [35, 6]
Generated Node #0,0,3: 29:[35, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[35, 36], Operations: ['69-34=35', '21+15=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,29 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[21, 20], Operations: ['69-34=35', '35-15=20']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[15, 14], Operations: ['69-34=35', '35-21=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[69, 21, 34, 15], Operations: []
Exploring Operation: 69-34=35, Resulting Numbers: [21, 15, 35]
Generated Node #0,0: 29:[21, 15, 35] Operation: 69-34=35
Moving to Node #0,0
Current State: 29:[21, 15, 35], Operations: ['69-34=35']
Exploring Operation: 35-21=14, Resulting Numbers: [15, 14]
Generated Node #0,0,2: 29:[15, 14] Operation: 35-21=14
Moving to Node #0,0,2
Current State: 29:[15, 14], Operations: ['69-34=35', '35-21=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_4
|
mult_heuristic
|
[
52,
13,
68,
5
] | 88
|
[
"52/13=4",
"5*4=20",
"68+20=88"
] |
Current State: 88:[52, 13, 68, 5], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [68, 5, 4]
Generated Node #2: [68, 5, 4] from Operation: 52/13=4
Current State: 88:[68, 5, 4], Operations: ['52/13=4']
Exploring Operation: 5*4=20, Resulting Numbers: [68, 20]
Generated Node #3: [68, 20] from Operation: 5*4=20
Current State: 88:[68, 20], Operations: ['52/13=4', '5*4=20']
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[52, 13, 68, 5], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [52, 5, 55]
Generated Node #0,0: 88:[52, 5, 55] Operation: 68-13=55
Exploring Operation: 52-5=47, Resulting Numbers: [13, 68, 47]
Generated Node #0,1: 88:[13, 68, 47] Operation: 52-5=47
Exploring Operation: 52/13=4, Resulting Numbers: [68, 5, 4]
Generated Node #0,2: 88:[68, 5, 4] Operation: 52/13=4
Exploring Operation: 13+68=81, Resulting Numbers: [52, 5, 81]
Generated Node #0,3: 88:[52, 5, 81] Operation: 13+68=81
Exploring Operation: 68-52=16, Resulting Numbers: [13, 5, 16]
Generated Node #0,4: 88:[13, 5, 16] Operation: 68-52=16
Moving to Node #0,4
Current State: 88:[13, 5, 16], Operations: ['68-52=16']
Exploring Operation: 5+16=21, Resulting Numbers: [13, 21]
Generated Node #0,4,0: 88:[13, 21] Operation: 5+16=21
Exploring Operation: 16-5=11, Resulting Numbers: [13, 11]
Generated Node #0,4,1: 88:[13, 11] Operation: 16-5=11
Exploring Operation: 16-13=3, Resulting Numbers: [5, 3]
Generated Node #0,4,2: 88:[5, 3] Operation: 16-13=3
Exploring Operation: 13-5=8, Resulting Numbers: [16, 8]
Generated Node #0,4,3: 88:[16, 8] Operation: 13-5=8
Exploring Operation: 13+16=29, Resulting Numbers: [5, 29]
Generated Node #0,4,4: 88:[5, 29] Operation: 13+16=29
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 88:[13, 11], Operations: ['68-52=16', '16-5=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 88:[5, 3], Operations: ['68-52=16', '16-13=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 88:[13, 21], Operations: ['68-52=16', '5+16=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,88 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[16, 8], Operations: ['68-52=16', '13-5=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 88:[5, 29], Operations: ['68-52=16', '13+16=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,88 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: 88:[52, 5, 81], Operations: ['13+68=81']
Exploring Operation: 81-52=29, Resulting Numbers: [5, 29]
Generated Node #0,3,0: 88:[5, 29] Operation: 81-52=29
Exploring Operation: 52-5=47, Resulting Numbers: [81, 47]
Generated Node #0,3,1: 88:[81, 47] Operation: 52-5=47
Exploring Operation: 5+81=86, Resulting Numbers: [52, 86]
Generated Node #0,3,2: 88:[52, 86] Operation: 5+81=86
Exploring Operation: 52+5=57, Resulting Numbers: [81, 57]
Generated Node #0,3,3: 88:[81, 57] Operation: 52+5=57
Exploring Operation: 81-5=76, Resulting Numbers: [52, 76]
Generated Node #0,3,4: 88:[52, 76] Operation: 81-5=76
Moving to Node #0,0
Current State: 88:[52, 5, 55], Operations: ['68-13=55']
Exploring Operation: 55/5=11, Resulting Numbers: [52, 11]
Generated Node #0,0,0: 88:[52, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [52, 50]
Generated Node #0,0,1: 88:[52, 50] Operation: 55-5=50
Exploring Operation: 55-52=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 88:[5, 3] Operation: 55-52=3
Exploring Operation: 52-5=47, Resulting Numbers: [55, 47]
Generated Node #0,0,3: 88:[55, 47] Operation: 52-5=47
Exploring Operation: 52+55=107, Resulting Numbers: [5, 107]
Generated Node #0,0,4: 88:[5, 107] Operation: 52+55=107
Moving to Node #0,2
Current State: 88:[68, 5, 4], Operations: ['52/13=4']
Exploring Operation: 68-4=64, Resulting Numbers: [5, 64]
Generated Node #0,2,0: 88:[5, 64] Operation: 68-4=64
Exploring Operation: 68+4=72, Resulting Numbers: [5, 72]
Generated Node #0,2,1: 88:[5, 72] Operation: 68+4=72
Exploring Operation: 68+5=73, Resulting Numbers: [4, 73]
Generated Node #0,2,2: 88:[4, 73] Operation: 68+5=73
Exploring Operation: 68/4=17, Resulting Numbers: [5, 17]
Generated Node #0,2,3: 88:[5, 17] Operation: 68/4=17
Exploring Operation: 68-5=63, Resulting Numbers: [4, 63]
Generated Node #0,2,4: 88:[4, 63] Operation: 68-5=63
Moving to Node #0,1
Current State: 88:[13, 68, 47], Operations: ['52-5=47']
Exploring Operation: 13+68=81, Resulting Numbers: [47, 81]
Generated Node #0,1,0: 88:[47, 81] Operation: 13+68=81
Exploring Operation: 47-13=34, Resulting Numbers: [68, 34]
Generated Node #0,1,1: 88:[68, 34] Operation: 47-13=34
Exploring Operation: 68-47=21, Resulting Numbers: [13, 21]
Generated Node #0,1,2: 88:[13, 21] Operation: 68-47=21
Exploring Operation: 68-13=55, Resulting Numbers: [47, 55]
Generated Node #0,1,3: 88:[47, 55] Operation: 68-13=55
Exploring Operation: 68+47=115, Resulting Numbers: [13, 115]
Generated Node #0,1,4: 88:[13, 115] Operation: 68+47=115
Moving to Node #0,0,2
Current State: 88:[5, 3], Operations: ['68-13=55', '55-52=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[13, 21], Operations: ['52-5=47', '68-47=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[5, 17], Operations: ['52/13=4', '68/4=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[5, 29], Operations: ['13+68=81', '81-52=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[52, 11], Operations: ['68-13=55', '55/5=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,88 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[52, 86], Operations: ['13+68=81', '5+81=86']
Exploring Operation: 52+86=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 52*86=4472, Resulting Numbers: [4472]
4472,88 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[81, 47], Operations: ['13+68=81', '52-5=47']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,88 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[47, 81], Operations: ['52-5=47', '13+68=81']
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[47, 55], Operations: ['52-5=47', '68-13=55']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,88 unequal: No Solution
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[55, 47], Operations: ['68-13=55', '52-5=47']
Exploring Operation: 55*47=2585, Resulting Numbers: [2585]
2585,88 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[52, 50], Operations: ['68-13=55', '55-5=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,88 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[4, 73], Operations: ['52/13=4', '68+5=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,88 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[5, 72], Operations: ['52/13=4', '68+4=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,88 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[4, 63], Operations: ['52/13=4', '68-5=63']
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,88 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[52, 76], Operations: ['13+68=81', '81-5=76']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 52*76=3952, Resulting Numbers: [3952]
3952,88 unequal: No Solution
Exploring Operation: 52+76=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[5, 107], Operations: ['68-13=55', '52+55=107']
Exploring Operation: 107-5=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 5*107=535, Resulting Numbers: [535]
535,88 unequal: No Solution
Exploring Operation: 5+107=112, Resulting Numbers: [112]
112,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[81, 57], Operations: ['13+68=81', '52+5=57']
Exploring Operation: 81*57=4617, Resulting Numbers: [4617]
4617,88 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 81+57=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[5, 64], Operations: ['52/13=4', '68-4=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,88 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[13, 115], Operations: ['52-5=47', '68+47=115']
Exploring Operation: 13+115=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 115-13=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 13*115=1495, Resulting Numbers: [1495]
1495,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[68, 34], Operations: ['52-5=47', '47-13=34']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,88 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
16,
43,
51,
11
] | 22
|
[
"16*11=176",
"51-43=8",
"176/8=22"
] |
Current State: 22:[16, 43, 51, 11], Operations: []
Exploring Operation: 16*11=176, Resulting Numbers: [43, 51, 176]
Generated Node #2: [43, 51, 176] from Operation: 16*11=176
Current State: 22:[43, 51, 176], Operations: ['16*11=176']
Exploring Operation: 51-43=8, Resulting Numbers: [176, 8]
Generated Node #3: [176, 8] from Operation: 51-43=8
Current State: 22:[176, 8], Operations: ['16*11=176', '51-43=8']
Exploring Operation: 176/8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[16, 43, 51, 11], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [16, 51, 32]
Generated Node #0,0: 22:[16, 51, 32] Operation: 43-11=32
Exploring Operation: 51-43=8, Resulting Numbers: [16, 11, 8]
Generated Node #0,1: 22:[16, 11, 8] Operation: 51-43=8
Exploring Operation: 43-16=27, Resulting Numbers: [51, 11, 27]
Generated Node #0,2: 22:[51, 11, 27] Operation: 43-16=27
Exploring Operation: 51-16=35, Resulting Numbers: [43, 11, 35]
Generated Node #0,3: 22:[43, 11, 35] Operation: 51-16=35
Exploring Operation: 51-11=40, Resulting Numbers: [16, 43, 40]
Generated Node #0,4: 22:[16, 43, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[16, 11, 8], Operations: ['51-43=8']
Exploring Operation: 11-8=3, Resulting Numbers: [16, 3]
Generated Node #0,1,0: 22:[16, 3] Operation: 11-8=3
Exploring Operation: 16/8=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 22:[11, 2] Operation: 16/8=2
Exploring Operation: 16-11=5, Resulting Numbers: [8, 5]
Generated Node #0,1,2: 22:[8, 5] Operation: 16-11=5
Exploring Operation: 16+8=24, Resulting Numbers: [11, 24]
Generated Node #0,1,3: 22:[11, 24] Operation: 16+8=24
Exploring Operation: 16-8=8, Resulting Numbers: [11, 8]
Generated Node #0,1,4: 22:[11, 8] Operation: 16-8=8
Moving to Node #0,1,1
Current State: 22:[11, 2], Operations: ['51-43=8', '16/8=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[16, 43, 51, 11], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [16, 11, 8]
Generated Node #0,1: 22:[16, 11, 8] Operation: 51-43=8
Moving to Node #0,1
Current State: 22:[16, 11, 8], Operations: ['51-43=8']
Exploring Operation: 16/8=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 22:[11, 2] Operation: 16/8=2
Moving to Node #0,1,1
Current State: 22:[11, 2], Operations: ['51-43=8', '16/8=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
sum_heuristic
|
[
75,
27,
88,
3
] | 36
|
[
"75/3=25",
"88-27=61",
"61-25=36"
] |
Current State: 36:[75, 27, 88, 3], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [27, 88, 25]
Generated Node #2: [27, 88, 25] from Operation: 75/3=25
Current State: 36:[27, 88, 25], Operations: ['75/3=25']
Exploring Operation: 88-27=61, Resulting Numbers: [25, 61]
Generated Node #3: [25, 61] from Operation: 88-27=61
Current State: 36:[25, 61], Operations: ['75/3=25', '88-27=61']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[75, 27, 88, 3], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [27, 3, 13]
Generated Node #0,0: 36:[27, 3, 13] Operation: 88-75=13
Exploring Operation: 75-27=48, Resulting Numbers: [88, 3, 48]
Generated Node #0,1: 36:[88, 3, 48] Operation: 75-27=48
Moving to Node #0,0
Current State: 36:[27, 3, 13], Operations: ['88-75=13']
Exploring Operation: 27-13=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 36:[3, 14] Operation: 27-13=14
Exploring Operation: 27/3=9, Resulting Numbers: [13, 9]
Generated Node #0,0,1: 36:[13, 9] Operation: 27/3=9
Moving to Node #0,1
Current State: 36:[88, 3, 48], Operations: ['75-27=48']
Exploring Operation: 48/3=16, Resulting Numbers: [88, 16]
Generated Node #0,1,0: 36:[88, 16] Operation: 48/3=16
Exploring Operation: 88-48=40, Resulting Numbers: [3, 40]
Generated Node #0,1,1: 36:[3, 40] Operation: 88-48=40
Moving to Node #0,0,1
Current State: 36:[13, 9], Operations: ['88-75=13', '27/3=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[3, 14], Operations: ['88-75=13', '27-13=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[3, 40], Operations: ['75-27=48', '88-48=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[88, 16], Operations: ['75-27=48', '48/3=16']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,36 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
81,
16,
66,
18
] | 96
|
[
"18-16=2",
"81*2=162",
"162-66=96"
] |
Current State: 96:[81, 16, 66, 18], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [81, 66, 2]
Generated Node #2: [81, 66, 2] from Operation: 18-16=2
Current State: 96:[81, 66, 2], Operations: ['18-16=2']
Exploring Operation: 81*2=162, Resulting Numbers: [66, 162]
Generated Node #3: [66, 162] from Operation: 81*2=162
Current State: 96:[66, 162], Operations: ['18-16=2', '81*2=162']
Exploring Operation: 162-66=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[81, 16, 66, 18], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [16, 18, 15]
Generated Node #0,0: 96:[16, 18, 15] Operation: 81-66=15
Moving to Node #0,0
Current State: 96:[16, 18, 15], Operations: ['81-66=15']
Exploring Operation: 18-15=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 96:[16, 3] Operation: 18-15=3
Moving to Node #0,0,0
Current State: 96:[16, 3], Operations: ['81-66=15', '18-15=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,96 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
52,
45,
88,
63
] | 32
|
[
"52-45=7",
"88-63=25",
"7+25=32"
] |
Current State: 32:[52, 45, 88, 63], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [88, 63, 7]
Generated Node #2: [88, 63, 7] from Operation: 52-45=7
Current State: 32:[88, 63, 7], Operations: ['52-45=7']
Exploring Operation: 88-63=25, Resulting Numbers: [7, 25]
Generated Node #3: [7, 25] from Operation: 88-63=25
Current State: 32:[7, 25], Operations: ['52-45=7', '88-63=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[52, 45, 88, 63], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [52, 45, 25]
Generated Node #0,0: 32:[52, 45, 25] Operation: 88-63=25
Moving to Node #0,0
Current State: 32:[52, 45, 25], Operations: ['88-63=25']
Exploring Operation: 52-45=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 32:[25, 7] Operation: 52-45=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[25, 7], Operations: ['88-63=25', '52-45=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[52, 45, 88, 63], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [52, 45, 25]
Generated Node #0,0: 32:[52, 45, 25] Operation: 88-63=25
Moving to Node #0,0
Current State: 32:[52, 45, 25], Operations: ['88-63=25']
Exploring Operation: 52-45=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 32:[25, 7] Operation: 52-45=7
Moving to Node #0,0,0
Current State: 32:[25, 7], Operations: ['88-63=25', '52-45=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
76,
84,
80,
31
] | 57
|
[
"84-76=8",
"80-31=49",
"8+49=57"
] |
Current State: 57:[76, 84, 80, 31], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [80, 31, 8]
Generated Node #2: [80, 31, 8] from Operation: 84-76=8
Current State: 57:[80, 31, 8], Operations: ['84-76=8']
Exploring Operation: 80-31=49, Resulting Numbers: [8, 49]
Generated Node #3: [8, 49] from Operation: 80-31=49
Current State: 57:[8, 49], Operations: ['84-76=8', '80-31=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[76, 84, 80, 31], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [76, 31, 4]
Generated Node #0,0: 57:[76, 31, 4] Operation: 84-80=4
Exploring Operation: 84-76=8, Resulting Numbers: [80, 31, 8]
Generated Node #0,1: 57:[80, 31, 8] Operation: 84-76=8
Moving to Node #0,0
Current State: 57:[76, 31, 4], Operations: ['84-80=4']
Exploring Operation: 76/4=19, Resulting Numbers: [31, 19]
Generated Node #0,0,0: 57:[31, 19] Operation: 76/4=19
Exploring Operation: 76-31=45, Resulting Numbers: [4, 45]
Generated Node #0,0,1: 57:[4, 45] Operation: 76-31=45
Moving to Node #0,1
Current State: 57:[80, 31, 8], Operations: ['84-76=8']
Exploring Operation: 80-31=49, Resulting Numbers: [8, 49]
Generated Node #0,1,0: 57:[8, 49] Operation: 80-31=49
Exploring Operation: 80/8=10, Resulting Numbers: [31, 10]
Generated Node #0,1,1: 57:[31, 10] Operation: 80/8=10
Moving to Node #0,0,0
Current State: 57:[31, 19], Operations: ['84-80=4', '76/4=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[8, 49], Operations: ['84-76=8', '80-31=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[76, 84, 80, 31], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [80, 31, 8]
Generated Node #0,1: 57:[80, 31, 8] Operation: 84-76=8
Moving to Node #0,1
Current State: 57:[80, 31, 8], Operations: ['84-76=8']
Exploring Operation: 80-31=49, Resulting Numbers: [8, 49]
Generated Node #0,1,0: 57:[8, 49] Operation: 80-31=49
Moving to Node #0,1,0
Current State: 57:[8, 49], Operations: ['84-76=8', '80-31=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.988715
|
hs_2
|
mult_heuristic
|
[
77,
7,
76,
89
] | 81
|
[
"77+7=84",
"76+89=165",
"165-84=81"
] |
Current State: 81:[77, 7, 76, 89], Operations: []
Exploring Operation: 77+7=84, Resulting Numbers: [76, 89, 84]
Generated Node #2: [76, 89, 84] from Operation: 77+7=84
Current State: 81:[76, 89, 84], Operations: ['77+7=84']
Exploring Operation: 76+89=165, Resulting Numbers: [84, 165]
Generated Node #3: [84, 165] from Operation: 76+89=165
Current State: 81:[84, 165], Operations: ['77+7=84', '76+89=165']
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[77, 7, 76, 89], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [77, 76, 82]
Generated Node #0,0: 81:[77, 76, 82] Operation: 89-7=82
Exploring Operation: 89-77=12, Resulting Numbers: [7, 76, 12]
Generated Node #0,1: 81:[7, 76, 12] Operation: 89-77=12
Moving to Node #0,0
Current State: 81:[77, 76, 82], Operations: ['89-7=82']
Exploring Operation: 77-76=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 81:[82, 1] Operation: 77-76=1
Exploring Operation: 82-77=5, Resulting Numbers: [76, 5]
Generated Node #0,0,1: 81:[76, 5] Operation: 82-77=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[82, 1], Operations: ['89-7=82', '77-76=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[77, 7, 76, 89], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [77, 76, 82]
Generated Node #0,0: 81:[77, 76, 82] Operation: 89-7=82
Moving to Node #0,0
Current State: 81:[77, 76, 82], Operations: ['89-7=82']
Exploring Operation: 77-76=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 81:[82, 1] Operation: 77-76=1
Moving to Node #0,0,0
Current State: 81:[82, 1], Operations: ['89-7=82', '77-76=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
86,
42,
19,
63
] | 70
|
[
"86+19=105",
"42*105=4410",
"4410/63=70"
] |
Current State: 70:[86, 42, 19, 63], Operations: []
Exploring Operation: 86+19=105, Resulting Numbers: [42, 63, 105]
Generated Node #2: [42, 63, 105] from Operation: 86+19=105
Current State: 70:[42, 63, 105], Operations: ['86+19=105']
Exploring Operation: 42*105=4410, Resulting Numbers: [63, 4410]
Generated Node #3: [63, 4410] from Operation: 42*105=4410
Current State: 70:[63, 4410], Operations: ['86+19=105', '42*105=4410']
Exploring Operation: 4410/63=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[86, 42, 19, 63], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [19, 63, 44]
Generated Node #0,0: 70:[19, 63, 44] Operation: 86-42=44
Exploring Operation: 86-19=67, Resulting Numbers: [42, 63, 67]
Generated Node #0,1: 70:[42, 63, 67] Operation: 86-19=67
Moving to Node #0,1
Current State: 70:[42, 63, 67], Operations: ['86-19=67']
Exploring Operation: 67-63=4, Resulting Numbers: [42, 4]
Generated Node #0,1,0: 70:[42, 4] Operation: 67-63=4
Exploring Operation: 63-42=21, Resulting Numbers: [67, 21]
Generated Node #0,1,1: 70:[67, 21] Operation: 63-42=21
Moving to Node #0,0
Current State: 70:[19, 63, 44], Operations: ['86-42=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63, 63]
Generated Node #0,0,0: 70:[63, 63] Operation: 19+44=63
Exploring Operation: 63-44=19, Resulting Numbers: [19, 19]
Generated Node #0,0,1: 70:[19, 19] Operation: 63-44=19
Moving to Node #0,1,0
Current State: 70:[42, 4], Operations: ['86-19=67', '67-63=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[19, 19], Operations: ['86-42=44', '63-44=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[67, 21], Operations: ['86-19=67', '63-42=21']
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[63, 63], Operations: ['86-42=44', '19+44=63']
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
4,
80,
88,
22
] | 90
|
[
"80/4=20",
"88+22=110",
"110-20=90"
] |
Current State: 90:[4, 80, 88, 22], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [88, 22, 20]
Generated Node #2: [88, 22, 20] from Operation: 80/4=20
Current State: 90:[88, 22, 20], Operations: ['80/4=20']
Exploring Operation: 88+22=110, Resulting Numbers: [20, 110]
Generated Node #3: [20, 110] from Operation: 88+22=110
Current State: 90:[20, 110], Operations: ['80/4=20', '88+22=110']
Exploring Operation: 110-20=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[4, 80, 88, 22], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [4, 22, 8]
Generated Node #0,0: 90:[4, 22, 8] Operation: 88-80=8
Exploring Operation: 80/4=20, Resulting Numbers: [88, 22, 20]
Generated Node #0,1: 90:[88, 22, 20] Operation: 80/4=20
Moving to Node #0,0
Current State: 90:[4, 22, 8], Operations: ['88-80=8']
Exploring Operation: 22+8=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 90:[4, 30] Operation: 22+8=30
Exploring Operation: 22-4=18, Resulting Numbers: [8, 18]
Generated Node #0,0,1: 90:[8, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[4, 30], Operations: ['88-80=8', '22+8=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[8, 18], Operations: ['88-80=8', '22-4=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,90 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: 90:[88, 22, 20], Operations: ['80/4=20']
Exploring Operation: 88/22=4, Resulting Numbers: [20, 4]
Generated Node #0,1,0: 90:[20, 4] Operation: 88/22=4
Exploring Operation: 22-20=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 90:[88, 2] Operation: 22-20=2
Moving to Node #0,1,1
Current State: 90:[88, 2], Operations: ['80/4=20', '22-20=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[4, 80, 88, 22], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [88, 22, 20]
Generated Node #0,1: 90:[88, 22, 20] Operation: 80/4=20
Moving to Node #0,1
Current State: 90:[88, 22, 20], Operations: ['80/4=20']
Exploring Operation: 22-20=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 90:[88, 2] Operation: 22-20=2
Moving to Node #0,1,1
Current State: 90:[88, 2], Operations: ['80/4=20', '22-20=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.986111
|
hs_2
|
mult_heuristic
|
[
61,
87,
17,
38
] | 29
|
[
"87-61=26",
"17+38=55",
"55-26=29"
] |
Current State: 29:[61, 87, 17, 38], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [17, 38, 26]
Generated Node #2: [17, 38, 26] from Operation: 87-61=26
Current State: 29:[17, 38, 26], Operations: ['87-61=26']
Exploring Operation: 17+38=55, Resulting Numbers: [26, 55]
Generated Node #3: [26, 55] from Operation: 17+38=55
Current State: 29:[26, 55], Operations: ['87-61=26', '17+38=55']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[61, 87, 17, 38], Operations: []
Exploring Operation: 61-38=23, Resulting Numbers: [87, 17, 23]
Generated Node #0,0: 29:[87, 17, 23] Operation: 61-38=23
Exploring Operation: 87-38=49, Resulting Numbers: [61, 17, 49]
Generated Node #0,1: 29:[61, 17, 49] Operation: 87-38=49
Exploring Operation: 87-61=26, Resulting Numbers: [17, 38, 26]
Generated Node #0,2: 29:[17, 38, 26] Operation: 87-61=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[17, 38, 26], Operations: ['87-61=26']
Exploring Operation: 38-17=21, Resulting Numbers: [26, 21]
Generated Node #0,2,0: 29:[26, 21] Operation: 38-17=21
Exploring Operation: 17+26=43, Resulting Numbers: [38, 43]
Generated Node #0,2,1: 29:[38, 43] Operation: 17+26=43
Exploring Operation: 17+38=55, Resulting Numbers: [26, 55]
Generated Node #0,2,2: 29:[26, 55] Operation: 17+38=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[26, 21], Operations: ['87-61=26', '38-17=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,29 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,29 unequal: No Solution
No 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: 29:[38, 43], Operations: ['87-61=26', '17+26=43']
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,29 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,29 unequal: No Solution
No 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: 29:[26, 55], Operations: ['87-61=26', '17+38=55']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[61, 87, 17, 38], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [17, 38, 26]
Generated Node #0,2: 29:[17, 38, 26] Operation: 87-61=26
Moving to Node #0,2
Current State: 29:[17, 38, 26], Operations: ['87-61=26']
Exploring Operation: 17+38=55, Resulting Numbers: [26, 55]
Generated Node #0,2,2: 29:[26, 55] Operation: 17+38=55
Moving to Node #0,2,2
Current State: 29:[26, 55], Operations: ['87-61=26', '17+38=55']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243
|
hs_3
|
mult_heuristic
|
[
9,
54,
55,
37
] | 63
|
[
"54-9=45",
"55-37=18",
"45+18=63"
] |
Current State: 63:[9, 54, 55, 37], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [55, 37, 45]
Generated Node #2: [55, 37, 45] from Operation: 54-9=45
Current State: 63:[55, 37, 45], Operations: ['54-9=45']
Exploring Operation: 55-37=18, Resulting Numbers: [45, 18]
Generated Node #3: [45, 18] from Operation: 55-37=18
Current State: 63:[45, 18], Operations: ['54-9=45', '55-37=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[9, 54, 55, 37], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [9, 54, 18]
Generated Node #0,0: 63:[9, 54, 18] Operation: 55-37=18
Exploring Operation: 55-54=1, Resulting Numbers: [9, 37, 1]
Generated Node #0,1: 63:[9, 37, 1] Operation: 55-54=1
Exploring Operation: 54-37=17, Resulting Numbers: [9, 55, 17]
Generated Node #0,2: 63:[9, 55, 17] Operation: 54-37=17
Exploring Operation: 9+54=63, Resulting Numbers: [55, 37, 63]
Generated Node #0,3: 63:[55, 37, 63] Operation: 9+54=63
Moving to Node #0,0
Current State: 63:[9, 54, 18], Operations: ['55-37=18']
Exploring Operation: 9+54=63, Resulting Numbers: [18, 63]
Generated Node #0,0,0: 63:[18, 63] Operation: 9+54=63
Exploring Operation: 54/9=6, Resulting Numbers: [18, 6]
Generated Node #0,0,1: 63:[18, 6] Operation: 54/9=6
Exploring Operation: 54/18=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 63:[9, 3] Operation: 54/18=3
Exploring Operation: 18-9=9, Resulting Numbers: [54, 9]
Generated Node #0,0,3: 63:[54, 9] Operation: 18-9=9
Moving to Node #0,2
Current State: 63:[9, 55, 17], Operations: ['54-37=17']
Exploring Operation: 55+17=72, Resulting Numbers: [9, 72]
Generated Node #0,2,0: 63:[9, 72] Operation: 55+17=72
Exploring Operation: 9+55=64, Resulting Numbers: [17, 64]
Generated Node #0,2,1: 63:[17, 64] Operation: 9+55=64
Exploring Operation: 9+17=26, Resulting Numbers: [55, 26]
Generated Node #0,2,2: 63:[55, 26] Operation: 9+17=26
Exploring Operation: 17-9=8, Resulting Numbers: [55, 8]
Generated Node #0,2,3: 63:[55, 8] Operation: 17-9=8
Moving to Node #0,1
Current State: 63:[9, 37, 1], Operations: ['55-54=1']
Exploring Operation: 9/1=9, Resulting Numbers: [37, 9]
Generated Node #0,1,0: 63:[37, 9] Operation: 9/1=9
Exploring Operation: 37-1=36, Resulting Numbers: [9, 36]
Generated Node #0,1,1: 63:[9, 36] Operation: 37-1=36
Exploring Operation: 37-9=28, Resulting Numbers: [1, 28]
Generated Node #0,1,2: 63:[1, 28] Operation: 37-9=28
Exploring Operation: 9*1=9, Resulting Numbers: [37, 9]
Generated Node #0,1,3: 63:[37, 9] Operation: 9*1=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[1, 28], Operations: ['55-54=1', '37-9=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,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,1
Current State: 63:[9, 36], Operations: ['55-54=1', '37-1=36']
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,63 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,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:[37, 9], Operations: ['55-54=1', '9/1=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,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,3
Current State: 63:[37, 9], Operations: ['55-54=1', '9*1=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,63 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,63 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: 63:[55, 37, 63], Operations: ['9+54=63']
Exploring Operation: 55-37=18, Resulting Numbers: [63, 18]
Generated Node #0,3,0: 63:[63, 18] Operation: 55-37=18
Exploring Operation: 63-55=8, Resulting Numbers: [37, 8]
Generated Node #0,3,1: 63:[37, 8] Operation: 63-55=8
Exploring Operation: 55+37=92, Resulting Numbers: [63, 92]
Generated Node #0,3,2: 63:[63, 92] Operation: 55+37=92
Exploring Operation: 63-37=26, Resulting Numbers: [55, 26]
Generated Node #0,3,3: 63:[55, 26] Operation: 63-37=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[63, 18], Operations: ['9+54=63', '55-37=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,63 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,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,3,3
Current State: 63:[55, 26], Operations: ['9+54=63', '63-37=26']
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,63 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,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,3,1
Current State: 63:[37, 8], Operations: ['9+54=63', '63-55=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,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,3,2
Current State: 63:[63, 92], Operations: ['9+54=63', '55+37=92']
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,63 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 63:[9, 3], Operations: ['55-37=18', '54/18=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[18, 63], Operations: ['55-37=18', '9+54=63']
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,63 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[18, 6], Operations: ['55-37=18', '54/9=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,63 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[17, 64], Operations: ['54-37=17', '9+55=64']
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,63 unequal: No Solution
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[9, 72], Operations: ['54-37=17', '55+17=72']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[9, 54, 55, 37], Operations: []
Exploring Operation: 54-37=17, Resulting Numbers: [9, 55, 17]
Generated Node #0,2: 63:[9, 55, 17] Operation: 54-37=17
Moving to Node #0,2
Current State: 63:[9, 55, 17], Operations: ['54-37=17']
Exploring Operation: 55+17=72, Resulting Numbers: [9, 72]
Generated Node #0,2,0: 63:[9, 72] Operation: 55+17=72
Moving to Node #0,2,0
Current State: 63:[9, 72], Operations: ['54-37=17', '55+17=72']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.942708
|
hs_4
|
mult_heuristic
|
[
33,
62,
39,
47
] | 87
|
[
"33+62=95",
"47-39=8",
"95-8=87"
] |
Current State: 87:[33, 62, 39, 47], Operations: []
Exploring Operation: 33+62=95, Resulting Numbers: [39, 47, 95]
Generated Node #2: [39, 47, 95] from Operation: 33+62=95
Current State: 87:[39, 47, 95], Operations: ['33+62=95']
Exploring Operation: 47-39=8, Resulting Numbers: [95, 8]
Generated Node #3: [95, 8] from Operation: 47-39=8
Current State: 87:[95, 8], Operations: ['33+62=95', '47-39=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[33, 62, 39, 47], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [33, 39, 15]
Generated Node #0,0: 87:[33, 39, 15] Operation: 62-47=15
Moving to Node #0,0
Current State: 87:[33, 39, 15], Operations: ['62-47=15']
Exploring Operation: 39-15=24, Resulting Numbers: [33, 24]
Generated Node #0,0,0: 87:[33, 24] Operation: 39-15=24
Moving to Node #0,0,0
Current State: 87:[33, 24], Operations: ['62-47=15', '39-15=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,87 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
4,
24,
86,
35
] | 93
|
[
"4+24=28",
"86+35=121",
"121-28=93"
] |
Current State: 93:[4, 24, 86, 35], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [86, 35, 28]
Generated Node #2: [86, 35, 28] from Operation: 4+24=28
Current State: 93:[86, 35, 28], Operations: ['4+24=28']
Exploring Operation: 86+35=121, Resulting Numbers: [28, 121]
Generated Node #3: [28, 121] from Operation: 86+35=121
Current State: 93:[28, 121], Operations: ['4+24=28', '86+35=121']
Exploring Operation: 121-28=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[4, 24, 86, 35], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [86, 35, 28]
Generated Node #0,0: 93:[86, 35, 28] Operation: 4+24=28
Exploring Operation: 24/4=6, Resulting Numbers: [86, 35, 6]
Generated Node #0,1: 93:[86, 35, 6] Operation: 24/4=6
Exploring Operation: 4*24=96, Resulting Numbers: [86, 35, 96]
Generated Node #0,2: 93:[86, 35, 96] Operation: 4*24=96
Moving to Node #0,0
Current State: 93:[86, 35, 28], Operations: ['4+24=28']
Exploring Operation: 35-28=7, Resulting Numbers: [86, 7]
Generated Node #0,0,0: 93:[86, 7] Operation: 35-28=7
Exploring Operation: 86-35=51, Resulting Numbers: [28, 51]
Generated Node #0,0,1: 93:[28, 51] Operation: 86-35=51
Exploring Operation: 86+28=114, Resulting Numbers: [35, 114]
Generated Node #0,0,2: 93:[35, 114] Operation: 86+28=114
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[86, 7], Operations: ['4+24=28', '35-28=7']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,93 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,93 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[4, 24, 86, 35], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [86, 35, 28]
Generated Node #0,0: 93:[86, 35, 28] Operation: 4+24=28
Moving to Node #0,0
Current State: 93:[86, 35, 28], Operations: ['4+24=28']
Exploring Operation: 35-28=7, Resulting Numbers: [86, 7]
Generated Node #0,0,0: 93:[86, 7] Operation: 35-28=7
Moving to Node #0,0,0
Current State: 93:[86, 7], Operations: ['4+24=28', '35-28=7']
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
21,
7,
35,
8
] | 46
|
[
"21/7=3",
"35+8=43",
"3+43=46"
] |
Current State: 46:[21, 7, 35, 8], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [35, 8, 3]
Generated Node #2: [35, 8, 3] from Operation: 21/7=3
Current State: 46:[35, 8, 3], Operations: ['21/7=3']
Exploring Operation: 35+8=43, Resulting Numbers: [3, 43]
Generated Node #3: [3, 43] from Operation: 35+8=43
Current State: 46:[3, 43], Operations: ['21/7=3', '35+8=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[21, 7, 35, 8], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [21, 8, 5]
Generated Node #0,0: 46:[21, 8, 5] Operation: 35/7=5
Exploring Operation: 7+35=42, Resulting Numbers: [21, 8, 42]
Generated Node #0,1: 46:[21, 8, 42] Operation: 7+35=42
Exploring Operation: 35+8=43, Resulting Numbers: [21, 7, 43]
Generated Node #0,2: 46:[21, 7, 43] Operation: 35+8=43
Exploring Operation: 35-8=27, Resulting Numbers: [21, 7, 27]
Generated Node #0,3: 46:[21, 7, 27] Operation: 35-8=27
Exploring Operation: 35-7=28, Resulting Numbers: [21, 8, 28]
Generated Node #0,4: 46:[21, 8, 28] Operation: 35-7=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[21, 7, 43], Operations: ['35+8=43']
Exploring Operation: 21+7=28, Resulting Numbers: [43, 28]
Generated Node #0,2,0: 46:[43, 28] Operation: 21+7=28
Exploring Operation: 7+43=50, Resulting Numbers: [21, 50]
Generated Node #0,2,1: 46:[21, 50] Operation: 7+43=50
Exploring Operation: 43-21=22, Resulting Numbers: [7, 22]
Generated Node #0,2,2: 46:[7, 22] Operation: 43-21=22
Exploring Operation: 21/7=3, Resulting Numbers: [43, 3]
Generated Node #0,2,3: 46:[43, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [43, 14]
Generated Node #0,2,4: 46:[43, 14] Operation: 21-7=14
Moving to Node #0,2,3
Current State: 46:[43, 3], Operations: ['35+8=43', '21/7=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[21, 7, 35, 8], Operations: []
Exploring Operation: 35+8=43, Resulting Numbers: [21, 7, 43]
Generated Node #0,2: 46:[21, 7, 43] Operation: 35+8=43
Moving to Node #0,2
Current State: 46:[21, 7, 43], Operations: ['35+8=43']
Exploring Operation: 21/7=3, Resulting Numbers: [43, 3]
Generated Node #0,2,3: 46:[43, 3] Operation: 21/7=3
Moving to Node #0,2,3
Current State: 46:[43, 3], Operations: ['35+8=43', '21/7=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
mult_heuristic
|
[
26,
11,
29,
13
] | 58
|
[
"26-11=15",
"15-13=2",
"29*2=58"
] |
Current State: 58:[26, 11, 29, 13], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [29, 13, 15]
Generated Node #2: [29, 13, 15] from Operation: 26-11=15
Current State: 58:[29, 13, 15], Operations: ['26-11=15']
Exploring Operation: 15-13=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 15-13=2
Current State: 58:[29, 2], Operations: ['26-11=15', '15-13=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[26, 11, 29, 13], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [26, 29, 2]
Generated Node #0,0: 58:[26, 29, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [26, 29, 24]
Generated Node #0,1: 58:[26, 29, 24] Operation: 11+13=24
Exploring Operation: 26/13=2, Resulting Numbers: [11, 29, 2]
Generated Node #0,2: 58:[11, 29, 2] Operation: 26/13=2
Exploring Operation: 26+11=37, Resulting Numbers: [29, 13, 37]
Generated Node #0,3: 58:[29, 13, 37] Operation: 26+11=37
Exploring Operation: 26+13=39, Resulting Numbers: [11, 29, 39]
Generated Node #0,4: 58:[11, 29, 39] Operation: 26+13=39
Moving to Node #0,0
Current State: 58:[26, 29, 2], Operations: ['13-11=2']
Exploring Operation: 26+2=28, Resulting Numbers: [29, 28]
Generated Node #0,0,0: 58:[29, 28] Operation: 26+2=28
Exploring Operation: 26+29=55, Resulting Numbers: [2, 55]
Generated Node #0,0,1: 58:[2, 55] Operation: 26+29=55
Exploring Operation: 26-2=24, Resulting Numbers: [29, 24]
Generated Node #0,0,2: 58:[29, 24] Operation: 26-2=24
Exploring Operation: 29-26=3, Resulting Numbers: [2, 3]
Generated Node #0,0,3: 58:[2, 3] Operation: 29-26=3
Exploring Operation: 29*2=58, Resulting Numbers: [26, 58]
Generated Node #0,0,4: 58:[26, 58] Operation: 29*2=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 28], Operations: ['13-11=2', '26+2=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,58 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,58 unequal: No Solution
No 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: 58:[2, 3], Operations: ['13-11=2', '29-26=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,58 unequal: No Solution
No 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: 58:[2, 55], Operations: ['13-11=2', '26+29=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,58 unequal: No Solution
No 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: 58:[26, 58], Operations: ['13-11=2', '29*2=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,58 unequal: No Solution
No 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: 58:[29, 24], Operations: ['13-11=2', '26-2=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,58 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: 58:[26, 29, 24], Operations: ['11+13=24']
Exploring Operation: 26+24=50, Resulting Numbers: [29, 50]
Generated Node #0,1,0: 58:[29, 50] Operation: 26+24=50
Exploring Operation: 26-24=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 58:[29, 2] Operation: 26-24=2
Exploring Operation: 29-26=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 58:[24, 3] Operation: 29-26=3
Exploring Operation: 26+29=55, Resulting Numbers: [24, 55]
Generated Node #0,1,3: 58:[24, 55] Operation: 26+29=55
Exploring Operation: 29-24=5, Resulting Numbers: [26, 5]
Generated Node #0,1,4: 58:[26, 5] Operation: 29-24=5
Moving to Node #0,2
Current State: 58:[11, 29, 2], Operations: ['26/13=2']
Exploring Operation: 11+29=40, Resulting Numbers: [2, 40]
Generated Node #0,2,0: 58:[2, 40] Operation: 11+29=40
Exploring Operation: 11*2=22, Resulting Numbers: [29, 22]
Generated Node #0,2,1: 58:[29, 22] Operation: 11*2=22
Exploring Operation: 29-11=18, Resulting Numbers: [2, 18]
Generated Node #0,2,2: 58:[2, 18] Operation: 29-11=18
Exploring Operation: 11-2=9, Resulting Numbers: [29, 9]
Generated Node #0,2,3: 58:[29, 9] Operation: 11-2=9
Exploring Operation: 29*2=58, Resulting Numbers: [11, 58]
Generated Node #0,2,4: 58:[11, 58] Operation: 29*2=58
Moving to Node #0,3
Current State: 58:[29, 13, 37], Operations: ['26+11=37']
Exploring Operation: 29+13=42, Resulting Numbers: [37, 42]
Generated Node #0,3,0: 58:[37, 42] Operation: 29+13=42
Exploring Operation: 13+37=50, Resulting Numbers: [29, 50]
Generated Node #0,3,1: 58:[29, 50] Operation: 13+37=50
Exploring Operation: 29+37=66, Resulting Numbers: [13, 66]
Generated Node #0,3,2: 58:[13, 66] Operation: 29+37=66
Exploring Operation: 37-13=24, Resulting Numbers: [29, 24]
Generated Node #0,3,3: 58:[29, 24] Operation: 37-13=24
Exploring Operation: 37-29=8, Resulting Numbers: [13, 8]
Generated Node #0,3,4: 58:[13, 8] Operation: 37-29=8
Moving to Node #0,4
Current State: 58:[11, 29, 39], Operations: ['26+13=39']
Exploring Operation: 39-11=28, Resulting Numbers: [29, 28]
Generated Node #0,4,0: 58:[29, 28] Operation: 39-11=28
Exploring Operation: 11+39=50, Resulting Numbers: [29, 50]
Generated Node #0,4,1: 58:[29, 50] Operation: 11+39=50
Exploring Operation: 29+39=68, Resulting Numbers: [11, 68]
Generated Node #0,4,2: 58:[11, 68] Operation: 29+39=68
Exploring Operation: 11+29=40, Resulting Numbers: [39, 40]
Generated Node #0,4,3: 58:[39, 40] Operation: 11+29=40
Exploring Operation: 39-29=10, Resulting Numbers: [11, 10]
Generated Node #0,4,4: 58:[11, 10] Operation: 39-29=10
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 58:[29, 28], Operations: ['26+13=39', '39-11=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,58 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,58 unequal: No Solution
No 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: 58:[29, 50], Operations: ['26+13=39', '11+39=50']
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,58 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,58 unequal: No Solution
No 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: 58:[11, 10], Operations: ['26+13=39', '39-29=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 58:[11, 68], Operations: ['26+13=39', '29+39=68']
Exploring Operation: 11*68=748, Resulting Numbers: [748]
748,58 unequal: No Solution
Exploring Operation: 11+68=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,58 unequal: No Solution
No 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: 58:[39, 40], Operations: ['26+13=39', '11+29=40']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 58:[29, 2], Operations: ['11+13=24', '26-24=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[26, 11, 29, 13], Operations: []
Exploring Operation: 11+13=24, Resulting Numbers: [26, 29, 24]
Generated Node #0,1: 58:[26, 29, 24] Operation: 11+13=24
Moving to Node #0,1
Current State: 58:[26, 29, 24], Operations: ['11+13=24']
Exploring Operation: 26-24=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 58:[29, 2] Operation: 26-24=2
Moving to Node #0,1,1
Current State: 58:[29, 2], Operations: ['11+13=24', '26-24=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.94184
|
hs_5
|
sum_heuristic
|
[
7,
32,
94,
50
] | 32
|
[
"32+94=126",
"126/7=18",
"50-18=32"
] |
Current State: 32:[7, 32, 94, 50], Operations: []
Exploring Operation: 32+94=126, Resulting Numbers: [7, 50, 126]
Generated Node #2: [7, 50, 126] from Operation: 32+94=126
Current State: 32:[7, 50, 126], Operations: ['32+94=126']
Exploring Operation: 126/7=18, Resulting Numbers: [50, 18]
Generated Node #3: [50, 18] from Operation: 126/7=18
Current State: 32:[50, 18], Operations: ['32+94=126', '126/7=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[7, 32, 94, 50], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [7, 32, 44]
Generated Node #0,0: 32:[7, 32, 44] Operation: 94-50=44
Exploring Operation: 94-32=62, Resulting Numbers: [7, 50, 62]
Generated Node #0,1: 32:[7, 50, 62] Operation: 94-32=62
Exploring Operation: 50-32=18, Resulting Numbers: [7, 94, 18]
Generated Node #0,2: 32:[7, 94, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[7, 32, 44], Operations: ['94-50=44']
Exploring Operation: 44-7=37, Resulting Numbers: [32, 37]
Generated Node #0,0,0: 32:[32, 37] Operation: 44-7=37
Exploring Operation: 7+32=39, Resulting Numbers: [44, 39]
Generated Node #0,0,1: 32:[44, 39] Operation: 7+32=39
Exploring Operation: 44-32=12, Resulting Numbers: [7, 12]
Generated Node #0,0,2: 32:[7, 12] Operation: 44-32=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[32, 37], Operations: ['94-50=44', '44-7=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,32 unequal: No Solution
No 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: 32:[7, 12], Operations: ['94-50=44', '44-32=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,32 unequal: No Solution
No 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: 32:[44, 39], Operations: ['94-50=44', '7+32=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,32 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,32 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,32 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: 32:[7, 50, 62], Operations: ['94-32=62']
Exploring Operation: 62-7=55, Resulting Numbers: [50, 55]
Generated Node #0,1,0: 32:[50, 55] Operation: 62-7=55
Exploring Operation: 62-50=12, Resulting Numbers: [7, 12]
Generated Node #0,1,1: 32:[7, 12] Operation: 62-50=12
Exploring Operation: 50-7=43, Resulting Numbers: [62, 43]
Generated Node #0,1,2: 32:[62, 43] Operation: 50-7=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[7, 12], Operations: ['94-32=62', '62-50=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No 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: 32:[50, 55], Operations: ['94-32=62', '62-7=55']
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,32 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,32 unequal: No Solution
No 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: 32:[62, 43], Operations: ['94-32=62', '50-7=43']
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,32 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: 32:[7, 94, 18], Operations: ['50-32=18']
Exploring Operation: 94-7=87, Resulting Numbers: [18, 87]
Generated Node #0,2,0: 32:[18, 87] Operation: 94-7=87
Exploring Operation: 94-18=76, Resulting Numbers: [7, 76]
Generated Node #0,2,1: 32:[7, 76] Operation: 94-18=76
Exploring Operation: 18-7=11, Resulting Numbers: [94, 11]
Generated Node #0,2,2: 32:[94, 11] Operation: 18-7=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[7, 76], Operations: ['50-32=18', '94-18=76']
Exploring Operation: 7*76=532, Resulting Numbers: [532]
532,32 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,32 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,32 unequal: No Solution
No 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: 32:[18, 87], Operations: ['50-32=18', '94-7=87']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 18*87=1566, Resulting Numbers: [1566]
1566,32 unequal: No Solution
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,32 unequal: No Solution
No 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: 32:[94, 11], Operations: ['50-32=18', '18-7=11']
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,32 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,32 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
|
[
72,
2,
97,
28
] | 19
|
[
"72*2=144",
"97+28=125",
"144-125=19"
] |
Current State: 19:[72, 2, 97, 28], Operations: []
Exploring Operation: 72*2=144, Resulting Numbers: [97, 28, 144]
Generated Node #2: [97, 28, 144] from Operation: 72*2=144
Current State: 19:[97, 28, 144], Operations: ['72*2=144']
Exploring Operation: 97+28=125, Resulting Numbers: [144, 125]
Generated Node #3: [144, 125] from Operation: 97+28=125
Current State: 19:[144, 125], Operations: ['72*2=144', '97+28=125']
Exploring Operation: 144-125=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[72, 2, 97, 28], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [2, 28, 25]
Generated Node #0,0: 19:[2, 28, 25] Operation: 97-72=25
Exploring Operation: 28/2=14, Resulting Numbers: [72, 97, 14]
Generated Node #0,1: 19:[72, 97, 14] Operation: 28/2=14
Exploring Operation: 72/2=36, Resulting Numbers: [97, 28, 36]
Generated Node #0,2: 19:[97, 28, 36] Operation: 72/2=36
Exploring Operation: 97-28=69, Resulting Numbers: [72, 2, 69]
Generated Node #0,3: 19:[72, 2, 69] Operation: 97-28=69
Exploring Operation: 72-28=44, Resulting Numbers: [2, 97, 44]
Generated Node #0,4: 19:[2, 97, 44] Operation: 72-28=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[2, 28, 25], Operations: ['97-72=25']
Exploring Operation: 28/2=14, Resulting Numbers: [25, 14]
Generated Node #0,0,0: 19:[25, 14] Operation: 28/2=14
Exploring Operation: 25-2=23, Resulting Numbers: [28, 23]
Generated Node #0,0,1: 19:[28, 23] Operation: 25-2=23
Exploring Operation: 2+28=30, Resulting Numbers: [25, 30]
Generated Node #0,0,2: 19:[25, 30] Operation: 2+28=30
Exploring Operation: 28-2=26, Resulting Numbers: [25, 26]
Generated Node #0,0,3: 19:[25, 26] Operation: 28-2=26
Exploring Operation: 2+25=27, Resulting Numbers: [28, 27]
Generated Node #0,0,4: 19:[28, 27] Operation: 2+25=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[25, 14], Operations: ['97-72=25', '28/2=14']
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,19 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[28, 23], Operations: ['97-72=25', '25-2=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,19 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[25, 26], Operations: ['97-72=25', '28-2=26']
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[25, 30], Operations: ['97-72=25', '2+28=30']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 19:[28, 27], Operations: ['97-72=25', '2+25=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[97, 28, 36], Operations: ['72/2=36']
Exploring Operation: 97+36=133, Resulting Numbers: [28, 133]
Generated Node #0,2,0: 19:[28, 133] Operation: 97+36=133
Exploring Operation: 36-28=8, Resulting Numbers: [97, 8]
Generated Node #0,2,1: 19:[97, 8] Operation: 36-28=8
Exploring Operation: 97-28=69, Resulting Numbers: [36, 69]
Generated Node #0,2,2: 19:[36, 69] Operation: 97-28=69
Exploring Operation: 97+28=125, Resulting Numbers: [36, 125]
Generated Node #0,2,3: 19:[36, 125] Operation: 97+28=125
Exploring Operation: 97-36=61, Resulting Numbers: [28, 61]
Generated Node #0,2,4: 19:[28, 61] Operation: 97-36=61
Moving to Node #0,2,4
Current State: 19:[28, 61], Operations: ['72/2=36', '97-36=61']
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,19 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[36, 69], Operations: ['72/2=36', '97-28=69']
Exploring Operation: 36+69=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 36*69=2484, Resulting Numbers: [2484]
2484,19 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[97, 8], Operations: ['72/2=36', '36-28=8']
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,19 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[28, 133], Operations: ['72/2=36', '97+36=133']
Exploring Operation: 28*133=3724, Resulting Numbers: [3724]
3724,19 unequal: No Solution
Exploring Operation: 133-28=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 28+133=161, Resulting Numbers: [161]
161,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[36, 125], Operations: ['72/2=36', '97+28=125']
Exploring Operation: 125-36=89, Resulting Numbers: [89]
89,19 unequal: No Solution
Exploring Operation: 36*125=4500, Resulting Numbers: [4500]
4500,19 unequal: No Solution
Exploring Operation: 36+125=161, Resulting Numbers: [161]
161,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,3
Current State: 19:[72, 2, 69], Operations: ['97-28=69']
Exploring Operation: 72-2=70, Resulting Numbers: [69, 70]
Generated Node #0,3,0: 19:[69, 70] Operation: 72-2=70
Exploring Operation: 72-69=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 19:[2, 3] Operation: 72-69=3
Exploring Operation: 72/2=36, Resulting Numbers: [69, 36]
Generated Node #0,3,2: 19:[69, 36] Operation: 72/2=36
Exploring Operation: 69-2=67, Resulting Numbers: [72, 67]
Generated Node #0,3,3: 19:[72, 67] Operation: 69-2=67
Exploring Operation: 72+2=74, Resulting Numbers: [69, 74]
Generated Node #0,3,4: 19:[69, 74] Operation: 72+2=74
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[2, 3], Operations: ['97-28=69', '72-69=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[69, 36], Operations: ['97-28=69', '72/2=36']
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[69, 70], Operations: ['97-28=69', '72-2=70']
Exploring Operation: 70-69=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 69+70=139, Resulting Numbers: [139]
139,19 unequal: No Solution
Exploring Operation: 69*70=4830, Resulting Numbers: [4830]
4830,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[72, 67], Operations: ['97-28=69', '69-2=67']
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 72*67=4824, Resulting Numbers: [4824]
4824,19 unequal: No Solution
Exploring Operation: 72+67=139, Resulting Numbers: [139]
139,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 19:[69, 74], Operations: ['97-28=69', '72+2=74']
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,19 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,19 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[2, 97, 44], Operations: ['72-28=44']
Exploring Operation: 97-2=95, Resulting Numbers: [44, 95]
Generated Node #0,4,0: 19:[44, 95] Operation: 97-2=95
Exploring Operation: 97-44=53, Resulting Numbers: [2, 53]
Generated Node #0,4,1: 19:[2, 53] Operation: 97-44=53
Exploring Operation: 2+97=99, Resulting Numbers: [44, 99]
Generated Node #0,4,2: 19:[44, 99] Operation: 2+97=99
Exploring Operation: 44-2=42, Resulting Numbers: [97, 42]
Generated Node #0,4,3: 19:[97, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [97, 22]
Generated Node #0,4,4: 19:[97, 22] Operation: 44/2=22
Moving to Node #0,4,1
Current State: 19:[2, 53], Operations: ['72-28=44', '97-44=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,19 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[97, 22], Operations: ['72-28=44', '44/2=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,19 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[44, 95], Operations: ['72-28=44', '97-2=95']
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,19 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 44*95=4180, Resulting Numbers: [4180]
4180,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[97, 42], Operations: ['72-28=44', '44-2=42']
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 97*42=4074, Resulting Numbers: [4074]
4074,19 unequal: No Solution
Exploring Operation: 97+42=139, Resulting Numbers: [139]
139,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[44, 99], Operations: ['72-28=44', '2+97=99']
Exploring Operation: 44+99=143, Resulting Numbers: [143]
143,19 unequal: No Solution
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 44*99=4356, Resulting Numbers: [4356]
4356,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[72, 97, 14], Operations: ['28/2=14']
Exploring Operation: 97-72=25, Resulting Numbers: [14, 25]
Generated Node #0,1,0: 19:[14, 25] Operation: 97-72=25
Exploring Operation: 72+14=86, Resulting Numbers: [97, 86]
Generated Node #0,1,1: 19:[97, 86] Operation: 72+14=86
Exploring Operation: 97+14=111, Resulting Numbers: [72, 111]
Generated Node #0,1,2: 19:[72, 111] Operation: 97+14=111
Exploring Operation: 97-14=83, Resulting Numbers: [72, 83]
Generated Node #0,1,3: 19:[72, 83] Operation: 97-14=83
Exploring Operation: 72-14=58, Resulting Numbers: [97, 58]
Generated Node #0,1,4: 19:[97, 58] Operation: 72-14=58
Moving to Node #0,1,0
Current State: 19:[14, 25], Operations: ['28/2=14', '97-72=25']
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,19 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[97, 58], Operations: ['28/2=14', '72-14=58']
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 97*58=5626, Resulting Numbers: [5626]
5626,19 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[72, 83], Operations: ['28/2=14', '97-14=83']
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,19 unequal: No Solution
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,19 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[97, 86], Operations: ['28/2=14', '72+14=86']
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 97*86=8342, Resulting Numbers: [8342]
8342,19 unequal: No Solution
Exploring Operation: 97+86=183, Resulting Numbers: [183]
183,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[72, 111], Operations: ['28/2=14', '97+14=111']
Exploring Operation: 111-72=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 72*111=7992, Resulting Numbers: [7992]
7992,19 unequal: No Solution
Exploring Operation: 72+111=183, Resulting Numbers: [183]
183,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
17,
35,
68,
99
] | 20
|
[
"68-35=33",
"99/33=3",
"17+3=20"
] |
Current State: 20:[17, 35, 68, 99], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [17, 99, 33]
Generated Node #2: [17, 99, 33] from Operation: 68-35=33
Current State: 20:[17, 99, 33], Operations: ['68-35=33']
Exploring Operation: 99/33=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 99/33=3
Current State: 20:[17, 3], Operations: ['68-35=33', '99/33=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[17, 35, 68, 99], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [35, 99, 4]
Generated Node #0,0: 20:[35, 99, 4] Operation: 68/17=4
Exploring Operation: 68-35=33, Resulting Numbers: [17, 99, 33]
Generated Node #0,1: 20:[17, 99, 33] Operation: 68-35=33
Exploring Operation: 99-68=31, Resulting Numbers: [17, 35, 31]
Generated Node #0,2: 20:[17, 35, 31] Operation: 99-68=31
Exploring Operation: 68-17=51, Resulting Numbers: [35, 99, 51]
Generated Node #0,3: 20:[35, 99, 51] Operation: 68-17=51
Exploring Operation: 99-35=64, Resulting Numbers: [17, 68, 64]
Generated Node #0,4: 20:[17, 68, 64] Operation: 99-35=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[17, 35, 31], Operations: ['99-68=31']
Exploring Operation: 17+35=52, Resulting Numbers: [31, 52]
Generated Node #0,2,0: 20:[31, 52] Operation: 17+35=52
Exploring Operation: 35-17=18, Resulting Numbers: [31, 18]
Generated Node #0,2,1: 20:[31, 18] Operation: 35-17=18
Exploring Operation: 17+31=48, Resulting Numbers: [35, 48]
Generated Node #0,2,2: 20:[35, 48] Operation: 17+31=48
Exploring Operation: 35-31=4, Resulting Numbers: [17, 4]
Generated Node #0,2,3: 20:[17, 4] Operation: 35-31=4
Exploring Operation: 31-17=14, Resulting Numbers: [35, 14]
Generated Node #0,2,4: 20:[35, 14] Operation: 31-17=14
Moving to Node #0,2,3
Current State: 20:[17, 4], Operations: ['99-68=31', '35-31=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[31, 18], Operations: ['99-68=31', '35-17=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,20 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[35, 14], Operations: ['99-68=31', '31-17=14']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,20 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[31, 52], Operations: ['99-68=31', '17+35=52']
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,20 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[35, 48], Operations: ['99-68=31', '17+31=48']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,20 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[35, 99, 4], Operations: ['68/17=4']
Exploring Operation: 99-35=64, Resulting Numbers: [4, 64]
Generated Node #0,0,0: 20:[4, 64] Operation: 99-35=64
Exploring Operation: 35-4=31, Resulting Numbers: [99, 31]
Generated Node #0,0,1: 20:[99, 31] Operation: 35-4=31
Exploring Operation: 99+4=103, Resulting Numbers: [35, 103]
Generated Node #0,0,2: 20:[35, 103] Operation: 99+4=103
Exploring Operation: 35+4=39, Resulting Numbers: [99, 39]
Generated Node #0,0,3: 20:[99, 39] Operation: 35+4=39
Exploring Operation: 99-4=95, Resulting Numbers: [35, 95]
Generated Node #0,0,4: 20:[35, 95] Operation: 99-4=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[4, 64], Operations: ['68/17=4', '99-35=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,20 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[99, 31], Operations: ['68/17=4', '35-4=31']
Exploring Operation: 99*31=3069, Resulting Numbers: [3069]
3069,20 unequal: No Solution
Exploring Operation: 99+31=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 20:[35, 95], Operations: ['68/17=4', '99-4=95']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,20 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[35, 103], Operations: ['68/17=4', '99+4=103']
Exploring Operation: 35+103=138, Resulting Numbers: [138]
138,20 unequal: No Solution
Exploring Operation: 35*103=3605, Resulting Numbers: [3605]
3605,20 unequal: No Solution
Exploring Operation: 103-35=68, Resulting Numbers: [68]
68,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[99, 39], Operations: ['68/17=4', '35+4=39']
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 99*39=3861, Resulting Numbers: [3861]
3861,20 unequal: No Solution
Exploring Operation: 99+39=138, Resulting Numbers: [138]
138,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[17, 99, 33], Operations: ['68-35=33']
Exploring Operation: 99/33=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 20:[17, 3] Operation: 99/33=3
Exploring Operation: 17+99=116, Resulting Numbers: [33, 116]
Generated Node #0,1,1: 20:[33, 116] Operation: 17+99=116
Exploring Operation: 33-17=16, Resulting Numbers: [99, 16]
Generated Node #0,1,2: 20:[99, 16] Operation: 33-17=16
Exploring Operation: 99-33=66, Resulting Numbers: [17, 66]
Generated Node #0,1,3: 20:[17, 66] Operation: 99-33=66
Exploring Operation: 99-17=82, Resulting Numbers: [33, 82]
Generated Node #0,1,4: 20:[33, 82] Operation: 99-17=82
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[17, 3], Operations: ['68-35=33', '99/33=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[17, 35, 68, 99], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [17, 99, 33]
Generated Node #0,1: 20:[17, 99, 33] Operation: 68-35=33
Moving to Node #0,1
Current State: 20:[17, 99, 33], Operations: ['68-35=33']
Exploring Operation: 99/33=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 20:[17, 3] Operation: 99/33=3
Moving to Node #0,1,0
Current State: 20:[17, 3], Operations: ['68-35=33', '99/33=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389
|
hs_5
|
sum_heuristic
|
[
1,
29,
2,
26
] | 82
|
[
"1+29=30",
"2*26=52",
"30+52=82"
] |
Current State: 82:[1, 29, 2, 26], Operations: []
Exploring Operation: 1+29=30, Resulting Numbers: [2, 26, 30]
Generated Node #2: [2, 26, 30] from Operation: 1+29=30
Current State: 82:[2, 26, 30], Operations: ['1+29=30']
Exploring Operation: 2*26=52, Resulting Numbers: [30, 52]
Generated Node #3: [30, 52] from Operation: 2*26=52
Current State: 82:[30, 52], Operations: ['1+29=30', '2*26=52']
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[1, 29, 2, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [1, 2, 3]
Generated Node #0,0: 82:[1, 2, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 82:[1, 2, 3], Operations: ['29-26=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 82:[2, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[2, 2], Operations: ['29-26=3', '3-1=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
34,
24,
81,
3
] | 74
|
[
"34-24=10",
"81+3=84",
"84-10=74"
] |
Current State: 74:[34, 24, 81, 3], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [81, 3, 10]
Generated Node #2: [81, 3, 10] from Operation: 34-24=10
Current State: 74:[81, 3, 10], Operations: ['34-24=10']
Exploring Operation: 81+3=84, Resulting Numbers: [10, 84]
Generated Node #3: [10, 84] from Operation: 81+3=84
Current State: 74:[10, 84], Operations: ['34-24=10', '81+3=84']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[34, 24, 81, 3], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [34, 81, 72]
Generated Node #0,0: 74:[34, 81, 72] Operation: 24*3=72
Exploring Operation: 34-24=10, Resulting Numbers: [81, 3, 10]
Generated Node #0,1: 74:[81, 3, 10] Operation: 34-24=10
Exploring Operation: 24/3=8, Resulting Numbers: [34, 81, 8]
Generated Node #0,2: 74:[34, 81, 8] Operation: 24/3=8
Moving to Node #0,0
Current State: 74:[34, 81, 72], Operations: ['24*3=72']
Exploring Operation: 81-34=47, Resulting Numbers: [72, 47]
Generated Node #0,0,0: 74:[72, 47] Operation: 81-34=47
Exploring Operation: 72-34=38, Resulting Numbers: [81, 38]
Generated Node #0,0,1: 74:[81, 38] Operation: 72-34=38
Exploring Operation: 81-72=9, Resulting Numbers: [34, 9]
Generated Node #0,0,2: 74:[34, 9] Operation: 81-72=9
Moving to Node #0,1
Current State: 74:[81, 3, 10], Operations: ['34-24=10']
Exploring Operation: 81-10=71, Resulting Numbers: [3, 71]
Generated Node #0,1,0: 74:[3, 71] Operation: 81-10=71
Exploring Operation: 10-3=7, Resulting Numbers: [81, 7]
Generated Node #0,1,1: 74:[81, 7] Operation: 10-3=7
Exploring Operation: 81-3=78, Resulting Numbers: [10, 78]
Generated Node #0,1,2: 74:[10, 78] Operation: 81-3=78
Moving to Node #0,2
Current State: 74:[34, 81, 8], Operations: ['24/3=8']
Exploring Operation: 81-34=47, Resulting Numbers: [8, 47]
Generated Node #0,2,0: 74:[8, 47] Operation: 81-34=47
Exploring Operation: 34+8=42, Resulting Numbers: [81, 42]
Generated Node #0,2,1: 74:[81, 42] Operation: 34+8=42
Exploring Operation: 81-8=73, Resulting Numbers: [34, 73]
Generated Node #0,2,2: 74:[34, 73] Operation: 81-8=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[34, 73], Operations: ['24/3=8', '81-8=73']
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,74 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[81, 42], Operations: ['24/3=8', '34+8=42']
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,74 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[8, 47], Operations: ['24/3=8', '81-34=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,74 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,74 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: 74:[3, 71], Operations: ['34-24=10', '81-10=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,74 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[34, 24, 81, 3], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [81, 3, 10]
Generated Node #0,1: 74:[81, 3, 10] Operation: 34-24=10
Moving to Node #0,1
Current State: 74:[81, 3, 10], Operations: ['34-24=10']
Exploring Operation: 81-10=71, Resulting Numbers: [3, 71]
Generated Node #0,1,0: 74:[3, 71] Operation: 81-10=71
Moving to Node #0,1,0
Current State: 74:[3, 71], Operations: ['34-24=10', '81-10=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.975694
|
hs_3
|
sum_heuristic
|
[
57,
62,
9,
91
] | 46
|
[
"62-57=5",
"9*5=45",
"91-45=46"
] |
Current State: 46:[57, 62, 9, 91], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [9, 91, 5]
Generated Node #2: [9, 91, 5] from Operation: 62-57=5
Current State: 46:[9, 91, 5], Operations: ['62-57=5']
Exploring Operation: 9*5=45, Resulting Numbers: [91, 45]
Generated Node #3: [91, 45] from Operation: 9*5=45
Current State: 46:[91, 45], Operations: ['62-57=5', '9*5=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[57, 62, 9, 91], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [62, 9, 34]
Generated Node #0,0: 46:[62, 9, 34] Operation: 91-57=34
Exploring Operation: 91-62=29, Resulting Numbers: [57, 9, 29]
Generated Node #0,1: 46:[57, 9, 29] Operation: 91-62=29
Moving to Node #0,1
Current State: 46:[57, 9, 29], Operations: ['91-62=29']
Exploring Operation: 57-9=48, Resulting Numbers: [29, 48]
Generated Node #0,1,0: 46:[29, 48] Operation: 57-9=48
Exploring Operation: 57-29=28, Resulting Numbers: [9, 28]
Generated Node #0,1,1: 46:[9, 28] Operation: 57-29=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[29, 48], Operations: ['91-62=29', '57-9=48']
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[9, 28], Operations: ['91-62=29', '57-29=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 46:[62, 9, 34], Operations: ['91-57=34']
Exploring Operation: 62-9=53, Resulting Numbers: [34, 53]
Generated Node #0,0,0: 46:[34, 53] Operation: 62-9=53
Exploring Operation: 62-34=28, Resulting Numbers: [9, 28]
Generated Node #0,0,1: 46:[9, 28] Operation: 62-34=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[9, 28], Operations: ['91-57=34', '62-34=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,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:[34, 53], Operations: ['91-57=34', '62-9=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,46 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,
92,
94,
65
] | 52
|
[
"39+65=104",
"94-92=2",
"104/2=52"
] |
Current State: 52:[39, 92, 94, 65], Operations: []
Exploring Operation: 39+65=104, Resulting Numbers: [92, 94, 104]
Generated Node #2: [92, 94, 104] from Operation: 39+65=104
Current State: 52:[92, 94, 104], Operations: ['39+65=104']
Exploring Operation: 94-92=2, Resulting Numbers: [104, 2]
Generated Node #3: [104, 2] from Operation: 94-92=2
Current State: 52:[104, 2], Operations: ['39+65=104', '94-92=2']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[39, 92, 94, 65], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [92, 65, 55]
Generated Node #0,0: 52:[92, 65, 55] Operation: 94-39=55
Exploring Operation: 94-92=2, Resulting Numbers: [39, 65, 2]
Generated Node #0,1: 52:[39, 65, 2] Operation: 94-92=2
Exploring Operation: 92-39=53, Resulting Numbers: [94, 65, 53]
Generated Node #0,2: 52:[94, 65, 53] Operation: 92-39=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[39, 65, 2], Operations: ['94-92=2']
Exploring Operation: 65-39=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 52:[2, 26] Operation: 65-39=26
Exploring Operation: 39-2=37, Resulting Numbers: [65, 37]
Generated Node #0,1,1: 52:[65, 37] Operation: 39-2=37
Exploring Operation: 39+2=41, Resulting Numbers: [65, 41]
Generated Node #0,1,2: 52:[65, 41] Operation: 39+2=41
Moving to Node #0,1,0
Current State: 52:[2, 26], Operations: ['94-92=2', '65-39=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[39, 92, 94, 65], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [39, 65, 2]
Generated Node #0,1: 52:[39, 65, 2] Operation: 94-92=2
Moving to Node #0,1
Current State: 52:[39, 65, 2], Operations: ['94-92=2']
Exploring Operation: 65-39=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 52:[2, 26] Operation: 65-39=26
Moving to Node #0,1,0
Current State: 52:[2, 26], Operations: ['94-92=2', '65-39=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
mult_heuristic
|
[
49,
88,
1,
92
] | 54
|
[
"88-49=39",
"1+92=93",
"93-39=54"
] |
Current State: 54:[49, 88, 1, 92], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [1, 92, 39]
Generated Node #2: [1, 92, 39] from Operation: 88-49=39
Current State: 54:[1, 92, 39], Operations: ['88-49=39']
Exploring Operation: 1+92=93, Resulting Numbers: [39, 93]
Generated Node #3: [39, 93] from Operation: 1+92=93
Current State: 54:[39, 93], Operations: ['88-49=39', '1+92=93']
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[49, 88, 1, 92], Operations: []
Exploring Operation: 49+1=50, Resulting Numbers: [88, 92, 50]
Generated Node #0,0: 54:[88, 92, 50] Operation: 49+1=50
Exploring Operation: 92-49=43, Resulting Numbers: [88, 1, 43]
Generated Node #0,1: 54:[88, 1, 43] Operation: 92-49=43
Exploring Operation: 88-49=39, Resulting Numbers: [1, 92, 39]
Generated Node #0,2: 54:[1, 92, 39] Operation: 88-49=39
Exploring Operation: 92-88=4, Resulting Numbers: [49, 1, 4]
Generated Node #0,3: 54:[49, 1, 4] Operation: 92-88=4
Moving to Node #0,3
Current State: 54:[49, 1, 4], Operations: ['92-88=4']
Exploring Operation: 4-1=3, Resulting Numbers: [49, 3]
Generated Node #0,3,0: 54:[49, 3] Operation: 4-1=3
Exploring Operation: 49+4=53, Resulting Numbers: [1, 53]
Generated Node #0,3,1: 54:[1, 53] Operation: 49+4=53
Exploring Operation: 49*1=49, Resulting Numbers: [4, 49]
Generated Node #0,3,2: 54:[4, 49] Operation: 49*1=49
Exploring Operation: 49+1=50, Resulting Numbers: [4, 50]
Generated Node #0,3,3: 54:[4, 50] Operation: 49+1=50
Moving to Node #0,1
Current State: 54:[88, 1, 43], Operations: ['92-49=43']
Exploring Operation: 88-43=45, Resulting Numbers: [1, 45]
Generated Node #0,1,0: 54:[1, 45] Operation: 88-43=45
Exploring Operation: 88*1=88, Resulting Numbers: [43, 88]
Generated Node #0,1,1: 54:[43, 88] Operation: 88*1=88
Exploring Operation: 1+43=44, Resulting Numbers: [88, 44]
Generated Node #0,1,2: 54:[88, 44] Operation: 1+43=44
Exploring Operation: 88-1=87, Resulting Numbers: [43, 87]
Generated Node #0,1,3: 54:[43, 87] Operation: 88-1=87
Moving to Node #0,2
Current State: 54:[1, 92, 39], Operations: ['88-49=39']
Exploring Operation: 39-1=38, Resulting Numbers: [92, 38]
Generated Node #0,2,0: 54:[92, 38] Operation: 39-1=38
Exploring Operation: 1*92=92, Resulting Numbers: [39, 92]
Generated Node #0,2,1: 54:[39, 92] Operation: 1*92=92
Exploring Operation: 92-1=91, Resulting Numbers: [39, 91]
Generated Node #0,2,2: 54:[39, 91] Operation: 92-1=91
Exploring Operation: 92-39=53, Resulting Numbers: [1, 53]
Generated Node #0,2,3: 54:[1, 53] Operation: 92-39=53
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[1, 53], Operations: ['88-49=39', '92-39=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[49, 88, 1, 92], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [1, 92, 39]
Generated Node #0,2: 54:[1, 92, 39] Operation: 88-49=39
Moving to Node #0,2
Current State: 54:[1, 92, 39], Operations: ['88-49=39']
Exploring Operation: 92-39=53, Resulting Numbers: [1, 53]
Generated Node #0,2,3: 54:[1, 53] Operation: 92-39=53
Moving to Node #0,2,3
Current State: 54:[1, 53], Operations: ['88-49=39', '92-39=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167
|
hs_4
|
sum_heuristic
|
[
20,
50,
93,
68
] | 10
|
[
"93-20=73",
"73-68=5",
"50/5=10"
] |
Current State: 10:[20, 50, 93, 68], Operations: []
Exploring Operation: 93-20=73, Resulting Numbers: [50, 68, 73]
Generated Node #2: [50, 68, 73] from Operation: 93-20=73
Current State: 10:[50, 68, 73], Operations: ['93-20=73']
Exploring Operation: 73-68=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 73-68=5
Current State: 10:[50, 5], Operations: ['93-20=73', '73-68=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[20, 50, 93, 68], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [20, 68, 43]
Generated Node #0,0: 10:[20, 68, 43] Operation: 93-50=43
Exploring Operation: 93-68=25, Resulting Numbers: [20, 50, 25]
Generated Node #0,1: 10:[20, 50, 25] Operation: 93-68=25
Moving to Node #0,1
Current State: 10:[20, 50, 25], Operations: ['93-68=25']
Exploring Operation: 50/25=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 10:[20, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [20, 25]
Generated Node #0,1,1: 10:[20, 25] Operation: 50-25=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[20, 2], Operations: ['93-68=25', '50/25=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[20, 50, 93, 68], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [20, 50, 25]
Generated Node #0,1: 10:[20, 50, 25] Operation: 93-68=25
Moving to Node #0,1
Current State: 10:[20, 50, 25], Operations: ['93-68=25']
Exploring Operation: 50/25=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 10:[20, 2] Operation: 50/25=2
Moving to Node #0,1,0
Current State: 10:[20, 2], Operations: ['93-68=25', '50/25=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
11,
39,
28,
48
] | 30
|
[
"11+39=50",
"48-28=20",
"50-20=30"
] |
Current State: 30:[11, 39, 28, 48], Operations: []
Exploring Operation: 11+39=50, Resulting Numbers: [28, 48, 50]
Generated Node #2: [28, 48, 50] from Operation: 11+39=50
Current State: 30:[28, 48, 50], Operations: ['11+39=50']
Exploring Operation: 48-28=20, Resulting Numbers: [50, 20]
Generated Node #3: [50, 20] from Operation: 48-28=20
Current State: 30:[50, 20], Operations: ['11+39=50', '48-28=20']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[11, 39, 28, 48], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [11, 28, 9]
Generated Node #0,0: 30:[11, 28, 9] Operation: 48-39=9
Moving to Node #0,0
Current State: 30:[11, 28, 9], Operations: ['48-39=9']
Exploring Operation: 11-9=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 30:[28, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 30:[28, 2], Operations: ['48-39=9', '11-9=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[11, 39, 28, 48], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [11, 28, 9]
Generated Node #0,0: 30:[11, 28, 9] Operation: 48-39=9
Moving to Node #0,0
Current State: 30:[11, 28, 9], Operations: ['48-39=9']
Exploring Operation: 11-9=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 30:[28, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 30:[28, 2], Operations: ['48-39=9', '11-9=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
27,
16,
8,
71
] | 68
|
[
"27-16=11",
"8+71=79",
"79-11=68"
] |
Current State: 68:[27, 16, 8, 71], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [8, 71, 11]
Generated Node #2: [8, 71, 11] from Operation: 27-16=11
Current State: 68:[8, 71, 11], Operations: ['27-16=11']
Exploring Operation: 8+71=79, Resulting Numbers: [11, 79]
Generated Node #3: [11, 79] from Operation: 8+71=79
Current State: 68:[11, 79], Operations: ['27-16=11', '8+71=79']
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[27, 16, 8, 71], Operations: []
Exploring Operation: 27+8=35, Resulting Numbers: [16, 71, 35]
Generated Node #0,0: 68:[16, 71, 35] Operation: 27+8=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[16, 71, 35], Operations: ['27+8=35']
Exploring Operation: 71-35=36, Resulting Numbers: [16, 36]
Generated Node #0,0,0: 68:[16, 36] Operation: 71-35=36
Moving to Node #0,0,0
Current State: 68:[16, 36], Operations: ['27+8=35', '71-35=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,68 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
|
[
63,
37,
32,
84
] | 13
|
[
"63*32=2016",
"2016/84=24",
"37-24=13"
] |
Current State: 13:[63, 37, 32, 84], Operations: []
Exploring Operation: 63*32=2016, Resulting Numbers: [37, 84, 2016]
Generated Node #2: [37, 84, 2016] from Operation: 63*32=2016
Current State: 13:[37, 84, 2016], Operations: ['63*32=2016']
Exploring Operation: 2016/84=24, Resulting Numbers: [37, 24]
Generated Node #3: [37, 24] from Operation: 2016/84=24
Current State: 13:[37, 24], Operations: ['63*32=2016', '2016/84=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[63, 37, 32, 84], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [37, 32, 21]
Generated Node #0,0: 13:[37, 32, 21] Operation: 84-63=21
Exploring Operation: 84-37=47, Resulting Numbers: [63, 32, 47]
Generated Node #0,1: 13:[63, 32, 47] Operation: 84-37=47
Exploring Operation: 63-32=31, Resulting Numbers: [37, 84, 31]
Generated Node #0,2: 13:[37, 84, 31] Operation: 63-32=31
Exploring Operation: 63-37=26, Resulting Numbers: [32, 84, 26]
Generated Node #0,3: 13:[32, 84, 26] Operation: 63-37=26
Exploring Operation: 84-32=52, Resulting Numbers: [63, 37, 52]
Generated Node #0,4: 13:[63, 37, 52] Operation: 84-32=52
Moving to Node #0,0
Current State: 13:[37, 32, 21], Operations: ['84-63=21']
Exploring Operation: 37-21=16, Resulting Numbers: [32, 16]
Generated Node #0,0,0: 13:[32, 16] Operation: 37-21=16
Exploring Operation: 37-32=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 13:[21, 5] Operation: 37-32=5
Exploring Operation: 32-21=11, Resulting Numbers: [37, 11]
Generated Node #0,0,2: 13:[37, 11] Operation: 32-21=11
Exploring Operation: 37+21=58, Resulting Numbers: [32, 58]
Generated Node #0,0,3: 13:[32, 58] Operation: 37+21=58
Exploring Operation: 37+32=69, Resulting Numbers: [21, 69]
Generated Node #0,0,4: 13:[21, 69] Operation: 37+32=69
Moving to Node #0,3
Current State: 13:[32, 84, 26], Operations: ['63-37=26']
Exploring Operation: 84-26=58, Resulting Numbers: [32, 58]
Generated Node #0,3,0: 13:[32, 58] Operation: 84-26=58
Exploring Operation: 84-32=52, Resulting Numbers: [26, 52]
Generated Node #0,3,1: 13:[26, 52] Operation: 84-32=52
Exploring Operation: 32+26=58, Resulting Numbers: [84, 58]
Generated Node #0,3,2: 13:[84, 58] Operation: 32+26=58
Exploring Operation: 32+84=116, Resulting Numbers: [26, 116]
Generated Node #0,3,3: 13:[26, 116] Operation: 32+84=116
Exploring Operation: 32-26=6, Resulting Numbers: [84, 6]
Generated Node #0,3,4: 13:[84, 6] Operation: 32-26=6
Moving to Node #0,1
Current State: 13:[63, 32, 47], Operations: ['84-37=47']
Exploring Operation: 63-32=31, Resulting Numbers: [47, 31]
Generated Node #0,1,0: 13:[47, 31] Operation: 63-32=31
Exploring Operation: 63+32=95, Resulting Numbers: [47, 95]
Generated Node #0,1,1: 13:[47, 95] Operation: 63+32=95
Exploring Operation: 63-47=16, Resulting Numbers: [32, 16]
Generated Node #0,1,2: 13:[32, 16] Operation: 63-47=16
Exploring Operation: 47-32=15, Resulting Numbers: [63, 15]
Generated Node #0,1,3: 13:[63, 15] Operation: 47-32=15
Exploring Operation: 63+47=110, Resulting Numbers: [32, 110]
Generated Node #0,1,4: 13:[32, 110] Operation: 63+47=110
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[32, 16], Operations: ['84-37=47', '63-47=16']
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,13 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,13 unequal: No Solution
No 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: 13:[47, 31], Operations: ['84-37=47', '63-32=31']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,13 unequal: No Solution
No 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: 13:[63, 15], Operations: ['84-37=47', '47-32=15']
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,13 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,13 unequal: No Solution
No 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: 13:[47, 95], Operations: ['84-37=47', '63+32=95']
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 47+95=142, Resulting Numbers: [142]
142,13 unequal: No Solution
Exploring Operation: 47*95=4465, Resulting Numbers: [4465]
4465,13 unequal: No Solution
No 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: 13:[32, 110], Operations: ['84-37=47', '63+47=110']
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 32*110=3520, Resulting Numbers: [3520]
3520,13 unequal: No Solution
Exploring Operation: 32+110=142, Resulting Numbers: [142]
142,13 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: 13:[37, 84, 31], Operations: ['63-32=31']
Exploring Operation: 84-37=47, Resulting Numbers: [31, 47]
Generated Node #0,2,0: 13:[31, 47] Operation: 84-37=47
Exploring Operation: 37+31=68, Resulting Numbers: [84, 68]
Generated Node #0,2,1: 13:[84, 68] Operation: 37+31=68
Exploring Operation: 37+84=121, Resulting Numbers: [31, 121]
Generated Node #0,2,2: 13:[31, 121] Operation: 37+84=121
Exploring Operation: 37-31=6, Resulting Numbers: [84, 6]
Generated Node #0,2,3: 13:[84, 6] Operation: 37-31=6
Exploring Operation: 84-31=53, Resulting Numbers: [37, 53]
Generated Node #0,2,4: 13:[37, 53] Operation: 84-31=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[31, 47], Operations: ['63-32=31', '84-37=47']
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,13 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No 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: 13:[37, 53], Operations: ['63-32=31', '84-31=53']
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,13 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No 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: 13:[84, 6], Operations: ['63-32=31', '37-31=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,13 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,13 unequal: No Solution
No 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: 13:[84, 68], Operations: ['63-32=31', '37+31=68']
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 84*68=5712, Resulting Numbers: [5712]
5712,13 unequal: No Solution
Exploring Operation: 84+68=152, Resulting Numbers: [152]
152,13 unequal: No Solution
No 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: 13:[31, 121], Operations: ['63-32=31', '37+84=121']
Exploring Operation: 31*121=3751, Resulting Numbers: [3751]
3751,13 unequal: No Solution
Exploring Operation: 31+121=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Exploring Operation: 121-31=90, Resulting Numbers: [90]
90,13 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: 13:[63, 37, 52], Operations: ['84-32=52']
Exploring Operation: 63+52=115, Resulting Numbers: [37, 115]
Generated Node #0,4,0: 13:[37, 115] Operation: 63+52=115
Exploring Operation: 63-37=26, Resulting Numbers: [52, 26]
Generated Node #0,4,1: 13:[52, 26] Operation: 63-37=26
Exploring Operation: 52-37=15, Resulting Numbers: [63, 15]
Generated Node #0,4,2: 13:[63, 15] Operation: 52-37=15
Exploring Operation: 63+37=100, Resulting Numbers: [52, 100]
Generated Node #0,4,3: 13:[52, 100] Operation: 63+37=100
Exploring Operation: 63-52=11, Resulting Numbers: [37, 11]
Generated Node #0,4,4: 13:[37, 11] Operation: 63-52=11
Moving to Node #0,0,1
Current State: 13:[21, 5], Operations: ['84-63=21', '37-32=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[32, 16], Operations: ['84-63=21', '37-21=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[37, 11], Operations: ['84-63=21', '32-21=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[37, 11], Operations: ['84-32=52', '63-52=11']
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,13 unequal: No Solution
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[26, 52], Operations: ['63-37=26', '84-32=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,13 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[63, 15], Operations: ['84-32=52', '52-37=15']
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,13 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[52, 26], Operations: ['84-32=52', '63-37=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[32, 58], Operations: ['63-37=26', '84-26=58']
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,13 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[21, 69], Operations: ['84-63=21', '37+32=69']
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,13 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[32, 58], Operations: ['84-63=21', '37+21=58']
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,13 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[84, 6], Operations: ['63-37=26', '32-26=6']
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,13 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[84, 58], Operations: ['63-37=26', '32+26=58']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 84*58=4872, Resulting Numbers: [4872]
4872,13 unequal: No Solution
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[26, 116], Operations: ['63-37=26', '32+84=116']
Exploring Operation: 26+116=142, Resulting Numbers: [142]
142,13 unequal: No Solution
Exploring Operation: 26*116=3016, Resulting Numbers: [3016]
3016,13 unequal: No Solution
Exploring Operation: 116-26=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[37, 115], Operations: ['84-32=52', '63+52=115']
Exploring Operation: 37*115=4255, Resulting Numbers: [4255]
4255,13 unequal: No Solution
Exploring Operation: 115-37=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 37+115=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[52, 100], Operations: ['84-32=52', '63+37=100']
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,13 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,13 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
70,
6,
64,
47
] | 35
|
[
"70+6=76",
"64+47=111",
"111-76=35"
] |
Current State: 35:[70, 6, 64, 47], Operations: []
Exploring Operation: 70+6=76, Resulting Numbers: [64, 47, 76]
Generated Node #2: [64, 47, 76] from Operation: 70+6=76
Current State: 35:[64, 47, 76], Operations: ['70+6=76']
Exploring Operation: 64+47=111, Resulting Numbers: [76, 111]
Generated Node #3: [76, 111] from Operation: 64+47=111
Current State: 35:[76, 111], Operations: ['70+6=76', '64+47=111']
Exploring Operation: 111-76=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[70, 6, 64, 47], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [6, 47, 6]
Generated Node #0,0: 35:[6, 47, 6] Operation: 70-64=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[6, 47, 6], Operations: ['70-64=6']
Exploring Operation: 47-6=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 35:[6, 41] Operation: 47-6=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[6, 41], Operations: ['70-64=6', '47-6=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[70, 6, 64, 47], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [6, 47, 6]
Generated Node #0,0: 35:[6, 47, 6] Operation: 70-64=6
Moving to Node #0,0
Current State: 35:[6, 47, 6], Operations: ['70-64=6']
Exploring Operation: 47-6=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 35:[6, 41] Operation: 47-6=41
Moving to Node #0,0,0
Current State: 35:[6, 41], Operations: ['70-64=6', '47-6=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
50,
11,
37,
29
] | 47
|
[
"50-11=39",
"37-29=8",
"39+8=47"
] |
Current State: 47:[50, 11, 37, 29], Operations: []
Exploring Operation: 50-11=39, Resulting Numbers: [37, 29, 39]
Generated Node #2: [37, 29, 39] from Operation: 50-11=39
Current State: 47:[37, 29, 39], Operations: ['50-11=39']
Exploring Operation: 37-29=8, Resulting Numbers: [39, 8]
Generated Node #3: [39, 8] from Operation: 37-29=8
Current State: 47:[39, 8], Operations: ['50-11=39', '37-29=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[50, 11, 37, 29], Operations: []
Exploring Operation: 11+29=40, Resulting Numbers: [50, 37, 40]
Generated Node #0,0: 47:[50, 37, 40] Operation: 11+29=40
Exploring Operation: 11+37=48, Resulting Numbers: [50, 29, 48]
Generated Node #0,1: 47:[50, 29, 48] Operation: 11+37=48
Exploring Operation: 50+11=61, Resulting Numbers: [37, 29, 61]
Generated Node #0,2: 47:[37, 29, 61] Operation: 50+11=61
Exploring Operation: 50-11=39, Resulting Numbers: [37, 29, 39]
Generated Node #0,3: 47:[37, 29, 39] Operation: 50-11=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[50, 37, 40], Operations: ['11+29=40']
Exploring Operation: 50-40=10, Resulting Numbers: [37, 10]
Generated Node #0,0,0: 47:[37, 10] Operation: 50-40=10
Exploring Operation: 37+40=77, Resulting Numbers: [50, 77]
Generated Node #0,0,1: 47:[50, 77] Operation: 37+40=77
Exploring Operation: 50-37=13, Resulting Numbers: [40, 13]
Generated Node #0,0,2: 47:[40, 13] Operation: 50-37=13
Exploring Operation: 50+37=87, Resulting Numbers: [40, 87]
Generated Node #0,0,3: 47:[40, 87] Operation: 50+37=87
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[50, 77], Operations: ['11+29=40', '37+40=77']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 50+77=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 50*77=3850, Resulting Numbers: [3850]
3850,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:[40, 13], Operations: ['11+29=40', '50-37=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,47 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,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:[37, 10], Operations: ['11+29=40', '50-40=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[50, 11, 37, 29], Operations: []
Exploring Operation: 11+29=40, Resulting Numbers: [50, 37, 40]
Generated Node #0,0: 47:[50, 37, 40] Operation: 11+29=40
Moving to Node #0,0
Current State: 47:[50, 37, 40], Operations: ['11+29=40']
Exploring Operation: 50-40=10, Resulting Numbers: [37, 10]
Generated Node #0,0,0: 47:[37, 10] Operation: 50-40=10
Moving to Node #0,0,0
Current State: 47:[37, 10], Operations: ['11+29=40', '50-40=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507
|
hs_4
|
sum_heuristic
|
[
76,
7,
49,
75
] | 95
|
[
"76-7=69",
"75-49=26",
"69+26=95"
] |
Current State: 95:[76, 7, 49, 75], Operations: []
Exploring Operation: 76-7=69, Resulting Numbers: [49, 75, 69]
Generated Node #2: [49, 75, 69] from Operation: 76-7=69
Current State: 95:[49, 75, 69], Operations: ['76-7=69']
Exploring Operation: 75-49=26, Resulting Numbers: [69, 26]
Generated Node #3: [69, 26] from Operation: 75-49=26
Current State: 95:[69, 26], Operations: ['76-7=69', '75-49=26']
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[76, 7, 49, 75], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [76, 7, 26]
Generated Node #0,0: 95:[76, 7, 26] Operation: 75-49=26
Exploring Operation: 76-75=1, Resulting Numbers: [7, 49, 1]
Generated Node #0,1: 95:[7, 49, 1] Operation: 76-75=1
Exploring Operation: 76-49=27, Resulting Numbers: [7, 75, 27]
Generated Node #0,2: 95:[7, 75, 27] Operation: 76-49=27
Exploring Operation: 49/7=7, Resulting Numbers: [76, 75, 7]
Generated Node #0,3: 95:[76, 75, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[76, 7, 26], Operations: ['75-49=26']
Exploring Operation: 76-7=69, Resulting Numbers: [26, 69]
Generated Node #0,0,0: 95:[26, 69] Operation: 76-7=69
Exploring Operation: 26-7=19, Resulting Numbers: [76, 19]
Generated Node #0,0,1: 95:[76, 19] Operation: 26-7=19
Exploring Operation: 76+7=83, Resulting Numbers: [26, 83]
Generated Node #0,0,2: 95:[26, 83] Operation: 76+7=83
Exploring Operation: 76+26=102, Resulting Numbers: [7, 102]
Generated Node #0,0,3: 95:[7, 102] Operation: 76+26=102
Moving to Node #0,0,3
Current State: 95:[7, 102], Operations: ['75-49=26', '76+26=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[76, 7, 49, 75], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [76, 7, 26]
Generated Node #0,0: 95:[76, 7, 26] Operation: 75-49=26
Moving to Node #0,0
Current State: 95:[76, 7, 26], Operations: ['75-49=26']
Exploring Operation: 76+26=102, Resulting Numbers: [7, 102]
Generated Node #0,0,3: 95:[7, 102] Operation: 76+26=102
Moving to Node #0,0,3
Current State: 95:[7, 102], Operations: ['75-49=26', '76+26=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
27,
2,
69,
40
] | 41
|
[
"69-27=42",
"40+42=82",
"82/2=41"
] |
Current State: 41:[27, 2, 69, 40], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [2, 40, 42]
Generated Node #2: [2, 40, 42] from Operation: 69-27=42
Current State: 41:[2, 40, 42], Operations: ['69-27=42']
Exploring Operation: 40+42=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 40+42=82
Current State: 41:[2, 82], Operations: ['69-27=42', '40+42=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[27, 2, 69, 40], Operations: []
Exploring Operation: 27+2=29, Resulting Numbers: [69, 40, 29]
Generated Node #0,0: 41:[69, 40, 29] Operation: 27+2=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[69, 40, 29], Operations: ['27+2=29']
Exploring Operation: 69-29=40, Resulting Numbers: [40, 40]
Generated Node #0,0,0: 41:[40, 40] Operation: 69-29=40
Moving to Node #0,0,0
Current State: 41:[40, 40], Operations: ['27+2=29', '69-29=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
32,
78,
35,
58
] | 38
|
[
"58-32=26",
"78/26=3",
"35+3=38"
] |
Current State: 38:[32, 78, 35, 58], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [78, 35, 26]
Generated Node #2: [78, 35, 26] from Operation: 58-32=26
Current State: 38:[78, 35, 26], Operations: ['58-32=26']
Exploring Operation: 78/26=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 78/26=3
Current State: 38:[35, 3], Operations: ['58-32=26', '78/26=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[32, 78, 35, 58], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [32, 35, 20]
Generated Node #0,0: 38:[32, 35, 20] Operation: 78-58=20
Exploring Operation: 78-32=46, Resulting Numbers: [35, 58, 46]
Generated Node #0,1: 38:[35, 58, 46] Operation: 78-32=46
Exploring Operation: 78-35=43, Resulting Numbers: [32, 58, 43]
Generated Node #0,2: 38:[32, 58, 43] Operation: 78-35=43
Moving to Node #0,0
Current State: 38:[32, 35, 20], Operations: ['78-58=20']
Exploring Operation: 35-32=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 38:[20, 3] Operation: 35-32=3
Exploring Operation: 32-20=12, Resulting Numbers: [35, 12]
Generated Node #0,0,1: 38:[35, 12] Operation: 32-20=12
Exploring Operation: 35-20=15, Resulting Numbers: [32, 15]
Generated Node #0,0,2: 38:[32, 15] Operation: 35-20=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[20, 3], Operations: ['78-58=20', '35-32=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[35, 12], Operations: ['78-58=20', '32-20=12']
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,38 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[32, 15], Operations: ['78-58=20', '35-20=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,38 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,38 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: 38:[35, 58, 46], Operations: ['78-32=46']
Exploring Operation: 58-46=12, Resulting Numbers: [35, 12]
Generated Node #0,1,0: 38:[35, 12] Operation: 58-46=12
Exploring Operation: 58-35=23, Resulting Numbers: [46, 23]
Generated Node #0,1,1: 38:[46, 23] Operation: 58-35=23
Exploring Operation: 46-35=11, Resulting Numbers: [58, 11]
Generated Node #0,1,2: 38:[58, 11] Operation: 46-35=11
Moving to Node #0,2
Current State: 38:[32, 58, 43], Operations: ['78-35=43']
Exploring Operation: 43-32=11, Resulting Numbers: [58, 11]
Generated Node #0,2,0: 38:[58, 11] Operation: 43-32=11
Exploring Operation: 58-32=26, Resulting Numbers: [43, 26]
Generated Node #0,2,1: 38:[43, 26] Operation: 58-32=26
Exploring Operation: 58-43=15, Resulting Numbers: [32, 15]
Generated Node #0,2,2: 38:[32, 15] Operation: 58-43=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[32, 15], Operations: ['78-35=43', '58-43=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,38 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[43, 26], Operations: ['78-35=43', '58-32=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[58, 11], Operations: ['78-35=43', '43-32=11']
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,38 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,38 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: 38:[35, 12], Operations: ['78-32=46', '58-46=12']
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,38 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[46, 23], Operations: ['78-32=46', '58-35=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[58, 11], Operations: ['78-32=46', '46-35=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,38 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
24,
66,
30,
38
] | 82
|
[
"24+66=90",
"38-30=8",
"90-8=82"
] |
Current State: 82:[24, 66, 30, 38], Operations: []
Exploring Operation: 24+66=90, Resulting Numbers: [30, 38, 90]
Generated Node #2: [30, 38, 90] from Operation: 24+66=90
Current State: 82:[30, 38, 90], Operations: ['24+66=90']
Exploring Operation: 38-30=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 38-30=8
Current State: 82:[90, 8], Operations: ['24+66=90', '38-30=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[24, 66, 30, 38], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [24, 38, 36]
Generated Node #0,0: 82:[24, 38, 36] Operation: 66-30=36
Exploring Operation: 66-24=42, Resulting Numbers: [30, 38, 42]
Generated Node #0,1: 82:[30, 38, 42] Operation: 66-24=42
Exploring Operation: 30-24=6, Resulting Numbers: [66, 38, 6]
Generated Node #0,2: 82:[66, 38, 6] Operation: 30-24=6
Exploring Operation: 24+66=90, Resulting Numbers: [30, 38, 90]
Generated Node #0,3: 82:[30, 38, 90] Operation: 24+66=90
Moving to Node #0,1
Current State: 82:[30, 38, 42], Operations: ['66-24=42']
Exploring Operation: 42-30=12, Resulting Numbers: [38, 12]
Generated Node #0,1,0: 82:[38, 12] Operation: 42-30=12
Exploring Operation: 30+42=72, Resulting Numbers: [38, 72]
Generated Node #0,1,1: 82:[38, 72] Operation: 30+42=72
Exploring Operation: 38+42=80, Resulting Numbers: [30, 80]
Generated Node #0,1,2: 82:[30, 80] Operation: 38+42=80
Exploring Operation: 38-30=8, Resulting Numbers: [42, 8]
Generated Node #0,1,3: 82:[42, 8] Operation: 38-30=8
Moving to Node #0,3
Current State: 82:[30, 38, 90], Operations: ['24+66=90']
Exploring Operation: 90-30=60, Resulting Numbers: [38, 60]
Generated Node #0,3,0: 82:[38, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [38, 3]
Generated Node #0,3,1: 82:[38, 3] Operation: 90/30=3
Exploring Operation: 30+38=68, Resulting Numbers: [90, 68]
Generated Node #0,3,2: 82:[90, 68] Operation: 30+38=68
Exploring Operation: 38-30=8, Resulting Numbers: [90, 8]
Generated Node #0,3,3: 82:[90, 8] Operation: 38-30=8
Moving to Node #0,2
Current State: 82:[66, 38, 6], Operations: ['30-24=6']
Exploring Operation: 38+6=44, Resulting Numbers: [66, 44]
Generated Node #0,2,0: 82:[66, 44] Operation: 38+6=44
Exploring Operation: 66+6=72, Resulting Numbers: [38, 72]
Generated Node #0,2,1: 82:[38, 72] Operation: 66+6=72
Exploring Operation: 66-38=28, Resulting Numbers: [6, 28]
Generated Node #0,2,2: 82:[6, 28] Operation: 66-38=28
Exploring Operation: 66/6=11, Resulting Numbers: [38, 11]
Generated Node #0,2,3: 82:[38, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[38, 11], Operations: ['30-24=6', '66/6=11']
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,82 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[38, 72], Operations: ['30-24=6', '66+6=72']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 38*72=2736, Resulting Numbers: [2736]
2736,82 unequal: No Solution
Exploring Operation: 38+72=110, Resulting Numbers: [110]
110,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[6, 28], Operations: ['30-24=6', '66-38=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[66, 44], Operations: ['30-24=6', '38+6=44']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,82 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 82:[24, 38, 36], Operations: ['66-30=36']
Exploring Operation: 36-24=12, Resulting Numbers: [38, 12]
Generated Node #0,0,0: 82:[38, 12] Operation: 36-24=12
Exploring Operation: 38-36=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 82:[24, 2] Operation: 38-36=2
Exploring Operation: 38-24=14, Resulting Numbers: [36, 14]
Generated Node #0,0,2: 82:[36, 14] Operation: 38-24=14
Exploring Operation: 24+36=60, Resulting Numbers: [38, 60]
Generated Node #0,0,3: 82:[38, 60] Operation: 24+36=60
Moving to Node #0,3,1
Current State: 82:[38, 3], Operations: ['24+66=90', '90/30=3']
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[42, 8], Operations: ['66-24=42', '38-30=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,82 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[38, 72], Operations: ['66-24=42', '30+42=72']
Exploring Operation: 38*72=2736, Resulting Numbers: [2736]
2736,82 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 38+72=110, Resulting Numbers: [110]
110,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[38, 12], Operations: ['66-24=42', '42-30=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,82 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[30, 80], Operations: ['66-24=42', '38+42=80']
Exploring Operation: 30*80=2400, Resulting Numbers: [2400]
2400,82 unequal: No Solution
Exploring Operation: 30+80=110, Resulting Numbers: [110]
110,82 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[38, 12], Operations: ['66-30=36', '36-24=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,82 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[90, 8], Operations: ['24+66=90', '38-30=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,82 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[24, 66, 30, 38], Operations: []
Exploring Operation: 24+66=90, Resulting Numbers: [30, 38, 90]
Generated Node #0,3: 82:[30, 38, 90] Operation: 24+66=90
Moving to Node #0,3
Current State: 82:[30, 38, 90], Operations: ['24+66=90']
Exploring Operation: 38-30=8, Resulting Numbers: [90, 8]
Generated Node #0,3,3: 82:[90, 8] Operation: 38-30=8
Moving to Node #0,3,3
Current State: 82:[90, 8], Operations: ['24+66=90', '38-30=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.951389
|
hs_4
|
sum_heuristic
|
[
85,
72,
3,
24
] | 40
|
[
"85-72=13",
"3+24=27",
"13+27=40"
] |
Current State: 40:[85, 72, 3, 24], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [3, 24, 13]
Generated Node #2: [3, 24, 13] from Operation: 85-72=13
Current State: 40:[3, 24, 13], Operations: ['85-72=13']
Exploring Operation: 3+24=27, Resulting Numbers: [13, 27]
Generated Node #3: [13, 27] from Operation: 3+24=27
Current State: 40:[13, 27], Operations: ['85-72=13', '3+24=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[85, 72, 3, 24], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [72, 3, 61]
Generated Node #0,0: 40:[72, 3, 61] Operation: 85-24=61
Exploring Operation: 72-24=48, Resulting Numbers: [85, 3, 48]
Generated Node #0,1: 40:[85, 3, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [85, 3, 3]
Generated Node #0,2: 40:[85, 3, 3] Operation: 72/24=3
Exploring Operation: 85-72=13, Resulting Numbers: [3, 24, 13]
Generated Node #0,3: 40:[3, 24, 13] Operation: 85-72=13
Exploring Operation: 72/3=24, Resulting Numbers: [85, 24, 24]
Generated Node #0,4: 40:[85, 24, 24] Operation: 72/3=24
Moving to Node #0,3
Current State: 40:[3, 24, 13], Operations: ['85-72=13']
Exploring Operation: 24+13=37, Resulting Numbers: [3, 37]
Generated Node #0,3,0: 40:[3, 37] Operation: 24+13=37
Exploring Operation: 13-3=10, Resulting Numbers: [24, 10]
Generated Node #0,3,1: 40:[24, 10] Operation: 13-3=10
Exploring Operation: 24-3=21, Resulting Numbers: [13, 21]
Generated Node #0,3,2: 40:[13, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [13, 8]
Generated Node #0,3,3: 40:[13, 8] Operation: 24/3=8
Exploring Operation: 24-13=11, Resulting Numbers: [3, 11]
Generated Node #0,3,4: 40:[3, 11] Operation: 24-13=11
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 40:[3, 11], Operations: ['85-72=13', '24-13=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,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,3,3
Current State: 40:[13, 8], Operations: ['85-72=13', '24/3=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,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,3,0
Current State: 40:[3, 37], Operations: ['85-72=13', '24+13=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[85, 72, 3, 24], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [3, 24, 13]
Generated Node #0,3: 40:[3, 24, 13] Operation: 85-72=13
Moving to Node #0,3
Current State: 40:[3, 24, 13], Operations: ['85-72=13']
Exploring Operation: 24+13=37, Resulting Numbers: [3, 37]
Generated Node #0,3,0: 40:[3, 37] Operation: 24+13=37
Moving to Node #0,3,0
Current State: 40:[3, 37], Operations: ['85-72=13', '24+13=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
sum_heuristic
|
[
91,
16,
31,
3
] | 86
|
[
"31-16=15",
"15/3=5",
"91-5=86"
] |
Current State: 86:[91, 16, 31, 3], Operations: []
Exploring Operation: 31-16=15, Resulting Numbers: [91, 3, 15]
Generated Node #2: [91, 3, 15] from Operation: 31-16=15
Current State: 86:[91, 3, 15], Operations: ['31-16=15']
Exploring Operation: 15/3=5, Resulting Numbers: [91, 5]
Generated Node #3: [91, 5] from Operation: 15/3=5
Current State: 86:[91, 5], Operations: ['31-16=15', '15/3=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[91, 16, 31, 3], Operations: []
Exploring Operation: 16+31=47, Resulting Numbers: [91, 3, 47]
Generated Node #0,0: 86:[91, 3, 47] Operation: 16+31=47
Exploring Operation: 91-16=75, Resulting Numbers: [31, 3, 75]
Generated Node #0,1: 86:[31, 3, 75] Operation: 91-16=75
Exploring Operation: 31*3=93, Resulting Numbers: [91, 16, 93]
Generated Node #0,2: 86:[91, 16, 93] Operation: 31*3=93
Exploring Operation: 16*3=48, Resulting Numbers: [91, 31, 48]
Generated Node #0,3: 86:[91, 31, 48] Operation: 16*3=48
Exploring Operation: 31-16=15, Resulting Numbers: [91, 3, 15]
Generated Node #0,4: 86:[91, 3, 15] Operation: 31-16=15
Moving to Node #0,0
Current State: 86:[91, 3, 47], Operations: ['16+31=47']
Exploring Operation: 3+47=50, Resulting Numbers: [91, 50]
Generated Node #0,0,0: 86:[91, 50] Operation: 3+47=50
Exploring Operation: 91-47=44, Resulting Numbers: [3, 44]
Generated Node #0,0,1: 86:[3, 44] Operation: 91-47=44
Exploring Operation: 47-3=44, Resulting Numbers: [91, 44]
Generated Node #0,0,2: 86:[91, 44] Operation: 47-3=44
Exploring Operation: 91+3=94, Resulting Numbers: [47, 94]
Generated Node #0,0,3: 86:[47, 94] Operation: 91+3=94
Exploring Operation: 91-3=88, Resulting Numbers: [47, 88]
Generated Node #0,0,4: 86:[47, 88] Operation: 91-3=88
Moving to Node #0,4
Current State: 86:[91, 3, 15], Operations: ['31-16=15']
Exploring Operation: 3*15=45, Resulting Numbers: [91, 45]
Generated Node #0,4,0: 86:[91, 45] Operation: 3*15=45
Exploring Operation: 91-3=88, Resulting Numbers: [15, 88]
Generated Node #0,4,1: 86:[15, 88] Operation: 91-3=88
Exploring Operation: 15/3=5, Resulting Numbers: [91, 5]
Generated Node #0,4,2: 86:[91, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [91, 12]
Generated Node #0,4,3: 86:[91, 12] Operation: 15-3=12
Exploring Operation: 91-15=76, Resulting Numbers: [3, 76]
Generated Node #0,4,4: 86:[3, 76] Operation: 91-15=76
Moving to Node #0,3
Current State: 86:[91, 31, 48], Operations: ['16*3=48']
Exploring Operation: 91-48=43, Resulting Numbers: [31, 43]
Generated Node #0,3,0: 86:[31, 43] Operation: 91-48=43
Exploring Operation: 91-31=60, Resulting Numbers: [48, 60]
Generated Node #0,3,1: 86:[48, 60] Operation: 91-31=60
Exploring Operation: 31+48=79, Resulting Numbers: [91, 79]
Generated Node #0,3,2: 86:[91, 79] Operation: 31+48=79
Exploring Operation: 91+31=122, Resulting Numbers: [48, 122]
Generated Node #0,3,3: 86:[48, 122] Operation: 91+31=122
Exploring Operation: 48-31=17, Resulting Numbers: [91, 17]
Generated Node #0,3,4: 86:[91, 17] Operation: 48-31=17
Moving to Node #0,1
Current State: 86:[31, 3, 75], Operations: ['91-16=75']
Exploring Operation: 31*3=93, Resulting Numbers: [75, 93]
Generated Node #0,1,0: 86:[75, 93] Operation: 31*3=93
Exploring Operation: 31+75=106, Resulting Numbers: [3, 106]
Generated Node #0,1,1: 86:[3, 106] Operation: 31+75=106
Exploring Operation: 31+3=34, Resulting Numbers: [75, 34]
Generated Node #0,1,2: 86:[75, 34] Operation: 31+3=34
Exploring Operation: 75-31=44, Resulting Numbers: [3, 44]
Generated Node #0,1,3: 86:[3, 44] Operation: 75-31=44
Exploring Operation: 3+75=78, Resulting Numbers: [31, 78]
Generated Node #0,1,4: 86:[31, 78] Operation: 3+75=78
Moving to Node #0,2
Current State: 86:[91, 16, 93], Operations: ['31*3=93']
Exploring Operation: 93-16=77, Resulting Numbers: [91, 77]
Generated Node #0,2,0: 86:[91, 77] Operation: 93-16=77
Exploring Operation: 16+93=109, Resulting Numbers: [91, 109]
Generated Node #0,2,1: 86:[91, 109] Operation: 16+93=109
Exploring Operation: 91-16=75, Resulting Numbers: [93, 75]
Generated Node #0,2,2: 86:[93, 75] Operation: 91-16=75
Exploring Operation: 91+16=107, Resulting Numbers: [93, 107]
Generated Node #0,2,3: 86:[93, 107] Operation: 91+16=107
Exploring Operation: 93-91=2, Resulting Numbers: [16, 2]
Generated Node #0,2,4: 86:[16, 2] Operation: 93-91=2
Moving to Node #0,0,1
Current State: 86:[3, 44], Operations: ['16+31=47', '91-47=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[3, 44], Operations: ['91-16=75', '75-31=44']
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[47, 88], Operations: ['16+31=47', '91-3=88']
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,86 unequal: No Solution
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[91, 44], Operations: ['16+31=47', '47-3=44']
Exploring Operation: 91+44=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 91*44=4004, Resulting Numbers: [4004]
4004,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[91, 45], Operations: ['31-16=15', '3*15=45']
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,86 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[91, 5], Operations: ['31-16=15', '15/3=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,86 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[91, 16, 31, 3], Operations: []
Exploring Operation: 31-16=15, Resulting Numbers: [91, 3, 15]
Generated Node #0,4: 86:[91, 3, 15] Operation: 31-16=15
Moving to Node #0,4
Current State: 86:[91, 3, 15], Operations: ['31-16=15']
Exploring Operation: 15/3=5, Resulting Numbers: [91, 5]
Generated Node #0,4,2: 86:[91, 5] Operation: 15/3=5
Moving to Node #0,4,2
Current State: 86:[91, 5], Operations: ['31-16=15', '15/3=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.954861
|
hs_5
|
mult_heuristic
|
[
56,
70,
45,
16
] | 90
|
[
"70-56=14",
"16-14=2",
"45*2=90"
] |
Current State: 90:[56, 70, 45, 16], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [45, 16, 14]
Generated Node #2: [45, 16, 14] from Operation: 70-56=14
Current State: 90:[45, 16, 14], Operations: ['70-56=14']
Exploring Operation: 16-14=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 16-14=2
Current State: 90:[45, 2], Operations: ['70-56=14', '16-14=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[56, 70, 45, 16], Operations: []
Exploring Operation: 70+16=86, Resulting Numbers: [56, 45, 86]
Generated Node #0,0: 90:[56, 45, 86] Operation: 70+16=86
Exploring Operation: 70-56=14, Resulting Numbers: [45, 16, 14]
Generated Node #0,1: 90:[45, 16, 14] Operation: 70-56=14
Moving to Node #0,1
Current State: 90:[45, 16, 14], Operations: ['70-56=14']
Exploring Operation: 16+14=30, Resulting Numbers: [45, 30]
Generated Node #0,1,0: 90:[45, 30] Operation: 16+14=30
Exploring Operation: 16-14=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 90:[45, 2] Operation: 16-14=2
Moving to Node #0,0
Current State: 90:[56, 45, 86], Operations: ['70+16=86']
Exploring Operation: 86-56=30, Resulting Numbers: [45, 30]
Generated Node #0,0,0: 90:[45, 30] Operation: 86-56=30
Exploring Operation: 56-45=11, Resulting Numbers: [86, 11]
Generated Node #0,0,1: 90:[86, 11] Operation: 56-45=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[45, 30], Operations: ['70+16=86', '86-56=30']
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[86, 11], Operations: ['70+16=86', '56-45=11']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,90 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: 90:[45, 30], Operations: ['70-56=14', '16+14=30']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[45, 2], Operations: ['70-56=14', '16-14=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[56, 70, 45, 16], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [45, 16, 14]
Generated Node #0,1: 90:[45, 16, 14] Operation: 70-56=14
Moving to Node #0,1
Current State: 90:[45, 16, 14], Operations: ['70-56=14']
Exploring Operation: 16-14=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 90:[45, 2] Operation: 16-14=2
Moving to Node #0,1,1
Current State: 90:[45, 2], Operations: ['70-56=14', '16-14=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.985243
|
hs_2
|
sum_heuristic
|
[
82,
51,
56,
18
] | 20
|
[
"82+18=100",
"56-51=5",
"100/5=20"
] |
Current State: 20:[82, 51, 56, 18], Operations: []
Exploring Operation: 82+18=100, Resulting Numbers: [51, 56, 100]
Generated Node #2: [51, 56, 100] from Operation: 82+18=100
Current State: 20:[51, 56, 100], Operations: ['82+18=100']
Exploring Operation: 56-51=5, Resulting Numbers: [100, 5]
Generated Node #3: [100, 5] from Operation: 56-51=5
Current State: 20:[100, 5], Operations: ['82+18=100', '56-51=5']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[82, 51, 56, 18], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [56, 18, 31]
Generated Node #0,0: 20:[56, 18, 31] Operation: 82-51=31
Exploring Operation: 82-56=26, Resulting Numbers: [51, 18, 26]
Generated Node #0,1: 20:[51, 18, 26] Operation: 82-56=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[51, 18, 26], Operations: ['82-56=26']
Exploring Operation: 51-26=25, Resulting Numbers: [18, 25]
Generated Node #0,1,0: 20:[18, 25] Operation: 51-26=25
Exploring Operation: 51-18=33, Resulting Numbers: [26, 33]
Generated Node #0,1,1: 20:[26, 33] Operation: 51-18=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[18, 25], Operations: ['82-56=26', '51-26=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[26, 33], Operations: ['82-56=26', '51-18=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[56, 18, 31], Operations: ['82-51=31']
Exploring Operation: 56-31=25, Resulting Numbers: [18, 25]
Generated Node #0,0,0: 20:[18, 25] Operation: 56-31=25
Exploring Operation: 56-18=38, Resulting Numbers: [31, 38]
Generated Node #0,0,1: 20:[31, 38] Operation: 56-18=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[18, 25], Operations: ['82-51=31', '56-31=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[31, 38], Operations: ['82-51=31', '56-18=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
81,
93,
50,
73
] | 11
|
[
"93-81=12",
"73-50=23",
"23-12=11"
] |
Current State: 11:[81, 93, 50, 73], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [50, 73, 12]
Generated Node #2: [50, 73, 12] from Operation: 93-81=12
Current State: 11:[50, 73, 12], Operations: ['93-81=12']
Exploring Operation: 73-50=23, Resulting Numbers: [12, 23]
Generated Node #3: [12, 23] from Operation: 73-50=23
Current State: 11:[12, 23], Operations: ['93-81=12', '73-50=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[81, 93, 50, 73], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [93, 73, 31]
Generated Node #0,0: 11:[93, 73, 31] Operation: 81-50=31
Exploring Operation: 93-73=20, Resulting Numbers: [81, 50, 20]
Generated Node #0,1: 11:[81, 50, 20] Operation: 93-73=20
Exploring Operation: 81-73=8, Resulting Numbers: [93, 50, 8]
Generated Node #0,2: 11:[93, 50, 8] Operation: 81-73=8
Exploring Operation: 93-81=12, Resulting Numbers: [50, 73, 12]
Generated Node #0,3: 11:[50, 73, 12] Operation: 93-81=12
Moving to Node #0,3
Current State: 11:[50, 73, 12], Operations: ['93-81=12']
Exploring Operation: 73-12=61, Resulting Numbers: [50, 61]
Generated Node #0,3,0: 11:[50, 61] Operation: 73-12=61
Exploring Operation: 73-50=23, Resulting Numbers: [12, 23]
Generated Node #0,3,1: 11:[12, 23] Operation: 73-50=23
Exploring Operation: 50-12=38, Resulting Numbers: [73, 38]
Generated Node #0,3,2: 11:[73, 38] Operation: 50-12=38
Exploring Operation: 50+73=123, Resulting Numbers: [12, 123]
Generated Node #0,3,3: 11:[12, 123] Operation: 50+73=123
Moving to Node #0,1
Current State: 11:[81, 50, 20], Operations: ['93-73=20']
Exploring Operation: 50-20=30, Resulting Numbers: [81, 30]
Generated Node #0,1,0: 11:[81, 30] Operation: 50-20=30
Exploring Operation: 81-20=61, Resulting Numbers: [50, 61]
Generated Node #0,1,1: 11:[50, 61] Operation: 81-20=61
Exploring Operation: 81+50=131, Resulting Numbers: [20, 131]
Generated Node #0,1,2: 11:[20, 131] Operation: 81+50=131
Exploring Operation: 81-50=31, Resulting Numbers: [20, 31]
Generated Node #0,1,3: 11:[20, 31] Operation: 81-50=31
Moving to Node #0,2
Current State: 11:[93, 50, 8], Operations: ['81-73=8']
Exploring Operation: 50-8=42, Resulting Numbers: [93, 42]
Generated Node #0,2,0: 11:[93, 42] Operation: 50-8=42
Exploring Operation: 93-8=85, Resulting Numbers: [50, 85]
Generated Node #0,2,1: 11:[50, 85] Operation: 93-8=85
Exploring Operation: 93-50=43, Resulting Numbers: [8, 43]
Generated Node #0,2,2: 11:[8, 43] Operation: 93-50=43
Exploring Operation: 93+8=101, Resulting Numbers: [50, 101]
Generated Node #0,2,3: 11:[50, 101] Operation: 93+8=101
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[8, 43], Operations: ['81-73=8', '93-50=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,11 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[93, 42], Operations: ['81-73=8', '50-8=42']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[50, 85], Operations: ['81-73=8', '93-8=85']
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 50*85=4250, Resulting Numbers: [4250]
4250,11 unequal: No Solution
Exploring Operation: 50+85=135, Resulting Numbers: [135]
135,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[50, 101], Operations: ['81-73=8', '93+8=101']
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,11 unequal: No Solution
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,11 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: 11:[93, 73, 31], Operations: ['81-50=31']
Exploring Operation: 93/31=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 11:[73, 3] Operation: 93/31=3
Exploring Operation: 93-31=62, Resulting Numbers: [73, 62]
Generated Node #0,0,1: 11:[73, 62] Operation: 93-31=62
Exploring Operation: 93-73=20, Resulting Numbers: [31, 20]
Generated Node #0,0,2: 11:[31, 20] Operation: 93-73=20
Exploring Operation: 73-31=42, Resulting Numbers: [93, 42]
Generated Node #0,0,3: 11:[93, 42] Operation: 73-31=42
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[31, 20], Operations: ['81-50=31', '93-73=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[81, 93, 50, 73], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [93, 73, 31]
Generated Node #0,0: 11:[93, 73, 31] Operation: 81-50=31
Moving to Node #0,0
Current State: 11:[93, 73, 31], Operations: ['81-50=31']
Exploring Operation: 93-73=20, Resulting Numbers: [31, 20]
Generated Node #0,0,2: 11:[31, 20] Operation: 93-73=20
Moving to Node #0,0,2
Current State: 11:[31, 20], Operations: ['81-50=31', '93-73=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882
|
hs_4
|
sum_heuristic
|
[
54,
90,
83,
64
] | 70
|
[
"64-54=10",
"90-83=7",
"10*7=70"
] |
Current State: 70:[54, 90, 83, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [90, 83, 10]
Generated Node #2: [90, 83, 10] from Operation: 64-54=10
Current State: 70:[90, 83, 10], Operations: ['64-54=10']
Exploring Operation: 90-83=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 90-83=7
Current State: 70:[10, 7], Operations: ['64-54=10', '90-83=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[54, 90, 83, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [90, 83, 10]
Generated Node #0,0: 70:[90, 83, 10] Operation: 64-54=10
Exploring Operation: 90-83=7, Resulting Numbers: [54, 64, 7]
Generated Node #0,1: 70:[54, 64, 7] Operation: 90-83=7
Exploring Operation: 83-54=29, Resulting Numbers: [90, 64, 29]
Generated Node #0,2: 70:[90, 64, 29] Operation: 83-54=29
Exploring Operation: 90-54=36, Resulting Numbers: [83, 64, 36]
Generated Node #0,3: 70:[83, 64, 36] Operation: 90-54=36
Exploring Operation: 90-64=26, Resulting Numbers: [54, 83, 26]
Generated Node #0,4: 70:[54, 83, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[83, 64, 36], Operations: ['90-54=36']
Exploring Operation: 64-36=28, Resulting Numbers: [83, 28]
Generated Node #0,3,0: 70:[83, 28] Operation: 64-36=28
Exploring Operation: 83-64=19, Resulting Numbers: [36, 19]
Generated Node #0,3,1: 70:[36, 19] Operation: 83-64=19
Exploring Operation: 64+36=100, Resulting Numbers: [83, 100]
Generated Node #0,3,2: 70:[83, 100] Operation: 64+36=100
Exploring Operation: 83-36=47, Resulting Numbers: [64, 47]
Generated Node #0,3,3: 70:[64, 47] Operation: 83-36=47
Exploring Operation: 83+36=119, Resulting Numbers: [64, 119]
Generated Node #0,3,4: 70:[64, 119] Operation: 83+36=119
Moving to Node #0,3,1
Current State: 70:[36, 19], Operations: ['90-54=36', '83-64=19']
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,70 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[64, 47], Operations: ['90-54=36', '83-36=47']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,70 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[83, 28], Operations: ['90-54=36', '64-36=28']
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,70 unequal: No Solution
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[83, 100], Operations: ['90-54=36', '64+36=100']
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,70 unequal: No Solution
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[64, 119], Operations: ['90-54=36', '83+36=119']
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 64+119=183, Resulting Numbers: [183]
183,70 unequal: No Solution
Exploring Operation: 64*119=7616, Resulting Numbers: [7616]
7616,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
Current State: 70:[54, 64, 7], Operations: ['90-83=7']
Exploring Operation: 54+7=61, Resulting Numbers: [64, 61]
Generated Node #0,1,0: 70:[64, 61] Operation: 54+7=61
Exploring Operation: 64+7=71, Resulting Numbers: [54, 71]
Generated Node #0,1,1: 70:[54, 71] Operation: 64+7=71
Exploring Operation: 64-54=10, Resulting Numbers: [7, 10]
Generated Node #0,1,2: 70:[7, 10] Operation: 64-54=10
Exploring Operation: 54-7=47, Resulting Numbers: [64, 47]
Generated Node #0,1,3: 70:[64, 47] Operation: 54-7=47
Exploring Operation: 64-7=57, Resulting Numbers: [54, 57]
Generated Node #0,1,4: 70:[54, 57] Operation: 64-7=57
Moving to Node #0,1,2
Current State: 70:[7, 10], Operations: ['90-83=7', '64-54=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[54, 90, 83, 64], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [54, 64, 7]
Generated Node #0,1: 70:[54, 64, 7] Operation: 90-83=7
Moving to Node #0,1
Current State: 70:[54, 64, 7], Operations: ['90-83=7']
Exploring Operation: 64-54=10, Resulting Numbers: [7, 10]
Generated Node #0,1,2: 70:[7, 10] Operation: 64-54=10
Moving to Node #0,1,2
Current State: 70:[7, 10], Operations: ['90-83=7', '64-54=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875
|
hs_5
|
sum_heuristic
|
[
79,
55,
26,
67
] | 17
|
[
"79-55=24",
"67-26=41",
"41-24=17"
] |
Current State: 17:[79, 55, 26, 67], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [26, 67, 24]
Generated Node #2: [26, 67, 24] from Operation: 79-55=24
Current State: 17:[26, 67, 24], Operations: ['79-55=24']
Exploring Operation: 67-26=41, Resulting Numbers: [24, 41]
Generated Node #3: [24, 41] from Operation: 67-26=41
Current State: 17:[24, 41], Operations: ['79-55=24', '67-26=41']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[79, 55, 26, 67], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [26, 67, 24]
Generated Node #0,0: 17:[26, 67, 24] Operation: 79-55=24
Exploring Operation: 79-67=12, Resulting Numbers: [55, 26, 12]
Generated Node #0,1: 17:[55, 26, 12] Operation: 79-67=12
Moving to Node #0,1
Current State: 17:[55, 26, 12], Operations: ['79-67=12']
Exploring Operation: 55-12=43, Resulting Numbers: [26, 43]
Generated Node #0,1,0: 17:[26, 43] Operation: 55-12=43
Exploring Operation: 55-26=29, Resulting Numbers: [12, 29]
Generated Node #0,1,1: 17:[12, 29] Operation: 55-26=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[12, 29], Operations: ['79-67=12', '55-26=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[79, 55, 26, 67], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [55, 26, 12]
Generated Node #0,1: 17:[55, 26, 12] Operation: 79-67=12
Moving to Node #0,1
Current State: 17:[55, 26, 12], Operations: ['79-67=12']
Exploring Operation: 55-26=29, Resulting Numbers: [12, 29]
Generated Node #0,1,1: 17:[12, 29] Operation: 55-26=29
Moving to Node #0,1,1
Current State: 17:[12, 29], Operations: ['79-67=12', '55-26=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
54,
32,
70,
68
] | 11
|
[
"54-32=22",
"70-68=2",
"22/2=11"
] |
Current State: 11:[54, 32, 70, 68], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [70, 68, 22]
Generated Node #2: [70, 68, 22] from Operation: 54-32=22
Current State: 11:[70, 68, 22], Operations: ['54-32=22']
Exploring Operation: 70-68=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 70-68=2
Current State: 11:[22, 2], Operations: ['54-32=22', '70-68=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[54, 32, 70, 68], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [70, 68, 22]
Generated Node #0,0: 11:[70, 68, 22] Operation: 54-32=22
Exploring Operation: 68-54=14, Resulting Numbers: [32, 70, 14]
Generated Node #0,1: 11:[32, 70, 14] Operation: 68-54=14
Exploring Operation: 70-54=16, Resulting Numbers: [32, 68, 16]
Generated Node #0,2: 11:[32, 68, 16] Operation: 70-54=16
Exploring Operation: 70-68=2, Resulting Numbers: [54, 32, 2]
Generated Node #0,3: 11:[54, 32, 2] Operation: 70-68=2
Moving to Node #0,3
Current State: 11:[54, 32, 2], Operations: ['70-68=2']
Exploring Operation: 54/2=27, Resulting Numbers: [32, 27]
Generated Node #0,3,0: 11:[32, 27] Operation: 54/2=27
Exploring Operation: 32/2=16, Resulting Numbers: [54, 16]
Generated Node #0,3,1: 11:[54, 16] Operation: 32/2=16
Exploring Operation: 54-32=22, Resulting Numbers: [2, 22]
Generated Node #0,3,2: 11:[2, 22] Operation: 54-32=22
Exploring Operation: 54-2=52, Resulting Numbers: [32, 52]
Generated Node #0,3,3: 11:[32, 52] Operation: 54-2=52
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[2, 22], Operations: ['70-68=2', '54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[54, 32, 70, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [54, 32, 2]
Generated Node #0,3: 11:[54, 32, 2] Operation: 70-68=2
Moving to Node #0,3
Current State: 11:[54, 32, 2], Operations: ['70-68=2']
Exploring Operation: 54-32=22, Resulting Numbers: [2, 22]
Generated Node #0,3,2: 11:[2, 22] Operation: 54-32=22
Moving to Node #0,3,2
Current State: 11:[2, 22], Operations: ['70-68=2', '54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
28,
84,
12,
98
] | 14
|
[
"84+12=96",
"98-96=2",
"28/2=14"
] |
Current State: 14:[28, 84, 12, 98], Operations: []
Exploring Operation: 84+12=96, Resulting Numbers: [28, 98, 96]
Generated Node #2: [28, 98, 96] from Operation: 84+12=96
Current State: 14:[28, 98, 96], Operations: ['84+12=96']
Exploring Operation: 98-96=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 98-96=2
Current State: 14:[28, 2], Operations: ['84+12=96', '98-96=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[28, 84, 12, 98], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [28, 12, 14]
Generated Node #0,0: 14:[28, 12, 14] Operation: 98-84=14
Moving to Node #0,0
Current State: 14:[28, 12, 14], Operations: ['98-84=14']
Exploring Operation: 28-12=16, Resulting Numbers: [14, 16]
Generated Node #0,0,0: 14:[14, 16] Operation: 28-12=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[14, 16], Operations: ['98-84=14', '28-12=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
17,
9,
29,
1
] | 56
|
[
"17+9=26",
"29+1=30",
"26+30=56"
] |
Current State: 56:[17, 9, 29, 1], Operations: []
Exploring Operation: 17+9=26, Resulting Numbers: [29, 1, 26]
Generated Node #2: [29, 1, 26] from Operation: 17+9=26
Current State: 56:[29, 1, 26], Operations: ['17+9=26']
Exploring Operation: 29+1=30, Resulting Numbers: [26, 30]
Generated Node #3: [26, 30] from Operation: 29+1=30
Current State: 56:[26, 30], Operations: ['17+9=26', '29+1=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[17, 9, 29, 1], Operations: []
Exploring Operation: 17-9=8, Resulting Numbers: [29, 1, 8]
Generated Node #0,0: 56:[29, 1, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [29, 1, 26]
Generated Node #0,1: 56:[29, 1, 26] Operation: 17+9=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[29, 1, 8], Operations: ['17-9=8']
Exploring Operation: 29*1=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 56:[8, 29] Operation: 29*1=29
Exploring Operation: 29-1=28, Resulting Numbers: [8, 28]
Generated Node #0,0,1: 56:[8, 28] Operation: 29-1=28
Moving to Node #0,0,1
Current State: 56:[8, 28], Operations: ['17-9=8', '29-1=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[8, 29], Operations: ['17-9=8', '29*1=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[29, 1, 26], Operations: ['17+9=26']
Exploring Operation: 29+26=55, Resulting Numbers: [1, 55]
Generated Node #0,1,0: 56:[1, 55] Operation: 29+26=55
Exploring Operation: 29-1=28, Resulting Numbers: [26, 28]
Generated Node #0,1,1: 56:[26, 28] Operation: 29-1=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[1, 55], Operations: ['17+9=26', '29+26=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[17, 9, 29, 1], Operations: []
Exploring Operation: 17+9=26, Resulting Numbers: [29, 1, 26]
Generated Node #0,1: 56:[29, 1, 26] Operation: 17+9=26
Moving to Node #0,1
Current State: 56:[29, 1, 26], Operations: ['17+9=26']
Exploring Operation: 29+26=55, Resulting Numbers: [1, 55]
Generated Node #0,1,0: 56:[1, 55] Operation: 29+26=55
Moving to Node #0,1,0
Current State: 56:[1, 55], Operations: ['17+9=26', '29+26=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
sum_heuristic
|
[
24,
16,
48,
74
] | 66
|
[
"24+16=40",
"74-48=26",
"40+26=66"
] |
Current State: 66:[24, 16, 48, 74], Operations: []
Exploring Operation: 24+16=40, Resulting Numbers: [48, 74, 40]
Generated Node #2: [48, 74, 40] from Operation: 24+16=40
Current State: 66:[48, 74, 40], Operations: ['24+16=40']
Exploring Operation: 74-48=26, Resulting Numbers: [40, 26]
Generated Node #3: [40, 26] from Operation: 74-48=26
Current State: 66:[40, 26], Operations: ['24+16=40', '74-48=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[24, 16, 48, 74], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [24, 74, 3]
Generated Node #0,0: 66:[24, 74, 3] Operation: 48/16=3
Exploring Operation: 74-48=26, Resulting Numbers: [24, 16, 26]
Generated Node #0,1: 66:[24, 16, 26] Operation: 74-48=26
Exploring Operation: 48-16=32, Resulting Numbers: [24, 74, 32]
Generated Node #0,2: 66:[24, 74, 32] Operation: 48-16=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[24, 74, 3], Operations: ['48/16=3']
Exploring Operation: 24-3=21, Resulting Numbers: [74, 21]
Generated Node #0,0,0: 66:[74, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [74, 8]
Generated Node #0,0,1: 66:[74, 8] Operation: 24/3=8
Exploring Operation: 74-3=71, Resulting Numbers: [24, 71]
Generated Node #0,0,2: 66:[24, 71] Operation: 74-3=71
Moving to Node #0,0,2
Current State: 66:[24, 71], Operations: ['48/16=3', '74-3=71']
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,66 unequal: No Solution
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[74, 21], Operations: ['48/16=3', '24-3=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,66 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[74, 8], Operations: ['48/16=3', '24/3=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,66 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[24, 16, 48, 74], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [24, 74, 3]
Generated Node #0,0: 66:[24, 74, 3] Operation: 48/16=3
Moving to Node #0,0
Current State: 66:[24, 74, 3], Operations: ['48/16=3']
Exploring Operation: 24/3=8, Resulting Numbers: [74, 8]
Generated Node #0,0,1: 66:[74, 8] Operation: 24/3=8
Moving to Node #0,0,1
Current State: 66:[74, 8], Operations: ['48/16=3', '24/3=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_3
|
sum_heuristic
|
[
34,
81,
2,
78
] | 96
|
[
"34-2=32",
"81-78=3",
"32*3=96"
] |
Current State: 96:[34, 81, 2, 78], Operations: []
Exploring Operation: 34-2=32, Resulting Numbers: [81, 78, 32]
Generated Node #2: [81, 78, 32] from Operation: 34-2=32
Current State: 96:[81, 78, 32], Operations: ['34-2=32']
Exploring Operation: 81-78=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 81-78=3
Current State: 96:[32, 3], Operations: ['34-2=32', '81-78=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[34, 81, 2, 78], Operations: []
Exploring Operation: 78-34=44, Resulting Numbers: [81, 2, 44]
Generated Node #0,0: 96:[81, 2, 44] Operation: 78-34=44
Exploring Operation: 81-34=47, Resulting Numbers: [2, 78, 47]
Generated Node #0,1: 96:[2, 78, 47] Operation: 81-34=47
Exploring Operation: 81-78=3, Resulting Numbers: [34, 2, 3]
Generated Node #0,2: 96:[34, 2, 3] Operation: 81-78=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[34, 2, 3], Operations: ['81-78=3']
Exploring Operation: 34-3=31, Resulting Numbers: [2, 31]
Generated Node #0,2,0: 96:[2, 31] Operation: 34-3=31
Exploring Operation: 34-2=32, Resulting Numbers: [3, 32]
Generated Node #0,2,1: 96:[3, 32] Operation: 34-2=32
Exploring Operation: 34/2=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 96:[3, 17] Operation: 34/2=17
Moving to Node #0,2,1
Current State: 96:[3, 32], Operations: ['81-78=3', '34-2=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[34, 81, 2, 78], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [34, 2, 3]
Generated Node #0,2: 96:[34, 2, 3] Operation: 81-78=3
Moving to Node #0,2
Current State: 96:[34, 2, 3], Operations: ['81-78=3']
Exploring Operation: 34-2=32, Resulting Numbers: [3, 32]
Generated Node #0,2,1: 96:[3, 32] Operation: 34-2=32
Moving to Node #0,2,1
Current State: 96:[3, 32], Operations: ['81-78=3', '34-2=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
mult_heuristic
|
[
64,
39,
54,
39
] | 54
|
[
"39-39=0",
"64*0=0",
"54+0=54"
] |
Current State: 54:[64, 39, 54, 39], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [64, 54, 0]
Generated Node #2: [64, 54, 0] from Operation: 39-39=0
Current State: 54:[64, 54, 0], Operations: ['39-39=0']
Exploring Operation: 64*0=0, Resulting Numbers: [54, 0]
Generated Node #3: [54, 0] from Operation: 64*0=0
Current State: 54:[54, 0], Operations: ['39-39=0', '64*0=0']
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[64, 39, 54, 39], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [64, 54, 1]
Generated Node #0,0: 54:[64, 54, 1] Operation: 39/39=1
Exploring Operation: 39-39=0, Resulting Numbers: [64, 54, 0]
Generated Node #0,1: 54:[64, 54, 0] Operation: 39-39=0
Moving to Node #0,0
Current State: 54:[64, 54, 1], Operations: ['39/39=1']
Exploring Operation: 64-1=63, Resulting Numbers: [54, 63]
Generated Node #0,0,0: 54:[54, 63] Operation: 64-1=63
Exploring Operation: 64-54=10, Resulting Numbers: [1, 10]
Generated Node #0,0,1: 54:[1, 10] Operation: 64-54=10
Moving to Node #0,1
Current State: 54:[64, 54, 0], Operations: ['39-39=0']
Exploring Operation: 64-54=10, Resulting Numbers: [0, 10]
Generated Node #0,1,0: 54:[0, 10] Operation: 64-54=10
Exploring Operation: 64*0=0, Resulting Numbers: [54, 0]
Generated Node #0,1,1: 54:[54, 0] Operation: 64*0=0
Moving to Node #0,0,1
Current State: 54:[1, 10], Operations: ['39/39=1', '64-54=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[54, 0], Operations: ['39-39=0', '64*0=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[64, 39, 54, 39], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [64, 54, 0]
Generated Node #0,1: 54:[64, 54, 0] Operation: 39-39=0
Moving to Node #0,1
Current State: 54:[64, 54, 0], Operations: ['39-39=0']
Exploring Operation: 64*0=0, Resulting Numbers: [54, 0]
Generated Node #0,1,1: 54:[54, 0] Operation: 64*0=0
Moving to Node #0,1,1
Current State: 54:[54, 0], Operations: ['39-39=0', '64*0=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.988715
|
hs_2
|
sum_heuristic
|
[
55,
68,
57,
36
] | 80
|
[
"68-55=13",
"57+36=93",
"93-13=80"
] |
Current State: 80:[55, 68, 57, 36], Operations: []
Exploring Operation: 68-55=13, Resulting Numbers: [57, 36, 13]
Generated Node #2: [57, 36, 13] from Operation: 68-55=13
Current State: 80:[57, 36, 13], Operations: ['68-55=13']
Exploring Operation: 57+36=93, Resulting Numbers: [13, 93]
Generated Node #3: [13, 93] from Operation: 57+36=93
Current State: 80:[13, 93], Operations: ['68-55=13', '57+36=93']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[55, 68, 57, 36], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [55, 36, 11]
Generated Node #0,0: 80:[55, 36, 11] Operation: 68-57=11
Exploring Operation: 57-55=2, Resulting Numbers: [68, 36, 2]
Generated Node #0,1: 80:[68, 36, 2] Operation: 57-55=2
Exploring Operation: 68-55=13, Resulting Numbers: [57, 36, 13]
Generated Node #0,2: 80:[57, 36, 13] Operation: 68-55=13
Moving to Node #0,1
Current State: 80:[68, 36, 2], Operations: ['57-55=2']
Exploring Operation: 68+2=70, Resulting Numbers: [36, 70]
Generated Node #0,1,0: 80:[36, 70] Operation: 68+2=70
Exploring Operation: 68/2=34, Resulting Numbers: [36, 34]
Generated Node #0,1,1: 80:[36, 34] Operation: 68/2=34
Exploring Operation: 68-36=32, Resulting Numbers: [2, 32]
Generated Node #0,1,2: 80:[2, 32] Operation: 68-36=32
Moving to Node #0,0
Current State: 80:[55, 36, 11], Operations: ['68-57=11']
Exploring Operation: 55-36=19, Resulting Numbers: [11, 19]
Generated Node #0,0,0: 80:[11, 19] Operation: 55-36=19
Exploring Operation: 55/11=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 80:[36, 5] Operation: 55/11=5
Exploring Operation: 55-11=44, Resulting Numbers: [36, 44]
Generated Node #0,0,2: 80:[36, 44] Operation: 55-11=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[11, 19], Operations: ['68-57=11', '55-36=19']
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,80 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[36, 5], Operations: ['68-57=11', '55/11=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[36, 44], Operations: ['68-57=11', '55-11=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[55, 68, 57, 36], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [55, 36, 11]
Generated Node #0,0: 80:[55, 36, 11] Operation: 68-57=11
Moving to Node #0,0
Current State: 80:[55, 36, 11], Operations: ['68-57=11']
Exploring Operation: 55-11=44, Resulting Numbers: [36, 44]
Generated Node #0,0,2: 80:[36, 44] Operation: 55-11=44
Moving to Node #0,0,2
Current State: 80:[36, 44], Operations: ['68-57=11', '55-11=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639
|
hs_3
|
mult_heuristic
|
[
79,
43,
87,
51
] | 16
|
[
"79+43=122",
"87+51=138",
"138-122=16"
] |
Current State: 16:[79, 43, 87, 51], Operations: []
Exploring Operation: 79+43=122, Resulting Numbers: [87, 51, 122]
Generated Node #2: [87, 51, 122] from Operation: 79+43=122
Current State: 16:[87, 51, 122], Operations: ['79+43=122']
Exploring Operation: 87+51=138, Resulting Numbers: [122, 138]
Generated Node #3: [122, 138] from Operation: 87+51=138
Current State: 16:[122, 138], Operations: ['79+43=122', '87+51=138']
Exploring Operation: 138-122=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[79, 43, 87, 51], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [43, 87, 28]
Generated Node #0,0: 16:[43, 87, 28] Operation: 79-51=28
Exploring Operation: 87-79=8, Resulting Numbers: [43, 51, 8]
Generated Node #0,1: 16:[43, 51, 8] Operation: 87-79=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[43, 51, 8], Operations: ['87-79=8']
Exploring Operation: 43-8=35, Resulting Numbers: [51, 35]
Generated Node #0,1,0: 16:[51, 35] Operation: 43-8=35
Exploring Operation: 51-43=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 16:[8, 8] Operation: 51-43=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[8, 8], Operations: ['87-79=8', '51-43=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[79, 43, 87, 51], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [43, 51, 8]
Generated Node #0,1: 16:[43, 51, 8] Operation: 87-79=8
Moving to Node #0,1
Current State: 16:[43, 51, 8], Operations: ['87-79=8']
Exploring Operation: 51-43=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 16:[8, 8] Operation: 51-43=8
Moving to Node #0,1,1
Current State: 16:[8, 8], Operations: ['87-79=8', '51-43=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
sum_heuristic
|
[
13,
11,
10,
34
] | 63
|
[
"13+34=47",
"11*10=110",
"110-47=63"
] |
Current State: 63:[13, 11, 10, 34], Operations: []
Exploring Operation: 13+34=47, Resulting Numbers: [11, 10, 47]
Generated Node #2: [11, 10, 47] from Operation: 13+34=47
Current State: 63:[11, 10, 47], Operations: ['13+34=47']
Exploring Operation: 11*10=110, Resulting Numbers: [47, 110]
Generated Node #3: [47, 110] from Operation: 11*10=110
Current State: 63:[47, 110], Operations: ['13+34=47', '11*10=110']
Exploring Operation: 110-47=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[13, 11, 10, 34], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [10, 34, 2]
Generated Node #0,0: 63:[10, 34, 2] Operation: 13-11=2
Exploring Operation: 34-10=24, Resulting Numbers: [13, 11, 24]
Generated Node #0,1: 63:[13, 11, 24] Operation: 34-10=24
Exploring Operation: 34-11=23, Resulting Numbers: [13, 10, 23]
Generated Node #0,2: 63:[13, 10, 23] Operation: 34-11=23
Exploring Operation: 34-13=21, Resulting Numbers: [11, 10, 21]
Generated Node #0,3: 63:[11, 10, 21] Operation: 34-13=21
Exploring Operation: 13-10=3, Resulting Numbers: [11, 34, 3]
Generated Node #0,4: 63:[11, 34, 3] Operation: 13-10=3
Moving to Node #0,3
Current State: 63:[11, 10, 21], Operations: ['34-13=21']
Exploring Operation: 11+21=32, Resulting Numbers: [10, 32]
Generated Node #0,3,0: 63:[10, 32] Operation: 11+21=32
Exploring Operation: 11-10=1, Resulting Numbers: [21, 1]
Generated Node #0,3,1: 63:[21, 1] Operation: 11-10=1
Exploring Operation: 21-10=11, Resulting Numbers: [11, 11]
Generated Node #0,3,2: 63:[11, 11] Operation: 21-10=11
Exploring Operation: 11+10=21, Resulting Numbers: [21, 21]
Generated Node #0,3,3: 63:[21, 21] Operation: 11+10=21
Exploring Operation: 21-11=10, Resulting Numbers: [10, 10]
Generated Node #0,3,4: 63:[10, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[21, 21], Operations: ['34-13=21', '11+10=21']
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,63 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,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,3,1
Current State: 63:[21, 1], Operations: ['34-13=21', '11-10=1']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,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,3,4
Current State: 63:[10, 10], Operations: ['34-13=21', '21-11=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,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,3,2
Current State: 63:[11, 11], Operations: ['34-13=21', '21-10=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,63 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,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,3,0
Current State: 63:[10, 32], Operations: ['34-13=21', '11+21=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,63 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,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:[13, 10, 23], Operations: ['34-11=23']
Exploring Operation: 13+23=36, Resulting Numbers: [10, 36]
Generated Node #0,2,0: 63:[10, 36] Operation: 13+23=36
Exploring Operation: 23-13=10, Resulting Numbers: [10, 10]
Generated Node #0,2,1: 63:[10, 10] Operation: 23-13=10
Exploring Operation: 23-10=13, Resulting Numbers: [13, 13]
Generated Node #0,2,2: 63:[13, 13] Operation: 23-10=13
Exploring Operation: 13+10=23, Resulting Numbers: [23, 23]
Generated Node #0,2,3: 63:[23, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [23, 3]
Generated Node #0,2,4: 63:[23, 3] Operation: 13-10=3
Moving to Node #0,1
Current State: 63:[13, 11, 24], Operations: ['34-10=24']
Exploring Operation: 13+11=24, Resulting Numbers: [24, 24]
Generated Node #0,1,0: 63:[24, 24] Operation: 13+11=24
Exploring Operation: 13-11=2, Resulting Numbers: [24, 2]
Generated Node #0,1,1: 63:[24, 2] Operation: 13-11=2
Exploring Operation: 24-11=13, Resulting Numbers: [13, 13]
Generated Node #0,1,2: 63:[13, 13] Operation: 24-11=13
Exploring Operation: 24-13=11, Resulting Numbers: [11, 11]
Generated Node #0,1,3: 63:[11, 11] Operation: 24-13=11
Exploring Operation: 13+24=37, Resulting Numbers: [11, 37]
Generated Node #0,1,4: 63:[11, 37] Operation: 13+24=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[24, 2], Operations: ['34-10=24', '13-11=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,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,3
Current State: 63:[11, 11], Operations: ['34-10=24', '24-13=11']
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,63 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,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:[24, 24], Operations: ['34-10=24', '13+11=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,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:[13, 13], Operations: ['34-10=24', '24-11=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,63 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,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,4
Current State: 63:[11, 37], Operations: ['34-10=24', '13+24=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,63 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: 63:[10, 34, 2], Operations: ['13-11=2']
Exploring Operation: 34/2=17, Resulting Numbers: [10, 17]
Generated Node #0,0,0: 63:[10, 17] Operation: 34/2=17
Exploring Operation: 34*2=68, Resulting Numbers: [10, 68]
Generated Node #0,0,1: 63:[10, 68] Operation: 34*2=68
Exploring Operation: 34-10=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 63:[2, 24] Operation: 34-10=24
Exploring Operation: 34-2=32, Resulting Numbers: [10, 32]
Generated Node #0,0,3: 63:[10, 32] Operation: 34-2=32
Exploring Operation: 10*2=20, Resulting Numbers: [34, 20]
Generated Node #0,0,4: 63:[34, 20] Operation: 10*2=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[2, 24], Operations: ['13-11=2', '34-10=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,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,0,0
Current State: 63:[10, 17], Operations: ['13-11=2', '34/2=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,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,0,1
Current State: 63:[10, 68], Operations: ['13-11=2', '34*2=68']
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,63 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,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,0,3
Current State: 63:[10, 32], Operations: ['13-11=2', '34-2=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,63 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,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,0,4
Current State: 63:[34, 20], Operations: ['13-11=2', '10*2=20']
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,63 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,63 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: 63:[11, 34, 3], Operations: ['13-10=3']
Exploring Operation: 11+34=45, Resulting Numbers: [3, 45]
Generated Node #0,4,0: 63:[3, 45] Operation: 11+34=45
Exploring Operation: 34-3=31, Resulting Numbers: [11, 31]
Generated Node #0,4,1: 63:[11, 31] Operation: 34-3=31
Exploring Operation: 11-3=8, Resulting Numbers: [34, 8]
Generated Node #0,4,2: 63:[34, 8] Operation: 11-3=8
Exploring Operation: 34-11=23, Resulting Numbers: [3, 23]
Generated Node #0,4,3: 63:[3, 23] Operation: 34-11=23
Exploring Operation: 11+3=14, Resulting Numbers: [34, 14]
Generated Node #0,4,4: 63:[34, 14] Operation: 11+3=14
Moving to Node #0,2,1
Current State: 63:[10, 10], Operations: ['34-11=23', '23-13=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[3, 23], Operations: ['13-10=3', '34-11=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[23, 3], Operations: ['34-11=23', '13-10=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[23, 23], Operations: ['34-11=23', '13+10=23']
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,63 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[13, 13], Operations: ['34-11=23', '23-10=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,63 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[11, 31], Operations: ['13-10=3', '34-3=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,63 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[34, 8], Operations: ['13-10=3', '11-3=8']
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,63 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[10, 36], Operations: ['34-11=23', '13+23=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,63 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[3, 45], Operations: ['13-10=3', '11+34=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[34, 14], Operations: ['13-10=3', '11+3=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,63 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
30,
42,
27,
36
] | 21
|
[
"42-30=12",
"36-27=9",
"12+9=21"
] |
Current State: 21:[30, 42, 27, 36], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [27, 36, 12]
Generated Node #2: [27, 36, 12] from Operation: 42-30=12
Current State: 21:[27, 36, 12], Operations: ['42-30=12']
Exploring Operation: 36-27=9, Resulting Numbers: [12, 9]
Generated Node #3: [12, 9] from Operation: 36-27=9
Current State: 21:[12, 9], Operations: ['42-30=12', '36-27=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[30, 42, 27, 36], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [42, 27, 6]
Generated Node #0,0: 21:[42, 27, 6] Operation: 36-30=6
Exploring Operation: 42-30=12, Resulting Numbers: [27, 36, 12]
Generated Node #0,1: 21:[27, 36, 12] Operation: 42-30=12
Exploring Operation: 42-36=6, Resulting Numbers: [30, 27, 6]
Generated Node #0,2: 21:[30, 27, 6] Operation: 42-36=6
Exploring Operation: 42-27=15, Resulting Numbers: [30, 36, 15]
Generated Node #0,3: 21:[30, 36, 15] Operation: 42-27=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[30, 27, 6], Operations: ['42-36=6']
Exploring Operation: 30-27=3, Resulting Numbers: [6, 3]
Generated Node #0,2,0: 21:[6, 3] Operation: 30-27=3
Exploring Operation: 30/6=5, Resulting Numbers: [27, 5]
Generated Node #0,2,1: 21:[27, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [27, 24]
Generated Node #0,2,2: 21:[27, 24] Operation: 30-6=24
Exploring Operation: 27-6=21, Resulting Numbers: [30, 21]
Generated Node #0,2,3: 21:[30, 21] Operation: 27-6=21
Moving to Node #0,2,0
Current State: 21:[6, 3], Operations: ['42-36=6', '30-27=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[27, 5], Operations: ['42-36=6', '30/6=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,21 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[30, 21], Operations: ['42-36=6', '27-6=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,21 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[27, 24], Operations: ['42-36=6', '30-6=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,21 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[27, 36, 12], Operations: ['42-30=12']
Exploring Operation: 27-12=15, Resulting Numbers: [36, 15]
Generated Node #0,1,0: 21:[36, 15] Operation: 27-12=15
Exploring Operation: 36-12=24, Resulting Numbers: [27, 24]
Generated Node #0,1,1: 21:[27, 24] Operation: 36-12=24
Exploring Operation: 36-27=9, Resulting Numbers: [12, 9]
Generated Node #0,1,2: 21:[12, 9] Operation: 36-27=9
Exploring Operation: 36/12=3, Resulting Numbers: [27, 3]
Generated Node #0,1,3: 21:[27, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[27, 3], Operations: ['42-30=12', '36/12=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[12, 9], Operations: ['42-30=12', '36-27=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[30, 42, 27, 36], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [27, 36, 12]
Generated Node #0,1: 21:[27, 36, 12] Operation: 42-30=12
Moving to Node #0,1
Current State: 21:[27, 36, 12], Operations: ['42-30=12']
Exploring Operation: 36-27=9, Resulting Numbers: [12, 9]
Generated Node #0,1,2: 21:[12, 9] Operation: 36-27=9
Moving to Node #0,1,2
Current State: 21:[12, 9], Operations: ['42-30=12', '36-27=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486
|
hs_4
|
sum_heuristic
|
[
95,
34,
90,
17
] | 22
|
[
"95+34=129",
"90+17=107",
"129-107=22"
] |
Current State: 22:[95, 34, 90, 17], Operations: []
Exploring Operation: 95+34=129, Resulting Numbers: [90, 17, 129]
Generated Node #2: [90, 17, 129] from Operation: 95+34=129
Current State: 22:[90, 17, 129], Operations: ['95+34=129']
Exploring Operation: 90+17=107, Resulting Numbers: [129, 107]
Generated Node #3: [129, 107] from Operation: 90+17=107
Current State: 22:[129, 107], Operations: ['95+34=129', '90+17=107']
Exploring Operation: 129-107=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[95, 34, 90, 17], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [90, 17, 61]
Generated Node #0,0: 22:[90, 17, 61] Operation: 95-34=61
Exploring Operation: 95-90=5, Resulting Numbers: [34, 17, 5]
Generated Node #0,1: 22:[34, 17, 5] Operation: 95-90=5
Exploring Operation: 90-34=56, Resulting Numbers: [95, 17, 56]
Generated Node #0,2: 22:[95, 17, 56] Operation: 90-34=56
Moving to Node #0,1
Current State: 22:[34, 17, 5], Operations: ['95-90=5']
Exploring Operation: 34-17=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 22:[5, 17] Operation: 34-17=17
Exploring Operation: 34-5=29, Resulting Numbers: [17, 29]
Generated Node #0,1,1: 22:[17, 29] Operation: 34-5=29
Exploring Operation: 34/17=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 22:[5, 2] Operation: 34/17=2
Moving to Node #0,0
Current State: 22:[90, 17, 61], Operations: ['95-34=61']
Exploring Operation: 90-61=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 22:[17, 29] Operation: 90-61=29
Exploring Operation: 90-17=73, Resulting Numbers: [61, 73]
Generated Node #0,0,1: 22:[61, 73] Operation: 90-17=73
Exploring Operation: 61-17=44, Resulting Numbers: [90, 44]
Generated Node #0,0,2: 22:[90, 44] Operation: 61-17=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[17, 29], Operations: ['95-34=61', '90-61=29']
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,22 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,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,0,1
Current State: 22:[61, 73], Operations: ['95-34=61', '90-17=73']
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,22 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,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,0,2
Current State: 22:[90, 44], Operations: ['95-34=61', '61-17=44']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 90+44=134, Resulting Numbers: [134]
134,22 unequal: No Solution
Exploring Operation: 90*44=3960, Resulting Numbers: [3960]
3960,22 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: 22:[95, 17, 56], Operations: ['90-34=56']
Exploring Operation: 95-56=39, Resulting Numbers: [17, 39]
Generated Node #0,2,0: 22:[17, 39] Operation: 95-56=39
Exploring Operation: 56-17=39, Resulting Numbers: [95, 39]
Generated Node #0,2,1: 22:[95, 39] Operation: 56-17=39
Exploring Operation: 95-17=78, Resulting Numbers: [56, 78]
Generated Node #0,2,2: 22:[56, 78] Operation: 95-17=78
Moving to Node #0,1,2
Current State: 22:[5, 2], Operations: ['95-90=5', '34/17=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[5, 17], Operations: ['95-90=5', '34-17=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[95, 34, 90, 17], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [34, 17, 5]
Generated Node #0,1: 22:[34, 17, 5] Operation: 95-90=5
Moving to Node #0,1
Current State: 22:[34, 17, 5], Operations: ['95-90=5']
Exploring Operation: 34-17=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 22:[5, 17] Operation: 34-17=17
Moving to Node #0,1,0
Current State: 22:[5, 17], Operations: ['95-90=5', '34-17=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.974826
|
hs_3
|
mult_heuristic
|
[
99,
37,
85,
96
] | 26
|
[
"99-96=3",
"37*3=111",
"111-85=26"
] |
Current State: 26:[99, 37, 85, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [37, 85, 3]
Generated Node #2: [37, 85, 3] from Operation: 99-96=3
Current State: 26:[37, 85, 3], Operations: ['99-96=3']
Exploring Operation: 37*3=111, Resulting Numbers: [85, 111]
Generated Node #3: [85, 111] from Operation: 37*3=111
Current State: 26:[85, 111], Operations: ['99-96=3', '37*3=111']
Exploring Operation: 111-85=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[99, 37, 85, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [37, 85, 3]
Generated Node #0,0: 26:[37, 85, 3] Operation: 99-96=3
Exploring Operation: 99-85=14, Resulting Numbers: [37, 96, 14]
Generated Node #0,1: 26:[37, 96, 14] Operation: 99-85=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[37, 85, 3], Operations: ['99-96=3']
Exploring Operation: 85-37=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 26:[3, 48] Operation: 85-37=48
Exploring Operation: 37-3=34, Resulting Numbers: [85, 34]
Generated Node #0,0,1: 26:[85, 34] Operation: 37-3=34
Moving to Node #0,0,0
Current State: 26:[3, 48], Operations: ['99-96=3', '85-37=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[85, 34], Operations: ['99-96=3', '37-3=34']
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,26 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,26 unequal: No Solution
No 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: 26:[37, 96, 14], Operations: ['99-85=14']
Exploring Operation: 96-37=59, Resulting Numbers: [14, 59]
Generated Node #0,1,0: 26:[14, 59] Operation: 96-37=59
Exploring Operation: 96-14=82, Resulting Numbers: [37, 82]
Generated Node #0,1,1: 26:[37, 82] Operation: 96-14=82
Moving to Node #0,1,0
Current State: 26:[14, 59], Operations: ['99-85=14', '96-37=59']
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[37, 82], Operations: ['99-85=14', '96-14=82']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 37+82=119, Resulting Numbers: [119]
119,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
17,
19,
70,
23
] | 83
|
[
"17+19=36",
"70-23=47",
"36+47=83"
] |
Current State: 83:[17, 19, 70, 23], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [70, 23, 36]
Generated Node #2: [70, 23, 36] from Operation: 17+19=36
Current State: 83:[70, 23, 36], Operations: ['17+19=36']
Exploring Operation: 70-23=47, Resulting Numbers: [36, 47]
Generated Node #3: [36, 47] from Operation: 70-23=47
Current State: 83:[36, 47], Operations: ['17+19=36', '70-23=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[17, 19, 70, 23], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [70, 23, 36]
Generated Node #0,0: 83:[70, 23, 36] Operation: 17+19=36
Exploring Operation: 17+23=40, Resulting Numbers: [19, 70, 40]
Generated Node #0,1: 83:[19, 70, 40] Operation: 17+23=40
Moving to Node #0,0
Current State: 83:[70, 23, 36], Operations: ['17+19=36']
Exploring Operation: 70+23=93, Resulting Numbers: [36, 93]
Generated Node #0,0,0: 83:[36, 93] Operation: 70+23=93
Exploring Operation: 23+36=59, Resulting Numbers: [70, 59]
Generated Node #0,0,1: 83:[70, 59] Operation: 23+36=59
Moving to Node #0,1
Current State: 83:[19, 70, 40], Operations: ['17+23=40']
Exploring Operation: 19+70=89, Resulting Numbers: [40, 89]
Generated Node #0,1,0: 83:[40, 89] Operation: 19+70=89
Exploring Operation: 19+40=59, Resulting Numbers: [70, 59]
Generated Node #0,1,1: 83:[70, 59] Operation: 19+40=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[70, 59], Operations: ['17+23=40', '19+40=59']
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[40, 89], Operations: ['17+23=40', '19+70=89']
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 83:[70, 59], Operations: ['17+19=36', '23+36=59']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[36, 93], Operations: ['17+19=36', '70+23=93']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,83 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
63,
8,
80,
84
] | 95
|
[
"84-80=4",
"8*4=32",
"63+32=95"
] |
Current State: 95:[63, 8, 80, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [63, 8, 4]
Generated Node #2: [63, 8, 4] from Operation: 84-80=4
Current State: 95:[63, 8, 4], Operations: ['84-80=4']
Exploring Operation: 8*4=32, Resulting Numbers: [63, 32]
Generated Node #3: [63, 32] from Operation: 8*4=32
Current State: 95:[63, 32], Operations: ['84-80=4', '8*4=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[63, 8, 80, 84], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [8, 80, 21]
Generated Node #0,0: 95:[8, 80, 21] Operation: 84-63=21
Exploring Operation: 80/8=10, Resulting Numbers: [63, 84, 10]
Generated Node #0,1: 95:[63, 84, 10] Operation: 80/8=10
Exploring Operation: 84-80=4, Resulting Numbers: [63, 8, 4]
Generated Node #0,2: 95:[63, 8, 4] Operation: 84-80=4
Exploring Operation: 63+8=71, Resulting Numbers: [80, 84, 71]
Generated Node #0,3: 95:[80, 84, 71] Operation: 63+8=71
Exploring Operation: 80-63=17, Resulting Numbers: [8, 84, 17]
Generated Node #0,4: 95:[8, 84, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[8, 84, 17], Operations: ['80-63=17']
Exploring Operation: 8+84=92, Resulting Numbers: [17, 92]
Generated Node #0,4,0: 95:[17, 92] Operation: 8+84=92
Exploring Operation: 84-8=76, Resulting Numbers: [17, 76]
Generated Node #0,4,1: 95:[17, 76] Operation: 84-8=76
Exploring Operation: 8+17=25, Resulting Numbers: [84, 25]
Generated Node #0,4,2: 95:[84, 25] Operation: 8+17=25
Exploring Operation: 17-8=9, Resulting Numbers: [84, 9]
Generated Node #0,4,3: 95:[84, 9] Operation: 17-8=9
Exploring Operation: 84+17=101, Resulting Numbers: [8, 101]
Generated Node #0,4,4: 95:[8, 101] Operation: 84+17=101
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 95:[17, 92], Operations: ['80-63=17', '8+84=92']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 95:[8, 101], Operations: ['80-63=17', '84+17=101']
Exploring Operation: 8*101=808, Resulting Numbers: [808]
808,95 unequal: No Solution
Exploring Operation: 8+101=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 95:[84, 9], Operations: ['80-63=17', '17-8=9']
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 95:[84, 25], Operations: ['80-63=17', '8+17=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 95:[17, 76], Operations: ['80-63=17', '84-8=76']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,95 unequal: No Solution
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[8, 80, 21], Operations: ['84-63=21']
Exploring Operation: 8+80=88, Resulting Numbers: [21, 88]
Generated Node #0,0,0: 95:[21, 88] Operation: 8+80=88
Exploring Operation: 80/8=10, Resulting Numbers: [21, 10]
Generated Node #0,0,1: 95:[21, 10] Operation: 80/8=10
Exploring Operation: 80+21=101, Resulting Numbers: [8, 101]
Generated Node #0,0,2: 95:[8, 101] Operation: 80+21=101
Exploring Operation: 80-8=72, Resulting Numbers: [21, 72]
Generated Node #0,0,3: 95:[21, 72] Operation: 80-8=72
Exploring Operation: 21-8=13, Resulting Numbers: [80, 13]
Generated Node #0,0,4: 95:[80, 13] Operation: 21-8=13
Moving to Node #0,0,1
Current State: 95:[21, 10], Operations: ['84-63=21', '80/8=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,95 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[8, 101], Operations: ['84-63=21', '80+21=101']
Exploring Operation: 8+101=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 8*101=808, Resulting Numbers: [808]
808,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[21, 88], Operations: ['84-63=21', '8+80=88']
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 21*88=1848, Resulting Numbers: [1848]
1848,95 unequal: No Solution
Moving to Node #0,0,4
Current State: 95:[80, 13], Operations: ['84-63=21', '21-8=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,95 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[21, 72], Operations: ['84-63=21', '80-8=72']
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,95 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[63, 8, 4], Operations: ['84-80=4']
Exploring Operation: 63-8=55, Resulting Numbers: [4, 55]
Generated Node #0,2,0: 95:[4, 55] Operation: 63-8=55
Exploring Operation: 8-4=4, Resulting Numbers: [63, 4]
Generated Node #0,2,1: 95:[63, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [63, 2]
Generated Node #0,2,2: 95:[63, 2] Operation: 8/4=2
Exploring Operation: 63+8=71, Resulting Numbers: [4, 71]
Generated Node #0,2,3: 95:[4, 71] Operation: 63+8=71
Exploring Operation: 63+4=67, Resulting Numbers: [8, 67]
Generated Node #0,2,4: 95:[8, 67] Operation: 63+4=67
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[4, 71], Operations: ['84-80=4', '63+8=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,95 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 95:[8, 67], Operations: ['84-80=4', '63+4=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[63, 4], Operations: ['84-80=4', '8-4=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,95 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[63, 2], Operations: ['84-80=4', '8/4=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[4, 55], Operations: ['84-80=4', '63-8=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[63, 84, 10], Operations: ['80/8=10']
Exploring Operation: 84+10=94, Resulting Numbers: [63, 94]
Generated Node #0,1,0: 95:[63, 94] Operation: 84+10=94
Exploring Operation: 84-63=21, Resulting Numbers: [10, 21]
Generated Node #0,1,1: 95:[10, 21] Operation: 84-63=21
Exploring Operation: 84-10=74, Resulting Numbers: [63, 74]
Generated Node #0,1,2: 95:[63, 74] Operation: 84-10=74
Exploring Operation: 63-10=53, Resulting Numbers: [84, 53]
Generated Node #0,1,3: 95:[84, 53] Operation: 63-10=53
Exploring Operation: 63+10=73, Resulting Numbers: [84, 73]
Generated Node #0,1,4: 95:[84, 73] Operation: 63+10=73
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[10, 21], Operations: ['80/8=10', '84-63=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,95 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[63, 94], Operations: ['80/8=10', '84+10=94']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,95 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 95:[84, 73], Operations: ['80/8=10', '63+10=73']
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,95 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[84, 53], Operations: ['80/8=10', '63-10=53']
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 84*53=4452, Resulting Numbers: [4452]
4452,95 unequal: No Solution
Exploring Operation: 84+53=137, Resulting Numbers: [137]
137,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[63, 74], Operations: ['80/8=10', '84-10=74']
Exploring Operation: 63*74=4662, Resulting Numbers: [4662]
4662,95 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[80, 84, 71], Operations: ['63+8=71']
Exploring Operation: 84+71=155, Resulting Numbers: [80, 155]
Generated Node #0,3,0: 95:[80, 155] Operation: 84+71=155
Exploring Operation: 84-80=4, Resulting Numbers: [71, 4]
Generated Node #0,3,1: 95:[71, 4] Operation: 84-80=4
Exploring Operation: 80+71=151, Resulting Numbers: [84, 151]
Generated Node #0,3,2: 95:[84, 151] Operation: 80+71=151
Exploring Operation: 80-71=9, Resulting Numbers: [84, 9]
Generated Node #0,3,3: 95:[84, 9] Operation: 80-71=9
Exploring Operation: 84-71=13, Resulting Numbers: [80, 13]
Generated Node #0,3,4: 95:[80, 13] Operation: 84-71=13
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[84, 9], Operations: ['63+8=71', '80-71=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,95 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 95:[80, 13], Operations: ['63+8=71', '84-71=13']
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,95 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 95:[71, 4], Operations: ['63+8=71', '84-80=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,95 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[84, 151], Operations: ['63+8=71', '80+71=151']
Exploring Operation: 84+151=235, Resulting Numbers: [235]
235,95 unequal: No Solution
Exploring Operation: 151-84=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 84*151=12684, Resulting Numbers: [12684]
12684,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[80, 155], Operations: ['63+8=71', '84+71=155']
Exploring Operation: 80+155=235, Resulting Numbers: [235]
235,95 unequal: No Solution
Exploring Operation: 80*155=12400, Resulting Numbers: [12400]
12400,95 unequal: No Solution
Exploring Operation: 155-80=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
43,
6,
31,
2
] | 12
|
[
"43-6=37",
"37-31=6",
"2*6=12"
] |
Current State: 12:[43, 6, 31, 2], Operations: []
Exploring Operation: 43-6=37, Resulting Numbers: [31, 2, 37]
Generated Node #2: [31, 2, 37] from Operation: 43-6=37
Current State: 12:[31, 2, 37], Operations: ['43-6=37']
Exploring Operation: 37-31=6, Resulting Numbers: [2, 6]
Generated Node #3: [2, 6] from Operation: 37-31=6
Current State: 12:[2, 6], Operations: ['43-6=37', '37-31=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[43, 6, 31, 2], Operations: []
Exploring Operation: 43-6=37, Resulting Numbers: [31, 2, 37]
Generated Node #0,0: 12:[31, 2, 37] Operation: 43-6=37
Exploring Operation: 43-31=12, Resulting Numbers: [6, 2, 12]
Generated Node #0,1: 12:[6, 2, 12] Operation: 43-31=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[6, 2, 12], Operations: ['43-31=12']
Exploring Operation: 6*2=12, Resulting Numbers: [12, 12]
Generated Node #0,1,0: 12:[12, 12] Operation: 6*2=12
Exploring Operation: 6-2=4, Resulting Numbers: [12, 4]
Generated Node #0,1,1: 12:[12, 4] Operation: 6-2=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[12, 12], Operations: ['43-31=12', '6*2=12']
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[12, 4], Operations: ['43-31=12', '6-2=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[31, 2, 37], Operations: ['43-6=37']
Exploring Operation: 37-31=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 12:[2, 6] Operation: 37-31=6
Exploring Operation: 31-2=29, Resulting Numbers: [37, 29]
Generated Node #0,0,1: 12:[37, 29] Operation: 31-2=29
Moving to Node #0,0,0
Current State: 12:[2, 6], Operations: ['43-6=37', '37-31=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[43, 6, 31, 2], Operations: []
Exploring Operation: 43-6=37, Resulting Numbers: [31, 2, 37]
Generated Node #0,0: 12:[31, 2, 37] Operation: 43-6=37
Moving to Node #0,0
Current State: 12:[31, 2, 37], Operations: ['43-6=37']
Exploring Operation: 37-31=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 12:[2, 6] Operation: 37-31=6
Moving to Node #0,0,0
Current State: 12:[2, 6], Operations: ['43-6=37', '37-31=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
mult_heuristic
|
[
20,
80,
50,
93
] | 91
|
[
"20+80=100",
"100/50=2",
"93-2=91"
] |
Current State: 91:[20, 80, 50, 93], Operations: []
Exploring Operation: 20+80=100, Resulting Numbers: [50, 93, 100]
Generated Node #2: [50, 93, 100] from Operation: 20+80=100
Current State: 91:[50, 93, 100], Operations: ['20+80=100']
Exploring Operation: 100/50=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 100/50=2
Current State: 91:[93, 2], Operations: ['20+80=100', '100/50=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[20, 80, 50, 93], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [20, 93, 30]
Generated Node #0,0: 91:[20, 93, 30] Operation: 80-50=30
Moving to Node #0,0
Current State: 91:[20, 93, 30], Operations: ['80-50=30']
Exploring Operation: 30-20=10, Resulting Numbers: [93, 10]
Generated Node #0,0,0: 91:[93, 10] Operation: 30-20=10
Moving to Node #0,0,0
Current State: 91:[93, 10], Operations: ['80-50=30', '30-20=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
18,
80,
11,
57
] | 61
|
[
"18*11=198",
"80+57=137",
"198-137=61"
] |
Current State: 61:[18, 80, 11, 57], Operations: []
Exploring Operation: 18*11=198, Resulting Numbers: [80, 57, 198]
Generated Node #2: [80, 57, 198] from Operation: 18*11=198
Current State: 61:[80, 57, 198], Operations: ['18*11=198']
Exploring Operation: 80+57=137, Resulting Numbers: [198, 137]
Generated Node #3: [198, 137] from Operation: 80+57=137
Current State: 61:[198, 137], Operations: ['18*11=198', '80+57=137']
Exploring Operation: 198-137=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[18, 80, 11, 57], Operations: []
Exploring Operation: 11+57=68, Resulting Numbers: [18, 80, 68]
Generated Node #0,0: 61:[18, 80, 68] Operation: 11+57=68
Exploring Operation: 80-18=62, Resulting Numbers: [11, 57, 62]
Generated Node #0,1: 61:[11, 57, 62] Operation: 80-18=62
Exploring Operation: 80-11=69, Resulting Numbers: [18, 57, 69]
Generated Node #0,2: 61:[18, 57, 69] Operation: 80-11=69
Exploring Operation: 18+11=29, Resulting Numbers: [80, 57, 29]
Generated Node #0,3: 61:[80, 57, 29] Operation: 18+11=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[11, 57, 62], Operations: ['80-18=62']
Exploring Operation: 11+57=68, Resulting Numbers: [62, 68]
Generated Node #0,1,0: 61:[62, 68] Operation: 11+57=68
Exploring Operation: 11+62=73, Resulting Numbers: [57, 73]
Generated Node #0,1,1: 61:[57, 73] Operation: 11+62=73
Exploring Operation: 57-11=46, Resulting Numbers: [62, 46]
Generated Node #0,1,2: 61:[62, 46] Operation: 57-11=46
Exploring Operation: 62-11=51, Resulting Numbers: [57, 51]
Generated Node #0,1,3: 61:[57, 51] Operation: 62-11=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[62, 68], Operations: ['80-18=62', '11+57=68']
Exploring Operation: 62+68=130, Resulting Numbers: [130]
130,61 unequal: No Solution
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 62*68=4216, Resulting Numbers: [4216]
4216,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[57, 51], Operations: ['80-18=62', '62-11=51']
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[57, 73], Operations: ['80-18=62', '11+62=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,61 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[62, 46], Operations: ['80-18=62', '57-11=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,61 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[18, 57, 69], Operations: ['80-11=69']
Exploring Operation: 57-18=39, Resulting Numbers: [69, 39]
Generated Node #0,2,0: 61:[69, 39] Operation: 57-18=39
Exploring Operation: 18+69=87, Resulting Numbers: [57, 87]
Generated Node #0,2,1: 61:[57, 87] Operation: 18+69=87
Exploring Operation: 18+57=75, Resulting Numbers: [69, 75]
Generated Node #0,2,2: 61:[69, 75] Operation: 18+57=75
Exploring Operation: 69-18=51, Resulting Numbers: [57, 51]
Generated Node #0,2,3: 61:[57, 51] Operation: 69-18=51
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[57, 51], Operations: ['80-11=69', '69-18=51']
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,61 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[69, 75], Operations: ['80-11=69', '18+57=75']
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,61 unequal: No Solution
Exploring Operation: 69*75=5175, Resulting Numbers: [5175]
5175,61 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[69, 39], Operations: ['80-11=69', '57-18=39']
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,61 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[57, 87], Operations: ['80-11=69', '18+69=87']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 57*87=4959, Resulting Numbers: [4959]
4959,61 unequal: No Solution
Exploring Operation: 57+87=144, Resulting Numbers: [144]
144,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[80, 57, 29], Operations: ['18+11=29']
Exploring Operation: 57+29=86, Resulting Numbers: [80, 86]
Generated Node #0,3,0: 61:[80, 86] Operation: 57+29=86
Exploring Operation: 80+29=109, Resulting Numbers: [57, 109]
Generated Node #0,3,1: 61:[57, 109] Operation: 80+29=109
Exploring Operation: 80-29=51, Resulting Numbers: [57, 51]
Generated Node #0,3,2: 61:[57, 51] Operation: 80-29=51
Exploring Operation: 57-29=28, Resulting Numbers: [80, 28]
Generated Node #0,3,3: 61:[80, 28] Operation: 57-29=28
Moving to Node #0,3,2
Current State: 61:[57, 51], Operations: ['18+11=29', '80-29=51']
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[80, 86], Operations: ['18+11=29', '57+29=86']
Exploring Operation: 80+86=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Exploring Operation: 80*86=6880, Resulting Numbers: [6880]
6880,61 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[80, 28], Operations: ['18+11=29', '57-29=28']
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,61 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[57, 109], Operations: ['18+11=29', '80+29=109']
Exploring Operation: 57+109=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Exploring Operation: 57*109=6213, Resulting Numbers: [6213]
6213,61 unequal: No Solution
Exploring Operation: 109-57=52, Resulting Numbers: [52]
52,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[18, 80, 68], Operations: ['11+57=68']
Exploring Operation: 80-18=62, Resulting Numbers: [68, 62]
Generated Node #0,0,0: 61:[68, 62] Operation: 80-18=62
Exploring Operation: 18+80=98, Resulting Numbers: [68, 98]
Generated Node #0,0,1: 61:[68, 98] Operation: 18+80=98
Exploring Operation: 68-18=50, Resulting Numbers: [80, 50]
Generated Node #0,0,2: 61:[80, 50] Operation: 68-18=50
Exploring Operation: 18+68=86, Resulting Numbers: [80, 86]
Generated Node #0,0,3: 61:[80, 86] Operation: 18+68=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[68, 62], Operations: ['11+57=68', '80-18=62']
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,61 unequal: No Solution
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[80, 50], Operations: ['11+57=68', '68-18=50']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,61 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[68, 98], Operations: ['11+57=68', '18+80=98']
Exploring Operation: 98-68=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 68+98=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Exploring Operation: 68*98=6664, Resulting Numbers: [6664]
6664,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 61:[80, 86], Operations: ['11+57=68', '18+68=86']
Exploring Operation: 80*86=6880, Resulting Numbers: [6880]
6880,61 unequal: No Solution
Exploring Operation: 80+86=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
88,
83,
40,
56
] | 91
|
[
"88-83=5",
"40+56=96",
"96-5=91"
] |
Current State: 91:[88, 83, 40, 56], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [40, 56, 5]
Generated Node #2: [40, 56, 5] from Operation: 88-83=5
Current State: 91:[40, 56, 5], Operations: ['88-83=5']
Exploring Operation: 40+56=96, Resulting Numbers: [5, 96]
Generated Node #3: [5, 96] from Operation: 40+56=96
Current State: 91:[5, 96], Operations: ['88-83=5', '40+56=96']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4
|
Current State: 91:[88, 83, 40, 56], Operations: []
Exploring Operation: 40+56=96, Resulting Numbers: [88, 83, 96]
Generated Node #0,0: 91:[88, 83, 96] Operation: 40+56=96
Exploring Operation: 56-40=16, Resulting Numbers: [88, 83, 16]
Generated Node #0,1: 91:[88, 83, 16] Operation: 56-40=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[88, 83, 16], Operations: ['56-40=16']
Exploring Operation: 83+16=99, Resulting Numbers: [88, 99]
Generated Node #0,1,0: 91:[88, 99] Operation: 83+16=99
Exploring Operation: 88-83=5, Resulting Numbers: [16, 5]
Generated Node #0,1,1: 91:[16, 5] Operation: 88-83=5
Moving to Node #0,1,1
Current State: 91:[16, 5], Operations: ['56-40=16', '88-83=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[88, 99], Operations: ['56-40=16', '83+16=99']
Exploring Operation: 88+99=187, Resulting Numbers: [187]
187,91 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[88, 83, 96], Operations: ['40+56=96']
Exploring Operation: 88-83=5, Resulting Numbers: [96, 5]
Generated Node #0,0,0: 91:[96, 5] Operation: 88-83=5
Exploring Operation: 96-83=13, Resulting Numbers: [88, 13]
Generated Node #0,0,1: 91:[88, 13] Operation: 96-83=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[88, 13], Operations: ['40+56=96', '96-83=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[96, 5], Operations: ['40+56=96', '88-83=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[88, 83, 40, 56], Operations: []
Exploring Operation: 40+56=96, Resulting Numbers: [88, 83, 96]
Generated Node #0,0: 91:[88, 83, 96] Operation: 40+56=96
Moving to Node #0,0
Current State: 91:[88, 83, 96], Operations: ['40+56=96']
Exploring Operation: 88-83=5, Resulting Numbers: [96, 5]
Generated Node #0,0,0: 91:[96, 5] Operation: 88-83=5
Moving to Node #0,0,0
Current State: 91:[96, 5], Operations: ['40+56=96', '88-83=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243
|
hs_2
|
sum_heuristic
|
[
68,
29,
24,
76
] | 89
|
[
"29*76=2204",
"2204-68=2136",
"2136/24=89"
] |
Current State: 89:[68, 29, 24, 76], Operations: []
Exploring Operation: 29*76=2204, Resulting Numbers: [68, 24, 2204]
Generated Node #2: [68, 24, 2204] from Operation: 29*76=2204
Current State: 89:[68, 24, 2204], Operations: ['29*76=2204']
Exploring Operation: 2204-68=2136, Resulting Numbers: [24, 2136]
Generated Node #3: [24, 2136] from Operation: 2204-68=2136
Current State: 89:[24, 2136], Operations: ['29*76=2204', '2204-68=2136']
Exploring Operation: 2136/24=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4
|
Current State: 89:[68, 29, 24, 76], Operations: []
Exploring Operation: 68+29=97, Resulting Numbers: [24, 76, 97]
Generated Node #0,0: 89:[24, 76, 97] Operation: 68+29=97
Exploring Operation: 29+24=53, Resulting Numbers: [68, 76, 53]
Generated Node #0,1: 89:[68, 76, 53] Operation: 29+24=53
Exploring Operation: 68+24=92, Resulting Numbers: [29, 76, 92]
Generated Node #0,2: 89:[29, 76, 92] Operation: 68+24=92
Moving to Node #0,1
Current State: 89:[68, 76, 53], Operations: ['29+24=53']
Exploring Operation: 68+53=121, Resulting Numbers: [76, 121]
Generated Node #0,1,0: 89:[76, 121] Operation: 68+53=121
Exploring Operation: 68-53=15, Resulting Numbers: [76, 15]
Generated Node #0,1,1: 89:[76, 15] Operation: 68-53=15
Exploring Operation: 76+53=129, Resulting Numbers: [68, 129]
Generated Node #0,1,2: 89:[68, 129] Operation: 76+53=129
Moving to Node #0,2
Current State: 89:[29, 76, 92], Operations: ['68+24=92']
Exploring Operation: 92-29=63, Resulting Numbers: [76, 63]
Generated Node #0,2,0: 89:[76, 63] Operation: 92-29=63
Exploring Operation: 76-29=47, Resulting Numbers: [92, 47]
Generated Node #0,2,1: 89:[92, 47] Operation: 76-29=47
Exploring Operation: 29+76=105, Resulting Numbers: [92, 105]
Generated Node #0,2,2: 89:[92, 105] Operation: 29+76=105
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[92, 105], Operations: ['68+24=92', '29+76=105']
Exploring Operation: 105-92=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 92*105=9660, Resulting Numbers: [9660]
9660,89 unequal: No Solution
Exploring Operation: 92+105=197, Resulting Numbers: [197]
197,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[76, 63], Operations: ['68+24=92', '92-29=63']
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,89 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[92, 47], Operations: ['68+24=92', '76-29=47']
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,89 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: 89:[24, 76, 97], Operations: ['68+29=97']
Exploring Operation: 24+76=100, Resulting Numbers: [97, 100]
Generated Node #0,0,0: 89:[97, 100] Operation: 24+76=100
Exploring Operation: 76-24=52, Resulting Numbers: [97, 52]
Generated Node #0,0,1: 89:[97, 52] Operation: 76-24=52
Exploring Operation: 97-24=73, Resulting Numbers: [76, 73]
Generated Node #0,0,2: 89:[76, 73] Operation: 97-24=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[97, 100], Operations: ['68+29=97', '24+76=100']
Exploring Operation: 97+100=197, Resulting Numbers: [197]
197,89 unequal: No Solution
Exploring Operation: 97*100=9700, Resulting Numbers: [9700]
9700,89 unequal: No Solution
Exploring Operation: 100-97=3, Resulting Numbers: [3]
3,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[76, 73], Operations: ['68+29=97', '97-24=73']
Exploring Operation: 76*73=5548, Resulting Numbers: [5548]
5548,89 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 76+73=149, Resulting Numbers: [149]
149,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[97, 52], Operations: ['68+29=97', '76-24=52']
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,89 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: 89:[76, 121], Operations: ['29+24=53', '68+53=121']
Exploring Operation: 76*121=9196, Resulting Numbers: [9196]
9196,89 unequal: No Solution
Exploring Operation: 121-76=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 76+121=197, Resulting Numbers: [197]
197,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[68, 129], Operations: ['29+24=53', '76+53=129']
Exploring Operation: 68+129=197, Resulting Numbers: [197]
197,89 unequal: No Solution
Exploring Operation: 129-68=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 68*129=8772, Resulting Numbers: [8772]
8772,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[76, 15], Operations: ['29+24=53', '68-53=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,89 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,89 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
35,
25,
87,
26
] | 53
|
[
"35+25=60",
"87+26=113",
"113-60=53"
] |
Current State: 53:[35, 25, 87, 26], Operations: []
Exploring Operation: 35+25=60, Resulting Numbers: [87, 26, 60]
Generated Node #2: [87, 26, 60] from Operation: 35+25=60
Current State: 53:[87, 26, 60], Operations: ['35+25=60']
Exploring Operation: 87+26=113, Resulting Numbers: [60, 113]
Generated Node #3: [60, 113] from Operation: 87+26=113
Current State: 53:[60, 113], Operations: ['35+25=60', '87+26=113']
Exploring Operation: 113-60=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[35, 25, 87, 26], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [35, 26, 62]
Generated Node #0,0: 53:[35, 26, 62] Operation: 87-25=62
Exploring Operation: 25+26=51, Resulting Numbers: [35, 87, 51]
Generated Node #0,1: 53:[35, 87, 51] Operation: 25+26=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[35, 26, 62], Operations: ['87-25=62']
Exploring Operation: 62-26=36, Resulting Numbers: [35, 36]
Generated Node #0,0,0: 53:[35, 36] Operation: 62-26=36
Exploring Operation: 35+26=61, Resulting Numbers: [62, 61]
Generated Node #0,0,1: 53:[62, 61] Operation: 35+26=61
Moving to Node #0,0,1
Current State: 53:[62, 61], Operations: ['87-25=62', '35+26=61']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[35, 36], Operations: ['87-25=62', '62-26=36']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[35, 87, 51], Operations: ['25+26=51']
Exploring Operation: 87-51=36, Resulting Numbers: [35, 36]
Generated Node #0,1,0: 53:[35, 36] Operation: 87-51=36
Exploring Operation: 87-35=52, Resulting Numbers: [51, 52]
Generated Node #0,1,1: 53:[51, 52] Operation: 87-35=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[51, 52], Operations: ['25+26=51', '87-35=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,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,0
Current State: 53:[35, 36], Operations: ['25+26=51', '87-51=36']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,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
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
54,
3,
99,
78
] | 93
|
[
"99-54=45",
"45/3=15",
"78+15=93"
] |
Current State: 93:[54, 3, 99, 78], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [3, 78, 45]
Generated Node #2: [3, 78, 45] from Operation: 99-54=45
Current State: 93:[3, 78, 45], Operations: ['99-54=45']
Exploring Operation: 45/3=15, Resulting Numbers: [78, 15]
Generated Node #3: [78, 15] from Operation: 45/3=15
Current State: 93:[78, 15], Operations: ['99-54=45', '45/3=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[54, 3, 99, 78], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [3, 99, 24]
Generated Node #0,0: 93:[3, 99, 24] Operation: 78-54=24
Exploring Operation: 99-54=45, Resulting Numbers: [3, 78, 45]
Generated Node #0,1: 93:[3, 78, 45] Operation: 99-54=45
Exploring Operation: 99-78=21, Resulting Numbers: [54, 3, 21]
Generated Node #0,2: 93:[54, 3, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[3, 99, 24], Operations: ['78-54=24']
Exploring Operation: 99/3=33, Resulting Numbers: [24, 33]
Generated Node #0,0,0: 93:[24, 33] Operation: 99/3=33
Exploring Operation: 99-3=96, Resulting Numbers: [24, 96]
Generated Node #0,0,1: 93:[24, 96] Operation: 99-3=96
Exploring Operation: 3+24=27, Resulting Numbers: [99, 27]
Generated Node #0,0,2: 93:[99, 27] Operation: 3+24=27
Moving to Node #0,0,0
Current State: 93:[24, 33], Operations: ['78-54=24', '99/3=33']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[24, 96], Operations: ['78-54=24', '99-3=96']
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[99, 27], Operations: ['78-54=24', '3+24=27']
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,93 unequal: No Solution
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[3, 78, 45], Operations: ['99-54=45']
Exploring Operation: 78-45=33, Resulting Numbers: [3, 33]
Generated Node #0,1,0: 93:[3, 33] Operation: 78-45=33
Exploring Operation: 78/3=26, Resulting Numbers: [45, 26]
Generated Node #0,1,1: 93:[45, 26] Operation: 78/3=26
Exploring Operation: 3+78=81, Resulting Numbers: [45, 81]
Generated Node #0,1,2: 93:[45, 81] Operation: 3+78=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[3, 33], Operations: ['99-54=45', '78-45=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[45, 26], Operations: ['99-54=45', '78/3=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,93 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 93:[45, 81], Operations: ['99-54=45', '3+78=81']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,93 unequal: No Solution
Exploring Operation: 45*81=3645, Resulting Numbers: [3645]
3645,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[54, 3, 21], Operations: ['99-78=21']
Exploring Operation: 54-21=33, Resulting Numbers: [3, 33]
Generated Node #0,2,0: 93:[3, 33] Operation: 54-21=33
Exploring Operation: 54+21=75, Resulting Numbers: [3, 75]
Generated Node #0,2,1: 93:[3, 75] Operation: 54+21=75
Exploring Operation: 54/3=18, Resulting Numbers: [21, 18]
Generated Node #0,2,2: 93:[21, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[3, 33], Operations: ['99-78=21', '54-21=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[3, 75], Operations: ['99-78=21', '54+21=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[21, 18], Operations: ['99-78=21', '54/3=18']
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,93 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
6,
3,
99,
36
] | 31
|
[
"36/6=6",
"99-6=93",
"93/3=31"
] |
Current State: 31:[6, 3, 99, 36], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [3, 99, 6]
Generated Node #2: [3, 99, 6] from Operation: 36/6=6
Current State: 31:[3, 99, 6], Operations: ['36/6=6']
Exploring Operation: 99-6=93, Resulting Numbers: [3, 93]
Generated Node #3: [3, 93] from Operation: 99-6=93
Current State: 31:[3, 93], Operations: ['36/6=6', '99-6=93']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[6, 3, 99, 36], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [6, 3, 63]
Generated Node #0,0: 31:[6, 3, 63] Operation: 99-36=63
Exploring Operation: 99/3=33, Resulting Numbers: [6, 36, 33]
Generated Node #0,1: 31:[6, 36, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[6, 36, 33], Operations: ['99/3=33']
Exploring Operation: 36-6=30, Resulting Numbers: [33, 30]
Generated Node #0,1,0: 31:[33, 30] Operation: 36-6=30
Exploring Operation: 33-6=27, Resulting Numbers: [36, 27]
Generated Node #0,1,1: 31:[36, 27] Operation: 33-6=27
Moving to Node #0,1,0
Current State: 31:[33, 30], Operations: ['99/3=33', '36-6=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[36, 27], Operations: ['99/3=33', '33-6=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[6, 3, 63], Operations: ['99-36=63']
Exploring Operation: 63/3=21, Resulting Numbers: [6, 21]
Generated Node #0,0,0: 31:[6, 21] Operation: 63/3=21
Exploring Operation: 6*3=18, Resulting Numbers: [63, 18]
Generated Node #0,0,1: 31:[63, 18] Operation: 6*3=18
Moving to Node #0,0,0
Current State: 31:[6, 21], Operations: ['99-36=63', '63/3=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[63, 18], Operations: ['99-36=63', '6*3=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,31 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
|
[
83,
68,
2,
88
] | 59
|
[
"83-68=15",
"88/2=44",
"15+44=59"
] |
Current State: 59:[83, 68, 2, 88], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [2, 88, 15]
Generated Node #2: [2, 88, 15] from Operation: 83-68=15
Current State: 59:[2, 88, 15], Operations: ['83-68=15']
Exploring Operation: 88/2=44, Resulting Numbers: [15, 44]
Generated Node #3: [15, 44] from Operation: 88/2=44
Current State: 59:[15, 44], Operations: ['83-68=15', '88/2=44']
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[83, 68, 2, 88], Operations: []
Exploring Operation: 83+2=85, Resulting Numbers: [68, 88, 85]
Generated Node #0,0: 59:[68, 88, 85] Operation: 83+2=85
Exploring Operation: 88/2=44, Resulting Numbers: [83, 68, 44]
Generated Node #0,1: 59:[83, 68, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [83, 68, 86]
Generated Node #0,2: 59:[83, 68, 86] Operation: 88-2=86
Exploring Operation: 83-2=81, Resulting Numbers: [68, 88, 81]
Generated Node #0,3: 59:[68, 88, 81] Operation: 83-2=81
Exploring Operation: 68-2=66, Resulting Numbers: [83, 88, 66]
Generated Node #0,4: 59:[83, 88, 66] Operation: 68-2=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[83, 68, 44], Operations: ['88/2=44']
Exploring Operation: 68+44=112, Resulting Numbers: [83, 112]
Generated Node #0,1,0: 59:[83, 112] Operation: 68+44=112
Exploring Operation: 68-44=24, Resulting Numbers: [83, 24]
Generated Node #0,1,1: 59:[83, 24] Operation: 68-44=24
Exploring Operation: 83-44=39, Resulting Numbers: [68, 39]
Generated Node #0,1,2: 59:[68, 39] Operation: 83-44=39
Exploring Operation: 83+44=127, Resulting Numbers: [68, 127]
Generated Node #0,1,3: 59:[68, 127] Operation: 83+44=127
Exploring Operation: 83-68=15, Resulting Numbers: [44, 15]
Generated Node #0,1,4: 59:[44, 15] Operation: 83-68=15
Moving to Node #0,1,2
Current State: 59:[68, 39], Operations: ['88/2=44', '83-44=39']
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,59 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[44, 15], Operations: ['88/2=44', '83-68=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[83, 68, 2, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [83, 68, 44]
Generated Node #0,1: 59:[83, 68, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 59:[83, 68, 44], Operations: ['88/2=44']
Exploring Operation: 83-68=15, Resulting Numbers: [44, 15]
Generated Node #0,1,4: 59:[44, 15] Operation: 83-68=15
Moving to Node #0,1,4
Current State: 59:[44, 15], Operations: ['88/2=44', '83-68=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375
|
hs_5
|
mult_heuristic
|
[
40,
85,
64,
40
] | 20
|
[
"40/40=1",
"85-64=21",
"21-1=20"
] |
Current State: 20:[40, 85, 64, 40], Operations: []
Exploring Operation: 40/40=1, Resulting Numbers: [85, 64, 1]
Generated Node #2: [85, 64, 1] from Operation: 40/40=1
Current State: 20:[85, 64, 1], Operations: ['40/40=1']
Exploring Operation: 85-64=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 85-64=21
Current State: 20:[1, 21], Operations: ['40/40=1', '85-64=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[40, 85, 64, 40], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [40, 40, 21]
Generated Node #0,0: 20:[40, 40, 21] Operation: 85-64=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[40, 40, 21], Operations: ['85-64=21']
Exploring Operation: 40/40=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 20:[21, 1] Operation: 40/40=1
Moving to Node #0,0,0
Current State: 20:[21, 1], Operations: ['85-64=21', '40/40=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[40, 85, 64, 40], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [40, 40, 21]
Generated Node #0,0: 20:[40, 40, 21] Operation: 85-64=21
Moving to Node #0,0
Current State: 20:[40, 40, 21], Operations: ['85-64=21']
Exploring Operation: 40/40=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 20:[21, 1] Operation: 40/40=1
Moving to Node #0,0,0
Current State: 20:[21, 1], Operations: ['85-64=21', '40/40=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
84,
93,
2,
99
] | 21
|
[
"84+93=177",
"2*99=198",
"198-177=21"
] |
Current State: 21:[84, 93, 2, 99], Operations: []
Exploring Operation: 84+93=177, Resulting Numbers: [2, 99, 177]
Generated Node #2: [2, 99, 177] from Operation: 84+93=177
Current State: 21:[2, 99, 177], Operations: ['84+93=177']
Exploring Operation: 2*99=198, Resulting Numbers: [177, 198]
Generated Node #3: [177, 198] from Operation: 2*99=198
Current State: 21:[177, 198], Operations: ['84+93=177', '2*99=198']
Exploring Operation: 198-177=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[84, 93, 2, 99], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [2, 99, 9]
Generated Node #0,0: 21:[2, 99, 9] Operation: 93-84=9
Exploring Operation: 99-93=6, Resulting Numbers: [84, 2, 6]
Generated Node #0,1: 21:[84, 2, 6] Operation: 99-93=6
Exploring Operation: 99-84=15, Resulting Numbers: [93, 2, 15]
Generated Node #0,2: 21:[93, 2, 15] Operation: 99-84=15
Moving to Node #0,1
Current State: 21:[84, 2, 6], Operations: ['99-93=6']
Exploring Operation: 84/6=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 21:[2, 14] Operation: 84/6=14
Exploring Operation: 84/2=42, Resulting Numbers: [6, 42]
Generated Node #0,1,1: 21:[6, 42] Operation: 84/2=42
Exploring Operation: 84-6=78, Resulting Numbers: [2, 78]
Generated Node #0,1,2: 21:[2, 78] Operation: 84-6=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[2, 14], Operations: ['99-93=6', '84/6=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[6, 42], Operations: ['99-93=6', '84/2=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[2, 78], Operations: ['99-93=6', '84-6=78']
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,21 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: 21:[93, 2, 15], Operations: ['99-84=15']
Exploring Operation: 93-2=91, Resulting Numbers: [15, 91]
Generated Node #0,2,0: 21:[15, 91] Operation: 93-2=91
Exploring Operation: 2+15=17, Resulting Numbers: [93, 17]
Generated Node #0,2,1: 21:[93, 17] Operation: 2+15=17
Exploring Operation: 93-15=78, Resulting Numbers: [2, 78]
Generated Node #0,2,2: 21:[2, 78] Operation: 93-15=78
Moving to Node #0,0
Current State: 21:[2, 99, 9], Operations: ['93-84=9']
Exploring Operation: 99-2=97, Resulting Numbers: [9, 97]
Generated Node #0,0,0: 21:[9, 97] Operation: 99-2=97
Exploring Operation: 99/9=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 21:[2, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [2, 90]
Generated Node #0,0,2: 21:[2, 90] Operation: 99-9=90
Moving to Node #0,0,1
Current State: 21:[2, 11], Operations: ['93-84=9', '99/9=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[2, 78], Operations: ['99-84=15', '93-15=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[2, 90], Operations: ['93-84=9', '99-9=90']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,21 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[93, 17], Operations: ['99-84=15', '2+15=17']
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,21 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[15, 91], Operations: ['99-84=15', '93-2=91']
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,21 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[9, 97], Operations: ['93-84=9', '99-2=97']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,21 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
30,
19,
93,
31
] | 52
|
[
"30+19=49",
"93/31=3",
"49+3=52"
] |
Current State: 52:[30, 19, 93, 31], Operations: []
Exploring Operation: 30+19=49, Resulting Numbers: [93, 31, 49]
Generated Node #2: [93, 31, 49] from Operation: 30+19=49
Current State: 52:[93, 31, 49], Operations: ['30+19=49']
Exploring Operation: 93/31=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 93/31=3
Current State: 52:[49, 3], Operations: ['30+19=49', '93/31=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[30, 19, 93, 31], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [30, 19, 3]
Generated Node #0,0: 52:[30, 19, 3] Operation: 93/31=3
Exploring Operation: 93-31=62, Resulting Numbers: [30, 19, 62]
Generated Node #0,1: 52:[30, 19, 62] Operation: 93-31=62
Exploring Operation: 93-30=63, Resulting Numbers: [19, 31, 63]
Generated Node #0,2: 52:[19, 31, 63] Operation: 93-30=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[30, 19, 3], Operations: ['93/31=3']
Exploring Operation: 30-3=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 52:[19, 27] Operation: 30-3=27
Exploring Operation: 30-19=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 52:[3, 11] Operation: 30-19=11
Exploring Operation: 30+19=49, Resulting Numbers: [3, 49]
Generated Node #0,0,2: 52:[3, 49] Operation: 30+19=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[3, 11], Operations: ['93/31=3', '30-19=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No 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: 52:[3, 49], Operations: ['93/31=3', '30+19=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[30, 19, 93, 31], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [30, 19, 3]
Generated Node #0,0: 52:[30, 19, 3] Operation: 93/31=3
Moving to Node #0,0
Current State: 52:[30, 19, 3], Operations: ['93/31=3']
Exploring Operation: 30+19=49, Resulting Numbers: [3, 49]
Generated Node #0,0,2: 52:[3, 49] Operation: 30+19=49
Moving to Node #0,0,2
Current State: 52:[3, 49], Operations: ['93/31=3', '30+19=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847
|
hs_3
|
sum_heuristic
|
[
89,
75,
28,
78
] | 39
|
[
"89-75=14",
"28/14=2",
"78/2=39"
] |
Current State: 39:[89, 75, 28, 78], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [28, 78, 14]
Generated Node #2: [28, 78, 14] from Operation: 89-75=14
Current State: 39:[28, 78, 14], Operations: ['89-75=14']
Exploring Operation: 28/14=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 28/14=2
Current State: 39:[78, 2], Operations: ['89-75=14', '28/14=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[89, 75, 28, 78], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [75, 28, 11]
Generated Node #0,0: 39:[75, 28, 11] Operation: 89-78=11
Exploring Operation: 78-75=3, Resulting Numbers: [89, 28, 3]
Generated Node #0,1: 39:[89, 28, 3] Operation: 78-75=3
Exploring Operation: 89-28=61, Resulting Numbers: [75, 78, 61]
Generated Node #0,2: 39:[75, 78, 61] Operation: 89-28=61
Exploring Operation: 89-75=14, Resulting Numbers: [28, 78, 14]
Generated Node #0,3: 39:[28, 78, 14] Operation: 89-75=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[75, 28, 11], Operations: ['89-78=11']
Exploring Operation: 75-11=64, Resulting Numbers: [28, 64]
Generated Node #0,0,0: 39:[28, 64] Operation: 75-11=64
Exploring Operation: 28+11=39, Resulting Numbers: [75, 39]
Generated Node #0,0,1: 39:[75, 39] Operation: 28+11=39
Exploring Operation: 28-11=17, Resulting Numbers: [75, 17]
Generated Node #0,0,2: 39:[75, 17] Operation: 28-11=17
Exploring Operation: 75-28=47, Resulting Numbers: [11, 47]
Generated Node #0,0,3: 39:[11, 47] Operation: 75-28=47
Moving to Node #0,0,3
Current State: 39:[11, 47], Operations: ['89-78=11', '75-28=47']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[75, 39], Operations: ['89-78=11', '28+11=39']
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[28, 64], Operations: ['89-78=11', '75-11=64']
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,39 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[75, 17], Operations: ['89-78=11', '28-11=17']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,39 unequal: No Solution
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,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:[28, 78, 14], Operations: ['89-75=14']
Exploring Operation: 78-28=50, Resulting Numbers: [14, 50]
Generated Node #0,3,0: 39:[14, 50] Operation: 78-28=50
Exploring Operation: 78-14=64, Resulting Numbers: [28, 64]
Generated Node #0,3,1: 39:[28, 64] Operation: 78-14=64
Exploring Operation: 28-14=14, Resulting Numbers: [78, 14]
Generated Node #0,3,2: 39:[78, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [78, 2]
Generated Node #0,3,3: 39:[78, 2] Operation: 28/14=2
Moving to Node #0,3,0
Current State: 39:[14, 50], Operations: ['89-75=14', '78-28=50']
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[28, 64], Operations: ['89-75=14', '78-14=64']
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,39 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[78, 2], Operations: ['89-75=14', '28/14=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[89, 75, 28, 78], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [28, 78, 14]
Generated Node #0,3: 39:[28, 78, 14] Operation: 89-75=14
Moving to Node #0,3
Current State: 39:[28, 78, 14], Operations: ['89-75=14']
Exploring Operation: 28/14=2, Resulting Numbers: [78, 2]
Generated Node #0,3,3: 39:[78, 2] Operation: 28/14=2
Moving to Node #0,3,3
Current State: 39:[78, 2], Operations: ['89-75=14', '28/14=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618
|
hs_4
|
sum_heuristic
|
[
33,
76,
3,
3
] | 69
|
[
"33*3=99",
"99-76=23",
"3*23=69"
] |
Current State: 69:[33, 76, 3, 3], Operations: []
Exploring Operation: 33*3=99, Resulting Numbers: [76, 99]
Generated Node #2: [76, 99] from Operation: 33*3=99
Current State: 69:[76, 99], Operations: ['33*3=99']
Exploring Operation: 99-76=23, Resulting Numbers: [23]
23,69 equal: Goal Reached
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[33, 76, 3, 3], Operations: []
Exploring Operation: 33-3=30, Resulting Numbers: [76, 3, 30]
Generated Node #0,0: 69:[76, 3, 30] Operation: 33-3=30
Exploring Operation: 33-3=30, Resulting Numbers: [76, 3, 30]
Generated Node #0,1: 69:[76, 3, 30] Operation: 33-3=30
Exploring Operation: 76-3=73, Resulting Numbers: [33, 3, 73]
Generated Node #0,2: 69:[33, 3, 73] Operation: 76-3=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[76, 3, 30], Operations: ['33-3=30']
Exploring Operation: 30-3=27, Resulting Numbers: [76, 27]
Generated Node #0,0,0: 69:[76, 27] Operation: 30-3=27
Exploring Operation: 76-3=73, Resulting Numbers: [30, 73]
Generated Node #0,0,1: 69:[30, 73] Operation: 76-3=73
Exploring Operation: 30/3=10, Resulting Numbers: [76, 10]
Generated Node #0,0,2: 69:[76, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[76, 27], Operations: ['33-3=30', '30-3=27']
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,69 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[30, 73], Operations: ['33-3=30', '76-3=73']
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,69 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[76, 10], Operations: ['33-3=30', '30/3=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,69 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[76, 3, 30], Operations: ['33-3=30']
Exploring Operation: 30/3=10, Resulting Numbers: [76, 10]
Generated Node #0,1,0: 69:[76, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [76, 27]
Generated Node #0,1,1: 69:[76, 27] Operation: 30-3=27
Exploring Operation: 76-3=73, Resulting Numbers: [30, 73]
Generated Node #0,1,2: 69:[30, 73] Operation: 76-3=73
Moving to Node #0,1,1
Current State: 69:[76, 27], Operations: ['33-3=30', '30-3=27']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,69 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[30, 73], Operations: ['33-3=30', '76-3=73']
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,69 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[76, 10], Operations: ['33-3=30', '30/3=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,69 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,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,2
Current State: 69:[33, 3, 73], Operations: ['76-3=73']
Exploring Operation: 73-3=70, Resulting Numbers: [33, 70]
Generated Node #0,2,0: 69:[33, 70] Operation: 73-3=70
Exploring Operation: 33-3=30, Resulting Numbers: [73, 30]
Generated Node #0,2,1: 69:[73, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [73, 11]
Generated Node #0,2,2: 69:[73, 11] Operation: 33/3=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[33, 70], Operations: ['76-3=73', '73-3=70']
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[73, 30], Operations: ['76-3=73', '33-3=30']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,69 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[73, 11], Operations: ['76-3=73', '33/3=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
18,
2,
82,
43
] | 11
|
[
"82-18=64",
"64/2=32",
"43-32=11"
] |
Current State: 11:[18, 2, 82, 43], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [2, 43, 64]
Generated Node #2: [2, 43, 64] from Operation: 82-18=64
Current State: 11:[2, 43, 64], Operations: ['82-18=64']
Exploring Operation: 64/2=32, Resulting Numbers: [43, 32]
Generated Node #3: [43, 32] from Operation: 64/2=32
Current State: 11:[43, 32], Operations: ['82-18=64', '64/2=32']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[18, 2, 82, 43], Operations: []
Exploring Operation: 82-43=39, Resulting Numbers: [18, 2, 39]
Generated Node #0,0: 11:[18, 2, 39] Operation: 82-43=39
Exploring Operation: 82/2=41, Resulting Numbers: [18, 43, 41]
Generated Node #0,1: 11:[18, 43, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 11:[18, 2, 39], Operations: ['82-43=39']
Exploring Operation: 18/2=9, Resulting Numbers: [39, 9]
Generated Node #0,0,0: 11:[39, 9] Operation: 18/2=9
Exploring Operation: 39-18=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 11:[2, 21] Operation: 39-18=21
Moving to Node #0,1
Current State: 11:[18, 43, 41], Operations: ['82/2=41']
Exploring Operation: 43-41=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 11:[18, 2] Operation: 43-41=2
Exploring Operation: 43-18=25, Resulting Numbers: [41, 25]
Generated Node #0,1,1: 11:[41, 25] Operation: 43-18=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[18, 2], Operations: ['82/2=41', '43-41=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[41, 25], Operations: ['82/2=41', '43-18=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 11:[2, 21], Operations: ['82-43=39', '39-18=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[39, 9], Operations: ['82-43=39', '18/2=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,11 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
2,
5,
69,
7
] | 79
|
[
"5-2=3",
"69+7=76",
"3+76=79"
] |
Current State: 79:[2, 5, 69, 7], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [69, 7, 3]
Generated Node #2: [69, 7, 3] from Operation: 5-2=3
Current State: 79:[69, 7, 3], Operations: ['5-2=3']
Exploring Operation: 69+7=76, Resulting Numbers: [3, 76]
Generated Node #3: [3, 76] from Operation: 69+7=76
Current State: 79:[3, 76], Operations: ['5-2=3', '69+7=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[2, 5, 69, 7], Operations: []
Exploring Operation: 5*7=35, Resulting Numbers: [2, 69, 35]
Generated Node #0,0: 79:[2, 69, 35] Operation: 5*7=35
Exploring Operation: 2*7=14, Resulting Numbers: [5, 69, 14]
Generated Node #0,1: 79:[5, 69, 14] Operation: 2*7=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[2, 69, 35], Operations: ['5*7=35']
Exploring Operation: 2*35=70, Resulting Numbers: [69, 70]
Generated Node #0,0,0: 79:[69, 70] Operation: 2*35=70
Exploring Operation: 2+69=71, Resulting Numbers: [35, 71]
Generated Node #0,0,1: 79:[35, 71] Operation: 2+69=71
Moving to Node #0,0,0
Current State: 79:[69, 70], Operations: ['5*7=35', '2*35=70']
Exploring Operation: 70-69=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 69+70=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[35, 71], Operations: ['5*7=35', '2+69=71']
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[5, 69, 14], Operations: ['2*7=14']
Exploring Operation: 5+69=74, Resulting Numbers: [14, 74]
Generated Node #0,1,0: 79:[14, 74] Operation: 5+69=74
Exploring Operation: 5*14=70, Resulting Numbers: [69, 70]
Generated Node #0,1,1: 79:[69, 70] Operation: 5*14=70
Moving to Node #0,1,1
Current State: 79:[69, 70], Operations: ['2*7=14', '5*14=70']
Exploring Operation: 69+70=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Exploring Operation: 70-69=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[14, 74], Operations: ['2*7=14', '5+69=74']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,79 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
|
[
85,
18,
48,
51
] | 62
|
[
"85*48=4080",
"4080/51=80",
"80-18=62"
] |
Current State: 62:[85, 18, 48, 51], Operations: []
Exploring Operation: 85*48=4080, Resulting Numbers: [18, 51, 4080]
Generated Node #2: [18, 51, 4080] from Operation: 85*48=4080
Current State: 62:[18, 51, 4080], Operations: ['85*48=4080']
Exploring Operation: 4080/51=80, Resulting Numbers: [18, 80]
Generated Node #3: [18, 80] from Operation: 4080/51=80
Current State: 62:[18, 80], Operations: ['85*48=4080', '4080/51=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[85, 18, 48, 51], Operations: []
Exploring Operation: 85-51=34, Resulting Numbers: [18, 48, 34]
Generated Node #0,0: 62:[18, 48, 34] Operation: 85-51=34
Exploring Operation: 85-48=37, Resulting Numbers: [18, 51, 37]
Generated Node #0,1: 62:[18, 51, 37] Operation: 85-48=37
Exploring Operation: 85-18=67, Resulting Numbers: [48, 51, 67]
Generated Node #0,2: 62:[48, 51, 67] Operation: 85-18=67
Moving to Node #0,0
Current State: 62:[18, 48, 34], Operations: ['85-51=34']
Exploring Operation: 18+34=52, Resulting Numbers: [48, 52]
Generated Node #0,0,0: 62:[48, 52] Operation: 18+34=52
Exploring Operation: 48-18=30, Resulting Numbers: [34, 30]
Generated Node #0,0,1: 62:[34, 30] Operation: 48-18=30
Exploring Operation: 18+48=66, Resulting Numbers: [34, 66]
Generated Node #0,0,2: 62:[34, 66] Operation: 18+48=66
Moving to Node #0,1
Current State: 62:[18, 51, 37], Operations: ['85-48=37']
Exploring Operation: 18+37=55, Resulting Numbers: [51, 55]
Generated Node #0,1,0: 62:[51, 55] Operation: 18+37=55
Exploring Operation: 18+51=69, Resulting Numbers: [37, 69]
Generated Node #0,1,1: 62:[37, 69] Operation: 18+51=69
Exploring Operation: 51-18=33, Resulting Numbers: [37, 33]
Generated Node #0,1,2: 62:[37, 33] Operation: 51-18=33
Moving to Node #0,2
Current State: 62:[48, 51, 67], Operations: ['85-18=67']
Exploring Operation: 51-48=3, Resulting Numbers: [67, 3]
Generated Node #0,2,0: 62:[67, 3] Operation: 51-48=3
Exploring Operation: 67-48=19, Resulting Numbers: [51, 19]
Generated Node #0,2,1: 62:[51, 19] Operation: 67-48=19
Exploring Operation: 67-51=16, Resulting Numbers: [48, 16]
Generated Node #0,2,2: 62:[48, 16] Operation: 67-51=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[67, 3], Operations: ['85-18=67', '51-48=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,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,2,1
Current State: 62:[51, 19], Operations: ['85-18=67', '67-48=19']
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,62 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,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,2,2
Current State: 62:[48, 16], Operations: ['85-18=67', '67-51=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 62:[34, 30], Operations: ['85-51=34', '48-18=30']
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,62 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[34, 66], Operations: ['85-51=34', '18+48=66']
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[37, 33], Operations: ['85-48=37', '51-18=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,62 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[37, 69], Operations: ['85-48=37', '18+51=69']
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,62 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[51, 55], Operations: ['85-48=37', '18+37=55']
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,62 unequal: No Solution
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,62 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[48, 52], Operations: ['85-51=34', '18+34=52']
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,62 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,62 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
7,
45,
90,
88
] | 83
|
[
"88-7=81",
"90/45=2",
"81+2=83"
] |
Current State: 83:[7, 45, 90, 88], Operations: []
Exploring Operation: 88-7=81, Resulting Numbers: [45, 90, 81]
Generated Node #2: [45, 90, 81] from Operation: 88-7=81
Current State: 83:[45, 90, 81], Operations: ['88-7=81']
Exploring Operation: 90/45=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 90/45=2
Current State: 83:[81, 2], Operations: ['88-7=81', '90/45=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[7, 45, 90, 88], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [90, 88, 52]
Generated Node #0,0: 83:[90, 88, 52] Operation: 7+45=52
Exploring Operation: 88-7=81, Resulting Numbers: [45, 90, 81]
Generated Node #0,1: 83:[45, 90, 81] Operation: 88-7=81
Exploring Operation: 45-7=38, Resulting Numbers: [90, 88, 38]
Generated Node #0,2: 83:[90, 88, 38] Operation: 45-7=38
Exploring Operation: 90-7=83, Resulting Numbers: [45, 88, 83]
Generated Node #0,3: 83:[45, 88, 83] Operation: 90-7=83
Moving to Node #0,0
Current State: 83:[90, 88, 52], Operations: ['7+45=52']
Exploring Operation: 90-52=38, Resulting Numbers: [88, 38]
Generated Node #0,0,0: 83:[88, 38] Operation: 90-52=38
Exploring Operation: 88+52=140, Resulting Numbers: [90, 140]
Generated Node #0,0,1: 83:[90, 140] Operation: 88+52=140
Exploring Operation: 90+52=142, Resulting Numbers: [88, 142]
Generated Node #0,0,2: 83:[88, 142] Operation: 90+52=142
Exploring Operation: 88-52=36, Resulting Numbers: [90, 36]
Generated Node #0,0,3: 83:[90, 36] Operation: 88-52=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[88, 38], Operations: ['7+45=52', '90-52=38']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,83 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[90, 36], Operations: ['7+45=52', '88-52=36']
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,83 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[90, 140], Operations: ['7+45=52', '88+52=140']
Exploring Operation: 90+140=230, Resulting Numbers: [230]
230,83 unequal: No Solution
Exploring Operation: 90*140=12600, Resulting Numbers: [12600]
12600,83 unequal: No Solution
Exploring Operation: 140-90=50, Resulting Numbers: [50]
50,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[88, 142], Operations: ['7+45=52', '90+52=142']
Exploring Operation: 88+142=230, Resulting Numbers: [230]
230,83 unequal: No Solution
Exploring Operation: 142-88=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 88*142=12496, Resulting Numbers: [12496]
12496,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 83:[45, 88, 83], Operations: ['90-7=83']
Exploring Operation: 45+83=128, Resulting Numbers: [88, 128]
Generated Node #0,3,0: 83:[88, 128] Operation: 45+83=128
Exploring Operation: 45+88=133, Resulting Numbers: [83, 133]
Generated Node #0,3,1: 83:[83, 133] Operation: 45+88=133
Exploring Operation: 83-45=38, Resulting Numbers: [88, 38]
Generated Node #0,3,2: 83:[88, 38] Operation: 83-45=38
Exploring Operation: 88-45=43, Resulting Numbers: [83, 43]
Generated Node #0,3,3: 83:[83, 43] Operation: 88-45=43
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[83, 43], Operations: ['90-7=83', '88-45=43']
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,83 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,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,3,0
Current State: 83:[88, 128], Operations: ['90-7=83', '45+83=128']
Exploring Operation: 88*128=11264, Resulting Numbers: [11264]
11264,83 unequal: No Solution
Exploring Operation: 88+128=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 128-88=40, Resulting Numbers: [40]
40,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,3,1
Current State: 83:[83, 133], Operations: ['90-7=83', '45+88=133']
Exploring Operation: 83+133=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 133-83=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 83*133=11039, Resulting Numbers: [11039]
11039,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,3,2
Current State: 83:[88, 38], Operations: ['90-7=83', '83-45=38']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,83 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: 83:[45, 90, 81], Operations: ['88-7=81']
Exploring Operation: 81-45=36, Resulting Numbers: [90, 36]
Generated Node #0,1,0: 83:[90, 36] Operation: 81-45=36
Exploring Operation: 45+81=126, Resulting Numbers: [90, 126]
Generated Node #0,1,1: 83:[90, 126] Operation: 45+81=126
Exploring Operation: 45+90=135, Resulting Numbers: [81, 135]
Generated Node #0,1,2: 83:[81, 135] Operation: 45+90=135
Exploring Operation: 90-45=45, Resulting Numbers: [81, 45]
Generated Node #0,1,3: 83:[81, 45] Operation: 90-45=45
Moving to Node #0,2
Current State: 83:[90, 88, 38], Operations: ['45-7=38']
Exploring Operation: 88-38=50, Resulting Numbers: [90, 50]
Generated Node #0,2,0: 83:[90, 50] Operation: 88-38=50
Exploring Operation: 90-38=52, Resulting Numbers: [88, 52]
Generated Node #0,2,1: 83:[88, 52] Operation: 90-38=52
Exploring Operation: 88+38=126, Resulting Numbers: [90, 126]
Generated Node #0,2,2: 83:[90, 126] Operation: 88+38=126
Exploring Operation: 90+38=128, Resulting Numbers: [88, 128]
Generated Node #0,2,3: 83:[88, 128] Operation: 90+38=128
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[88, 52], Operations: ['45-7=38', '90-38=52']
Exploring Operation: 88+52=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 88*52=4576, Resulting Numbers: [4576]
4576,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,0
Current State: 83:[90, 50], Operations: ['45-7=38', '88-38=50']
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,83 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,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,2
Current State: 83:[90, 126], Operations: ['45-7=38', '88+38=126']
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,83 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,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,3
Current State: 83:[88, 128], Operations: ['45-7=38', '90+38=128']
Exploring Operation: 128-88=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 88+128=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 88*128=11264, Resulting Numbers: [11264]
11264,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 83:[81, 45], Operations: ['88-7=81', '90-45=45']
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,83 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[90, 126], Operations: ['88-7=81', '45+81=126']
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[81, 135], Operations: ['88-7=81', '45+90=135']
Exploring Operation: 135-81=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 81+135=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 81*135=10935, Resulting Numbers: [10935]
10935,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[90, 36], Operations: ['88-7=81', '81-45=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,83 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
90,
12,
57,
7
] | 39
|
[
"12-7=5",
"90/5=18",
"57-18=39"
] |
Current State: 39:[90, 12, 57, 7], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [90, 57, 5]
Generated Node #2: [90, 57, 5] from Operation: 12-7=5
Current State: 39:[90, 57, 5], Operations: ['12-7=5']
Exploring Operation: 90/5=18, Resulting Numbers: [57, 18]
Generated Node #3: [57, 18] from Operation: 90/5=18
Current State: 39:[57, 18], Operations: ['12-7=5', '90/5=18']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[90, 12, 57, 7], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [12, 7, 33]
Generated Node #0,0: 39:[12, 7, 33] Operation: 90-57=33
Exploring Operation: 90-12=78, Resulting Numbers: [57, 7, 78]
Generated Node #0,1: 39:[57, 7, 78] Operation: 90-12=78
Exploring Operation: 57-12=45, Resulting Numbers: [90, 7, 45]
Generated Node #0,2: 39:[90, 7, 45] Operation: 57-12=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[12, 7, 33], Operations: ['90-57=33']
Exploring Operation: 12+33=45, Resulting Numbers: [7, 45]
Generated Node #0,0,0: 39:[7, 45] Operation: 12+33=45
Exploring Operation: 7+33=40, Resulting Numbers: [12, 40]
Generated Node #0,0,1: 39:[12, 40] Operation: 7+33=40
Exploring Operation: 12-7=5, Resulting Numbers: [33, 5]
Generated Node #0,0,2: 39:[33, 5] Operation: 12-7=5
Moving to Node #0,0,1
Current State: 39:[12, 40], Operations: ['90-57=33', '7+33=40']
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,39 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[33, 5], Operations: ['90-57=33', '12-7=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,39 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[7, 45], Operations: ['90-57=33', '12+33=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,39 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[57, 7, 78], Operations: ['90-12=78']
Exploring Operation: 78-57=21, Resulting Numbers: [7, 21]
Generated Node #0,1,0: 39:[7, 21] Operation: 78-57=21
Exploring Operation: 57-7=50, Resulting Numbers: [78, 50]
Generated Node #0,1,1: 39:[78, 50] Operation: 57-7=50
Exploring Operation: 78-7=71, Resulting Numbers: [57, 71]
Generated Node #0,1,2: 39:[57, 71] Operation: 78-7=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[7, 21], Operations: ['90-12=78', '78-57=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No 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: 39:[78, 50], Operations: ['90-12=78', '57-7=50']
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,39 unequal: No Solution
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,39 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,39 unequal: No Solution
No 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: 39:[57, 71], Operations: ['90-12=78', '78-7=71']
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,39 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[90, 7, 45], Operations: ['57-12=45']
Exploring Operation: 90-7=83, Resulting Numbers: [45, 83]
Generated Node #0,2,0: 39:[45, 83] Operation: 90-7=83
Exploring Operation: 90-45=45, Resulting Numbers: [7, 45]
Generated Node #0,2,1: 39:[7, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [7, 2]
Generated Node #0,2,2: 39:[7, 2] Operation: 90/45=2
Moving to Node #0,2,2
Current State: 39:[7, 2], Operations: ['57-12=45', '90/45=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[7, 45], Operations: ['57-12=45', '90-45=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[45, 83], Operations: ['57-12=45', '90-7=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,39 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,39 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
|
[
69,
85,
16,
20
] | 64
|
[
"85-69=16",
"20-16=4",
"16*4=64"
] |
Current State: 64:[69, 85, 16, 20], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [16, 20, 16]
Generated Node #2: [16, 20, 16] from Operation: 85-69=16
Current State: 64:[16, 20, 16], Operations: ['85-69=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,64 equal: Goal Reached
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[69, 85, 16, 20], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [16, 20, 16]
Generated Node #0,0: 64:[16, 20, 16] Operation: 85-69=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[16, 20, 16], Operations: ['85-69=16']
Exploring Operation: 20-16=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 64:[16, 4] Operation: 20-16=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[16, 4], Operations: ['85-69=16', '20-16=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[69, 85, 16, 20], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [16, 20, 16]
Generated Node #0,0: 64:[16, 20, 16] Operation: 85-69=16
Moving to Node #0,0
Current State: 64:[16, 20, 16], Operations: ['85-69=16']
Exploring Operation: 20-16=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 64:[16, 4] Operation: 20-16=4
Moving to Node #0,0,0
Current State: 64:[16, 4], Operations: ['85-69=16', '20-16=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
94,
96,
16,
24
] | 90
|
[
"96/16=6",
"24/6=4",
"94-4=90"
] |
Current State: 90:[94, 96, 16, 24], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [94, 24, 6]
Generated Node #2: [94, 24, 6] from Operation: 96/16=6
Current State: 90:[94, 24, 6], Operations: ['96/16=6']
Exploring Operation: 24/6=4, Resulting Numbers: [94, 4]
Generated Node #3: [94, 4] from Operation: 24/6=4
Current State: 90:[94, 4], Operations: ['96/16=6', '24/6=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[94, 96, 16, 24], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [94, 16, 4]
Generated Node #0,0: 90:[94, 16, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[94, 16, 4], Operations: ['96/24=4']
Exploring Operation: 94-4=90, Resulting Numbers: [16, 90]
Generated Node #0,0,0: 90:[16, 90] Operation: 94-4=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[16, 90], Operations: ['96/24=4', '94-4=90']
Exploring Operation: 16+90=106, Resulting Numbers: [106]
106,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_1
|
mult_heuristic
|
[
2,
7,
67,
24
] | 87
|
[
"24-2=22",
"7*22=154",
"154-67=87"
] |
Current State: 87:[2, 7, 67, 24], Operations: []
Exploring Operation: 24-2=22, Resulting Numbers: [7, 67, 22]
Generated Node #2: [7, 67, 22] from Operation: 24-2=22
Current State: 87:[7, 67, 22], Operations: ['24-2=22']
Exploring Operation: 7*22=154, Resulting Numbers: [67, 154]
Generated Node #3: [67, 154] from Operation: 7*22=154
Current State: 87:[67, 154], Operations: ['24-2=22', '7*22=154']
Exploring Operation: 154-67=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[2, 7, 67, 24], Operations: []
Exploring Operation: 67+24=91, Resulting Numbers: [2, 7, 91]
Generated Node #0,0: 87:[2, 7, 91] Operation: 67+24=91
Exploring Operation: 7+67=74, Resulting Numbers: [2, 24, 74]
Generated Node #0,1: 87:[2, 24, 74] Operation: 7+67=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[2, 7, 91], Operations: ['67+24=91']
Exploring Operation: 91-7=84, Resulting Numbers: [2, 84]
Generated Node #0,0,0: 87:[2, 84] Operation: 91-7=84
Exploring Operation: 7-2=5, Resulting Numbers: [91, 5]
Generated Node #0,0,1: 87:[91, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[2, 84], Operations: ['67+24=91', '91-7=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,87 unequal: No Solution
No 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: 87:[91, 5], Operations: ['67+24=91', '7-2=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,87 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: 87:[2, 24, 74], Operations: ['7+67=74']
Exploring Operation: 24+74=98, Resulting Numbers: [2, 98]
Generated Node #0,1,0: 87:[2, 98] Operation: 24+74=98
Exploring Operation: 74/2=37, Resulting Numbers: [24, 37]
Generated Node #0,1,1: 87:[24, 37] Operation: 74/2=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[2, 98], Operations: ['7+67=74', '24+74=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,87 unequal: No Solution
No 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: 87:[24, 37], Operations: ['7+67=74', '74/2=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,87 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
|
[
60,
38,
24,
74
] | 90
|
[
"74-38=36",
"60*36=2160",
"2160/24=90"
] |
Current State: 90:[60, 38, 24, 74], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [60, 24, 36]
Generated Node #2: [60, 24, 36] from Operation: 74-38=36
Current State: 90:[60, 24, 36], Operations: ['74-38=36']
Exploring Operation: 60*36=2160, Resulting Numbers: [24, 2160]
Generated Node #3: [24, 2160] from Operation: 60*36=2160
Current State: 90:[24, 2160], Operations: ['74-38=36', '60*36=2160']
Exploring Operation: 2160/24=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[60, 38, 24, 74], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [60, 38, 50]
Generated Node #0,0: 90:[60, 38, 50] Operation: 74-24=50
Exploring Operation: 60-38=22, Resulting Numbers: [24, 74, 22]
Generated Node #0,1: 90:[24, 74, 22] Operation: 60-38=22
Exploring Operation: 60+24=84, Resulting Numbers: [38, 74, 84]
Generated Node #0,2: 90:[38, 74, 84] Operation: 60+24=84
Exploring Operation: 74-38=36, Resulting Numbers: [60, 24, 36]
Generated Node #0,3: 90:[60, 24, 36] Operation: 74-38=36
Exploring Operation: 74-60=14, Resulting Numbers: [38, 24, 14]
Generated Node #0,4: 90:[38, 24, 14] Operation: 74-60=14
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[38, 24, 14], Operations: ['74-60=14']
Exploring Operation: 24-14=10, Resulting Numbers: [38, 10]
Generated Node #0,4,0: 90:[38, 10] Operation: 24-14=10
Exploring Operation: 38+14=52, Resulting Numbers: [24, 52]
Generated Node #0,4,1: 90:[24, 52] Operation: 38+14=52
Exploring Operation: 38-14=24, Resulting Numbers: [24, 24]
Generated Node #0,4,2: 90:[24, 24] Operation: 38-14=24
Exploring Operation: 24+14=38, Resulting Numbers: [38, 38]
Generated Node #0,4,3: 90:[38, 38] Operation: 24+14=38
Exploring Operation: 38-24=14, Resulting Numbers: [14, 14]
Generated Node #0,4,4: 90:[14, 14] Operation: 38-24=14
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[14, 14], Operations: ['74-60=14', '38-24=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,90 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,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,4,0
Current State: 90:[38, 10], Operations: ['74-60=14', '24-14=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,90 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,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,4,2
Current State: 90:[24, 24], Operations: ['74-60=14', '38-14=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,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,4,1
Current State: 90:[24, 52], Operations: ['74-60=14', '38+14=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,90 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,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,4,3
Current State: 90:[38, 38], Operations: ['74-60=14', '24+14=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,90 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,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:[24, 74, 22], Operations: ['60-38=22']
Exploring Operation: 74+22=96, Resulting Numbers: [24, 96]
Generated Node #0,1,0: 90:[24, 96] Operation: 74+22=96
Exploring Operation: 24+74=98, Resulting Numbers: [22, 98]
Generated Node #0,1,1: 90:[22, 98] Operation: 24+74=98
Exploring Operation: 24-22=2, Resulting Numbers: [74, 2]
Generated Node #0,1,2: 90:[74, 2] Operation: 24-22=2
Exploring Operation: 74-24=50, Resulting Numbers: [22, 50]
Generated Node #0,1,3: 90:[22, 50] Operation: 74-24=50
Exploring Operation: 74-22=52, Resulting Numbers: [24, 52]
Generated Node #0,1,4: 90:[24, 52] Operation: 74-22=52
Moving to Node #0,1,3
Current State: 90:[22, 50], Operations: ['60-38=22', '74-24=50']
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,90 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[22, 98], Operations: ['60-38=22', '24+74=98']
Exploring Operation: 22+98=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 22*98=2156, Resulting Numbers: [2156]
2156,90 unequal: No Solution
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[24, 96], Operations: ['60-38=22', '74+22=96']
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,90 unequal: No Solution
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[24, 52], Operations: ['60-38=22', '74-22=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[74, 2], Operations: ['60-38=22', '24-22=2']
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[60, 38, 50], Operations: ['74-24=50']
Exploring Operation: 60-50=10, Resulting Numbers: [38, 10]
Generated Node #0,0,0: 90:[38, 10] Operation: 60-50=10
Exploring Operation: 60+38=98, Resulting Numbers: [50, 98]
Generated Node #0,0,1: 90:[50, 98] Operation: 60+38=98
Exploring Operation: 50-38=12, Resulting Numbers: [60, 12]
Generated Node #0,0,2: 90:[60, 12] Operation: 50-38=12
Exploring Operation: 38+50=88, Resulting Numbers: [60, 88]
Generated Node #0,0,3: 90:[60, 88] Operation: 38+50=88
Exploring Operation: 60-38=22, Resulting Numbers: [50, 22]
Generated Node #0,0,4: 90:[50, 22] Operation: 60-38=22
Moving to Node #0,0,0
Current State: 90:[38, 10], Operations: ['74-24=50', '60-50=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,90 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[50, 22], Operations: ['74-24=50', '60-38=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,90 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[50, 98], Operations: ['74-24=50', '60+38=98']
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 50+98=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 50*98=4900, Resulting Numbers: [4900]
4900,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[60, 12], Operations: ['74-24=50', '50-38=12']
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,90 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[60, 88], Operations: ['74-24=50', '38+50=88']
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 60*88=5280, Resulting Numbers: [5280]
5280,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[60, 24, 36], Operations: ['74-38=36']
Exploring Operation: 36-24=12, Resulting Numbers: [60, 12]
Generated Node #0,3,0: 90:[60, 12] Operation: 36-24=12
Exploring Operation: 60-24=36, Resulting Numbers: [36, 36]
Generated Node #0,3,1: 90:[36, 36] Operation: 60-24=36
Exploring Operation: 60-36=24, Resulting Numbers: [24, 24]
Generated Node #0,3,2: 90:[24, 24] Operation: 60-36=24
Exploring Operation: 60+24=84, Resulting Numbers: [36, 84]
Generated Node #0,3,3: 90:[36, 84] Operation: 60+24=84
Exploring Operation: 60+36=96, Resulting Numbers: [24, 96]
Generated Node #0,3,4: 90:[24, 96] Operation: 60+36=96
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[36, 36], Operations: ['74-38=36', '60-24=36']
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,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,3,2
Current State: 90:[24, 24], Operations: ['74-38=36', '60-36=24']
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,90 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,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,3,3
Current State: 90:[36, 84], Operations: ['74-38=36', '60+24=84']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,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,3,4
Current State: 90:[24, 96], Operations: ['74-38=36', '60+36=96']
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,90 unequal: No Solution
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,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,3,0
Current State: 90:[60, 12], Operations: ['74-38=36', '36-24=12']
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,90 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[38, 74, 84], Operations: ['60+24=84']
Exploring Operation: 74-38=36, Resulting Numbers: [84, 36]
Generated Node #0,2,0: 90:[84, 36] Operation: 74-38=36
Exploring Operation: 84-38=46, Resulting Numbers: [74, 46]
Generated Node #0,2,1: 90:[74, 46] Operation: 84-38=46
Exploring Operation: 38+84=122, Resulting Numbers: [74, 122]
Generated Node #0,2,2: 90:[74, 122] Operation: 38+84=122
Exploring Operation: 84-74=10, Resulting Numbers: [38, 10]
Generated Node #0,2,3: 90:[38, 10] Operation: 84-74=10
Exploring Operation: 38+74=112, Resulting Numbers: [84, 112]
Generated Node #0,2,4: 90:[84, 112] Operation: 38+74=112
Moving to Node #0,2,3
Current State: 90:[38, 10], Operations: ['60+24=84', '84-74=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[84, 36], Operations: ['60+24=84', '74-38=36']
Exploring Operation: 84+36=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 84*36=3024, Resulting Numbers: [3024]
3024,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[74, 46], Operations: ['60+24=84', '84-38=46']
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,90 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[84, 112], Operations: ['60+24=84', '38+74=112']
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,90 unequal: No Solution
Exploring Operation: 84*112=9408, Resulting Numbers: [9408]
9408,90 unequal: No Solution
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[74, 122], Operations: ['60+24=84', '38+84=122']
Exploring Operation: 74*122=9028, Resulting Numbers: [9028]
9028,90 unequal: No Solution
Exploring Operation: 74+122=196, Resulting Numbers: [196]
196,90 unequal: No Solution
Exploring Operation: 122-74=48, Resulting Numbers: [48]
48,90 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
|
[
57,
43,
13,
70
] | 69
|
[
"57-43=14",
"13+70=83",
"83-14=69"
] |
Current State: 69:[57, 43, 13, 70], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [13, 70, 14]
Generated Node #2: [13, 70, 14] from Operation: 57-43=14
Current State: 69:[13, 70, 14], Operations: ['57-43=14']
Exploring Operation: 13+70=83, Resulting Numbers: [14, 83]
Generated Node #3: [14, 83] from Operation: 13+70=83
Current State: 69:[14, 83], Operations: ['57-43=14', '13+70=83']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[57, 43, 13, 70], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [13, 70, 14]
Generated Node #0,0: 69:[13, 70, 14] Operation: 57-43=14
Moving to Node #0,0
Current State: 69:[13, 70, 14], Operations: ['57-43=14']
Exploring Operation: 14-13=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 69:[70, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[70, 1], Operations: ['57-43=14', '14-13=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[57, 43, 13, 70], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [13, 70, 14]
Generated Node #0,0: 69:[13, 70, 14] Operation: 57-43=14
Moving to Node #0,0
Current State: 69:[13, 70, 14], Operations: ['57-43=14']
Exploring Operation: 14-13=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 69:[70, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 69:[70, 1], Operations: ['57-43=14', '14-13=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
4,
60,
59,
69
] | 28
|
[
"59+69=128",
"128/4=32",
"60-32=28"
] |
Current State: 28:[4, 60, 59, 69], Operations: []
Exploring Operation: 59+69=128, Resulting Numbers: [4, 60, 128]
Generated Node #2: [4, 60, 128] from Operation: 59+69=128
Current State: 28:[4, 60, 128], Operations: ['59+69=128']
Exploring Operation: 128/4=32, Resulting Numbers: [60, 32]
Generated Node #3: [60, 32] from Operation: 128/4=32
Current State: 28:[60, 32], Operations: ['59+69=128', '128/4=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[4, 60, 59, 69], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [4, 59, 9]
Generated Node #0,0: 28:[4, 59, 9] Operation: 69-60=9
Moving to Node #0,0
Current State: 28:[4, 59, 9], Operations: ['69-60=9']
Exploring Operation: 59-9=50, Resulting Numbers: [4, 50]
Generated Node #0,0,0: 28:[4, 50] Operation: 59-9=50
Moving to Node #0,0,0
Current State: 28:[4, 50], Operations: ['69-60=9', '59-9=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,28 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
2,
83,
94,
41
] | 32
|
[
"2+83=85",
"94-41=53",
"85-53=32"
] |
Current State: 32:[2, 83, 94, 41], Operations: []
Exploring Operation: 2+83=85, Resulting Numbers: [94, 41, 85]
Generated Node #2: [94, 41, 85] from Operation: 2+83=85
Current State: 32:[94, 41, 85], Operations: ['2+83=85']
Exploring Operation: 94-41=53, Resulting Numbers: [85, 53]
Generated Node #3: [85, 53] from Operation: 94-41=53
Current State: 32:[85, 53], Operations: ['2+83=85', '94-41=53']
Exploring Operation: 85-53=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[2, 83, 94, 41], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [2, 41, 11]
Generated Node #0,0: 32:[2, 41, 11] Operation: 94-83=11
Exploring Operation: 94-41=53, Resulting Numbers: [2, 83, 53]
Generated Node #0,1: 32:[2, 83, 53] Operation: 94-41=53
Exploring Operation: 94/2=47, Resulting Numbers: [83, 41, 47]
Generated Node #0,2: 32:[83, 41, 47] Operation: 94/2=47
Exploring Operation: 83-41=42, Resulting Numbers: [2, 94, 42]
Generated Node #0,3: 32:[2, 94, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[2, 41, 11], Operations: ['94-83=11']
Exploring Operation: 41-2=39, Resulting Numbers: [11, 39]
Generated Node #0,0,0: 32:[11, 39] Operation: 41-2=39
Exploring Operation: 41-11=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 32:[2, 30] Operation: 41-11=30
Exploring Operation: 11-2=9, Resulting Numbers: [41, 9]
Generated Node #0,0,2: 32:[41, 9] Operation: 11-2=9
Exploring Operation: 2+11=13, Resulting Numbers: [41, 13]
Generated Node #0,0,3: 32:[41, 13] Operation: 2+11=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[2, 30], Operations: ['94-83=11', '41-11=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[2, 83, 94, 41], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [2, 41, 11]
Generated Node #0,0: 32:[2, 41, 11] Operation: 94-83=11
Moving to Node #0,0
Current State: 32:[2, 41, 11], Operations: ['94-83=11']
Exploring Operation: 41-11=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 32:[2, 30] Operation: 41-11=30
Moving to Node #0,0,1
Current State: 32:[2, 30], Operations: ['94-83=11', '41-11=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
75,
99,
33,
88
] | 97
|
[
"99-75=24",
"33+88=121",
"121-24=97"
] |
Current State: 97:[75, 99, 33, 88], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [33, 88, 24]
Generated Node #2: [33, 88, 24] from Operation: 99-75=24
Current State: 97:[33, 88, 24], Operations: ['99-75=24']
Exploring Operation: 33+88=121, Resulting Numbers: [24, 121]
Generated Node #3: [24, 121] from Operation: 33+88=121
Current State: 97:[24, 121], Operations: ['99-75=24', '33+88=121']
Exploring Operation: 121-24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[75, 99, 33, 88], Operations: []
Exploring Operation: 99-33=66, Resulting Numbers: [75, 88, 66]
Generated Node #0,0: 97:[75, 88, 66] Operation: 99-33=66
Exploring Operation: 75-33=42, Resulting Numbers: [99, 88, 42]
Generated Node #0,1: 97:[99, 88, 42] Operation: 75-33=42
Exploring Operation: 33+88=121, Resulting Numbers: [75, 99, 121]
Generated Node #0,2: 97:[75, 99, 121] Operation: 33+88=121
Exploring Operation: 75+33=108, Resulting Numbers: [99, 88, 108]
Generated Node #0,3: 97:[99, 88, 108] Operation: 75+33=108
Exploring Operation: 99+33=132, Resulting Numbers: [75, 88, 132]
Generated Node #0,4: 97:[75, 88, 132] Operation: 99+33=132
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[99, 88, 108], Operations: ['75+33=108']
Exploring Operation: 99-88=11, Resulting Numbers: [108, 11]
Generated Node #0,3,0: 97:[108, 11] Operation: 99-88=11
Exploring Operation: 108-88=20, Resulting Numbers: [99, 20]
Generated Node #0,3,1: 97:[99, 20] Operation: 108-88=20
Exploring Operation: 99+88=187, Resulting Numbers: [108, 187]
Generated Node #0,3,2: 97:[108, 187] Operation: 99+88=187
Exploring Operation: 108-99=9, Resulting Numbers: [88, 9]
Generated Node #0,3,3: 97:[88, 9] Operation: 108-99=9
Exploring Operation: 88+108=196, Resulting Numbers: [99, 196]
Generated Node #0,3,4: 97:[99, 196] Operation: 88+108=196
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[99, 20], Operations: ['75+33=108', '108-88=20']
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,97 unequal: No Solution
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,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,3,0
Current State: 97:[108, 11], Operations: ['75+33=108', '99-88=11']
Exploring Operation: 108+11=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 108*11=1188, Resulting Numbers: [1188]
1188,97 unequal: No Solution
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[75, 99, 33, 88], Operations: []
Exploring Operation: 75+33=108, Resulting Numbers: [99, 88, 108]
Generated Node #0,3: 97:[99, 88, 108] Operation: 75+33=108
Moving to Node #0,3
Current State: 97:[99, 88, 108], Operations: ['75+33=108']
Exploring Operation: 99-88=11, Resulting Numbers: [108, 11]
Generated Node #0,3,0: 97:[108, 11] Operation: 99-88=11
Moving to Node #0,3,0
Current State: 97:[108, 11], Operations: ['75+33=108', '99-88=11']
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
sum_heuristic
|
[
48,
18,
70,
95
] | 41
|
[
"48+18=66",
"95-70=25",
"66-25=41"
] |
Current State: 41:[48, 18, 70, 95], Operations: []
Exploring Operation: 48+18=66, Resulting Numbers: [70, 95, 66]
Generated Node #2: [70, 95, 66] from Operation: 48+18=66
Current State: 41:[70, 95, 66], Operations: ['48+18=66']
Exploring Operation: 95-70=25, Resulting Numbers: [66, 25]
Generated Node #3: [66, 25] from Operation: 95-70=25
Current State: 41:[66, 25], Operations: ['48+18=66', '95-70=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[48, 18, 70, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [48, 18, 25]
Generated Node #0,0: 41:[48, 18, 25] Operation: 95-70=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[48, 18, 25], Operations: ['95-70=25']
Exploring Operation: 18+25=43, Resulting Numbers: [48, 43]
Generated Node #0,0,0: 41:[48, 43] Operation: 18+25=43
Moving to Node #0,0,0
Current State: 41:[48, 43], Operations: ['95-70=25', '18+25=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
2,
9,
18,
16
] | 30
|
[
"2*16=32",
"18/9=2",
"32-2=30"
] |
Current State: 30:[2, 9, 18, 16], Operations: []
Exploring Operation: 2*16=32, Resulting Numbers: [9, 18, 32]
Generated Node #2: [9, 18, 32] from Operation: 2*16=32
Current State: 30:[9, 18, 32], Operations: ['2*16=32']
Exploring Operation: 18/9=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 18/9=2
Current State: 30:[32, 2], Operations: ['2*16=32', '18/9=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[2, 9, 18, 16], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [2, 16, 2]
Generated Node #0,0: 30:[2, 16, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[2, 16, 2], Operations: ['18/9=2']
Exploring Operation: 16-2=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 30:[2, 14] Operation: 16-2=14
Moving to Node #0,0,0
Current State: 30:[2, 14], Operations: ['18/9=2', '16-2=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,30 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
|
[
76,
5,
51,
9
] | 29
|
[
"76-5=71",
"51-9=42",
"71-42=29"
] |
Current State: 29:[76, 5, 51, 9], Operations: []
Exploring Operation: 76-5=71, Resulting Numbers: [51, 9, 71]
Generated Node #2: [51, 9, 71] from Operation: 76-5=71
Current State: 29:[51, 9, 71], Operations: ['76-5=71']
Exploring Operation: 51-9=42, Resulting Numbers: [71, 42]
Generated Node #3: [71, 42] from Operation: 51-9=42
Current State: 29:[71, 42], Operations: ['76-5=71', '51-9=42']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[76, 5, 51, 9], Operations: []
Exploring Operation: 76-9=67, Resulting Numbers: [5, 51, 67]
Generated Node #0,0: 29:[5, 51, 67] Operation: 76-9=67
Exploring Operation: 76-5=71, Resulting Numbers: [51, 9, 71]
Generated Node #0,1: 29:[51, 9, 71] Operation: 76-5=71
Exploring Operation: 76-51=25, Resulting Numbers: [5, 9, 25]
Generated Node #0,2: 29:[5, 9, 25] Operation: 76-51=25
Exploring Operation: 51-5=46, Resulting Numbers: [76, 9, 46]
Generated Node #0,3: 29:[76, 9, 46] Operation: 51-5=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[5, 9, 25], Operations: ['76-51=25']
Exploring Operation: 5+25=30, Resulting Numbers: [9, 30]
Generated Node #0,2,0: 29:[9, 30] Operation: 5+25=30
Exploring Operation: 5+9=14, Resulting Numbers: [25, 14]
Generated Node #0,2,1: 29:[25, 14] Operation: 5+9=14
Exploring Operation: 5*9=45, Resulting Numbers: [25, 45]
Generated Node #0,2,2: 29:[25, 45] Operation: 5*9=45
Exploring Operation: 9-5=4, Resulting Numbers: [25, 4]
Generated Node #0,2,3: 29:[25, 4] Operation: 9-5=4
Moving to Node #0,2,1
Current State: 29:[25, 14], Operations: ['76-51=25', '5+9=14']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[25, 45], Operations: ['76-51=25', '5*9=45']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[9, 30], Operations: ['76-51=25', '5+25=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,29 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[25, 4], Operations: ['76-51=25', '9-5=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[76, 5, 51, 9], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [5, 9, 25]
Generated Node #0,2: 29:[5, 9, 25] Operation: 76-51=25
Moving to Node #0,2
Current State: 29:[5, 9, 25], Operations: ['76-51=25']
Exploring Operation: 9-5=4, Resulting Numbers: [25, 4]
Generated Node #0,2,3: 29:[25, 4] Operation: 9-5=4
Moving to Node #0,2,3
Current State: 29:[25, 4], Operations: ['76-51=25', '9-5=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903
|
hs_4
|
mult_heuristic
|
[
7,
90,
97,
95
] | 10
|
[
"7+97=104",
"104-95=9",
"90/9=10"
] |
Current State: 10:[7, 90, 97, 95], Operations: []
Exploring Operation: 7+97=104, Resulting Numbers: [90, 95, 104]
Generated Node #2: [90, 95, 104] from Operation: 7+97=104
Current State: 10:[90, 95, 104], Operations: ['7+97=104']
Exploring Operation: 104-95=9, Resulting Numbers: [90, 9]
Generated Node #3: [90, 9] from Operation: 104-95=9
Current State: 10:[90, 9], Operations: ['7+97=104', '104-95=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[7, 90, 97, 95], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [97, 95, 83]
Generated Node #0,0: 10:[97, 95, 83] Operation: 90-7=83
Exploring Operation: 97-90=7, Resulting Numbers: [7, 95, 7]
Generated Node #0,1: 10:[7, 95, 7] Operation: 97-90=7
Exploring Operation: 97-95=2, Resulting Numbers: [7, 90, 2]
Generated Node #0,2: 10:[7, 90, 2] Operation: 97-95=2
Exploring Operation: 95-90=5, Resulting Numbers: [7, 97, 5]
Generated Node #0,3: 10:[7, 97, 5] Operation: 95-90=5
Exploring Operation: 97-7=90, Resulting Numbers: [90, 95, 90]
Generated Node #0,4: 10:[90, 95, 90] Operation: 97-7=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[7, 90, 2], Operations: ['97-95=2']
Exploring Operation: 90/2=45, Resulting Numbers: [7, 45]
Generated Node #0,2,0: 10:[7, 45] Operation: 90/2=45
Exploring Operation: 90-7=83, Resulting Numbers: [2, 83]
Generated Node #0,2,1: 10:[2, 83] Operation: 90-7=83
Exploring Operation: 7+2=9, Resulting Numbers: [90, 9]
Generated Node #0,2,2: 10:[90, 9] Operation: 7+2=9
Exploring Operation: 7-2=5, Resulting Numbers: [90, 5]
Generated Node #0,2,3: 10:[90, 5] Operation: 7-2=5
Exploring Operation: 90-2=88, Resulting Numbers: [7, 88]
Generated Node #0,2,4: 10:[7, 88] Operation: 90-2=88
Moving to Node #0,2,0
Current State: 10:[7, 45], Operations: ['97-95=2', '90/2=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,10 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[2, 83], Operations: ['97-95=2', '90-7=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[90, 5], Operations: ['97-95=2', '7-2=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,10 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[7, 88], Operations: ['97-95=2', '90-2=88']
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,10 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[90, 9], Operations: ['97-95=2', '7+2=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,10 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[7, 90, 97, 95], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [7, 90, 2]
Generated Node #0,2: 10:[7, 90, 2] Operation: 97-95=2
Moving to Node #0,2
Current State: 10:[7, 90, 2], Operations: ['97-95=2']
Exploring Operation: 7+2=9, Resulting Numbers: [90, 9]
Generated Node #0,2,2: 10:[90, 9] Operation: 7+2=9
Moving to Node #0,2,2
Current State: 10:[90, 9], Operations: ['97-95=2', '7+2=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958
|
hs_5
|
mult_heuristic
|
[
59,
44,
23,
44
] | 37
|
[
"59-23=36",
"44/44=1",
"36+1=37"
] |
Current State: 37:[59, 44, 23, 44], Operations: []
Exploring Operation: 59-23=36, Resulting Numbers: [44, 44, 36]
Generated Node #2: [44, 44, 36] from Operation: 59-23=36
Current State: 37:[44, 44, 36], Operations: ['59-23=36']
Exploring Operation: 44/44=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 44/44=1
Current State: 37:[36, 1], Operations: ['59-23=36', '44/44=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4
|
Current State: 37:[59, 44, 23, 44], Operations: []
Exploring Operation: 59-44=15, Resulting Numbers: [23, 44, 15]
Generated Node #0,0: 37:[23, 44, 15] Operation: 59-44=15
Exploring Operation: 59-23=36, Resulting Numbers: [44, 44, 36]
Generated Node #0,1: 37:[44, 44, 36] Operation: 59-23=36
Moving to Node #0,1
Current State: 37:[44, 44, 36], Operations: ['59-23=36']
Exploring Operation: 44-36=8, Resulting Numbers: [44, 8]
Generated Node #0,1,0: 37:[44, 8] Operation: 44-36=8
Exploring Operation: 44-36=8, Resulting Numbers: [44, 8]
Generated Node #0,1,1: 37:[44, 8] Operation: 44-36=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[44, 8], Operations: ['59-23=36', '44-36=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,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:[44, 8], Operations: ['59-23=36', '44-36=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,37 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: 37:[23, 44, 15], Operations: ['59-44=15']
Exploring Operation: 44-15=29, Resulting Numbers: [23, 29]
Generated Node #0,0,0: 37:[23, 29] Operation: 44-15=29
Exploring Operation: 23+15=38, Resulting Numbers: [44, 38]
Generated Node #0,0,1: 37:[44, 38] Operation: 23+15=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[44, 38], Operations: ['59-44=15', '23+15=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[23, 29], Operations: ['59-44=15', '44-15=29']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,37 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
|
[
85,
27,
2,
97
] | 66
|
[
"97-85=12",
"27*2=54",
"12+54=66"
] |
Current State: 66:[85, 27, 2, 97], Operations: []
Exploring Operation: 97-85=12, Resulting Numbers: [27, 2, 12]
Generated Node #2: [27, 2, 12] from Operation: 97-85=12
Current State: 66:[27, 2, 12], Operations: ['97-85=12']
Exploring Operation: 27*2=54, Resulting Numbers: [12, 54]
Generated Node #3: [12, 54] from Operation: 27*2=54
Current State: 66:[12, 54], Operations: ['97-85=12', '27*2=54']
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[85, 27, 2, 97], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [27, 97, 83]
Generated Node #0,0: 66:[27, 97, 83] Operation: 85-2=83
Exploring Operation: 85-27=58, Resulting Numbers: [2, 97, 58]
Generated Node #0,1: 66:[2, 97, 58] Operation: 85-27=58
Exploring Operation: 97-85=12, Resulting Numbers: [27, 2, 12]
Generated Node #0,2: 66:[27, 2, 12] Operation: 97-85=12
Exploring Operation: 97-27=70, Resulting Numbers: [85, 2, 70]
Generated Node #0,3: 66:[85, 2, 70] Operation: 97-27=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[27, 2, 12], Operations: ['97-85=12']
Exploring Operation: 12/2=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 66:[27, 6] Operation: 12/2=6
Exploring Operation: 27+2=29, Resulting Numbers: [12, 29]
Generated Node #0,2,1: 66:[12, 29] Operation: 27+2=29
Exploring Operation: 27-12=15, Resulting Numbers: [2, 15]
Generated Node #0,2,2: 66:[2, 15] Operation: 27-12=15
Exploring Operation: 27-2=25, Resulting Numbers: [12, 25]
Generated Node #0,2,3: 66:[12, 25] Operation: 27-2=25
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[2, 15], Operations: ['97-85=12', '27-12=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,66 unequal: No Solution
No 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: 66:[12, 25], Operations: ['97-85=12', '27-2=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,66 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No 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: 66:[27, 6], Operations: ['97-85=12', '12/2=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,66 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,66 unequal: No Solution
No 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: 66:[12, 29], Operations: ['97-85=12', '27+2=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,66 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,66 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: 66:[85, 2, 70], Operations: ['97-27=70']
Exploring Operation: 85-70=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 66:[2, 15] Operation: 85-70=15
Exploring Operation: 70-2=68, Resulting Numbers: [85, 68]
Generated Node #0,3,1: 66:[85, 68] Operation: 70-2=68
Exploring Operation: 85-2=83, Resulting Numbers: [70, 83]
Generated Node #0,3,2: 66:[70, 83] Operation: 85-2=83
Exploring Operation: 70/2=35, Resulting Numbers: [85, 35]
Generated Node #0,3,3: 66:[85, 35] Operation: 70/2=35
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[2, 15], Operations: ['97-27=70', '85-70=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No 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: 66:[85, 68], Operations: ['97-27=70', '70-2=68']
Exploring Operation: 85+68=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 85*68=5780, Resulting Numbers: [5780]
5780,66 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No 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: 66:[70, 83], Operations: ['97-27=70', '85-2=83']
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 70+83=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 70*83=5810, Resulting Numbers: [5810]
5810,66 unequal: No Solution
No 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: 66:[85, 35], Operations: ['97-27=70', '70/2=35']
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,66 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,66 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: 66:[2, 97, 58], Operations: ['85-27=58']
Exploring Operation: 97-58=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 66:[2, 39] Operation: 97-58=39
Exploring Operation: 97-2=95, Resulting Numbers: [58, 95]
Generated Node #0,1,1: 66:[58, 95] Operation: 97-2=95
Exploring Operation: 58/2=29, Resulting Numbers: [97, 29]
Generated Node #0,1,2: 66:[97, 29] Operation: 58/2=29
Exploring Operation: 2+58=60, Resulting Numbers: [97, 60]
Generated Node #0,1,3: 66:[97, 60] Operation: 2+58=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[2, 39], Operations: ['85-27=58', '97-58=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,66 unequal: No Solution
No 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: 66:[97, 29], Operations: ['85-27=58', '58/2=29']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,66 unequal: No Solution
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,66 unequal: No Solution
No 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: 66:[58, 95], Operations: ['85-27=58', '97-2=95']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,66 unequal: No Solution
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,66 unequal: No Solution
No 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: 66:[97, 60], Operations: ['85-27=58', '2+58=60']
Exploring Operation: 97+60=157, Resulting Numbers: [157]
157,66 unequal: No Solution
Exploring Operation: 97*60=5820, Resulting Numbers: [5820]
5820,66 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,66 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: 66:[27, 97, 83], Operations: ['85-2=83']
Exploring Operation: 97-27=70, Resulting Numbers: [83, 70]
Generated Node #0,0,0: 66:[83, 70] Operation: 97-27=70
Exploring Operation: 97-83=14, Resulting Numbers: [27, 14]
Generated Node #0,0,1: 66:[27, 14] Operation: 97-83=14
Exploring Operation: 83-27=56, Resulting Numbers: [97, 56]
Generated Node #0,0,2: 66:[97, 56] Operation: 83-27=56
Exploring Operation: 27+97=124, Resulting Numbers: [83, 124]
Generated Node #0,0,3: 66:[83, 124] Operation: 27+97=124
Moving to Node #0,0,1
Current State: 66:[27, 14], Operations: ['85-2=83', '97-83=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[83, 70], Operations: ['85-2=83', '97-27=70']
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,66 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[97, 56], Operations: ['85-2=83', '83-27=56']
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[83, 124], Operations: ['85-2=83', '27+97=124']
Exploring Operation: 83+124=207, Resulting Numbers: [207]
207,66 unequal: No Solution
Exploring Operation: 83*124=10292, Resulting Numbers: [10292]
10292,66 unequal: No Solution
Exploring Operation: 124-83=41, Resulting Numbers: [41]
41,66 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
|
[
10,
38,
16,
50
] | 82
|
[
"10+38=48",
"50-16=34",
"48+34=82"
] |
Current State: 82:[10, 38, 16, 50], Operations: []
Exploring Operation: 10+38=48, Resulting Numbers: [16, 50, 48]
Generated Node #2: [16, 50, 48] from Operation: 10+38=48
Current State: 82:[16, 50, 48], Operations: ['10+38=48']
Exploring Operation: 50-16=34, Resulting Numbers: [48, 34]
Generated Node #3: [48, 34] from Operation: 50-16=34
Current State: 82:[48, 34], Operations: ['10+38=48', '50-16=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[10, 38, 16, 50], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [38, 50, 6]
Generated Node #0,0: 82:[38, 50, 6] Operation: 16-10=6
Exploring Operation: 50-10=40, Resulting Numbers: [38, 16, 40]
Generated Node #0,1: 82:[38, 16, 40] Operation: 50-10=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[38, 50, 6], Operations: ['16-10=6']
Exploring Operation: 38+50=88, Resulting Numbers: [6, 88]
Generated Node #0,0,0: 82:[6, 88] Operation: 38+50=88
Exploring Operation: 50-6=44, Resulting Numbers: [38, 44]
Generated Node #0,0,1: 82:[38, 44] Operation: 50-6=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[38, 44], Operations: ['16-10=6', '50-6=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[10, 38, 16, 50], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [38, 50, 6]
Generated Node #0,0: 82:[38, 50, 6] Operation: 16-10=6
Moving to Node #0,0
Current State: 82:[38, 50, 6], Operations: ['16-10=6']
Exploring Operation: 50-6=44, Resulting Numbers: [38, 44]
Generated Node #0,0,1: 82:[38, 44] Operation: 50-6=44
Moving to Node #0,0,1
Current State: 82:[38, 44], Operations: ['16-10=6', '50-6=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
76,
40,
12,
28
] | 96
|
[
"76-40=36",
"36-28=8",
"12*8=96"
] |
Current State: 96:[76, 40, 12, 28], Operations: []
Exploring Operation: 76-40=36, Resulting Numbers: [12, 28, 36]
Generated Node #2: [12, 28, 36] from Operation: 76-40=36
Current State: 96:[12, 28, 36], Operations: ['76-40=36']
Exploring Operation: 36-28=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 36-28=8
Current State: 96:[12, 8], Operations: ['76-40=36', '36-28=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[76, 40, 12, 28], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [40, 12, 48]
Generated Node #0,0: 96:[40, 12, 48] Operation: 76-28=48
Exploring Operation: 76-40=36, Resulting Numbers: [12, 28, 36]
Generated Node #0,1: 96:[12, 28, 36] Operation: 76-40=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[40, 12, 48], Operations: ['76-28=48']
Exploring Operation: 40+12=52, Resulting Numbers: [48, 52]
Generated Node #0,0,0: 96:[48, 52] Operation: 40+12=52
Exploring Operation: 48-40=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 96:[12, 8] Operation: 48-40=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[12, 8], Operations: ['76-28=48', '48-40=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[76, 40, 12, 28], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [40, 12, 48]
Generated Node #0,0: 96:[40, 12, 48] Operation: 76-28=48
Moving to Node #0,0
Current State: 96:[40, 12, 48], Operations: ['76-28=48']
Exploring Operation: 48-40=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 96:[12, 8] Operation: 48-40=8
Moving to Node #0,0,1
Current State: 96:[12, 8], Operations: ['76-28=48', '48-40=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.