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 |
---|---|---|---|---|---|---|---|---|
[
65,
7,
54,
52
] | 74 |
[
"65+7=72",
"54-52=2",
"72+2=74"
] |
Current State: 74:[65, 7, 54, 52], Operations: []
Exploring Operation: 65+7=72, Resulting Numbers: [54, 52, 72]
Generated Node #2: [54, 52, 72] from Operation: 65+7=72
Current State: 74:[54, 52, 72], Operations: ['65+7=72']
Exploring Operation: 54-52=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 54-52=2
Current State: 74:[72, 2], Operations: ['65+7=72', '54-52=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[65, 7, 54, 52], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [7, 52, 11]
Generated Node #0,0: 74:[7, 52, 11] Operation: 65-54=11
Exploring Operation: 54-52=2, Resulting Numbers: [65, 7, 2]
Generated Node #0,1: 74:[65, 7, 2] Operation: 54-52=2
Exploring Operation: 65-52=13, Resulting Numbers: [7, 54, 13]
Generated Node #0,2: 74:[7, 54, 13] Operation: 65-52=13
Exploring Operation: 65+7=72, Resulting Numbers: [54, 52, 72]
Generated Node #0,3: 74:[54, 52, 72] Operation: 65+7=72
Moving to Node #0,1
Current State: 74:[65, 7, 2], Operations: ['54-52=2']
Exploring Operation: 65-7=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 74:[2, 58] Operation: 65-7=58
Exploring Operation: 65+7=72, Resulting Numbers: [2, 72]
Generated Node #0,1,1: 74:[2, 72] Operation: 65+7=72
Exploring Operation: 65+2=67, Resulting Numbers: [7, 67]
Generated Node #0,1,2: 74:[7, 67] Operation: 65+2=67
Exploring Operation: 7-2=5, Resulting Numbers: [65, 5]
Generated Node #0,1,3: 74:[65, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[2, 72], Operations: ['54-52=2', '65+7=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[65, 7, 54, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [65, 7, 2]
Generated Node #0,1: 74:[65, 7, 2] Operation: 54-52=2
Moving to Node #0,1
Current State: 74:[65, 7, 2], Operations: ['54-52=2']
Exploring Operation: 65+7=72, Resulting Numbers: [2, 72]
Generated Node #0,1,1: 74:[2, 72] Operation: 65+7=72
Moving to Node #0,1,1
Current State: 74:[2, 72], Operations: ['54-52=2', '65+7=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
83,
2,
87,
42
] | 88 |
[
"87-83=4",
"2*42=84",
"4+84=88"
] |
Current State: 88:[83, 2, 87, 42], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [2, 42, 4]
Generated Node #2: [2, 42, 4] from Operation: 87-83=4
Current State: 88:[2, 42, 4], Operations: ['87-83=4']
Exploring Operation: 2*42=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 2*42=84
Current State: 88:[4, 84], Operations: ['87-83=4', '2*42=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[83, 2, 87, 42], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [2, 42, 4]
Generated Node #0,0: 88:[2, 42, 4] Operation: 87-83=4
Moving to Node #0,0
Current State: 88:[2, 42, 4], Operations: ['87-83=4']
Exploring Operation: 2+42=44, Resulting Numbers: [4, 44]
Generated Node #0,0,0: 88:[4, 44] Operation: 2+42=44
Moving to Node #0,0,0
Current State: 88:[4, 44], Operations: ['87-83=4', '2+42=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
95,
49,
12,
7
] | 38 |
[
"95-49=46",
"12*7=84",
"84-46=38"
] |
Current State: 38:[95, 49, 12, 7], Operations: []
Exploring Operation: 95-49=46, Resulting Numbers: [12, 7, 46]
Generated Node #2: [12, 7, 46] from Operation: 95-49=46
Current State: 38:[12, 7, 46], Operations: ['95-49=46']
Exploring Operation: 12*7=84, Resulting Numbers: [46, 84]
Generated Node #3: [46, 84] from Operation: 12*7=84
Current State: 38:[46, 84], Operations: ['95-49=46', '12*7=84']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[95, 49, 12, 7], Operations: []
Exploring Operation: 95-12=83, Resulting Numbers: [49, 7, 83]
Generated Node #0,0: 38:[49, 7, 83] Operation: 95-12=83
Exploring Operation: 95-49=46, Resulting Numbers: [12, 7, 46]
Generated Node #0,1: 38:[12, 7, 46] Operation: 95-49=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[12, 7, 46], Operations: ['95-49=46']
Exploring Operation: 46-7=39, Resulting Numbers: [12, 39]
Generated Node #0,1,0: 38:[12, 39] Operation: 46-7=39
Exploring Operation: 12+7=19, Resulting Numbers: [46, 19]
Generated Node #0,1,1: 38:[46, 19] Operation: 12+7=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[12, 39], Operations: ['95-49=46', '46-7=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[46, 19], Operations: ['95-49=46', '12+7=19']
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[49, 7, 83], Operations: ['95-12=83']
Exploring Operation: 83-49=34, Resulting Numbers: [7, 34]
Generated Node #0,0,0: 38:[7, 34] Operation: 83-49=34
Exploring Operation: 49-7=42, Resulting Numbers: [83, 42]
Generated Node #0,0,1: 38:[83, 42] Operation: 49-7=42
Moving to Node #0,0,0
Current State: 38:[7, 34], Operations: ['95-12=83', '83-49=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[83, 42], Operations: ['95-12=83', '49-7=42']
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,38 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,38 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
|
[
4,
91,
81,
83
] | 49 |
[
"91-83=8",
"4*8=32",
"81-32=49"
] |
Current State: 49:[4, 91, 81, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [4, 81, 8]
Generated Node #2: [4, 81, 8] from Operation: 91-83=8
Current State: 49:[4, 81, 8], Operations: ['91-83=8']
Exploring Operation: 4*8=32, Resulting Numbers: [81, 32]
Generated Node #3: [81, 32] from Operation: 4*8=32
Current State: 49:[81, 32], Operations: ['91-83=8', '4*8=32']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[4, 91, 81, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [4, 91, 2]
Generated Node #0,0: 49:[4, 91, 2] Operation: 83-81=2
Exploring Operation: 91-81=10, Resulting Numbers: [4, 83, 10]
Generated Node #0,1: 49:[4, 83, 10] Operation: 91-81=10
Exploring Operation: 91-83=8, Resulting Numbers: [4, 81, 8]
Generated Node #0,2: 49:[4, 81, 8] Operation: 91-83=8
Exploring Operation: 91-4=87, Resulting Numbers: [81, 83, 87]
Generated Node #0,3: 49:[81, 83, 87] Operation: 91-4=87
Exploring Operation: 81-4=77, Resulting Numbers: [91, 83, 77]
Generated Node #0,4: 49:[91, 83, 77] Operation: 81-4=77
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[4, 81, 8], Operations: ['91-83=8']
Exploring Operation: 81-4=77, Resulting Numbers: [8, 77]
Generated Node #0,2,0: 49:[8, 77] Operation: 81-4=77
Exploring Operation: 81-8=73, Resulting Numbers: [4, 73]
Generated Node #0,2,1: 49:[4, 73] Operation: 81-8=73
Exploring Operation: 4+81=85, Resulting Numbers: [8, 85]
Generated Node #0,2,2: 49:[8, 85] Operation: 4+81=85
Exploring Operation: 8-4=4, Resulting Numbers: [81, 4]
Generated Node #0,2,3: 49:[81, 4] Operation: 8-4=4
Exploring Operation: 4+8=12, Resulting Numbers: [81, 12]
Generated Node #0,2,4: 49:[81, 12] Operation: 4+8=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[4, 73], Operations: ['91-83=8', '81-8=73']
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,49 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[8, 77], Operations: ['91-83=8', '81-4=77']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 8*77=616, Resulting Numbers: [616]
616,49 unequal: No Solution
Exploring Operation: 8+77=85, Resulting Numbers: [85]
85,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[81, 4], Operations: ['91-83=8', '8-4=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,49 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[8, 85], Operations: ['91-83=8', '4+81=85']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 8*85=680, Resulting Numbers: [680]
680,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 49:[81, 12], Operations: ['91-83=8', '4+8=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,49 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: 49:[4, 83, 10], Operations: ['91-81=10']
Exploring Operation: 4+10=14, Resulting Numbers: [83, 14]
Generated Node #0,1,0: 49:[83, 14] Operation: 4+10=14
Exploring Operation: 83-4=79, Resulting Numbers: [10, 79]
Generated Node #0,1,1: 49:[10, 79] Operation: 83-4=79
Exploring Operation: 4+83=87, Resulting Numbers: [10, 87]
Generated Node #0,1,2: 49:[10, 87] Operation: 4+83=87
Exploring Operation: 10-4=6, Resulting Numbers: [83, 6]
Generated Node #0,1,3: 49:[83, 6] Operation: 10-4=6
Exploring Operation: 83-10=73, Resulting Numbers: [4, 73]
Generated Node #0,1,4: 49:[4, 73] Operation: 83-10=73
Moving to Node #0,1,4
Current State: 49:[4, 73], Operations: ['91-81=10', '83-10=73']
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,49 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[10, 79], Operations: ['91-81=10', '83-4=79']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,49 unequal: No Solution
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[83, 6], Operations: ['91-81=10', '10-4=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,49 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[83, 14], Operations: ['91-81=10', '4+10=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,49 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[10, 87], Operations: ['91-81=10', '4+83=87']
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,49 unequal: No Solution
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 91, 2], Operations: ['83-81=2']
Exploring Operation: 91-2=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 49:[4, 89] Operation: 91-2=89
Exploring Operation: 4+2=6, Resulting Numbers: [91, 6]
Generated Node #0,0,1: 49:[91, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [91, 2]
Generated Node #0,0,2: 49:[91, 2] Operation: 4-2=2
Exploring Operation: 91-4=87, Resulting Numbers: [2, 87]
Generated Node #0,0,3: 49:[2, 87] Operation: 91-4=87
Exploring Operation: 4*2=8, Resulting Numbers: [91, 8]
Generated Node #0,0,4: 49:[91, 8] Operation: 4*2=8
Moving to Node #0,0,0
Current State: 49:[4, 89], Operations: ['83-81=2', '91-2=89']
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,49 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[2, 87], Operations: ['83-81=2', '91-4=87']
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,49 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[91, 6], Operations: ['83-81=2', '4+2=6']
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,49 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[91, 8], Operations: ['83-81=2', '4*2=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,49 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[91, 2], Operations: ['83-81=2', '4-2=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,49 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[81, 83, 87], Operations: ['91-4=87']
Exploring Operation: 87-83=4, Resulting Numbers: [81, 4]
Generated Node #0,3,0: 49:[81, 4] Operation: 87-83=4
Exploring Operation: 87-81=6, Resulting Numbers: [83, 6]
Generated Node #0,3,1: 49:[83, 6] Operation: 87-81=6
Exploring Operation: 83-81=2, Resulting Numbers: [87, 2]
Generated Node #0,3,2: 49:[87, 2] Operation: 83-81=2
Exploring Operation: 81+83=164, Resulting Numbers: [87, 164]
Generated Node #0,3,3: 49:[87, 164] Operation: 81+83=164
Exploring Operation: 81+87=168, Resulting Numbers: [83, 168]
Generated Node #0,3,4: 49:[83, 168] Operation: 81+87=168
Moving to Node #0,3,0
Current State: 49:[81, 4], Operations: ['91-4=87', '87-83=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,49 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[83, 6], Operations: ['91-4=87', '87-81=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,49 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[87, 2], Operations: ['91-4=87', '83-81=2']
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,49 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[87, 164], Operations: ['91-4=87', '81+83=164']
Exploring Operation: 87*164=14268, Resulting Numbers: [14268]
14268,49 unequal: No Solution
Exploring Operation: 164-87=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Exploring Operation: 87+164=251, Resulting Numbers: [251]
251,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[83, 168], Operations: ['91-4=87', '81+87=168']
Exploring Operation: 168-83=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 83*168=13944, Resulting Numbers: [13944]
13944,49 unequal: No Solution
Exploring Operation: 83+168=251, Resulting Numbers: [251]
251,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[91, 83, 77], Operations: ['81-4=77']
Exploring Operation: 91+83=174, Resulting Numbers: [77, 174]
Generated Node #0,4,0: 49:[77, 174] Operation: 91+83=174
Exploring Operation: 83-77=6, Resulting Numbers: [91, 6]
Generated Node #0,4,1: 49:[91, 6] Operation: 83-77=6
Exploring Operation: 91+77=168, Resulting Numbers: [83, 168]
Generated Node #0,4,2: 49:[83, 168] Operation: 91+77=168
Exploring Operation: 91-77=14, Resulting Numbers: [83, 14]
Generated Node #0,4,3: 49:[83, 14] Operation: 91-77=14
Exploring Operation: 91-83=8, Resulting Numbers: [77, 8]
Generated Node #0,4,4: 49:[77, 8] Operation: 91-83=8
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 49:[77, 8], Operations: ['81-4=77', '91-83=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,49 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 49:[83, 14], Operations: ['81-4=77', '91-77=14']
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,49 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 49:[91, 6], Operations: ['81-4=77', '83-77=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 49:[77, 174], Operations: ['81-4=77', '91+83=174']
Exploring Operation: 77*174=13398, Resulting Numbers: [13398]
13398,49 unequal: No Solution
Exploring Operation: 174-77=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 77+174=251, Resulting Numbers: [251]
251,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 49:[83, 168], Operations: ['81-4=77', '91+77=168']
Exploring Operation: 83*168=13944, Resulting Numbers: [13944]
13944,49 unequal: No Solution
Exploring Operation: 83+168=251, Resulting Numbers: [251]
251,49 unequal: No Solution
Exploring Operation: 168-83=85, Resulting Numbers: [85]
85,49 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
|
[
21,
6,
45,
42
] | 53 |
[
"21+45=66",
"66/6=11",
"42+11=53"
] |
Current State: 53:[21, 6, 45, 42], Operations: []
Exploring Operation: 21+45=66, Resulting Numbers: [6, 42, 66]
Generated Node #2: [6, 42, 66] from Operation: 21+45=66
Current State: 53:[6, 42, 66], Operations: ['21+45=66']
Exploring Operation: 66/6=11, Resulting Numbers: [42, 11]
Generated Node #3: [42, 11] from Operation: 66/6=11
Current State: 53:[42, 11], Operations: ['21+45=66', '66/6=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[21, 6, 45, 42], Operations: []
Exploring Operation: 6+45=51, Resulting Numbers: [21, 42, 51]
Generated Node #0,0: 53:[21, 42, 51] Operation: 6+45=51
Exploring Operation: 21-6=15, Resulting Numbers: [45, 42, 15]
Generated Node #0,1: 53:[45, 42, 15] Operation: 21-6=15
Exploring Operation: 6+42=48, Resulting Numbers: [21, 45, 48]
Generated Node #0,2: 53:[21, 45, 48] Operation: 6+42=48
Exploring Operation: 21+6=27, Resulting Numbers: [45, 42, 27]
Generated Node #0,3: 53:[45, 42, 27] Operation: 21+6=27
Exploring Operation: 45-6=39, Resulting Numbers: [21, 42, 39]
Generated Node #0,4: 53:[21, 42, 39] Operation: 45-6=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[21, 42, 51], Operations: ['6+45=51']
Exploring Operation: 42-21=21, Resulting Numbers: [51, 21]
Generated Node #0,0,0: 53:[51, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [51, 2]
Generated Node #0,0,1: 53:[51, 2] Operation: 42/21=2
Exploring Operation: 21+42=63, Resulting Numbers: [51, 63]
Generated Node #0,0,2: 53:[51, 63] Operation: 21+42=63
Exploring Operation: 51-21=30, Resulting Numbers: [42, 30]
Generated Node #0,0,3: 53:[42, 30] Operation: 51-21=30
Exploring Operation: 21+51=72, Resulting Numbers: [42, 72]
Generated Node #0,0,4: 53:[42, 72] Operation: 21+51=72
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[51, 63], Operations: ['6+45=51', '21+42=63']
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,53 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,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,0,4
Current State: 53:[42, 72], Operations: ['6+45=51', '21+51=72']
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,53 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,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,0,0
Current State: 53:[51, 21], Operations: ['6+45=51', '42-21=21']
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,53 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,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,0,3
Current State: 53:[42, 30], Operations: ['6+45=51', '51-21=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,53 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,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,0,1
Current State: 53:[51, 2], Operations: ['6+45=51', '42/21=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[21, 6, 45, 42], Operations: []
Exploring Operation: 6+45=51, Resulting Numbers: [21, 42, 51]
Generated Node #0,0: 53:[21, 42, 51] Operation: 6+45=51
Moving to Node #0,0
Current State: 53:[21, 42, 51], Operations: ['6+45=51']
Exploring Operation: 42/21=2, Resulting Numbers: [51, 2]
Generated Node #0,0,1: 53:[51, 2] Operation: 42/21=2
Moving to Node #0,0,1
Current State: 53:[51, 2], Operations: ['6+45=51', '42/21=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 |
hs_5
|
mult_heuristic
|
[
26,
60,
66,
91
] | 21 |
[
"66-60=6",
"91*6=546",
"546/26=21"
] |
Current State: 21:[26, 60, 66, 91], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [26, 91, 6]
Generated Node #2: [26, 91, 6] from Operation: 66-60=6
Current State: 21:[26, 91, 6], Operations: ['66-60=6']
Exploring Operation: 91*6=546, Resulting Numbers: [26, 546]
Generated Node #3: [26, 546] from Operation: 91*6=546
Current State: 21:[26, 546], Operations: ['66-60=6', '91*6=546']
Exploring Operation: 546/26=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[26, 60, 66, 91], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [26, 60, 25]
Generated Node #0,0: 21:[26, 60, 25] Operation: 91-66=25
Exploring Operation: 66-60=6, Resulting Numbers: [26, 91, 6]
Generated Node #0,1: 21:[26, 91, 6] Operation: 66-60=6
Exploring Operation: 91-60=31, Resulting Numbers: [26, 66, 31]
Generated Node #0,2: 21:[26, 66, 31] Operation: 91-60=31
Exploring Operation: 60-26=34, Resulting Numbers: [66, 91, 34]
Generated Node #0,3: 21:[66, 91, 34] Operation: 60-26=34
Moving to Node #0,0
Current State: 21:[26, 60, 25], Operations: ['91-66=25']
Exploring Operation: 26-25=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 21:[60, 1] Operation: 26-25=1
Exploring Operation: 60-26=34, Resulting Numbers: [25, 34]
Generated Node #0,0,1: 21:[25, 34] Operation: 60-26=34
Exploring Operation: 60-25=35, Resulting Numbers: [26, 35]
Generated Node #0,0,2: 21:[26, 35] Operation: 60-25=35
Exploring Operation: 26+60=86, Resulting Numbers: [25, 86]
Generated Node #0,0,3: 21:[25, 86] Operation: 26+60=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[25, 34], Operations: ['91-66=25', '60-26=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,21 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,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,0,2
Current State: 21:[26, 35], Operations: ['91-66=25', '60-25=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,21 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,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,0,0
Current State: 21:[60, 1], Operations: ['91-66=25', '26-25=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,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,0,3
Current State: 21:[25, 86], Operations: ['91-66=25', '26+60=86']
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 25*86=2150, Resulting Numbers: [2150]
2150,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:[26, 66, 31], Operations: ['91-60=31']
Exploring Operation: 66-26=40, Resulting Numbers: [31, 40]
Generated Node #0,2,0: 21:[31, 40] Operation: 66-26=40
Exploring Operation: 31-26=5, Resulting Numbers: [66, 5]
Generated Node #0,2,1: 21:[66, 5] Operation: 31-26=5
Exploring Operation: 26+66=92, Resulting Numbers: [31, 92]
Generated Node #0,2,2: 21:[31, 92] Operation: 26+66=92
Exploring Operation: 66-31=35, Resulting Numbers: [26, 35]
Generated Node #0,2,3: 21:[26, 35] Operation: 66-31=35
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[26, 35], Operations: ['91-60=31', '66-31=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,21 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,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,2,0
Current State: 21:[31, 40], Operations: ['91-60=31', '66-26=40']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,21 unequal: No Solution
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,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,2,1
Current State: 21:[66, 5], Operations: ['91-60=31', '31-26=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,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,2,2
Current State: 21:[31, 92], Operations: ['91-60=31', '26+66=92']
Exploring Operation: 31*92=2852, Resulting Numbers: [2852]
2852,21 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 31+92=123, Resulting Numbers: [123]
123,21 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: 21:[26, 91, 6], Operations: ['66-60=6']
Exploring Operation: 91-6=85, Resulting Numbers: [26, 85]
Generated Node #0,1,0: 21:[26, 85] Operation: 91-6=85
Exploring Operation: 26+6=32, Resulting Numbers: [91, 32]
Generated Node #0,1,1: 21:[91, 32] Operation: 26+6=32
Exploring Operation: 91-26=65, Resulting Numbers: [6, 65]
Generated Node #0,1,2: 21:[6, 65] Operation: 91-26=65
Exploring Operation: 26-6=20, Resulting Numbers: [91, 20]
Generated Node #0,1,3: 21:[91, 20] Operation: 26-6=20
Moving to Node #0,3
Current State: 21:[66, 91, 34], Operations: ['60-26=34']
Exploring Operation: 66+91=157, Resulting Numbers: [34, 157]
Generated Node #0,3,0: 21:[34, 157] Operation: 66+91=157
Exploring Operation: 91-34=57, Resulting Numbers: [66, 57]
Generated Node #0,3,1: 21:[66, 57] Operation: 91-34=57
Exploring Operation: 91-66=25, Resulting Numbers: [34, 25]
Generated Node #0,3,2: 21:[34, 25] Operation: 91-66=25
Exploring Operation: 66-34=32, Resulting Numbers: [91, 32]
Generated Node #0,3,3: 21:[91, 32] Operation: 66-34=32
Moving to Node #0,3,2
Current State: 21:[34, 25], Operations: ['60-26=34', '91-66=25']
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,21 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[6, 65], Operations: ['66-60=6', '91-26=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[26, 85], Operations: ['66-60=6', '91-6=85']
Exploring Operation: 26*85=2210, Resulting Numbers: [2210]
2210,21 unequal: No Solution
Exploring Operation: 26+85=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[91, 20], Operations: ['66-60=6', '26-6=20']
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,21 unequal: No Solution
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[66, 57], Operations: ['60-26=34', '91-34=57']
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 66+57=123, Resulting Numbers: [123]
123,21 unequal: No Solution
Exploring Operation: 66*57=3762, Resulting Numbers: [3762]
3762,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[91, 32], Operations: ['66-60=6', '26+6=32']
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,21 unequal: No Solution
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,21 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[91, 32], Operations: ['60-26=34', '66-34=32']
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,21 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,21 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[34, 157], Operations: ['60-26=34', '66+91=157']
Exploring Operation: 157-34=123, Resulting Numbers: [123]
123,21 unequal: No Solution
Exploring Operation: 34+157=191, Resulting Numbers: [191]
191,21 unequal: No Solution
Exploring Operation: 34*157=5338, Resulting Numbers: [5338]
5338,21 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
48,
57,
59,
75
] | 21 |
[
"59-57=2",
"48*2=96",
"96-75=21"
] |
Current State: 21:[48, 57, 59, 75], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [48, 75, 2]
Generated Node #2: [48, 75, 2] from Operation: 59-57=2
Current State: 21:[48, 75, 2], Operations: ['59-57=2']
Exploring Operation: 48*2=96, Resulting Numbers: [75, 96]
Generated Node #3: [75, 96] from Operation: 48*2=96
Current State: 21:[75, 96], Operations: ['59-57=2', '48*2=96']
Exploring Operation: 96-75=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[48, 57, 59, 75], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [48, 59, 18]
Generated Node #0,0: 21:[48, 59, 18] Operation: 75-57=18
Exploring Operation: 75-59=16, Resulting Numbers: [48, 57, 16]
Generated Node #0,1: 21:[48, 57, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[48, 59, 18], Operations: ['75-57=18']
Exploring Operation: 59-48=11, Resulting Numbers: [18, 11]
Generated Node #0,0,0: 21:[18, 11] Operation: 59-48=11
Exploring Operation: 48-18=30, Resulting Numbers: [59, 30]
Generated Node #0,0,1: 21:[59, 30] Operation: 48-18=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[18, 11], Operations: ['75-57=18', '59-48=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,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,0,1
Current State: 21:[59, 30], Operations: ['75-57=18', '48-18=30']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[48, 57, 16], Operations: ['75-59=16']
Exploring Operation: 48/16=3, Resulting Numbers: [57, 3]
Generated Node #0,1,0: 21:[57, 3] Operation: 48/16=3
Exploring Operation: 57-48=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 21:[16, 9] Operation: 57-48=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[16, 9], Operations: ['75-59=16', '57-48=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,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,0
Current State: 21:[57, 3], Operations: ['75-59=16', '48/16=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
43,
99,
76,
85
] | 19 |
[
"43+99=142",
"76+85=161",
"161-142=19"
] |
Current State: 19:[43, 99, 76, 85], Operations: []
Exploring Operation: 43+99=142, Resulting Numbers: [76, 85, 142]
Generated Node #2: [76, 85, 142] from Operation: 43+99=142
Current State: 19:[76, 85, 142], Operations: ['43+99=142']
Exploring Operation: 76+85=161, Resulting Numbers: [142, 161]
Generated Node #3: [142, 161] from Operation: 76+85=161
Current State: 19:[142, 161], Operations: ['43+99=142', '76+85=161']
Exploring Operation: 161-142=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[43, 99, 76, 85], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [76, 85, 56]
Generated Node #0,0: 19:[76, 85, 56] Operation: 99-43=56
Exploring Operation: 99-85=14, Resulting Numbers: [43, 76, 14]
Generated Node #0,1: 19:[43, 76, 14] Operation: 99-85=14
Exploring Operation: 99-76=23, Resulting Numbers: [43, 85, 23]
Generated Node #0,2: 19:[43, 85, 23] Operation: 99-76=23
Exploring Operation: 85-76=9, Resulting Numbers: [43, 99, 9]
Generated Node #0,3: 19:[43, 99, 9] Operation: 85-76=9
Exploring Operation: 76-43=33, Resulting Numbers: [99, 85, 33]
Generated Node #0,4: 19:[99, 85, 33] Operation: 76-43=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[43, 76, 14], Operations: ['99-85=14']
Exploring Operation: 76-43=33, Resulting Numbers: [14, 33]
Generated Node #0,1,0: 19:[14, 33] Operation: 76-43=33
Exploring Operation: 76-14=62, Resulting Numbers: [43, 62]
Generated Node #0,1,1: 19:[43, 62] Operation: 76-14=62
Exploring Operation: 76+14=90, Resulting Numbers: [43, 90]
Generated Node #0,1,2: 19:[43, 90] Operation: 76+14=90
Exploring Operation: 43-14=29, Resulting Numbers: [76, 29]
Generated Node #0,1,3: 19:[76, 29] Operation: 43-14=29
Exploring Operation: 43+14=57, Resulting Numbers: [76, 57]
Generated Node #0,1,4: 19:[76, 57] Operation: 43+14=57
Moving to Node #0,1,0
Current State: 19:[14, 33], Operations: ['99-85=14', '76-43=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[43, 99, 76, 85], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [43, 76, 14]
Generated Node #0,1: 19:[43, 76, 14] Operation: 99-85=14
Moving to Node #0,1
Current State: 19:[43, 76, 14], Operations: ['99-85=14']
Exploring Operation: 76-43=33, Resulting Numbers: [14, 33]
Generated Node #0,1,0: 19:[14, 33] Operation: 76-43=33
Moving to Node #0,1,0
Current State: 19:[14, 33], Operations: ['99-85=14', '76-43=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
98,
55,
5,
18
] | 27 |
[
"98+55=153",
"153-18=135",
"135/5=27"
] |
Current State: 27:[98, 55, 5, 18], Operations: []
Exploring Operation: 98+55=153, Resulting Numbers: [5, 18, 153]
Generated Node #2: [5, 18, 153] from Operation: 98+55=153
Current State: 27:[5, 18, 153], Operations: ['98+55=153']
Exploring Operation: 153-18=135, Resulting Numbers: [5, 135]
Generated Node #3: [5, 135] from Operation: 153-18=135
Current State: 27:[5, 135], Operations: ['98+55=153', '153-18=135']
Exploring Operation: 135/5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[98, 55, 5, 18], Operations: []
Exploring Operation: 55-18=37, Resulting Numbers: [98, 5, 37]
Generated Node #0,0: 27:[98, 5, 37] Operation: 55-18=37
Exploring Operation: 98-18=80, Resulting Numbers: [55, 5, 80]
Generated Node #0,1: 27:[55, 5, 80] Operation: 98-18=80
Exploring Operation: 55/5=11, Resulting Numbers: [98, 18, 11]
Generated Node #0,2: 27:[98, 18, 11] Operation: 55/5=11
Exploring Operation: 98-55=43, Resulting Numbers: [5, 18, 43]
Generated Node #0,3: 27:[5, 18, 43] Operation: 98-55=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[5, 18, 43], Operations: ['98-55=43']
Exploring Operation: 43-18=25, Resulting Numbers: [5, 25]
Generated Node #0,3,0: 27:[5, 25] Operation: 43-18=25
Exploring Operation: 5+18=23, Resulting Numbers: [43, 23]
Generated Node #0,3,1: 27:[43, 23] Operation: 5+18=23
Exploring Operation: 18-5=13, Resulting Numbers: [43, 13]
Generated Node #0,3,2: 27:[43, 13] Operation: 18-5=13
Exploring Operation: 43-5=38, Resulting Numbers: [18, 38]
Generated Node #0,3,3: 27:[18, 38] Operation: 43-5=38
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[5, 25], Operations: ['98-55=43', '43-18=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No 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: 27:[43, 23], Operations: ['98-55=43', '5+18=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,27 unequal: No Solution
No 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: 27:[43, 13], Operations: ['98-55=43', '18-5=13']
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,27 unequal: No Solution
No 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: 27:[18, 38], Operations: ['98-55=43', '43-5=38']
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,27 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,27 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: 27:[98, 18, 11], Operations: ['55/5=11']
Exploring Operation: 98-18=80, Resulting Numbers: [11, 80]
Generated Node #0,2,0: 27:[11, 80] Operation: 98-18=80
Exploring Operation: 18+11=29, Resulting Numbers: [98, 29]
Generated Node #0,2,1: 27:[98, 29] Operation: 18+11=29
Exploring Operation: 18-11=7, Resulting Numbers: [98, 7]
Generated Node #0,2,2: 27:[98, 7] Operation: 18-11=7
Exploring Operation: 98-11=87, Resulting Numbers: [18, 87]
Generated Node #0,2,3: 27:[18, 87] Operation: 98-11=87
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[11, 80], Operations: ['55/5=11', '98-18=80']
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,27 unequal: No Solution
No 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: 27:[18, 87], Operations: ['55/5=11', '98-11=87']
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 18*87=1566, Resulting Numbers: [1566]
1566,27 unequal: No Solution
No 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: 27:[98, 29], Operations: ['55/5=11', '18+11=29']
Exploring Operation: 98*29=2842, Resulting Numbers: [2842]
2842,27 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 98+29=127, Resulting Numbers: [127]
127,27 unequal: No Solution
No 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: 27:[98, 7], Operations: ['55/5=11', '18-11=7']
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,27 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,27 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: 27:[98, 5, 37], Operations: ['55-18=37']
Exploring Operation: 98-37=61, Resulting Numbers: [5, 61]
Generated Node #0,0,0: 27:[5, 61] Operation: 98-37=61
Exploring Operation: 37-5=32, Resulting Numbers: [98, 32]
Generated Node #0,0,1: 27:[98, 32] Operation: 37-5=32
Exploring Operation: 98+5=103, Resulting Numbers: [37, 103]
Generated Node #0,0,2: 27:[37, 103] Operation: 98+5=103
Exploring Operation: 98-5=93, Resulting Numbers: [37, 93]
Generated Node #0,0,3: 27:[37, 93] Operation: 98-5=93
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[5, 61], Operations: ['55-18=37', '98-37=61']
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,27 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,27 unequal: No Solution
No 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: 27:[98, 32], Operations: ['55-18=37', '37-5=32']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,27 unequal: No Solution
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,27 unequal: No Solution
No 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: 27:[37, 93], Operations: ['55-18=37', '98-5=93']
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,27 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,27 unequal: No Solution
No 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: 27:[37, 103], Operations: ['55-18=37', '98+5=103']
Exploring Operation: 103-37=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 37+103=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 37*103=3811, Resulting Numbers: [3811]
3811,27 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: 27:[55, 5, 80], Operations: ['98-18=80']
Exploring Operation: 55/5=11, Resulting Numbers: [80, 11]
Generated Node #0,1,0: 27:[80, 11] Operation: 55/5=11
Exploring Operation: 80/5=16, Resulting Numbers: [55, 16]
Generated Node #0,1,1: 27:[55, 16] Operation: 80/5=16
Exploring Operation: 80-55=25, Resulting Numbers: [5, 25]
Generated Node #0,1,2: 27:[5, 25] Operation: 80-55=25
Exploring Operation: 55-5=50, Resulting Numbers: [80, 50]
Generated Node #0,1,3: 27:[80, 50] Operation: 55-5=50
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[5, 25], Operations: ['98-18=80', '80-55=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No 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: 27:[55, 16], Operations: ['98-18=80', '80/5=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,27 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,27 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,27 unequal: No Solution
No 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: 27:[80, 11], Operations: ['98-18=80', '55/5=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,27 unequal: No Solution
No 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: 27:[80, 50], Operations: ['98-18=80', '55-5=50']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,27 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
55,
79,
4,
45
] | 85 |
[
"55+79=134",
"4+45=49",
"134-49=85"
] |
Current State: 85:[55, 79, 4, 45], Operations: []
Exploring Operation: 55+79=134, Resulting Numbers: [4, 45, 134]
Generated Node #2: [4, 45, 134] from Operation: 55+79=134
Current State: 85:[4, 45, 134], Operations: ['55+79=134']
Exploring Operation: 4+45=49, Resulting Numbers: [134, 49]
Generated Node #3: [134, 49] from Operation: 4+45=49
Current State: 85:[134, 49], Operations: ['55+79=134', '4+45=49']
Exploring Operation: 134-49=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[55, 79, 4, 45], Operations: []
Exploring Operation: 55+45=100, Resulting Numbers: [79, 4, 100]
Generated Node #0,0: 85:[79, 4, 100] Operation: 55+45=100
Exploring Operation: 79-55=24, Resulting Numbers: [4, 45, 24]
Generated Node #0,1: 85:[4, 45, 24] Operation: 79-55=24
Exploring Operation: 55-45=10, Resulting Numbers: [79, 4, 10]
Generated Node #0,2: 85:[79, 4, 10] Operation: 55-45=10
Moving to Node #0,2
Current State: 85:[79, 4, 10], Operations: ['55-45=10']
Exploring Operation: 79+4=83, Resulting Numbers: [10, 83]
Generated Node #0,2,0: 85:[10, 83] Operation: 79+4=83
Exploring Operation: 79+10=89, Resulting Numbers: [4, 89]
Generated Node #0,2,1: 85:[4, 89] Operation: 79+10=89
Exploring Operation: 10-4=6, Resulting Numbers: [79, 6]
Generated Node #0,2,2: 85:[79, 6] Operation: 10-4=6
Moving to Node #0,0
Current State: 85:[79, 4, 100], Operations: ['55+45=100']
Exploring Operation: 79+4=83, Resulting Numbers: [100, 83]
Generated Node #0,0,0: 85:[100, 83] Operation: 79+4=83
Exploring Operation: 100-79=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 85:[4, 21] Operation: 100-79=21
Exploring Operation: 100/4=25, Resulting Numbers: [79, 25]
Generated Node #0,0,2: 85:[79, 25] Operation: 100/4=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[4, 21], Operations: ['55+45=100', '100-79=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[79, 25], Operations: ['55+45=100', '100/4=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,85 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[100, 83], Operations: ['55+45=100', '79+4=83']
Exploring Operation: 100+83=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 100*83=8300, Resulting Numbers: [8300]
8300,85 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: 85:[4, 45, 24], Operations: ['79-55=24']
Exploring Operation: 45-24=21, Resulting Numbers: [4, 21]
Generated Node #0,1,0: 85:[4, 21] Operation: 45-24=21
Exploring Operation: 45+24=69, Resulting Numbers: [4, 69]
Generated Node #0,1,1: 85:[4, 69] Operation: 45+24=69
Exploring Operation: 24/4=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 85:[45, 6] Operation: 24/4=6
Moving to Node #0,2,1
Current State: 85:[4, 89], Operations: ['55-45=10', '79+10=89']
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,85 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[55, 79, 4, 45], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [79, 4, 10]
Generated Node #0,2: 85:[79, 4, 10] Operation: 55-45=10
Moving to Node #0,2
Current State: 85:[79, 4, 10], Operations: ['55-45=10']
Exploring Operation: 79+10=89, Resulting Numbers: [4, 89]
Generated Node #0,2,1: 85:[4, 89] Operation: 79+10=89
Moving to Node #0,2,1
Current State: 85:[4, 89], Operations: ['55-45=10', '79+10=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.975694 |
hs_3
|
mult_heuristic
|
[
20,
55,
51,
10
] | 47 |
[
"20*51=1020",
"1020/10=102",
"102-55=47"
] |
Current State: 47:[20, 55, 51, 10], Operations: []
Exploring Operation: 20*51=1020, Resulting Numbers: [55, 10, 1020]
Generated Node #2: [55, 10, 1020] from Operation: 20*51=1020
Current State: 47:[55, 10, 1020], Operations: ['20*51=1020']
Exploring Operation: 1020/10=102, Resulting Numbers: [55, 102]
Generated Node #3: [55, 102] from Operation: 1020/10=102
Current State: 47:[55, 102], Operations: ['20*51=1020', '1020/10=102']
Exploring Operation: 102-55=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[20, 55, 51, 10], Operations: []
Exploring Operation: 20+10=30, Resulting Numbers: [55, 51, 30]
Generated Node #0,0: 47:[55, 51, 30] Operation: 20+10=30
Exploring Operation: 55-10=45, Resulting Numbers: [20, 51, 45]
Generated Node #0,1: 47:[20, 51, 45] Operation: 55-10=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[55, 51, 30], Operations: ['20+10=30']
Exploring Operation: 51-30=21, Resulting Numbers: [55, 21]
Generated Node #0,0,0: 47:[55, 21] Operation: 51-30=21
Exploring Operation: 55-30=25, Resulting Numbers: [51, 25]
Generated Node #0,0,1: 47:[51, 25] Operation: 55-30=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[51, 25], Operations: ['20+10=30', '55-30=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,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:[55, 21], Operations: ['20+10=30', '51-30=21']
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[20, 51, 45], Operations: ['55-10=45']
Exploring Operation: 51-20=31, Resulting Numbers: [45, 31]
Generated Node #0,1,0: 47:[45, 31] Operation: 51-20=31
Exploring Operation: 20+45=65, Resulting Numbers: [51, 65]
Generated Node #0,1,1: 47:[51, 65] Operation: 20+45=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[45, 31], Operations: ['55-10=45', '51-20=31']
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[51, 65], Operations: ['55-10=45', '20+45=65']
Exploring Operation: 51+65=116, Resulting Numbers: [116]
116,47 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
56,
34,
57,
13
] | 66 |
[
"56-34=22",
"57-13=44",
"22+44=66"
] |
Current State: 66:[56, 34, 57, 13], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [57, 13, 22]
Generated Node #2: [57, 13, 22] from Operation: 56-34=22
Current State: 66:[57, 13, 22], Operations: ['56-34=22']
Exploring Operation: 57-13=44, Resulting Numbers: [22, 44]
Generated Node #3: [22, 44] from Operation: 57-13=44
Current State: 66:[22, 44], Operations: ['56-34=22', '57-13=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[56, 34, 57, 13], Operations: []
Exploring Operation: 57-34=23, Resulting Numbers: [56, 13, 23]
Generated Node #0,0: 66:[56, 13, 23] Operation: 57-34=23
Exploring Operation: 57-56=1, Resulting Numbers: [34, 13, 1]
Generated Node #0,1: 66:[34, 13, 1] Operation: 57-56=1
Exploring Operation: 56+13=69, Resulting Numbers: [34, 57, 69]
Generated Node #0,2: 66:[34, 57, 69] Operation: 56+13=69
Exploring Operation: 57+13=70, Resulting Numbers: [56, 34, 70]
Generated Node #0,3: 66:[56, 34, 70] Operation: 57+13=70
Exploring Operation: 56-34=22, Resulting Numbers: [57, 13, 22]
Generated Node #0,4: 66:[57, 13, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[34, 13, 1], Operations: ['57-56=1']
Exploring Operation: 34-1=33, Resulting Numbers: [13, 33]
Generated Node #0,1,0: 66:[13, 33] Operation: 34-1=33
Exploring Operation: 13-1=12, Resulting Numbers: [34, 12]
Generated Node #0,1,1: 66:[34, 12] Operation: 13-1=12
Exploring Operation: 34*1=34, Resulting Numbers: [13, 34]
Generated Node #0,1,2: 66:[13, 34] Operation: 34*1=34
Exploring Operation: 34/1=34, Resulting Numbers: [13, 34]
Generated Node #0,1,3: 66:[13, 34] Operation: 34/1=34
Exploring Operation: 34-13=21, Resulting Numbers: [1, 21]
Generated Node #0,1,4: 66:[1, 21] Operation: 34-13=21
Moving to Node #0,1,0
Current State: 66:[13, 33], Operations: ['57-56=1', '34-1=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 13*33=429, Resulting Numbers: [429]
429,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[1, 21], Operations: ['57-56=1', '34-13=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[34, 12], Operations: ['57-56=1', '13-1=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,66 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[13, 34], Operations: ['57-56=1', '34*1=34']
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,66 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[13, 34], Operations: ['57-56=1', '34/1=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,66 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[57, 13, 22], Operations: ['56-34=22']
Exploring Operation: 57+13=70, Resulting Numbers: [22, 70]
Generated Node #0,4,0: 66:[22, 70] Operation: 57+13=70
Exploring Operation: 13+22=35, Resulting Numbers: [57, 35]
Generated Node #0,4,1: 66:[57, 35] Operation: 13+22=35
Exploring Operation: 57-22=35, Resulting Numbers: [13, 35]
Generated Node #0,4,2: 66:[13, 35] Operation: 57-22=35
Exploring Operation: 22-13=9, Resulting Numbers: [57, 9]
Generated Node #0,4,3: 66:[57, 9] Operation: 22-13=9
Exploring Operation: 57-13=44, Resulting Numbers: [22, 44]
Generated Node #0,4,4: 66:[22, 44] Operation: 57-13=44
Moving to Node #0,4,0
Current State: 66:[22, 70], Operations: ['56-34=22', '57+13=70']
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,66 unequal: No Solution
Moving to Node #0,4,2
Current State: 66:[13, 35], Operations: ['56-34=22', '57-22=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,66 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[57, 35], Operations: ['56-34=22', '13+22=35']
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,66 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[57, 9], Operations: ['56-34=22', '22-13=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[56, 34, 57, 13], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [57, 13, 22]
Generated Node #0,4: 66:[57, 13, 22] Operation: 56-34=22
Moving to Node #0,4
Current State: 66:[57, 13, 22], Operations: ['56-34=22']
Exploring Operation: 22-13=9, Resulting Numbers: [57, 9]
Generated Node #0,4,3: 66:[57, 9] Operation: 22-13=9
Moving to Node #0,4,3
Current State: 66:[57, 9], Operations: ['56-34=22', '22-13=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 |
hs_5
|
mult_heuristic
|
[
27,
47,
54,
10
] | 44 |
[
"47-27=20",
"54+10=64",
"64-20=44"
] |
Current State: 44:[27, 47, 54, 10], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [54, 10, 20]
Generated Node #2: [54, 10, 20] from Operation: 47-27=20
Current State: 44:[54, 10, 20], Operations: ['47-27=20']
Exploring Operation: 54+10=64, Resulting Numbers: [20, 64]
Generated Node #3: [20, 64] from Operation: 54+10=64
Current State: 44:[20, 64], Operations: ['47-27=20', '54+10=64']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[27, 47, 54, 10], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [27, 10, 7]
Generated Node #0,0: 44:[27, 10, 7] Operation: 54-47=7
Exploring Operation: 54-10=44, Resulting Numbers: [27, 47, 44]
Generated Node #0,1: 44:[27, 47, 44] Operation: 54-10=44
Exploring Operation: 54-27=27, Resulting Numbers: [47, 10, 27]
Generated Node #0,2: 44:[47, 10, 27] Operation: 54-27=27
Exploring Operation: 54/27=2, Resulting Numbers: [47, 10, 2]
Generated Node #0,3: 44:[47, 10, 2] Operation: 54/27=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[47, 10, 2], Operations: ['54/27=2']
Exploring Operation: 47-2=45, Resulting Numbers: [10, 45]
Generated Node #0,3,0: 44:[10, 45] Operation: 47-2=45
Exploring Operation: 10*2=20, Resulting Numbers: [47, 20]
Generated Node #0,3,1: 44:[47, 20] Operation: 10*2=20
Exploring Operation: 10/2=5, Resulting Numbers: [47, 5]
Generated Node #0,3,2: 44:[47, 5] Operation: 10/2=5
Exploring Operation: 10+2=12, Resulting Numbers: [47, 12]
Generated Node #0,3,3: 44:[47, 12] Operation: 10+2=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[10, 45], Operations: ['54/27=2', '47-2=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[47, 5], Operations: ['54/27=2', '10/2=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,44 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[47, 12], Operations: ['54/27=2', '10+2=12']
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,44 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[47, 20], Operations: ['54/27=2', '10*2=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,44 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[27, 47, 44], Operations: ['54-10=44']
Exploring Operation: 47-44=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 44:[27, 3] Operation: 47-44=3
Exploring Operation: 44-27=17, Resulting Numbers: [47, 17]
Generated Node #0,1,1: 44:[47, 17] Operation: 44-27=17
Exploring Operation: 27+47=74, Resulting Numbers: [44, 74]
Generated Node #0,1,2: 44:[44, 74] Operation: 27+47=74
Exploring Operation: 47-27=20, Resulting Numbers: [44, 20]
Generated Node #0,1,3: 44:[44, 20] Operation: 47-27=20
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[44, 20], Operations: ['54-10=44', '47-27=20']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,44 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[27, 3], Operations: ['54-10=44', '47-44=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[47, 17], Operations: ['54-10=44', '44-27=17']
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,44 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,44 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[44, 74], Operations: ['54-10=44', '27+47=74']
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[27, 10, 7], Operations: ['54-47=7']
Exploring Operation: 10-7=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 44:[27, 3] Operation: 10-7=3
Exploring Operation: 27+10=37, Resulting Numbers: [7, 37]
Generated Node #0,0,1: 44:[7, 37] Operation: 27+10=37
Exploring Operation: 27-10=17, Resulting Numbers: [7, 17]
Generated Node #0,0,2: 44:[7, 17] Operation: 27-10=17
Exploring Operation: 27-7=20, Resulting Numbers: [10, 20]
Generated Node #0,0,3: 44:[10, 20] Operation: 27-7=20
Moving to Node #0,0,3
Current State: 44:[10, 20], Operations: ['54-47=7', '27-7=20']
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,44 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[27, 3], Operations: ['54-47=7', '10-7=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[7, 17], Operations: ['54-47=7', '27-10=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,44 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[7, 37], Operations: ['54-47=7', '27+10=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[27, 47, 54, 10], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [27, 10, 7]
Generated Node #0,0: 44:[27, 10, 7] Operation: 54-47=7
Moving to Node #0,0
Current State: 44:[27, 10, 7], Operations: ['54-47=7']
Exploring Operation: 27+10=37, Resulting Numbers: [7, 37]
Generated Node #0,0,1: 44:[7, 37] Operation: 27+10=37
Moving to Node #0,0,1
Current State: 44:[7, 37], Operations: ['54-47=7', '27+10=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 |
hs_4
|
mult_heuristic
|
[
45,
66,
21,
93
] | 35 |
[
"45*21=945",
"93-66=27",
"945/27=35"
] |
Current State: 35:[45, 66, 21, 93], Operations: []
Exploring Operation: 45*21=945, Resulting Numbers: [66, 93, 945]
Generated Node #2: [66, 93, 945] from Operation: 45*21=945
Current State: 35:[66, 93, 945], Operations: ['45*21=945']
Exploring Operation: 93-66=27, Resulting Numbers: [945, 27]
Generated Node #3: [945, 27] from Operation: 93-66=27
Current State: 35:[945, 27], Operations: ['45*21=945', '93-66=27']
Exploring Operation: 945/27=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[45, 66, 21, 93], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [45, 93, 45]
Generated Node #0,0: 35:[45, 93, 45] Operation: 66-21=45
Exploring Operation: 93-45=48, Resulting Numbers: [66, 21, 48]
Generated Node #0,1: 35:[66, 21, 48] Operation: 93-45=48
Exploring Operation: 93-66=27, Resulting Numbers: [45, 21, 27]
Generated Node #0,2: 35:[45, 21, 27] Operation: 93-66=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[45, 21, 27], Operations: ['93-66=27']
Exploring Operation: 21+27=48, Resulting Numbers: [45, 48]
Generated Node #0,2,0: 35:[45, 48] Operation: 21+27=48
Exploring Operation: 45-21=24, Resulting Numbers: [27, 24]
Generated Node #0,2,1: 35:[27, 24] Operation: 45-21=24
Exploring Operation: 27-21=6, Resulting Numbers: [45, 6]
Generated Node #0,2,2: 35:[45, 6] Operation: 27-21=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[45, 6], Operations: ['93-66=27', '27-21=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,35 unequal: No Solution
No 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: 35:[27, 24], Operations: ['93-66=27', '45-21=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,35 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,35 unequal: No Solution
No 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: 35:[45, 48], Operations: ['93-66=27', '21+27=48']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,35 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: 35:[66, 21, 48], Operations: ['93-45=48']
Exploring Operation: 48-21=27, Resulting Numbers: [66, 27]
Generated Node #0,1,0: 35:[66, 27] Operation: 48-21=27
Exploring Operation: 66-48=18, Resulting Numbers: [21, 18]
Generated Node #0,1,1: 35:[21, 18] Operation: 66-48=18
Exploring Operation: 66-21=45, Resulting Numbers: [48, 45]
Generated Node #0,1,2: 35:[48, 45] Operation: 66-21=45
Moving to Node #0,1,2
Current State: 35:[48, 45], Operations: ['93-45=48', '66-21=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,35 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[21, 18], Operations: ['93-45=48', '66-48=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[66, 27], Operations: ['93-45=48', '48-21=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[45, 93, 45], Operations: ['66-21=45']
Exploring Operation: 93-45=48, Resulting Numbers: [45, 48]
Generated Node #0,0,0: 35:[45, 48] Operation: 93-45=48
Exploring Operation: 45/45=1, Resulting Numbers: [93, 1]
Generated Node #0,0,1: 35:[93, 1] Operation: 45/45=1
Exploring Operation: 93-45=48, Resulting Numbers: [45, 48]
Generated Node #0,0,2: 35:[45, 48] Operation: 93-45=48
Moving to Node #0,0,0
Current State: 35:[45, 48], Operations: ['66-21=45', '93-45=48']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[45, 48], Operations: ['66-21=45', '93-45=48']
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,35 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[93, 1], Operations: ['66-21=45', '45/45=1']
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,35 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
|
[
4,
90,
51,
93
] | 68 |
[
"4*51=204",
"93-90=3",
"204/3=68"
] |
Current State: 68:[4, 90, 51, 93], Operations: []
Exploring Operation: 4*51=204, Resulting Numbers: [90, 93, 204]
Generated Node #2: [90, 93, 204] from Operation: 4*51=204
Current State: 68:[90, 93, 204], Operations: ['4*51=204']
Exploring Operation: 93-90=3, Resulting Numbers: [204, 3]
Generated Node #3: [204, 3] from Operation: 93-90=3
Current State: 68:[204, 3], Operations: ['4*51=204', '93-90=3']
Exploring Operation: 204/3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[4, 90, 51, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [4, 51, 3]
Generated Node #0,0: 68:[4, 51, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 68:[4, 51, 3], Operations: ['93-90=3']
Exploring Operation: 51/3=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 68:[4, 17] Operation: 51/3=17
Moving to Node #0,0,0
Current State: 68:[4, 17], Operations: ['93-90=3', '51/3=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[4, 90, 51, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [4, 51, 3]
Generated Node #0,0: 68:[4, 51, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 68:[4, 51, 3], Operations: ['93-90=3']
Exploring Operation: 51/3=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 68:[4, 17] Operation: 51/3=17
Moving to Node #0,0,0
Current State: 68:[4, 17], Operations: ['93-90=3', '51/3=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
18,
3,
11,
25
] | 68 |
[
"18*3=54",
"25-11=14",
"54+14=68"
] |
Current State: 68:[18, 3, 11, 25], Operations: []
Exploring Operation: 18*3=54, Resulting Numbers: [11, 25, 54]
Generated Node #2: [11, 25, 54] from Operation: 18*3=54
Current State: 68:[11, 25, 54], Operations: ['18*3=54']
Exploring Operation: 25-11=14, Resulting Numbers: [54, 14]
Generated Node #3: [54, 14] from Operation: 25-11=14
Current State: 68:[54, 14], Operations: ['18*3=54', '25-11=14']
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[18, 3, 11, 25], Operations: []
Exploring Operation: 11+25=36, Resulting Numbers: [18, 3, 36]
Generated Node #0,0: 68:[18, 3, 36] Operation: 11+25=36
Moving to Node #0,0
Current State: 68:[18, 3, 36], Operations: ['11+25=36']
Exploring Operation: 36/18=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 68:[3, 2] Operation: 36/18=2
Moving to Node #0,0,0
Current State: 68:[3, 2], Operations: ['11+25=36', '36/18=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,68 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
29,
24,
29,
60
] | 60 |
[
"29-29=0",
"24*0=0",
"60+0=60"
] |
Current State: 60:[29, 24, 29, 60], Operations: []
Exploring Operation: 29-29=0, Resulting Numbers: [24, 60, 0]
Generated Node #2: [24, 60, 0] from Operation: 29-29=0
Current State: 60:[24, 60, 0], Operations: ['29-29=0']
Exploring Operation: 24*0=0, Resulting Numbers: [60, 0]
Generated Node #3: [60, 0] from Operation: 24*0=0
Current State: 60:[60, 0], Operations: ['29-29=0', '24*0=0']
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[29, 24, 29, 60], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [29, 60, 5]
Generated Node #0,0: 60:[29, 60, 5] Operation: 29-24=5
Moving to Node #0,0
Current State: 60:[29, 60, 5], Operations: ['29-24=5']
Exploring Operation: 60-29=31, Resulting Numbers: [5, 31]
Generated Node #0,0,0: 60:[5, 31] Operation: 60-29=31
Moving to Node #0,0,0
Current State: 60:[5, 31], Operations: ['29-24=5', '60-29=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,60 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
72,
1,
12,
2
] | 82 |
[
"72*1=72",
"12-2=10",
"72+10=82"
] |
Current State: 82:[72, 1, 12, 2], Operations: []
Exploring Operation: 72*1=72, Resulting Numbers: [12, 2, 72]
Generated Node #2: [12, 2, 72] from Operation: 72*1=72
Current State: 82:[12, 2, 72], Operations: ['72*1=72']
Exploring Operation: 12-2=10, Resulting Numbers: [72, 10]
Generated Node #3: [72, 10] from Operation: 12-2=10
Current State: 82:[72, 10], Operations: ['72*1=72', '12-2=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[72, 1, 12, 2], Operations: []
Exploring Operation: 72+12=84, Resulting Numbers: [1, 2, 84]
Generated Node #0,0: 82:[1, 2, 84] Operation: 72+12=84
Moving to Node #0,0
Current State: 82:[1, 2, 84], Operations: ['72+12=84']
Exploring Operation: 84-1=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 82:[2, 83] Operation: 84-1=83
Moving to Node #0,0,0
Current State: 82:[2, 83], Operations: ['72+12=84', '84-1=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,82 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
2,
86,
51,
62
] | 13 |
[
"2*62=124",
"86+51=137",
"137-124=13"
] |
Current State: 13:[2, 86, 51, 62], Operations: []
Exploring Operation: 2*62=124, Resulting Numbers: [86, 51, 124]
Generated Node #2: [86, 51, 124] from Operation: 2*62=124
Current State: 13:[86, 51, 124], Operations: ['2*62=124']
Exploring Operation: 86+51=137, Resulting Numbers: [124, 137]
Generated Node #3: [124, 137] from Operation: 86+51=137
Current State: 13:[124, 137], Operations: ['2*62=124', '86+51=137']
Exploring Operation: 137-124=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[2, 86, 51, 62], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [2, 51, 24]
Generated Node #0,0: 13:[2, 51, 24] Operation: 86-62=24
Exploring Operation: 62/2=31, Resulting Numbers: [86, 51, 31]
Generated Node #0,1: 13:[86, 51, 31] Operation: 62/2=31
Exploring Operation: 86/2=43, Resulting Numbers: [51, 62, 43]
Generated Node #0,2: 13:[51, 62, 43] Operation: 86/2=43
Exploring Operation: 86-51=35, Resulting Numbers: [2, 62, 35]
Generated Node #0,3: 13:[2, 62, 35] Operation: 86-51=35
Exploring Operation: 62-51=11, Resulting Numbers: [2, 86, 11]
Generated Node #0,4: 13:[2, 86, 11] Operation: 62-51=11
Moving to Node #0,0
Current State: 13:[2, 51, 24], Operations: ['86-62=24']
Exploring Operation: 51-24=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 13:[2, 27] Operation: 51-24=27
Exploring Operation: 2+51=53, Resulting Numbers: [24, 53]
Generated Node #0,0,1: 13:[24, 53] Operation: 2+51=53
Exploring Operation: 24/2=12, Resulting Numbers: [51, 12]
Generated Node #0,0,2: 13:[51, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [51, 22]
Generated Node #0,0,3: 13:[51, 22] Operation: 24-2=22
Exploring Operation: 51-2=49, Resulting Numbers: [24, 49]
Generated Node #0,0,4: 13:[24, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[2, 27], Operations: ['86-62=24', '51-24=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,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,0,2
Current State: 13:[51, 12], Operations: ['86-62=24', '24/2=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,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,0,3
Current State: 13:[51, 22], Operations: ['86-62=24', '24-2=22']
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,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,0,4
Current State: 13:[24, 49], Operations: ['86-62=24', '51-2=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,13 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,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,0,1
Current State: 13:[24, 53], Operations: ['86-62=24', '2+51=53']
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,13 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,13 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,13 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: 13:[2, 62, 35], Operations: ['86-51=35']
Exploring Operation: 62-35=27, Resulting Numbers: [2, 27]
Generated Node #0,3,0: 13:[2, 27] Operation: 62-35=27
Exploring Operation: 2+62=64, Resulting Numbers: [35, 64]
Generated Node #0,3,1: 13:[35, 64] Operation: 2+62=64
Exploring Operation: 35-2=33, Resulting Numbers: [62, 33]
Generated Node #0,3,2: 13:[62, 33] Operation: 35-2=33
Exploring Operation: 62/2=31, Resulting Numbers: [35, 31]
Generated Node #0,3,3: 13:[35, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [35, 60]
Generated Node #0,3,4: 13:[35, 60] Operation: 62-2=60
Moving to Node #0,4
Current State: 13:[2, 86, 11], Operations: ['62-51=11']
Exploring Operation: 86-11=75, Resulting Numbers: [2, 75]
Generated Node #0,4,0: 13:[2, 75] Operation: 86-11=75
Exploring Operation: 2+86=88, Resulting Numbers: [11, 88]
Generated Node #0,4,1: 13:[11, 88] Operation: 2+86=88
Exploring Operation: 86/2=43, Resulting Numbers: [11, 43]
Generated Node #0,4,2: 13:[11, 43] Operation: 86/2=43
Exploring Operation: 2+11=13, Resulting Numbers: [86, 13]
Generated Node #0,4,3: 13:[86, 13] Operation: 2+11=13
Exploring Operation: 86-2=84, Resulting Numbers: [11, 84]
Generated Node #0,4,4: 13:[11, 84] Operation: 86-2=84
Moving to Node #0,2
Current State: 13:[51, 62, 43], Operations: ['86/2=43']
Exploring Operation: 51+43=94, Resulting Numbers: [62, 94]
Generated Node #0,2,0: 13:[62, 94] Operation: 51+43=94
Exploring Operation: 51-43=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 13:[62, 8] Operation: 51-43=8
Exploring Operation: 62-43=19, Resulting Numbers: [51, 19]
Generated Node #0,2,2: 13:[51, 19] Operation: 62-43=19
Exploring Operation: 62-51=11, Resulting Numbers: [43, 11]
Generated Node #0,2,3: 13:[43, 11] Operation: 62-51=11
Exploring Operation: 51+62=113, Resulting Numbers: [43, 113]
Generated Node #0,2,4: 13:[43, 113] Operation: 51+62=113
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[43, 11], Operations: ['86/2=43', '62-51=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,13 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,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:[51, 19], Operations: ['86/2=43', '62-43=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,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:[62, 8], Operations: ['86/2=43', '51-43=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,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,0
Current State: 13:[62, 94], Operations: ['86/2=43', '51+43=94']
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 62+94=156, Resulting Numbers: [156]
156,13 unequal: No Solution
Exploring Operation: 62*94=5828, Resulting Numbers: [5828]
5828,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:[43, 113], Operations: ['86/2=43', '51+62=113']
Exploring Operation: 113-43=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 43*113=4859, Resulting Numbers: [4859]
4859,13 unequal: No Solution
Exploring Operation: 43+113=156, Resulting Numbers: [156]
156,13 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: 13:[86, 51, 31], Operations: ['62/2=31']
Exploring Operation: 86+31=117, Resulting Numbers: [51, 117]
Generated Node #0,1,0: 13:[51, 117] Operation: 86+31=117
Exploring Operation: 86+51=137, Resulting Numbers: [31, 137]
Generated Node #0,1,1: 13:[31, 137] Operation: 86+51=137
Exploring Operation: 51-31=20, Resulting Numbers: [86, 20]
Generated Node #0,1,2: 13:[86, 20] Operation: 51-31=20
Exploring Operation: 86-51=35, Resulting Numbers: [31, 35]
Generated Node #0,1,3: 13:[31, 35] Operation: 86-51=35
Exploring Operation: 86-31=55, Resulting Numbers: [51, 55]
Generated Node #0,1,4: 13:[51, 55] Operation: 86-31=55
Moving to Node #0,3,0
Current State: 13:[2, 27], Operations: ['86-51=35', '62-35=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[11, 43], Operations: ['62-51=11', '86/2=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,13 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[35, 31], Operations: ['86-51=35', '62/2=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,13 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[31, 35], Operations: ['62/2=31', '86-51=35']
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,13 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[62, 33], Operations: ['86-51=35', '35-2=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,13 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[35, 60], Operations: ['86-51=35', '62-2=60']
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[2, 75], Operations: ['62-51=11', '86-11=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,13 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[35, 64], Operations: ['86-51=35', '2+62=64']
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,13 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[11, 84], Operations: ['62-51=11', '86-2=84']
Exploring Operation: 11*84=924, Resulting Numbers: [924]
924,13 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[86, 13], Operations: ['62-51=11', '2+11=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[11, 88], Operations: ['62-51=11', '2+86=88']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,13 unequal: No Solution
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 11*88=968, Resulting Numbers: [968]
968,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[86, 20], Operations: ['62/2=31', '51-31=20']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[51, 55], Operations: ['62/2=31', '86-31=55']
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,13 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[31, 137], Operations: ['62/2=31', '86+51=137']
Exploring Operation: 137-31=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Exploring Operation: 31+137=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 31*137=4247, Resulting Numbers: [4247]
4247,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[51, 117], Operations: ['62/2=31', '86+31=117']
Exploring Operation: 51+117=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 117-51=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 51*117=5967, Resulting Numbers: [5967]
5967,13 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
3,
3,
51,
63
] | 11 |
[
"3/3=1",
"63-51=12",
"12-1=11"
] |
Current State: 11:[3, 3, 51, 63], Operations: []
Exploring Operation: 3/3=1, Resulting Numbers: [51, 63, 1]
Generated Node #2: [51, 63, 1] from Operation: 3/3=1
Current State: 11:[51, 63, 1], Operations: ['3/3=1']
Exploring Operation: 63-51=12, Resulting Numbers: [1, 12]
Generated Node #3: [1, 12] from Operation: 63-51=12
Current State: 11:[1, 12], Operations: ['3/3=1', '63-51=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[3, 3, 51, 63], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [3, 3, 12]
Generated Node #0,0: 11:[3, 3, 12] Operation: 63-51=12
Exploring Operation: 63/3=21, Resulting Numbers: [3, 51, 21]
Generated Node #0,1: 11:[3, 51, 21] Operation: 63/3=21
Exploring Operation: 63/3=21, Resulting Numbers: [3, 51, 21]
Generated Node #0,2: 11:[3, 51, 21] Operation: 63/3=21
Moving to Node #0,0
Current State: 11:[3, 3, 12], Operations: ['63-51=12']
Exploring Operation: 3*3=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 11:[12, 9] Operation: 3*3=9
Exploring Operation: 12-3=9, Resulting Numbers: [3, 9]
Generated Node #0,0,1: 11:[3, 9] Operation: 12-3=9
Exploring Operation: 3+3=6, Resulting Numbers: [12, 6]
Generated Node #0,0,2: 11:[12, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[12, 9], Operations: ['63-51=12', '3*3=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[12, 6], Operations: ['63-51=12', '3+3=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[3, 9], Operations: ['63-51=12', '12-3=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 11:[3, 51, 21], Operations: ['63/3=21']
Exploring Operation: 51-21=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 11:[3, 30] Operation: 51-21=30
Exploring Operation: 21/3=7, Resulting Numbers: [51, 7]
Generated Node #0,1,1: 11:[51, 7] Operation: 21/3=7
Exploring Operation: 51/3=17, Resulting Numbers: [21, 17]
Generated Node #0,1,2: 11:[21, 17] Operation: 51/3=17
Moving to Node #0,2
Current State: 11:[3, 51, 21], Operations: ['63/3=21']
Exploring Operation: 21/3=7, Resulting Numbers: [51, 7]
Generated Node #0,2,0: 11:[51, 7] Operation: 21/3=7
Exploring Operation: 51-21=30, Resulting Numbers: [3, 30]
Generated Node #0,2,1: 11:[3, 30] Operation: 51-21=30
Exploring Operation: 51/3=17, Resulting Numbers: [21, 17]
Generated Node #0,2,2: 11:[21, 17] Operation: 51/3=17
Moving to Node #0,1,2
Current State: 11:[21, 17], Operations: ['63/3=21', '51/3=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,11 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[21, 17], Operations: ['63/3=21', '51/3=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,11 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[3, 30], Operations: ['63/3=21', '51-21=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[3, 30], Operations: ['63/3=21', '51-21=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[51, 7], Operations: ['63/3=21', '21/3=7']
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,11 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[51, 7], Operations: ['63/3=21', '21/3=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,11 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,11 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
74,
4,
19,
62
] | 22 |
[
"74-62=12",
"12/4=3",
"19+3=22"
] |
Current State: 22:[74, 4, 19, 62], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [4, 19, 12]
Generated Node #2: [4, 19, 12] from Operation: 74-62=12
Current State: 22:[4, 19, 12], Operations: ['74-62=12']
Exploring Operation: 12/4=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 12/4=3
Current State: 22:[19, 3], Operations: ['74-62=12', '12/4=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[74, 4, 19, 62], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [4, 19, 12]
Generated Node #0,0: 22:[4, 19, 12] Operation: 74-62=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[4, 19, 12], Operations: ['74-62=12']
Exploring Operation: 4+19=23, Resulting Numbers: [12, 23]
Generated Node #0,0,0: 22:[12, 23] Operation: 4+19=23
Moving to Node #0,0,0
Current State: 22:[12, 23], Operations: ['74-62=12', '4+19=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
12,
6,
14,
80
] | 82 |
[
"12*14=168",
"6+80=86",
"168-86=82"
] |
Current State: 82:[12, 6, 14, 80], Operations: []
Exploring Operation: 12*14=168, Resulting Numbers: [6, 80, 168]
Generated Node #2: [6, 80, 168] from Operation: 12*14=168
Current State: 82:[6, 80, 168], Operations: ['12*14=168']
Exploring Operation: 6+80=86, Resulting Numbers: [168, 86]
Generated Node #3: [168, 86] from Operation: 6+80=86
Current State: 82:[168, 86], Operations: ['12*14=168', '6+80=86']
Exploring Operation: 168-86=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[12, 6, 14, 80], Operations: []
Exploring Operation: 6*14=84, Resulting Numbers: [12, 80, 84]
Generated Node #0,0: 82:[12, 80, 84] Operation: 6*14=84
Exploring Operation: 12/6=2, Resulting Numbers: [14, 80, 2]
Generated Node #0,1: 82:[14, 80, 2] Operation: 12/6=2
Exploring Operation: 14-12=2, Resulting Numbers: [6, 80, 2]
Generated Node #0,2: 82:[6, 80, 2] Operation: 14-12=2
Moving to Node #0,2
Current State: 82:[6, 80, 2], Operations: ['14-12=2']
Exploring Operation: 6/2=3, Resulting Numbers: [80, 3]
Generated Node #0,2,0: 82:[80, 3] Operation: 6/2=3
Exploring Operation: 6+80=86, Resulting Numbers: [2, 86]
Generated Node #0,2,1: 82:[2, 86] Operation: 6+80=86
Exploring Operation: 6-2=4, Resulting Numbers: [80, 4]
Generated Node #0,2,2: 82:[80, 4] Operation: 6-2=4
Moving to Node #0,0
Current State: 82:[12, 80, 84], Operations: ['6*14=84']
Exploring Operation: 12+80=92, Resulting Numbers: [84, 92]
Generated Node #0,0,0: 82:[84, 92] Operation: 12+80=92
Exploring Operation: 84-12=72, Resulting Numbers: [80, 72]
Generated Node #0,0,1: 82:[80, 72] Operation: 84-12=72
Exploring Operation: 84/12=7, Resulting Numbers: [80, 7]
Generated Node #0,0,2: 82:[80, 7] Operation: 84/12=7
Moving to Node #0,1
Current State: 82:[14, 80, 2], Operations: ['12/6=2']
Exploring Operation: 14-2=12, Resulting Numbers: [80, 12]
Generated Node #0,1,0: 82:[80, 12] Operation: 14-2=12
Exploring Operation: 14+80=94, Resulting Numbers: [2, 94]
Generated Node #0,1,1: 82:[2, 94] Operation: 14+80=94
Exploring Operation: 14/2=7, Resulting Numbers: [80, 7]
Generated Node #0,1,2: 82:[80, 7] Operation: 14/2=7
Moving to Node #0,2,0
Current State: 82:[80, 3], Operations: ['14-12=2', '6/2=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[80, 4], Operations: ['14-12=2', '6-2=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[2, 86], Operations: ['14-12=2', '6+80=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[80, 7], Operations: ['12/6=2', '14/2=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,82 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[80, 7], Operations: ['6*14=84', '84/12=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,82 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[80, 72], Operations: ['6*14=84', '84-12=72']
Exploring Operation: 80*72=5760, Resulting Numbers: [5760]
5760,82 unequal: No Solution
Exploring Operation: 80+72=152, Resulting Numbers: [152]
152,82 unequal: No Solution
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[2, 94], Operations: ['12/6=2', '14+80=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,82 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[84, 92], Operations: ['6*14=84', '12+80=92']
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 84*92=7728, Resulting Numbers: [7728]
7728,82 unequal: No Solution
Exploring Operation: 84+92=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[80, 12], Operations: ['12/6=2', '14-2=12']
Exploring Operation: 80*12=960, Resulting Numbers: [960]
960,82 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
84,
15,
47,
31
] | 90 |
[
"84-47=37",
"37-31=6",
"15*6=90"
] |
Current State: 90:[84, 15, 47, 31], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [15, 31, 37]
Generated Node #2: [15, 31, 37] from Operation: 84-47=37
Current State: 90:[15, 31, 37], Operations: ['84-47=37']
Exploring Operation: 37-31=6, Resulting Numbers: [15, 6]
Generated Node #3: [15, 6] from Operation: 37-31=6
Current State: 90:[15, 6], Operations: ['84-47=37', '37-31=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[84, 15, 47, 31], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [15, 31, 37]
Generated Node #0,0: 90:[15, 31, 37] Operation: 84-47=37
Exploring Operation: 47-31=16, Resulting Numbers: [84, 15, 16]
Generated Node #0,1: 90:[84, 15, 16] Operation: 47-31=16
Moving to Node #0,1
Current State: 90:[84, 15, 16], Operations: ['47-31=16']
Exploring Operation: 15+16=31, Resulting Numbers: [84, 31]
Generated Node #0,1,0: 90:[84, 31] Operation: 15+16=31
Exploring Operation: 16-15=1, Resulting Numbers: [84, 1]
Generated Node #0,1,1: 90:[84, 1] Operation: 16-15=1
Moving to Node #0,0
Current State: 90:[15, 31, 37], Operations: ['84-47=37']
Exploring Operation: 37-31=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 90:[15, 6] Operation: 37-31=6
Exploring Operation: 37-15=22, Resulting Numbers: [31, 22]
Generated Node #0,0,1: 90:[31, 22] Operation: 37-15=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[15, 6], Operations: ['84-47=37', '37-31=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[84, 15, 47, 31], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [15, 31, 37]
Generated Node #0,0: 90:[15, 31, 37] Operation: 84-47=37
Moving to Node #0,0
Current State: 90:[15, 31, 37], Operations: ['84-47=37']
Exploring Operation: 37-31=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 90:[15, 6] Operation: 37-31=6
Moving to Node #0,0,0
Current State: 90:[15, 6], Operations: ['84-47=37', '37-31=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
mult_heuristic
|
[
61,
1,
88,
8
] | 51 |
[
"61+1=62",
"88/8=11",
"62-11=51"
] |
Current State: 51:[61, 1, 88, 8], Operations: []
Exploring Operation: 61+1=62, Resulting Numbers: [88, 8, 62]
Generated Node #2: [88, 8, 62] from Operation: 61+1=62
Current State: 51:[88, 8, 62], Operations: ['61+1=62']
Exploring Operation: 88/8=11, Resulting Numbers: [62, 11]
Generated Node #3: [62, 11] from Operation: 88/8=11
Current State: 51:[62, 11], Operations: ['61+1=62', '88/8=11']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[61, 1, 88, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [61, 1, 11]
Generated Node #0,0: 51:[61, 1, 11] Operation: 88/8=11
Exploring Operation: 88-61=27, Resulting Numbers: [1, 8, 27]
Generated Node #0,1: 51:[1, 8, 27] Operation: 88-61=27
Moving to Node #0,1
Current State: 51:[1, 8, 27], Operations: ['88-61=27']
Exploring Operation: 8-1=7, Resulting Numbers: [27, 7]
Generated Node #0,1,0: 51:[27, 7] Operation: 8-1=7
Exploring Operation: 27-8=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 51:[1, 19] Operation: 27-8=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[1, 19], Operations: ['88-61=27', '27-8=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[27, 7], Operations: ['88-61=27', '8-1=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,51 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: 51:[61, 1, 11], Operations: ['88/8=11']
Exploring Operation: 61-1=60, Resulting Numbers: [11, 60]
Generated Node #0,0,0: 51:[11, 60] Operation: 61-1=60
Exploring Operation: 61-11=50, Resulting Numbers: [1, 50]
Generated Node #0,0,1: 51:[1, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[1, 50], Operations: ['88/8=11', '61-11=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[61, 1, 88, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [61, 1, 11]
Generated Node #0,0: 51:[61, 1, 11] Operation: 88/8=11
Moving to Node #0,0
Current State: 51:[61, 1, 11], Operations: ['88/8=11']
Exploring Operation: 61-11=50, Resulting Numbers: [1, 50]
Generated Node #0,0,1: 51:[1, 50] Operation: 61-11=50
Moving to Node #0,0,1
Current State: 51:[1, 50], Operations: ['88/8=11', '61-11=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_2
|
mult_heuristic
|
[
24,
61,
28,
56
] | 75 |
[
"28-24=4",
"56/4=14",
"61+14=75"
] |
Current State: 75:[24, 61, 28, 56], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [61, 56, 4]
Generated Node #2: [61, 56, 4] from Operation: 28-24=4
Current State: 75:[61, 56, 4], Operations: ['28-24=4']
Exploring Operation: 56/4=14, Resulting Numbers: [61, 14]
Generated Node #3: [61, 14] from Operation: 56/4=14
Current State: 75:[61, 14], Operations: ['28-24=4', '56/4=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[24, 61, 28, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [24, 28, 5]
Generated Node #0,0: 75:[24, 28, 5] Operation: 61-56=5
Exploring Operation: 56-28=28, Resulting Numbers: [24, 61, 28]
Generated Node #0,1: 75:[24, 61, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [24, 61, 2]
Generated Node #0,2: 75:[24, 61, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[24, 28, 5], Operations: ['61-56=5']
Exploring Operation: 28-24=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 75:[5, 4] Operation: 28-24=4
Exploring Operation: 28-5=23, Resulting Numbers: [24, 23]
Generated Node #0,0,1: 75:[24, 23] Operation: 28-5=23
Exploring Operation: 24+5=29, Resulting Numbers: [28, 29]
Generated Node #0,0,2: 75:[28, 29] Operation: 24+5=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[5, 4], Operations: ['61-56=5', '28-24=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[24, 23], Operations: ['61-56=5', '28-5=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,75 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[28, 29], Operations: ['61-56=5', '24+5=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[24, 61, 2], Operations: ['56/28=2']
Exploring Operation: 61-24=37, Resulting Numbers: [2, 37]
Generated Node #0,2,0: 75:[2, 37] Operation: 61-24=37
Exploring Operation: 61+2=63, Resulting Numbers: [24, 63]
Generated Node #0,2,1: 75:[24, 63] Operation: 61+2=63
Exploring Operation: 24+61=85, Resulting Numbers: [2, 85]
Generated Node #0,2,2: 75:[2, 85] Operation: 24+61=85
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[2, 85], Operations: ['56/28=2', '24+61=85']
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,75 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[2, 37], Operations: ['56/28=2', '61-24=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[24, 63], Operations: ['56/28=2', '61+2=63']
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,75 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[24, 61, 28], Operations: ['56-28=28']
Exploring Operation: 61-28=33, Resulting Numbers: [24, 33]
Generated Node #0,1,0: 75:[24, 33] Operation: 61-28=33
Exploring Operation: 24+61=85, Resulting Numbers: [28, 85]
Generated Node #0,1,1: 75:[28, 85] Operation: 24+61=85
Exploring Operation: 61-24=37, Resulting Numbers: [28, 37]
Generated Node #0,1,2: 75:[28, 37] Operation: 61-24=37
Moving to Node #0,1,0
Current State: 75:[24, 33], Operations: ['56-28=28', '61-28=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,75 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[28, 85], Operations: ['56-28=28', '24+61=85']
Exploring Operation: 28*85=2380, Resulting Numbers: [2380]
2380,75 unequal: No Solution
Exploring Operation: 28+85=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[28, 37], Operations: ['56-28=28', '61-24=37']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,75 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
4,
5,
19,
25
] | 16 |
[
"19+25=44",
"44/4=11",
"5+11=16"
] |
Current State: 16:[4, 5, 19, 25], Operations: []
Exploring Operation: 19+25=44, Resulting Numbers: [4, 5, 44]
Generated Node #2: [4, 5, 44] from Operation: 19+25=44
Current State: 16:[4, 5, 44], Operations: ['19+25=44']
Exploring Operation: 44/4=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 44/4=11
Current State: 16:[5, 11], Operations: ['19+25=44', '44/4=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[4, 5, 19, 25], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [4, 5, 6]
Generated Node #0,0: 16:[4, 5, 6] Operation: 25-19=6
Moving to Node #0,0
Current State: 16:[4, 5, 6], Operations: ['25-19=6']
Exploring Operation: 6-4=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 16:[5, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 16:[5, 2], Operations: ['25-19=6', '6-4=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
40,
58,
92,
86
] | 12 |
[
"58-40=18",
"92-86=6",
"18-6=12"
] |
Current State: 12:[40, 58, 92, 86], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [92, 86, 18]
Generated Node #2: [92, 86, 18] from Operation: 58-40=18
Current State: 12:[92, 86, 18], Operations: ['58-40=18']
Exploring Operation: 92-86=6, Resulting Numbers: [18, 6]
Generated Node #3: [18, 6] from Operation: 92-86=6
Current State: 12:[18, 6], Operations: ['58-40=18', '92-86=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[40, 58, 92, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [40, 58, 6]
Generated Node #0,0: 12:[40, 58, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 12:[40, 58, 6], Operations: ['92-86=6']
Exploring Operation: 58-40=18, Resulting Numbers: [6, 18]
Generated Node #0,0,0: 12:[6, 18] Operation: 58-40=18
Moving to Node #0,0,0
Current State: 12:[6, 18], Operations: ['92-86=6', '58-40=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[40, 58, 92, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [40, 58, 6]
Generated Node #0,0: 12:[40, 58, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 12:[40, 58, 6], Operations: ['92-86=6']
Exploring Operation: 58-40=18, Resulting Numbers: [6, 18]
Generated Node #0,0,0: 12:[6, 18] Operation: 58-40=18
Moving to Node #0,0,0
Current State: 12:[6, 18], Operations: ['92-86=6', '58-40=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
70,
81,
9,
24
] | 44 |
[
"81-70=11",
"9+24=33",
"11+33=44"
] |
Current State: 44:[70, 81, 9, 24], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [9, 24, 11]
Generated Node #2: [9, 24, 11] from Operation: 81-70=11
Current State: 44:[9, 24, 11], Operations: ['81-70=11']
Exploring Operation: 9+24=33, Resulting Numbers: [11, 33]
Generated Node #3: [11, 33] from Operation: 9+24=33
Current State: 44:[11, 33], Operations: ['81-70=11', '9+24=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[70, 81, 9, 24], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [70, 24, 9]
Generated Node #0,0: 44:[70, 24, 9] Operation: 81/9=9
Exploring Operation: 81-70=11, Resulting Numbers: [9, 24, 11]
Generated Node #0,1: 44:[9, 24, 11] Operation: 81-70=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[9, 24, 11], Operations: ['81-70=11']
Exploring Operation: 24-9=15, Resulting Numbers: [11, 15]
Generated Node #0,1,0: 44:[11, 15] Operation: 24-9=15
Exploring Operation: 11-9=2, Resulting Numbers: [24, 2]
Generated Node #0,1,1: 44:[24, 2] Operation: 11-9=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[24, 2], Operations: ['81-70=11', '11-9=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[11, 15], Operations: ['81-70=11', '24-9=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[70, 24, 9], Operations: ['81/9=9']
Exploring Operation: 70-9=61, Resulting Numbers: [24, 61]
Generated Node #0,0,0: 44:[24, 61] Operation: 70-9=61
Exploring Operation: 70-24=46, Resulting Numbers: [9, 46]
Generated Node #0,0,1: 44:[9, 46] Operation: 70-24=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[9, 46], Operations: ['81/9=9', '70-24=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[24, 61], Operations: ['81/9=9', '70-9=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
11,
13,
13,
85
] | 96 |
[
"11+13=24",
"85-13=72",
"24+72=96"
] |
Current State: 96:[11, 13, 13, 85], Operations: []
Exploring Operation: 11+13=24, Resulting Numbers: [85, 24]
Generated Node #2: [85, 24] from Operation: 11+13=24
Current State: 96:[85, 24], Operations: ['11+13=24']
Exploring Operation: 85-13=72, Resulting Numbers: [24, 72]
Generated Node #3: [24, 72] from Operation: 85-13=72
Current State: 96:[24, 72], Operations: ['11+13=24', '85-13=72']
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[11, 13, 13, 85], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [13, 85, 2]
Generated Node #0,0: 96:[13, 85, 2] Operation: 13-11=2
Exploring Operation: 11+85=96, Resulting Numbers: [13, 13, 96]
Generated Node #0,1: 96:[13, 13, 96] Operation: 11+85=96
Exploring Operation: 13+85=98, Resulting Numbers: [11, 13, 98]
Generated Node #0,2: 96:[11, 13, 98] Operation: 13+85=98
Exploring Operation: 11+13=24, Resulting Numbers: [13, 85, 24]
Generated Node #0,3: 96:[13, 85, 24] Operation: 11+13=24
Exploring Operation: 13+85=98, Resulting Numbers: [11, 13, 98]
Generated Node #0,4: 96:[11, 13, 98] Operation: 13+85=98
Moving to Node #0,1
Current State: 96:[13, 13, 96], Operations: ['11+85=96']
Exploring Operation: 13+13=26, Resulting Numbers: [96, 26]
Generated Node #0,1,0: 96:[96, 26] Operation: 13+13=26
Exploring Operation: 13/13=1, Resulting Numbers: [96, 1]
Generated Node #0,1,1: 96:[96, 1] Operation: 13/13=1
Exploring Operation: 13+96=109, Resulting Numbers: [13, 109]
Generated Node #0,1,2: 96:[13, 109] Operation: 13+96=109
Exploring Operation: 13-13=0, Resulting Numbers: [96, 0]
Generated Node #0,1,3: 96:[96, 0] Operation: 13-13=0
Exploring Operation: 96-13=83, Resulting Numbers: [13, 83]
Generated Node #0,1,4: 96:[13, 83] Operation: 96-13=83
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[96, 1], Operations: ['11+85=96', '13/13=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[11, 13, 13, 85], Operations: []
Exploring Operation: 11+85=96, Resulting Numbers: [13, 13, 96]
Generated Node #0,1: 96:[13, 13, 96] Operation: 11+85=96
Moving to Node #0,1
Current State: 96:[13, 13, 96], Operations: ['11+85=96']
Exploring Operation: 13/13=1, Resulting Numbers: [96, 1]
Generated Node #0,1,1: 96:[96, 1] Operation: 13/13=1
Moving to Node #0,1,1
Current State: 96:[96, 1], Operations: ['11+85=96', '13/13=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
43,
40,
62,
73
] | 94 |
[
"43+40=83",
"73-62=11",
"83+11=94"
] |
Current State: 94:[43, 40, 62, 73], Operations: []
Exploring Operation: 43+40=83, Resulting Numbers: [62, 73, 83]
Generated Node #2: [62, 73, 83] from Operation: 43+40=83
Current State: 94:[62, 73, 83], Operations: ['43+40=83']
Exploring Operation: 73-62=11, Resulting Numbers: [83, 11]
Generated Node #3: [83, 11] from Operation: 73-62=11
Current State: 94:[83, 11], Operations: ['43+40=83', '73-62=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[43, 40, 62, 73], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [43, 40, 11]
Generated Node #0,0: 94:[43, 40, 11] Operation: 73-62=11
Exploring Operation: 73-40=33, Resulting Numbers: [43, 62, 33]
Generated Node #0,1: 94:[43, 62, 33] Operation: 73-40=33
Exploring Operation: 40+62=102, Resulting Numbers: [43, 73, 102]
Generated Node #0,2: 94:[43, 73, 102] Operation: 40+62=102
Exploring Operation: 43-40=3, Resulting Numbers: [62, 73, 3]
Generated Node #0,3: 94:[62, 73, 3] Operation: 43-40=3
Exploring Operation: 40+73=113, Resulting Numbers: [43, 62, 113]
Generated Node #0,4: 94:[43, 62, 113] Operation: 40+73=113
Moving to Node #0,0
Current State: 94:[43, 40, 11], Operations: ['73-62=11']
Exploring Operation: 40+11=51, Resulting Numbers: [43, 51]
Generated Node #0,0,0: 94:[43, 51] Operation: 40+11=51
Exploring Operation: 43+11=54, Resulting Numbers: [40, 54]
Generated Node #0,0,1: 94:[40, 54] Operation: 43+11=54
Exploring Operation: 43+40=83, Resulting Numbers: [11, 83]
Generated Node #0,0,2: 94:[11, 83] Operation: 43+40=83
Exploring Operation: 43-40=3, Resulting Numbers: [11, 3]
Generated Node #0,0,3: 94:[11, 3] Operation: 43-40=3
Exploring Operation: 43-11=32, Resulting Numbers: [40, 32]
Generated Node #0,0,4: 94:[40, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[43, 51], Operations: ['73-62=11', '40+11=51']
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,94 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[43, 40, 62, 73], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [43, 40, 11]
Generated Node #0,0: 94:[43, 40, 11] Operation: 73-62=11
Moving to Node #0,0
Current State: 94:[43, 40, 11], Operations: ['73-62=11']
Exploring Operation: 40+11=51, Resulting Numbers: [43, 51]
Generated Node #0,0,0: 94:[43, 51] Operation: 40+11=51
Moving to Node #0,0,0
Current State: 94:[43, 51], Operations: ['73-62=11', '40+11=51']
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
94,
68,
45,
60
] | 43 |
[
"94-60=34",
"68/34=2",
"45-2=43"
] |
Current State: 43:[94, 68, 45, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [68, 45, 34]
Generated Node #2: [68, 45, 34] from Operation: 94-60=34
Current State: 43:[68, 45, 34], Operations: ['94-60=34']
Exploring Operation: 68/34=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 68/34=2
Current State: 43:[45, 2], Operations: ['94-60=34', '68/34=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[94, 68, 45, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [68, 45, 34]
Generated Node #0,0: 43:[68, 45, 34] Operation: 94-60=34
Exploring Operation: 94-45=49, Resulting Numbers: [68, 60, 49]
Generated Node #0,1: 43:[68, 60, 49] Operation: 94-45=49
Exploring Operation: 94-68=26, Resulting Numbers: [45, 60, 26]
Generated Node #0,2: 43:[45, 60, 26] Operation: 94-68=26
Moving to Node #0,0
Current State: 43:[68, 45, 34], Operations: ['94-60=34']
Exploring Operation: 68-45=23, Resulting Numbers: [34, 23]
Generated Node #0,0,0: 43:[34, 23] Operation: 68-45=23
Exploring Operation: 68/34=2, Resulting Numbers: [45, 2]
Generated Node #0,0,1: 43:[45, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [45, 34]
Generated Node #0,0,2: 43:[45, 34] Operation: 68-34=34
Moving to Node #0,2
Current State: 43:[45, 60, 26], Operations: ['94-68=26']
Exploring Operation: 60-45=15, Resulting Numbers: [26, 15]
Generated Node #0,2,0: 43:[26, 15] Operation: 60-45=15
Exploring Operation: 60-26=34, Resulting Numbers: [45, 34]
Generated Node #0,2,1: 43:[45, 34] Operation: 60-26=34
Exploring Operation: 45-26=19, Resulting Numbers: [60, 19]
Generated Node #0,2,2: 43:[60, 19] Operation: 45-26=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[45, 34], Operations: ['94-68=26', '60-26=34']
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,43 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,43 unequal: No Solution
No 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: 43:[60, 19], Operations: ['94-68=26', '45-26=19']
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,43 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No 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: 43:[26, 15], Operations: ['94-68=26', '60-45=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,43 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: 43:[68, 60, 49], Operations: ['94-45=49']
Exploring Operation: 60-49=11, Resulting Numbers: [68, 11]
Generated Node #0,1,0: 43:[68, 11] Operation: 60-49=11
Exploring Operation: 68-60=8, Resulting Numbers: [49, 8]
Generated Node #0,1,1: 43:[49, 8] Operation: 68-60=8
Exploring Operation: 68-49=19, Resulting Numbers: [60, 19]
Generated Node #0,1,2: 43:[60, 19] Operation: 68-49=19
Moving to Node #0,0,2
Current State: 43:[45, 34], Operations: ['94-60=34', '68-34=34']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,43 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[34, 23], Operations: ['94-60=34', '68-45=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,43 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[60, 19], Operations: ['94-45=49', '68-49=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[49, 8], Operations: ['94-45=49', '68-60=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,43 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[45, 2], Operations: ['94-60=34', '68/34=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[94, 68, 45, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [68, 45, 34]
Generated Node #0,0: 43:[68, 45, 34] Operation: 94-60=34
Moving to Node #0,0
Current State: 43:[68, 45, 34], Operations: ['94-60=34']
Exploring Operation: 68/34=2, Resulting Numbers: [45, 2]
Generated Node #0,0,1: 43:[45, 2] Operation: 68/34=2
Moving to Node #0,0,1
Current State: 43:[45, 2], Operations: ['94-60=34', '68/34=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.966146 |
hs_3
|
mult_heuristic
|
[
40,
35,
81,
3
] | 16 |
[
"40+81=121",
"35*3=105",
"121-105=16"
] |
Current State: 16:[40, 35, 81, 3], Operations: []
Exploring Operation: 40+81=121, Resulting Numbers: [35, 3, 121]
Generated Node #2: [35, 3, 121] from Operation: 40+81=121
Current State: 16:[35, 3, 121], Operations: ['40+81=121']
Exploring Operation: 35*3=105, Resulting Numbers: [121, 105]
Generated Node #3: [121, 105] from Operation: 35*3=105
Current State: 16:[121, 105], Operations: ['40+81=121', '35*3=105']
Exploring Operation: 121-105=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[40, 35, 81, 3], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [35, 3, 41]
Generated Node #0,0: 16:[35, 3, 41] Operation: 81-40=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[35, 3, 41], Operations: ['81-40=41']
Exploring Operation: 41-35=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 16:[3, 6] Operation: 41-35=6
Moving to Node #0,0,0
Current State: 16:[3, 6], Operations: ['81-40=41', '41-35=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,16 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
|
[
52,
88,
60,
76
] | 20 |
[
"88-52=36",
"76-60=16",
"36-16=20"
] |
Current State: 20:[52, 88, 60, 76], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [60, 76, 36]
Generated Node #2: [60, 76, 36] from Operation: 88-52=36
Current State: 20:[60, 76, 36], Operations: ['88-52=36']
Exploring Operation: 76-60=16, Resulting Numbers: [36, 16]
Generated Node #3: [36, 16] from Operation: 76-60=16
Current State: 20:[36, 16], Operations: ['88-52=36', '76-60=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[52, 88, 60, 76], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [52, 76, 28]
Generated Node #0,0: 20:[52, 76, 28] Operation: 88-60=28
Exploring Operation: 88-76=12, Resulting Numbers: [52, 60, 12]
Generated Node #0,1: 20:[52, 60, 12] Operation: 88-76=12
Moving to Node #0,1
Current State: 20:[52, 60, 12], Operations: ['88-76=12']
Exploring Operation: 60/12=5, Resulting Numbers: [52, 5]
Generated Node #0,1,0: 20:[52, 5] Operation: 60/12=5
Exploring Operation: 60-52=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 20:[12, 8] Operation: 60-52=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[12, 8], Operations: ['88-76=12', '60-52=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[52, 88, 60, 76], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [52, 60, 12]
Generated Node #0,1: 20:[52, 60, 12] Operation: 88-76=12
Moving to Node #0,1
Current State: 20:[52, 60, 12], Operations: ['88-76=12']
Exploring Operation: 60-52=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 20:[12, 8] Operation: 60-52=8
Moving to Node #0,1,1
Current State: 20:[12, 8], Operations: ['88-76=12', '60-52=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
41,
33,
13,
2
] | 31 |
[
"33-13=20",
"20/2=10",
"41-10=31"
] |
Current State: 31:[41, 33, 13, 2], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [41, 2, 20]
Generated Node #2: [41, 2, 20] from Operation: 33-13=20
Current State: 31:[41, 2, 20], Operations: ['33-13=20']
Exploring Operation: 20/2=10, Resulting Numbers: [41, 10]
Generated Node #3: [41, 10] from Operation: 20/2=10
Current State: 31:[41, 10], Operations: ['33-13=20', '20/2=10']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[41, 33, 13, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [41, 33, 26]
Generated Node #0,0: 31:[41, 33, 26] Operation: 13*2=26
Moving to Node #0,0
Current State: 31:[41, 33, 26], Operations: ['13*2=26']
Exploring Operation: 41-26=15, Resulting Numbers: [33, 15]
Generated Node #0,0,0: 31:[33, 15] Operation: 41-26=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[33, 15], Operations: ['13*2=26', '41-26=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,31 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
|
[
11,
33,
23,
67
] | 37 |
[
"67-23=44",
"44/11=4",
"33+4=37"
] |
Current State: 37:[11, 33, 23, 67], Operations: []
Exploring Operation: 67-23=44, Resulting Numbers: [11, 33, 44]
Generated Node #2: [11, 33, 44] from Operation: 67-23=44
Current State: 37:[11, 33, 44], Operations: ['67-23=44']
Exploring Operation: 44/11=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 44/11=4
Current State: 37:[33, 4], Operations: ['67-23=44', '44/11=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[11, 33, 23, 67], Operations: []
Exploring Operation: 11+33=44, Resulting Numbers: [23, 67, 44]
Generated Node #0,0: 37:[23, 67, 44] Operation: 11+33=44
Exploring Operation: 67-23=44, Resulting Numbers: [11, 33, 44]
Generated Node #0,1: 37:[11, 33, 44] Operation: 67-23=44
Exploring Operation: 11+23=34, Resulting Numbers: [33, 67, 34]
Generated Node #0,2: 37:[33, 67, 34] Operation: 11+23=34
Exploring Operation: 67-33=34, Resulting Numbers: [11, 23, 34]
Generated Node #0,3: 37:[11, 23, 34] Operation: 67-33=34
Exploring Operation: 67-11=56, Resulting Numbers: [33, 23, 56]
Generated Node #0,4: 37:[33, 23, 56] Operation: 67-11=56
Moving to Node #0,1
Current State: 37:[11, 33, 44], Operations: ['67-23=44']
Exploring Operation: 11+44=55, Resulting Numbers: [33, 55]
Generated Node #0,1,0: 37:[33, 55] Operation: 11+44=55
Exploring Operation: 44/11=4, Resulting Numbers: [33, 4]
Generated Node #0,1,1: 37:[33, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [33, 33]
Generated Node #0,1,2: 37:[33, 33] Operation: 44-11=33
Exploring Operation: 33-11=22, Resulting Numbers: [44, 22]
Generated Node #0,1,3: 37:[44, 22] Operation: 33-11=22
Exploring Operation: 11+33=44, Resulting Numbers: [44, 44]
Generated Node #0,1,4: 37:[44, 44] Operation: 11+33=44
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[33, 33], Operations: ['67-23=44', '44-11=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,37 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 37:[44, 44], Operations: ['67-23=44', '11+33=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,37 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,37 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[33, 55], Operations: ['67-23=44', '11+44=55']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,37 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,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,3
Current State: 37:[44, 22], Operations: ['67-23=44', '33-11=22']
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,37 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,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:[33, 4], Operations: ['67-23=44', '44/11=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[11, 33, 23, 67], Operations: []
Exploring Operation: 67-23=44, Resulting Numbers: [11, 33, 44]
Generated Node #0,1: 37:[11, 33, 44] Operation: 67-23=44
Moving to Node #0,1
Current State: 37:[11, 33, 44], Operations: ['67-23=44']
Exploring Operation: 44/11=4, Resulting Numbers: [33, 4]
Generated Node #0,1,1: 37:[33, 4] Operation: 44/11=4
Moving to Node #0,1,1
Current State: 37:[33, 4], Operations: ['67-23=44', '44/11=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 |
hs_5
|
mult_heuristic
|
[
7,
15,
82,
60
] | 14 |
[
"15-7=8",
"82-60=22",
"22-8=14"
] |
Current State: 14:[7, 15, 82, 60], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [82, 60, 8]
Generated Node #2: [82, 60, 8] from Operation: 15-7=8
Current State: 14:[82, 60, 8], Operations: ['15-7=8']
Exploring Operation: 82-60=22, Resulting Numbers: [8, 22]
Generated Node #3: [8, 22] from Operation: 82-60=22
Current State: 14:[8, 22], Operations: ['15-7=8', '82-60=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[7, 15, 82, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [7, 82, 4]
Generated Node #0,0: 14:[7, 82, 4] Operation: 60/15=4
Exploring Operation: 82-60=22, Resulting Numbers: [7, 15, 22]
Generated Node #0,1: 14:[7, 15, 22] Operation: 82-60=22
Exploring Operation: 82-15=67, Resulting Numbers: [7, 60, 67]
Generated Node #0,2: 14:[7, 60, 67] Operation: 82-15=67
Exploring Operation: 60-15=45, Resulting Numbers: [7, 82, 45]
Generated Node #0,3: 14:[7, 82, 45] Operation: 60-15=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[7, 15, 22], Operations: ['82-60=22']
Exploring Operation: 15-7=8, Resulting Numbers: [22, 8]
Generated Node #0,1,0: 14:[22, 8] Operation: 15-7=8
Exploring Operation: 22-15=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 14:[7, 7] Operation: 22-15=7
Exploring Operation: 7+15=22, Resulting Numbers: [22, 22]
Generated Node #0,1,2: 14:[22, 22] Operation: 7+15=22
Exploring Operation: 22-7=15, Resulting Numbers: [15, 15]
Generated Node #0,1,3: 14:[15, 15] Operation: 22-7=15
Moving to Node #0,1,1
Current State: 14:[7, 7], Operations: ['82-60=22', '22-15=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[7, 15, 82, 60], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [7, 15, 22]
Generated Node #0,1: 14:[7, 15, 22] Operation: 82-60=22
Moving to Node #0,1
Current State: 14:[7, 15, 22], Operations: ['82-60=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 14:[7, 7] Operation: 22-15=7
Moving to Node #0,1,1
Current State: 14:[7, 7], Operations: ['82-60=22', '22-15=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
44,
19,
81,
10
] | 53 |
[
"19-10=9",
"81/9=9",
"44+9=53"
] |
Current State: 53:[44, 19, 81, 10], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [44, 81, 9]
Generated Node #2: [44, 81, 9] from Operation: 19-10=9
Current State: 53:[44, 81, 9], Operations: ['19-10=9']
Exploring Operation: 81/9=9, Resulting Numbers: [44, 9]
Generated Node #3: [44, 9] from Operation: 81/9=9
Current State: 53:[44, 9], Operations: ['19-10=9', '81/9=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[44, 19, 81, 10], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [44, 19, 71]
Generated Node #0,0: 53:[44, 19, 71] Operation: 81-10=71
Exploring Operation: 19+10=29, Resulting Numbers: [44, 81, 29]
Generated Node #0,1: 53:[44, 81, 29] Operation: 19+10=29
Exploring Operation: 81-19=62, Resulting Numbers: [44, 10, 62]
Generated Node #0,2: 53:[44, 10, 62] Operation: 81-19=62
Moving to Node #0,0
Current State: 53:[44, 19, 71], Operations: ['81-10=71']
Exploring Operation: 44-19=25, Resulting Numbers: [71, 25]
Generated Node #0,0,0: 53:[71, 25] Operation: 44-19=25
Exploring Operation: 71-19=52, Resulting Numbers: [44, 52]
Generated Node #0,0,1: 53:[44, 52] Operation: 71-19=52
Exploring Operation: 44+19=63, Resulting Numbers: [71, 63]
Generated Node #0,0,2: 53:[71, 63] Operation: 44+19=63
Moving to Node #0,1
Current State: 53:[44, 81, 29], Operations: ['19+10=29']
Exploring Operation: 44+29=73, Resulting Numbers: [81, 73]
Generated Node #0,1,0: 53:[81, 73] Operation: 44+29=73
Exploring Operation: 81-44=37, Resulting Numbers: [29, 37]
Generated Node #0,1,1: 53:[29, 37] Operation: 81-44=37
Exploring Operation: 81-29=52, Resulting Numbers: [44, 52]
Generated Node #0,1,2: 53:[44, 52] Operation: 81-29=52
Moving to Node #0,2
Current State: 53:[44, 10, 62], Operations: ['81-19=62']
Exploring Operation: 44-10=34, Resulting Numbers: [62, 34]
Generated Node #0,2,0: 53:[62, 34] Operation: 44-10=34
Exploring Operation: 62-10=52, Resulting Numbers: [44, 52]
Generated Node #0,2,1: 53:[44, 52] Operation: 62-10=52
Exploring Operation: 44+10=54, Resulting Numbers: [62, 54]
Generated Node #0,2,2: 53:[62, 54] Operation: 44+10=54
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[44, 52], Operations: ['81-19=62', '62-10=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,53 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,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,2,2
Current State: 53:[62, 54], Operations: ['81-19=62', '44+10=54']
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,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,2,0
Current State: 53:[62, 34], Operations: ['81-19=62', '44-10=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,53 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: 53:[44, 52], Operations: ['81-10=71', '71-19=52']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,53 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[44, 52], Operations: ['19+10=29', '81-29=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,53 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[71, 63], Operations: ['81-10=71', '44+19=63']
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[29, 37], Operations: ['19+10=29', '81-44=37']
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,53 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[71, 25], Operations: ['81-10=71', '44-19=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[81, 73], Operations: ['19+10=29', '44+29=73']
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,53 unequal: No Solution
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,53 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
3,
28,
37,
20
] | 26 |
[
"3+28=31",
"37+20=57",
"57-31=26"
] |
Current State: 26:[3, 28, 37, 20], Operations: []
Exploring Operation: 3+28=31, Resulting Numbers: [37, 20, 31]
Generated Node #2: [37, 20, 31] from Operation: 3+28=31
Current State: 26:[37, 20, 31], Operations: ['3+28=31']
Exploring Operation: 37+20=57, Resulting Numbers: [31, 57]
Generated Node #3: [31, 57] from Operation: 37+20=57
Current State: 26:[31, 57], Operations: ['3+28=31', '37+20=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[3, 28, 37, 20], Operations: []
Exploring Operation: 37-3=34, Resulting Numbers: [28, 20, 34]
Generated Node #0,0: 26:[28, 20, 34] Operation: 37-3=34
Exploring Operation: 37-28=9, Resulting Numbers: [3, 20, 9]
Generated Node #0,1: 26:[3, 20, 9] Operation: 37-28=9
Exploring Operation: 37-20=17, Resulting Numbers: [3, 28, 17]
Generated Node #0,2: 26:[3, 28, 17] Operation: 37-20=17
Moving to Node #0,2
Current State: 26:[3, 28, 17], Operations: ['37-20=17']
Exploring Operation: 28-3=25, Resulting Numbers: [17, 25]
Generated Node #0,2,0: 26:[17, 25] Operation: 28-3=25
Exploring Operation: 28-17=11, Resulting Numbers: [3, 11]
Generated Node #0,2,1: 26:[3, 11] Operation: 28-17=11
Exploring Operation: 17-3=14, Resulting Numbers: [28, 14]
Generated Node #0,2,2: 26:[28, 14] Operation: 17-3=14
Moving to Node #0,1
Current State: 26:[3, 20, 9], Operations: ['37-28=9']
Exploring Operation: 20-9=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 26:[3, 11] Operation: 20-9=11
Exploring Operation: 20+9=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 26:[3, 29] Operation: 20+9=29
Exploring Operation: 3+20=23, Resulting Numbers: [9, 23]
Generated Node #0,1,2: 26:[9, 23] Operation: 3+20=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[3, 11], Operations: ['37-28=9', '20-9=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,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,1
Current State: 26:[3, 29], Operations: ['37-28=9', '20+9=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[3, 28, 37, 20], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [3, 20, 9]
Generated Node #0,1: 26:[3, 20, 9] Operation: 37-28=9
Moving to Node #0,1
Current State: 26:[3, 20, 9], Operations: ['37-28=9']
Exploring Operation: 20+9=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 26:[3, 29] Operation: 20+9=29
Moving to Node #0,1,1
Current State: 26:[3, 29], Operations: ['37-28=9', '20+9=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
sum_heuristic
|
[
31,
56,
71,
41
] | 55 |
[
"56-31=25",
"71-41=30",
"25+30=55"
] |
Current State: 55:[31, 56, 71, 41], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [71, 41, 25]
Generated Node #2: [71, 41, 25] from Operation: 56-31=25
Current State: 55:[71, 41, 25], Operations: ['56-31=25']
Exploring Operation: 71-41=30, Resulting Numbers: [25, 30]
Generated Node #3: [25, 30] from Operation: 71-41=30
Current State: 55:[25, 30], Operations: ['56-31=25', '71-41=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[31, 56, 71, 41], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [56, 71, 10]
Generated Node #0,0: 55:[56, 71, 10] Operation: 41-31=10
Exploring Operation: 71-31=40, Resulting Numbers: [56, 41, 40]
Generated Node #0,1: 55:[56, 41, 40] Operation: 71-31=40
Moving to Node #0,0
Current State: 55:[56, 71, 10], Operations: ['41-31=10']
Exploring Operation: 71-56=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 55:[10, 15] Operation: 71-56=15
Exploring Operation: 71-10=61, Resulting Numbers: [56, 61]
Generated Node #0,0,1: 55:[56, 61] Operation: 71-10=61
Moving to Node #0,1
Current State: 55:[56, 41, 40], Operations: ['71-31=40']
Exploring Operation: 56-41=15, Resulting Numbers: [40, 15]
Generated Node #0,1,0: 55:[40, 15] Operation: 56-41=15
Exploring Operation: 41-40=1, Resulting Numbers: [56, 1]
Generated Node #0,1,1: 55:[56, 1] Operation: 41-40=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[56, 1], Operations: ['71-31=40', '41-40=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[31, 56, 71, 41], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [56, 41, 40]
Generated Node #0,1: 55:[56, 41, 40] Operation: 71-31=40
Moving to Node #0,1
Current State: 55:[56, 41, 40], Operations: ['71-31=40']
Exploring Operation: 41-40=1, Resulting Numbers: [56, 1]
Generated Node #0,1,1: 55:[56, 1] Operation: 41-40=1
Moving to Node #0,1,1
Current State: 55:[56, 1], Operations: ['71-31=40', '41-40=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
sum_heuristic
|
[
27,
34,
4,
29
] | 94 |
[
"27+34=61",
"4+29=33",
"61+33=94"
] |
Current State: 94:[27, 34, 4, 29], Operations: []
Exploring Operation: 27+34=61, Resulting Numbers: [4, 29, 61]
Generated Node #2: [4, 29, 61] from Operation: 27+34=61
Current State: 94:[4, 29, 61], Operations: ['27+34=61']
Exploring Operation: 4+29=33, Resulting Numbers: [61, 33]
Generated Node #3: [61, 33] from Operation: 4+29=33
Current State: 94:[61, 33], Operations: ['27+34=61', '4+29=33']
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[27, 34, 4, 29], Operations: []
Exploring Operation: 27+29=56, Resulting Numbers: [34, 4, 56]
Generated Node #0,0: 94:[34, 4, 56] Operation: 27+29=56
Exploring Operation: 29-27=2, Resulting Numbers: [34, 4, 2]
Generated Node #0,1: 94:[34, 4, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[34, 4, 2], Operations: ['29-27=2']
Exploring Operation: 34+2=36, Resulting Numbers: [4, 36]
Generated Node #0,1,0: 94:[4, 36] Operation: 34+2=36
Exploring Operation: 34+4=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 94:[2, 38] Operation: 34+4=38
Moving to Node #0,1,1
Current State: 94:[2, 38], Operations: ['29-27=2', '34+4=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[4, 36], Operations: ['29-27=2', '34+2=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[34, 4, 56], Operations: ['27+29=56']
Exploring Operation: 34+4=38, Resulting Numbers: [56, 38]
Generated Node #0,0,0: 94:[56, 38] Operation: 34+4=38
Exploring Operation: 34+56=90, Resulting Numbers: [4, 90]
Generated Node #0,0,1: 94:[4, 90] Operation: 34+56=90
Moving to Node #0,0,1
Current State: 94:[4, 90], Operations: ['27+29=56', '34+56=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[27, 34, 4, 29], Operations: []
Exploring Operation: 27+29=56, Resulting Numbers: [34, 4, 56]
Generated Node #0,0: 94:[34, 4, 56] Operation: 27+29=56
Moving to Node #0,0
Current State: 94:[34, 4, 56], Operations: ['27+29=56']
Exploring Operation: 34+56=90, Resulting Numbers: [4, 90]
Generated Node #0,0,1: 94:[4, 90] Operation: 34+56=90
Moving to Node #0,0,1
Current State: 94:[4, 90], Operations: ['27+29=56', '34+56=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
sum_heuristic
|
[
37,
58,
23,
17
] | 61 |
[
"58-37=21",
"23+17=40",
"21+40=61"
] |
Current State: 61:[37, 58, 23, 17], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [23, 17, 21]
Generated Node #2: [23, 17, 21] from Operation: 58-37=21
Current State: 61:[23, 17, 21], Operations: ['58-37=21']
Exploring Operation: 23+17=40, Resulting Numbers: [21, 40]
Generated Node #3: [21, 40] from Operation: 23+17=40
Current State: 61:[21, 40], Operations: ['58-37=21', '23+17=40']
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[37, 58, 23, 17], Operations: []
Exploring Operation: 37+23=60, Resulting Numbers: [58, 17, 60]
Generated Node #0,0: 61:[58, 17, 60] Operation: 37+23=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[58, 17, 60], Operations: ['37+23=60']
Exploring Operation: 58+17=75, Resulting Numbers: [60, 75]
Generated Node #0,0,0: 61:[60, 75] Operation: 58+17=75
Moving to Node #0,0,0
Current State: 61:[60, 75], Operations: ['37+23=60', '58+17=75']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,61 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
|
[
78,
66,
72,
98
] | 38 |
[
"78-66=12",
"98-72=26",
"12+26=38"
] |
Current State: 38:[78, 66, 72, 98], Operations: []
Exploring Operation: 78-66=12, Resulting Numbers: [72, 98, 12]
Generated Node #2: [72, 98, 12] from Operation: 78-66=12
Current State: 38:[72, 98, 12], Operations: ['78-66=12']
Exploring Operation: 98-72=26, Resulting Numbers: [12, 26]
Generated Node #3: [12, 26] from Operation: 98-72=26
Current State: 38:[12, 26], Operations: ['78-66=12', '98-72=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[78, 66, 72, 98], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [78, 66, 26]
Generated Node #0,0: 38:[78, 66, 26] Operation: 98-72=26
Exploring Operation: 98-78=20, Resulting Numbers: [66, 72, 20]
Generated Node #0,1: 38:[66, 72, 20] Operation: 98-78=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[66, 72, 20], Operations: ['98-78=20']
Exploring Operation: 66-20=46, Resulting Numbers: [72, 46]
Generated Node #0,1,0: 38:[72, 46] Operation: 66-20=46
Exploring Operation: 72-66=6, Resulting Numbers: [20, 6]
Generated Node #0,1,1: 38:[20, 6] Operation: 72-66=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[20, 6], Operations: ['98-78=20', '72-66=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[72, 46], Operations: ['98-78=20', '66-20=46']
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[78, 66, 26], Operations: ['98-72=26']
Exploring Operation: 78/26=3, Resulting Numbers: [66, 3]
Generated Node #0,0,0: 38:[66, 3] Operation: 78/26=3
Exploring Operation: 78-66=12, Resulting Numbers: [26, 12]
Generated Node #0,0,1: 38:[26, 12] Operation: 78-66=12
Moving to Node #0,0,1
Current State: 38:[26, 12], Operations: ['98-72=26', '78-66=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[78, 66, 72, 98], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [78, 66, 26]
Generated Node #0,0: 38:[78, 66, 26] Operation: 98-72=26
Moving to Node #0,0
Current State: 38:[78, 66, 26], Operations: ['98-72=26']
Exploring Operation: 78-66=12, Resulting Numbers: [26, 12]
Generated Node #0,0,1: 38:[26, 12] Operation: 78-66=12
Moving to Node #0,0,1
Current State: 38:[26, 12], Operations: ['98-72=26', '78-66=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
sum_heuristic
|
[
55,
2,
3,
82
] | 99 |
[
"55+3=58",
"82/2=41",
"58+41=99"
] |
Current State: 99:[55, 2, 3, 82], Operations: []
Exploring Operation: 55+3=58, Resulting Numbers: [2, 82, 58]
Generated Node #2: [2, 82, 58] from Operation: 55+3=58
Current State: 99:[2, 82, 58], Operations: ['55+3=58']
Exploring Operation: 82/2=41, Resulting Numbers: [58, 41]
Generated Node #3: [58, 41] from Operation: 82/2=41
Current State: 99:[58, 41], Operations: ['55+3=58', '82/2=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[55, 2, 3, 82], Operations: []
Exploring Operation: 55*2=110, Resulting Numbers: [3, 82, 110]
Generated Node #0,0: 99:[3, 82, 110] Operation: 55*2=110
Exploring Operation: 55-2=53, Resulting Numbers: [3, 82, 53]
Generated Node #0,1: 99:[3, 82, 53] Operation: 55-2=53
Exploring Operation: 82/2=41, Resulting Numbers: [55, 3, 41]
Generated Node #0,2: 99:[55, 3, 41] Operation: 82/2=41
Exploring Operation: 82-55=27, Resulting Numbers: [2, 3, 27]
Generated Node #0,3: 99:[2, 3, 27] Operation: 82-55=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[2, 3, 27], Operations: ['82-55=27']
Exploring Operation: 2+3=5, Resulting Numbers: [27, 5]
Generated Node #0,3,0: 99:[27, 5] Operation: 2+3=5
Exploring Operation: 2+27=29, Resulting Numbers: [3, 29]
Generated Node #0,3,1: 99:[3, 29] Operation: 2+27=29
Exploring Operation: 3+27=30, Resulting Numbers: [2, 30]
Generated Node #0,3,2: 99:[2, 30] Operation: 3+27=30
Exploring Operation: 27/3=9, Resulting Numbers: [2, 9]
Generated Node #0,3,3: 99:[2, 9] Operation: 27/3=9
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[2, 9], Operations: ['82-55=27', '27/3=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[3, 29], Operations: ['82-55=27', '2+27=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[2, 30], Operations: ['82-55=27', '3+27=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[27, 5], Operations: ['82-55=27', '2+3=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,99 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[3, 82, 110], Operations: ['55*2=110']
Exploring Operation: 3+82=85, Resulting Numbers: [110, 85]
Generated Node #0,0,0: 99:[110, 85] Operation: 3+82=85
Exploring Operation: 110-82=28, Resulting Numbers: [3, 28]
Generated Node #0,0,1: 99:[3, 28] Operation: 110-82=28
Exploring Operation: 82-3=79, Resulting Numbers: [110, 79]
Generated Node #0,0,2: 99:[110, 79] Operation: 82-3=79
Exploring Operation: 110-3=107, Resulting Numbers: [82, 107]
Generated Node #0,0,3: 99:[82, 107] Operation: 110-3=107
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[3, 28], Operations: ['55*2=110', '110-82=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,99 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[110, 85], Operations: ['55*2=110', '3+82=85']
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 110*85=9350, Resulting Numbers: [9350]
9350,99 unequal: No Solution
Exploring Operation: 110+85=195, Resulting Numbers: [195]
195,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 99:[82, 107], Operations: ['55*2=110', '110-3=107']
Exploring Operation: 82*107=8774, Resulting Numbers: [8774]
8774,99 unequal: No Solution
Exploring Operation: 82+107=189, Resulting Numbers: [189]
189,99 unequal: No Solution
Exploring Operation: 107-82=25, Resulting Numbers: [25]
25,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[110, 79], Operations: ['55*2=110', '82-3=79']
Exploring Operation: 110-79=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 110*79=8690, Resulting Numbers: [8690]
8690,99 unequal: No Solution
Exploring Operation: 110+79=189, Resulting Numbers: [189]
189,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[55, 3, 41], Operations: ['82/2=41']
Exploring Operation: 55-3=52, Resulting Numbers: [41, 52]
Generated Node #0,2,0: 99:[41, 52] Operation: 55-3=52
Exploring Operation: 55+41=96, Resulting Numbers: [3, 96]
Generated Node #0,2,1: 99:[3, 96] Operation: 55+41=96
Exploring Operation: 55-41=14, Resulting Numbers: [3, 14]
Generated Node #0,2,2: 99:[3, 14] Operation: 55-41=14
Exploring Operation: 41-3=38, Resulting Numbers: [55, 38]
Generated Node #0,2,3: 99:[55, 38] Operation: 41-3=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[3, 96], Operations: ['82/2=41', '55+41=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,99 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[55, 2, 3, 82], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [55, 3, 41]
Generated Node #0,2: 99:[55, 3, 41] Operation: 82/2=41
Moving to Node #0,2
Current State: 99:[55, 3, 41], Operations: ['82/2=41']
Exploring Operation: 55+41=96, Resulting Numbers: [3, 96]
Generated Node #0,2,1: 99:[3, 96] Operation: 55+41=96
Moving to Node #0,2,1
Current State: 99:[3, 96], Operations: ['82/2=41', '55+41=96']
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 |
hs_4
|
mult_heuristic
|
[
11,
35,
86,
88
] | 77 |
[
"35+86=121",
"121/11=11",
"88-11=77"
] |
Current State: 77:[11, 35, 86, 88], Operations: []
Exploring Operation: 35+86=121, Resulting Numbers: [11, 88, 121]
Generated Node #2: [11, 88, 121] from Operation: 35+86=121
Current State: 77:[11, 88, 121], Operations: ['35+86=121']
Exploring Operation: 121/11=11, Resulting Numbers: [88, 11]
Generated Node #3: [88, 11] from Operation: 121/11=11
Current State: 77:[88, 11], Operations: ['35+86=121', '121/11=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[11, 35, 86, 88], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [11, 35, 2]
Generated Node #0,0: 77:[11, 35, 2] Operation: 88-86=2
Exploring Operation: 88-11=77, Resulting Numbers: [35, 86, 77]
Generated Node #0,1: 77:[35, 86, 77] Operation: 88-11=77
Exploring Operation: 88-35=53, Resulting Numbers: [11, 86, 53]
Generated Node #0,2: 77:[11, 86, 53] Operation: 88-35=53
Exploring Operation: 35-11=24, Resulting Numbers: [86, 88, 24]
Generated Node #0,3: 77:[86, 88, 24] Operation: 35-11=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[11, 35, 2], Operations: ['88-86=2']
Exploring Operation: 35-2=33, Resulting Numbers: [11, 33]
Generated Node #0,0,0: 77:[11, 33] Operation: 35-2=33
Exploring Operation: 35*2=70, Resulting Numbers: [11, 70]
Generated Node #0,0,1: 77:[11, 70] Operation: 35*2=70
Exploring Operation: 11+2=13, Resulting Numbers: [35, 13]
Generated Node #0,0,2: 77:[35, 13] Operation: 11+2=13
Exploring Operation: 35-11=24, Resulting Numbers: [2, 24]
Generated Node #0,0,3: 77:[2, 24] Operation: 35-11=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[11, 70], Operations: ['88-86=2', '35*2=70']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,77 unequal: No Solution
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 11*70=770, Resulting Numbers: [770]
770,77 unequal: No Solution
No 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: 77:[2, 24], Operations: ['88-86=2', '35-11=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No 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: 77:[11, 33], Operations: ['88-86=2', '35-2=33']
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,77 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,77 unequal: No Solution
No 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: 77:[35, 13], Operations: ['88-86=2', '11+2=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,77 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,77 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: 77:[35, 86, 77], Operations: ['88-11=77']
Exploring Operation: 86-35=51, Resulting Numbers: [77, 51]
Generated Node #0,1,0: 77:[77, 51] Operation: 86-35=51
Exploring Operation: 86-77=9, Resulting Numbers: [35, 9]
Generated Node #0,1,1: 77:[35, 9] Operation: 86-77=9
Exploring Operation: 77-35=42, Resulting Numbers: [86, 42]
Generated Node #0,1,2: 77:[86, 42] Operation: 77-35=42
Exploring Operation: 35+86=121, Resulting Numbers: [77, 121]
Generated Node #0,1,3: 77:[77, 121] Operation: 35+86=121
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[77, 51], Operations: ['88-11=77', '86-35=51']
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,77 unequal: No Solution
No 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: 77:[35, 9], Operations: ['88-11=77', '86-77=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,77 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,77 unequal: No Solution
No 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: 77:[86, 42], Operations: ['88-11=77', '77-35=42']
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,77 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,77 unequal: No Solution
No 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: 77:[77, 121], Operations: ['88-11=77', '35+86=121']
Exploring Operation: 77*121=9317, Resulting Numbers: [9317]
9317,77 unequal: No Solution
Exploring Operation: 77+121=198, Resulting Numbers: [198]
198,77 unequal: No Solution
Exploring Operation: 121-77=44, Resulting Numbers: [44]
44,77 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: 77:[11, 86, 53], Operations: ['88-35=53']
Exploring Operation: 11+53=64, Resulting Numbers: [86, 64]
Generated Node #0,2,0: 77:[86, 64] Operation: 11+53=64
Exploring Operation: 86-11=75, Resulting Numbers: [53, 75]
Generated Node #0,2,1: 77:[53, 75] Operation: 86-11=75
Exploring Operation: 53-11=42, Resulting Numbers: [86, 42]
Generated Node #0,2,2: 77:[86, 42] Operation: 53-11=42
Exploring Operation: 86-53=33, Resulting Numbers: [11, 33]
Generated Node #0,2,3: 77:[11, 33] Operation: 86-53=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[86, 64], Operations: ['88-35=53', '11+53=64']
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,77 unequal: No Solution
No 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: 77:[11, 33], Operations: ['88-35=53', '86-53=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,77 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No 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: 77:[53, 75], Operations: ['88-35=53', '86-11=75']
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,77 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,77 unequal: No Solution
No 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: 77:[86, 42], Operations: ['88-35=53', '53-11=42']
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,77 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,77 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: 77:[86, 88, 24], Operations: ['35-11=24']
Exploring Operation: 88-24=64, Resulting Numbers: [86, 64]
Generated Node #0,3,0: 77:[86, 64] Operation: 88-24=64
Exploring Operation: 86+24=110, Resulting Numbers: [88, 110]
Generated Node #0,3,1: 77:[88, 110] Operation: 86+24=110
Exploring Operation: 88-86=2, Resulting Numbers: [24, 2]
Generated Node #0,3,2: 77:[24, 2] Operation: 88-86=2
Exploring Operation: 86-24=62, Resulting Numbers: [88, 62]
Generated Node #0,3,3: 77:[88, 62] Operation: 86-24=62
Moving to Node #0,3,2
Current State: 77:[24, 2], Operations: ['35-11=24', '88-86=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[86, 64], Operations: ['35-11=24', '88-24=64']
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,77 unequal: No Solution
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[88, 62], Operations: ['35-11=24', '86-24=62']
Exploring Operation: 88+62=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 88*62=5456, Resulting Numbers: [5456]
5456,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[88, 110], Operations: ['35-11=24', '86+24=110']
Exploring Operation: 110-88=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 88*110=9680, Resulting Numbers: [9680]
9680,77 unequal: No Solution
Exploring Operation: 88+110=198, Resulting Numbers: [198]
198,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
9,
31,
18,
57
] | 52 |
[
"18/9=2",
"57-31=26",
"2*26=52"
] |
Current State: 52:[9, 31, 18, 57], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [31, 57, 2]
Generated Node #2: [31, 57, 2] from Operation: 18/9=2
Current State: 52:[31, 57, 2], Operations: ['18/9=2']
Exploring Operation: 57-31=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 57-31=26
Current State: 52:[2, 26], Operations: ['18/9=2', '57-31=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[9, 31, 18, 57], Operations: []
Exploring Operation: 57-31=26, Resulting Numbers: [9, 18, 26]
Generated Node #0,0: 52:[9, 18, 26] Operation: 57-31=26
Exploring Operation: 31-18=13, Resulting Numbers: [9, 57, 13]
Generated Node #0,1: 52:[9, 57, 13] Operation: 31-18=13
Exploring Operation: 18/9=2, Resulting Numbers: [31, 57, 2]
Generated Node #0,2: 52:[31, 57, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 52:[9, 18, 26], Operations: ['57-31=26']
Exploring Operation: 18-9=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 52:[26, 9] Operation: 18-9=9
Exploring Operation: 9+18=27, Resulting Numbers: [26, 27]
Generated Node #0,0,1: 52:[26, 27] Operation: 9+18=27
Exploring Operation: 18/9=2, Resulting Numbers: [26, 2]
Generated Node #0,0,2: 52:[26, 2] Operation: 18/9=2
Moving to Node #0,1
Current State: 52:[9, 57, 13], Operations: ['31-18=13']
Exploring Operation: 13-9=4, Resulting Numbers: [57, 4]
Generated Node #0,1,0: 52:[57, 4] Operation: 13-9=4
Exploring Operation: 9+13=22, Resulting Numbers: [57, 22]
Generated Node #0,1,1: 52:[57, 22] Operation: 9+13=22
Exploring Operation: 57-9=48, Resulting Numbers: [13, 48]
Generated Node #0,1,2: 52:[13, 48] Operation: 57-9=48
Moving to Node #0,2
Current State: 52:[31, 57, 2], Operations: ['18/9=2']
Exploring Operation: 57-2=55, Resulting Numbers: [31, 55]
Generated Node #0,2,0: 52:[31, 55] Operation: 57-2=55
Exploring Operation: 57-31=26, Resulting Numbers: [2, 26]
Generated Node #0,2,1: 52:[2, 26] Operation: 57-31=26
Exploring Operation: 31-2=29, Resulting Numbers: [57, 29]
Generated Node #0,2,2: 52:[57, 29] Operation: 31-2=29
Moving to Node #0,0,2
Current State: 52:[26, 2], Operations: ['57-31=26', '18/9=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[9, 31, 18, 57], Operations: []
Exploring Operation: 57-31=26, Resulting Numbers: [9, 18, 26]
Generated Node #0,0: 52:[9, 18, 26] Operation: 57-31=26
Moving to Node #0,0
Current State: 52:[9, 18, 26], Operations: ['57-31=26']
Exploring Operation: 18/9=2, Resulting Numbers: [26, 2]
Generated Node #0,0,2: 52:[26, 2] Operation: 18/9=2
Moving to Node #0,0,2
Current State: 52:[26, 2], Operations: ['57-31=26', '18/9=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.984375 |
hs_3
|
sum_heuristic
|
[
98,
32,
5,
57
] | 27 |
[
"57-32=25",
"5*25=125",
"125-98=27"
] |
Current State: 27:[98, 32, 5, 57], Operations: []
Exploring Operation: 57-32=25, Resulting Numbers: [98, 5, 25]
Generated Node #2: [98, 5, 25] from Operation: 57-32=25
Current State: 27:[98, 5, 25], Operations: ['57-32=25']
Exploring Operation: 5*25=125, Resulting Numbers: [98, 125]
Generated Node #3: [98, 125] from Operation: 5*25=125
Current State: 27:[98, 125], Operations: ['57-32=25', '5*25=125']
Exploring Operation: 125-98=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[98, 32, 5, 57], Operations: []
Exploring Operation: 57-32=25, Resulting Numbers: [98, 5, 25]
Generated Node #0,0: 27:[98, 5, 25] Operation: 57-32=25
Exploring Operation: 32-5=27, Resulting Numbers: [98, 57, 27]
Generated Node #0,1: 27:[98, 57, 27] Operation: 32-5=27
Exploring Operation: 98-5=93, Resulting Numbers: [32, 57, 93]
Generated Node #0,2: 27:[32, 57, 93] Operation: 98-5=93
Exploring Operation: 98-32=66, Resulting Numbers: [5, 57, 66]
Generated Node #0,3: 27:[5, 57, 66] Operation: 98-32=66
Exploring Operation: 98-57=41, Resulting Numbers: [32, 5, 41]
Generated Node #0,4: 27:[32, 5, 41] Operation: 98-57=41
Moving to Node #0,4
Current State: 27:[32, 5, 41], Operations: ['98-57=41']
Exploring Operation: 41-5=36, Resulting Numbers: [32, 36]
Generated Node #0,4,0: 27:[32, 36] Operation: 41-5=36
Exploring Operation: 41-32=9, Resulting Numbers: [5, 9]
Generated Node #0,4,1: 27:[5, 9] Operation: 41-32=9
Exploring Operation: 32+5=37, Resulting Numbers: [41, 37]
Generated Node #0,4,2: 27:[41, 37] Operation: 32+5=37
Exploring Operation: 32-5=27, Resulting Numbers: [41, 27]
Generated Node #0,4,3: 27:[41, 27] Operation: 32-5=27
Exploring Operation: 5+41=46, Resulting Numbers: [32, 46]
Generated Node #0,4,4: 27:[32, 46] Operation: 5+41=46
Moving to Node #0,3
Current State: 27:[5, 57, 66], Operations: ['98-32=66']
Exploring Operation: 5+66=71, Resulting Numbers: [57, 71]
Generated Node #0,3,0: 27:[57, 71] Operation: 5+66=71
Exploring Operation: 66-57=9, Resulting Numbers: [5, 9]
Generated Node #0,3,1: 27:[5, 9] Operation: 66-57=9
Exploring Operation: 66-5=61, Resulting Numbers: [57, 61]
Generated Node #0,3,2: 27:[57, 61] Operation: 66-5=61
Exploring Operation: 57-5=52, Resulting Numbers: [66, 52]
Generated Node #0,3,3: 27:[66, 52] Operation: 57-5=52
Exploring Operation: 5+57=62, Resulting Numbers: [66, 62]
Generated Node #0,3,4: 27:[66, 62] Operation: 5+57=62
Moving to Node #0,0
Current State: 27:[98, 5, 25], Operations: ['57-32=25']
Exploring Operation: 98-5=93, Resulting Numbers: [25, 93]
Generated Node #0,0,0: 27:[25, 93] Operation: 98-5=93
Exploring Operation: 98-25=73, Resulting Numbers: [5, 73]
Generated Node #0,0,1: 27:[5, 73] Operation: 98-25=73
Exploring Operation: 5+25=30, Resulting Numbers: [98, 30]
Generated Node #0,0,2: 27:[98, 30] Operation: 5+25=30
Exploring Operation: 25/5=5, Resulting Numbers: [98, 5]
Generated Node #0,0,3: 27:[98, 5] Operation: 25/5=5
Exploring Operation: 98+5=103, Resulting Numbers: [25, 103]
Generated Node #0,0,4: 27:[25, 103] Operation: 98+5=103
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[5, 73], Operations: ['57-32=25', '98-25=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[25, 93], Operations: ['57-32=25', '98-5=93']
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,27 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[98, 5], Operations: ['57-32=25', '25/5=5']
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,27 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,27 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[98, 30], Operations: ['57-32=25', '5+25=30']
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,27 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 27:[25, 103], Operations: ['57-32=25', '98+5=103']
Exploring Operation: 25*103=2575, Resulting Numbers: [2575]
2575,27 unequal: No Solution
Exploring Operation: 25+103=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 103-25=78, Resulting Numbers: [78]
78,27 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: 27:[98, 57, 27], Operations: ['32-5=27']
Exploring Operation: 98-27=71, Resulting Numbers: [57, 71]
Generated Node #0,1,0: 27:[57, 71] Operation: 98-27=71
Exploring Operation: 57-27=30, Resulting Numbers: [98, 30]
Generated Node #0,1,1: 27:[98, 30] Operation: 57-27=30
Exploring Operation: 98+57=155, Resulting Numbers: [27, 155]
Generated Node #0,1,2: 27:[27, 155] Operation: 98+57=155
Exploring Operation: 98-57=41, Resulting Numbers: [27, 41]
Generated Node #0,1,3: 27:[27, 41] Operation: 98-57=41
Exploring Operation: 98+27=125, Resulting Numbers: [57, 125]
Generated Node #0,1,4: 27:[57, 125] Operation: 98+27=125
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[27, 41], Operations: ['32-5=27', '98-57=41']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[57, 71], Operations: ['32-5=27', '98-27=71']
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[98, 30], Operations: ['32-5=27', '57-27=30']
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,27 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[27, 155], Operations: ['32-5=27', '98+57=155']
Exploring Operation: 27+155=182, Resulting Numbers: [182]
182,27 unequal: No Solution
Exploring Operation: 27*155=4185, Resulting Numbers: [4185]
4185,27 unequal: No Solution
Exploring Operation: 155-27=128, Resulting Numbers: [128]
128,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 27:[57, 125], Operations: ['32-5=27', '98+27=125']
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,27 unequal: No Solution
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,27 unequal: No Solution
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 27:[32, 57, 93], Operations: ['98-5=93']
Exploring Operation: 57-32=25, Resulting Numbers: [93, 25]
Generated Node #0,2,0: 27:[93, 25] Operation: 57-32=25
Exploring Operation: 32+57=89, Resulting Numbers: [93, 89]
Generated Node #0,2,1: 27:[93, 89] Operation: 32+57=89
Exploring Operation: 32+93=125, Resulting Numbers: [57, 125]
Generated Node #0,2,2: 27:[57, 125] Operation: 32+93=125
Exploring Operation: 93-32=61, Resulting Numbers: [57, 61]
Generated Node #0,2,3: 27:[57, 61] Operation: 93-32=61
Exploring Operation: 93-57=36, Resulting Numbers: [32, 36]
Generated Node #0,2,4: 27:[32, 36] Operation: 93-57=36
Moving to Node #0,4,1
Current State: 27:[5, 9], Operations: ['98-57=41', '41-32=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[5, 9], Operations: ['98-32=66', '66-57=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,4,3
Current State: 27:[41, 27], Operations: ['98-57=41', '32-5=27']
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,27 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[32, 36], Operations: ['98-57=41', '41-5=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,27 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[32, 36], Operations: ['98-5=93', '93-57=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,27 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[32, 46], Operations: ['98-57=41', '5+41=46']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[41, 37], Operations: ['98-57=41', '32+5=37']
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,27 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[57, 61], Operations: ['98-32=66', '66-5=61']
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,27 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[57, 61], Operations: ['98-5=93', '93-32=61']
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[66, 52], Operations: ['98-32=66', '57-5=52']
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[93, 25], Operations: ['98-5=93', '57-32=25']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 93*25=2325, Resulting Numbers: [2325]
2325,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[66, 62], Operations: ['98-32=66', '5+57=62']
Exploring Operation: 66*62=4092, Resulting Numbers: [4092]
4092,27 unequal: No Solution
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 66+62=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[57, 71], Operations: ['98-32=66', '5+66=71']
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,27 unequal: No Solution
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[57, 125], Operations: ['98-5=93', '32+93=125']
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,27 unequal: No Solution
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,27 unequal: No Solution
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[93, 89], Operations: ['98-5=93', '32+57=89']
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 93*89=8277, Resulting Numbers: [8277]
8277,27 unequal: No Solution
Exploring Operation: 93+89=182, Resulting Numbers: [182]
182,27 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
33,
35,
16,
21
] | 35 |
[
"35-33=2",
"16+21=37",
"37-2=35"
] |
Current State: 35:[33, 35, 16, 21], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [16, 21, 2]
Generated Node #2: [16, 21, 2] from Operation: 35-33=2
Current State: 35:[16, 21, 2], Operations: ['35-33=2']
Exploring Operation: 16+21=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 16+21=37
Current State: 35:[2, 37], Operations: ['35-33=2', '16+21=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[33, 35, 16, 21], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [33, 35, 5]
Generated Node #0,0: 35:[33, 35, 5] Operation: 21-16=5
Exploring Operation: 35-21=14, Resulting Numbers: [33, 16, 14]
Generated Node #0,1: 35:[33, 16, 14] Operation: 35-21=14
Exploring Operation: 33-21=12, Resulting Numbers: [35, 16, 12]
Generated Node #0,2: 35:[35, 16, 12] Operation: 33-21=12
Exploring Operation: 16+21=37, Resulting Numbers: [33, 35, 37]
Generated Node #0,3: 35:[33, 35, 37] Operation: 16+21=37
Exploring Operation: 33-16=17, Resulting Numbers: [35, 21, 17]
Generated Node #0,4: 35:[35, 21, 17] Operation: 33-16=17
Moving to Node #0,0
Current State: 35:[33, 35, 5], Operations: ['21-16=5']
Exploring Operation: 35-33=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 35:[5, 2] Operation: 35-33=2
Exploring Operation: 33+5=38, Resulting Numbers: [35, 38]
Generated Node #0,0,1: 35:[35, 38] Operation: 33+5=38
Exploring Operation: 35+5=40, Resulting Numbers: [33, 40]
Generated Node #0,0,2: 35:[33, 40] Operation: 35+5=40
Exploring Operation: 33-5=28, Resulting Numbers: [35, 28]
Generated Node #0,0,3: 35:[35, 28] Operation: 33-5=28
Exploring Operation: 35/5=7, Resulting Numbers: [33, 7]
Generated Node #0,0,4: 35:[33, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[33, 7], Operations: ['21-16=5', '35/5=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,35 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[5, 2], Operations: ['21-16=5', '35-33=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[35, 38], Operations: ['21-16=5', '33+5=38']
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,35 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[33, 40], Operations: ['21-16=5', '35+5=40']
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,35 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[35, 28], Operations: ['21-16=5', '33-5=28']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,35 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: 35:[33, 35, 37], Operations: ['16+21=37']
Exploring Operation: 33+35=68, Resulting Numbers: [37, 68]
Generated Node #0,3,0: 35:[37, 68] Operation: 33+35=68
Exploring Operation: 37-35=2, Resulting Numbers: [33, 2]
Generated Node #0,3,1: 35:[33, 2] Operation: 37-35=2
Exploring Operation: 33+37=70, Resulting Numbers: [35, 70]
Generated Node #0,3,2: 35:[35, 70] Operation: 33+37=70
Exploring Operation: 35-33=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 35:[37, 2] Operation: 35-33=2
Exploring Operation: 37-33=4, Resulting Numbers: [35, 4]
Generated Node #0,3,4: 35:[35, 4] Operation: 37-33=4
Moving to Node #0,2
Current State: 35:[35, 16, 12], Operations: ['33-21=12']
Exploring Operation: 35+16=51, Resulting Numbers: [12, 51]
Generated Node #0,2,0: 35:[12, 51] Operation: 35+16=51
Exploring Operation: 16-12=4, Resulting Numbers: [35, 4]
Generated Node #0,2,1: 35:[35, 4] Operation: 16-12=4
Exploring Operation: 16+12=28, Resulting Numbers: [35, 28]
Generated Node #0,2,2: 35:[35, 28] Operation: 16+12=28
Exploring Operation: 35+12=47, Resulting Numbers: [16, 47]
Generated Node #0,2,3: 35:[16, 47] Operation: 35+12=47
Exploring Operation: 35-16=19, Resulting Numbers: [12, 19]
Generated Node #0,2,4: 35:[12, 19] Operation: 35-16=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[35, 4], Operations: ['33-21=12', '16-12=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[35, 28], Operations: ['33-21=12', '16+12=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,35 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[12, 19], Operations: ['33-21=12', '35-16=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[12, 51], Operations: ['33-21=12', '35+16=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[16, 47], Operations: ['33-21=12', '35+12=47']
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,35 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,35 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: 35:[33, 16, 14], Operations: ['35-21=14']
Exploring Operation: 16+14=30, Resulting Numbers: [33, 30]
Generated Node #0,1,0: 35:[33, 30] Operation: 16+14=30
Exploring Operation: 16-14=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 35:[33, 2] Operation: 16-14=2
Exploring Operation: 33+14=47, Resulting Numbers: [16, 47]
Generated Node #0,1,2: 35:[16, 47] Operation: 33+14=47
Exploring Operation: 33-16=17, Resulting Numbers: [14, 17]
Generated Node #0,1,3: 35:[14, 17] Operation: 33-16=17
Exploring Operation: 33+16=49, Resulting Numbers: [14, 49]
Generated Node #0,1,4: 35:[14, 49] Operation: 33+16=49
Moving to Node #0,4
Current State: 35:[35, 21, 17], Operations: ['33-16=17']
Exploring Operation: 35-21=14, Resulting Numbers: [17, 14]
Generated Node #0,4,0: 35:[17, 14] Operation: 35-21=14
Exploring Operation: 21+17=38, Resulting Numbers: [35, 38]
Generated Node #0,4,1: 35:[35, 38] Operation: 21+17=38
Exploring Operation: 21-17=4, Resulting Numbers: [35, 4]
Generated Node #0,4,2: 35:[35, 4] Operation: 21-17=4
Exploring Operation: 35-17=18, Resulting Numbers: [21, 18]
Generated Node #0,4,3: 35:[21, 18] Operation: 35-17=18
Exploring Operation: 35+21=56, Resulting Numbers: [17, 56]
Generated Node #0,4,4: 35:[17, 56] Operation: 35+21=56
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[35, 4], Operations: ['33-16=17', '21-17=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[35, 38], Operations: ['33-16=17', '21+17=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[17, 14], Operations: ['33-16=17', '35-21=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[21, 18], Operations: ['33-16=17', '35-17=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,35 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[17, 56], Operations: ['33-16=17', '35+21=56']
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,35 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 35:[35, 4], Operations: ['16+21=37', '37-33=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[37, 2], Operations: ['16+21=37', '35-33=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[33, 35, 16, 21], Operations: []
Exploring Operation: 16+21=37, Resulting Numbers: [33, 35, 37]
Generated Node #0,3: 35:[33, 35, 37] Operation: 16+21=37
Moving to Node #0,3
Current State: 35:[33, 35, 37], Operations: ['16+21=37']
Exploring Operation: 35-33=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 35:[37, 2] Operation: 35-33=2
Moving to Node #0,3,3
Current State: 35:[37, 2], Operations: ['16+21=37', '35-33=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.927083 |
hs_5
|
mult_heuristic
|
[
12,
47,
60,
37
] | 38 |
[
"12+47=59",
"60+37=97",
"97-59=38"
] |
Current State: 38:[12, 47, 60, 37], Operations: []
Exploring Operation: 12+47=59, Resulting Numbers: [60, 37, 59]
Generated Node #2: [60, 37, 59] from Operation: 12+47=59
Current State: 38:[60, 37, 59], Operations: ['12+47=59']
Exploring Operation: 60+37=97, Resulting Numbers: [59, 97]
Generated Node #3: [59, 97] from Operation: 60+37=97
Current State: 38:[59, 97], Operations: ['12+47=59', '60+37=97']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[12, 47, 60, 37], Operations: []
Exploring Operation: 60-12=48, Resulting Numbers: [47, 37, 48]
Generated Node #0,0: 38:[47, 37, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [47, 37, 5]
Generated Node #0,1: 38:[47, 37, 5] Operation: 60/12=5
Exploring Operation: 60-47=13, Resulting Numbers: [12, 37, 13]
Generated Node #0,2: 38:[12, 37, 13] Operation: 60-47=13
Exploring Operation: 60-37=23, Resulting Numbers: [12, 47, 23]
Generated Node #0,3: 38:[12, 47, 23] Operation: 60-37=23
Moving to Node #0,1
Current State: 38:[47, 37, 5], Operations: ['60/12=5']
Exploring Operation: 47-5=42, Resulting Numbers: [37, 42]
Generated Node #0,1,0: 38:[37, 42] Operation: 47-5=42
Exploring Operation: 47+5=52, Resulting Numbers: [37, 52]
Generated Node #0,1,1: 38:[37, 52] Operation: 47+5=52
Exploring Operation: 37+5=42, Resulting Numbers: [47, 42]
Generated Node #0,1,2: 38:[47, 42] Operation: 37+5=42
Exploring Operation: 47-37=10, Resulting Numbers: [5, 10]
Generated Node #0,1,3: 38:[5, 10] Operation: 47-37=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[37, 42], Operations: ['60/12=5', '47-5=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,38 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,38 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[5, 10], Operations: ['60/12=5', '47-37=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[47, 42], Operations: ['60/12=5', '37+5=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[37, 52], Operations: ['60/12=5', '47+5=52']
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,38 unequal: No Solution
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,38 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: 38:[12, 37, 13], Operations: ['60-47=13']
Exploring Operation: 12+13=25, Resulting Numbers: [37, 25]
Generated Node #0,2,0: 38:[37, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [37, 1]
Generated Node #0,2,1: 38:[37, 1] Operation: 13-12=1
Exploring Operation: 37-13=24, Resulting Numbers: [12, 24]
Generated Node #0,2,2: 38:[12, 24] Operation: 37-13=24
Exploring Operation: 37-12=25, Resulting Numbers: [13, 25]
Generated Node #0,2,3: 38:[13, 25] Operation: 37-12=25
Moving to Node #0,3
Current State: 38:[12, 47, 23], Operations: ['60-37=23']
Exploring Operation: 47-12=35, Resulting Numbers: [23, 35]
Generated Node #0,3,0: 38:[23, 35] Operation: 47-12=35
Exploring Operation: 12+23=35, Resulting Numbers: [47, 35]
Generated Node #0,3,1: 38:[47, 35] Operation: 12+23=35
Exploring Operation: 47-23=24, Resulting Numbers: [12, 24]
Generated Node #0,3,2: 38:[12, 24] Operation: 47-23=24
Exploring Operation: 23-12=11, Resulting Numbers: [47, 11]
Generated Node #0,3,3: 38:[47, 11] Operation: 23-12=11
Moving to Node #0,0
Current State: 38:[47, 37, 48], Operations: ['60-12=48']
Exploring Operation: 47-37=10, Resulting Numbers: [48, 10]
Generated Node #0,0,0: 38:[48, 10] Operation: 47-37=10
Exploring Operation: 47+37=84, Resulting Numbers: [48, 84]
Generated Node #0,0,1: 38:[48, 84] Operation: 47+37=84
Exploring Operation: 48-47=1, Resulting Numbers: [37, 1]
Generated Node #0,0,2: 38:[37, 1] Operation: 48-47=1
Exploring Operation: 48-37=11, Resulting Numbers: [47, 11]
Generated Node #0,0,3: 38:[47, 11] Operation: 48-37=11
Moving to Node #0,2,1
Current State: 38:[37, 1], Operations: ['60-47=13', '13-12=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[12, 47, 60, 37], Operations: []
Exploring Operation: 60-47=13, Resulting Numbers: [12, 37, 13]
Generated Node #0,2: 38:[12, 37, 13] Operation: 60-47=13
Moving to Node #0,2
Current State: 38:[12, 37, 13], Operations: ['60-47=13']
Exploring Operation: 13-12=1, Resulting Numbers: [37, 1]
Generated Node #0,2,1: 38:[37, 1] Operation: 13-12=1
Moving to Node #0,2,1
Current State: 38:[37, 1], Operations: ['60-47=13', '13-12=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.967014 |
hs_4
|
mult_heuristic
|
[
65,
23,
26,
88
] | 51 |
[
"65+88=153",
"26-23=3",
"153/3=51"
] |
Current State: 51:[65, 23, 26, 88], Operations: []
Exploring Operation: 65+88=153, Resulting Numbers: [23, 26, 153]
Generated Node #2: [23, 26, 153] from Operation: 65+88=153
Current State: 51:[23, 26, 153], Operations: ['65+88=153']
Exploring Operation: 26-23=3, Resulting Numbers: [153, 3]
Generated Node #3: [153, 3] from Operation: 26-23=3
Current State: 51:[153, 3], Operations: ['65+88=153', '26-23=3']
Exploring Operation: 153/3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[65, 23, 26, 88], Operations: []
Exploring Operation: 88-65=23, Resulting Numbers: [23, 26, 23]
Generated Node #0,0: 51:[23, 26, 23] Operation: 88-65=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[23, 26, 23], Operations: ['88-65=23']
Exploring Operation: 26-23=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 51:[23, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 51:[23, 3], Operations: ['88-65=23', '26-23=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
24,
79,
2,
3
] | 75 |
[
"24/2=12",
"12/3=4",
"79-4=75"
] |
Current State: 75:[24, 79, 2, 3], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [79, 3, 12]
Generated Node #2: [79, 3, 12] from Operation: 24/2=12
Current State: 75:[79, 3, 12], Operations: ['24/2=12']
Exploring Operation: 12/3=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 12/3=4
Current State: 75:[79, 4], Operations: ['24/2=12', '12/3=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[24, 79, 2, 3], Operations: []
Exploring Operation: 79-2=77, Resulting Numbers: [24, 3, 77]
Generated Node #0,0: 75:[24, 3, 77] Operation: 79-2=77
Exploring Operation: 2+3=5, Resulting Numbers: [24, 79, 5]
Generated Node #0,1: 75:[24, 79, 5] Operation: 2+3=5
Exploring Operation: 79-3=76, Resulting Numbers: [24, 2, 76]
Generated Node #0,2: 75:[24, 2, 76] Operation: 79-3=76
Exploring Operation: 24+2=26, Resulting Numbers: [79, 3, 26]
Generated Node #0,3: 75:[79, 3, 26] Operation: 24+2=26
Exploring Operation: 2*3=6, Resulting Numbers: [24, 79, 6]
Generated Node #0,4: 75:[24, 79, 6] Operation: 2*3=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[24, 3, 77], Operations: ['79-2=77']
Exploring Operation: 24*3=72, Resulting Numbers: [77, 72]
Generated Node #0,0,0: 75:[77, 72] Operation: 24*3=72
Exploring Operation: 77-3=74, Resulting Numbers: [24, 74]
Generated Node #0,0,1: 75:[24, 74] Operation: 77-3=74
Exploring Operation: 24/3=8, Resulting Numbers: [77, 8]
Generated Node #0,0,2: 75:[77, 8] Operation: 24/3=8
Exploring Operation: 24+3=27, Resulting Numbers: [77, 27]
Generated Node #0,0,3: 75:[77, 27] Operation: 24+3=27
Exploring Operation: 24-3=21, Resulting Numbers: [77, 21]
Generated Node #0,0,4: 75:[77, 21] Operation: 24-3=21
Moving to Node #0,0,1
Current State: 75:[24, 74], Operations: ['79-2=77', '77-3=74']
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,75 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[77, 27], Operations: ['79-2=77', '24+3=27']
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,75 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[77, 72], Operations: ['79-2=77', '24*3=72']
Exploring Operation: 77*72=5544, Resulting Numbers: [5544]
5544,75 unequal: No Solution
Exploring Operation: 77+72=149, Resulting Numbers: [149]
149,75 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[77, 8], Operations: ['79-2=77', '24/3=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,75 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[77, 21], Operations: ['79-2=77', '24-3=21']
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,75 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[24, 2, 76], Operations: ['79-3=76']
Exploring Operation: 24+2=26, Resulting Numbers: [76, 26]
Generated Node #0,2,0: 75:[76, 26] Operation: 24+2=26
Exploring Operation: 76-2=74, Resulting Numbers: [24, 74]
Generated Node #0,2,1: 75:[24, 74] Operation: 76-2=74
Exploring Operation: 24-2=22, Resulting Numbers: [76, 22]
Generated Node #0,2,2: 75:[76, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [76, 12]
Generated Node #0,2,3: 75:[76, 12] Operation: 24/2=12
Exploring Operation: 2+76=78, Resulting Numbers: [24, 78]
Generated Node #0,2,4: 75:[24, 78] Operation: 2+76=78
Moving to Node #0,2,0
Current State: 75:[76, 26], Operations: ['79-3=76', '24+2=26']
Exploring Operation: 76*26=1976, Resulting Numbers: [1976]
1976,75 unequal: No Solution
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[24, 74], Operations: ['79-3=76', '76-2=74']
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,75 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[76, 22], Operations: ['79-3=76', '24-2=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,75 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[76, 12], Operations: ['79-3=76', '24/2=12']
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,75 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[24, 78], Operations: ['79-3=76', '2+76=78']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,75 unequal: No Solution
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[24, 79, 5], Operations: ['2+3=5']
Exploring Operation: 79+5=84, Resulting Numbers: [24, 84]
Generated Node #0,1,0: 75:[24, 84] Operation: 79+5=84
Exploring Operation: 79-5=74, Resulting Numbers: [24, 74]
Generated Node #0,1,1: 75:[24, 74] Operation: 79-5=74
Exploring Operation: 24-5=19, Resulting Numbers: [79, 19]
Generated Node #0,1,2: 75:[79, 19] Operation: 24-5=19
Exploring Operation: 24+5=29, Resulting Numbers: [79, 29]
Generated Node #0,1,3: 75:[79, 29] Operation: 24+5=29
Exploring Operation: 79-24=55, Resulting Numbers: [5, 55]
Generated Node #0,1,4: 75:[5, 55] Operation: 79-24=55
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[24, 74], Operations: ['2+3=5', '79-5=74']
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,75 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[79, 19], Operations: ['2+3=5', '24-5=19']
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[79, 29], Operations: ['2+3=5', '24+5=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[24, 84], Operations: ['2+3=5', '79+5=84']
Exploring Operation: 24*84=2016, Resulting Numbers: [2016]
2016,75 unequal: No Solution
Exploring Operation: 24+84=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[5, 55], Operations: ['2+3=5', '79-24=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,75 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[79, 3, 26], Operations: ['24+2=26']
Exploring Operation: 26-3=23, Resulting Numbers: [79, 23]
Generated Node #0,3,0: 75:[79, 23] Operation: 26-3=23
Exploring Operation: 3+26=29, Resulting Numbers: [79, 29]
Generated Node #0,3,1: 75:[79, 29] Operation: 3+26=29
Exploring Operation: 79+3=82, Resulting Numbers: [26, 82]
Generated Node #0,3,2: 75:[26, 82] Operation: 79+3=82
Exploring Operation: 79-3=76, Resulting Numbers: [26, 76]
Generated Node #0,3,3: 75:[26, 76] Operation: 79-3=76
Exploring Operation: 3*26=78, Resulting Numbers: [79, 78]
Generated Node #0,3,4: 75:[79, 78] Operation: 3*26=78
Moving to Node #0,3,3
Current State: 75:[26, 76], Operations: ['24+2=26', '79-3=76']
Exploring Operation: 26+76=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Exploring Operation: 26*76=1976, Resulting Numbers: [1976]
1976,75 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[79, 23], Operations: ['24+2=26', '26-3=23']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,75 unequal: No Solution
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Moving to Node #0,3,4
Current State: 75:[79, 78], Operations: ['24+2=26', '3*26=78']
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,75 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[79, 29], Operations: ['24+2=26', '3+26=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,75 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[26, 82], Operations: ['24+2=26', '79+3=82']
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[24, 79, 6], Operations: ['2*3=6']
Exploring Operation: 24/6=4, Resulting Numbers: [79, 4]
Generated Node #0,4,0: 75:[79, 4] Operation: 24/6=4
Exploring Operation: 79+6=85, Resulting Numbers: [24, 85]
Generated Node #0,4,1: 75:[24, 85] Operation: 79+6=85
Exploring Operation: 24-6=18, Resulting Numbers: [79, 18]
Generated Node #0,4,2: 75:[79, 18] Operation: 24-6=18
Exploring Operation: 79-6=73, Resulting Numbers: [24, 73]
Generated Node #0,4,3: 75:[24, 73] Operation: 79-6=73
Exploring Operation: 24+6=30, Resulting Numbers: [79, 30]
Generated Node #0,4,4: 75:[79, 30] Operation: 24+6=30
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[24, 73], Operations: ['2*3=6', '79-6=73']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 75:[79, 4], Operations: ['2*3=6', '24/6=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[24, 79, 2, 3], Operations: []
Exploring Operation: 2*3=6, Resulting Numbers: [24, 79, 6]
Generated Node #0,4: 75:[24, 79, 6] Operation: 2*3=6
Moving to Node #0,4
Current State: 75:[24, 79, 6], Operations: ['2*3=6']
Exploring Operation: 24/6=4, Resulting Numbers: [79, 4]
Generated Node #0,4,0: 75:[79, 4] Operation: 24/6=4
Moving to Node #0,4,0
Current State: 75:[79, 4], Operations: ['2*3=6', '24/6=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.914063 |
hs_5
|
sum_heuristic
|
[
43,
61,
56,
35
] | 83 |
[
"43+61=104",
"56-35=21",
"104-21=83"
] |
Current State: 83:[43, 61, 56, 35], Operations: []
Exploring Operation: 43+61=104, Resulting Numbers: [56, 35, 104]
Generated Node #2: [56, 35, 104] from Operation: 43+61=104
Current State: 83:[56, 35, 104], Operations: ['43+61=104']
Exploring Operation: 56-35=21, Resulting Numbers: [104, 21]
Generated Node #3: [104, 21] from Operation: 56-35=21
Current State: 83:[104, 21], Operations: ['43+61=104', '56-35=21']
Exploring Operation: 104-21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[43, 61, 56, 35], Operations: []
Exploring Operation: 56+35=91, Resulting Numbers: [43, 61, 91]
Generated Node #0,0: 83:[43, 61, 91] Operation: 56+35=91
Exploring Operation: 43+35=78, Resulting Numbers: [61, 56, 78]
Generated Node #0,1: 83:[61, 56, 78] Operation: 43+35=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[61, 56, 78], Operations: ['43+35=78']
Exploring Operation: 56+78=134, Resulting Numbers: [61, 134]
Generated Node #0,1,0: 83:[61, 134] Operation: 56+78=134
Exploring Operation: 61+56=117, Resulting Numbers: [78, 117]
Generated Node #0,1,1: 83:[78, 117] Operation: 61+56=117
Moving to Node #0,1,1
Current State: 83:[78, 117], Operations: ['43+35=78', '61+56=117']
Exploring Operation: 78+117=195, Resulting Numbers: [195]
195,83 unequal: No Solution
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[61, 134], Operations: ['43+35=78', '56+78=134']
Exploring Operation: 61+134=195, Resulting Numbers: [195]
195,83 unequal: No Solution
Exploring Operation: 134-61=73, Resulting Numbers: [73]
73,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[43, 61, 91], Operations: ['56+35=91']
Exploring Operation: 43+61=104, Resulting Numbers: [91, 104]
Generated Node #0,0,0: 83:[91, 104] Operation: 43+61=104
Exploring Operation: 91-43=48, Resulting Numbers: [61, 48]
Generated Node #0,0,1: 83:[61, 48] Operation: 91-43=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[91, 104], Operations: ['56+35=91', '43+61=104']
Exploring Operation: 91+104=195, Resulting Numbers: [195]
195,83 unequal: No Solution
Exploring Operation: 104-91=13, Resulting Numbers: [13]
13,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[61, 48], Operations: ['56+35=91', '91-43=48']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
70,
23,
11,
21
] | 40 |
[
"23-11=12",
"70*12=840",
"840/21=40"
] |
Current State: 40:[70, 23, 11, 21], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [70, 21, 12]
Generated Node #2: [70, 21, 12] from Operation: 23-11=12
Current State: 40:[70, 21, 12], Operations: ['23-11=12']
Exploring Operation: 70*12=840, Resulting Numbers: [21, 840]
Generated Node #3: [21, 840] from Operation: 70*12=840
Current State: 40:[21, 840], Operations: ['23-11=12', '70*12=840']
Exploring Operation: 840/21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[70, 23, 11, 21], Operations: []
Exploring Operation: 70-11=59, Resulting Numbers: [23, 21, 59]
Generated Node #0,0: 40:[23, 21, 59] Operation: 70-11=59
Exploring Operation: 70-21=49, Resulting Numbers: [23, 11, 49]
Generated Node #0,1: 40:[23, 11, 49] Operation: 70-21=49
Exploring Operation: 70-23=47, Resulting Numbers: [11, 21, 47]
Generated Node #0,2: 40:[11, 21, 47] Operation: 70-23=47
Moving to Node #0,2
Current State: 40:[11, 21, 47], Operations: ['70-23=47']
Exploring Operation: 47-21=26, Resulting Numbers: [11, 26]
Generated Node #0,2,0: 40:[11, 26] Operation: 47-21=26
Exploring Operation: 47-11=36, Resulting Numbers: [21, 36]
Generated Node #0,2,1: 40:[21, 36] Operation: 47-11=36
Exploring Operation: 21-11=10, Resulting Numbers: [47, 10]
Generated Node #0,2,2: 40:[47, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[21, 36], Operations: ['70-23=47', '47-11=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,40 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[11, 26], Operations: ['70-23=47', '47-21=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[47, 10], Operations: ['70-23=47', '21-11=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,40 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 40:[23, 11, 49], Operations: ['70-21=49']
Exploring Operation: 23-11=12, Resulting Numbers: [49, 12]
Generated Node #0,1,0: 40:[49, 12] Operation: 23-11=12
Exploring Operation: 49-23=26, Resulting Numbers: [11, 26]
Generated Node #0,1,1: 40:[11, 26] Operation: 49-23=26
Exploring Operation: 49-11=38, Resulting Numbers: [23, 38]
Generated Node #0,1,2: 40:[23, 38] Operation: 49-11=38
Moving to Node #0,0
Current State: 40:[23, 21, 59], Operations: ['70-11=59']
Exploring Operation: 23-21=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 40:[59, 2] Operation: 23-21=2
Exploring Operation: 59-23=36, Resulting Numbers: [21, 36]
Generated Node #0,0,1: 40:[21, 36] Operation: 59-23=36
Exploring Operation: 59-21=38, Resulting Numbers: [23, 38]
Generated Node #0,0,2: 40:[23, 38] Operation: 59-21=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[21, 36], Operations: ['70-11=59', '59-23=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[23, 38], Operations: ['70-11=59', '59-21=38']
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,40 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[59, 2], Operations: ['70-11=59', '23-21=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 40:[23, 38], Operations: ['70-21=49', '49-11=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,40 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[11, 26], Operations: ['70-21=49', '49-23=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,40 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[49, 12], Operations: ['70-21=49', '23-11=12']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,40 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
31,
39,
7,
38
] | 23 |
[
"39-31=8",
"38-7=31",
"31-8=23"
] |
Current State: 23:[31, 39, 7, 38], Operations: []
Exploring Operation: 39-31=8, Resulting Numbers: [7, 38, 8]
Generated Node #2: [7, 38, 8] from Operation: 39-31=8
Current State: 23:[7, 38, 8], Operations: ['39-31=8']
Exploring Operation: 38-7=31, Resulting Numbers: [8, 31]
Generated Node #3: [8, 31] from Operation: 38-7=31
Current State: 23:[8, 31], Operations: ['39-31=8', '38-7=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[31, 39, 7, 38], Operations: []
Exploring Operation: 31-7=24, Resulting Numbers: [39, 38, 24]
Generated Node #0,0: 23:[39, 38, 24] Operation: 31-7=24
Moving to Node #0,0
Current State: 23:[39, 38, 24], Operations: ['31-7=24']
Exploring Operation: 39-38=1, Resulting Numbers: [24, 1]
Generated Node #0,0,0: 23:[24, 1] Operation: 39-38=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[24, 1], Operations: ['31-7=24', '39-38=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[31, 39, 7, 38], Operations: []
Exploring Operation: 31-7=24, Resulting Numbers: [39, 38, 24]
Generated Node #0,0: 23:[39, 38, 24] Operation: 31-7=24
Moving to Node #0,0
Current State: 23:[39, 38, 24], Operations: ['31-7=24']
Exploring Operation: 39-38=1, Resulting Numbers: [24, 1]
Generated Node #0,0,0: 23:[24, 1] Operation: 39-38=1
Moving to Node #0,0,0
Current State: 23:[24, 1], Operations: ['31-7=24', '39-38=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
8,
2,
6,
82
] | 50 |
[
"6-2=4",
"8*4=32",
"82-32=50"
] |
Current State: 50:[8, 2, 6, 82], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [8, 82, 4]
Generated Node #2: [8, 82, 4] from Operation: 6-2=4
Current State: 50:[8, 82, 4], Operations: ['6-2=4']
Exploring Operation: 8*4=32, Resulting Numbers: [82, 32]
Generated Node #3: [82, 32] from Operation: 8*4=32
Current State: 50:[82, 32], Operations: ['6-2=4', '8*4=32']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[8, 2, 6, 82], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [8, 6, 41]
Generated Node #0,0: 50:[8, 6, 41] Operation: 82/2=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[8, 6, 41], Operations: ['82/2=41']
Exploring Operation: 8+41=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 50:[6, 49] Operation: 8+41=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[6, 49], Operations: ['82/2=41', '8+41=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,50 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
|
[
30,
13,
82,
2
] | 80 |
[
"30/2=15",
"13+82=95",
"95-15=80"
] |
Current State: 80:[30, 13, 82, 2], Operations: []
Exploring Operation: 30/2=15, Resulting Numbers: [13, 82, 15]
Generated Node #2: [13, 82, 15] from Operation: 30/2=15
Current State: 80:[13, 82, 15], Operations: ['30/2=15']
Exploring Operation: 13+82=95, Resulting Numbers: [15, 95]
Generated Node #3: [15, 95] from Operation: 13+82=95
Current State: 80:[15, 95], Operations: ['30/2=15', '13+82=95']
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[30, 13, 82, 2], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [82, 2, 17]
Generated Node #0,0: 80:[82, 2, 17] Operation: 30-13=17
Moving to Node #0,0
Current State: 80:[82, 2, 17], Operations: ['30-13=17']
Exploring Operation: 82-2=80, Resulting Numbers: [17, 80]
Generated Node #0,0,0: 80:[17, 80] Operation: 82-2=80
Moving to Node #0,0,0
Current State: 80:[17, 80], Operations: ['30-13=17', '82-2=80']
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,80 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
59,
61,
39,
13
] | 52 |
[
"61-59=2",
"39-13=26",
"2*26=52"
] |
Current State: 52:[59, 61, 39, 13], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [39, 13, 2]
Generated Node #2: [39, 13, 2] from Operation: 61-59=2
Current State: 52:[39, 13, 2], Operations: ['61-59=2']
Exploring Operation: 39-13=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 39-13=26
Current State: 52:[2, 26], Operations: ['61-59=2', '39-13=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[59, 61, 39, 13], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [59, 13, 22]
Generated Node #0,0: 52:[59, 13, 22] Operation: 61-39=22
Exploring Operation: 61-59=2, Resulting Numbers: [39, 13, 2]
Generated Node #0,1: 52:[39, 13, 2] Operation: 61-59=2
Moving to Node #0,0
Current State: 52:[59, 13, 22], Operations: ['61-39=22']
Exploring Operation: 59-22=37, Resulting Numbers: [13, 37]
Generated Node #0,0,0: 52:[13, 37] Operation: 59-22=37
Exploring Operation: 59-13=46, Resulting Numbers: [22, 46]
Generated Node #0,0,1: 52:[22, 46] Operation: 59-13=46
Moving to Node #0,1
Current State: 52:[39, 13, 2], Operations: ['61-59=2']
Exploring Operation: 39+13=52, Resulting Numbers: [2, 52]
Generated Node #0,1,0: 52:[2, 52] Operation: 39+13=52
Exploring Operation: 39-13=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 52:[2, 26] Operation: 39-13=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[2, 52], Operations: ['61-59=2', '39+13=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No 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: 52:[2, 26], Operations: ['61-59=2', '39-13=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[59, 61, 39, 13], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [39, 13, 2]
Generated Node #0,1: 52:[39, 13, 2] Operation: 61-59=2
Moving to Node #0,1
Current State: 52:[39, 13, 2], Operations: ['61-59=2']
Exploring Operation: 39-13=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 52:[2, 26] Operation: 39-13=26
Moving to Node #0,1,1
Current State: 52:[2, 26], Operations: ['61-59=2', '39-13=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_2
|
mult_heuristic
|
[
34,
31,
12,
23
] | 31 |
[
"34-12=22",
"23-22=1",
"31*1=31"
] |
Current State: 31:[34, 31, 12, 23], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [31, 23, 22]
Generated Node #2: [31, 23, 22] from Operation: 34-12=22
Current State: 31:[31, 23, 22], Operations: ['34-12=22']
Exploring Operation: 23-22=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 23-22=1
Current State: 31:[31, 1], Operations: ['34-12=22', '23-22=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[34, 31, 12, 23], Operations: []
Exploring Operation: 12+23=35, Resulting Numbers: [34, 31, 35]
Generated Node #0,0: 31:[34, 31, 35] Operation: 12+23=35
Exploring Operation: 34-12=22, Resulting Numbers: [31, 23, 22]
Generated Node #0,1: 31:[31, 23, 22] Operation: 34-12=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[34, 31, 35], Operations: ['12+23=35']
Exploring Operation: 35-34=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 31:[31, 1] Operation: 35-34=1
Exploring Operation: 35-31=4, Resulting Numbers: [34, 4]
Generated Node #0,0,1: 31:[34, 4] Operation: 35-31=4
Moving to Node #0,0,0
Current State: 31:[31, 1], Operations: ['12+23=35', '35-34=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[34, 31, 12, 23], Operations: []
Exploring Operation: 12+23=35, Resulting Numbers: [34, 31, 35]
Generated Node #0,0: 31:[34, 31, 35] Operation: 12+23=35
Moving to Node #0,0
Current State: 31:[34, 31, 35], Operations: ['12+23=35']
Exploring Operation: 35-34=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 31:[31, 1] Operation: 35-34=1
Moving to Node #0,0,0
Current State: 31:[31, 1], Operations: ['12+23=35', '35-34=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
99,
4,
38,
83
] | 36 |
[
"99-38=61",
"83+61=144",
"144/4=36"
] |
Current State: 36:[99, 4, 38, 83], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [4, 83, 61]
Generated Node #2: [4, 83, 61] from Operation: 99-38=61
Current State: 36:[4, 83, 61], Operations: ['99-38=61']
Exploring Operation: 83+61=144, Resulting Numbers: [4, 144]
Generated Node #3: [4, 144] from Operation: 83+61=144
Current State: 36:[4, 144], Operations: ['99-38=61', '83+61=144']
Exploring Operation: 144/4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[99, 4, 38, 83], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [4, 38, 16]
Generated Node #0,0: 36:[4, 38, 16] Operation: 99-83=16
Exploring Operation: 99-4=95, Resulting Numbers: [38, 83, 95]
Generated Node #0,1: 36:[38, 83, 95] Operation: 99-4=95
Exploring Operation: 99-38=61, Resulting Numbers: [4, 83, 61]
Generated Node #0,2: 36:[4, 83, 61] Operation: 99-38=61
Exploring Operation: 83-38=45, Resulting Numbers: [99, 4, 45]
Generated Node #0,3: 36:[99, 4, 45] Operation: 83-38=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[4, 38, 16], Operations: ['99-83=16']
Exploring Operation: 4+16=20, Resulting Numbers: [38, 20]
Generated Node #0,0,0: 36:[38, 20] Operation: 4+16=20
Exploring Operation: 16/4=4, Resulting Numbers: [38, 4]
Generated Node #0,0,1: 36:[38, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [38, 12]
Generated Node #0,0,2: 36:[38, 12] Operation: 16-4=12
Exploring Operation: 38-4=34, Resulting Numbers: [16, 34]
Generated Node #0,0,3: 36:[16, 34] Operation: 38-4=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[38, 4], Operations: ['99-83=16', '16/4=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,36 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[38, 12], Operations: ['99-83=16', '16-4=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,36 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[38, 20], Operations: ['99-83=16', '4+16=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 38+20=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 38*20=760, Resulting Numbers: [760]
760,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 36:[16, 34], Operations: ['99-83=16', '38-4=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[4, 83, 61], Operations: ['99-38=61']
Exploring Operation: 61-4=57, Resulting Numbers: [83, 57]
Generated Node #0,2,0: 36:[83, 57] Operation: 61-4=57
Exploring Operation: 83-61=22, Resulting Numbers: [4, 22]
Generated Node #0,2,1: 36:[4, 22] Operation: 83-61=22
Exploring Operation: 4+83=87, Resulting Numbers: [61, 87]
Generated Node #0,2,2: 36:[61, 87] Operation: 4+83=87
Exploring Operation: 83-4=79, Resulting Numbers: [61, 79]
Generated Node #0,2,3: 36:[61, 79] Operation: 83-4=79
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[4, 22], Operations: ['99-38=61', '83-61=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[83, 57], Operations: ['99-38=61', '61-4=57']
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,36 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[61, 79], Operations: ['99-38=61', '83-4=79']
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,36 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[61, 87], Operations: ['99-38=61', '4+83=87']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 61*87=5307, Resulting Numbers: [5307]
5307,36 unequal: No Solution
Exploring Operation: 61+87=148, Resulting Numbers: [148]
148,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[99, 4, 45], Operations: ['83-38=45']
Exploring Operation: 99+4=103, Resulting Numbers: [45, 103]
Generated Node #0,3,0: 36:[45, 103] Operation: 99+4=103
Exploring Operation: 99-45=54, Resulting Numbers: [4, 54]
Generated Node #0,3,1: 36:[4, 54] Operation: 99-45=54
Exploring Operation: 99-4=95, Resulting Numbers: [45, 95]
Generated Node #0,3,2: 36:[45, 95] Operation: 99-4=95
Exploring Operation: 45-4=41, Resulting Numbers: [99, 41]
Generated Node #0,3,3: 36:[99, 41] Operation: 45-4=41
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[4, 54], Operations: ['83-38=45', '99-45=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,36 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 36:[45, 95], Operations: ['83-38=45', '99-4=95']
Exploring Operation: 45+95=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 45*95=4275, Resulting Numbers: [4275]
4275,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[99, 41], Operations: ['83-38=45', '45-4=41']
Exploring Operation: 99+41=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 99*41=4059, Resulting Numbers: [4059]
4059,36 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[45, 103], Operations: ['83-38=45', '99+4=103']
Exploring Operation: 103-45=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 45*103=4635, Resulting Numbers: [4635]
4635,36 unequal: No Solution
Exploring Operation: 45+103=148, Resulting Numbers: [148]
148,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[38, 83, 95], Operations: ['99-4=95']
Exploring Operation: 38+83=121, Resulting Numbers: [95, 121]
Generated Node #0,1,0: 36:[95, 121] Operation: 38+83=121
Exploring Operation: 83-38=45, Resulting Numbers: [95, 45]
Generated Node #0,1,1: 36:[95, 45] Operation: 83-38=45
Exploring Operation: 95-83=12, Resulting Numbers: [38, 12]
Generated Node #0,1,2: 36:[38, 12] Operation: 95-83=12
Exploring Operation: 95-38=57, Resulting Numbers: [83, 57]
Generated Node #0,1,3: 36:[83, 57] Operation: 95-38=57
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[38, 12], Operations: ['99-4=95', '95-83=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,36 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[95, 45], Operations: ['99-4=95', '83-38=45']
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 36:[83, 57], Operations: ['99-4=95', '95-38=57']
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,36 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[95, 121], Operations: ['99-4=95', '38+83=121']
Exploring Operation: 121-95=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 95+121=216, Resulting Numbers: [216]
216,36 unequal: No Solution
Exploring Operation: 95*121=11495, Resulting Numbers: [11495]
11495,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
68,
76,
65,
72
] | 84 |
[
"72-68=4",
"76/4=19",
"65+19=84"
] |
Current State: 84:[68, 76, 65, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [76, 65, 4]
Generated Node #2: [76, 65, 4] from Operation: 72-68=4
Current State: 84:[76, 65, 4], Operations: ['72-68=4']
Exploring Operation: 76/4=19, Resulting Numbers: [65, 19]
Generated Node #3: [65, 19] from Operation: 76/4=19
Current State: 84:[65, 19], Operations: ['72-68=4', '76/4=19']
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[68, 76, 65, 72], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [76, 72, 3]
Generated Node #0,0: 84:[76, 72, 3] Operation: 68-65=3
Exploring Operation: 72-65=7, Resulting Numbers: [68, 76, 7]
Generated Node #0,1: 84:[68, 76, 7] Operation: 72-65=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[76, 72, 3], Operations: ['68-65=3']
Exploring Operation: 72/3=24, Resulting Numbers: [76, 24]
Generated Node #0,0,0: 84:[76, 24] Operation: 72/3=24
Exploring Operation: 76-72=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 84:[3, 4] Operation: 76-72=4
Moving to Node #0,0,1
Current State: 84:[3, 4], Operations: ['68-65=3', '76-72=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[76, 24], Operations: ['68-65=3', '72/3=24']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,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
Current State: 84:[68, 76, 7], Operations: ['72-65=7']
Exploring Operation: 68+7=75, Resulting Numbers: [76, 75]
Generated Node #0,1,0: 84:[76, 75] Operation: 68+7=75
Exploring Operation: 76-68=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 84:[7, 8] Operation: 76-68=8
Moving to Node #0,1,1
Current State: 84:[7, 8], Operations: ['72-65=7', '76-68=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[76, 75], Operations: ['72-65=7', '68+7=75']
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,84 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
|
[
74,
42,
57,
9
] | 85 |
[
"42+57=99",
"99/9=11",
"74+11=85"
] |
Current State: 85:[74, 42, 57, 9], Operations: []
Exploring Operation: 42+57=99, Resulting Numbers: [74, 9, 99]
Generated Node #2: [74, 9, 99] from Operation: 42+57=99
Current State: 85:[74, 9, 99], Operations: ['42+57=99']
Exploring Operation: 99/9=11, Resulting Numbers: [74, 11]
Generated Node #3: [74, 11] from Operation: 99/9=11
Current State: 85:[74, 11], Operations: ['42+57=99', '99/9=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[74, 42, 57, 9], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [74, 9, 15]
Generated Node #0,0: 85:[74, 9, 15] Operation: 57-42=15
Exploring Operation: 74-57=17, Resulting Numbers: [42, 9, 17]
Generated Node #0,1: 85:[42, 9, 17] Operation: 74-57=17
Moving to Node #0,0
Current State: 85:[74, 9, 15], Operations: ['57-42=15']
Exploring Operation: 74+15=89, Resulting Numbers: [9, 89]
Generated Node #0,0,0: 85:[9, 89] Operation: 74+15=89
Exploring Operation: 74+9=83, Resulting Numbers: [15, 83]
Generated Node #0,0,1: 85:[15, 83] Operation: 74+9=83
Moving to Node #0,1
Current State: 85:[42, 9, 17], Operations: ['74-57=17']
Exploring Operation: 42-9=33, Resulting Numbers: [17, 33]
Generated Node #0,1,0: 85:[17, 33] Operation: 42-9=33
Exploring Operation: 42-17=25, Resulting Numbers: [9, 25]
Generated Node #0,1,1: 85:[9, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[9, 25], Operations: ['74-57=17', '42-17=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[17, 33], Operations: ['74-57=17', '42-9=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,85 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: 85:[15, 83], Operations: ['57-42=15', '74+9=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[9, 89], Operations: ['57-42=15', '74+15=89']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,85 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
5,
8,
84,
4
] | 65 |
[
"84/4=21",
"21-8=13",
"5*13=65"
] |
Current State: 65:[5, 8, 84, 4], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [5, 8, 21]
Generated Node #2: [5, 8, 21] from Operation: 84/4=21
Current State: 65:[5, 8, 21], Operations: ['84/4=21']
Exploring Operation: 21-8=13, Resulting Numbers: [5, 13]
Generated Node #3: [5, 13] from Operation: 21-8=13
Current State: 65:[5, 13], Operations: ['84/4=21', '21-8=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[5, 8, 84, 4], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [5, 8, 21]
Generated Node #0,0: 65:[5, 8, 21] Operation: 84/4=21
Exploring Operation: 84-8=76, Resulting Numbers: [5, 4, 76]
Generated Node #0,1: 65:[5, 4, 76] Operation: 84-8=76
Moving to Node #0,0
Current State: 65:[5, 8, 21], Operations: ['84/4=21']
Exploring Operation: 21-8=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 65:[5, 13] Operation: 21-8=13
Exploring Operation: 21-5=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 65:[8, 16] Operation: 21-5=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[5, 13], Operations: ['84/4=21', '21-8=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[5, 8, 84, 4], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [5, 8, 21]
Generated Node #0,0: 65:[5, 8, 21] Operation: 84/4=21
Moving to Node #0,0
Current State: 65:[5, 8, 21], Operations: ['84/4=21']
Exploring Operation: 21-8=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 65:[5, 13] Operation: 21-8=13
Moving to Node #0,0,0
Current State: 65:[5, 13], Operations: ['84/4=21', '21-8=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
78,
57,
47,
55
] | 16 |
[
"57-55=2",
"47*2=94",
"94-78=16"
] |
Current State: 16:[78, 57, 47, 55], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [78, 47, 2]
Generated Node #2: [78, 47, 2] from Operation: 57-55=2
Current State: 16:[78, 47, 2], Operations: ['57-55=2']
Exploring Operation: 47*2=94, Resulting Numbers: [78, 94]
Generated Node #3: [78, 94] from Operation: 47*2=94
Current State: 16:[78, 94], Operations: ['57-55=2', '47*2=94']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[78, 57, 47, 55], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [57, 47, 23]
Generated Node #0,0: 16:[57, 47, 23] Operation: 78-55=23
Exploring Operation: 57-55=2, Resulting Numbers: [78, 47, 2]
Generated Node #0,1: 16:[78, 47, 2] Operation: 57-55=2
Exploring Operation: 78-57=21, Resulting Numbers: [47, 55, 21]
Generated Node #0,2: 16:[47, 55, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[47, 55, 21], Operations: ['78-57=21']
Exploring Operation: 55-21=34, Resulting Numbers: [47, 34]
Generated Node #0,2,0: 16:[47, 34] Operation: 55-21=34
Exploring Operation: 47-21=26, Resulting Numbers: [55, 26]
Generated Node #0,2,1: 16:[55, 26] Operation: 47-21=26
Exploring Operation: 55-47=8, Resulting Numbers: [21, 8]
Generated Node #0,2,2: 16:[21, 8] Operation: 55-47=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[21, 8], Operations: ['78-57=21', '55-47=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,16 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 16:[47, 34], Operations: ['78-57=21', '55-21=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[55, 26], Operations: ['78-57=21', '47-21=26']
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,16 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[57, 47, 23], Operations: ['78-55=23']
Exploring Operation: 57-23=34, Resulting Numbers: [47, 34]
Generated Node #0,0,0: 16:[47, 34] Operation: 57-23=34
Exploring Operation: 57-47=10, Resulting Numbers: [23, 10]
Generated Node #0,0,1: 16:[23, 10] Operation: 57-47=10
Exploring Operation: 47-23=24, Resulting Numbers: [57, 24]
Generated Node #0,0,2: 16:[57, 24] Operation: 47-23=24
Moving to Node #0,0,1
Current State: 16:[23, 10], Operations: ['78-55=23', '57-47=10']
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,16 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[47, 34], Operations: ['78-55=23', '57-23=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[57, 24], Operations: ['78-55=23', '47-23=24']
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,16 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[78, 47, 2], Operations: ['57-55=2']
Exploring Operation: 78-47=31, Resulting Numbers: [2, 31]
Generated Node #0,1,0: 16:[2, 31] Operation: 78-47=31
Exploring Operation: 78-2=76, Resulting Numbers: [47, 76]
Generated Node #0,1,1: 16:[47, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [47, 39]
Generated Node #0,1,2: 16:[47, 39] Operation: 78/2=39
Moving to Node #0,1,0
Current State: 16:[2, 31], Operations: ['57-55=2', '78-47=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[47, 39], Operations: ['57-55=2', '78/2=39']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,16 unequal: No Solution
Exploring Operation: 47*39=1833, Resulting Numbers: [1833]
1833,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[47, 76], Operations: ['57-55=2', '78-2=76']
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,16 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,16 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,16 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
|
[
73,
51,
60,
6
] | 86 |
[
"73*60=4380",
"6+4380=4386",
"4386/51=86"
] |
Current State: 86:[73, 51, 60, 6], Operations: []
Exploring Operation: 73*60=4380, Resulting Numbers: [51, 6, 4380]
Generated Node #2: [51, 6, 4380] from Operation: 73*60=4380
Current State: 86:[51, 6, 4380], Operations: ['73*60=4380']
Exploring Operation: 6+4380=4386, Resulting Numbers: [51, 4386]
Generated Node #3: [51, 4386] from Operation: 6+4380=4386
Current State: 86:[51, 4386], Operations: ['73*60=4380', '6+4380=4386']
Exploring Operation: 4386/51=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[73, 51, 60, 6], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [73, 51, 10]
Generated Node #0,0: 86:[73, 51, 10] Operation: 60/6=10
Exploring Operation: 73+6=79, Resulting Numbers: [51, 60, 79]
Generated Node #0,1: 86:[51, 60, 79] Operation: 73+6=79
Exploring Operation: 60-51=9, Resulting Numbers: [73, 6, 9]
Generated Node #0,2: 86:[73, 6, 9] Operation: 60-51=9
Exploring Operation: 73-60=13, Resulting Numbers: [51, 6, 13]
Generated Node #0,3: 86:[51, 6, 13] Operation: 73-60=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[51, 6, 13], Operations: ['73-60=13']
Exploring Operation: 51-6=45, Resulting Numbers: [13, 45]
Generated Node #0,3,0: 86:[13, 45] Operation: 51-6=45
Exploring Operation: 6*13=78, Resulting Numbers: [51, 78]
Generated Node #0,3,1: 86:[51, 78] Operation: 6*13=78
Exploring Operation: 51-13=38, Resulting Numbers: [6, 38]
Generated Node #0,3,2: 86:[6, 38] Operation: 51-13=38
Exploring Operation: 13-6=7, Resulting Numbers: [51, 7]
Generated Node #0,3,3: 86:[51, 7] Operation: 13-6=7
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[6, 38], Operations: ['73-60=13', '51-13=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[13, 45], Operations: ['73-60=13', '51-6=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,86 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,86 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[51, 7], Operations: ['73-60=13', '13-6=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,86 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[51, 78], Operations: ['73-60=13', '6*13=78']
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 51+78=129, Resulting Numbers: [129]
129,86 unequal: No Solution
Exploring Operation: 51*78=3978, Resulting Numbers: [3978]
3978,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[73, 6, 9], Operations: ['60-51=9']
Exploring Operation: 9-6=3, Resulting Numbers: [73, 3]
Generated Node #0,2,0: 86:[73, 3] Operation: 9-6=3
Exploring Operation: 73+9=82, Resulting Numbers: [6, 82]
Generated Node #0,2,1: 86:[6, 82] Operation: 73+9=82
Exploring Operation: 73+6=79, Resulting Numbers: [9, 79]
Generated Node #0,2,2: 86:[9, 79] Operation: 73+6=79
Exploring Operation: 6*9=54, Resulting Numbers: [73, 54]
Generated Node #0,2,3: 86:[73, 54] Operation: 6*9=54
Moving to Node #0,2,1
Current State: 86:[6, 82], Operations: ['60-51=9', '73+9=82']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[9, 79], Operations: ['60-51=9', '73+6=79']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,86 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[73, 3], Operations: ['60-51=9', '9-6=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[73, 54], Operations: ['60-51=9', '6*9=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,86 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[73, 51, 10], Operations: ['60/6=10']
Exploring Operation: 73+10=83, Resulting Numbers: [51, 83]
Generated Node #0,0,0: 86:[51, 83] Operation: 73+10=83
Exploring Operation: 51-10=41, Resulting Numbers: [73, 41]
Generated Node #0,0,1: 86:[73, 41] Operation: 51-10=41
Exploring Operation: 73-10=63, Resulting Numbers: [51, 63]
Generated Node #0,0,2: 86:[51, 63] Operation: 73-10=63
Exploring Operation: 73-51=22, Resulting Numbers: [10, 22]
Generated Node #0,0,3: 86:[10, 22] Operation: 73-51=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[51, 83], Operations: ['60/6=10', '73+10=83']
Exploring Operation: 51+83=134, Resulting Numbers: [134]
134,86 unequal: No Solution
Exploring Operation: 51*83=4233, Resulting Numbers: [4233]
4233,86 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[73, 41], Operations: ['60/6=10', '51-10=41']
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,86 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,86 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[51, 63], Operations: ['60/6=10', '73-10=63']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,86 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[10, 22], Operations: ['60/6=10', '73-51=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,86 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[51, 60, 79], Operations: ['73+6=79']
Exploring Operation: 51+60=111, Resulting Numbers: [79, 111]
Generated Node #0,1,0: 86:[79, 111] Operation: 51+60=111
Exploring Operation: 79-60=19, Resulting Numbers: [51, 19]
Generated Node #0,1,1: 86:[51, 19] Operation: 79-60=19
Exploring Operation: 60-51=9, Resulting Numbers: [79, 9]
Generated Node #0,1,2: 86:[79, 9] Operation: 60-51=9
Exploring Operation: 79-51=28, Resulting Numbers: [60, 28]
Generated Node #0,1,3: 86:[60, 28] Operation: 79-51=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[79, 9], Operations: ['73+6=79', '60-51=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[51, 19], Operations: ['73+6=79', '79-60=19']
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,86 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[79, 111], Operations: ['73+6=79', '51+60=111']
Exploring Operation: 111-79=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 79+111=190, Resulting Numbers: [190]
190,86 unequal: No Solution
Exploring Operation: 79*111=8769, Resulting Numbers: [8769]
8769,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[60, 28], Operations: ['73+6=79', '79-51=28']
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,86 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
12,
66,
3,
25
] | 32 |
[
"66-12=54",
"25-3=22",
"54-22=32"
] |
Current State: 32:[12, 66, 3, 25], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [3, 25, 54]
Generated Node #2: [3, 25, 54] from Operation: 66-12=54
Current State: 32:[3, 25, 54], Operations: ['66-12=54']
Exploring Operation: 25-3=22, Resulting Numbers: [54, 22]
Generated Node #3: [54, 22] from Operation: 25-3=22
Current State: 32:[54, 22], Operations: ['66-12=54', '25-3=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[12, 66, 3, 25], Operations: []
Exploring Operation: 66-25=41, Resulting Numbers: [12, 3, 41]
Generated Node #0,0: 32:[12, 3, 41] Operation: 66-25=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[12, 3, 41], Operations: ['66-25=41']
Exploring Operation: 41-12=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 32:[3, 29] Operation: 41-12=29
Moving to Node #0,0,0
Current State: 32:[3, 29], Operations: ['66-25=41', '41-12=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[12, 66, 3, 25], Operations: []
Exploring Operation: 66-25=41, Resulting Numbers: [12, 3, 41]
Generated Node #0,0: 32:[12, 3, 41] Operation: 66-25=41
Moving to Node #0,0
Current State: 32:[12, 3, 41], Operations: ['66-25=41']
Exploring Operation: 41-12=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 32:[3, 29] Operation: 41-12=29
Moving to Node #0,0,0
Current State: 32:[3, 29], Operations: ['66-25=41', '41-12=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
93,
67,
88,
16
] | 88 |
[
"93+67=160",
"88-16=72",
"160-72=88"
] |
Current State: 88:[93, 67, 88, 16], Operations: []
Exploring Operation: 93+67=160, Resulting Numbers: [88, 16, 160]
Generated Node #2: [88, 16, 160] from Operation: 93+67=160
Current State: 88:[88, 16, 160], Operations: ['93+67=160']
Exploring Operation: 88-16=72, Resulting Numbers: [160, 72]
Generated Node #3: [160, 72] from Operation: 88-16=72
Current State: 88:[160, 72], Operations: ['93+67=160', '88-16=72']
Exploring Operation: 160-72=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[93, 67, 88, 16], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [88, 16, 26]
Generated Node #0,0: 88:[88, 16, 26] Operation: 93-67=26
Moving to Node #0,0
Current State: 88:[88, 16, 26], Operations: ['93-67=26']
Exploring Operation: 26-16=10, Resulting Numbers: [88, 10]
Generated Node #0,0,0: 88:[88, 10] Operation: 26-16=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[88, 10], Operations: ['93-67=26', '26-16=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
5,
21,
24,
95
] | 34 |
[
"5*21=105",
"95-24=71",
"105-71=34"
] |
Current State: 34:[5, 21, 24, 95], Operations: []
Exploring Operation: 5*21=105, Resulting Numbers: [24, 95, 105]
Generated Node #2: [24, 95, 105] from Operation: 5*21=105
Current State: 34:[24, 95, 105], Operations: ['5*21=105']
Exploring Operation: 95-24=71, Resulting Numbers: [105, 71]
Generated Node #3: [105, 71] from Operation: 95-24=71
Current State: 34:[105, 71], Operations: ['5*21=105', '95-24=71']
Exploring Operation: 105-71=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[5, 21, 24, 95], Operations: []
Exploring Operation: 95-24=71, Resulting Numbers: [5, 21, 71]
Generated Node #0,0: 34:[5, 21, 71] Operation: 95-24=71
Exploring Operation: 95/5=19, Resulting Numbers: [21, 24, 19]
Generated Node #0,1: 34:[21, 24, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[21, 24, 19], Operations: ['95/5=19']
Exploring Operation: 21-19=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 34:[24, 2] Operation: 21-19=2
Exploring Operation: 24-21=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 34:[19, 3] Operation: 24-21=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[19, 3], Operations: ['95/5=19', '24-21=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[24, 2], Operations: ['95/5=19', '21-19=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[5, 21, 71], Operations: ['95-24=71']
Exploring Operation: 71-5=66, Resulting Numbers: [21, 66]
Generated Node #0,0,0: 34:[21, 66] Operation: 71-5=66
Exploring Operation: 71-21=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 34:[5, 50] Operation: 71-21=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[5, 50], Operations: ['95-24=71', '71-21=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[21, 66], Operations: ['95-24=71', '71-5=66']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
78,
6,
46,
85
] | 46 |
[
"78+6=84",
"85-84=1",
"46*1=46"
] |
Current State: 46:[78, 6, 46, 85], Operations: []
Exploring Operation: 78+6=84, Resulting Numbers: [46, 85, 84]
Generated Node #2: [46, 85, 84] from Operation: 78+6=84
Current State: 46:[46, 85, 84], Operations: ['78+6=84']
Exploring Operation: 85-84=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 85-84=1
Current State: 46:[46, 1], Operations: ['78+6=84', '85-84=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[78, 6, 46, 85], Operations: []
Exploring Operation: 78-46=32, Resulting Numbers: [6, 85, 32]
Generated Node #0,0: 46:[6, 85, 32] Operation: 78-46=32
Exploring Operation: 85-78=7, Resulting Numbers: [6, 46, 7]
Generated Node #0,1: 46:[6, 46, 7] Operation: 85-78=7
Exploring Operation: 85-46=39, Resulting Numbers: [78, 6, 39]
Generated Node #0,2: 46:[78, 6, 39] Operation: 85-46=39
Exploring Operation: 78/6=13, Resulting Numbers: [46, 85, 13]
Generated Node #0,3: 46:[46, 85, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[6, 46, 7], Operations: ['85-78=7']
Exploring Operation: 6+46=52, Resulting Numbers: [7, 52]
Generated Node #0,1,0: 46:[7, 52] Operation: 6+46=52
Exploring Operation: 6+7=13, Resulting Numbers: [46, 13]
Generated Node #0,1,1: 46:[46, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [46, 1]
Generated Node #0,1,2: 46:[46, 1] Operation: 7-6=1
Exploring Operation: 6*7=42, Resulting Numbers: [46, 42]
Generated Node #0,1,3: 46:[46, 42] Operation: 6*7=42
Moving to Node #0,1,2
Current State: 46:[46, 1], Operations: ['85-78=7', '7-6=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[78, 6, 46, 85], Operations: []
Exploring Operation: 85-78=7, Resulting Numbers: [6, 46, 7]
Generated Node #0,1: 46:[6, 46, 7] Operation: 85-78=7
Moving to Node #0,1
Current State: 46:[6, 46, 7], Operations: ['85-78=7']
Exploring Operation: 7-6=1, Resulting Numbers: [46, 1]
Generated Node #0,1,2: 46:[46, 1] Operation: 7-6=1
Moving to Node #0,1,2
Current State: 46:[46, 1], Operations: ['85-78=7', '7-6=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
42,
19,
96,
15
] | 66 |
[
"19-15=4",
"96/4=24",
"42+24=66"
] |
Current State: 66:[42, 19, 96, 15], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [42, 96, 4]
Generated Node #2: [42, 96, 4] from Operation: 19-15=4
Current State: 66:[42, 96, 4], Operations: ['19-15=4']
Exploring Operation: 96/4=24, Resulting Numbers: [42, 24]
Generated Node #3: [42, 24] from Operation: 96/4=24
Current State: 66:[42, 24], Operations: ['19-15=4', '96/4=24']
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[42, 19, 96, 15], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [42, 19, 81]
Generated Node #0,0: 66:[42, 19, 81] Operation: 96-15=81
Exploring Operation: 42-15=27, Resulting Numbers: [19, 96, 27]
Generated Node #0,1: 66:[19, 96, 27] Operation: 42-15=27
Exploring Operation: 96-42=54, Resulting Numbers: [19, 15, 54]
Generated Node #0,2: 66:[19, 15, 54] Operation: 96-42=54
Exploring Operation: 42-19=23, Resulting Numbers: [96, 15, 23]
Generated Node #0,3: 66:[96, 15, 23] Operation: 42-19=23
Exploring Operation: 96-19=77, Resulting Numbers: [42, 15, 77]
Generated Node #0,4: 66:[42, 15, 77] Operation: 96-19=77
Moving to Node #0,2
Current State: 66:[19, 15, 54], Operations: ['96-42=54']
Exploring Operation: 15+54=69, Resulting Numbers: [19, 69]
Generated Node #0,2,0: 66:[19, 69] Operation: 15+54=69
Exploring Operation: 54-15=39, Resulting Numbers: [19, 39]
Generated Node #0,2,1: 66:[19, 39] Operation: 54-15=39
Exploring Operation: 19+54=73, Resulting Numbers: [15, 73]
Generated Node #0,2,2: 66:[15, 73] Operation: 19+54=73
Exploring Operation: 19+15=34, Resulting Numbers: [54, 34]
Generated Node #0,2,3: 66:[54, 34] Operation: 19+15=34
Exploring Operation: 54-19=35, Resulting Numbers: [15, 35]
Generated Node #0,2,4: 66:[15, 35] Operation: 54-19=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[19, 69], Operations: ['96-42=54', '15+54=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,66 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 66:[15, 35], Operations: ['96-42=54', '54-19=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,66 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[19, 39], Operations: ['96-42=54', '54-15=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,66 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[15, 73], Operations: ['96-42=54', '19+54=73']
Exploring Operation: 15*73=1095, Resulting Numbers: [1095]
1095,66 unequal: No Solution
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 15+73=88, Resulting Numbers: [88]
88,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[54, 34], Operations: ['96-42=54', '19+15=34']
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,66 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,66 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: 66:[42, 15, 77], Operations: ['96-19=77']
Exploring Operation: 15+77=92, Resulting Numbers: [42, 92]
Generated Node #0,4,0: 66:[42, 92] Operation: 15+77=92
Exploring Operation: 77-42=35, Resulting Numbers: [15, 35]
Generated Node #0,4,1: 66:[15, 35] Operation: 77-42=35
Exploring Operation: 42+15=57, Resulting Numbers: [77, 57]
Generated Node #0,4,2: 66:[77, 57] Operation: 42+15=57
Exploring Operation: 77-15=62, Resulting Numbers: [42, 62]
Generated Node #0,4,3: 66:[42, 62] Operation: 77-15=62
Exploring Operation: 42-15=27, Resulting Numbers: [77, 27]
Generated Node #0,4,4: 66:[77, 27] Operation: 42-15=27
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[15, 35], Operations: ['96-19=77', '77-42=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,66 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[42, 62], Operations: ['96-19=77', '77-15=62']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,66 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[77, 27], Operations: ['96-19=77', '42-15=27']
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,66 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[77, 57], Operations: ['96-19=77', '42+15=57']
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 77*57=4389, Resulting Numbers: [4389]
4389,66 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[42, 92], Operations: ['96-19=77', '15+77=92']
Exploring Operation: 42+92=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 42*92=3864, Resulting Numbers: [3864]
3864,66 unequal: No Solution
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,66 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: 66:[42, 19, 81], Operations: ['96-15=81']
Exploring Operation: 42+19=61, Resulting Numbers: [81, 61]
Generated Node #0,0,0: 66:[81, 61] Operation: 42+19=61
Exploring Operation: 81-42=39, Resulting Numbers: [19, 39]
Generated Node #0,0,1: 66:[19, 39] Operation: 81-42=39
Exploring Operation: 19+81=100, Resulting Numbers: [42, 100]
Generated Node #0,0,2: 66:[42, 100] Operation: 19+81=100
Exploring Operation: 81-19=62, Resulting Numbers: [42, 62]
Generated Node #0,0,3: 66:[42, 62] Operation: 81-19=62
Exploring Operation: 42-19=23, Resulting Numbers: [81, 23]
Generated Node #0,0,4: 66:[81, 23] Operation: 42-19=23
Moving to Node #0,3
Current State: 66:[96, 15, 23], Operations: ['42-19=23']
Exploring Operation: 96-15=81, Resulting Numbers: [23, 81]
Generated Node #0,3,0: 66:[23, 81] Operation: 96-15=81
Exploring Operation: 23-15=8, Resulting Numbers: [96, 8]
Generated Node #0,3,1: 66:[96, 8] Operation: 23-15=8
Exploring Operation: 96+15=111, Resulting Numbers: [23, 111]
Generated Node #0,3,2: 66:[23, 111] Operation: 96+15=111
Exploring Operation: 15+23=38, Resulting Numbers: [96, 38]
Generated Node #0,3,3: 66:[96, 38] Operation: 15+23=38
Exploring Operation: 96-23=73, Resulting Numbers: [15, 73]
Generated Node #0,3,4: 66:[15, 73] Operation: 96-23=73
Moving to Node #0,1
Current State: 66:[19, 96, 27], Operations: ['42-15=27']
Exploring Operation: 19+96=115, Resulting Numbers: [27, 115]
Generated Node #0,1,0: 66:[27, 115] Operation: 19+96=115
Exploring Operation: 19+27=46, Resulting Numbers: [96, 46]
Generated Node #0,1,1: 66:[96, 46] Operation: 19+27=46
Exploring Operation: 96-19=77, Resulting Numbers: [27, 77]
Generated Node #0,1,2: 66:[27, 77] Operation: 96-19=77
Exploring Operation: 27-19=8, Resulting Numbers: [96, 8]
Generated Node #0,1,3: 66:[96, 8] Operation: 27-19=8
Exploring Operation: 96-27=69, Resulting Numbers: [19, 69]
Generated Node #0,1,4: 66:[19, 69] Operation: 96-27=69
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[19, 69], Operations: ['42-15=27', '96-27=69']
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[27, 77], Operations: ['42-15=27', '96-19=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,66 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[96, 8], Operations: ['42-15=27', '27-19=8']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 96*8=768, Resulting Numbers: [768]
768,66 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[96, 46], Operations: ['42-15=27', '19+27=46']
Exploring Operation: 96*46=4416, Resulting Numbers: [4416]
4416,66 unequal: No Solution
Exploring Operation: 96+46=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[27, 115], Operations: ['42-15=27', '19+96=115']
Exploring Operation: 27*115=3105, Resulting Numbers: [3105]
3105,66 unequal: No Solution
Exploring Operation: 115-27=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 27+115=142, Resulting Numbers: [142]
142,66 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: 66:[19, 39], Operations: ['96-15=81', '81-42=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,66 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[15, 73], Operations: ['42-19=23', '96-23=73']
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 15*73=1095, Resulting Numbers: [1095]
1095,66 unequal: No Solution
Exploring Operation: 15+73=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[42, 62], Operations: ['96-15=81', '81-19=62']
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[23, 81], Operations: ['42-19=23', '96-15=81']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[81, 23], Operations: ['96-15=81', '42-19=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,66 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[81, 61], Operations: ['96-15=81', '42+19=61']
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[96, 8], Operations: ['42-19=23', '23-15=8']
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 96*8=768, Resulting Numbers: [768]
768,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[96, 38], Operations: ['42-19=23', '15+23=38']
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[42, 100], Operations: ['96-15=81', '19+81=100']
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[23, 111], Operations: ['42-19=23', '96+15=111']
Exploring Operation: 23+111=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 23*111=2553, Resulting Numbers: [2553]
2553,66 unequal: No Solution
Exploring Operation: 111-23=88, Resulting Numbers: [88]
88,66 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
78,
14,
66,
68
] | 94 |
[
"78+14=92",
"68-66=2",
"92+2=94"
] |
Current State: 94:[78, 14, 66, 68], Operations: []
Exploring Operation: 78+14=92, Resulting Numbers: [66, 68, 92]
Generated Node #2: [66, 68, 92] from Operation: 78+14=92
Current State: 94:[66, 68, 92], Operations: ['78+14=92']
Exploring Operation: 68-66=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 68-66=2
Current State: 94:[92, 2], Operations: ['78+14=92', '68-66=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[78, 14, 66, 68], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [14, 66, 10]
Generated Node #0,0: 94:[14, 66, 10] Operation: 78-68=10
Exploring Operation: 78+14=92, Resulting Numbers: [66, 68, 92]
Generated Node #0,1: 94:[66, 68, 92] Operation: 78+14=92
Exploring Operation: 68-66=2, Resulting Numbers: [78, 14, 2]
Generated Node #0,2: 94:[78, 14, 2] Operation: 68-66=2
Moving to Node #0,2
Current State: 94:[78, 14, 2], Operations: ['68-66=2']
Exploring Operation: 78/2=39, Resulting Numbers: [14, 39]
Generated Node #0,2,0: 94:[14, 39] Operation: 78/2=39
Exploring Operation: 78+14=92, Resulting Numbers: [2, 92]
Generated Node #0,2,1: 94:[2, 92] Operation: 78+14=92
Exploring Operation: 78-14=64, Resulting Numbers: [2, 64]
Generated Node #0,2,2: 94:[2, 64] Operation: 78-14=64
Moving to Node #0,0
Current State: 94:[14, 66, 10], Operations: ['78-68=10']
Exploring Operation: 66-14=52, Resulting Numbers: [10, 52]
Generated Node #0,0,0: 94:[10, 52] Operation: 66-14=52
Exploring Operation: 14-10=4, Resulting Numbers: [66, 4]
Generated Node #0,0,1: 94:[66, 4] Operation: 14-10=4
Exploring Operation: 66-10=56, Resulting Numbers: [14, 56]
Generated Node #0,0,2: 94:[14, 56] Operation: 66-10=56
Moving to Node #0,1
Current State: 94:[66, 68, 92], Operations: ['78+14=92']
Exploring Operation: 68-66=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 94:[92, 2] Operation: 68-66=2
Exploring Operation: 66+68=134, Resulting Numbers: [92, 134]
Generated Node #0,1,1: 94:[92, 134] Operation: 66+68=134
Exploring Operation: 92-68=24, Resulting Numbers: [66, 24]
Generated Node #0,1,2: 94:[66, 24] Operation: 92-68=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[92, 2], Operations: ['78+14=92', '68-66=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[78, 14, 66, 68], Operations: []
Exploring Operation: 78+14=92, Resulting Numbers: [66, 68, 92]
Generated Node #0,1: 94:[66, 68, 92] Operation: 78+14=92
Moving to Node #0,1
Current State: 94:[66, 68, 92], Operations: ['78+14=92']
Exploring Operation: 68-66=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 94:[92, 2] Operation: 68-66=2
Moving to Node #0,1,0
Current State: 94:[92, 2], Operations: ['78+14=92', '68-66=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_3
|
mult_heuristic
|
[
38,
17,
79,
69
] | 31 |
[
"38-17=21",
"79-69=10",
"21+10=31"
] |
Current State: 31:[38, 17, 79, 69], Operations: []
Exploring Operation: 38-17=21, Resulting Numbers: [79, 69, 21]
Generated Node #2: [79, 69, 21] from Operation: 38-17=21
Current State: 31:[79, 69, 21], Operations: ['38-17=21']
Exploring Operation: 79-69=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 79-69=10
Current State: 31:[21, 10], Operations: ['38-17=21', '79-69=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[38, 17, 79, 69], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [38, 79, 52]
Generated Node #0,0: 31:[38, 79, 52] Operation: 69-17=52
Exploring Operation: 69-38=31, Resulting Numbers: [17, 79, 31]
Generated Node #0,1: 31:[17, 79, 31] Operation: 69-38=31
Exploring Operation: 79-69=10, Resulting Numbers: [38, 17, 10]
Generated Node #0,2: 31:[38, 17, 10] Operation: 79-69=10
Exploring Operation: 79-17=62, Resulting Numbers: [38, 69, 62]
Generated Node #0,3: 31:[38, 69, 62] Operation: 79-17=62
Exploring Operation: 79-38=41, Resulting Numbers: [17, 69, 41]
Generated Node #0,4: 31:[17, 69, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[38, 17, 10], Operations: ['79-69=10']
Exploring Operation: 38+10=48, Resulting Numbers: [17, 48]
Generated Node #0,2,0: 31:[17, 48] Operation: 38+10=48
Exploring Operation: 17+10=27, Resulting Numbers: [38, 27]
Generated Node #0,2,1: 31:[38, 27] Operation: 17+10=27
Exploring Operation: 38-17=21, Resulting Numbers: [10, 21]
Generated Node #0,2,2: 31:[10, 21] Operation: 38-17=21
Exploring Operation: 17-10=7, Resulting Numbers: [38, 7]
Generated Node #0,2,3: 31:[38, 7] Operation: 17-10=7
Exploring Operation: 38-10=28, Resulting Numbers: [17, 28]
Generated Node #0,2,4: 31:[17, 28] Operation: 38-10=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[38, 27], Operations: ['79-69=10', '17+10=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 31:[17, 28], Operations: ['79-69=10', '38-10=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[17, 48], Operations: ['79-69=10', '38+10=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,31 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[38, 17, 79, 69], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [38, 17, 10]
Generated Node #0,2: 31:[38, 17, 10] Operation: 79-69=10
Moving to Node #0,2
Current State: 31:[38, 17, 10], Operations: ['79-69=10']
Exploring Operation: 38+10=48, Resulting Numbers: [17, 48]
Generated Node #0,2,0: 31:[17, 48] Operation: 38+10=48
Moving to Node #0,2,0
Current State: 31:[17, 48], Operations: ['79-69=10', '38+10=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 |
hs_5
|
mult_heuristic
|
[
59,
2,
32,
41
] | 55 |
[
"59-32=27",
"2*41=82",
"82-27=55"
] |
Current State: 55:[59, 2, 32, 41], Operations: []
Exploring Operation: 59-32=27, Resulting Numbers: [2, 41, 27]
Generated Node #2: [2, 41, 27] from Operation: 59-32=27
Current State: 55:[2, 41, 27], Operations: ['59-32=27']
Exploring Operation: 2*41=82, Resulting Numbers: [27, 82]
Generated Node #3: [27, 82] from Operation: 2*41=82
Current State: 55:[27, 82], Operations: ['59-32=27', '2*41=82']
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[59, 2, 32, 41], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [2, 32, 18]
Generated Node #0,0: 55:[2, 32, 18] Operation: 59-41=18
Exploring Operation: 32/2=16, Resulting Numbers: [59, 41, 16]
Generated Node #0,1: 55:[59, 41, 16] Operation: 32/2=16
Exploring Operation: 2*32=64, Resulting Numbers: [59, 41, 64]
Generated Node #0,2: 55:[59, 41, 64] Operation: 2*32=64
Exploring Operation: 41-32=9, Resulting Numbers: [59, 2, 9]
Generated Node #0,3: 55:[59, 2, 9] Operation: 41-32=9
Exploring Operation: 32+41=73, Resulting Numbers: [59, 2, 73]
Generated Node #0,4: 55:[59, 2, 73] Operation: 32+41=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[59, 2, 9], Operations: ['41-32=9']
Exploring Operation: 59-2=57, Resulting Numbers: [9, 57]
Generated Node #0,3,0: 55:[9, 57] Operation: 59-2=57
Exploring Operation: 59+2=61, Resulting Numbers: [9, 61]
Generated Node #0,3,1: 55:[9, 61] Operation: 59+2=61
Exploring Operation: 9-2=7, Resulting Numbers: [59, 7]
Generated Node #0,3,2: 55:[59, 7] Operation: 9-2=7
Exploring Operation: 59-9=50, Resulting Numbers: [2, 50]
Generated Node #0,3,3: 55:[2, 50] Operation: 59-9=50
Exploring Operation: 2+9=11, Resulting Numbers: [59, 11]
Generated Node #0,3,4: 55:[59, 11] Operation: 2+9=11
Moving to Node #0,3,0
Current State: 55:[9, 57], Operations: ['41-32=9', '59-2=57']
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[59, 11], Operations: ['41-32=9', '2+9=11']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[59, 7], Operations: ['41-32=9', '9-2=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[9, 61], Operations: ['41-32=9', '59+2=61']
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[2, 50], Operations: ['41-32=9', '59-9=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[59, 41, 16], Operations: ['32/2=16']
Exploring Operation: 41+16=57, Resulting Numbers: [59, 57]
Generated Node #0,1,0: 55:[59, 57] Operation: 41+16=57
Exploring Operation: 59-16=43, Resulting Numbers: [41, 43]
Generated Node #0,1,1: 55:[41, 43] Operation: 59-16=43
Exploring Operation: 59-41=18, Resulting Numbers: [16, 18]
Generated Node #0,1,2: 55:[16, 18] Operation: 59-41=18
Exploring Operation: 41-16=25, Resulting Numbers: [59, 25]
Generated Node #0,1,3: 55:[59, 25] Operation: 41-16=25
Exploring Operation: 59+16=75, Resulting Numbers: [41, 75]
Generated Node #0,1,4: 55:[41, 75] Operation: 59+16=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[59, 57], Operations: ['32/2=16', '41+16=57']
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,55 unequal: No Solution
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,55 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No 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: 55:[16, 18], Operations: ['32/2=16', '59-41=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,55 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,55 unequal: No Solution
No 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: 55:[59, 25], Operations: ['32/2=16', '41-16=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,55 unequal: No Solution
No 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: 55:[41, 43], Operations: ['32/2=16', '59-16=43']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,55 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,55 unequal: No Solution
No 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: 55:[41, 75], Operations: ['32/2=16', '59+16=75']
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 41*75=3075, Resulting Numbers: [3075]
3075,55 unequal: No Solution
Exploring Operation: 41+75=116, Resulting Numbers: [116]
116,55 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: 55:[59, 2, 73], Operations: ['32+41=73']
Exploring Operation: 73-59=14, Resulting Numbers: [2, 14]
Generated Node #0,4,0: 55:[2, 14] Operation: 73-59=14
Exploring Operation: 73-2=71, Resulting Numbers: [59, 71]
Generated Node #0,4,1: 55:[59, 71] Operation: 73-2=71
Exploring Operation: 2+73=75, Resulting Numbers: [59, 75]
Generated Node #0,4,2: 55:[59, 75] Operation: 2+73=75
Exploring Operation: 59-2=57, Resulting Numbers: [73, 57]
Generated Node #0,4,3: 55:[73, 57] Operation: 59-2=57
Exploring Operation: 59+2=61, Resulting Numbers: [73, 61]
Generated Node #0,4,4: 55:[73, 61] Operation: 59+2=61
Moving to Node #0,4,0
Current State: 55:[2, 14], Operations: ['32+41=73', '73-59=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Moving to Node #0,4,3
Current State: 55:[73, 57], Operations: ['32+41=73', '59-2=57']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[59, 71], Operations: ['32+41=73', '73-2=71']
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 59*71=4189, Resulting Numbers: [4189]
4189,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[59, 75], Operations: ['32+41=73', '2+73=75']
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 59*75=4425, Resulting Numbers: [4425]
4425,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[73, 61], Operations: ['32+41=73', '59+2=61']
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,55 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[59, 41, 64], Operations: ['2*32=64']
Exploring Operation: 64-59=5, Resulting Numbers: [41, 5]
Generated Node #0,2,0: 55:[41, 5] Operation: 64-59=5
Exploring Operation: 41+64=105, Resulting Numbers: [59, 105]
Generated Node #0,2,1: 55:[59, 105] Operation: 41+64=105
Exploring Operation: 64-41=23, Resulting Numbers: [59, 23]
Generated Node #0,2,2: 55:[59, 23] Operation: 64-41=23
Exploring Operation: 59+41=100, Resulting Numbers: [64, 100]
Generated Node #0,2,3: 55:[64, 100] Operation: 59+41=100
Exploring Operation: 59-41=18, Resulting Numbers: [64, 18]
Generated Node #0,2,4: 55:[64, 18] Operation: 59-41=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[41, 5], Operations: ['2*32=64', '64-59=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,55 unequal: No Solution
No 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: 55:[59, 23], Operations: ['2*32=64', '64-41=23']
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,55 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,55 unequal: No Solution
No 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: 55:[64, 18], Operations: ['2*32=64', '59-41=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,55 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,55 unequal: No Solution
No 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: 55:[59, 105], Operations: ['2*32=64', '41+64=105']
Exploring Operation: 59+105=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Exploring Operation: 105-59=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 59*105=6195, Resulting Numbers: [6195]
6195,55 unequal: No Solution
No 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: 55:[64, 100], Operations: ['2*32=64', '59+41=100']
Exploring Operation: 64+100=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Exploring Operation: 64*100=6400, Resulting Numbers: [6400]
6400,55 unequal: No Solution
Exploring Operation: 100-64=36, Resulting Numbers: [36]
36,55 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: 55:[2, 32, 18], Operations: ['59-41=18']
Exploring Operation: 18/2=9, Resulting Numbers: [32, 9]
Generated Node #0,0,0: 55:[32, 9] Operation: 18/2=9
Exploring Operation: 32-18=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 55:[2, 14] Operation: 32-18=14
Exploring Operation: 32/2=16, Resulting Numbers: [18, 16]
Generated Node #0,0,2: 55:[18, 16] Operation: 32/2=16
Exploring Operation: 32+18=50, Resulting Numbers: [2, 50]
Generated Node #0,0,3: 55:[2, 50] Operation: 32+18=50
Exploring Operation: 2*32=64, Resulting Numbers: [18, 64]
Generated Node #0,0,4: 55:[18, 64] Operation: 2*32=64
Moving to Node #0,0,1
Current State: 55:[2, 14], Operations: ['59-41=18', '32-18=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[2, 50], Operations: ['59-41=18', '32+18=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[18, 16], Operations: ['59-41=18', '32/2=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,55 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[18, 64], Operations: ['59-41=18', '2*32=64']
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[32, 9], Operations: ['59-41=18', '18/2=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,55 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
|
[
46,
61,
26,
58
] | 23 |
[
"46+61=107",
"26+58=84",
"107-84=23"
] |
Current State: 23:[46, 61, 26, 58], Operations: []
Exploring Operation: 46+61=107, Resulting Numbers: [26, 58, 107]
Generated Node #2: [26, 58, 107] from Operation: 46+61=107
Current State: 23:[26, 58, 107], Operations: ['46+61=107']
Exploring Operation: 26+58=84, Resulting Numbers: [107, 84]
Generated Node #3: [107, 84] from Operation: 26+58=84
Current State: 23:[107, 84], Operations: ['46+61=107', '26+58=84']
Exploring Operation: 107-84=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[46, 61, 26, 58], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [46, 61, 32]
Generated Node #0,0: 23:[46, 61, 32] Operation: 58-26=32
Exploring Operation: 61-46=15, Resulting Numbers: [26, 58, 15]
Generated Node #0,1: 23:[26, 58, 15] Operation: 61-46=15
Exploring Operation: 61-26=35, Resulting Numbers: [46, 58, 35]
Generated Node #0,2: 23:[46, 58, 35] Operation: 61-26=35
Exploring Operation: 61-58=3, Resulting Numbers: [46, 26, 3]
Generated Node #0,3: 23:[46, 26, 3] Operation: 61-58=3
Exploring Operation: 58-46=12, Resulting Numbers: [61, 26, 12]
Generated Node #0,4: 23:[61, 26, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[26, 58, 15], Operations: ['61-46=15']
Exploring Operation: 26-15=11, Resulting Numbers: [58, 11]
Generated Node #0,1,0: 23:[58, 11] Operation: 26-15=11
Exploring Operation: 26+15=41, Resulting Numbers: [58, 41]
Generated Node #0,1,1: 23:[58, 41] Operation: 26+15=41
Exploring Operation: 58-15=43, Resulting Numbers: [26, 43]
Generated Node #0,1,2: 23:[26, 43] Operation: 58-15=43
Exploring Operation: 58+15=73, Resulting Numbers: [26, 73]
Generated Node #0,1,3: 23:[26, 73] Operation: 58+15=73
Exploring Operation: 58-26=32, Resulting Numbers: [15, 32]
Generated Node #0,1,4: 23:[15, 32] Operation: 58-26=32
Moving to Node #0,1,4
Current State: 23:[15, 32], Operations: ['61-46=15', '58-26=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,23 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[26, 43], Operations: ['61-46=15', '58-15=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,23 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[58, 11], Operations: ['61-46=15', '26-15=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,23 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[58, 41], Operations: ['61-46=15', '26+15=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,23 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[26, 73], Operations: ['61-46=15', '58+15=73']
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,23 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[46, 26, 3], Operations: ['61-58=3']
Exploring Operation: 46+3=49, Resulting Numbers: [26, 49]
Generated Node #0,3,0: 23:[26, 49] Operation: 46+3=49
Exploring Operation: 26-3=23, Resulting Numbers: [46, 23]
Generated Node #0,3,1: 23:[46, 23] Operation: 26-3=23
Exploring Operation: 46-3=43, Resulting Numbers: [26, 43]
Generated Node #0,3,2: 23:[26, 43] Operation: 46-3=43
Exploring Operation: 46-26=20, Resulting Numbers: [3, 20]
Generated Node #0,3,3: 23:[3, 20] Operation: 46-26=20
Exploring Operation: 26+3=29, Resulting Numbers: [46, 29]
Generated Node #0,3,4: 23:[46, 29] Operation: 26+3=29
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[46, 23], Operations: ['61-58=3', '26-3=23']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[46, 61, 26, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [46, 26, 3]
Generated Node #0,3: 23:[46, 26, 3] Operation: 61-58=3
Moving to Node #0,3
Current State: 23:[46, 26, 3], Operations: ['61-58=3']
Exploring Operation: 26-3=23, Resulting Numbers: [46, 23]
Generated Node #0,3,1: 23:[46, 23] Operation: 26-3=23
Moving to Node #0,3,1
Current State: 23:[46, 23], Operations: ['61-58=3', '26-3=23']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 |
hs_5
|
sum_heuristic
|
[
50,
11,
54,
21
] | 95 |
[
"54-50=4",
"21*4=84",
"11+84=95"
] |
Current State: 95:[50, 11, 54, 21], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [11, 21, 4]
Generated Node #2: [11, 21, 4] from Operation: 54-50=4
Current State: 95:[11, 21, 4], Operations: ['54-50=4']
Exploring Operation: 21*4=84, Resulting Numbers: [11, 84]
Generated Node #3: [11, 84] from Operation: 21*4=84
Current State: 95:[11, 84], Operations: ['54-50=4', '21*4=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[50, 11, 54, 21], Operations: []
Exploring Operation: 50+54=104, Resulting Numbers: [11, 21, 104]
Generated Node #0,0: 95:[11, 21, 104] Operation: 50+54=104
Exploring Operation: 54-50=4, Resulting Numbers: [11, 21, 4]
Generated Node #0,1: 95:[11, 21, 4] Operation: 54-50=4
Exploring Operation: 50-21=29, Resulting Numbers: [11, 54, 29]
Generated Node #0,2: 95:[11, 54, 29] Operation: 50-21=29
Exploring Operation: 54-21=33, Resulting Numbers: [50, 11, 33]
Generated Node #0,3: 95:[50, 11, 33] Operation: 54-21=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[11, 21, 4], Operations: ['54-50=4']
Exploring Operation: 11+4=15, Resulting Numbers: [21, 15]
Generated Node #0,1,0: 95:[21, 15] Operation: 11+4=15
Exploring Operation: 11-4=7, Resulting Numbers: [21, 7]
Generated Node #0,1,1: 95:[21, 7] Operation: 11-4=7
Exploring Operation: 21-11=10, Resulting Numbers: [4, 10]
Generated Node #0,1,2: 95:[4, 10] Operation: 21-11=10
Exploring Operation: 21-4=17, Resulting Numbers: [11, 17]
Generated Node #0,1,3: 95:[11, 17] Operation: 21-4=17
Moving to Node #0,1,1
Current State: 95:[21, 7], Operations: ['54-50=4', '11-4=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[4, 10], Operations: ['54-50=4', '21-11=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[21, 15], Operations: ['54-50=4', '11+4=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,95 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[11, 17], Operations: ['54-50=4', '21-4=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,95 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[11, 21, 104], Operations: ['50+54=104']
Exploring Operation: 104-21=83, Resulting Numbers: [11, 83]
Generated Node #0,0,0: 95:[11, 83] Operation: 104-21=83
Exploring Operation: 11+21=32, Resulting Numbers: [104, 32]
Generated Node #0,0,1: 95:[104, 32] Operation: 11+21=32
Exploring Operation: 21-11=10, Resulting Numbers: [104, 10]
Generated Node #0,0,2: 95:[104, 10] Operation: 21-11=10
Exploring Operation: 104-11=93, Resulting Numbers: [21, 93]
Generated Node #0,0,3: 95:[21, 93] Operation: 104-11=93
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[21, 93], Operations: ['50+54=104', '104-11=93']
Exploring Operation: 21*93=1953, Resulting Numbers: [1953]
1953,95 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 21+93=114, Resulting Numbers: [114]
114,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,0,2
Current State: 95:[104, 10], Operations: ['50+54=104', '21-11=10']
Exploring Operation: 104-10=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 104*10=1040, Resulting Numbers: [1040]
1040,95 unequal: No Solution
Exploring Operation: 104+10=114, Resulting Numbers: [114]
114,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,0,0
Current State: 95:[11, 83], Operations: ['50+54=104', '104-21=83']
Exploring Operation: 11+83=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 11*83=913, Resulting Numbers: [913]
913,95 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,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,0,1
Current State: 95:[104, 32], Operations: ['50+54=104', '11+21=32']
Exploring Operation: 104-32=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 104*32=3328, Resulting Numbers: [3328]
3328,95 unequal: No Solution
Exploring Operation: 104+32=136, Resulting Numbers: [136]
136,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,2
Current State: 95:[11, 54, 29], Operations: ['50-21=29']
Exploring Operation: 29-11=18, Resulting Numbers: [54, 18]
Generated Node #0,2,0: 95:[54, 18] Operation: 29-11=18
Exploring Operation: 54+29=83, Resulting Numbers: [11, 83]
Generated Node #0,2,1: 95:[11, 83] Operation: 54+29=83
Exploring Operation: 54-29=25, Resulting Numbers: [11, 25]
Generated Node #0,2,2: 95:[11, 25] Operation: 54-29=25
Exploring Operation: 54-11=43, Resulting Numbers: [29, 43]
Generated Node #0,2,3: 95:[29, 43] Operation: 54-11=43
Moving to Node #0,2,2
Current State: 95:[11, 25], Operations: ['50-21=29', '54-29=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,95 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[11, 83], Operations: ['50-21=29', '54+29=83']
Exploring Operation: 11*83=913, Resulting Numbers: [913]
913,95 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 11+83=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[29, 43], Operations: ['50-21=29', '54-11=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,95 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[54, 18], Operations: ['50-21=29', '29-11=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,95 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[50, 11, 33], Operations: ['54-21=33']
Exploring Operation: 33/11=3, Resulting Numbers: [50, 3]
Generated Node #0,3,0: 95:[50, 3] Operation: 33/11=3
Exploring Operation: 50+33=83, Resulting Numbers: [11, 83]
Generated Node #0,3,1: 95:[11, 83] Operation: 50+33=83
Exploring Operation: 50-33=17, Resulting Numbers: [11, 17]
Generated Node #0,3,2: 95:[11, 17] Operation: 50-33=17
Exploring Operation: 50-11=39, Resulting Numbers: [33, 39]
Generated Node #0,3,3: 95:[33, 39] Operation: 50-11=39
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[11, 17], Operations: ['54-21=33', '50-33=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,95 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,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:[11, 83], Operations: ['54-21=33', '50+33=83']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 11*83=913, Resulting Numbers: [913]
913,95 unequal: No Solution
Exploring Operation: 11+83=94, Resulting Numbers: [94]
94,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:[50, 3], Operations: ['54-21=33', '33/11=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,95 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,95 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[33, 39], Operations: ['54-21=33', '50-11=39']
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,95 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,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_4
|
sum_heuristic
|
[
90,
8,
41,
28
] | 85 |
[
"90+8=98",
"41-28=13",
"98-13=85"
] |
Current State: 85:[90, 8, 41, 28], Operations: []
Exploring Operation: 90+8=98, Resulting Numbers: [41, 28, 98]
Generated Node #2: [41, 28, 98] from Operation: 90+8=98
Current State: 85:[41, 28, 98], Operations: ['90+8=98']
Exploring Operation: 41-28=13, Resulting Numbers: [98, 13]
Generated Node #3: [98, 13] from Operation: 41-28=13
Current State: 85:[98, 13], Operations: ['90+8=98', '41-28=13']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[90, 8, 41, 28], Operations: []
Exploring Operation: 41+28=69, Resulting Numbers: [90, 8, 69]
Generated Node #0,0: 85:[90, 8, 69] Operation: 41+28=69
Exploring Operation: 41-28=13, Resulting Numbers: [90, 8, 13]
Generated Node #0,1: 85:[90, 8, 13] Operation: 41-28=13
Exploring Operation: 41-8=33, Resulting Numbers: [90, 28, 33]
Generated Node #0,2: 85:[90, 28, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[90, 8, 13], Operations: ['41-28=13']
Exploring Operation: 8+13=21, Resulting Numbers: [90, 21]
Generated Node #0,1,0: 85:[90, 21] Operation: 8+13=21
Exploring Operation: 13-8=5, Resulting Numbers: [90, 5]
Generated Node #0,1,1: 85:[90, 5] Operation: 13-8=5
Exploring Operation: 90-8=82, Resulting Numbers: [13, 82]
Generated Node #0,1,2: 85:[13, 82] Operation: 90-8=82
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[90, 5], Operations: ['41-28=13', '13-8=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[90, 8, 41, 28], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [90, 8, 13]
Generated Node #0,1: 85:[90, 8, 13] Operation: 41-28=13
Moving to Node #0,1
Current State: 85:[90, 8, 13], Operations: ['41-28=13']
Exploring Operation: 13-8=5, Resulting Numbers: [90, 5]
Generated Node #0,1,1: 85:[90, 5] Operation: 13-8=5
Moving to Node #0,1,1
Current State: 85:[90, 5], Operations: ['41-28=13', '13-8=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
6,
24,
12,
22
] | 25 |
[
"24/6=4",
"12/4=3",
"22+3=25"
] |
Current State: 25:[6, 24, 12, 22], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [12, 22, 4]
Generated Node #2: [12, 22, 4] from Operation: 24/6=4
Current State: 25:[12, 22, 4], Operations: ['24/6=4']
Exploring Operation: 12/4=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 12/4=3
Current State: 25:[22, 3], Operations: ['24/6=4', '12/4=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[6, 24, 12, 22], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [24, 22, 2]
Generated Node #0,0: 25:[24, 22, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [24, 22, 6]
Generated Node #0,1: 25:[24, 22, 6] Operation: 12-6=6
Moving to Node #0,1
Current State: 25:[24, 22, 6], Operations: ['12-6=6']
Exploring Operation: 24/6=4, Resulting Numbers: [22, 4]
Generated Node #0,1,0: 25:[22, 4] Operation: 24/6=4
Exploring Operation: 24-22=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 25:[6, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[22, 4], Operations: ['12-6=6', '24/6=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[6, 2], Operations: ['12-6=6', '24-22=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[24, 22, 2], Operations: ['12/6=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24, 24]
Generated Node #0,0,0: 25:[24, 24] Operation: 22+2=24
Exploring Operation: 24+2=26, Resulting Numbers: [22, 26]
Generated Node #0,0,1: 25:[22, 26] Operation: 24+2=26
Moving to Node #0,0,0
Current State: 25:[24, 24], Operations: ['12/6=2', '22+2=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[22, 26], Operations: ['12/6=2', '24+2=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
47,
47,
74,
26
] | 48 |
[
"47-47=0",
"74-26=48",
"0+48=48"
] |
Current State: 48:[47, 47, 74, 26], Operations: []
Exploring Operation: 47-47=0, Resulting Numbers: [74, 26, 0]
Generated Node #2: [74, 26, 0] from Operation: 47-47=0
Current State: 48:[74, 26, 0], Operations: ['47-47=0']
Exploring Operation: 74-26=48, Resulting Numbers: [0, 48]
Generated Node #3: [0, 48] from Operation: 74-26=48
Current State: 48:[0, 48], Operations: ['47-47=0', '74-26=48']
Exploring Operation: 0+48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[47, 47, 74, 26], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [47, 47, 48]
Generated Node #0,0: 48:[47, 47, 48] Operation: 74-26=48
Exploring Operation: 74-47=27, Resulting Numbers: [47, 26, 27]
Generated Node #0,1: 48:[47, 26, 27] Operation: 74-47=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[47, 47, 48], Operations: ['74-26=48']
Exploring Operation: 47-47=0, Resulting Numbers: [48, 0]
Generated Node #0,0,0: 48:[48, 0] Operation: 47-47=0
Exploring Operation: 47/47=1, Resulting Numbers: [48, 1]
Generated Node #0,0,1: 48:[48, 1] Operation: 47/47=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[48, 1], Operations: ['74-26=48', '47/47=1']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[47, 47, 74, 26], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [47, 47, 48]
Generated Node #0,0: 48:[47, 47, 48] Operation: 74-26=48
Moving to Node #0,0
Current State: 48:[47, 47, 48], Operations: ['74-26=48']
Exploring Operation: 47/47=1, Resulting Numbers: [48, 1]
Generated Node #0,0,1: 48:[48, 1] Operation: 47/47=1
Moving to Node #0,0,1
Current State: 48:[48, 1], Operations: ['74-26=48', '47/47=1']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
17,
39,
15,
93
] | 56 |
[
"39-17=22",
"93-15=78",
"78-22=56"
] |
Current State: 56:[17, 39, 15, 93], Operations: []
Exploring Operation: 39-17=22, Resulting Numbers: [15, 93, 22]
Generated Node #2: [15, 93, 22] from Operation: 39-17=22
Current State: 56:[15, 93, 22], Operations: ['39-17=22']
Exploring Operation: 93-15=78, Resulting Numbers: [22, 78]
Generated Node #3: [22, 78] from Operation: 93-15=78
Current State: 56:[22, 78], Operations: ['39-17=22', '93-15=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[17, 39, 15, 93], Operations: []
Exploring Operation: 93-15=78, Resulting Numbers: [17, 39, 78]
Generated Node #0,0: 56:[17, 39, 78] Operation: 93-15=78
Exploring Operation: 93-39=54, Resulting Numbers: [17, 15, 54]
Generated Node #0,1: 56:[17, 15, 54] Operation: 93-39=54
Exploring Operation: 93-17=76, Resulting Numbers: [39, 15, 76]
Generated Node #0,2: 56:[39, 15, 76] Operation: 93-17=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[17, 15, 54], Operations: ['93-39=54']
Exploring Operation: 54-17=37, Resulting Numbers: [15, 37]
Generated Node #0,1,0: 56:[15, 37] Operation: 54-17=37
Exploring Operation: 17-15=2, Resulting Numbers: [54, 2]
Generated Node #0,1,1: 56:[54, 2] Operation: 17-15=2
Exploring Operation: 17+15=32, Resulting Numbers: [54, 32]
Generated Node #0,1,2: 56:[54, 32] Operation: 17+15=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[54, 2], Operations: ['93-39=54', '17-15=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[17, 39, 15, 93], Operations: []
Exploring Operation: 93-39=54, Resulting Numbers: [17, 15, 54]
Generated Node #0,1: 56:[17, 15, 54] Operation: 93-39=54
Moving to Node #0,1
Current State: 56:[17, 15, 54], Operations: ['93-39=54']
Exploring Operation: 17-15=2, Resulting Numbers: [54, 2]
Generated Node #0,1,1: 56:[54, 2] Operation: 17-15=2
Moving to Node #0,1,1
Current State: 56:[54, 2], Operations: ['93-39=54', '17-15=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
69,
13,
89,
73
] | 66 |
[
"69+13=82",
"89-73=16",
"82-16=66"
] |
Current State: 66:[69, 13, 89, 73], Operations: []
Exploring Operation: 69+13=82, Resulting Numbers: [89, 73, 82]
Generated Node #2: [89, 73, 82] from Operation: 69+13=82
Current State: 66:[89, 73, 82], Operations: ['69+13=82']
Exploring Operation: 89-73=16, Resulting Numbers: [82, 16]
Generated Node #3: [82, 16] from Operation: 89-73=16
Current State: 66:[82, 16], Operations: ['69+13=82', '89-73=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[69, 13, 89, 73], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [13, 89, 4]
Generated Node #0,0: 66:[13, 89, 4] Operation: 73-69=4
Exploring Operation: 73-13=60, Resulting Numbers: [69, 89, 60]
Generated Node #0,1: 66:[69, 89, 60] Operation: 73-13=60
Exploring Operation: 89-69=20, Resulting Numbers: [13, 73, 20]
Generated Node #0,2: 66:[13, 73, 20] Operation: 89-69=20
Exploring Operation: 89-13=76, Resulting Numbers: [69, 73, 76]
Generated Node #0,3: 66:[69, 73, 76] Operation: 89-13=76
Exploring Operation: 89-73=16, Resulting Numbers: [69, 13, 16]
Generated Node #0,4: 66:[69, 13, 16] Operation: 89-73=16
Moving to Node #0,4
Current State: 66:[69, 13, 16], Operations: ['89-73=16']
Exploring Operation: 69+13=82, Resulting Numbers: [16, 82]
Generated Node #0,4,0: 66:[16, 82] Operation: 69+13=82
Exploring Operation: 69-16=53, Resulting Numbers: [13, 53]
Generated Node #0,4,1: 66:[13, 53] Operation: 69-16=53
Exploring Operation: 13+16=29, Resulting Numbers: [69, 29]
Generated Node #0,4,2: 66:[69, 29] Operation: 13+16=29
Exploring Operation: 16-13=3, Resulting Numbers: [69, 3]
Generated Node #0,4,3: 66:[69, 3] Operation: 16-13=3
Exploring Operation: 69-13=56, Resulting Numbers: [16, 56]
Generated Node #0,4,4: 66:[16, 56] Operation: 69-13=56
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[69, 3], Operations: ['89-73=16', '16-13=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[69, 13, 89, 73], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [69, 13, 16]
Generated Node #0,4: 66:[69, 13, 16] Operation: 89-73=16
Moving to Node #0,4
Current State: 66:[69, 13, 16], Operations: ['89-73=16']
Exploring Operation: 16-13=3, Resulting Numbers: [69, 3]
Generated Node #0,4,3: 66:[69, 3] Operation: 16-13=3
Moving to Node #0,4,3
Current State: 66:[69, 3], Operations: ['89-73=16', '16-13=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
11,
92,
6,
42
] | 23 |
[
"42/6=7",
"11-7=4",
"92/4=23"
] |
Current State: 23:[11, 92, 6, 42], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [11, 92, 7]
Generated Node #2: [11, 92, 7] from Operation: 42/6=7
Current State: 23:[11, 92, 7], Operations: ['42/6=7']
Exploring Operation: 11-7=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 11-7=4
Current State: 23:[92, 4], Operations: ['42/6=7', '11-7=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[11, 92, 6, 42], Operations: []
Exploring Operation: 92-42=50, Resulting Numbers: [11, 6, 50]
Generated Node #0,0: 23:[11, 6, 50] Operation: 92-42=50
Exploring Operation: 92-11=81, Resulting Numbers: [6, 42, 81]
Generated Node #0,1: 23:[6, 42, 81] Operation: 92-11=81
Exploring Operation: 11+6=17, Resulting Numbers: [92, 42, 17]
Generated Node #0,2: 23:[92, 42, 17] Operation: 11+6=17
Exploring Operation: 42-11=31, Resulting Numbers: [92, 6, 31]
Generated Node #0,3: 23:[92, 6, 31] Operation: 42-11=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[11, 6, 50], Operations: ['92-42=50']
Exploring Operation: 11-6=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 23:[50, 5] Operation: 11-6=5
Exploring Operation: 50-11=39, Resulting Numbers: [6, 39]
Generated Node #0,0,1: 23:[6, 39] Operation: 50-11=39
Exploring Operation: 11+6=17, Resulting Numbers: [50, 17]
Generated Node #0,0,2: 23:[50, 17] Operation: 11+6=17
Exploring Operation: 50-6=44, Resulting Numbers: [11, 44]
Generated Node #0,0,3: 23:[11, 44] Operation: 50-6=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[6, 39], Operations: ['92-42=50', '50-11=39']
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,23 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[50, 17], Operations: ['92-42=50', '11+6=17']
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,23 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[11, 44], Operations: ['92-42=50', '50-6=44']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,23 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[50, 5], Operations: ['92-42=50', '11-6=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,23 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[6, 42, 81], Operations: ['92-11=81']
Exploring Operation: 81-42=39, Resulting Numbers: [6, 39]
Generated Node #0,1,0: 23:[6, 39] Operation: 81-42=39
Exploring Operation: 42/6=7, Resulting Numbers: [81, 7]
Generated Node #0,1,1: 23:[81, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [81, 36]
Generated Node #0,1,2: 23:[81, 36] Operation: 42-6=36
Exploring Operation: 81-6=75, Resulting Numbers: [42, 75]
Generated Node #0,1,3: 23:[42, 75] Operation: 81-6=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[6, 39], Operations: ['92-11=81', '81-42=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,23 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[81, 36], Operations: ['92-11=81', '42-6=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,23 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 23:[42, 75], Operations: ['92-11=81', '81-6=75']
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,23 unequal: No Solution
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[81, 7], Operations: ['92-11=81', '42/6=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,23 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[92, 42, 17], Operations: ['11+6=17']
Exploring Operation: 42-17=25, Resulting Numbers: [92, 25]
Generated Node #0,2,0: 23:[92, 25] Operation: 42-17=25
Exploring Operation: 92-42=50, Resulting Numbers: [17, 50]
Generated Node #0,2,1: 23:[17, 50] Operation: 92-42=50
Exploring Operation: 92+17=109, Resulting Numbers: [42, 109]
Generated Node #0,2,2: 23:[42, 109] Operation: 92+17=109
Exploring Operation: 92-17=75, Resulting Numbers: [42, 75]
Generated Node #0,2,3: 23:[42, 75] Operation: 92-17=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[17, 50], Operations: ['11+6=17', '92-42=50']
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,23 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[92, 25], Operations: ['11+6=17', '42-17=25']
Exploring Operation: 92*25=2300, Resulting Numbers: [2300]
2300,23 unequal: No Solution
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 92+25=117, Resulting Numbers: [117]
117,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[42, 75], Operations: ['11+6=17', '92-17=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,23 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[42, 109], Operations: ['11+6=17', '92+17=109']
Exploring Operation: 109-42=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 42*109=4578, Resulting Numbers: [4578]
4578,23 unequal: No Solution
Exploring Operation: 42+109=151, Resulting Numbers: [151]
151,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[92, 6, 31], Operations: ['42-11=31']
Exploring Operation: 92-31=61, Resulting Numbers: [6, 61]
Generated Node #0,3,0: 23:[6, 61] Operation: 92-31=61
Exploring Operation: 92+6=98, Resulting Numbers: [31, 98]
Generated Node #0,3,1: 23:[31, 98] Operation: 92+6=98
Exploring Operation: 31-6=25, Resulting Numbers: [92, 25]
Generated Node #0,3,2: 23:[92, 25] Operation: 31-6=25
Exploring Operation: 92-6=86, Resulting Numbers: [31, 86]
Generated Node #0,3,3: 23:[31, 86] Operation: 92-6=86
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[6, 61], Operations: ['42-11=31', '92-31=61']
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,23 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[92, 25], Operations: ['42-11=31', '31-6=25']
Exploring Operation: 92*25=2300, Resulting Numbers: [2300]
2300,23 unequal: No Solution
Exploring Operation: 92+25=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[31, 86], Operations: ['42-11=31', '92-6=86']
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,23 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[31, 98], Operations: ['42-11=31', '92+6=98']
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
16,
80,
70,
78
] | 92 |
[
"80/16=5",
"70/5=14",
"78+14=92"
] |
Current State: 92:[16, 80, 70, 78], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [70, 78, 5]
Generated Node #2: [70, 78, 5] from Operation: 80/16=5
Current State: 92:[70, 78, 5], Operations: ['80/16=5']
Exploring Operation: 70/5=14, Resulting Numbers: [78, 14]
Generated Node #3: [78, 14] from Operation: 70/5=14
Current State: 92:[78, 14], Operations: ['80/16=5', '70/5=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[16, 80, 70, 78], Operations: []
Exploring Operation: 16+70=86, Resulting Numbers: [80, 78, 86]
Generated Node #0,0: 92:[80, 78, 86] Operation: 16+70=86
Exploring Operation: 78-70=8, Resulting Numbers: [16, 80, 8]
Generated Node #0,1: 92:[16, 80, 8] Operation: 78-70=8
Exploring Operation: 80-70=10, Resulting Numbers: [16, 78, 10]
Generated Node #0,2: 92:[16, 78, 10] Operation: 80-70=10
Exploring Operation: 80-78=2, Resulting Numbers: [16, 70, 2]
Generated Node #0,3: 92:[16, 70, 2] Operation: 80-78=2
Exploring Operation: 70-16=54, Resulting Numbers: [80, 78, 54]
Generated Node #0,4: 92:[80, 78, 54] Operation: 70-16=54
Moving to Node #0,1
Current State: 92:[16, 80, 8], Operations: ['78-70=8']
Exploring Operation: 16+80=96, Resulting Numbers: [8, 96]
Generated Node #0,1,0: 92:[8, 96] Operation: 16+80=96
Exploring Operation: 16+8=24, Resulting Numbers: [80, 24]
Generated Node #0,1,1: 92:[80, 24] Operation: 16+8=24
Exploring Operation: 80+8=88, Resulting Numbers: [16, 88]
Generated Node #0,1,2: 92:[16, 88] Operation: 80+8=88
Exploring Operation: 80/16=5, Resulting Numbers: [8, 5]
Generated Node #0,1,3: 92:[8, 5] Operation: 80/16=5
Exploring Operation: 16/8=2, Resulting Numbers: [80, 2]
Generated Node #0,1,4: 92:[80, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[8, 5], Operations: ['78-70=8', '80/16=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[8, 96], Operations: ['78-70=8', '16+80=96']
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[16, 88], Operations: ['78-70=8', '80+8=88']
Exploring Operation: 16+88=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 16*88=1408, Resulting Numbers: [1408]
1408,92 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 92:[80, 2], Operations: ['78-70=8', '16/8=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,92 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[80, 24], Operations: ['78-70=8', '16+8=24']
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,92 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: 92:[16, 78, 10], Operations: ['80-70=10']
Exploring Operation: 16+78=94, Resulting Numbers: [10, 94]
Generated Node #0,2,0: 92:[10, 94] Operation: 16+78=94
Exploring Operation: 78-16=62, Resulting Numbers: [10, 62]
Generated Node #0,2,1: 92:[10, 62] Operation: 78-16=62
Exploring Operation: 78+10=88, Resulting Numbers: [16, 88]
Generated Node #0,2,2: 92:[16, 88] Operation: 78+10=88
Exploring Operation: 16+10=26, Resulting Numbers: [78, 26]
Generated Node #0,2,3: 92:[78, 26] Operation: 16+10=26
Exploring Operation: 16-10=6, Resulting Numbers: [78, 6]
Generated Node #0,2,4: 92:[78, 6] Operation: 16-10=6
Moving to Node #0,3
Current State: 92:[16, 70, 2], Operations: ['80-78=2']
Exploring Operation: 16+2=18, Resulting Numbers: [70, 18]
Generated Node #0,3,0: 92:[70, 18] Operation: 16+2=18
Exploring Operation: 70/2=35, Resulting Numbers: [16, 35]
Generated Node #0,3,1: 92:[16, 35] Operation: 70/2=35
Exploring Operation: 16+70=86, Resulting Numbers: [2, 86]
Generated Node #0,3,2: 92:[2, 86] Operation: 16+70=86
Exploring Operation: 70-16=54, Resulting Numbers: [2, 54]
Generated Node #0,3,3: 92:[2, 54] Operation: 70-16=54
Exploring Operation: 16/2=8, Resulting Numbers: [70, 8]
Generated Node #0,3,4: 92:[70, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[2, 86], Operations: ['80-78=2', '16+70=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[2, 54], Operations: ['80-78=2', '70-16=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[16, 35], Operations: ['80-78=2', '70/2=35']
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,92 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[70, 8], Operations: ['80-78=2', '16/2=8']
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,92 unequal: No Solution
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,92 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[70, 18], Operations: ['80-78=2', '16+2=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,92 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,92 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: 92:[80, 78, 86], Operations: ['16+70=86']
Exploring Operation: 86-78=8, Resulting Numbers: [80, 8]
Generated Node #0,0,0: 92:[80, 8] Operation: 86-78=8
Exploring Operation: 80+78=158, Resulting Numbers: [86, 158]
Generated Node #0,0,1: 92:[86, 158] Operation: 80+78=158
Exploring Operation: 80-78=2, Resulting Numbers: [86, 2]
Generated Node #0,0,2: 92:[86, 2] Operation: 80-78=2
Exploring Operation: 86-80=6, Resulting Numbers: [78, 6]
Generated Node #0,0,3: 92:[78, 6] Operation: 86-80=6
Exploring Operation: 78+86=164, Resulting Numbers: [80, 164]
Generated Node #0,0,4: 92:[80, 164] Operation: 78+86=164
Moving to Node #0,4
Current State: 92:[80, 78, 54], Operations: ['70-16=54']
Exploring Operation: 78+54=132, Resulting Numbers: [80, 132]
Generated Node #0,4,0: 92:[80, 132] Operation: 78+54=132
Exploring Operation: 80+54=134, Resulting Numbers: [78, 134]
Generated Node #0,4,1: 92:[78, 134] Operation: 80+54=134
Exploring Operation: 80-54=26, Resulting Numbers: [78, 26]
Generated Node #0,4,2: 92:[78, 26] Operation: 80-54=26
Exploring Operation: 80-78=2, Resulting Numbers: [54, 2]
Generated Node #0,4,3: 92:[54, 2] Operation: 80-78=2
Exploring Operation: 78-54=24, Resulting Numbers: [80, 24]
Generated Node #0,4,4: 92:[80, 24] Operation: 78-54=24
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 92:[54, 2], Operations: ['70-16=54', '80-78=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 92:[80, 24], Operations: ['70-16=54', '78-54=24']
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,92 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 92:[78, 26], Operations: ['70-16=54', '80-54=26']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 92:[80, 132], Operations: ['70-16=54', '78+54=132']
Exploring Operation: 80+132=212, Resulting Numbers: [212]
212,92 unequal: No Solution
Exploring Operation: 132-80=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 80*132=10560, Resulting Numbers: [10560]
10560,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 92:[78, 134], Operations: ['70-16=54', '80+54=134']
Exploring Operation: 134-78=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 78*134=10452, Resulting Numbers: [10452]
10452,92 unequal: No Solution
Exploring Operation: 78+134=212, Resulting Numbers: [212]
212,92 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: 92:[86, 2], Operations: ['16+70=86', '80-78=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[10, 94], Operations: ['80-70=10', '16+78=94']
Exploring Operation: 10+94=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 10*94=940, Resulting Numbers: [940]
940,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[16, 88], Operations: ['80-70=10', '78+10=88']
Exploring Operation: 16*88=1408, Resulting Numbers: [1408]
1408,92 unequal: No Solution
Exploring Operation: 16+88=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[80, 8], Operations: ['16+70=86', '86-78=8']
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,92 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[78, 6], Operations: ['80-70=10', '16-10=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[78, 6], Operations: ['16+70=86', '86-80=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[78, 26], Operations: ['80-70=10', '16+10=26']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,92 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[10, 62], Operations: ['80-70=10', '78-16=62']
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,92 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[86, 158], Operations: ['16+70=86', '80+78=158']
Exploring Operation: 158-86=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 86+158=244, Resulting Numbers: [244]
244,92 unequal: No Solution
Exploring Operation: 86*158=13588, Resulting Numbers: [13588]
13588,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[80, 164], Operations: ['16+70=86', '78+86=164']
Exploring Operation: 164-80=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 80*164=13120, Resulting Numbers: [13120]
13120,92 unequal: No Solution
Exploring Operation: 80+164=244, Resulting Numbers: [244]
244,92 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
98,
85,
97,
80
] | 30 |
[
"98-85=13",
"97-80=17",
"13+17=30"
] |
Current State: 30:[98, 85, 97, 80], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [97, 80, 13]
Generated Node #2: [97, 80, 13] from Operation: 98-85=13
Current State: 30:[97, 80, 13], Operations: ['98-85=13']
Exploring Operation: 97-80=17, Resulting Numbers: [13, 17]
Generated Node #3: [13, 17] from Operation: 97-80=17
Current State: 30:[13, 17], Operations: ['98-85=13', '97-80=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[98, 85, 97, 80], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [85, 97, 18]
Generated Node #0,0: 30:[85, 97, 18] Operation: 98-80=18
Exploring Operation: 97-85=12, Resulting Numbers: [98, 80, 12]
Generated Node #0,1: 30:[98, 80, 12] Operation: 97-85=12
Exploring Operation: 98-97=1, Resulting Numbers: [85, 80, 1]
Generated Node #0,2: 30:[85, 80, 1] Operation: 98-97=1
Exploring Operation: 97-80=17, Resulting Numbers: [98, 85, 17]
Generated Node #0,3: 30:[98, 85, 17] Operation: 97-80=17
Exploring Operation: 98-85=13, Resulting Numbers: [97, 80, 13]
Generated Node #0,4: 30:[97, 80, 13] Operation: 98-85=13
Moving to Node #0,2
Current State: 30:[85, 80, 1], Operations: ['98-97=1']
Exploring Operation: 85-1=84, Resulting Numbers: [80, 84]
Generated Node #0,2,0: 30:[80, 84] Operation: 85-1=84
Exploring Operation: 85*1=85, Resulting Numbers: [80, 85]
Generated Node #0,2,1: 30:[80, 85] Operation: 85*1=85
Exploring Operation: 85/1=85, Resulting Numbers: [80, 85]
Generated Node #0,2,2: 30:[80, 85] Operation: 85/1=85
Exploring Operation: 85-80=5, Resulting Numbers: [1, 5]
Generated Node #0,2,3: 30:[1, 5] Operation: 85-80=5
Exploring Operation: 80-1=79, Resulting Numbers: [85, 79]
Generated Node #0,2,4: 30:[85, 79] Operation: 80-1=79
Moving to Node #0,4
Current State: 30:[97, 80, 13], Operations: ['98-85=13']
Exploring Operation: 97-80=17, Resulting Numbers: [13, 17]
Generated Node #0,4,0: 30:[13, 17] Operation: 97-80=17
Exploring Operation: 97-13=84, Resulting Numbers: [80, 84]
Generated Node #0,4,1: 30:[80, 84] Operation: 97-13=84
Exploring Operation: 97+13=110, Resulting Numbers: [80, 110]
Generated Node #0,4,2: 30:[80, 110] Operation: 97+13=110
Exploring Operation: 80-13=67, Resulting Numbers: [97, 67]
Generated Node #0,4,3: 30:[97, 67] Operation: 80-13=67
Exploring Operation: 80+13=93, Resulting Numbers: [97, 93]
Generated Node #0,4,4: 30:[97, 93] Operation: 80+13=93
Moving to Node #0,1
Current State: 30:[98, 80, 12], Operations: ['97-85=12']
Exploring Operation: 80+12=92, Resulting Numbers: [98, 92]
Generated Node #0,1,0: 30:[98, 92] Operation: 80+12=92
Exploring Operation: 98-80=18, Resulting Numbers: [12, 18]
Generated Node #0,1,1: 30:[12, 18] Operation: 98-80=18
Exploring Operation: 98-12=86, Resulting Numbers: [80, 86]
Generated Node #0,1,2: 30:[80, 86] Operation: 98-12=86
Exploring Operation: 98+12=110, Resulting Numbers: [80, 110]
Generated Node #0,1,3: 30:[80, 110] Operation: 98+12=110
Exploring Operation: 80-12=68, Resulting Numbers: [98, 68]
Generated Node #0,1,4: 30:[98, 68] Operation: 80-12=68
Moving to Node #0,0
Current State: 30:[85, 97, 18], Operations: ['98-80=18']
Exploring Operation: 85+18=103, Resulting Numbers: [97, 103]
Generated Node #0,0,0: 30:[97, 103] Operation: 85+18=103
Exploring Operation: 97-85=12, Resulting Numbers: [18, 12]
Generated Node #0,0,1: 30:[18, 12] Operation: 97-85=12
Exploring Operation: 97+18=115, Resulting Numbers: [85, 115]
Generated Node #0,0,2: 30:[85, 115] Operation: 97+18=115
Exploring Operation: 85-18=67, Resulting Numbers: [97, 67]
Generated Node #0,0,3: 30:[97, 67] Operation: 85-18=67
Exploring Operation: 97-18=79, Resulting Numbers: [85, 79]
Generated Node #0,0,4: 30:[85, 79] Operation: 97-18=79
Moving to Node #0,3
Current State: 30:[98, 85, 17], Operations: ['97-80=17']
Exploring Operation: 85/17=5, Resulting Numbers: [98, 5]
Generated Node #0,3,0: 30:[98, 5] Operation: 85/17=5
Exploring Operation: 98-17=81, Resulting Numbers: [85, 81]
Generated Node #0,3,1: 30:[85, 81] Operation: 98-17=81
Exploring Operation: 98-85=13, Resulting Numbers: [17, 13]
Generated Node #0,3,2: 30:[17, 13] Operation: 98-85=13
Exploring Operation: 98+17=115, Resulting Numbers: [85, 115]
Generated Node #0,3,3: 30:[85, 115] Operation: 98+17=115
Exploring Operation: 85-17=68, Resulting Numbers: [98, 68]
Generated Node #0,3,4: 30:[98, 68] Operation: 85-17=68
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[17, 13], Operations: ['97-80=17', '98-85=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,30 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[98, 85, 97, 80], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [98, 85, 17]
Generated Node #0,3: 30:[98, 85, 17] Operation: 97-80=17
Moving to Node #0,3
Current State: 30:[98, 85, 17], Operations: ['97-80=17']
Exploring Operation: 98-85=13, Resulting Numbers: [17, 13]
Generated Node #0,3,2: 30:[17, 13] Operation: 98-85=13
Moving to Node #0,3,2
Current State: 30:[17, 13], Operations: ['97-80=17', '98-85=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 |
hs_5
|
mult_heuristic
|
[
70,
72,
22,
45
] | 46 |
[
"72-70=2",
"45-22=23",
"2*23=46"
] |
Current State: 46:[70, 72, 22, 45], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [22, 45, 2]
Generated Node #2: [22, 45, 2] from Operation: 72-70=2
Current State: 46:[22, 45, 2], Operations: ['72-70=2']
Exploring Operation: 45-22=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 45-22=23
Current State: 46:[2, 23], Operations: ['72-70=2', '45-22=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[70, 72, 22, 45], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [72, 45, 48]
Generated Node #0,0: 46:[72, 45, 48] Operation: 70-22=48
Exploring Operation: 72-70=2, Resulting Numbers: [22, 45, 2]
Generated Node #0,1: 46:[22, 45, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 46:[22, 45, 2], Operations: ['72-70=2']
Exploring Operation: 22+2=24, Resulting Numbers: [45, 24]
Generated Node #0,1,0: 46:[45, 24] Operation: 22+2=24
Exploring Operation: 45-22=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 46:[2, 23] Operation: 45-22=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[2, 23], Operations: ['72-70=2', '45-22=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[70, 72, 22, 45], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [22, 45, 2]
Generated Node #0,1: 46:[22, 45, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 46:[22, 45, 2], Operations: ['72-70=2']
Exploring Operation: 45-22=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 46:[2, 23] Operation: 45-22=23
Moving to Node #0,1,1
Current State: 46:[2, 23], Operations: ['72-70=2', '45-22=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
75,
16,
1,
37
] | 53 |
[
"75+16=91",
"1+37=38",
"91-38=53"
] |
Current State: 53:[75, 16, 1, 37], Operations: []
Exploring Operation: 75+16=91, Resulting Numbers: [1, 37, 91]
Generated Node #2: [1, 37, 91] from Operation: 75+16=91
Current State: 53:[1, 37, 91], Operations: ['75+16=91']
Exploring Operation: 1+37=38, Resulting Numbers: [91, 38]
Generated Node #3: [91, 38] from Operation: 1+37=38
Current State: 53:[91, 38], Operations: ['75+16=91', '1+37=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[75, 16, 1, 37], Operations: []
Exploring Operation: 75-16=59, Resulting Numbers: [1, 37, 59]
Generated Node #0,0: 53:[1, 37, 59] Operation: 75-16=59
Moving to Node #0,0
Current State: 53:[1, 37, 59], Operations: ['75-16=59']
Exploring Operation: 1+37=38, Resulting Numbers: [59, 38]
Generated Node #0,0,0: 53:[59, 38] Operation: 1+37=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[59, 38], Operations: ['75-16=59', '1+37=38']
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,53 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
|
[
1,
17,
5,
27
] | 63 |
[
"1+17=18",
"5*18=90",
"90-27=63"
] |
Current State: 63:[1, 17, 5, 27], Operations: []
Exploring Operation: 1+17=18, Resulting Numbers: [5, 27, 18]
Generated Node #2: [5, 27, 18] from Operation: 1+17=18
Current State: 63:[5, 27, 18], Operations: ['1+17=18']
Exploring Operation: 5*18=90, Resulting Numbers: [27, 90]
Generated Node #3: [27, 90] from Operation: 5*18=90
Current State: 63:[27, 90], Operations: ['1+17=18', '5*18=90']
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[1, 17, 5, 27], Operations: []
Exploring Operation: 27-5=22, Resulting Numbers: [1, 17, 22]
Generated Node #0,0: 63:[1, 17, 22] Operation: 27-5=22
Exploring Operation: 27-17=10, Resulting Numbers: [1, 5, 10]
Generated Node #0,1: 63:[1, 5, 10] Operation: 27-17=10
Exploring Operation: 17+5=22, Resulting Numbers: [1, 27, 22]
Generated Node #0,2: 63:[1, 27, 22] Operation: 17+5=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[1, 5, 10], Operations: ['27-17=10']
Exploring Operation: 10-1=9, Resulting Numbers: [5, 9]
Generated Node #0,1,0: 63:[5, 9] Operation: 10-1=9
Exploring Operation: 5-1=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 63:[10, 4] Operation: 5-1=4
Exploring Operation: 1+5=6, Resulting Numbers: [10, 6]
Generated Node #0,1,2: 63:[10, 6] Operation: 1+5=6
Moving to Node #0,1,0
Current State: 63:[5, 9], Operations: ['27-17=10', '10-1=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[10, 4], Operations: ['27-17=10', '5-1=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[10, 6], Operations: ['27-17=10', '1+5=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,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
Current State: 63:[1, 17, 22], Operations: ['27-5=22']
Exploring Operation: 22-17=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 63:[1, 5] Operation: 22-17=5
Exploring Operation: 1+17=18, Resulting Numbers: [22, 18]
Generated Node #0,0,1: 63:[22, 18] Operation: 1+17=18
Exploring Operation: 22-1=21, Resulting Numbers: [17, 21]
Generated Node #0,0,2: 63:[17, 21] Operation: 22-1=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[1, 5], Operations: ['27-5=22', '22-17=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[22, 18], Operations: ['27-5=22', '1+17=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,63 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[17, 21], Operations: ['27-5=22', '22-1=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,63 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[1, 27, 22], Operations: ['17+5=22']
Exploring Operation: 27-22=5, Resulting Numbers: [1, 5]
Generated Node #0,2,0: 63:[1, 5] Operation: 27-22=5
Exploring Operation: 22-1=21, Resulting Numbers: [27, 21]
Generated Node #0,2,1: 63:[27, 21] Operation: 22-1=21
Exploring Operation: 27-1=26, Resulting Numbers: [22, 26]
Generated Node #0,2,2: 63:[22, 26] Operation: 27-1=26
Moving to Node #0,2,0
Current State: 63:[1, 5], Operations: ['17+5=22', '27-22=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[27, 21], Operations: ['17+5=22', '22-1=21']
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,63 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[22, 26], Operations: ['17+5=22', '27-1=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,63 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,63 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
|
[
76,
19,
99,
72
] | 84 |
[
"76-19=57",
"99-72=27",
"57+27=84"
] |
Current State: 84:[76, 19, 99, 72], Operations: []
Exploring Operation: 76-19=57, Resulting Numbers: [99, 72, 57]
Generated Node #2: [99, 72, 57] from Operation: 76-19=57
Current State: 84:[99, 72, 57], Operations: ['76-19=57']
Exploring Operation: 99-72=27, Resulting Numbers: [57, 27]
Generated Node #3: [57, 27] from Operation: 99-72=27
Current State: 84:[57, 27], Operations: ['76-19=57', '99-72=27']
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[76, 19, 99, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [19, 99, 4]
Generated Node #0,0: 84:[19, 99, 4] Operation: 76-72=4
Exploring Operation: 99-72=27, Resulting Numbers: [76, 19, 27]
Generated Node #0,1: 84:[76, 19, 27] Operation: 99-72=27
Exploring Operation: 99-76=23, Resulting Numbers: [19, 72, 23]
Generated Node #0,2: 84:[19, 72, 23] Operation: 99-76=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[76, 19, 27], Operations: ['99-72=27']
Exploring Operation: 76-27=49, Resulting Numbers: [19, 49]
Generated Node #0,1,0: 84:[19, 49] Operation: 76-27=49
Exploring Operation: 76/19=4, Resulting Numbers: [27, 4]
Generated Node #0,1,1: 84:[27, 4] Operation: 76/19=4
Exploring Operation: 27-19=8, Resulting Numbers: [76, 8]
Generated Node #0,1,2: 84:[76, 8] Operation: 27-19=8
Moving to Node #0,1,1
Current State: 84:[27, 4], Operations: ['99-72=27', '76/19=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[19, 49], Operations: ['99-72=27', '76-27=49']
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,84 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[76, 8], Operations: ['99-72=27', '27-19=8']
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,84 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[76, 19, 99, 72], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [76, 19, 27]
Generated Node #0,1: 84:[76, 19, 27] Operation: 99-72=27
Moving to Node #0,1
Current State: 84:[76, 19, 27], Operations: ['99-72=27']
Exploring Operation: 27-19=8, Resulting Numbers: [76, 8]
Generated Node #0,1,2: 84:[76, 8] Operation: 27-19=8
Moving to Node #0,1,2
Current State: 84:[76, 8], Operations: ['99-72=27', '27-19=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
mult_heuristic
|
[
66,
62,
93,
46
] | 90 |
[
"66*62=4092",
"4092/93=44",
"46+44=90"
] |
Current State: 90:[66, 62, 93, 46], Operations: []
Exploring Operation: 66*62=4092, Resulting Numbers: [93, 46, 4092]
Generated Node #2: [93, 46, 4092] from Operation: 66*62=4092
Current State: 90:[93, 46, 4092], Operations: ['66*62=4092']
Exploring Operation: 4092/93=44, Resulting Numbers: [46, 44]
Generated Node #3: [46, 44] from Operation: 4092/93=44
Current State: 90:[46, 44], Operations: ['66*62=4092', '4092/93=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[66, 62, 93, 46], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [93, 46, 4]
Generated Node #0,0: 90:[93, 46, 4] Operation: 66-62=4
Exploring Operation: 93-66=27, Resulting Numbers: [62, 46, 27]
Generated Node #0,1: 90:[62, 46, 27] Operation: 93-66=27
Exploring Operation: 66-46=20, Resulting Numbers: [62, 93, 20]
Generated Node #0,2: 90:[62, 93, 20] Operation: 66-46=20
Exploring Operation: 93-62=31, Resulting Numbers: [66, 46, 31]
Generated Node #0,3: 90:[66, 46, 31] Operation: 93-62=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[93, 46, 4], Operations: ['66-62=4']
Exploring Operation: 93-4=89, Resulting Numbers: [46, 89]
Generated Node #0,0,0: 90:[46, 89] Operation: 93-4=89
Exploring Operation: 46-4=42, Resulting Numbers: [93, 42]
Generated Node #0,0,1: 90:[93, 42] Operation: 46-4=42
Exploring Operation: 93+4=97, Resulting Numbers: [46, 97]
Generated Node #0,0,2: 90:[46, 97] Operation: 93+4=97
Exploring Operation: 93-46=47, Resulting Numbers: [4, 47]
Generated Node #0,0,3: 90:[4, 47] Operation: 93-46=47
Moving to Node #0,0,0
Current State: 90:[46, 89], Operations: ['66-62=4', '93-4=89']
Exploring Operation: 46*89=4094, Resulting Numbers: [4094]
4094,90 unequal: No Solution
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 46+89=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[4, 47], Operations: ['66-62=4', '93-46=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[93, 42], Operations: ['66-62=4', '46-4=42']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,90 unequal: No Solution
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[46, 97], Operations: ['66-62=4', '93+4=97']
Exploring Operation: 46+97=143, Resulting Numbers: [143]
143,90 unequal: No Solution
Exploring Operation: 46*97=4462, Resulting Numbers: [4462]
4462,90 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,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,1
Current State: 90:[62, 46, 27], Operations: ['93-66=27']
Exploring Operation: 46-27=19, Resulting Numbers: [62, 19]
Generated Node #0,1,0: 90:[62, 19] Operation: 46-27=19
Exploring Operation: 62-27=35, Resulting Numbers: [46, 35]
Generated Node #0,1,1: 90:[46, 35] Operation: 62-27=35
Exploring Operation: 62-46=16, Resulting Numbers: [27, 16]
Generated Node #0,1,2: 90:[27, 16] Operation: 62-46=16
Exploring Operation: 62+27=89, Resulting Numbers: [46, 89]
Generated Node #0,1,3: 90:[46, 89] Operation: 62+27=89
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[46, 89], Operations: ['93-66=27', '62+27=89']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 46+89=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 46*89=4094, Resulting Numbers: [4094]
4094,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[27, 16], Operations: ['93-66=27', '62-46=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,90 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[46, 35], Operations: ['93-66=27', '62-27=35']
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[62, 19], Operations: ['93-66=27', '46-27=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,90 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,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:[62, 93, 20], Operations: ['66-46=20']
Exploring Operation: 93-20=73, Resulting Numbers: [62, 73]
Generated Node #0,2,0: 90:[62, 73] Operation: 93-20=73
Exploring Operation: 62+20=82, Resulting Numbers: [93, 82]
Generated Node #0,2,1: 90:[93, 82] Operation: 62+20=82
Exploring Operation: 93-62=31, Resulting Numbers: [20, 31]
Generated Node #0,2,2: 90:[20, 31] Operation: 93-62=31
Exploring Operation: 62-20=42, Resulting Numbers: [93, 42]
Generated Node #0,2,3: 90:[93, 42] Operation: 62-20=42
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[20, 31], Operations: ['66-46=20', '93-62=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,90 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[93, 42], Operations: ['66-46=20', '62-20=42']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[93, 82], Operations: ['66-46=20', '62+20=82']
Exploring Operation: 93*82=7626, Resulting Numbers: [7626]
7626,90 unequal: No Solution
Exploring Operation: 93+82=175, Resulting Numbers: [175]
175,90 unequal: No Solution
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[62, 73], Operations: ['66-46=20', '93-20=73']
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 62*73=4526, Resulting Numbers: [4526]
4526,90 unequal: No Solution
Exploring Operation: 62+73=135, Resulting Numbers: [135]
135,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,3
Current State: 90:[66, 46, 31], Operations: ['93-62=31']
Exploring Operation: 46-31=15, Resulting Numbers: [66, 15]
Generated Node #0,3,0: 90:[66, 15] Operation: 46-31=15
Exploring Operation: 66-31=35, Resulting Numbers: [46, 35]
Generated Node #0,3,1: 90:[46, 35] Operation: 66-31=35
Exploring Operation: 66-46=20, Resulting Numbers: [31, 20]
Generated Node #0,3,2: 90:[31, 20] Operation: 66-46=20
Exploring Operation: 66+31=97, Resulting Numbers: [46, 97]
Generated Node #0,3,3: 90:[46, 97] Operation: 66+31=97
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[31, 20], Operations: ['93-62=31', '66-46=20']
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,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,1
Current State: 90:[46, 35], Operations: ['93-62=31', '66-31=35']
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,90 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,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:[46, 97], Operations: ['93-62=31', '66+31=97']
Exploring Operation: 46*97=4462, Resulting Numbers: [4462]
4462,90 unequal: No Solution
Exploring Operation: 46+97=143, Resulting Numbers: [143]
143,90 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,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:[66, 15], Operations: ['93-62=31', '46-31=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,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_4
|
sum_heuristic
|
[
7,
72,
69,
49
] | 92 |
[
"72-49=23",
"7*23=161",
"161-69=92"
] |
Current State: 92:[7, 72, 69, 49], Operations: []
Exploring Operation: 72-49=23, Resulting Numbers: [7, 69, 23]
Generated Node #2: [7, 69, 23] from Operation: 72-49=23
Current State: 92:[7, 69, 23], Operations: ['72-49=23']
Exploring Operation: 7*23=161, Resulting Numbers: [69, 161]
Generated Node #3: [69, 161] from Operation: 7*23=161
Current State: 92:[69, 161], Operations: ['72-49=23', '7*23=161']
Exploring Operation: 161-69=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[7, 72, 69, 49], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [7, 49, 3]
Generated Node #0,0: 92:[7, 49, 3] Operation: 72-69=3
Moving to Node #0,0
Current State: 92:[7, 49, 3], Operations: ['72-69=3']
Exploring Operation: 7-3=4, Resulting Numbers: [49, 4]
Generated Node #0,0,0: 92:[49, 4] Operation: 7-3=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[49, 4], Operations: ['72-69=3', '7-3=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,92 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
|
[
3,
88,
77,
55
] | 22 |
[
"88-77=11",
"3*11=33",
"55-33=22"
] |
Current State: 22:[3, 88, 77, 55], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [3, 55, 11]
Generated Node #2: [3, 55, 11] from Operation: 88-77=11
Current State: 22:[3, 55, 11], Operations: ['88-77=11']
Exploring Operation: 3*11=33, Resulting Numbers: [55, 33]
Generated Node #3: [55, 33] from Operation: 3*11=33
Current State: 22:[55, 33], Operations: ['88-77=11', '3*11=33']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[3, 88, 77, 55], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [3, 88, 22]
Generated Node #0,0: 22:[3, 88, 22] Operation: 77-55=22
Exploring Operation: 88-3=85, Resulting Numbers: [77, 55, 85]
Generated Node #0,1: 22:[77, 55, 85] Operation: 88-3=85
Exploring Operation: 88-55=33, Resulting Numbers: [3, 77, 33]
Generated Node #0,2: 22:[3, 77, 33] Operation: 88-55=33
Exploring Operation: 88-77=11, Resulting Numbers: [3, 55, 11]
Generated Node #0,3: 22:[3, 55, 11] Operation: 88-77=11
Exploring Operation: 77-3=74, Resulting Numbers: [88, 55, 74]
Generated Node #0,4: 22:[88, 55, 74] Operation: 77-3=74
Moving to Node #0,3
Current State: 22:[3, 55, 11], Operations: ['88-77=11']
Exploring Operation: 3+11=14, Resulting Numbers: [55, 14]
Generated Node #0,3,0: 22:[55, 14] Operation: 3+11=14
Exploring Operation: 55/11=5, Resulting Numbers: [3, 5]
Generated Node #0,3,1: 22:[3, 5] Operation: 55/11=5
Exploring Operation: 55-3=52, Resulting Numbers: [11, 52]
Generated Node #0,3,2: 22:[11, 52] Operation: 55-3=52
Exploring Operation: 3+55=58, Resulting Numbers: [11, 58]
Generated Node #0,3,3: 22:[11, 58] Operation: 3+55=58
Exploring Operation: 55-11=44, Resulting Numbers: [3, 44]
Generated Node #0,3,4: 22:[3, 44] Operation: 55-11=44
Moving to Node #0,2
Current State: 22:[3, 77, 33], Operations: ['88-55=33']
Exploring Operation: 3+77=80, Resulting Numbers: [33, 80]
Generated Node #0,2,0: 22:[33, 80] Operation: 3+77=80
Exploring Operation: 77-3=74, Resulting Numbers: [33, 74]
Generated Node #0,2,1: 22:[33, 74] Operation: 77-3=74
Exploring Operation: 77-33=44, Resulting Numbers: [3, 44]
Generated Node #0,2,2: 22:[3, 44] Operation: 77-33=44
Exploring Operation: 33/3=11, Resulting Numbers: [77, 11]
Generated Node #0,2,3: 22:[77, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [77, 30]
Generated Node #0,2,4: 22:[77, 30] Operation: 33-3=30
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[3, 44], Operations: ['88-55=33', '77-33=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[77, 11], Operations: ['88-55=33', '33/3=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 77*11=847, Resulting Numbers: [847]
847,22 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[33, 74], Operations: ['88-55=33', '77-3=74']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 22:[77, 30], Operations: ['88-55=33', '33-3=30']
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[33, 80], Operations: ['88-55=33', '3+77=80']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,22 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,22 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: 22:[3, 88, 22], Operations: ['77-55=22']
Exploring Operation: 88/22=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 22:[3, 4] Operation: 88/22=4
Exploring Operation: 3+22=25, Resulting Numbers: [88, 25]
Generated Node #0,0,1: 22:[88, 25] Operation: 3+22=25
Exploring Operation: 88-3=85, Resulting Numbers: [22, 85]
Generated Node #0,0,2: 22:[22, 85] Operation: 88-3=85
Exploring Operation: 88-22=66, Resulting Numbers: [3, 66]
Generated Node #0,0,3: 22:[3, 66] Operation: 88-22=66
Exploring Operation: 3+88=91, Resulting Numbers: [22, 91]
Generated Node #0,0,4: 22:[22, 91] Operation: 3+88=91
Moving to Node #0,1
Current State: 22:[77, 55, 85], Operations: ['88-3=85']
Exploring Operation: 77+55=132, Resulting Numbers: [85, 132]
Generated Node #0,1,0: 22:[85, 132] Operation: 77+55=132
Exploring Operation: 77-55=22, Resulting Numbers: [85, 22]
Generated Node #0,1,1: 22:[85, 22] Operation: 77-55=22
Exploring Operation: 85-55=30, Resulting Numbers: [77, 30]
Generated Node #0,1,2: 22:[77, 30] Operation: 85-55=30
Exploring Operation: 85-77=8, Resulting Numbers: [55, 8]
Generated Node #0,1,3: 22:[55, 8] Operation: 85-77=8
Exploring Operation: 77+85=162, Resulting Numbers: [55, 162]
Generated Node #0,1,4: 22:[55, 162] Operation: 77+85=162
Moving to Node #0,4
Current State: 22:[88, 55, 74], Operations: ['77-3=74']
Exploring Operation: 88+74=162, Resulting Numbers: [55, 162]
Generated Node #0,4,0: 22:[55, 162] Operation: 88+74=162
Exploring Operation: 88-74=14, Resulting Numbers: [55, 14]
Generated Node #0,4,1: 22:[55, 14] Operation: 88-74=14
Exploring Operation: 88+55=143, Resulting Numbers: [74, 143]
Generated Node #0,4,2: 22:[74, 143] Operation: 88+55=143
Exploring Operation: 88-55=33, Resulting Numbers: [74, 33]
Generated Node #0,4,3: 22:[74, 33] Operation: 88-55=33
Exploring Operation: 74-55=19, Resulting Numbers: [88, 19]
Generated Node #0,4,4: 22:[88, 19] Operation: 74-55=19
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 22:[55, 14], Operations: ['77-3=74', '88-74=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,22 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,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,4,3
Current State: 22:[74, 33], Operations: ['77-3=74', '88-55=33']
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 74*33=2442, Resulting Numbers: [2442]
2442,22 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,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,4,4
Current State: 22:[88, 19], Operations: ['77-3=74', '74-55=19']
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,22 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,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,4,0
Current State: 22:[55, 162], Operations: ['77-3=74', '88+74=162']
Exploring Operation: 162-55=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 55*162=8910, Resulting Numbers: [8910]
8910,22 unequal: No Solution
Exploring Operation: 55+162=217, Resulting Numbers: [217]
217,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,4,2
Current State: 22:[74, 143], Operations: ['77-3=74', '88+55=143']
Exploring Operation: 74+143=217, Resulting Numbers: [217]
217,22 unequal: No Solution
Exploring Operation: 74*143=10582, Resulting Numbers: [10582]
10582,22 unequal: No Solution
Exploring Operation: 143-74=69, Resulting Numbers: [69]
69,22 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: 22:[3, 4], Operations: ['77-55=22', '88/22=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[3, 5], Operations: ['88-77=11', '55/11=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Moving to Node #0,3,4
Current State: 22:[3, 44], Operations: ['88-77=11', '55-11=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[11, 52], Operations: ['88-77=11', '55-3=52']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,22 unequal: No Solution
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[11, 58], Operations: ['88-77=11', '3+55=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[55, 8], Operations: ['88-3=85', '85-77=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,22 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[55, 14], Operations: ['88-77=11', '3+11=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[3, 66], Operations: ['77-55=22', '88-22=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,22 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[3, 88, 77, 55], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [3, 88, 22]
Generated Node #0,0: 22:[3, 88, 22] Operation: 77-55=22
Moving to Node #0,0
Current State: 22:[3, 88, 22], Operations: ['77-55=22']
Exploring Operation: 88-22=66, Resulting Numbers: [3, 66]
Generated Node #0,0,3: 22:[3, 66] Operation: 88-22=66
Moving to Node #0,0,3
Current State: 22:[3, 66], Operations: ['77-55=22', '88-22=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.921875 |
hs_5
|
sum_heuristic
|
[
35,
7,
60,
54
] | 77 |
[
"60-54=6",
"7*6=42",
"35+42=77"
] |
Current State: 77:[35, 7, 60, 54], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [35, 7, 6]
Generated Node #2: [35, 7, 6] from Operation: 60-54=6
Current State: 77:[35, 7, 6], Operations: ['60-54=6']
Exploring Operation: 7*6=42, Resulting Numbers: [35, 42]
Generated Node #3: [35, 42] from Operation: 7*6=42
Current State: 77:[35, 42], Operations: ['60-54=6', '7*6=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[35, 7, 60, 54], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [7, 60, 19]
Generated Node #0,0: 77:[7, 60, 19] Operation: 54-35=19
Exploring Operation: 60-54=6, Resulting Numbers: [35, 7, 6]
Generated Node #0,1: 77:[35, 7, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[7, 60, 19], Operations: ['54-35=19']
Exploring Operation: 60+19=79, Resulting Numbers: [7, 79]
Generated Node #0,0,0: 77:[7, 79] Operation: 60+19=79
Exploring Operation: 7+60=67, Resulting Numbers: [19, 67]
Generated Node #0,0,1: 77:[19, 67] Operation: 7+60=67
Moving to Node #0,0,0
Current State: 77:[7, 79], Operations: ['54-35=19', '60+19=79']
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[19, 67], Operations: ['54-35=19', '7+60=67']
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[35, 7, 6], Operations: ['60-54=6']
Exploring Operation: 35/7=5, Resulting Numbers: [6, 5]
Generated Node #0,1,0: 77:[6, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [6, 28]
Generated Node #0,1,1: 77:[6, 28] Operation: 35-7=28
Moving to Node #0,1,0
Current State: 77:[6, 5], Operations: ['60-54=6', '35/7=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[6, 28], Operations: ['60-54=6', '35-7=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,77 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
|
[
10,
47,
97,
13
] | 14 |
[
"10*13=130",
"47+97=144",
"144-130=14"
] |
Current State: 14:[10, 47, 97, 13], Operations: []
Exploring Operation: 10*13=130, Resulting Numbers: [47, 97, 130]
Generated Node #2: [47, 97, 130] from Operation: 10*13=130
Current State: 14:[47, 97, 130], Operations: ['10*13=130']
Exploring Operation: 47+97=144, Resulting Numbers: [130, 144]
Generated Node #3: [130, 144] from Operation: 47+97=144
Current State: 14:[130, 144], Operations: ['10*13=130', '47+97=144']
Exploring Operation: 144-130=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[10, 47, 97, 13], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [10, 13, 50]
Generated Node #0,0: 14:[10, 13, 50] Operation: 97-47=50
Moving to Node #0,0
Current State: 14:[10, 13, 50], Operations: ['97-47=50']
Exploring Operation: 50/10=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 14:[13, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[13, 5], Operations: ['97-47=50', '50/10=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,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
|
[
95,
8,
32,
85
] | 76 |
[
"95+85=180",
"8*32=256",
"256-180=76"
] |
Current State: 76:[95, 8, 32, 85], Operations: []
Exploring Operation: 95+85=180, Resulting Numbers: [8, 32, 180]
Generated Node #2: [8, 32, 180] from Operation: 95+85=180
Current State: 76:[8, 32, 180], Operations: ['95+85=180']
Exploring Operation: 8*32=256, Resulting Numbers: [180, 256]
Generated Node #3: [180, 256] from Operation: 8*32=256
Current State: 76:[180, 256], Operations: ['95+85=180', '8*32=256']
Exploring Operation: 256-180=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[95, 8, 32, 85], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [8, 32, 10]
Generated Node #0,0: 76:[8, 32, 10] Operation: 95-85=10
Exploring Operation: 85-8=77, Resulting Numbers: [95, 32, 77]
Generated Node #0,1: 76:[95, 32, 77] Operation: 85-8=77
Exploring Operation: 95-32=63, Resulting Numbers: [8, 85, 63]
Generated Node #0,2: 76:[8, 85, 63] Operation: 95-32=63
Exploring Operation: 95-8=87, Resulting Numbers: [32, 85, 87]
Generated Node #0,3: 76:[32, 85, 87] Operation: 95-8=87
Exploring Operation: 32/8=4, Resulting Numbers: [95, 85, 4]
Generated Node #0,4: 76:[95, 85, 4] Operation: 32/8=4
Moving to Node #0,0
Current State: 76:[8, 32, 10], Operations: ['95-85=10']
Exploring Operation: 32-10=22, Resulting Numbers: [8, 22]
Generated Node #0,0,0: 76:[8, 22] Operation: 32-10=22
Exploring Operation: 10-8=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 76:[32, 2] Operation: 10-8=2
Exploring Operation: 32/8=4, Resulting Numbers: [10, 4]
Generated Node #0,0,2: 76:[10, 4] Operation: 32/8=4
Exploring Operation: 8+32=40, Resulting Numbers: [10, 40]
Generated Node #0,0,3: 76:[10, 40] Operation: 8+32=40
Exploring Operation: 8+10=18, Resulting Numbers: [32, 18]
Generated Node #0,0,4: 76:[32, 18] Operation: 8+10=18
Moving to Node #0,2
Current State: 76:[8, 85, 63], Operations: ['95-32=63']
Exploring Operation: 85-8=77, Resulting Numbers: [63, 77]
Generated Node #0,2,0: 76:[63, 77] Operation: 85-8=77
Exploring Operation: 8+85=93, Resulting Numbers: [63, 93]
Generated Node #0,2,1: 76:[63, 93] Operation: 8+85=93
Exploring Operation: 8+63=71, Resulting Numbers: [85, 71]
Generated Node #0,2,2: 76:[85, 71] Operation: 8+63=71
Exploring Operation: 85-63=22, Resulting Numbers: [8, 22]
Generated Node #0,2,3: 76:[8, 22] Operation: 85-63=22
Exploring Operation: 63-8=55, Resulting Numbers: [85, 55]
Generated Node #0,2,4: 76:[85, 55] Operation: 63-8=55
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[8, 22], Operations: ['95-32=63', '85-63=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,76 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[63, 77], Operations: ['95-32=63', '85-8=77']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,76 unequal: No Solution
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[85, 71], Operations: ['95-32=63', '8+63=71']
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,76 unequal: No Solution
Exploring Operation: 85*71=6035, Resulting Numbers: [6035]
6035,76 unequal: No Solution
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[85, 55], Operations: ['95-32=63', '63-8=55']
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,76 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[63, 93], Operations: ['95-32=63', '8+85=93']
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,76 unequal: No Solution
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,76 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,76 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: 76:[95, 32, 77], Operations: ['85-8=77']
Exploring Operation: 95+32=127, Resulting Numbers: [77, 127]
Generated Node #0,1,0: 76:[77, 127] Operation: 95+32=127
Exploring Operation: 95-32=63, Resulting Numbers: [77, 63]
Generated Node #0,1,1: 76:[77, 63] Operation: 95-32=63
Exploring Operation: 32+77=109, Resulting Numbers: [95, 109]
Generated Node #0,1,2: 76:[95, 109] Operation: 32+77=109
Exploring Operation: 77-32=45, Resulting Numbers: [95, 45]
Generated Node #0,1,3: 76:[95, 45] Operation: 77-32=45
Exploring Operation: 95-77=18, Resulting Numbers: [32, 18]
Generated Node #0,1,4: 76:[32, 18] Operation: 95-77=18
Moving to Node #0,3
Current State: 76:[32, 85, 87], Operations: ['95-8=87']
Exploring Operation: 32+87=119, Resulting Numbers: [85, 119]
Generated Node #0,3,0: 76:[85, 119] Operation: 32+87=119
Exploring Operation: 85-32=53, Resulting Numbers: [87, 53]
Generated Node #0,3,1: 76:[87, 53] Operation: 85-32=53
Exploring Operation: 87-85=2, Resulting Numbers: [32, 2]
Generated Node #0,3,2: 76:[32, 2] Operation: 87-85=2
Exploring Operation: 32+85=117, Resulting Numbers: [87, 117]
Generated Node #0,3,3: 76:[87, 117] Operation: 32+85=117
Exploring Operation: 87-32=55, Resulting Numbers: [85, 55]
Generated Node #0,3,4: 76:[85, 55] Operation: 87-32=55
Moving to Node #0,4
Current State: 76:[95, 85, 4], Operations: ['32/8=4']
Exploring Operation: 95-4=91, Resulting Numbers: [85, 91]
Generated Node #0,4,0: 76:[85, 91] Operation: 95-4=91
Exploring Operation: 95-85=10, Resulting Numbers: [4, 10]
Generated Node #0,4,1: 76:[4, 10] Operation: 95-85=10
Exploring Operation: 85+4=89, Resulting Numbers: [95, 89]
Generated Node #0,4,2: 76:[95, 89] Operation: 85+4=89
Exploring Operation: 95+4=99, Resulting Numbers: [85, 99]
Generated Node #0,4,3: 76:[85, 99] Operation: 95+4=99
Exploring Operation: 85-4=81, Resulting Numbers: [95, 81]
Generated Node #0,4,4: 76:[95, 81] Operation: 85-4=81
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[4, 10], Operations: ['32/8=4', '95-85=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[85, 91], Operations: ['32/8=4', '95-4=91']
Exploring Operation: 85+91=176, Resulting Numbers: [176]
176,76 unequal: No Solution
Exploring Operation: 85*91=7735, Resulting Numbers: [7735]
7735,76 unequal: No Solution
Exploring Operation: 91-85=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[95, 81], Operations: ['32/8=4', '85-4=81']
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,76 unequal: No Solution
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,76 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[95, 89], Operations: ['32/8=4', '85+4=89']
Exploring Operation: 95*89=8455, Resulting Numbers: [8455]
8455,76 unequal: No Solution
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 95+89=184, Resulting Numbers: [184]
184,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[85, 99], Operations: ['32/8=4', '95+4=99']
Exploring Operation: 85+99=184, Resulting Numbers: [184]
184,76 unequal: No Solution
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 85*99=8415, Resulting Numbers: [8415]
8415,76 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: 76:[32, 2], Operations: ['95-85=10', '10-8=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[10, 4], Operations: ['95-85=10', '32/8=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[32, 2], Operations: ['95-8=87', '87-85=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[8, 22], Operations: ['95-85=10', '32-10=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,76 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[32, 18], Operations: ['85-8=77', '95-77=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,76 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[32, 18], Operations: ['95-85=10', '8+10=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,76 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[10, 40], Operations: ['95-85=10', '8+32=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,76 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[77, 63], Operations: ['85-8=77', '95-32=63']
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[85, 55], Operations: ['95-8=87', '87-32=55']
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[87, 53], Operations: ['95-8=87', '85-32=53']
Exploring Operation: 87+53=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 87*53=4611, Resulting Numbers: [4611]
4611,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[95, 45], Operations: ['85-8=77', '77-32=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[85, 119], Operations: ['95-8=87', '32+87=119']
Exploring Operation: 85*119=10115, Resulting Numbers: [10115]
10115,76 unequal: No Solution
Exploring Operation: 85+119=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Exploring Operation: 119-85=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[87, 117], Operations: ['95-8=87', '32+85=117']
Exploring Operation: 87*117=10179, Resulting Numbers: [10179]
10179,76 unequal: No Solution
Exploring Operation: 117-87=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 87+117=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[95, 109], Operations: ['85-8=77', '32+77=109']
Exploring Operation: 109-95=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 95+109=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Exploring Operation: 95*109=10355, Resulting Numbers: [10355]
10355,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[77, 127], Operations: ['85-8=77', '95+32=127']
Exploring Operation: 127-77=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 77*127=9779, Resulting Numbers: [9779]
9779,76 unequal: No Solution
Exploring Operation: 77+127=204, Resulting Numbers: [204]
204,76 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
2,
65,
80,
4
] | 25 |
[
"2*80=160",
"160/4=40",
"65-40=25"
] |
Current State: 25:[2, 65, 80, 4], Operations: []
Exploring Operation: 2*80=160, Resulting Numbers: [65, 4, 160]
Generated Node #2: [65, 4, 160] from Operation: 2*80=160
Current State: 25:[65, 4, 160], Operations: ['2*80=160']
Exploring Operation: 160/4=40, Resulting Numbers: [65, 40]
Generated Node #3: [65, 40] from Operation: 160/4=40
Current State: 25:[65, 40], Operations: ['2*80=160', '160/4=40']
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[2, 65, 80, 4], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [2, 4, 15]
Generated Node #0,0: 25:[2, 4, 15] Operation: 80-65=15
Exploring Operation: 80/4=20, Resulting Numbers: [2, 65, 20]
Generated Node #0,1: 25:[2, 65, 20] Operation: 80/4=20
Moving to Node #0,0
Current State: 25:[2, 4, 15], Operations: ['80-65=15']
Exploring Operation: 2*15=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 25:[4, 30] Operation: 2*15=30
Exploring Operation: 2+15=17, Resulting Numbers: [4, 17]
Generated Node #0,0,1: 25:[4, 17] Operation: 2+15=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[4, 30], Operations: ['80-65=15', '2*15=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[4, 17], Operations: ['80-65=15', '2+15=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 25:[2, 65, 20], Operations: ['80/4=20']
Exploring Operation: 65-20=45, Resulting Numbers: [2, 45]
Generated Node #0,1,0: 25:[2, 45] Operation: 65-20=45
Exploring Operation: 65-2=63, Resulting Numbers: [20, 63]
Generated Node #0,1,1: 25:[20, 63] Operation: 65-2=63
Moving to Node #0,1,0
Current State: 25:[2, 45], Operations: ['80/4=20', '65-20=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[20, 63], Operations: ['80/4=20', '65-2=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,25 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
4,
88,
70,
25
] | 92 |
[
"70-25=45",
"4*45=180",
"180-88=92"
] |
Current State: 92:[4, 88, 70, 25], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [4, 88, 45]
Generated Node #2: [4, 88, 45] from Operation: 70-25=45
Current State: 92:[4, 88, 45], Operations: ['70-25=45']
Exploring Operation: 4*45=180, Resulting Numbers: [88, 180]
Generated Node #3: [88, 180] from Operation: 4*45=180
Current State: 92:[88, 180], Operations: ['70-25=45', '4*45=180']
Exploring Operation: 180-88=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[4, 88, 70, 25], Operations: []
Exploring Operation: 4+70=74, Resulting Numbers: [88, 25, 74]
Generated Node #0,0: 92:[88, 25, 74] Operation: 4+70=74
Exploring Operation: 4+88=92, Resulting Numbers: [70, 25, 92]
Generated Node #0,1: 92:[70, 25, 92] Operation: 4+88=92
Exploring Operation: 70+25=95, Resulting Numbers: [4, 88, 95]
Generated Node #0,2: 92:[4, 88, 95] Operation: 70+25=95
Exploring Operation: 70-25=45, Resulting Numbers: [4, 88, 45]
Generated Node #0,3: 92:[4, 88, 45] Operation: 70-25=45
Exploring Operation: 88-70=18, Resulting Numbers: [4, 25, 18]
Generated Node #0,4: 92:[4, 25, 18] Operation: 88-70=18
Moving to Node #0,3
Current State: 92:[4, 88, 45], Operations: ['70-25=45']
Exploring Operation: 4+88=92, Resulting Numbers: [45, 92]
Generated Node #0,3,0: 92:[45, 92] Operation: 4+88=92
Exploring Operation: 88/4=22, Resulting Numbers: [45, 22]
Generated Node #0,3,1: 92:[45, 22] Operation: 88/4=22
Exploring Operation: 88-4=84, Resulting Numbers: [45, 84]
Generated Node #0,3,2: 92:[45, 84] Operation: 88-4=84
Exploring Operation: 88-45=43, Resulting Numbers: [4, 43]
Generated Node #0,3,3: 92:[4, 43] Operation: 88-45=43
Exploring Operation: 4+45=49, Resulting Numbers: [88, 49]
Generated Node #0,3,4: 92:[88, 49] Operation: 4+45=49
Moving to Node #0,4
Current State: 92:[4, 25, 18], Operations: ['88-70=18']
Exploring Operation: 25+18=43, Resulting Numbers: [4, 43]
Generated Node #0,4,0: 92:[4, 43] Operation: 25+18=43
Exploring Operation: 25-18=7, Resulting Numbers: [4, 7]
Generated Node #0,4,1: 92:[4, 7] Operation: 25-18=7
Exploring Operation: 4+18=22, Resulting Numbers: [25, 22]
Generated Node #0,4,2: 92:[25, 22] Operation: 4+18=22
Exploring Operation: 25-4=21, Resulting Numbers: [18, 21]
Generated Node #0,4,3: 92:[18, 21] Operation: 25-4=21
Exploring Operation: 4+25=29, Resulting Numbers: [18, 29]
Generated Node #0,4,4: 92:[18, 29] Operation: 4+25=29
Moving to Node #0,2
Current State: 92:[4, 88, 95], Operations: ['70+25=95']
Exploring Operation: 95-4=91, Resulting Numbers: [88, 91]
Generated Node #0,2,0: 92:[88, 91] Operation: 95-4=91
Exploring Operation: 95-88=7, Resulting Numbers: [4, 7]
Generated Node #0,2,1: 92:[4, 7] Operation: 95-88=7
Exploring Operation: 88-4=84, Resulting Numbers: [95, 84]
Generated Node #0,2,2: 92:[95, 84] Operation: 88-4=84
Exploring Operation: 88/4=22, Resulting Numbers: [95, 22]
Generated Node #0,2,3: 92:[95, 22] Operation: 88/4=22
Exploring Operation: 4+88=92, Resulting Numbers: [95, 92]
Generated Node #0,2,4: 92:[95, 92] Operation: 4+88=92
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[4, 7], Operations: ['70+25=95', '95-88=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[95, 92], Operations: ['70+25=95', '4+88=92']
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 95*92=8740, Resulting Numbers: [8740]
8740,92 unequal: No Solution
Exploring Operation: 95+92=187, Resulting Numbers: [187]
187,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[95, 22], Operations: ['70+25=95', '88/4=22']
Exploring Operation: 95+22=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,92 unequal: No Solution
Exploring Operation: 95*22=2090, Resulting Numbers: [2090]
2090,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[88, 91], Operations: ['70+25=95', '95-4=91']
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,92 unequal: No Solution
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[95, 84], Operations: ['70+25=95', '88-4=84']
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 95+84=179, Resulting Numbers: [179]
179,92 unequal: No Solution
Exploring Operation: 95*84=7980, Resulting Numbers: [7980]
7980,92 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: 92:[88, 25, 74], Operations: ['4+70=74']
Exploring Operation: 88+25=113, Resulting Numbers: [74, 113]
Generated Node #0,0,0: 92:[74, 113] Operation: 88+25=113
Exploring Operation: 88-74=14, Resulting Numbers: [25, 14]
Generated Node #0,0,1: 92:[25, 14] Operation: 88-74=14
Exploring Operation: 88-25=63, Resulting Numbers: [74, 63]
Generated Node #0,0,2: 92:[74, 63] Operation: 88-25=63
Exploring Operation: 25+74=99, Resulting Numbers: [88, 99]
Generated Node #0,0,3: 92:[88, 99] Operation: 25+74=99
Exploring Operation: 74-25=49, Resulting Numbers: [88, 49]
Generated Node #0,0,4: 92:[88, 49] Operation: 74-25=49
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 92:[88, 49], Operations: ['4+70=74', '74-25=49']
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[25, 14], Operations: ['4+70=74', '88-74=14']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[88, 99], Operations: ['4+70=74', '25+74=99']
Exploring Operation: 88*99=8712, Resulting Numbers: [8712]
8712,92 unequal: No Solution
Exploring Operation: 88+99=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[74, 63], Operations: ['4+70=74', '88-25=63']
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,92 unequal: No Solution
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[74, 113], Operations: ['4+70=74', '88+25=113']
Exploring Operation: 74+113=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 113-74=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 74*113=8362, Resulting Numbers: [8362]
8362,92 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: 92:[70, 25, 92], Operations: ['4+88=92']
Exploring Operation: 92-70=22, Resulting Numbers: [25, 22]
Generated Node #0,1,0: 92:[25, 22] Operation: 92-70=22
Exploring Operation: 70-25=45, Resulting Numbers: [92, 45]
Generated Node #0,1,1: 92:[92, 45] Operation: 70-25=45
Exploring Operation: 25+92=117, Resulting Numbers: [70, 117]
Generated Node #0,1,2: 92:[70, 117] Operation: 25+92=117
Exploring Operation: 70+25=95, Resulting Numbers: [92, 95]
Generated Node #0,1,3: 92:[92, 95] Operation: 70+25=95
Exploring Operation: 92-25=67, Resulting Numbers: [70, 67]
Generated Node #0,1,4: 92:[70, 67] Operation: 92-25=67
Moving to Node #0,3,0
Current State: 92:[45, 92], Operations: ['70-25=45', '4+88=92']
Exploring Operation: 45*92=4140, Resulting Numbers: [4140]
4140,92 unequal: No Solution
Exploring Operation: 45+92=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[92, 45], Operations: ['4+88=92', '70-25=45']
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,92 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[45, 22], Operations: ['70-25=45', '88/4=22']
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,92 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[4, 43], Operations: ['70-25=45', '88-45=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,92 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[4, 7], Operations: ['88-70=18', '25-18=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[92, 95], Operations: ['4+88=92', '70+25=95']
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 92*95=8740, Resulting Numbers: [8740]
8740,92 unequal: No Solution
Exploring Operation: 92+95=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[25, 22], Operations: ['4+88=92', '92-70=22']
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,92 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[4, 43], Operations: ['88-70=18', '25+18=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,92 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[25, 22], Operations: ['88-70=18', '4+18=22']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[18, 21], Operations: ['88-70=18', '25-4=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[88, 49], Operations: ['70-25=45', '4+45=49']
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,92 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[45, 84], Operations: ['70-25=45', '88-4=84']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[18, 29], Operations: ['88-70=18', '4+25=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[70, 67], Operations: ['4+88=92', '92-25=67']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,92 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[70, 117], Operations: ['4+88=92', '25+92=117']
Exploring Operation: 70+117=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 70*117=8190, Resulting Numbers: [8190]
8190,92 unequal: No Solution
Exploring Operation: 117-70=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
71,
56,
79,
85
] | 75 |
[
"85-71=14",
"56/14=4",
"79-4=75"
] |
Current State: 75:[71, 56, 79, 85], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [56, 79, 14]
Generated Node #2: [56, 79, 14] from Operation: 85-71=14
Current State: 75:[56, 79, 14], Operations: ['85-71=14']
Exploring Operation: 56/14=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 56/14=4
Current State: 75:[79, 4], Operations: ['85-71=14', '56/14=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[71, 56, 79, 85], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [79, 85, 15]
Generated Node #0,0: 75:[79, 85, 15] Operation: 71-56=15
Exploring Operation: 85-56=29, Resulting Numbers: [71, 79, 29]
Generated Node #0,1: 75:[71, 79, 29] Operation: 85-56=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[71, 79, 29], Operations: ['85-56=29']
Exploring Operation: 79-71=8, Resulting Numbers: [29, 8]
Generated Node #0,1,0: 75:[29, 8] Operation: 79-71=8
Exploring Operation: 71-29=42, Resulting Numbers: [79, 42]
Generated Node #0,1,1: 75:[79, 42] Operation: 71-29=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[29, 8], Operations: ['85-56=29', '79-71=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[79, 42], Operations: ['85-56=29', '71-29=42']
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[79, 85, 15], Operations: ['71-56=15']
Exploring Operation: 85-79=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 75:[15, 6] Operation: 85-79=6
Exploring Operation: 85-15=70, Resulting Numbers: [79, 70]
Generated Node #0,0,1: 75:[79, 70] Operation: 85-15=70
Moving to Node #0,0,0
Current State: 75:[15, 6], Operations: ['71-56=15', '85-79=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[79, 70], Operations: ['71-56=15', '85-15=70']
Exploring Operation: 79+70=149, Resulting Numbers: [149]
149,75 unequal: No Solution
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,75 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
|
[
10,
50,
55,
35
] | 52 |
[
"55-35=20",
"20/10=2",
"50+2=52"
] |
Current State: 52:[10, 50, 55, 35], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [10, 50, 20]
Generated Node #2: [10, 50, 20] from Operation: 55-35=20
Current State: 52:[10, 50, 20], Operations: ['55-35=20']
Exploring Operation: 20/10=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 20/10=2
Current State: 52:[50, 2], Operations: ['55-35=20', '20/10=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[10, 50, 55, 35], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [10, 50, 20]
Generated Node #0,0: 52:[10, 50, 20] Operation: 55-35=20
Exploring Operation: 35-10=25, Resulting Numbers: [50, 55, 25]
Generated Node #0,1: 52:[50, 55, 25] Operation: 35-10=25
Exploring Operation: 50/10=5, Resulting Numbers: [55, 35, 5]
Generated Node #0,2: 52:[55, 35, 5] Operation: 50/10=5
Exploring Operation: 50-35=15, Resulting Numbers: [10, 55, 15]
Generated Node #0,3: 52:[10, 55, 15] Operation: 50-35=15
Exploring Operation: 10+35=45, Resulting Numbers: [50, 55, 45]
Generated Node #0,4: 52:[50, 55, 45] Operation: 10+35=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[50, 55, 25], Operations: ['35-10=25']
Exploring Operation: 55-50=5, Resulting Numbers: [25, 5]
Generated Node #0,1,0: 52:[25, 5] Operation: 55-50=5
Exploring Operation: 50+25=75, Resulting Numbers: [55, 75]
Generated Node #0,1,1: 52:[55, 75] Operation: 50+25=75
Exploring Operation: 50/25=2, Resulting Numbers: [55, 2]
Generated Node #0,1,2: 52:[55, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [55, 25]
Generated Node #0,1,3: 52:[55, 25] Operation: 50-25=25
Exploring Operation: 55-25=30, Resulting Numbers: [50, 30]
Generated Node #0,1,4: 52:[50, 30] Operation: 55-25=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[25, 5], Operations: ['35-10=25', '55-50=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,52 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,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,1,2
Current State: 52:[55, 2], Operations: ['35-10=25', '50/25=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,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,1,3
Current State: 52:[55, 25], Operations: ['35-10=25', '50-25=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,52 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,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,1,4
Current State: 52:[50, 30], Operations: ['35-10=25', '55-25=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,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,1,1
Current State: 52:[55, 75], Operations: ['35-10=25', '50+25=75']
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 55+75=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Exploring Operation: 55*75=4125, Resulting Numbers: [4125]
4125,52 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: 52:[10, 55, 15], Operations: ['50-35=15']
Exploring Operation: 15-10=5, Resulting Numbers: [55, 5]
Generated Node #0,3,0: 52:[55, 5] Operation: 15-10=5
Exploring Operation: 55-15=40, Resulting Numbers: [10, 40]
Generated Node #0,3,1: 52:[10, 40] Operation: 55-15=40
Exploring Operation: 10+55=65, Resulting Numbers: [15, 65]
Generated Node #0,3,2: 52:[15, 65] Operation: 10+55=65
Exploring Operation: 10+15=25, Resulting Numbers: [55, 25]
Generated Node #0,3,3: 52:[55, 25] Operation: 10+15=25
Exploring Operation: 55-10=45, Resulting Numbers: [15, 45]
Generated Node #0,3,4: 52:[15, 45] Operation: 55-10=45
Moving to Node #0,3,0
Current State: 52:[55, 5], Operations: ['50-35=15', '15-10=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,52 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[55, 25], Operations: ['50-35=15', '10+15=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[15, 45], Operations: ['50-35=15', '55-10=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,52 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[10, 40], Operations: ['50-35=15', '55-15=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,52 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[15, 65], Operations: ['50-35=15', '10+55=65']
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,52 unequal: No Solution
No 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: 52:[10, 50, 20], Operations: ['55-35=20']
Exploring Operation: 20-10=10, Resulting Numbers: [50, 10]
Generated Node #0,0,0: 52:[50, 10] Operation: 20-10=10
Exploring Operation: 50/10=5, Resulting Numbers: [20, 5]
Generated Node #0,0,1: 52:[20, 5] Operation: 50/10=5
Exploring Operation: 50-20=30, Resulting Numbers: [10, 30]
Generated Node #0,0,2: 52:[10, 30] Operation: 50-20=30
Exploring Operation: 10+20=30, Resulting Numbers: [50, 30]
Generated Node #0,0,3: 52:[50, 30] Operation: 10+20=30
Exploring Operation: 20/10=2, Resulting Numbers: [50, 2]
Generated Node #0,0,4: 52:[50, 2] Operation: 20/10=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 52:[50, 2], Operations: ['55-35=20', '20/10=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[10, 50, 55, 35], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [10, 50, 20]
Generated Node #0,0: 52:[10, 50, 20] Operation: 55-35=20
Moving to Node #0,0
Current State: 52:[10, 50, 20], Operations: ['55-35=20']
Exploring Operation: 20/10=2, Resulting Numbers: [50, 2]
Generated Node #0,0,4: 52:[50, 2] Operation: 20/10=2
Moving to Node #0,0,4
Current State: 52:[50, 2], Operations: ['55-35=20', '20/10=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 |
hs_5
|
mult_heuristic
|
[
2,
51,
42,
4
] | 54 |
[
"2+4=6",
"51-42=9",
"6*9=54"
] |
Current State: 54:[2, 51, 42, 4], Operations: []
Exploring Operation: 2+4=6, Resulting Numbers: [51, 42, 6]
Generated Node #2: [51, 42, 6] from Operation: 2+4=6
Current State: 54:[51, 42, 6], Operations: ['2+4=6']
Exploring Operation: 51-42=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 51-42=9
Current State: 54:[6, 9], Operations: ['2+4=6', '51-42=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[2, 51, 42, 4], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [2, 4, 9]
Generated Node #0,0: 54:[2, 4, 9] Operation: 51-42=9
Exploring Operation: 42+4=46, Resulting Numbers: [2, 51, 46]
Generated Node #0,1: 54:[2, 51, 46] Operation: 42+4=46
Exploring Operation: 42/2=21, Resulting Numbers: [51, 4, 21]
Generated Node #0,2: 54:[51, 4, 21] Operation: 42/2=21
Moving to Node #0,0
Current State: 54:[2, 4, 9], Operations: ['51-42=9']
Exploring Operation: 2+4=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 54:[9, 6] Operation: 2+4=6
Exploring Operation: 4/2=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 54:[9, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 54:[9, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[9, 6], Operations: ['51-42=9', '2+4=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[2, 51, 42, 4], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [2, 4, 9]
Generated Node #0,0: 54:[2, 4, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 54:[2, 4, 9], Operations: ['51-42=9']
Exploring Operation: 2+4=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 54:[9, 6] Operation: 2+4=6
Moving to Node #0,0,0
Current State: 54:[9, 6], Operations: ['51-42=9', '2+4=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
56,
35,
33,
50
] | 44 |
[
"35-33=2",
"50*2=100",
"100-56=44"
] |
Current State: 44:[56, 35, 33, 50], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [56, 50, 2]
Generated Node #2: [56, 50, 2] from Operation: 35-33=2
Current State: 44:[56, 50, 2], Operations: ['35-33=2']
Exploring Operation: 50*2=100, Resulting Numbers: [56, 100]
Generated Node #3: [56, 100] from Operation: 50*2=100
Current State: 44:[56, 100], Operations: ['35-33=2', '50*2=100']
Exploring Operation: 100-56=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[56, 35, 33, 50], Operations: []
Exploring Operation: 50-33=17, Resulting Numbers: [56, 35, 17]
Generated Node #0,0: 44:[56, 35, 17] Operation: 50-33=17
Exploring Operation: 56-35=21, Resulting Numbers: [33, 50, 21]
Generated Node #0,1: 44:[33, 50, 21] Operation: 56-35=21
Exploring Operation: 56-50=6, Resulting Numbers: [35, 33, 6]
Generated Node #0,2: 44:[35, 33, 6] Operation: 56-50=6
Exploring Operation: 35-33=2, Resulting Numbers: [56, 50, 2]
Generated Node #0,3: 44:[56, 50, 2] Operation: 35-33=2
Exploring Operation: 56-33=23, Resulting Numbers: [35, 50, 23]
Generated Node #0,4: 44:[35, 50, 23] Operation: 56-33=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[35, 50, 23], Operations: ['56-33=23']
Exploring Operation: 35-23=12, Resulting Numbers: [50, 12]
Generated Node #0,4,0: 44:[50, 12] Operation: 35-23=12
Exploring Operation: 50-23=27, Resulting Numbers: [35, 27]
Generated Node #0,4,1: 44:[35, 27] Operation: 50-23=27
Exploring Operation: 50+23=73, Resulting Numbers: [35, 73]
Generated Node #0,4,2: 44:[35, 73] Operation: 50+23=73
Exploring Operation: 35+23=58, Resulting Numbers: [50, 58]
Generated Node #0,4,3: 44:[50, 58] Operation: 35+23=58
Exploring Operation: 50-35=15, Resulting Numbers: [23, 15]
Generated Node #0,4,4: 44:[23, 15] Operation: 50-35=15
Moving to Node #0,4,4
Current State: 44:[23, 15], Operations: ['56-33=23', '50-35=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,44 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Moving to Node #0,4,0
Current State: 44:[50, 12], Operations: ['56-33=23', '35-23=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,44 unequal: No Solution
Moving to Node #0,4,1
Current State: 44:[35, 27], Operations: ['56-33=23', '50-23=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,44 unequal: No Solution
Moving to Node #0,4,3
Current State: 44:[50, 58], Operations: ['56-33=23', '35+23=58']
Exploring Operation: 50*58=2900, Resulting Numbers: [2900]
2900,44 unequal: No Solution
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,44 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Moving to Node #0,4,2
Current State: 44:[35, 73], Operations: ['56-33=23', '50+23=73']
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,44 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[33, 50, 21], Operations: ['56-35=21']
Exploring Operation: 33+21=54, Resulting Numbers: [50, 54]
Generated Node #0,1,0: 44:[50, 54] Operation: 33+21=54
Exploring Operation: 33-21=12, Resulting Numbers: [50, 12]
Generated Node #0,1,1: 44:[50, 12] Operation: 33-21=12
Exploring Operation: 50-33=17, Resulting Numbers: [21, 17]
Generated Node #0,1,2: 44:[21, 17] Operation: 50-33=17
Exploring Operation: 50+21=71, Resulting Numbers: [33, 71]
Generated Node #0,1,3: 44:[33, 71] Operation: 50+21=71
Exploring Operation: 50-21=29, Resulting Numbers: [33, 29]
Generated Node #0,1,4: 44:[33, 29] Operation: 50-21=29
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[21, 17], Operations: ['56-35=21', '50-33=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,44 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[50, 12], Operations: ['56-35=21', '33-21=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[50, 54], Operations: ['56-35=21', '33+21=54']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,44 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 44:[33, 29], Operations: ['56-35=21', '50-21=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[33, 71], Operations: ['56-35=21', '50+21=71']
Exploring Operation: 33+71=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 33*71=2343, Resulting Numbers: [2343]
2343,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[56, 50, 2], Operations: ['35-33=2']
Exploring Operation: 50-2=48, Resulting Numbers: [56, 48]
Generated Node #0,3,0: 44:[56, 48] Operation: 50-2=48
Exploring Operation: 56/2=28, Resulting Numbers: [50, 28]
Generated Node #0,3,1: 44:[50, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [50, 54]
Generated Node #0,3,2: 44:[50, 54] Operation: 56-2=54
Exploring Operation: 56-50=6, Resulting Numbers: [2, 6]
Generated Node #0,3,3: 44:[2, 6] Operation: 56-50=6
Exploring Operation: 50/2=25, Resulting Numbers: [56, 25]
Generated Node #0,3,4: 44:[56, 25] Operation: 50/2=25
Moving to Node #0,3,3
Current State: 44:[2, 6], Operations: ['35-33=2', '56-50=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[50, 28], Operations: ['35-33=2', '56/2=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[56, 25], Operations: ['35-33=2', '50/2=25']
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,44 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[56, 48], Operations: ['35-33=2', '50-2=48']
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,44 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[50, 54], Operations: ['35-33=2', '56-2=54']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,44 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[35, 33, 6], Operations: ['56-50=6']
Exploring Operation: 33-6=27, Resulting Numbers: [35, 27]
Generated Node #0,2,0: 44:[35, 27] Operation: 33-6=27
Exploring Operation: 35-6=29, Resulting Numbers: [33, 29]
Generated Node #0,2,1: 44:[33, 29] Operation: 35-6=29
Exploring Operation: 35+6=41, Resulting Numbers: [33, 41]
Generated Node #0,2,2: 44:[33, 41] Operation: 35+6=41
Exploring Operation: 33+6=39, Resulting Numbers: [35, 39]
Generated Node #0,2,3: 44:[35, 39] Operation: 33+6=39
Exploring Operation: 35-33=2, Resulting Numbers: [6, 2]
Generated Node #0,2,4: 44:[6, 2] Operation: 35-33=2
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 44:[6, 2], Operations: ['56-50=6', '35-33=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[35, 27], Operations: ['56-50=6', '33-6=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[33, 41], Operations: ['56-50=6', '35+6=41']
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,44 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 44:[35, 39], Operations: ['56-50=6', '33+6=39']
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,44 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[33, 29], Operations: ['56-50=6', '35-6=29']
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[56, 35, 17], Operations: ['50-33=17']
Exploring Operation: 56-35=21, Resulting Numbers: [17, 21]
Generated Node #0,0,0: 44:[17, 21] Operation: 56-35=21
Exploring Operation: 56+17=73, Resulting Numbers: [35, 73]
Generated Node #0,0,1: 44:[35, 73] Operation: 56+17=73
Exploring Operation: 35+17=52, Resulting Numbers: [56, 52]
Generated Node #0,0,2: 44:[56, 52] Operation: 35+17=52
Exploring Operation: 35-17=18, Resulting Numbers: [56, 18]
Generated Node #0,0,3: 44:[56, 18] Operation: 35-17=18
Exploring Operation: 56-17=39, Resulting Numbers: [35, 39]
Generated Node #0,0,4: 44:[35, 39] Operation: 56-17=39
Moving to Node #0,0,0
Current State: 44:[17, 21], Operations: ['50-33=17', '56-35=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[35, 39], Operations: ['50-33=17', '56-17=39']
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[56, 18], Operations: ['50-33=17', '35-17=18']
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,44 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[56, 52], Operations: ['50-33=17', '35+17=52']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,44 unequal: No Solution
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[35, 73], Operations: ['50-33=17', '56+17=73']
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,44 unequal: No Solution
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,44 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,44 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
|
[
60,
20,
79,
45
] | 44 |
[
"60+20=80",
"79+45=124",
"124-80=44"
] |
Current State: 44:[60, 20, 79, 45], Operations: []
Exploring Operation: 60+20=80, Resulting Numbers: [79, 45, 80]
Generated Node #2: [79, 45, 80] from Operation: 60+20=80
Current State: 44:[79, 45, 80], Operations: ['60+20=80']
Exploring Operation: 79+45=124, Resulting Numbers: [80, 124]
Generated Node #3: [80, 124] from Operation: 79+45=124
Current State: 44:[80, 124], Operations: ['60+20=80', '79+45=124']
Exploring Operation: 124-80=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[60, 20, 79, 45], Operations: []
Exploring Operation: 79-20=59, Resulting Numbers: [60, 45, 59]
Generated Node #0,0: 44:[60, 45, 59] Operation: 79-20=59
Exploring Operation: 60/20=3, Resulting Numbers: [79, 45, 3]
Generated Node #0,1: 44:[79, 45, 3] Operation: 60/20=3
Exploring Operation: 79-45=34, Resulting Numbers: [60, 20, 34]
Generated Node #0,2: 44:[60, 20, 34] Operation: 79-45=34
Exploring Operation: 79-60=19, Resulting Numbers: [20, 45, 19]
Generated Node #0,3: 44:[20, 45, 19] Operation: 79-60=19
Moving to Node #0,3
Current State: 44:[20, 45, 19], Operations: ['79-60=19']
Exploring Operation: 20+19=39, Resulting Numbers: [45, 39]
Generated Node #0,3,0: 44:[45, 39] Operation: 20+19=39
Exploring Operation: 45-20=25, Resulting Numbers: [19, 25]
Generated Node #0,3,1: 44:[19, 25] Operation: 45-20=25
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #0,3,2: 44:[45, 1] Operation: 20-19=1
Exploring Operation: 45-19=26, Resulting Numbers: [20, 26]
Generated Node #0,3,3: 44:[20, 26] Operation: 45-19=26
Moving to Node #0,2
Current State: 44:[60, 20, 34], Operations: ['79-45=34']
Exploring Operation: 34-20=14, Resulting Numbers: [60, 14]
Generated Node #0,2,0: 44:[60, 14] Operation: 34-20=14
Exploring Operation: 60/20=3, Resulting Numbers: [34, 3]
Generated Node #0,2,1: 44:[34, 3] Operation: 60/20=3
Exploring Operation: 60-34=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 44:[20, 26] Operation: 60-34=26
Exploring Operation: 60-20=40, Resulting Numbers: [34, 40]
Generated Node #0,2,3: 44:[34, 40] Operation: 60-20=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[20, 26], Operations: ['79-45=34', '60-34=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[34, 3], Operations: ['79-45=34', '60/20=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 44:[34, 40], Operations: ['79-45=34', '60-20=40']
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,44 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[60, 14], Operations: ['79-45=34', '34-20=14']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,44 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: 44:[60, 45, 59], Operations: ['79-20=59']
Exploring Operation: 60-59=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 44:[45, 1] Operation: 60-59=1
Exploring Operation: 60-45=15, Resulting Numbers: [59, 15]
Generated Node #0,0,1: 44:[59, 15] Operation: 60-45=15
Exploring Operation: 60+45=105, Resulting Numbers: [59, 105]
Generated Node #0,0,2: 44:[59, 105] Operation: 60+45=105
Exploring Operation: 59-45=14, Resulting Numbers: [60, 14]
Generated Node #0,0,3: 44:[60, 14] Operation: 59-45=14
Moving to Node #0,1
Current State: 44:[79, 45, 3], Operations: ['60/20=3']
Exploring Operation: 45-3=42, Resulting Numbers: [79, 42]
Generated Node #0,1,0: 44:[79, 42] Operation: 45-3=42
Exploring Operation: 79+3=82, Resulting Numbers: [45, 82]
Generated Node #0,1,1: 44:[45, 82] Operation: 79+3=82
Exploring Operation: 79-3=76, Resulting Numbers: [45, 76]
Generated Node #0,1,2: 44:[45, 76] Operation: 79-3=76
Exploring Operation: 79-45=34, Resulting Numbers: [3, 34]
Generated Node #0,1,3: 44:[3, 34] Operation: 79-45=34
Moving to Node #0,3,2
Current State: 44:[45, 1], Operations: ['79-60=19', '20-19=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[60, 20, 79, 45], Operations: []
Exploring Operation: 79-60=19, Resulting Numbers: [20, 45, 19]
Generated Node #0,3: 44:[20, 45, 19] Operation: 79-60=19
Moving to Node #0,3
Current State: 44:[20, 45, 19], Operations: ['79-60=19']
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #0,3,2: 44:[45, 1] Operation: 20-19=1
Moving to Node #0,3,2
Current State: 44:[45, 1], Operations: ['79-60=19', '20-19=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.966146 |
hs_4
|
sum_heuristic
|
[
67,
9,
77,
12
] | 12 |
[
"67+9=76",
"77-76=1",
"12*1=12"
] |
Current State: 12:[67, 9, 77, 12], Operations: []
Exploring Operation: 67+9=76, Resulting Numbers: [77, 12, 76]
Generated Node #2: [77, 12, 76] from Operation: 67+9=76
Current State: 12:[77, 12, 76], Operations: ['67+9=76']
Exploring Operation: 77-76=1, Resulting Numbers: [12, 1]
Generated Node #3: [12, 1] from Operation: 77-76=1
Current State: 12:[12, 1], Operations: ['67+9=76', '77-76=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[67, 9, 77, 12], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [77, 12, 58]
Generated Node #0,0: 12:[77, 12, 58] Operation: 67-9=58
Exploring Operation: 77-67=10, Resulting Numbers: [9, 12, 10]
Generated Node #0,1: 12:[9, 12, 10] Operation: 77-67=10
Exploring Operation: 67-12=55, Resulting Numbers: [9, 77, 55]
Generated Node #0,2: 12:[9, 77, 55] Operation: 67-12=55
Moving to Node #0,1
Current State: 12:[9, 12, 10], Operations: ['77-67=10']
Exploring Operation: 12-10=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 12:[9, 2] Operation: 12-10=2
Exploring Operation: 12-9=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 12:[10, 3] Operation: 12-9=3
Exploring Operation: 10-9=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 12:[12, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[12, 1], Operations: ['77-67=10', '10-9=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[67, 9, 77, 12], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [9, 12, 10]
Generated Node #0,1: 12:[9, 12, 10] Operation: 77-67=10
Moving to Node #0,1
Current State: 12:[9, 12, 10], Operations: ['77-67=10']
Exploring Operation: 10-9=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 12:[12, 1] Operation: 10-9=1
Moving to Node #0,1,2
Current State: 12:[12, 1], Operations: ['77-67=10', '10-9=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
79,
61,
97,
12
] | 91 |
[
"79-61=18",
"97+12=109",
"109-18=91"
] |
Current State: 91:[79, 61, 97, 12], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [97, 12, 18]
Generated Node #2: [97, 12, 18] from Operation: 79-61=18
Current State: 91:[97, 12, 18], Operations: ['79-61=18']
Exploring Operation: 97+12=109, Resulting Numbers: [18, 109]
Generated Node #3: [18, 109] from Operation: 97+12=109
Current State: 91:[18, 109], Operations: ['79-61=18', '97+12=109']
Exploring Operation: 109-18=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[79, 61, 97, 12], Operations: []
Exploring Operation: 61+12=73, Resulting Numbers: [79, 97, 73]
Generated Node #0,0: 91:[79, 97, 73] Operation: 61+12=73
Exploring Operation: 79-61=18, Resulting Numbers: [97, 12, 18]
Generated Node #0,1: 91:[97, 12, 18] Operation: 79-61=18
Exploring Operation: 97-79=18, Resulting Numbers: [61, 12, 18]
Generated Node #0,2: 91:[61, 12, 18] Operation: 97-79=18
Exploring Operation: 97-61=36, Resulting Numbers: [79, 12, 36]
Generated Node #0,3: 91:[79, 12, 36] Operation: 97-61=36
Exploring Operation: 79+12=91, Resulting Numbers: [61, 97, 91]
Generated Node #0,4: 91:[61, 97, 91] Operation: 79+12=91
Moving to Node #0,1
Current State: 91:[97, 12, 18], Operations: ['79-61=18']
Exploring Operation: 97+12=109, Resulting Numbers: [18, 109]
Generated Node #0,1,0: 91:[18, 109] Operation: 97+12=109
Exploring Operation: 12+18=30, Resulting Numbers: [97, 30]
Generated Node #0,1,1: 91:[97, 30] Operation: 12+18=30
Exploring Operation: 97-12=85, Resulting Numbers: [18, 85]
Generated Node #0,1,2: 91:[18, 85] Operation: 97-12=85
Exploring Operation: 18-12=6, Resulting Numbers: [97, 6]
Generated Node #0,1,3: 91:[97, 6] Operation: 18-12=6
Exploring Operation: 97-18=79, Resulting Numbers: [12, 79]
Generated Node #0,1,4: 91:[12, 79] Operation: 97-18=79
Moving to Node #0,2
Current State: 91:[61, 12, 18], Operations: ['97-79=18']
Exploring Operation: 61+12=73, Resulting Numbers: [18, 73]
Generated Node #0,2,0: 91:[18, 73] Operation: 61+12=73
Exploring Operation: 61-18=43, Resulting Numbers: [12, 43]
Generated Node #0,2,1: 91:[12, 43] Operation: 61-18=43
Exploring Operation: 18-12=6, Resulting Numbers: [61, 6]
Generated Node #0,2,2: 91:[61, 6] Operation: 18-12=6
Exploring Operation: 61+18=79, Resulting Numbers: [12, 79]
Generated Node #0,2,3: 91:[12, 79] Operation: 61+18=79
Exploring Operation: 61-12=49, Resulting Numbers: [18, 49]
Generated Node #0,2,4: 91:[18, 49] Operation: 61-12=49
Moving to Node #0,4
Current State: 91:[61, 97, 91], Operations: ['79+12=91']
Exploring Operation: 91-61=30, Resulting Numbers: [97, 30]
Generated Node #0,4,0: 91:[97, 30] Operation: 91-61=30
Exploring Operation: 97-61=36, Resulting Numbers: [91, 36]
Generated Node #0,4,1: 91:[91, 36] Operation: 97-61=36
Exploring Operation: 97-91=6, Resulting Numbers: [61, 6]
Generated Node #0,4,2: 91:[61, 6] Operation: 97-91=6
Exploring Operation: 61+97=158, Resulting Numbers: [91, 158]
Generated Node #0,4,3: 91:[91, 158] Operation: 61+97=158
Exploring Operation: 61+91=152, Resulting Numbers: [97, 152]
Generated Node #0,4,4: 91:[97, 152] Operation: 61+91=152
Moving to Node #0,0
Current State: 91:[79, 97, 73], Operations: ['61+12=73']
Exploring Operation: 79-73=6, Resulting Numbers: [97, 6]
Generated Node #0,0,0: 91:[97, 6] Operation: 79-73=6
Exploring Operation: 97+73=170, Resulting Numbers: [79, 170]
Generated Node #0,0,1: 91:[79, 170] Operation: 97+73=170
Exploring Operation: 97-79=18, Resulting Numbers: [73, 18]
Generated Node #0,0,2: 91:[73, 18] Operation: 97-79=18
Exploring Operation: 97-73=24, Resulting Numbers: [79, 24]
Generated Node #0,0,3: 91:[79, 24] Operation: 97-73=24
Exploring Operation: 79+73=152, Resulting Numbers: [97, 152]
Generated Node #0,0,4: 91:[97, 152] Operation: 79+73=152
Moving to Node #0,3
Current State: 91:[79, 12, 36], Operations: ['97-61=36']
Exploring Operation: 79+12=91, Resulting Numbers: [36, 91]
Generated Node #0,3,0: 91:[36, 91] Operation: 79+12=91
Exploring Operation: 36-12=24, Resulting Numbers: [79, 24]
Generated Node #0,3,1: 91:[79, 24] Operation: 36-12=24
Exploring Operation: 79-36=43, Resulting Numbers: [12, 43]
Generated Node #0,3,2: 91:[12, 43] Operation: 79-36=43
Exploring Operation: 36/12=3, Resulting Numbers: [79, 3]
Generated Node #0,3,3: 91:[79, 3] Operation: 36/12=3
Exploring Operation: 79+36=115, Resulting Numbers: [12, 115]
Generated Node #0,3,4: 91:[12, 115] Operation: 79+36=115
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[79, 3], Operations: ['97-61=36', '36/12=3']
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,91 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,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,3,0
Current State: 91:[36, 91], Operations: ['97-61=36', '79+12=91']
Exploring Operation: 36*91=3276, Resulting Numbers: [3276]
3276,91 unequal: No Solution
Exploring Operation: 36+91=127, Resulting Numbers: [127]
127,91 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,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,3,1
Current State: 91:[79, 24], Operations: ['97-61=36', '36-12=24']
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,91 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,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,3,4
Current State: 91:[12, 115], Operations: ['97-61=36', '79+36=115']
Exploring Operation: 12+115=127, Resulting Numbers: [127]
127,91 unequal: No Solution
Exploring Operation: 115-12=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 12*115=1380, Resulting Numbers: [1380]
1380,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,3,2
Current State: 91:[12, 43], Operations: ['97-61=36', '79-36=43']
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,91 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,91 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: 91:[97, 6], Operations: ['79-61=18', '18-12=6']
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[79, 61, 97, 12], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [97, 12, 18]
Generated Node #0,1: 91:[97, 12, 18] Operation: 79-61=18
Moving to Node #0,1
Current State: 91:[97, 12, 18], Operations: ['79-61=18']
Exploring Operation: 18-12=6, Resulting Numbers: [97, 6]
Generated Node #0,1,3: 91:[97, 6] Operation: 18-12=6
Moving to Node #0,1,3
Current State: 91:[97, 6], Operations: ['79-61=18', '18-12=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.955729 |
hs_5
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.