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 |
|---|---|---|---|---|---|---|---|---|
[
7,
24,
61,
70
] | 22 | [
"7+24=31",
"70-61=9",
"31-9=22"
] | Current State: 22:[7, 24, 61, 70], Operations: []
Exploring Operation: 7+24=31, Resulting Numbers: [61, 70, 31]
Generated Node #2: [61, 70, 31] from Operation: 7+24=31
Current State: 22:[61, 70, 31], Operations: ['7+24=31']
Exploring Operation: 70-61=9, Resulting Numbers: [31, 9]
Generated Node #3: [31, 9] from Operation: 70-61=9
Current State: 22:[31, 9], Operations: ['7+24=31', '70-61=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[7, 24, 61, 70], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [7, 24, 9]
Generated Node #0,0: 22:[7, 24, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 22:[7, 24, 9], Operations: ['70-61=9']
Exploring Operation: 9-7=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 22:[24, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[24, 2], Operations: ['70-61=9', '9-7=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[7, 24, 61, 70], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [7, 24, 9]
Generated Node #0,0: 22:[7, 24, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 22:[7, 24, 9], Operations: ['70-61=9']
Exploring Operation: 9-7=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 22:[24, 2] Operation: 9-7=2
Moving to Node #0,0,0
Current State: 22:[24, 2], Operations: ['70-61=9', '9-7=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
53,
69,
61,
99
] | 21 | [
"61-53=8",
"69+99=168",
"168/8=21"
] | Current State: 21:[53, 69, 61, 99], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [69, 99, 8]
Generated Node #2: [69, 99, 8] from Operation: 61-53=8
Current State: 21:[69, 99, 8], Operations: ['61-53=8']
Exploring Operation: 69+99=168, Resulting Numbers: [8, 168]
Generated Node #3: [8, 168] from Operation: 69+99=168
Current State: 21:[8, 168], Operations: ['61-53=8', '69+99=168']
Exploring Operation: 168/8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[53, 69, 61, 99], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [53, 61, 30]
Generated Node #0,0: 21:[53, 61, 30] Operation: 99-69=30
Exploring Operation: 99-61=38, Resulting Numbers: [53, 69, 38]
Generated Node #0,1: 21:[53, 69, 38] Operation: 99-61=38
Moving to Node #0,0
Current State: 21:[53, 61, 30], Operations: ['99-69=30']
Exploring Operation: 61-53=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 21:[30, 8] Operation: 61-53=8
Exploring Operation: 53-30=23, Resulting Numbers: [61, 23]
Generated Node #0,0,1: 21:[61, 23] Operation: 53-30=23
Moving to Node #0,1
Current State: 21:[53, 69, 38], Operations: ['99-61=38']
Exploring Operation: 69-38=31, Resulting Numbers: [53, 31]
Generated Node #0,1,0: 21:[53, 31] Operation: 69-38=31
Exploring Operation: 69-53=16, Resulting Numbers: [38, 16]
Generated Node #0,1,1: 21:[38, 16] Operation: 69-53=16
Moving to Node #0,0,0
Current State: 21:[30, 8], Operations: ['99-69=30', '61-53=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[38, 16], Operations: ['99-61=38', '69-53=16']
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[61, 23], Operations: ['99-69=30', '53-30=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[53, 31], Operations: ['99-61=38', '69-38=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,21 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
10,
33,
60
] | 13 | [
"4+10=14",
"60-33=27",
"27-14=13"
] | Current State: 13:[4, 10, 33, 60], Operations: []
Exploring Operation: 4+10=14, Resulting Numbers: [33, 60, 14]
Generated Node #2: [33, 60, 14] from Operation: 4+10=14
Current State: 13:[33, 60, 14], Operations: ['4+10=14']
Exploring Operation: 60-33=27, Resulting Numbers: [14, 27]
Generated Node #3: [14, 27] from Operation: 60-33=27
Current State: 13:[14, 27], Operations: ['4+10=14', '60-33=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[4, 10, 33, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [10, 33, 15]
Generated Node #0,0: 13:[10, 33, 15] Operation: 60/4=15
Exploring Operation: 60-33=27, Resulting Numbers: [4, 10, 27]
Generated Node #0,1: 13:[4, 10, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[10, 33, 15], Operations: ['60/4=15']
Exploring Operation: 33-15=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 13:[10, 18] Operation: 33-15=18
Exploring Operation: 33-10=23, Resulting Numbers: [15, 23]
Generated Node #0,0,1: 13:[15, 23] Operation: 33-10=23
Moving to Node #0,0,0
Current State: 13:[10, 18], Operations: ['60/4=15', '33-15=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[15, 23], Operations: ['60/4=15', '33-10=23']
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[4, 10, 27], Operations: ['60-33=27']
Exploring Operation: 27-10=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 13:[4, 17] Operation: 27-10=17
Exploring Operation: 27-4=23, Resulting Numbers: [10, 23]
Generated Node #0,1,1: 13:[10, 23] Operation: 27-4=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[4, 17], Operations: ['60-33=27', '27-10=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[4, 10, 33, 60], Operations: []
Exploring Operation: 60-33=27, Resulting Numbers: [4, 10, 27]
Generated Node #0,1: 13:[4, 10, 27] Operation: 60-33=27
Moving to Node #0,1
Current State: 13:[4, 10, 27], Operations: ['60-33=27']
Exploring Operation: 27-10=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 13:[4, 17] Operation: 27-10=17
Moving to Node #0,1,0
Current State: 13:[4, 17], Operations: ['60-33=27', '27-10=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
69,
45,
90,
10
] | 74 | [
"90/45=2",
"10/2=5",
"69+5=74"
] | Current State: 74:[69, 45, 90, 10], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [69, 10, 2]
Generated Node #2: [69, 10, 2] from Operation: 90/45=2
Current State: 74:[69, 10, 2], Operations: ['90/45=2']
Exploring Operation: 10/2=5, Resulting Numbers: [69, 5]
Generated Node #3: [69, 5] from Operation: 10/2=5
Current State: 74:[69, 5], Operations: ['90/45=2', '10/2=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[69, 45, 90, 10], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [69, 45, 9]
Generated Node #0,0: 74:[69, 45, 9] Operation: 90/10=9
Exploring Operation: 45-10=35, Resulting Numbers: [69, 90, 35]
Generated Node #0,1: 74:[69, 90, 35] Operation: 45-10=35
Exploring Operation: 90/45=2, Resulting Numbers: [69, 10, 2]
Generated Node #0,2: 74:[69, 10, 2] Operation: 90/45=2
Exploring Operation: 90-10=80, Resulting Numbers: [69, 45, 80]
Generated Node #0,3: 74:[69, 45, 80] Operation: 90-10=80
Exploring Operation: 90-45=45, Resulting Numbers: [69, 10, 45]
Generated Node #0,4: 74:[69, 10, 45] Operation: 90-45=45
Moving to Node #0,2
Current State: 74:[69, 10, 2], Operations: ['90/45=2']
Exploring Operation: 10-2=8, Resulting Numbers: [69, 8]
Generated Node #0,2,0: 74:[69, 8] Operation: 10-2=8
Exploring Operation: 69-10=59, Resulting Numbers: [2, 59]
Generated Node #0,2,1: 74:[2, 59] Operation: 69-10=59
Exploring Operation: 69+10=79, Resulting Numbers: [2, 79]
Generated Node #0,2,2: 74:[2, 79] Operation: 69+10=79
Exploring Operation: 10/2=5, Resulting Numbers: [69, 5]
Generated Node #0,2,3: 74:[69, 5] Operation: 10/2=5
Exploring Operation: 69+2=71, Resulting Numbers: [10, 71]
Generated Node #0,2,4: 74:[10, 71] Operation: 69+2=71
Moving to Node #0,3
Current State: 74:[69, 45, 80], Operations: ['90-10=80']
Exploring Operation: 80-69=11, Resulting Numbers: [45, 11]
Generated Node #0,3,0: 74:[45, 11] Operation: 80-69=11
Exploring Operation: 69+45=114, Resulting Numbers: [80, 114]
Generated Node #0,3,1: 74:[80, 114] Operation: 69+45=114
Exploring Operation: 69-45=24, Resulting Numbers: [80, 24]
Generated Node #0,3,2: 74:[80, 24] Operation: 69-45=24
Exploring Operation: 45+80=125, Resulting Numbers: [69, 125]
Generated Node #0,3,3: 74:[69, 125] Operation: 45+80=125
Exploring Operation: 80-45=35, Resulting Numbers: [69, 35]
Generated Node #0,3,4: 74:[69, 35] Operation: 80-45=35
Moving to Node #0,0
Current State: 74:[69, 45, 9], Operations: ['90/10=9']
Exploring Operation: 45-9=36, Resulting Numbers: [69, 36]
Generated Node #0,0,0: 74:[69, 36] Operation: 45-9=36
Exploring Operation: 69-45=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 74:[9, 24] Operation: 69-45=24
Exploring Operation: 69-9=60, Resulting Numbers: [45, 60]
Generated Node #0,0,2: 74:[45, 60] Operation: 69-9=60
Exploring Operation: 45/9=5, Resulting Numbers: [69, 5]
Generated Node #0,0,3: 74:[69, 5] Operation: 45/9=5
Exploring Operation: 69+9=78, Resulting Numbers: [45, 78]
Generated Node #0,0,4: 74:[45, 78] Operation: 69+9=78
Moving to Node #0,4
Current State: 74:[69, 10, 45], Operations: ['90-45=45']
Exploring Operation: 69-45=24, Resulting Numbers: [10, 24]
Generated Node #0,4,0: 74:[10, 24] Operation: 69-45=24
Exploring Operation: 69+10=79, Resulting Numbers: [45, 79]
Generated Node #0,4,1: 74:[45, 79] Operation: 69+10=79
Exploring Operation: 10+45=55, Resulting Numbers: [69, 55]
Generated Node #0,4,2: 74:[69, 55] Operation: 10+45=55
Exploring Operation: 45-10=35, Resulting Numbers: [69, 35]
Generated Node #0,4,3: 74:[69, 35] Operation: 45-10=35
Exploring Operation: 69-10=59, Resulting Numbers: [45, 59]
Generated Node #0,4,4: 74:[45, 59] Operation: 69-10=59
Moving to Node #0,1
Current State: 74:[69, 90, 35], Operations: ['45-10=35']
Exploring Operation: 69-35=34, Resulting Numbers: [90, 34]
Generated Node #0,1,0: 74:[90, 34] Operation: 69-35=34
Exploring Operation: 90-35=55, Resulting Numbers: [69, 55]
Generated Node #0,1,1: 74:[69, 55] Operation: 90-35=55
Exploring Operation: 69+35=104, Resulting Numbers: [90, 104]
Generated Node #0,1,2: 74:[90, 104] Operation: 69+35=104
Exploring Operation: 90+35=125, Resulting Numbers: [69, 125]
Generated Node #0,1,3: 74:[69, 125] Operation: 90+35=125
Exploring Operation: 90-69=21, Resulting Numbers: [35, 21]
Generated Node #0,1,4: 74:[35, 21] Operation: 90-69=21
Moving to Node #0,2,2
Current State: 74:[2, 79], Operations: ['90/45=2', '69+10=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,74 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[69, 36], Operations: ['90/10=9', '45-9=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[69, 35], Operations: ['90-10=80', '80-45=35']
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,74 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[69, 35], Operations: ['90-45=45', '45-10=35']
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,74 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[69, 5], Operations: ['90/10=9', '45/9=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[69, 45, 90, 10], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [69, 45, 9]
Generated Node #0,0: 74:[69, 45, 9] Operation: 90/10=9
Moving to Node #0,0
Current State: 74:[69, 45, 9], Operations: ['90/10=9']
Exploring Operation: 45/9=5, Resulting Numbers: [69, 5]
Generated Node #0,0,3: 74:[69, 5] Operation: 45/9=5
Moving to Node #0,0,3
Current State: 74:[69, 5], Operations: ['90/10=9', '45/9=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.959201 | hs_5 | mult_heuristic |
[
26,
49,
91,
4
] | 12 | [
"26+49=75",
"91-4=87",
"87-75=12"
] | Current State: 12:[26, 49, 91, 4], Operations: []
Exploring Operation: 26+49=75, Resulting Numbers: [91, 4, 75]
Generated Node #2: [91, 4, 75] from Operation: 26+49=75
Current State: 12:[91, 4, 75], Operations: ['26+49=75']
Exploring Operation: 91-4=87, Resulting Numbers: [75, 87]
Generated Node #3: [75, 87] from Operation: 91-4=87
Current State: 12:[75, 87], Operations: ['26+49=75', '91-4=87']
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[26, 49, 91, 4], Operations: []
Exploring Operation: 26-4=22, Resulting Numbers: [49, 91, 22]
Generated Node #0,0: 12:[49, 91, 22] Operation: 26-4=22
Exploring Operation: 49-26=23, Resulting Numbers: [91, 4, 23]
Generated Node #0,1: 12:[91, 4, 23] Operation: 49-26=23
Exploring Operation: 91-26=65, Resulting Numbers: [49, 4, 65]
Generated Node #0,2: 12:[49, 4, 65] Operation: 91-26=65
Exploring Operation: 49-4=45, Resulting Numbers: [26, 91, 45]
Generated Node #0,3: 12:[26, 91, 45] Operation: 49-4=45
Exploring Operation: 91-49=42, Resulting Numbers: [26, 4, 42]
Generated Node #0,4: 12:[26, 4, 42] Operation: 91-49=42
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[26, 4, 42], Operations: ['91-49=42']
Exploring Operation: 42-26=16, Resulting Numbers: [4, 16]
Generated Node #0,4,0: 12:[4, 16] Operation: 42-26=16
Exploring Operation: 26-4=22, Resulting Numbers: [42, 22]
Generated Node #0,4,1: 12:[42, 22] Operation: 26-4=22
Exploring Operation: 26+4=30, Resulting Numbers: [42, 30]
Generated Node #0,4,2: 12:[42, 30] Operation: 26+4=30
Exploring Operation: 4+42=46, Resulting Numbers: [26, 46]
Generated Node #0,4,3: 12:[26, 46] Operation: 4+42=46
Exploring Operation: 42-4=38, Resulting Numbers: [26, 38]
Generated Node #0,4,4: 12:[26, 38] Operation: 42-4=38
Moving to Node #0,4,0
Current State: 12:[4, 16], Operations: ['91-49=42', '42-26=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[26, 49, 91, 4], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [26, 4, 42]
Generated Node #0,4: 12:[26, 4, 42] Operation: 91-49=42
Moving to Node #0,4
Current State: 12:[26, 4, 42], Operations: ['91-49=42']
Exploring Operation: 42-26=16, Resulting Numbers: [4, 16]
Generated Node #0,4,0: 12:[4, 16] Operation: 42-26=16
Moving to Node #0,4,0
Current State: 12:[4, 16], Operations: ['91-49=42', '42-26=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
30,
15,
12,
8
] | 90 | [
"12-8=4",
"15*4=60",
"30+60=90"
] | Current State: 90:[30, 15, 12, 8], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [30, 15, 4]
Generated Node #2: [30, 15, 4] from Operation: 12-8=4
Current State: 90:[30, 15, 4], Operations: ['12-8=4']
Exploring Operation: 15*4=60, Resulting Numbers: [30, 60]
Generated Node #3: [30, 60] from Operation: 15*4=60
Current State: 90:[30, 60], Operations: ['12-8=4', '15*4=60']
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[30, 15, 12, 8], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [15, 8, 18]
Generated Node #0,0: 90:[15, 8, 18] Operation: 30-12=18
Exploring Operation: 15-12=3, Resulting Numbers: [30, 8, 3]
Generated Node #0,1: 90:[30, 8, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[15, 8, 18], Operations: ['30-12=18']
Exploring Operation: 15-8=7, Resulting Numbers: [18, 7]
Generated Node #0,0,0: 90:[18, 7] Operation: 15-8=7
Exploring Operation: 18-8=10, Resulting Numbers: [15, 10]
Generated Node #0,0,1: 90:[15, 10] Operation: 18-8=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[15, 10], Operations: ['30-12=18', '18-8=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[18, 7], Operations: ['30-12=18', '15-8=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[30, 8, 3], Operations: ['15-12=3']
Exploring Operation: 30*3=90, Resulting Numbers: [8, 90]
Generated Node #0,1,0: 90:[8, 90] Operation: 30*3=90
Exploring Operation: 8-3=5, Resulting Numbers: [30, 5]
Generated Node #0,1,1: 90:[30, 5] Operation: 8-3=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[30, 5], Operations: ['15-12=3', '8-3=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,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:[8, 90], Operations: ['15-12=3', '30*3=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,90 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,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_2 | mult_heuristic |
[
35,
5,
1,
72
] | 47 | [
"5+1=6",
"72/6=12",
"35+12=47"
] | Current State: 47:[35, 5, 1, 72], Operations: []
Exploring Operation: 5+1=6, Resulting Numbers: [35, 72, 6]
Generated Node #2: [35, 72, 6] from Operation: 5+1=6
Current State: 47:[35, 72, 6], Operations: ['5+1=6']
Exploring Operation: 72/6=12, Resulting Numbers: [35, 12]
Generated Node #3: [35, 12] from Operation: 72/6=12
Current State: 47:[35, 12], Operations: ['5+1=6', '72/6=12']
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[35, 5, 1, 72], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [5, 72, 36]
Generated Node #0,0: 47:[5, 72, 36] Operation: 35+1=36
Exploring Operation: 35+5=40, Resulting Numbers: [1, 72, 40]
Generated Node #0,1: 47:[1, 72, 40] Operation: 35+5=40
Moving to Node #0,0
Current State: 47:[5, 72, 36], Operations: ['35+1=36']
Exploring Operation: 5+36=41, Resulting Numbers: [72, 41]
Generated Node #0,0,0: 47:[72, 41] Operation: 5+36=41
Exploring Operation: 72-5=67, Resulting Numbers: [36, 67]
Generated Node #0,0,1: 47:[36, 67] Operation: 72-5=67
Moving to Node #0,1
Current State: 47:[1, 72, 40], Operations: ['35+5=40']
Exploring Operation: 1+40=41, Resulting Numbers: [72, 41]
Generated Node #0,1,0: 47:[72, 41] Operation: 1+40=41
Exploring Operation: 72-1=71, Resulting Numbers: [40, 71]
Generated Node #0,1,1: 47:[40, 71] Operation: 72-1=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[72, 41], Operations: ['35+5=40', '1+40=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[40, 71], Operations: ['35+5=40', '72-1=71']
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,47 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: 47:[72, 41], Operations: ['35+1=36', '5+36=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[36, 67], Operations: ['35+1=36', '72-5=67']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
89,
36,
62
] | 87 | [
"36-5=31",
"62/31=2",
"89-2=87"
] | Current State: 87:[5, 89, 36, 62], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [89, 62, 31]
Generated Node #2: [89, 62, 31] from Operation: 36-5=31
Current State: 87:[89, 62, 31], Operations: ['36-5=31']
Exploring Operation: 62/31=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 62/31=2
Current State: 87:[89, 2], Operations: ['36-5=31', '62/31=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[5, 89, 36, 62], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [89, 62, 31]
Generated Node #0,0: 87:[89, 62, 31] Operation: 36-5=31
Exploring Operation: 36+62=98, Resulting Numbers: [5, 89, 98]
Generated Node #0,1: 87:[5, 89, 98] Operation: 36+62=98
Exploring Operation: 5+62=67, Resulting Numbers: [89, 36, 67]
Generated Node #0,2: 87:[89, 36, 67] Operation: 5+62=67
Exploring Operation: 62-36=26, Resulting Numbers: [5, 89, 26]
Generated Node #0,3: 87:[5, 89, 26] Operation: 62-36=26
Exploring Operation: 89-62=27, Resulting Numbers: [5, 36, 27]
Generated Node #0,4: 87:[5, 36, 27] Operation: 89-62=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[5, 89, 26], Operations: ['62-36=26']
Exploring Operation: 5+26=31, Resulting Numbers: [89, 31]
Generated Node #0,3,0: 87:[89, 31] Operation: 5+26=31
Exploring Operation: 5+89=94, Resulting Numbers: [26, 94]
Generated Node #0,3,1: 87:[26, 94] Operation: 5+89=94
Exploring Operation: 89-26=63, Resulting Numbers: [5, 63]
Generated Node #0,3,2: 87:[5, 63] Operation: 89-26=63
Exploring Operation: 89-5=84, Resulting Numbers: [26, 84]
Generated Node #0,3,3: 87:[26, 84] Operation: 89-5=84
Exploring Operation: 26-5=21, Resulting Numbers: [89, 21]
Generated Node #0,3,4: 87:[89, 21] Operation: 26-5=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[89, 31], Operations: ['62-36=26', '5+26=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,87 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[26, 84], Operations: ['62-36=26', '89-5=84']
Exploring Operation: 26*84=2184, Resulting Numbers: [2184]
2184,87 unequal: No Solution
Exploring Operation: 26+84=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[26, 94], Operations: ['62-36=26', '5+89=94']
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,87 unequal: No Solution
Exploring Operation: 26*94=2444, Resulting Numbers: [2444]
2444,87 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 87:[89, 21], Operations: ['62-36=26', '26-5=21']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,87 unequal: No Solution
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[5, 63], Operations: ['62-36=26', '89-26=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[5, 36, 27], Operations: ['89-62=27']
Exploring Operation: 27-5=22, Resulting Numbers: [36, 22]
Generated Node #0,4,0: 87:[36, 22] Operation: 27-5=22
Exploring Operation: 36-27=9, Resulting Numbers: [5, 9]
Generated Node #0,4,1: 87:[5, 9] Operation: 36-27=9
Exploring Operation: 5+27=32, Resulting Numbers: [36, 32]
Generated Node #0,4,2: 87:[36, 32] Operation: 5+27=32
Exploring Operation: 5+36=41, Resulting Numbers: [27, 41]
Generated Node #0,4,3: 87:[27, 41] Operation: 5+36=41
Exploring Operation: 36-5=31, Resulting Numbers: [27, 31]
Generated Node #0,4,4: 87:[27, 31] Operation: 36-5=31
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 87:[27, 31], Operations: ['89-62=27', '36-5=31']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 87:[5, 9], Operations: ['89-62=27', '36-27=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 87:[36, 32], Operations: ['89-62=27', '5+27=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,87 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 87:[36, 22], Operations: ['89-62=27', '27-5=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,87 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 87:[27, 41], Operations: ['89-62=27', '5+36=41']
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[5, 89, 98], Operations: ['36+62=98']
Exploring Operation: 5+89=94, Resulting Numbers: [98, 94]
Generated Node #0,1,0: 87:[98, 94] Operation: 5+89=94
Exploring Operation: 5+98=103, Resulting Numbers: [89, 103]
Generated Node #0,1,1: 87:[89, 103] Operation: 5+98=103
Exploring Operation: 98-89=9, Resulting Numbers: [5, 9]
Generated Node #0,1,2: 87:[5, 9] Operation: 98-89=9
Exploring Operation: 89-5=84, Resulting Numbers: [98, 84]
Generated Node #0,1,3: 87:[98, 84] Operation: 89-5=84
Exploring Operation: 98-5=93, Resulting Numbers: [89, 93]
Generated Node #0,1,4: 87:[89, 93] Operation: 98-5=93
Moving to Node #0,1,2
Current State: 87:[5, 9], Operations: ['36+62=98', '98-89=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[89, 93], Operations: ['36+62=98', '98-5=93']
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,87 unequal: No Solution
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[98, 84], Operations: ['36+62=98', '89-5=84']
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 98+84=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 98*84=8232, Resulting Numbers: [8232]
8232,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[98, 94], Operations: ['36+62=98', '5+89=94']
Exploring Operation: 98*94=9212, Resulting Numbers: [9212]
9212,87 unequal: No Solution
Exploring Operation: 98+94=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 98-94=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[89, 103], Operations: ['36+62=98', '5+98=103']
Exploring Operation: 89+103=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 89*103=9167, Resulting Numbers: [9167]
9167,87 unequal: No Solution
Exploring Operation: 103-89=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No 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: 87:[89, 62, 31], Operations: ['36-5=31']
Exploring Operation: 62/31=2, Resulting Numbers: [89, 2]
Generated Node #0,0,0: 87:[89, 2] Operation: 62/31=2
Exploring Operation: 89-31=58, Resulting Numbers: [62, 58]
Generated Node #0,0,1: 87:[62, 58] Operation: 89-31=58
Exploring Operation: 62+31=93, Resulting Numbers: [89, 93]
Generated Node #0,0,2: 87:[89, 93] Operation: 62+31=93
Exploring Operation: 89-62=27, Resulting Numbers: [31, 27]
Generated Node #0,0,3: 87:[31, 27] Operation: 89-62=27
Exploring Operation: 62-31=31, Resulting Numbers: [89, 31]
Generated Node #0,0,4: 87:[89, 31] Operation: 62-31=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[89, 2], Operations: ['36-5=31', '62/31=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[5, 89, 36, 62], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [89, 62, 31]
Generated Node #0,0: 87:[89, 62, 31] Operation: 36-5=31
Moving to Node #0,0
Current State: 87:[89, 62, 31], Operations: ['36-5=31']
Exploring Operation: 62/31=2, Resulting Numbers: [89, 2]
Generated Node #0,0,0: 87:[89, 2] Operation: 62/31=2
Moving to Node #0,0,0
Current State: 87:[89, 2], Operations: ['36-5=31', '62/31=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934896 | hs_5 | sum_heuristic |
[
60,
14,
38,
52
] | 44 | [
"60-14=46",
"38+52=90",
"90-46=44"
] | Current State: 44:[60, 14, 38, 52], Operations: []
Exploring Operation: 60-14=46, Resulting Numbers: [38, 52, 46]
Generated Node #2: [38, 52, 46] from Operation: 60-14=46
Current State: 44:[38, 52, 46], Operations: ['60-14=46']
Exploring Operation: 38+52=90, Resulting Numbers: [46, 90]
Generated Node #3: [46, 90] from Operation: 38+52=90
Current State: 44:[46, 90], Operations: ['60-14=46', '38+52=90']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[60, 14, 38, 52], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [14, 38, 8]
Generated Node #0,0: 44:[14, 38, 8] Operation: 60-52=8
Exploring Operation: 60-14=46, Resulting Numbers: [38, 52, 46]
Generated Node #0,1: 44:[38, 52, 46] Operation: 60-14=46
Exploring Operation: 60-38=22, Resulting Numbers: [14, 52, 22]
Generated Node #0,2: 44:[14, 52, 22] Operation: 60-38=22
Exploring Operation: 52-38=14, Resulting Numbers: [60, 14, 14]
Generated Node #0,3: 44:[60, 14, 14] Operation: 52-38=14
Exploring Operation: 38-14=24, Resulting Numbers: [60, 52, 24]
Generated Node #0,4: 44:[60, 52, 24] Operation: 38-14=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[14, 52, 22], Operations: ['60-38=22']
Exploring Operation: 14+52=66, Resulting Numbers: [22, 66]
Generated Node #0,2,0: 44:[22, 66] Operation: 14+52=66
Exploring Operation: 52-22=30, Resulting Numbers: [14, 30]
Generated Node #0,2,1: 44:[14, 30] Operation: 52-22=30
Exploring Operation: 14+22=36, Resulting Numbers: [52, 36]
Generated Node #0,2,2: 44:[52, 36] Operation: 14+22=36
Exploring Operation: 52-14=38, Resulting Numbers: [22, 38]
Generated Node #0,2,3: 44:[22, 38] Operation: 52-14=38
Exploring Operation: 22-14=8, Resulting Numbers: [52, 8]
Generated Node #0,2,4: 44:[52, 8] Operation: 22-14=8
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 44:[22, 38], Operations: ['60-38=22', '52-14=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,44 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,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:[14, 30], Operations: ['60-38=22', '52-22=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,44 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[60, 14, 38, 52], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [14, 52, 22]
Generated Node #0,2: 44:[14, 52, 22] Operation: 60-38=22
Moving to Node #0,2
Current State: 44:[14, 52, 22], Operations: ['60-38=22']
Exploring Operation: 52-22=30, Resulting Numbers: [14, 30]
Generated Node #0,2,1: 44:[14, 30] Operation: 52-22=30
Moving to Node #0,2,1
Current State: 44:[14, 30], Operations: ['60-38=22', '52-22=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
77,
76,
8,
60
] | 69 | [
"77-76=1",
"8+60=68",
"1+68=69"
] | Current State: 69:[77, 76, 8, 60], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [8, 60, 1]
Generated Node #2: [8, 60, 1] from Operation: 77-76=1
Current State: 69:[8, 60, 1], Operations: ['77-76=1']
Exploring Operation: 8+60=68, Resulting Numbers: [1, 68]
Generated Node #3: [1, 68] from Operation: 8+60=68
Current State: 69:[1, 68], Operations: ['77-76=1', '8+60=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[77, 76, 8, 60], Operations: []
Exploring Operation: 77-8=69, Resulting Numbers: [76, 60, 69]
Generated Node #0,0: 69:[76, 60, 69] Operation: 77-8=69
Exploring Operation: 77-76=1, Resulting Numbers: [8, 60, 1]
Generated Node #0,1: 69:[8, 60, 1] Operation: 77-76=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[76, 60, 69], Operations: ['77-8=69']
Exploring Operation: 76-60=16, Resulting Numbers: [69, 16]
Generated Node #0,0,0: 69:[69, 16] Operation: 76-60=16
Exploring Operation: 76-69=7, Resulting Numbers: [60, 7]
Generated Node #0,0,1: 69:[60, 7] Operation: 76-69=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[69, 16], Operations: ['77-8=69', '76-60=16']
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[60, 7], Operations: ['77-8=69', '76-69=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[8, 60, 1], Operations: ['77-76=1']
Exploring Operation: 8-1=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 69:[60, 7] Operation: 8-1=7
Exploring Operation: 8+60=68, Resulting Numbers: [1, 68]
Generated Node #0,1,1: 69:[1, 68] Operation: 8+60=68
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[1, 68], Operations: ['77-76=1', '8+60=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[77, 76, 8, 60], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [8, 60, 1]
Generated Node #0,1: 69:[8, 60, 1] Operation: 77-76=1
Moving to Node #0,1
Current State: 69:[8, 60, 1], Operations: ['77-76=1']
Exploring Operation: 8+60=68, Resulting Numbers: [1, 68]
Generated Node #0,1,1: 69:[1, 68] Operation: 8+60=68
Moving to Node #0,1,1
Current State: 69:[1, 68], Operations: ['77-76=1', '8+60=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
66,
12,
2,
25
] | 58 | [
"66-12=54",
"54-25=29",
"2*29=58"
] | Current State: 58:[66, 12, 2, 25], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [2, 25, 54]
Generated Node #2: [2, 25, 54] from Operation: 66-12=54
Current State: 58:[2, 25, 54], Operations: ['66-12=54']
Exploring Operation: 54-25=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 54-25=29
Current State: 58:[2, 29], Operations: ['66-12=54', '54-25=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[66, 12, 2, 25], Operations: []
Exploring Operation: 12+25=37, Resulting Numbers: [66, 2, 37]
Generated Node #0,0: 58:[66, 2, 37] Operation: 12+25=37
Exploring Operation: 66-12=54, Resulting Numbers: [2, 25, 54]
Generated Node #0,1: 58:[2, 25, 54] Operation: 66-12=54
Exploring Operation: 12/2=6, Resulting Numbers: [66, 25, 6]
Generated Node #0,2: 58:[66, 25, 6] Operation: 12/2=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[2, 25, 54], Operations: ['66-12=54']
Exploring Operation: 2+25=27, Resulting Numbers: [54, 27]
Generated Node #0,1,0: 58:[54, 27] Operation: 2+25=27
Exploring Operation: 54-25=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 58:[2, 29] Operation: 54-25=29
Exploring Operation: 2+54=56, Resulting Numbers: [25, 56]
Generated Node #0,1,2: 58:[25, 56] Operation: 2+54=56
Moving to Node #0,1,1
Current State: 58:[2, 29], Operations: ['66-12=54', '54-25=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[66, 12, 2, 25], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [2, 25, 54]
Generated Node #0,1: 58:[2, 25, 54] Operation: 66-12=54
Moving to Node #0,1
Current State: 58:[2, 25, 54], Operations: ['66-12=54']
Exploring Operation: 54-25=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 58:[2, 29] Operation: 54-25=29
Moving to Node #0,1,1
Current State: 58:[2, 29], Operations: ['66-12=54', '54-25=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
25,
46,
11,
10
] | 39 | [
"25+46=71",
"11*10=110",
"110-71=39"
] | Current State: 39:[25, 46, 11, 10], Operations: []
Exploring Operation: 25+46=71, Resulting Numbers: [11, 10, 71]
Generated Node #2: [11, 10, 71] from Operation: 25+46=71
Current State: 39:[11, 10, 71], Operations: ['25+46=71']
Exploring Operation: 11*10=110, Resulting Numbers: [71, 110]
Generated Node #3: [71, 110] from Operation: 11*10=110
Current State: 39:[71, 110], Operations: ['25+46=71', '11*10=110']
Exploring Operation: 110-71=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[25, 46, 11, 10], Operations: []
Exploring Operation: 25+11=36, Resulting Numbers: [46, 10, 36]
Generated Node #0,0: 39:[46, 10, 36] Operation: 25+11=36
Exploring Operation: 46-25=21, Resulting Numbers: [11, 10, 21]
Generated Node #0,1: 39:[11, 10, 21] Operation: 46-25=21
Exploring Operation: 25-10=15, Resulting Numbers: [46, 11, 15]
Generated Node #0,2: 39:[46, 11, 15] Operation: 25-10=15
Exploring Operation: 25-11=14, Resulting Numbers: [46, 10, 14]
Generated Node #0,3: 39:[46, 10, 14] Operation: 25-11=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[46, 11, 15], Operations: ['25-10=15']
Exploring Operation: 46-11=35, Resulting Numbers: [15, 35]
Generated Node #0,2,0: 39:[15, 35] Operation: 46-11=35
Exploring Operation: 15-11=4, Resulting Numbers: [46, 4]
Generated Node #0,2,1: 39:[46, 4] Operation: 15-11=4
Exploring Operation: 46-15=31, Resulting Numbers: [11, 31]
Generated Node #0,2,2: 39:[11, 31] Operation: 46-15=31
Exploring Operation: 46+11=57, Resulting Numbers: [15, 57]
Generated Node #0,2,3: 39:[15, 57] Operation: 46+11=57
Moving to Node #0,2,0
Current State: 39:[15, 35], Operations: ['25-10=15', '46-11=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[46, 4], Operations: ['25-10=15', '15-11=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,39 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[11, 31], Operations: ['25-10=15', '46-15=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[15, 57], Operations: ['25-10=15', '46+11=57']
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[46, 10, 14], Operations: ['25-11=14']
Exploring Operation: 46+10=56, Resulting Numbers: [14, 56]
Generated Node #0,3,0: 39:[14, 56] Operation: 46+10=56
Exploring Operation: 46-14=32, Resulting Numbers: [10, 32]
Generated Node #0,3,1: 39:[10, 32] Operation: 46-14=32
Exploring Operation: 46-10=36, Resulting Numbers: [14, 36]
Generated Node #0,3,2: 39:[14, 36] Operation: 46-10=36
Exploring Operation: 14-10=4, Resulting Numbers: [46, 4]
Generated Node #0,3,3: 39:[46, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[14, 36], Operations: ['25-11=14', '46-10=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,39 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[46, 4], Operations: ['25-11=14', '14-10=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[10, 32], Operations: ['25-11=14', '46-14=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[14, 56], Operations: ['25-11=14', '46+10=56']
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[46, 10, 36], Operations: ['25+11=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 39:[10, 10] Operation: 46-36=10
Exploring Operation: 46-10=36, Resulting Numbers: [36, 36]
Generated Node #0,0,1: 39:[36, 36] Operation: 46-10=36
Exploring Operation: 46+10=56, Resulting Numbers: [36, 56]
Generated Node #0,0,2: 39:[36, 56] Operation: 46+10=56
Exploring Operation: 10+36=46, Resulting Numbers: [46, 46]
Generated Node #0,0,3: 39:[46, 46] Operation: 10+36=46
Moving to Node #0,0,0
Current State: 39:[10, 10], Operations: ['25+11=36', '46-36=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[36, 36], Operations: ['25+11=36', '46-10=36']
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[46, 46], Operations: ['25+11=36', '10+36=46']
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,39 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[36, 56], Operations: ['25+11=36', '46+10=56']
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,39 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[11, 10, 21], Operations: ['46-25=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10, 10]
Generated Node #0,1,0: 39:[10, 10] Operation: 21-11=10
Exploring Operation: 21-10=11, Resulting Numbers: [11, 11]
Generated Node #0,1,1: 39:[11, 11] Operation: 21-10=11
Exploring Operation: 11-10=1, Resulting Numbers: [21, 1]
Generated Node #0,1,2: 39:[21, 1] Operation: 11-10=1
Exploring Operation: 11+21=32, Resulting Numbers: [10, 32]
Generated Node #0,1,3: 39:[10, 32] Operation: 11+21=32
Moving to Node #0,1,1
Current State: 39:[11, 11], Operations: ['46-25=21', '21-10=11']
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[10, 10], Operations: ['46-25=21', '21-11=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[10, 32], Operations: ['46-25=21', '11+21=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[21, 1], Operations: ['46-25=21', '11-10=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
44,
11,
11,
16
] | 50 | [
"44+11=55",
"16-11=5",
"55-5=50"
] | Current State: 50:[44, 11, 11, 16], Operations: []
Exploring Operation: 44+11=55, Resulting Numbers: [16, 55]
Generated Node #2: [16, 55] from Operation: 44+11=55
Current State: 50:[16, 55], Operations: ['44+11=55']
Exploring Operation: 16-11=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 16-11=5
Current State: 50:[55, 5], Operations: ['44+11=55', '16-11=5']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[44, 11, 11, 16], Operations: []
Exploring Operation: 44-16=28, Resulting Numbers: [11, 11, 28]
Generated Node #0,0: 50:[11, 11, 28] Operation: 44-16=28
Moving to Node #0,0
Current State: 50:[11, 11, 28], Operations: ['44-16=28']
Exploring Operation: 11/11=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 50:[28, 1] Operation: 11/11=1
Moving to Node #0,0,0
Current State: 50:[28, 1], Operations: ['44-16=28', '11/11=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
10,
68,
96
] | 84 | [
"68/34=2",
"96-10=86",
"86-2=84"
] | Current State: 84:[34, 10, 68, 96], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [10, 96, 2]
Generated Node #2: [10, 96, 2] from Operation: 68/34=2
Current State: 84:[10, 96, 2], Operations: ['68/34=2']
Exploring Operation: 96-10=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 96-10=86
Current State: 84:[2, 86], Operations: ['68/34=2', '96-10=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[34, 10, 68, 96], Operations: []
Exploring Operation: 96-68=28, Resulting Numbers: [34, 10, 28]
Generated Node #0,0: 84:[34, 10, 28] Operation: 96-68=28
Exploring Operation: 68-34=34, Resulting Numbers: [10, 96, 34]
Generated Node #0,1: 84:[10, 96, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [10, 96, 2]
Generated Node #0,2: 84:[10, 96, 2] Operation: 68/34=2
Moving to Node #0,0
Current State: 84:[34, 10, 28], Operations: ['96-68=28']
Exploring Operation: 34-10=24, Resulting Numbers: [28, 24]
Generated Node #0,0,0: 84:[28, 24] Operation: 34-10=24
Exploring Operation: 34+10=44, Resulting Numbers: [28, 44]
Generated Node #0,0,1: 84:[28, 44] Operation: 34+10=44
Exploring Operation: 34-28=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 84:[10, 6] Operation: 34-28=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[28, 44], Operations: ['96-68=28', '34+10=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,84 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[10, 6], Operations: ['96-68=28', '34-28=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[28, 24], Operations: ['96-68=28', '34-10=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,84 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: 84:[10, 96, 2], Operations: ['68/34=2']
Exploring Operation: 10+2=12, Resulting Numbers: [96, 12]
Generated Node #0,2,0: 84:[96, 12] Operation: 10+2=12
Exploring Operation: 96-10=86, Resulting Numbers: [2, 86]
Generated Node #0,2,1: 84:[2, 86] Operation: 96-10=86
Exploring Operation: 96/2=48, Resulting Numbers: [10, 48]
Generated Node #0,2,2: 84:[10, 48] Operation: 96/2=48
Moving to Node #0,1
Current State: 84:[10, 96, 34], Operations: ['68-34=34']
Exploring Operation: 10+34=44, Resulting Numbers: [96, 44]
Generated Node #0,1,0: 84:[96, 44] Operation: 10+34=44
Exploring Operation: 96-10=86, Resulting Numbers: [34, 86]
Generated Node #0,1,1: 84:[34, 86] Operation: 96-10=86
Exploring Operation: 34-10=24, Resulting Numbers: [96, 24]
Generated Node #0,1,2: 84:[96, 24] Operation: 34-10=24
Moving to Node #0,2,1
Current State: 84:[2, 86], Operations: ['68/34=2', '96-10=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[34, 10, 68, 96], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [10, 96, 2]
Generated Node #0,2: 84:[10, 96, 2] Operation: 68/34=2
Moving to Node #0,2
Current State: 84:[10, 96, 2], Operations: ['68/34=2']
Exploring Operation: 96-10=86, Resulting Numbers: [2, 86]
Generated Node #0,2,1: 84:[2, 86] Operation: 96-10=86
Moving to Node #0,2,1
Current State: 84:[2, 86], Operations: ['68/34=2', '96-10=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
81,
87,
90,
5
] | 89 | [
"87-81=6",
"90+5=95",
"95-6=89"
] | Current State: 89:[81, 87, 90, 5], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [90, 5, 6]
Generated Node #2: [90, 5, 6] from Operation: 87-81=6
Current State: 89:[90, 5, 6], Operations: ['87-81=6']
Exploring Operation: 90+5=95, Resulting Numbers: [6, 95]
Generated Node #3: [6, 95] from Operation: 90+5=95
Current State: 89:[6, 95], Operations: ['87-81=6', '90+5=95']
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[81, 87, 90, 5], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [81, 90, 82]
Generated Node #0,0: 89:[81, 90, 82] Operation: 87-5=82
Exploring Operation: 90-5=85, Resulting Numbers: [81, 87, 85]
Generated Node #0,1: 89:[81, 87, 85] Operation: 90-5=85
Exploring Operation: 81+5=86, Resulting Numbers: [87, 90, 86]
Generated Node #0,2: 89:[87, 90, 86] Operation: 81+5=86
Exploring Operation: 87+5=92, Resulting Numbers: [81, 90, 92]
Generated Node #0,3: 89:[81, 90, 92] Operation: 87+5=92
Exploring Operation: 81-5=76, Resulting Numbers: [87, 90, 76]
Generated Node #0,4: 89:[87, 90, 76] Operation: 81-5=76
Moving to Node #0,2
Current State: 89:[87, 90, 86], Operations: ['81+5=86']
Exploring Operation: 90+86=176, Resulting Numbers: [87, 176]
Generated Node #0,2,0: 89:[87, 176] Operation: 90+86=176
Exploring Operation: 90-87=3, Resulting Numbers: [86, 3]
Generated Node #0,2,1: 89:[86, 3] Operation: 90-87=3
Exploring Operation: 90-86=4, Resulting Numbers: [87, 4]
Generated Node #0,2,2: 89:[87, 4] Operation: 90-86=4
Exploring Operation: 87+86=173, Resulting Numbers: [90, 173]
Generated Node #0,2,3: 89:[90, 173] Operation: 87+86=173
Exploring Operation: 87-86=1, Resulting Numbers: [90, 1]
Generated Node #0,2,4: 89:[90, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[90, 173], Operations: ['81+5=86', '87+86=173']
Exploring Operation: 90+173=263, Resulting Numbers: [263]
263,89 unequal: No Solution
Exploring Operation: 173-90=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 90*173=15570, Resulting Numbers: [15570]
15570,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[87, 4], Operations: ['81+5=86', '90-86=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[87, 176], Operations: ['81+5=86', '90+86=176']
Exploring Operation: 87+176=263, Resulting Numbers: [263]
263,89 unequal: No Solution
Exploring Operation: 87*176=15312, Resulting Numbers: [15312]
15312,89 unequal: No Solution
Exploring Operation: 176-87=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[81, 87, 90, 5], Operations: []
Exploring Operation: 81+5=86, Resulting Numbers: [87, 90, 86]
Generated Node #0,2: 89:[87, 90, 86] Operation: 81+5=86
Moving to Node #0,2
Current State: 89:[87, 90, 86], Operations: ['81+5=86']
Exploring Operation: 90+86=176, Resulting Numbers: [87, 176]
Generated Node #0,2,0: 89:[87, 176] Operation: 90+86=176
Moving to Node #0,2,0
Current State: 89:[87, 176], Operations: ['81+5=86', '90+86=176']
Exploring Operation: 176-87=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
79,
99,
43,
68
] | 67 | [
"79+99=178",
"43+68=111",
"178-111=67"
] | Current State: 67:[79, 99, 43, 68], Operations: []
Exploring Operation: 79+99=178, Resulting Numbers: [43, 68, 178]
Generated Node #2: [43, 68, 178] from Operation: 79+99=178
Current State: 67:[43, 68, 178], Operations: ['79+99=178']
Exploring Operation: 43+68=111, Resulting Numbers: [178, 111]
Generated Node #3: [178, 111] from Operation: 43+68=111
Current State: 67:[178, 111], Operations: ['79+99=178', '43+68=111']
Exploring Operation: 178-111=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[79, 99, 43, 68], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [79, 68, 56]
Generated Node #0,0: 67:[79, 68, 56] Operation: 99-43=56
Moving to Node #0,0
Current State: 67:[79, 68, 56], Operations: ['99-43=56']
Exploring Operation: 79-56=23, Resulting Numbers: [68, 23]
Generated Node #0,0,0: 67:[68, 23] Operation: 79-56=23
Moving to Node #0,0,0
Current State: 67:[68, 23], Operations: ['99-43=56', '79-56=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
59,
8,
28
] | 84 | [
"73-59=14",
"8*14=112",
"112-28=84"
] | Current State: 84:[73, 59, 8, 28], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [8, 28, 14]
Generated Node #2: [8, 28, 14] from Operation: 73-59=14
Current State: 84:[8, 28, 14], Operations: ['73-59=14']
Exploring Operation: 8*14=112, Resulting Numbers: [28, 112]
Generated Node #3: [28, 112] from Operation: 8*14=112
Current State: 84:[28, 112], Operations: ['73-59=14', '8*14=112']
Exploring Operation: 112-28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[73, 59, 8, 28], Operations: []
Exploring Operation: 59+28=87, Resulting Numbers: [73, 8, 87]
Generated Node #0,0: 84:[73, 8, 87] Operation: 59+28=87
Exploring Operation: 73-59=14, Resulting Numbers: [8, 28, 14]
Generated Node #0,1: 84:[8, 28, 14] Operation: 73-59=14
Exploring Operation: 59-28=31, Resulting Numbers: [73, 8, 31]
Generated Node #0,2: 84:[73, 8, 31] Operation: 59-28=31
Exploring Operation: 73+8=81, Resulting Numbers: [59, 28, 81]
Generated Node #0,3: 84:[59, 28, 81] Operation: 73+8=81
Moving to Node #0,1
Current State: 84:[8, 28, 14], Operations: ['73-59=14']
Exploring Operation: 14-8=6, Resulting Numbers: [28, 6]
Generated Node #0,1,0: 84:[28, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [28, 22]
Generated Node #0,1,1: 84:[28, 22] Operation: 8+14=22
Exploring Operation: 28-8=20, Resulting Numbers: [14, 20]
Generated Node #0,1,2: 84:[14, 20] Operation: 28-8=20
Exploring Operation: 28+14=42, Resulting Numbers: [8, 42]
Generated Node #0,1,3: 84:[8, 42] Operation: 28+14=42
Moving to Node #0,2
Current State: 84:[73, 8, 31], Operations: ['59-28=31']
Exploring Operation: 73+8=81, Resulting Numbers: [31, 81]
Generated Node #0,2,0: 84:[31, 81] Operation: 73+8=81
Exploring Operation: 8+31=39, Resulting Numbers: [73, 39]
Generated Node #0,2,1: 84:[73, 39] Operation: 8+31=39
Exploring Operation: 31-8=23, Resulting Numbers: [73, 23]
Generated Node #0,2,2: 84:[73, 23] Operation: 31-8=23
Exploring Operation: 73-31=42, Resulting Numbers: [8, 42]
Generated Node #0,2,3: 84:[8, 42] Operation: 73-31=42
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[8, 42], Operations: ['59-28=31', '73-31=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,84 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[31, 81], Operations: ['59-28=31', '73+8=81']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 31+81=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 31*81=2511, Resulting Numbers: [2511]
2511,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[73, 23], Operations: ['59-28=31', '31-8=23']
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,84 unequal: No Solution
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[73, 39], Operations: ['59-28=31', '8+31=39']
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,84 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 84:[73, 8, 87], Operations: ['59+28=87']
Exploring Operation: 73+8=81, Resulting Numbers: [87, 81]
Generated Node #0,0,0: 84:[87, 81] Operation: 73+8=81
Exploring Operation: 87-73=14, Resulting Numbers: [8, 14]
Generated Node #0,0,1: 84:[8, 14] Operation: 87-73=14
Exploring Operation: 73-8=65, Resulting Numbers: [87, 65]
Generated Node #0,0,2: 84:[87, 65] Operation: 73-8=65
Exploring Operation: 87-8=79, Resulting Numbers: [73, 79]
Generated Node #0,0,3: 84:[73, 79] Operation: 87-8=79
Moving to Node #0,3
Current State: 84:[59, 28, 81], Operations: ['73+8=81']
Exploring Operation: 59-28=31, Resulting Numbers: [81, 31]
Generated Node #0,3,0: 84:[81, 31] Operation: 59-28=31
Exploring Operation: 59+28=87, Resulting Numbers: [81, 87]
Generated Node #0,3,1: 84:[81, 87] Operation: 59+28=87
Exploring Operation: 81-59=22, Resulting Numbers: [28, 22]
Generated Node #0,3,2: 84:[28, 22] Operation: 81-59=22
Exploring Operation: 81-28=53, Resulting Numbers: [59, 53]
Generated Node #0,3,3: 84:[59, 53] Operation: 81-28=53
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[28, 22], Operations: ['73+8=81', '81-59=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,84 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,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,3,0
Current State: 84:[81, 31], Operations: ['73+8=81', '59-28=31']
Exploring Operation: 81+31=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 81*31=2511, Resulting Numbers: [2511]
2511,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,3,1
Current State: 84:[81, 87], Operations: ['73+8=81', '59+28=87']
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,84 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,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,3,3
Current State: 84:[59, 53], Operations: ['73+8=81', '81-28=53']
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,84 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 84:[28, 6], Operations: ['73-59=14', '14-8=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[14, 20], Operations: ['73-59=14', '28-8=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,84 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[28, 22], Operations: ['73-59=14', '8+14=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,84 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[8, 14], Operations: ['59+28=87', '87-73=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[8, 42], Operations: ['73-59=14', '28+14=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,84 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[87, 81], Operations: ['59+28=87', '73+8=81']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,84 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[73, 79], Operations: ['59+28=87', '87-8=79']
Exploring Operation: 73+79=152, Resulting Numbers: [152]
152,84 unequal: No Solution
Exploring Operation: 73*79=5767, Resulting Numbers: [5767]
5767,84 unequal: No Solution
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[87, 65], Operations: ['59+28=87', '73-8=65']
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,84 unequal: No Solution
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,84 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
15,
12,
4
] | 92 | [
"5+15=20",
"4*20=80",
"12+80=92"
] | Current State: 92:[5, 15, 12, 4], Operations: []
Exploring Operation: 5+15=20, Resulting Numbers: [12, 4, 20]
Generated Node #2: [12, 4, 20] from Operation: 5+15=20
Current State: 92:[12, 4, 20], Operations: ['5+15=20']
Exploring Operation: 4*20=80, Resulting Numbers: [12, 80]
Generated Node #3: [12, 80] from Operation: 4*20=80
Current State: 92:[12, 80], Operations: ['5+15=20', '4*20=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 15, 12, 4], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [5, 4, 3]
Generated Node #0,0: 92:[5, 4, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[5, 4, 3], Operations: ['15-12=3']
Exploring Operation: 5-3=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 92:[4, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 92:[4, 2], Operations: ['15-12=3', '5-3=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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 | mult_heuristic |
[
27,
42,
90,
11
] | 32 | [
"27+42=69",
"90+11=101",
"101-69=32"
] | Current State: 32:[27, 42, 90, 11], Operations: []
Exploring Operation: 27+42=69, Resulting Numbers: [90, 11, 69]
Generated Node #2: [90, 11, 69] from Operation: 27+42=69
Current State: 32:[90, 11, 69], Operations: ['27+42=69']
Exploring Operation: 90+11=101, Resulting Numbers: [69, 101]
Generated Node #3: [69, 101] from Operation: 90+11=101
Current State: 32:[69, 101], Operations: ['27+42=69', '90+11=101']
Exploring Operation: 101-69=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[27, 42, 90, 11], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [42, 11, 63]
Generated Node #0,0: 32:[42, 11, 63] Operation: 90-27=63
Exploring Operation: 90-42=48, Resulting Numbers: [27, 11, 48]
Generated Node #0,1: 32:[27, 11, 48] Operation: 90-42=48
Moving to Node #0,1
Current State: 32:[27, 11, 48], Operations: ['90-42=48']
Exploring Operation: 48-27=21, Resulting Numbers: [11, 21]
Generated Node #0,1,0: 32:[11, 21] Operation: 48-27=21
Exploring Operation: 48-11=37, Resulting Numbers: [27, 37]
Generated Node #0,1,1: 32:[27, 37] Operation: 48-11=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[11, 21], Operations: ['90-42=48', '48-27=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[27, 42, 90, 11], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [27, 11, 48]
Generated Node #0,1: 32:[27, 11, 48] Operation: 90-42=48
Moving to Node #0,1
Current State: 32:[27, 11, 48], Operations: ['90-42=48']
Exploring Operation: 48-27=21, Resulting Numbers: [11, 21]
Generated Node #0,1,0: 32:[11, 21] Operation: 48-27=21
Moving to Node #0,1,0
Current State: 32:[11, 21], Operations: ['90-42=48', '48-27=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
16,
76,
45,
5
] | 52 | [
"16+76=92",
"45-5=40",
"92-40=52"
] | Current State: 52:[16, 76, 45, 5], Operations: []
Exploring Operation: 16+76=92, Resulting Numbers: [45, 5, 92]
Generated Node #2: [45, 5, 92] from Operation: 16+76=92
Current State: 52:[45, 5, 92], Operations: ['16+76=92']
Exploring Operation: 45-5=40, Resulting Numbers: [92, 40]
Generated Node #3: [92, 40] from Operation: 45-5=40
Current State: 52:[92, 40], Operations: ['16+76=92', '45-5=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[16, 76, 45, 5], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [16, 5, 31]
Generated Node #0,0: 52:[16, 5, 31] Operation: 76-45=31
Exploring Operation: 76-16=60, Resulting Numbers: [45, 5, 60]
Generated Node #0,1: 52:[45, 5, 60] Operation: 76-16=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[16, 5, 31], Operations: ['76-45=31']
Exploring Operation: 31-5=26, Resulting Numbers: [16, 26]
Generated Node #0,0,0: 52:[16, 26] Operation: 31-5=26
Exploring Operation: 31-16=15, Resulting Numbers: [5, 15]
Generated Node #0,0,1: 52:[5, 15] Operation: 31-16=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[16, 26], Operations: ['76-45=31', '31-5=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[5, 15], Operations: ['76-45=31', '31-16=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,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,1
Current State: 52:[45, 5, 60], Operations: ['76-16=60']
Exploring Operation: 60/5=12, Resulting Numbers: [45, 12]
Generated Node #0,1,0: 52:[45, 12] Operation: 60/5=12
Exploring Operation: 60-45=15, Resulting Numbers: [5, 15]
Generated Node #0,1,1: 52:[5, 15] Operation: 60-45=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[5, 15], Operations: ['76-16=60', '60-45=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,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,0
Current State: 52:[45, 12], Operations: ['76-16=60', '60/5=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
80,
5,
79
] | 22 | [
"80-49=31",
"79+31=110",
"110/5=22"
] | Current State: 22:[49, 80, 5, 79], Operations: []
Exploring Operation: 80-49=31, Resulting Numbers: [5, 79, 31]
Generated Node #2: [5, 79, 31] from Operation: 80-49=31
Current State: 22:[5, 79, 31], Operations: ['80-49=31']
Exploring Operation: 79+31=110, Resulting Numbers: [5, 110]
Generated Node #3: [5, 110] from Operation: 79+31=110
Current State: 22:[5, 110], Operations: ['80-49=31', '79+31=110']
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[49, 80, 5, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [49, 5, 1]
Generated Node #0,0: 22:[49, 5, 1] Operation: 80-79=1
Exploring Operation: 80-49=31, Resulting Numbers: [5, 79, 31]
Generated Node #0,1: 22:[5, 79, 31] Operation: 80-49=31
Moving to Node #0,0
Current State: 22:[49, 5, 1], Operations: ['80-79=1']
Exploring Operation: 49-1=48, Resulting Numbers: [5, 48]
Generated Node #0,0,0: 22:[5, 48] Operation: 49-1=48
Exploring Operation: 49-5=44, Resulting Numbers: [1, 44]
Generated Node #0,0,1: 22:[1, 44] Operation: 49-5=44
Moving to Node #0,1
Current State: 22:[5, 79, 31], Operations: ['80-49=31']
Exploring Operation: 79-5=74, Resulting Numbers: [31, 74]
Generated Node #0,1,0: 22:[31, 74] Operation: 79-5=74
Exploring Operation: 79-31=48, Resulting Numbers: [5, 48]
Generated Node #0,1,1: 22:[5, 48] Operation: 79-31=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[5, 48], Operations: ['80-49=31', '79-31=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,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,1,0
Current State: 22:[31, 74], Operations: ['80-49=31', '79-5=74']
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,22 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: 22:[1, 44], Operations: ['80-79=1', '49-5=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[5, 48], Operations: ['80-79=1', '49-1=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,22 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
18,
3,
93,
9
] | 88 | [
"18/9=2",
"93-3=90",
"90-2=88"
] | Current State: 88:[18, 3, 93, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [3, 93, 2]
Generated Node #2: [3, 93, 2] from Operation: 18/9=2
Current State: 88:[3, 93, 2], Operations: ['18/9=2']
Exploring Operation: 93-3=90, Resulting Numbers: [2, 90]
Generated Node #3: [2, 90] from Operation: 93-3=90
Current State: 88:[2, 90], Operations: ['18/9=2', '93-3=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[18, 3, 93, 9], Operations: []
Exploring Operation: 18-9=9, Resulting Numbers: [3, 93, 9]
Generated Node #0,0: 88:[3, 93, 9] Operation: 18-9=9
Exploring Operation: 18+3=21, Resulting Numbers: [93, 9, 21]
Generated Node #0,1: 88:[93, 9, 21] Operation: 18+3=21
Exploring Operation: 18/9=2, Resulting Numbers: [3, 93, 2]
Generated Node #0,2: 88:[3, 93, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[3, 93, 2], Operations: ['18/9=2']
Exploring Operation: 93-3=90, Resulting Numbers: [2, 90]
Generated Node #0,2,0: 88:[2, 90] Operation: 93-3=90
Exploring Operation: 93-2=91, Resulting Numbers: [3, 91]
Generated Node #0,2,1: 88:[3, 91] Operation: 93-2=91
Exploring Operation: 3+2=5, Resulting Numbers: [93, 5]
Generated Node #0,2,2: 88:[93, 5] Operation: 3+2=5
Moving to Node #0,2,0
Current State: 88:[2, 90], Operations: ['18/9=2', '93-3=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[18, 3, 93, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [3, 93, 2]
Generated Node #0,2: 88:[3, 93, 2] Operation: 18/9=2
Moving to Node #0,2
Current State: 88:[3, 93, 2], Operations: ['18/9=2']
Exploring Operation: 93-3=90, Resulting Numbers: [2, 90]
Generated Node #0,2,0: 88:[2, 90] Operation: 93-3=90
Moving to Node #0,2,0
Current State: 88:[2, 90], Operations: ['18/9=2', '93-3=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
67,
4,
42,
6
] | 90 | [
"67*6=402",
"402-42=360",
"360/4=90"
] | Current State: 90:[67, 4, 42, 6], Operations: []
Exploring Operation: 67*6=402, Resulting Numbers: [4, 42, 402]
Generated Node #2: [4, 42, 402] from Operation: 67*6=402
Current State: 90:[4, 42, 402], Operations: ['67*6=402']
Exploring Operation: 402-42=360, Resulting Numbers: [4, 360]
Generated Node #3: [4, 360] from Operation: 402-42=360
Current State: 90:[4, 360], Operations: ['67*6=402', '402-42=360']
Exploring Operation: 360/4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[67, 4, 42, 6], Operations: []
Exploring Operation: 67+6=73, Resulting Numbers: [4, 42, 73]
Generated Node #0,0: 90:[4, 42, 73] Operation: 67+6=73
Exploring Operation: 67-6=61, Resulting Numbers: [4, 42, 61]
Generated Node #0,1: 90:[4, 42, 61] Operation: 67-6=61
Exploring Operation: 67-4=63, Resulting Numbers: [42, 6, 63]
Generated Node #0,2: 90:[42, 6, 63] Operation: 67-4=63
Exploring Operation: 67+42=109, Resulting Numbers: [4, 6, 109]
Generated Node #0,3: 90:[4, 6, 109] Operation: 67+42=109
Exploring Operation: 67-42=25, Resulting Numbers: [4, 6, 25]
Generated Node #0,4: 90:[4, 6, 25] Operation: 67-42=25
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[4, 6, 25], Operations: ['67-42=25']
Exploring Operation: 4+6=10, Resulting Numbers: [25, 10]
Generated Node #0,4,0: 90:[25, 10] Operation: 4+6=10
Exploring Operation: 6+25=31, Resulting Numbers: [4, 31]
Generated Node #0,4,1: 90:[4, 31] Operation: 6+25=31
Exploring Operation: 25-6=19, Resulting Numbers: [4, 19]
Generated Node #0,4,2: 90:[4, 19] Operation: 25-6=19
Exploring Operation: 4+25=29, Resulting Numbers: [6, 29]
Generated Node #0,4,3: 90:[6, 29] Operation: 4+25=29
Exploring Operation: 25-4=21, Resulting Numbers: [6, 21]
Generated Node #0,4,4: 90:[6, 21] Operation: 25-4=21
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[6, 29], Operations: ['67-42=25', '4+25=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[4, 31], Operations: ['67-42=25', '6+25=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[4, 19], Operations: ['67-42=25', '25-6=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[6, 21], Operations: ['67-42=25', '25-4=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 90:[25, 10], Operations: ['67-42=25', '4+6=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[4, 42, 61], Operations: ['67-6=61']
Exploring Operation: 42-4=38, Resulting Numbers: [61, 38]
Generated Node #0,1,0: 90:[61, 38] Operation: 42-4=38
Exploring Operation: 42+61=103, Resulting Numbers: [4, 103]
Generated Node #0,1,1: 90:[4, 103] Operation: 42+61=103
Exploring Operation: 61-42=19, Resulting Numbers: [4, 19]
Generated Node #0,1,2: 90:[4, 19] Operation: 61-42=19
Exploring Operation: 61-4=57, Resulting Numbers: [42, 57]
Generated Node #0,1,3: 90:[42, 57] Operation: 61-4=57
Exploring Operation: 4+42=46, Resulting Numbers: [61, 46]
Generated Node #0,1,4: 90:[61, 46] Operation: 4+42=46
Moving to Node #0,1,2
Current State: 90:[4, 19], Operations: ['67-6=61', '61-42=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[4, 103], Operations: ['67-6=61', '42+61=103']
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 4+103=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 4*103=412, Resulting Numbers: [412]
412,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[42, 57], Operations: ['67-6=61', '61-4=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,90 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[61, 46], Operations: ['67-6=61', '4+42=46']
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 61*46=2806, Resulting Numbers: [2806]
2806,90 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[61, 38], Operations: ['67-6=61', '42-4=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,90 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[4, 6, 109], Operations: ['67+42=109']
Exploring Operation: 4+109=113, Resulting Numbers: [6, 113]
Generated Node #0,3,0: 90:[6, 113] Operation: 4+109=113
Exploring Operation: 6-4=2, Resulting Numbers: [109, 2]
Generated Node #0,3,1: 90:[109, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [109, 10]
Generated Node #0,3,2: 90:[109, 10] Operation: 4+6=10
Exploring Operation: 109-4=105, Resulting Numbers: [6, 105]
Generated Node #0,3,3: 90:[6, 105] Operation: 109-4=105
Exploring Operation: 109-6=103, Resulting Numbers: [4, 103]
Generated Node #0,3,4: 90:[4, 103] Operation: 109-6=103
Moving to Node #0,3,4
Current State: 90:[4, 103], Operations: ['67+42=109', '109-6=103']
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 4*103=412, Resulting Numbers: [412]
412,90 unequal: No Solution
Exploring Operation: 4+103=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[6, 105], Operations: ['67+42=109', '109-4=105']
Exploring Operation: 6+105=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 6*105=630, Resulting Numbers: [630]
630,90 unequal: No Solution
Exploring Operation: 105-6=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[109, 2], Operations: ['67+42=109', '6-4=2']
Exploring Operation: 109-2=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 109+2=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 109*2=218, Resulting Numbers: [218]
218,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[109, 10], Operations: ['67+42=109', '4+6=10']
Exploring Operation: 109*10=1090, Resulting Numbers: [1090]
1090,90 unequal: No Solution
Exploring Operation: 109-10=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 109+10=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[6, 113], Operations: ['67+42=109', '4+109=113']
Exploring Operation: 113-6=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 6+113=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 6*113=678, Resulting Numbers: [678]
678,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[4, 42, 73], Operations: ['67+6=73']
Exploring Operation: 73-42=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 90:[4, 31] Operation: 73-42=31
Exploring Operation: 73-4=69, Resulting Numbers: [42, 69]
Generated Node #0,0,1: 90:[42, 69] Operation: 73-4=69
Exploring Operation: 4+42=46, Resulting Numbers: [73, 46]
Generated Node #0,0,2: 90:[73, 46] Operation: 4+42=46
Exploring Operation: 4+73=77, Resulting Numbers: [42, 77]
Generated Node #0,0,3: 90:[42, 77] Operation: 4+73=77
Exploring Operation: 42-4=38, Resulting Numbers: [73, 38]
Generated Node #0,0,4: 90:[73, 38] Operation: 42-4=38
Moving to Node #0,0,0
Current State: 90:[4, 31], Operations: ['67+6=73', '73-42=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[42, 77], Operations: ['67+6=73', '4+73=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,90 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[73, 46], Operations: ['67+6=73', '4+42=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,90 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[42, 69], Operations: ['67+6=73', '73-4=69']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[73, 38], Operations: ['67+6=73', '42-4=38']
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,90 unequal: No Solution
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,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,2
Current State: 90:[42, 6, 63], Operations: ['67-4=63']
Exploring Operation: 42+6=48, Resulting Numbers: [63, 48]
Generated Node #0,2,0: 90:[63, 48] Operation: 42+6=48
Exploring Operation: 42+63=105, Resulting Numbers: [6, 105]
Generated Node #0,2,1: 90:[6, 105] Operation: 42+63=105
Exploring Operation: 63-6=57, Resulting Numbers: [42, 57]
Generated Node #0,2,2: 90:[42, 57] Operation: 63-6=57
Exploring Operation: 42/6=7, Resulting Numbers: [63, 7]
Generated Node #0,2,3: 90:[63, 7] Operation: 42/6=7
Exploring Operation: 63-42=21, Resulting Numbers: [6, 21]
Generated Node #0,2,4: 90:[6, 21] Operation: 63-42=21
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 90:[6, 21], Operations: ['67-4=63', '63-42=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,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:[6, 105], Operations: ['67-4=63', '42+63=105']
Exploring Operation: 6*105=630, Resulting Numbers: [630]
630,90 unequal: No Solution
Exploring Operation: 6+105=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 105-6=99, Resulting Numbers: [99]
99,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[42, 57], Operations: ['67-4=63', '63-6=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,90 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,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:[63, 7], Operations: ['67-4=63', '42/6=7']
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,90 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,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:[63, 48], Operations: ['67-4=63', '42+6=48']
Exploring Operation: 63+48=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 63*48=3024, Resulting Numbers: [3024]
3024,90 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,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_5 | mult_heuristic |
[
16,
50,
20,
10
] | 37 | [
"16*20=320",
"50+320=370",
"370/10=37"
] | Current State: 37:[16, 50, 20, 10], Operations: []
Exploring Operation: 16*20=320, Resulting Numbers: [50, 10, 320]
Generated Node #2: [50, 10, 320] from Operation: 16*20=320
Current State: 37:[50, 10, 320], Operations: ['16*20=320']
Exploring Operation: 50+320=370, Resulting Numbers: [10, 370]
Generated Node #3: [10, 370] from Operation: 50+320=370
Current State: 37:[10, 370], Operations: ['16*20=320', '50+320=370']
Exploring Operation: 370/10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[16, 50, 20, 10], Operations: []
Exploring Operation: 16+20=36, Resulting Numbers: [50, 10, 36]
Generated Node #0,0: 37:[50, 10, 36] Operation: 16+20=36
Exploring Operation: 16+10=26, Resulting Numbers: [50, 20, 26]
Generated Node #0,1: 37:[50, 20, 26] Operation: 16+10=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[50, 10, 36], Operations: ['16+20=36']
Exploring Operation: 10+36=46, Resulting Numbers: [50, 46]
Generated Node #0,0,0: 37:[50, 46] Operation: 10+36=46
Exploring Operation: 50-10=40, Resulting Numbers: [36, 40]
Generated Node #0,0,1: 37:[36, 40] Operation: 50-10=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[36, 40], Operations: ['16+20=36', '50-10=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[50, 46], Operations: ['16+20=36', '10+36=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[50, 20, 26], Operations: ['16+10=26']
Exploring Operation: 20+26=46, Resulting Numbers: [50, 46]
Generated Node #0,1,0: 37:[50, 46] Operation: 20+26=46
Exploring Operation: 50-20=30, Resulting Numbers: [26, 30]
Generated Node #0,1,1: 37:[26, 30] Operation: 50-20=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[26, 30], Operations: ['16+10=26', '50-20=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[50, 46], Operations: ['16+10=26', '20+26=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
9,
56,
50
] | 42 | [
"57-9=48",
"56-50=6",
"48-6=42"
] | Current State: 42:[57, 9, 56, 50], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [56, 50, 48]
Generated Node #2: [56, 50, 48] from Operation: 57-9=48
Current State: 42:[56, 50, 48], Operations: ['57-9=48']
Exploring Operation: 56-50=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 56-50=6
Current State: 42:[48, 6], Operations: ['57-9=48', '56-50=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[57, 9, 56, 50], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [9, 56, 7]
Generated Node #0,0: 42:[9, 56, 7] Operation: 57-50=7
Exploring Operation: 57-56=1, Resulting Numbers: [9, 50, 1]
Generated Node #0,1: 42:[9, 50, 1] Operation: 57-56=1
Exploring Operation: 56-50=6, Resulting Numbers: [57, 9, 6]
Generated Node #0,2: 42:[57, 9, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[9, 50, 1], Operations: ['57-56=1']
Exploring Operation: 50-9=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 42:[1, 41] Operation: 50-9=41
Exploring Operation: 50-1=49, Resulting Numbers: [9, 49]
Generated Node #0,1,1: 42:[9, 49] Operation: 50-1=49
Exploring Operation: 9-1=8, Resulting Numbers: [50, 8]
Generated Node #0,1,2: 42:[50, 8] Operation: 9-1=8
Moving to Node #0,1,0
Current State: 42:[1, 41], Operations: ['57-56=1', '50-9=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[57, 9, 56, 50], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [9, 50, 1]
Generated Node #0,1: 42:[9, 50, 1] Operation: 57-56=1
Moving to Node #0,1
Current State: 42:[9, 50, 1], Operations: ['57-56=1']
Exploring Operation: 50-9=41, Resulting Numbers: [1, 41]
Generated Node #0,1,0: 42:[1, 41] Operation: 50-9=41
Moving to Node #0,1,0
Current State: 42:[1, 41], Operations: ['57-56=1', '50-9=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
38,
62,
75,
98
] | 47 | [
"62-38=24",
"98-75=23",
"24+23=47"
] | Current State: 47:[38, 62, 75, 98], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [75, 98, 24]
Generated Node #2: [75, 98, 24] from Operation: 62-38=24
Current State: 47:[75, 98, 24], Operations: ['62-38=24']
Exploring Operation: 98-75=23, Resulting Numbers: [24, 23]
Generated Node #3: [24, 23] from Operation: 98-75=23
Current State: 47:[24, 23], Operations: ['62-38=24', '98-75=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 62, 75, 98], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [62, 98, 37]
Generated Node #0,0: 47:[62, 98, 37] Operation: 75-38=37
Exploring Operation: 98-75=23, Resulting Numbers: [38, 62, 23]
Generated Node #0,1: 47:[38, 62, 23] Operation: 98-75=23
Exploring Operation: 98-62=36, Resulting Numbers: [38, 75, 36]
Generated Node #0,2: 47:[38, 75, 36] Operation: 98-62=36
Exploring Operation: 98-38=60, Resulting Numbers: [62, 75, 60]
Generated Node #0,3: 47:[62, 75, 60] Operation: 98-38=60
Moving to Node #0,1
Current State: 47:[38, 62, 23], Operations: ['98-75=23']
Exploring Operation: 62-23=39, Resulting Numbers: [38, 39]
Generated Node #0,1,0: 47:[38, 39] Operation: 62-23=39
Exploring Operation: 38+23=61, Resulting Numbers: [62, 61]
Generated Node #0,1,1: 47:[62, 61] Operation: 38+23=61
Exploring Operation: 38-23=15, Resulting Numbers: [62, 15]
Generated Node #0,1,2: 47:[62, 15] Operation: 38-23=15
Exploring Operation: 62-38=24, Resulting Numbers: [23, 24]
Generated Node #0,1,3: 47:[23, 24] Operation: 62-38=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[38, 39], Operations: ['98-75=23', '62-23=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,47 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[62, 61], Operations: ['98-75=23', '38+23=61']
Exploring Operation: 62*61=3782, Resulting Numbers: [3782]
3782,47 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[62, 15], Operations: ['98-75=23', '38-23=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[38, 62, 75, 98], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [38, 62, 23]
Generated Node #0,1: 47:[38, 62, 23] Operation: 98-75=23
Moving to Node #0,1
Current State: 47:[38, 62, 23], Operations: ['98-75=23']
Exploring Operation: 38-23=15, Resulting Numbers: [62, 15]
Generated Node #0,1,2: 47:[62, 15] Operation: 38-23=15
Moving to Node #0,1,2
Current State: 47:[62, 15], Operations: ['98-75=23', '38-23=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
43,
76,
25,
80
] | 22 | [
"76-43=33",
"80-25=55",
"55-33=22"
] | Current State: 22:[43, 76, 25, 80], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [25, 80, 33]
Generated Node #2: [25, 80, 33] from Operation: 76-43=33
Current State: 22:[25, 80, 33], Operations: ['76-43=33']
Exploring Operation: 80-25=55, Resulting Numbers: [33, 55]
Generated Node #3: [33, 55] from Operation: 80-25=55
Current State: 22:[33, 55], Operations: ['76-43=33', '80-25=55']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[43, 76, 25, 80], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [76, 25, 37]
Generated Node #0,0: 22:[76, 25, 37] Operation: 80-43=37
Exploring Operation: 76-43=33, Resulting Numbers: [25, 80, 33]
Generated Node #0,1: 22:[25, 80, 33] Operation: 76-43=33
Exploring Operation: 80-76=4, Resulting Numbers: [43, 25, 4]
Generated Node #0,2: 22:[43, 25, 4] Operation: 80-76=4
Moving to Node #0,2
Current State: 22:[43, 25, 4], Operations: ['80-76=4']
Exploring Operation: 43-25=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 22:[4, 18] Operation: 43-25=18
Exploring Operation: 43-4=39, Resulting Numbers: [25, 39]
Generated Node #0,2,1: 22:[25, 39] Operation: 43-4=39
Exploring Operation: 25-4=21, Resulting Numbers: [43, 21]
Generated Node #0,2,2: 22:[43, 21] Operation: 25-4=21
Moving to Node #0,0
Current State: 22:[76, 25, 37], Operations: ['80-43=37']
Exploring Operation: 76-37=39, Resulting Numbers: [25, 39]
Generated Node #0,0,0: 22:[25, 39] Operation: 76-37=39
Exploring Operation: 37-25=12, Resulting Numbers: [76, 12]
Generated Node #0,0,1: 22:[76, 12] Operation: 37-25=12
Exploring Operation: 76-25=51, Resulting Numbers: [37, 51]
Generated Node #0,0,2: 22:[37, 51] Operation: 76-25=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[25, 39], Operations: ['80-43=37', '76-37=39']
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,22 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[37, 51], Operations: ['80-43=37', '76-25=51']
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,22 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[76, 12], Operations: ['80-43=37', '37-25=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,22 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,22 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: 22:[25, 80, 33], Operations: ['76-43=33']
Exploring Operation: 33-25=8, Resulting Numbers: [80, 8]
Generated Node #0,1,0: 22:[80, 8] Operation: 33-25=8
Exploring Operation: 80-33=47, Resulting Numbers: [25, 47]
Generated Node #0,1,1: 22:[25, 47] Operation: 80-33=47
Exploring Operation: 80-25=55, Resulting Numbers: [33, 55]
Generated Node #0,1,2: 22:[33, 55] Operation: 80-25=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[25, 47], Operations: ['76-43=33', '80-33=47']
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,22 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[43, 76, 25, 80], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [25, 80, 33]
Generated Node #0,1: 22:[25, 80, 33] Operation: 76-43=33
Moving to Node #0,1
Current State: 22:[25, 80, 33], Operations: ['76-43=33']
Exploring Operation: 80-33=47, Resulting Numbers: [25, 47]
Generated Node #0,1,1: 22:[25, 47] Operation: 80-33=47
Moving to Node #0,1,1
Current State: 22:[25, 47], Operations: ['76-43=33', '80-33=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
71,
54,
65,
46
] | 36 | [
"71-54=17",
"65-46=19",
"17+19=36"
] | Current State: 36:[71, 54, 65, 46], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [65, 46, 17]
Generated Node #2: [65, 46, 17] from Operation: 71-54=17
Current State: 36:[65, 46, 17], Operations: ['71-54=17']
Exploring Operation: 65-46=19, Resulting Numbers: [17, 19]
Generated Node #3: [17, 19] from Operation: 65-46=19
Current State: 36:[17, 19], Operations: ['71-54=17', '65-46=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[71, 54, 65, 46], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [65, 46, 17]
Generated Node #0,0: 36:[65, 46, 17] Operation: 71-54=17
Exploring Operation: 71-65=6, Resulting Numbers: [54, 46, 6]
Generated Node #0,1: 36:[54, 46, 6] Operation: 71-65=6
Moving to Node #0,1
Current State: 36:[54, 46, 6], Operations: ['71-65=6']
Exploring Operation: 54-46=8, Resulting Numbers: [6, 8]
Generated Node #0,1,0: 36:[6, 8] Operation: 54-46=8
Exploring Operation: 54/6=9, Resulting Numbers: [46, 9]
Generated Node #0,1,1: 36:[46, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[6, 8], Operations: ['71-65=6', '54-46=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[46, 9], Operations: ['71-65=6', '54/6=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,36 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: 36:[65, 46, 17], Operations: ['71-54=17']
Exploring Operation: 65-46=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 36:[17, 19] Operation: 65-46=19
Exploring Operation: 65-17=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 36:[46, 48] Operation: 65-17=48
Moving to Node #0,0,0
Current State: 36:[17, 19], Operations: ['71-54=17', '65-46=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[71, 54, 65, 46], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [65, 46, 17]
Generated Node #0,0: 36:[65, 46, 17] Operation: 71-54=17
Moving to Node #0,0
Current State: 36:[65, 46, 17], Operations: ['71-54=17']
Exploring Operation: 65-46=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 36:[17, 19] Operation: 65-46=19
Moving to Node #0,0,0
Current State: 36:[17, 19], Operations: ['71-54=17', '65-46=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
76,
10,
13,
60
] | 69 | [
"76-13=63",
"60/10=6",
"63+6=69"
] | Current State: 69:[76, 10, 13, 60], Operations: []
Exploring Operation: 76-13=63, Resulting Numbers: [10, 60, 63]
Generated Node #2: [10, 60, 63] from Operation: 76-13=63
Current State: 69:[10, 60, 63], Operations: ['76-13=63']
Exploring Operation: 60/10=6, Resulting Numbers: [63, 6]
Generated Node #3: [63, 6] from Operation: 60/10=6
Current State: 69:[63, 6], Operations: ['76-13=63', '60/10=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[76, 10, 13, 60], Operations: []
Exploring Operation: 10+13=23, Resulting Numbers: [76, 60, 23]
Generated Node #0,0: 69:[76, 60, 23] Operation: 10+13=23
Exploring Operation: 13-10=3, Resulting Numbers: [76, 60, 3]
Generated Node #0,1: 69:[76, 60, 3] Operation: 13-10=3
Exploring Operation: 60/10=6, Resulting Numbers: [76, 13, 6]
Generated Node #0,2: 69:[76, 13, 6] Operation: 60/10=6
Exploring Operation: 10+60=70, Resulting Numbers: [76, 13, 70]
Generated Node #0,3: 69:[76, 13, 70] Operation: 10+60=70
Exploring Operation: 13+60=73, Resulting Numbers: [76, 10, 73]
Generated Node #0,4: 69:[76, 10, 73] Operation: 13+60=73
Moving to Node #0,0
Current State: 69:[76, 60, 23], Operations: ['10+13=23']
Exploring Operation: 76-60=16, Resulting Numbers: [23, 16]
Generated Node #0,0,0: 69:[23, 16] Operation: 76-60=16
Exploring Operation: 76-23=53, Resulting Numbers: [60, 53]
Generated Node #0,0,1: 69:[60, 53] Operation: 76-23=53
Exploring Operation: 76+23=99, Resulting Numbers: [60, 99]
Generated Node #0,0,2: 69:[60, 99] Operation: 76+23=99
Exploring Operation: 60-23=37, Resulting Numbers: [76, 37]
Generated Node #0,0,3: 69:[76, 37] Operation: 60-23=37
Exploring Operation: 60+23=83, Resulting Numbers: [76, 83]
Generated Node #0,0,4: 69:[76, 83] Operation: 60+23=83
Moving to Node #0,1
Current State: 69:[76, 60, 3], Operations: ['13-10=3']
Exploring Operation: 60/3=20, Resulting Numbers: [76, 20]
Generated Node #0,1,0: 69:[76, 20] Operation: 60/3=20
Exploring Operation: 76+3=79, Resulting Numbers: [60, 79]
Generated Node #0,1,1: 69:[60, 79] Operation: 76+3=79
Exploring Operation: 76-3=73, Resulting Numbers: [60, 73]
Generated Node #0,1,2: 69:[60, 73] Operation: 76-3=73
Exploring Operation: 60+3=63, Resulting Numbers: [76, 63]
Generated Node #0,1,3: 69:[76, 63] Operation: 60+3=63
Exploring Operation: 76-60=16, Resulting Numbers: [3, 16]
Generated Node #0,1,4: 69:[3, 16] Operation: 76-60=16
Moving to Node #0,3
Current State: 69:[76, 13, 70], Operations: ['10+60=70']
Exploring Operation: 13+70=83, Resulting Numbers: [76, 83]
Generated Node #0,3,0: 69:[76, 83] Operation: 13+70=83
Exploring Operation: 76-70=6, Resulting Numbers: [13, 6]
Generated Node #0,3,1: 69:[13, 6] Operation: 76-70=6
Exploring Operation: 76-13=63, Resulting Numbers: [70, 63]
Generated Node #0,3,2: 69:[70, 63] Operation: 76-13=63
Exploring Operation: 76+13=89, Resulting Numbers: [70, 89]
Generated Node #0,3,3: 69:[70, 89] Operation: 76+13=89
Exploring Operation: 70-13=57, Resulting Numbers: [76, 57]
Generated Node #0,3,4: 69:[76, 57] Operation: 70-13=57
Moving to Node #0,4
Current State: 69:[76, 10, 73], Operations: ['13+60=73']
Exploring Operation: 10+73=83, Resulting Numbers: [76, 83]
Generated Node #0,4,0: 69:[76, 83] Operation: 10+73=83
Exploring Operation: 76-73=3, Resulting Numbers: [10, 3]
Generated Node #0,4,1: 69:[10, 3] Operation: 76-73=3
Exploring Operation: 76-10=66, Resulting Numbers: [73, 66]
Generated Node #0,4,2: 69:[73, 66] Operation: 76-10=66
Exploring Operation: 73-10=63, Resulting Numbers: [76, 63]
Generated Node #0,4,3: 69:[76, 63] Operation: 73-10=63
Exploring Operation: 76+10=86, Resulting Numbers: [73, 86]
Generated Node #0,4,4: 69:[73, 86] Operation: 76+10=86
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 69:[10, 3], Operations: ['13+60=73', '76-73=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 69:[73, 66], Operations: ['13+60=73', '76-10=66']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,69 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 69:[76, 63], Operations: ['13+60=73', '73-10=63']
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,69 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 69:[76, 83], Operations: ['13+60=73', '10+73=83']
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,69 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 69:[73, 86], Operations: ['13+60=73', '76+10=86']
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,69 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,69 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: 69:[76, 13, 6], Operations: ['60/10=6']
Exploring Operation: 76-6=70, Resulting Numbers: [13, 70]
Generated Node #0,2,0: 69:[13, 70] Operation: 76-6=70
Exploring Operation: 76-13=63, Resulting Numbers: [6, 63]
Generated Node #0,2,1: 69:[6, 63] Operation: 76-13=63
Exploring Operation: 13-6=7, Resulting Numbers: [76, 7]
Generated Node #0,2,2: 69:[76, 7] Operation: 13-6=7
Exploring Operation: 13*6=78, Resulting Numbers: [76, 78]
Generated Node #0,2,3: 69:[76, 78] Operation: 13*6=78
Exploring Operation: 13+6=19, Resulting Numbers: [76, 19]
Generated Node #0,2,4: 69:[76, 19] Operation: 13+6=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[6, 63], Operations: ['60/10=6', '76-13=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[76, 10, 13, 60], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [76, 13, 6]
Generated Node #0,2: 69:[76, 13, 6] Operation: 60/10=6
Moving to Node #0,2
Current State: 69:[76, 13, 6], Operations: ['60/10=6']
Exploring Operation: 76-13=63, Resulting Numbers: [6, 63]
Generated Node #0,2,1: 69:[6, 63] Operation: 76-13=63
Moving to Node #0,2,1
Current State: 69:[6, 63], Operations: ['60/10=6', '76-13=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_5 | mult_heuristic |
[
33,
24,
42,
81
] | 48 | [
"33-24=9",
"81-42=39",
"9+39=48"
] | Current State: 48:[33, 24, 42, 81], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [42, 81, 9]
Generated Node #2: [42, 81, 9] from Operation: 33-24=9
Current State: 48:[42, 81, 9], Operations: ['33-24=9']
Exploring Operation: 81-42=39, Resulting Numbers: [9, 39]
Generated Node #3: [9, 39] from Operation: 81-42=39
Current State: 48:[9, 39], Operations: ['33-24=9', '81-42=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[33, 24, 42, 81], Operations: []
Exploring Operation: 81-33=48, Resulting Numbers: [24, 42, 48]
Generated Node #0,0: 48:[24, 42, 48] Operation: 81-33=48
Exploring Operation: 81-42=39, Resulting Numbers: [33, 24, 39]
Generated Node #0,1: 48:[33, 24, 39] Operation: 81-42=39
Exploring Operation: 81-24=57, Resulting Numbers: [33, 42, 57]
Generated Node #0,2: 48:[33, 42, 57] Operation: 81-24=57
Moving to Node #0,0
Current State: 48:[24, 42, 48], Operations: ['81-33=48']
Exploring Operation: 42-24=18, Resulting Numbers: [48, 18]
Generated Node #0,0,0: 48:[48, 18] Operation: 42-24=18
Exploring Operation: 48-24=24, Resulting Numbers: [42, 24]
Generated Node #0,0,1: 48:[42, 24] Operation: 48-24=24
Exploring Operation: 48-42=6, Resulting Numbers: [24, 6]
Generated Node #0,0,2: 48:[24, 6] Operation: 48-42=6
Moving to Node #0,1
Current State: 48:[33, 24, 39], Operations: ['81-42=39']
Exploring Operation: 33-24=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 48:[39, 9] Operation: 33-24=9
Exploring Operation: 39-33=6, Resulting Numbers: [24, 6]
Generated Node #0,1,1: 48:[24, 6] Operation: 39-33=6
Exploring Operation: 39-24=15, Resulting Numbers: [33, 15]
Generated Node #0,1,2: 48:[33, 15] Operation: 39-24=15
Moving to Node #0,2
Current State: 48:[33, 42, 57], Operations: ['81-24=57']
Exploring Operation: 42-33=9, Resulting Numbers: [57, 9]
Generated Node #0,2,0: 48:[57, 9] Operation: 42-33=9
Exploring Operation: 57-42=15, Resulting Numbers: [33, 15]
Generated Node #0,2,1: 48:[33, 15] Operation: 57-42=15
Exploring Operation: 57-33=24, Resulting Numbers: [42, 24]
Generated Node #0,2,2: 48:[42, 24] Operation: 57-33=24
Moving to Node #0,0,2
Current State: 48:[24, 6], Operations: ['81-33=48', '48-42=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[24, 6], Operations: ['81-42=39', '39-33=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[48, 18], Operations: ['81-33=48', '42-24=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,48 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[42, 24], Operations: ['81-33=48', '48-24=24']
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[42, 24], Operations: ['81-24=57', '57-33=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,48 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[33, 15], Operations: ['81-42=39', '39-24=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,48 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[33, 24, 42, 81], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [33, 24, 39]
Generated Node #0,1: 48:[33, 24, 39] Operation: 81-42=39
Moving to Node #0,1
Current State: 48:[33, 24, 39], Operations: ['81-42=39']
Exploring Operation: 39-24=15, Resulting Numbers: [33, 15]
Generated Node #0,1,2: 48:[33, 15] Operation: 39-24=15
Moving to Node #0,1,2
Current State: 48:[33, 15], Operations: ['81-42=39', '39-24=15']
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.971354 | hs_3 | sum_heuristic |
[
31,
29,
93,
60
] | 94 | [
"31+29=60",
"60/60=1",
"93+1=94"
] | Current State: 94:[31, 29, 93, 60], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [93, 60, 60]
Generated Node #2: [93, 60, 60] from Operation: 31+29=60
Current State: 94:[93, 60, 60], Operations: ['31+29=60']
Exploring Operation: 60/60=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 60/60=1
Current State: 94:[93, 1], Operations: ['31+29=60', '60/60=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[31, 29, 93, 60], Operations: []
Exploring Operation: 31+60=91, Resulting Numbers: [29, 93, 91]
Generated Node #0,0: 94:[29, 93, 91] Operation: 31+60=91
Exploring Operation: 31-29=2, Resulting Numbers: [93, 60, 2]
Generated Node #0,1: 94:[93, 60, 2] Operation: 31-29=2
Moving to Node #0,1
Current State: 94:[93, 60, 2], Operations: ['31-29=2']
Exploring Operation: 93-60=33, Resulting Numbers: [2, 33]
Generated Node #0,1,0: 94:[2, 33] Operation: 93-60=33
Exploring Operation: 60-2=58, Resulting Numbers: [93, 58]
Generated Node #0,1,1: 94:[93, 58] Operation: 60-2=58
Moving to Node #0,0
Current State: 94:[29, 93, 91], Operations: ['31+60=91']
Exploring Operation: 91-29=62, Resulting Numbers: [93, 62]
Generated Node #0,0,0: 94:[93, 62] Operation: 91-29=62
Exploring Operation: 93-91=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 94:[29, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[93, 62], Operations: ['31+60=91', '91-29=62']
Exploring Operation: 93+62=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,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,1
Current State: 94:[29, 2], Operations: ['31+60=91', '93-91=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 94:[93, 58], Operations: ['31-29=2', '60-2=58']
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,94 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[2, 33], Operations: ['31-29=2', '93-60=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
80,
37,
31
] | 80 | [
"80-77=3",
"37*3=111",
"111-31=80"
] | Current State: 80:[77, 80, 37, 31], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [37, 31, 3]
Generated Node #2: [37, 31, 3] from Operation: 80-77=3
Current State: 80:[37, 31, 3], Operations: ['80-77=3']
Exploring Operation: 37*3=111, Resulting Numbers: [31, 111]
Generated Node #3: [31, 111] from Operation: 37*3=111
Current State: 80:[31, 111], Operations: ['80-77=3', '37*3=111']
Exploring Operation: 111-31=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[77, 80, 37, 31], Operations: []
Exploring Operation: 77-31=46, Resulting Numbers: [80, 37, 46]
Generated Node #0,0: 80:[80, 37, 46] Operation: 77-31=46
Exploring Operation: 37-31=6, Resulting Numbers: [77, 80, 6]
Generated Node #0,1: 80:[77, 80, 6] Operation: 37-31=6
Exploring Operation: 77-37=40, Resulting Numbers: [80, 31, 40]
Generated Node #0,2: 80:[80, 31, 40] Operation: 77-37=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[77, 80, 6], Operations: ['37-31=6']
Exploring Operation: 77-6=71, Resulting Numbers: [80, 71]
Generated Node #0,1,0: 80:[80, 71] Operation: 77-6=71
Exploring Operation: 80-77=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 80:[6, 3] Operation: 80-77=3
Exploring Operation: 77+6=83, Resulting Numbers: [80, 83]
Generated Node #0,1,2: 80:[80, 83] Operation: 77+6=83
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[6, 3], Operations: ['37-31=6', '80-77=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[80, 83], Operations: ['37-31=6', '77+6=83']
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,80 unequal: No Solution
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,80 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[80, 71], Operations: ['37-31=6', '77-6=71']
Exploring Operation: 80*71=5680, Resulting Numbers: [5680]
5680,80 unequal: No Solution
Exploring Operation: 80+71=151, Resulting Numbers: [151]
151,80 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[80, 37, 46], Operations: ['77-31=46']
Exploring Operation: 37+46=83, Resulting Numbers: [80, 83]
Generated Node #0,0,0: 80:[80, 83] Operation: 37+46=83
Exploring Operation: 46-37=9, Resulting Numbers: [80, 9]
Generated Node #0,0,1: 80:[80, 9] Operation: 46-37=9
Exploring Operation: 80-37=43, Resulting Numbers: [46, 43]
Generated Node #0,0,2: 80:[46, 43] Operation: 80-37=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[80, 9], Operations: ['77-31=46', '46-37=9']
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,80 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[80, 83], Operations: ['77-31=46', '37+46=83']
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,80 unequal: No Solution
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,80 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[46, 43], Operations: ['77-31=46', '80-37=43']
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[80, 31, 40], Operations: ['77-37=40']
Exploring Operation: 80-40=40, Resulting Numbers: [31, 40]
Generated Node #0,2,0: 80:[31, 40] Operation: 80-40=40
Exploring Operation: 40-31=9, Resulting Numbers: [80, 9]
Generated Node #0,2,1: 80:[80, 9] Operation: 40-31=9
Exploring Operation: 80-31=49, Resulting Numbers: [40, 49]
Generated Node #0,2,2: 80:[40, 49] Operation: 80-31=49
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[80, 9], Operations: ['77-37=40', '40-31=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,80 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[31, 40], Operations: ['77-37=40', '80-40=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[40, 49], Operations: ['77-37=40', '80-31=49']
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,80 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
3,
66,
81
] | 42 | [
"66-64=2",
"3+81=84",
"84/2=42"
] | Current State: 42:[64, 3, 66, 81], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [3, 81, 2]
Generated Node #2: [3, 81, 2] from Operation: 66-64=2
Current State: 42:[3, 81, 2], Operations: ['66-64=2']
Exploring Operation: 3+81=84, Resulting Numbers: [2, 84]
Generated Node #3: [2, 84] from Operation: 3+81=84
Current State: 42:[2, 84], Operations: ['66-64=2', '3+81=84']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[64, 3, 66, 81], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [3, 81, 2]
Generated Node #0,0: 42:[3, 81, 2] Operation: 66-64=2
Exploring Operation: 81-66=15, Resulting Numbers: [64, 3, 15]
Generated Node #0,1: 42:[64, 3, 15] Operation: 81-66=15
Exploring Operation: 81-64=17, Resulting Numbers: [3, 66, 17]
Generated Node #0,2: 42:[3, 66, 17] Operation: 81-64=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[64, 3, 15], Operations: ['81-66=15']
Exploring Operation: 64-15=49, Resulting Numbers: [3, 49]
Generated Node #0,1,0: 42:[3, 49] Operation: 64-15=49
Exploring Operation: 64-3=61, Resulting Numbers: [15, 61]
Generated Node #0,1,1: 42:[15, 61] Operation: 64-3=61
Exploring Operation: 15/3=5, Resulting Numbers: [64, 5]
Generated Node #0,1,2: 42:[64, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[3, 49], Operations: ['81-66=15', '64-15=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,42 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[15, 61], Operations: ['81-66=15', '64-3=61']
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,42 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[64, 5], Operations: ['81-66=15', '15/3=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,42 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[3, 66, 17], Operations: ['81-64=17']
Exploring Operation: 66-17=49, Resulting Numbers: [3, 49]
Generated Node #0,2,0: 42:[3, 49] Operation: 66-17=49
Exploring Operation: 66-3=63, Resulting Numbers: [17, 63]
Generated Node #0,2,1: 42:[17, 63] Operation: 66-3=63
Exploring Operation: 66/3=22, Resulting Numbers: [17, 22]
Generated Node #0,2,2: 42:[17, 22] Operation: 66/3=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[17, 22], Operations: ['81-64=17', '66/3=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,42 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[3, 49], Operations: ['81-64=17', '66-17=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,42 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[17, 63], Operations: ['81-64=17', '66-3=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,42 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[3, 81, 2], Operations: ['66-64=2']
Exploring Operation: 81-3=78, Resulting Numbers: [2, 78]
Generated Node #0,0,0: 42:[2, 78] Operation: 81-3=78
Exploring Operation: 81-2=79, Resulting Numbers: [3, 79]
Generated Node #0,0,1: 42:[3, 79] Operation: 81-2=79
Exploring Operation: 81/3=27, Resulting Numbers: [2, 27]
Generated Node #0,0,2: 42:[2, 27] Operation: 81/3=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[2, 27], Operations: ['66-64=2', '81/3=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[2, 78], Operations: ['66-64=2', '81-3=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,42 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[3, 79], Operations: ['66-64=2', '81-2=79']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,42 unequal: No Solution
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
59,
93,
45,
94
] | 83 | [
"93-59=34",
"94-45=49",
"34+49=83"
] | Current State: 83:[59, 93, 45, 94], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [45, 94, 34]
Generated Node #2: [45, 94, 34] from Operation: 93-59=34
Current State: 83:[45, 94, 34], Operations: ['93-59=34']
Exploring Operation: 94-45=49, Resulting Numbers: [34, 49]
Generated Node #3: [34, 49] from Operation: 94-45=49
Current State: 83:[34, 49], Operations: ['93-59=34', '94-45=49']
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[59, 93, 45, 94], Operations: []
Exploring Operation: 59+45=104, Resulting Numbers: [93, 94, 104]
Generated Node #0,0: 83:[93, 94, 104] Operation: 59+45=104
Exploring Operation: 94-45=49, Resulting Numbers: [59, 93, 49]
Generated Node #0,1: 83:[59, 93, 49] Operation: 94-45=49
Moving to Node #0,0
Current State: 83:[93, 94, 104], Operations: ['59+45=104']
Exploring Operation: 104-93=11, Resulting Numbers: [94, 11]
Generated Node #0,0,0: 83:[94, 11] Operation: 104-93=11
Exploring Operation: 104-94=10, Resulting Numbers: [93, 10]
Generated Node #0,0,1: 83:[93, 10] Operation: 104-94=10
Moving to Node #0,1
Current State: 83:[59, 93, 49], Operations: ['94-45=49']
Exploring Operation: 93-49=44, Resulting Numbers: [59, 44]
Generated Node #0,1,0: 83:[59, 44] Operation: 93-49=44
Exploring Operation: 59+49=108, Resulting Numbers: [93, 108]
Generated Node #0,1,1: 83:[93, 108] Operation: 59+49=108
Moving to Node #0,1,1
Current State: 83:[93, 108], Operations: ['94-45=49', '59+49=108']
Exploring Operation: 93+108=201, Resulting Numbers: [201]
201,83 unequal: No Solution
Exploring Operation: 108-93=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[59, 44], Operations: ['94-45=49', '93-49=44']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[93, 10], Operations: ['59+45=104', '104-94=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[59, 93, 45, 94], Operations: []
Exploring Operation: 59+45=104, Resulting Numbers: [93, 94, 104]
Generated Node #0,0: 83:[93, 94, 104] Operation: 59+45=104
Moving to Node #0,0
Current State: 83:[93, 94, 104], Operations: ['59+45=104']
Exploring Operation: 104-94=10, Resulting Numbers: [93, 10]
Generated Node #0,0,1: 83:[93, 10] Operation: 104-94=10
Moving to Node #0,0,1
Current State: 83:[93, 10], Operations: ['59+45=104', '104-94=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
11,
24,
4,
72
] | 23 | [
"24/4=6",
"72/6=12",
"11+12=23"
] | Current State: 23:[11, 24, 4, 72], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [11, 72, 6]
Generated Node #2: [11, 72, 6] from Operation: 24/4=6
Current State: 23:[11, 72, 6], Operations: ['24/4=6']
Exploring Operation: 72/6=12, Resulting Numbers: [11, 12]
Generated Node #3: [11, 12] from Operation: 72/6=12
Current State: 23:[11, 12], Operations: ['24/4=6', '72/6=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[11, 24, 4, 72], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [11, 4, 3]
Generated Node #0,0: 23:[11, 4, 3] Operation: 72/24=3
Exploring Operation: 72/4=18, Resulting Numbers: [11, 24, 18]
Generated Node #0,1: 23:[11, 24, 18] Operation: 72/4=18
Moving to Node #0,1
Current State: 23:[11, 24, 18], Operations: ['72/4=18']
Exploring Operation: 11+18=29, Resulting Numbers: [24, 29]
Generated Node #0,1,0: 23:[24, 29] Operation: 11+18=29
Exploring Operation: 24-11=13, Resulting Numbers: [18, 13]
Generated Node #0,1,1: 23:[18, 13] Operation: 24-11=13
Moving to Node #0,0
Current State: 23:[11, 4, 3], Operations: ['72/24=3']
Exploring Operation: 4*3=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 23:[11, 12] Operation: 4*3=12
Exploring Operation: 11+4=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 23:[3, 15] Operation: 11+4=15
Moving to Node #0,1,0
Current State: 23:[24, 29], Operations: ['72/4=18', '11+18=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[18, 13], Operations: ['72/4=18', '24-11=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[11, 12], Operations: ['72/24=3', '4*3=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[11, 24, 4, 72], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [11, 4, 3]
Generated Node #0,0: 23:[11, 4, 3] Operation: 72/24=3
Moving to Node #0,0
Current State: 23:[11, 4, 3], Operations: ['72/24=3']
Exploring Operation: 4*3=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 23:[11, 12] Operation: 4*3=12
Moving to Node #0,0,0
Current State: 23:[11, 12], Operations: ['72/24=3', '4*3=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
15,
83,
89,
66
] | 24 | [
"89-83=6",
"15*6=90",
"90-66=24"
] | Current State: 24:[15, 83, 89, 66], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [15, 66, 6]
Generated Node #2: [15, 66, 6] from Operation: 89-83=6
Current State: 24:[15, 66, 6], Operations: ['89-83=6']
Exploring Operation: 15*6=90, Resulting Numbers: [66, 90]
Generated Node #3: [66, 90] from Operation: 15*6=90
Current State: 24:[66, 90], Operations: ['89-83=6', '15*6=90']
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[15, 83, 89, 66], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [15, 89, 17]
Generated Node #0,0: 24:[15, 89, 17] Operation: 83-66=17
Exploring Operation: 89-83=6, Resulting Numbers: [15, 66, 6]
Generated Node #0,1: 24:[15, 66, 6] Operation: 89-83=6
Exploring Operation: 83-15=68, Resulting Numbers: [89, 66, 68]
Generated Node #0,2: 24:[89, 66, 68] Operation: 83-15=68
Exploring Operation: 89-66=23, Resulting Numbers: [15, 83, 23]
Generated Node #0,3: 24:[15, 83, 23] Operation: 89-66=23
Moving to Node #0,1
Current State: 24:[15, 66, 6], Operations: ['89-83=6']
Exploring Operation: 15-6=9, Resulting Numbers: [66, 9]
Generated Node #0,1,0: 24:[66, 9] Operation: 15-6=9
Exploring Operation: 66/6=11, Resulting Numbers: [15, 11]
Generated Node #0,1,1: 24:[15, 11] Operation: 66/6=11
Exploring Operation: 66-6=60, Resulting Numbers: [15, 60]
Generated Node #0,1,2: 24:[15, 60] Operation: 66-6=60
Exploring Operation: 66-15=51, Resulting Numbers: [6, 51]
Generated Node #0,1,3: 24:[6, 51] Operation: 66-15=51
Moving to Node #0,3
Current State: 24:[15, 83, 23], Operations: ['89-66=23']
Exploring Operation: 83-15=68, Resulting Numbers: [23, 68]
Generated Node #0,3,0: 24:[23, 68] Operation: 83-15=68
Exploring Operation: 23-15=8, Resulting Numbers: [83, 8]
Generated Node #0,3,1: 24:[83, 8] Operation: 23-15=8
Exploring Operation: 15+23=38, Resulting Numbers: [83, 38]
Generated Node #0,3,2: 24:[83, 38] Operation: 15+23=38
Exploring Operation: 83-23=60, Resulting Numbers: [15, 60]
Generated Node #0,3,3: 24:[15, 60] Operation: 83-23=60
Moving to Node #0,0
Current State: 24:[15, 89, 17], Operations: ['83-66=17']
Exploring Operation: 89-15=74, Resulting Numbers: [17, 74]
Generated Node #0,0,0: 24:[17, 74] Operation: 89-15=74
Exploring Operation: 17-15=2, Resulting Numbers: [89, 2]
Generated Node #0,0,1: 24:[89, 2] Operation: 17-15=2
Exploring Operation: 15+17=32, Resulting Numbers: [89, 32]
Generated Node #0,0,2: 24:[89, 32] Operation: 15+17=32
Exploring Operation: 89-17=72, Resulting Numbers: [15, 72]
Generated Node #0,0,3: 24:[15, 72] Operation: 89-17=72
Moving to Node #0,2
Current State: 24:[89, 66, 68], Operations: ['83-15=68']
Exploring Operation: 68-66=2, Resulting Numbers: [89, 2]
Generated Node #0,2,0: 24:[89, 2] Operation: 68-66=2
Exploring Operation: 89-66=23, Resulting Numbers: [68, 23]
Generated Node #0,2,1: 24:[68, 23] Operation: 89-66=23
Exploring Operation: 89+66=155, Resulting Numbers: [68, 155]
Generated Node #0,2,2: 24:[68, 155] Operation: 89+66=155
Exploring Operation: 89-68=21, Resulting Numbers: [66, 21]
Generated Node #0,2,3: 24:[66, 21] Operation: 89-68=21
Moving to Node #0,1,1
Current State: 24:[15, 11], Operations: ['89-83=6', '66/6=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[6, 51], Operations: ['89-83=6', '66-15=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,24 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[15, 60], Operations: ['89-83=6', '66-6=60']
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,24 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[15, 60], Operations: ['89-66=23', '83-23=60']
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,24 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[66, 9], Operations: ['89-83=6', '15-6=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 66*9=594, Resulting Numbers: [594]
594,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[66, 21], Operations: ['83-15=68', '89-68=21']
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[23, 68], Operations: ['89-66=23', '83-15=68']
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 23*68=1564, Resulting Numbers: [1564]
1564,24 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[68, 23], Operations: ['83-15=68', '89-66=23']
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,24 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[15, 72], Operations: ['83-66=17', '89-17=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,24 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[17, 74], Operations: ['83-66=17', '89-15=74']
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[83, 8], Operations: ['89-66=23', '23-15=8']
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,24 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[89, 2], Operations: ['83-66=17', '17-15=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[89, 2], Operations: ['83-15=68', '68-66=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,24 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[89, 32], Operations: ['83-66=17', '15+17=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,24 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,24 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[83, 38], Operations: ['89-66=23', '15+23=38']
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,24 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 83*38=3154, Resulting Numbers: [3154]
3154,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[68, 155], Operations: ['83-15=68', '89+66=155']
Exploring Operation: 68+155=223, Resulting Numbers: [223]
223,24 unequal: No Solution
Exploring Operation: 68*155=10540, Resulting Numbers: [10540]
10540,24 unequal: No Solution
Exploring Operation: 155-68=87, Resulting Numbers: [87]
87,24 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
82,
68,
4,
31
] | 87 | [
"82-68=14",
"4*14=56",
"31+56=87"
] | Current State: 87:[82, 68, 4, 31], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [4, 31, 14]
Generated Node #2: [4, 31, 14] from Operation: 82-68=14
Current State: 87:[4, 31, 14], Operations: ['82-68=14']
Exploring Operation: 4*14=56, Resulting Numbers: [31, 56]
Generated Node #3: [31, 56] from Operation: 4*14=56
Current State: 87:[31, 56], Operations: ['82-68=14', '4*14=56']
Exploring Operation: 31+56=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[82, 68, 4, 31], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [82, 4, 37]
Generated Node #0,0: 87:[82, 4, 37] Operation: 68-31=37
Exploring Operation: 68/4=17, Resulting Numbers: [82, 31, 17]
Generated Node #0,1: 87:[82, 31, 17] Operation: 68/4=17
Exploring Operation: 82-68=14, Resulting Numbers: [4, 31, 14]
Generated Node #0,2: 87:[4, 31, 14] Operation: 82-68=14
Exploring Operation: 68+31=99, Resulting Numbers: [82, 4, 99]
Generated Node #0,3: 87:[82, 4, 99] Operation: 68+31=99
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[82, 4, 37], Operations: ['68-31=37']
Exploring Operation: 82-37=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 87:[4, 45] Operation: 82-37=45
Exploring Operation: 82-4=78, Resulting Numbers: [37, 78]
Generated Node #0,0,1: 87:[37, 78] Operation: 82-4=78
Exploring Operation: 37-4=33, Resulting Numbers: [82, 33]
Generated Node #0,0,2: 87:[82, 33] Operation: 37-4=33
Exploring Operation: 82+4=86, Resulting Numbers: [37, 86]
Generated Node #0,0,3: 87:[37, 86] Operation: 82+4=86
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[82, 33], Operations: ['68-31=37', '37-4=33']
Exploring Operation: 82+33=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Exploring Operation: 82*33=2706, Resulting Numbers: [2706]
2706,87 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[37, 86], Operations: ['68-31=37', '82+4=86']
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,87 unequal: No Solution
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[4, 45], Operations: ['68-31=37', '82-37=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,87 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[37, 78], Operations: ['68-31=37', '82-4=78']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 37+78=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Exploring Operation: 37*78=2886, Resulting Numbers: [2886]
2886,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[4, 31, 14], Operations: ['82-68=14']
Exploring Operation: 4+14=18, Resulting Numbers: [31, 18]
Generated Node #0,2,0: 87:[31, 18] Operation: 4+14=18
Exploring Operation: 31-4=27, Resulting Numbers: [14, 27]
Generated Node #0,2,1: 87:[14, 27] Operation: 31-4=27
Exploring Operation: 31-14=17, Resulting Numbers: [4, 17]
Generated Node #0,2,2: 87:[4, 17] Operation: 31-14=17
Exploring Operation: 14-4=10, Resulting Numbers: [31, 10]
Generated Node #0,2,3: 87:[31, 10] Operation: 14-4=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[31, 10], Operations: ['82-68=14', '14-4=10']
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,87 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 87:[31, 18], Operations: ['82-68=14', '4+14=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,87 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 87:[14, 27], Operations: ['82-68=14', '31-4=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,87 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[4, 17], Operations: ['82-68=14', '31-14=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[82, 4, 99], Operations: ['68+31=99']
Exploring Operation: 99-82=17, Resulting Numbers: [4, 17]
Generated Node #0,3,0: 87:[4, 17] Operation: 99-82=17
Exploring Operation: 82+4=86, Resulting Numbers: [99, 86]
Generated Node #0,3,1: 87:[99, 86] Operation: 82+4=86
Exploring Operation: 99-4=95, Resulting Numbers: [82, 95]
Generated Node #0,3,2: 87:[82, 95] Operation: 99-4=95
Exploring Operation: 82-4=78, Resulting Numbers: [99, 78]
Generated Node #0,3,3: 87:[99, 78] Operation: 82-4=78
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[4, 17], Operations: ['68+31=99', '99-82=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[99, 86], Operations: ['68+31=99', '82+4=86']
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 99*86=8514, Resulting Numbers: [8514]
8514,87 unequal: No Solution
Exploring Operation: 99+86=185, Resulting Numbers: [185]
185,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[82, 95], Operations: ['68+31=99', '99-4=95']
Exploring Operation: 82+95=177, Resulting Numbers: [177]
177,87 unequal: No Solution
Exploring Operation: 95-82=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 82*95=7790, Resulting Numbers: [7790]
7790,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[99, 78], Operations: ['68+31=99', '82-4=78']
Exploring Operation: 99+78=177, Resulting Numbers: [177]
177,87 unequal: No Solution
Exploring Operation: 99*78=7722, Resulting Numbers: [7722]
7722,87 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[82, 31, 17], Operations: ['68/4=17']
Exploring Operation: 31+17=48, Resulting Numbers: [82, 48]
Generated Node #0,1,0: 87:[82, 48] Operation: 31+17=48
Exploring Operation: 82-17=65, Resulting Numbers: [31, 65]
Generated Node #0,1,1: 87:[31, 65] Operation: 82-17=65
Exploring Operation: 31-17=14, Resulting Numbers: [82, 14]
Generated Node #0,1,2: 87:[82, 14] Operation: 31-17=14
Exploring Operation: 82+17=99, Resulting Numbers: [31, 99]
Generated Node #0,1,3: 87:[31, 99] Operation: 82+17=99
Moving to Node #0,1,3
Current State: 87:[31, 99], Operations: ['68/4=17', '82+17=99']
Exploring Operation: 31*99=3069, Resulting Numbers: [3069]
3069,87 unequal: No Solution
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 31+99=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[82, 14], Operations: ['68/4=17', '31-17=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[31, 65], Operations: ['68/4=17', '82-17=65']
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,87 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[82, 48], Operations: ['68/4=17', '31+17=48']
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
24,
61,
48
] | 80 | [
"21+61=82",
"48/24=2",
"82-2=80"
] | Current State: 80:[21, 24, 61, 48], Operations: []
Exploring Operation: 21+61=82, Resulting Numbers: [24, 48, 82]
Generated Node #2: [24, 48, 82] from Operation: 21+61=82
Current State: 80:[24, 48, 82], Operations: ['21+61=82']
Exploring Operation: 48/24=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 48/24=2
Current State: 80:[82, 2], Operations: ['21+61=82', '48/24=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[21, 24, 61, 48], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [24, 48, 40]
Generated Node #0,0: 80:[24, 48, 40] Operation: 61-21=40
Exploring Operation: 61-48=13, Resulting Numbers: [21, 24, 13]
Generated Node #0,1: 80:[21, 24, 13] Operation: 61-48=13
Exploring Operation: 21+61=82, Resulting Numbers: [24, 48, 82]
Generated Node #0,2: 80:[24, 48, 82] Operation: 21+61=82
Exploring Operation: 61-24=37, Resulting Numbers: [21, 48, 37]
Generated Node #0,3: 80:[21, 48, 37] Operation: 61-24=37
Moving to Node #0,1
Current State: 80:[21, 24, 13], Operations: ['61-48=13']
Exploring Operation: 24-13=11, Resulting Numbers: [21, 11]
Generated Node #0,1,0: 80:[21, 11] Operation: 24-13=11
Exploring Operation: 24-21=3, Resulting Numbers: [13, 3]
Generated Node #0,1,1: 80:[13, 3] Operation: 24-21=3
Exploring Operation: 21-13=8, Resulting Numbers: [24, 8]
Generated Node #0,1,2: 80:[24, 8] Operation: 21-13=8
Exploring Operation: 24+13=37, Resulting Numbers: [21, 37]
Generated Node #0,1,3: 80:[21, 37] Operation: 24+13=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[21, 11], Operations: ['61-48=13', '24-13=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[13, 3], Operations: ['61-48=13', '24-21=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[24, 8], Operations: ['61-48=13', '21-13=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[21, 37], Operations: ['61-48=13', '24+13=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,80 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: 80:[21, 48, 37], Operations: ['61-24=37']
Exploring Operation: 48-21=27, Resulting Numbers: [37, 27]
Generated Node #0,3,0: 80:[37, 27] Operation: 48-21=27
Exploring Operation: 48-37=11, Resulting Numbers: [21, 11]
Generated Node #0,3,1: 80:[21, 11] Operation: 48-37=11
Exploring Operation: 37-21=16, Resulting Numbers: [48, 16]
Generated Node #0,3,2: 80:[48, 16] Operation: 37-21=16
Exploring Operation: 48+37=85, Resulting Numbers: [21, 85]
Generated Node #0,3,3: 80:[21, 85] Operation: 48+37=85
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[21, 11], Operations: ['61-24=37', '48-37=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,80 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[21, 85], Operations: ['61-24=37', '48+37=85']
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[48, 16], Operations: ['61-24=37', '37-21=16']
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,80 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[37, 27], Operations: ['61-24=37', '48-21=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,80 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 80:[24, 48, 40], Operations: ['61-21=40']
Exploring Operation: 24+48=72, Resulting Numbers: [40, 72]
Generated Node #0,0,0: 80:[40, 72] Operation: 24+48=72
Exploring Operation: 48-24=24, Resulting Numbers: [40, 24]
Generated Node #0,0,1: 80:[40, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 80:[40, 2] Operation: 48/24=2
Exploring Operation: 48-40=8, Resulting Numbers: [24, 8]
Generated Node #0,0,3: 80:[24, 8] Operation: 48-40=8
Moving to Node #0,2
Current State: 80:[24, 48, 82], Operations: ['21+61=82']
Exploring Operation: 48-24=24, Resulting Numbers: [82, 24]
Generated Node #0,2,0: 80:[82, 24] Operation: 48-24=24
Exploring Operation: 82-48=34, Resulting Numbers: [24, 34]
Generated Node #0,2,1: 80:[24, 34] Operation: 82-48=34
Exploring Operation: 48/24=2, Resulting Numbers: [82, 2]
Generated Node #0,2,2: 80:[82, 2] Operation: 48/24=2
Exploring Operation: 24+48=72, Resulting Numbers: [82, 72]
Generated Node #0,2,3: 80:[82, 72] Operation: 24+48=72
Moving to Node #0,0,2
Current State: 80:[40, 2], Operations: ['61-21=40', '48/24=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[21, 24, 61, 48], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [24, 48, 40]
Generated Node #0,0: 80:[24, 48, 40] Operation: 61-21=40
Moving to Node #0,0
Current State: 80:[24, 48, 40], Operations: ['61-21=40']
Exploring Operation: 48/24=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 80:[40, 2] Operation: 48/24=2
Moving to Node #0,0,2
Current State: 80:[40, 2], Operations: ['61-21=40', '48/24=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.953125 | hs_4 | mult_heuristic |
[
75,
22,
62,
62
] | 22 | [
"62-62=0",
"75*0=0",
"22+0=22"
] | Current State: 22:[75, 22, 62, 62], Operations: []
Exploring Operation: 62-62=0, Resulting Numbers: [75, 22, 0]
Generated Node #2: [75, 22, 0] from Operation: 62-62=0
Current State: 22:[75, 22, 0], Operations: ['62-62=0']
Exploring Operation: 75*0=0, Resulting Numbers: [22, 0]
Generated Node #3: [22, 0] from Operation: 75*0=0
Current State: 22:[22, 0], Operations: ['62-62=0', '75*0=0']
Exploring Operation: 22+0=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[75, 22, 62, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [22, 62, 13]
Generated Node #0,0: 22:[22, 62, 13] Operation: 75-62=13
Exploring Operation: 75-62=13, Resulting Numbers: [22, 62, 13]
Generated Node #0,1: 22:[22, 62, 13] Operation: 75-62=13
Exploring Operation: 62/62=1, Resulting Numbers: [75, 22, 1]
Generated Node #0,2: 22:[75, 22, 1] Operation: 62/62=1
Moving to Node #0,0
Current State: 22:[22, 62, 13], Operations: ['75-62=13']
Exploring Operation: 62-22=40, Resulting Numbers: [13, 40]
Generated Node #0,0,0: 22:[13, 40] Operation: 62-22=40
Exploring Operation: 62-13=49, Resulting Numbers: [22, 49]
Generated Node #0,0,1: 22:[22, 49] Operation: 62-13=49
Exploring Operation: 22-13=9, Resulting Numbers: [62, 9]
Generated Node #0,0,2: 22:[62, 9] Operation: 22-13=9
Moving to Node #0,1
Current State: 22:[22, 62, 13], Operations: ['75-62=13']
Exploring Operation: 62-13=49, Resulting Numbers: [22, 49]
Generated Node #0,1,0: 22:[22, 49] Operation: 62-13=49
Exploring Operation: 62-22=40, Resulting Numbers: [13, 40]
Generated Node #0,1,1: 22:[13, 40] Operation: 62-22=40
Exploring Operation: 22-13=9, Resulting Numbers: [62, 9]
Generated Node #0,1,2: 22:[62, 9] Operation: 22-13=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[13, 40], Operations: ['75-62=13', '62-22=40']
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,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,1,0
Current State: 22:[22, 49], Operations: ['75-62=13', '62-13=49']
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,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,1,2
Current State: 22:[62, 9], Operations: ['75-62=13', '22-13=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,22 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 22:[75, 22, 1], Operations: ['62/62=1']
Exploring Operation: 75-1=74, Resulting Numbers: [22, 74]
Generated Node #0,2,0: 22:[22, 74] Operation: 75-1=74
Exploring Operation: 75-22=53, Resulting Numbers: [1, 53]
Generated Node #0,2,1: 22:[1, 53] Operation: 75-22=53
Exploring Operation: 75*1=75, Resulting Numbers: [22, 75]
Generated Node #0,2,2: 22:[22, 75] Operation: 75*1=75
Moving to Node #0,0,0
Current State: 22:[13, 40], Operations: ['75-62=13', '62-22=40']
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[22, 49], Operations: ['75-62=13', '62-13=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[1, 53], Operations: ['62/62=1', '75-22=53']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[62, 9], Operations: ['75-62=13', '22-13=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,22 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[22, 74], Operations: ['62/62=1', '75-1=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,22 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[22, 75], Operations: ['62/62=1', '75*1=75']
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,22 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 22*75=1650, Resulting Numbers: [1650]
1650,22 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
28,
51,
2,
87
] | 83 | [
"28+51=79",
"87+79=166",
"166/2=83"
] | Current State: 83:[28, 51, 2, 87], Operations: []
Exploring Operation: 28+51=79, Resulting Numbers: [2, 87, 79]
Generated Node #2: [2, 87, 79] from Operation: 28+51=79
Current State: 83:[2, 87, 79], Operations: ['28+51=79']
Exploring Operation: 87+79=166, Resulting Numbers: [2, 166]
Generated Node #3: [2, 166] from Operation: 87+79=166
Current State: 83:[2, 166], Operations: ['28+51=79', '87+79=166']
Exploring Operation: 166/2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[28, 51, 2, 87], Operations: []
Exploring Operation: 28*2=56, Resulting Numbers: [51, 87, 56]
Generated Node #0,0: 83:[51, 87, 56] Operation: 28*2=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[51, 87, 56], Operations: ['28*2=56']
Exploring Operation: 51+56=107, Resulting Numbers: [87, 107]
Generated Node #0,0,0: 83:[87, 107] Operation: 51+56=107
Moving to Node #0,0,0
Current State: 83:[87, 107], Operations: ['28*2=56', '51+56=107']
Exploring Operation: 107-87=20, Resulting Numbers: [20]
20,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
57,
55,
58
] | 64 | [
"57-55=2",
"12/2=6",
"58+6=64"
] | Current State: 64:[12, 57, 55, 58], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [12, 58, 2]
Generated Node #2: [12, 58, 2] from Operation: 57-55=2
Current State: 64:[12, 58, 2], Operations: ['57-55=2']
Exploring Operation: 12/2=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 12/2=6
Current State: 64:[58, 6], Operations: ['57-55=2', '12/2=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[12, 57, 55, 58], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [12, 57, 3]
Generated Node #0,0: 64:[12, 57, 3] Operation: 58-55=3
Exploring Operation: 58-57=1, Resulting Numbers: [12, 55, 1]
Generated Node #0,1: 64:[12, 55, 1] Operation: 58-57=1
Exploring Operation: 57-55=2, Resulting Numbers: [12, 58, 2]
Generated Node #0,2: 64:[12, 58, 2] Operation: 57-55=2
Exploring Operation: 12+55=67, Resulting Numbers: [57, 58, 67]
Generated Node #0,3: 64:[57, 58, 67] Operation: 12+55=67
Exploring Operation: 12+57=69, Resulting Numbers: [55, 58, 69]
Generated Node #0,4: 64:[55, 58, 69] Operation: 12+57=69
Moving to Node #0,2
Current State: 64:[12, 58, 2], Operations: ['57-55=2']
Exploring Operation: 12+58=70, Resulting Numbers: [2, 70]
Generated Node #0,2,0: 64:[2, 70] Operation: 12+58=70
Exploring Operation: 12+2=14, Resulting Numbers: [58, 14]
Generated Node #0,2,1: 64:[58, 14] Operation: 12+2=14
Exploring Operation: 58/2=29, Resulting Numbers: [12, 29]
Generated Node #0,2,2: 64:[12, 29] Operation: 58/2=29
Exploring Operation: 12-2=10, Resulting Numbers: [58, 10]
Generated Node #0,2,3: 64:[58, 10] Operation: 12-2=10
Exploring Operation: 12/2=6, Resulting Numbers: [58, 6]
Generated Node #0,2,4: 64:[58, 6] Operation: 12/2=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[2, 70], Operations: ['57-55=2', '12+58=70']
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,64 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[12, 29], Operations: ['57-55=2', '58/2=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,64 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[58, 14], Operations: ['57-55=2', '12+2=14']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,64 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[58, 10], Operations: ['57-55=2', '12-2=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,64 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[58, 6], Operations: ['57-55=2', '12/2=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[12, 57, 55, 58], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [12, 58, 2]
Generated Node #0,2: 64:[12, 58, 2] Operation: 57-55=2
Moving to Node #0,2
Current State: 64:[12, 58, 2], Operations: ['57-55=2']
Exploring Operation: 12/2=6, Resulting Numbers: [58, 6]
Generated Node #0,2,4: 64:[58, 6] Operation: 12/2=6
Moving to Node #0,2,4
Current State: 64:[58, 6], Operations: ['57-55=2', '12/2=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | mult_heuristic |
[
20,
43,
27,
11
] | 53 | [
"20*27=540",
"43+540=583",
"583/11=53"
] | Current State: 53:[20, 43, 27, 11], Operations: []
Exploring Operation: 20*27=540, Resulting Numbers: [43, 11, 540]
Generated Node #2: [43, 11, 540] from Operation: 20*27=540
Current State: 53:[43, 11, 540], Operations: ['20*27=540']
Exploring Operation: 43+540=583, Resulting Numbers: [11, 583]
Generated Node #3: [11, 583] from Operation: 43+540=583
Current State: 53:[11, 583], Operations: ['20*27=540', '43+540=583']
Exploring Operation: 583/11=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[20, 43, 27, 11], Operations: []
Exploring Operation: 27+11=38, Resulting Numbers: [20, 43, 38]
Generated Node #0,0: 53:[20, 43, 38] Operation: 27+11=38
Exploring Operation: 20+11=31, Resulting Numbers: [43, 27, 31]
Generated Node #0,1: 53:[43, 27, 31] Operation: 20+11=31
Exploring Operation: 20+27=47, Resulting Numbers: [43, 11, 47]
Generated Node #0,2: 53:[43, 11, 47] Operation: 20+27=47
Moving to Node #0,0
Current State: 53:[20, 43, 38], Operations: ['27+11=38']
Exploring Operation: 20+38=58, Resulting Numbers: [43, 58]
Generated Node #0,0,0: 53:[43, 58] Operation: 20+38=58
Exploring Operation: 43-20=23, Resulting Numbers: [38, 23]
Generated Node #0,0,1: 53:[38, 23] Operation: 43-20=23
Exploring Operation: 20+43=63, Resulting Numbers: [38, 63]
Generated Node #0,0,2: 53:[38, 63] Operation: 20+43=63
Moving to Node #0,1
Current State: 53:[43, 27, 31], Operations: ['20+11=31']
Exploring Operation: 43+27=70, Resulting Numbers: [31, 70]
Generated Node #0,1,0: 53:[31, 70] Operation: 43+27=70
Exploring Operation: 43+31=74, Resulting Numbers: [27, 74]
Generated Node #0,1,1: 53:[27, 74] Operation: 43+31=74
Exploring Operation: 27+31=58, Resulting Numbers: [43, 58]
Generated Node #0,1,2: 53:[43, 58] Operation: 27+31=58
Moving to Node #0,2
Current State: 53:[43, 11, 47], Operations: ['20+27=47']
Exploring Operation: 43+11=54, Resulting Numbers: [47, 54]
Generated Node #0,2,0: 53:[47, 54] Operation: 43+11=54
Exploring Operation: 43-11=32, Resulting Numbers: [47, 32]
Generated Node #0,2,1: 53:[47, 32] Operation: 43-11=32
Exploring Operation: 11+47=58, Resulting Numbers: [43, 58]
Generated Node #0,2,2: 53:[43, 58] Operation: 11+47=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[47, 54], Operations: ['20+27=47', '43+11=54']
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,53 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,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:[43, 58], Operations: ['20+27=47', '11+47=58']
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,53 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,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,1
Current State: 53:[47, 32], Operations: ['20+27=47', '43-11=32']
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,53 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,53 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: 53:[43, 58], Operations: ['27+11=38', '20+38=58']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,53 unequal: No Solution
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[43, 58], Operations: ['20+11=31', '27+31=58']
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,53 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[38, 63], Operations: ['27+11=38', '20+43=63']
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[31, 70], Operations: ['20+11=31', '43+27=70']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 31+70=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 31*70=2170, Resulting Numbers: [2170]
2170,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[38, 23], Operations: ['27+11=38', '43-20=23']
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,53 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[27, 74], Operations: ['20+11=31', '43+31=74']
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,53 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,53 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
70,
9,
9
] | 28 | [
"70-60=10",
"9+9=18",
"10+18=28"
] | Current State: 28:[60, 70, 9, 9], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [9, 9, 10]
Generated Node #2: [9, 9, 10] from Operation: 70-60=10
Current State: 28:[9, 9, 10], Operations: ['70-60=10']
Exploring Operation: 9+9=18, Resulting Numbers: [10, 18]
Generated Node #3: [10, 18] from Operation: 9+9=18
Current State: 28:[10, 18], Operations: ['70-60=10', '9+9=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[60, 70, 9, 9], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [70, 9, 51]
Generated Node #0,0: 28:[70, 9, 51] Operation: 60-9=51
Exploring Operation: 70-60=10, Resulting Numbers: [9, 9, 10]
Generated Node #0,1: 28:[9, 9, 10] Operation: 70-60=10
Moving to Node #0,1
Current State: 28:[9, 9, 10], Operations: ['70-60=10']
Exploring Operation: 10-9=1, Resulting Numbers: [9, 1]
Generated Node #0,1,0: 28:[9, 1] Operation: 10-9=1
Exploring Operation: 10-9=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 28:[9, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[9, 1], Operations: ['70-60=10', '10-9=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[9, 1], Operations: ['70-60=10', '10-9=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[70, 9, 51], Operations: ['60-9=51']
Exploring Operation: 70-9=61, Resulting Numbers: [51, 61]
Generated Node #0,0,0: 28:[51, 61] Operation: 70-9=61
Exploring Operation: 70-51=19, Resulting Numbers: [9, 19]
Generated Node #0,0,1: 28:[9, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[9, 19], Operations: ['60-9=51', '70-51=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[60, 70, 9, 9], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [70, 9, 51]
Generated Node #0,0: 28:[70, 9, 51] Operation: 60-9=51
Moving to Node #0,0
Current State: 28:[70, 9, 51], Operations: ['60-9=51']
Exploring Operation: 70-51=19, Resulting Numbers: [9, 19]
Generated Node #0,0,1: 28:[9, 19] Operation: 70-51=19
Moving to Node #0,0,1
Current State: 28:[9, 19], Operations: ['60-9=51', '70-51=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
44,
33,
9,
67
] | 90 | [
"44+33=77",
"77-67=10",
"9*10=90"
] | Current State: 90:[44, 33, 9, 67], Operations: []
Exploring Operation: 44+33=77, Resulting Numbers: [9, 67, 77]
Generated Node #2: [9, 67, 77] from Operation: 44+33=77
Current State: 90:[9, 67, 77], Operations: ['44+33=77']
Exploring Operation: 77-67=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 77-67=10
Current State: 90:[9, 10], Operations: ['44+33=77', '77-67=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[44, 33, 9, 67], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [33, 9, 23]
Generated Node #0,0: 90:[33, 9, 23] Operation: 67-44=23
Exploring Operation: 67-33=34, Resulting Numbers: [44, 9, 34]
Generated Node #0,1: 90:[44, 9, 34] Operation: 67-33=34
Moving to Node #0,1
Current State: 90:[44, 9, 34], Operations: ['67-33=34']
Exploring Operation: 44-34=10, Resulting Numbers: [9, 10]
Generated Node #0,1,0: 90:[9, 10] Operation: 44-34=10
Exploring Operation: 9+34=43, Resulting Numbers: [44, 43]
Generated Node #0,1,1: 90:[44, 43] Operation: 9+34=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[9, 10], Operations: ['67-33=34', '44-34=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[44, 33, 9, 67], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [44, 9, 34]
Generated Node #0,1: 90:[44, 9, 34] Operation: 67-33=34
Moving to Node #0,1
Current State: 90:[44, 9, 34], Operations: ['67-33=34']
Exploring Operation: 44-34=10, Resulting Numbers: [9, 10]
Generated Node #0,1,0: 90:[9, 10] Operation: 44-34=10
Moving to Node #0,1,0
Current State: 90:[9, 10], Operations: ['67-33=34', '44-34=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
65,
59,
54,
18
] | 25 | [
"59-54=5",
"18*5=90",
"90-65=25"
] | Current State: 25:[65, 59, 54, 18], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [65, 18, 5]
Generated Node #2: [65, 18, 5] from Operation: 59-54=5
Current State: 25:[65, 18, 5], Operations: ['59-54=5']
Exploring Operation: 18*5=90, Resulting Numbers: [65, 90]
Generated Node #3: [65, 90] from Operation: 18*5=90
Current State: 25:[65, 90], Operations: ['59-54=5', '18*5=90']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[65, 59, 54, 18], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [65, 18, 5]
Generated Node #0,0: 25:[65, 18, 5] Operation: 59-54=5
Exploring Operation: 65-59=6, Resulting Numbers: [54, 18, 6]
Generated Node #0,1: 25:[54, 18, 6] Operation: 65-59=6
Exploring Operation: 65-54=11, Resulting Numbers: [59, 18, 11]
Generated Node #0,2: 25:[59, 18, 11] Operation: 65-54=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[54, 18, 6], Operations: ['65-59=6']
Exploring Operation: 54-18=36, Resulting Numbers: [6, 36]
Generated Node #0,1,0: 25:[6, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 25:[6, 3] Operation: 54/18=3
Exploring Operation: 54/6=9, Resulting Numbers: [18, 9]
Generated Node #0,1,2: 25:[18, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[6, 3], Operations: ['65-59=6', '54/18=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No 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: 25:[18, 9], Operations: ['65-59=6', '54/6=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,25 unequal: No Solution
No 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: 25:[6, 36], Operations: ['65-59=6', '54-18=36']
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,25 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: 25:[65, 18, 5], Operations: ['59-54=5']
Exploring Operation: 65/5=13, Resulting Numbers: [18, 13]
Generated Node #0,0,0: 25:[18, 13] Operation: 65/5=13
Exploring Operation: 65-5=60, Resulting Numbers: [18, 60]
Generated Node #0,0,1: 25:[18, 60] Operation: 65-5=60
Exploring Operation: 65-18=47, Resulting Numbers: [5, 47]
Generated Node #0,0,2: 25:[5, 47] Operation: 65-18=47
Moving to Node #0,0,0
Current State: 25:[18, 13], Operations: ['59-54=5', '65/5=13']
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[5, 47], Operations: ['59-54=5', '65-18=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[18, 60], Operations: ['59-54=5', '65-5=60']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[59, 18, 11], Operations: ['65-54=11']
Exploring Operation: 18-11=7, Resulting Numbers: [59, 7]
Generated Node #0,2,0: 25:[59, 7] Operation: 18-11=7
Exploring Operation: 59-11=48, Resulting Numbers: [18, 48]
Generated Node #0,2,1: 25:[18, 48] Operation: 59-11=48
Exploring Operation: 59-18=41, Resulting Numbers: [11, 41]
Generated Node #0,2,2: 25:[11, 41] Operation: 59-18=41
Moving to Node #0,2,2
Current State: 25:[11, 41], Operations: ['65-54=11', '59-18=41']
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,25 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[18, 48], Operations: ['65-54=11', '59-11=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,25 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[59, 7], Operations: ['65-54=11', '18-11=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,25 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 |
[
17,
81,
25,
2
] | 91 | [
"81-17=64",
"25+2=27",
"64+27=91"
] | Current State: 91:[17, 81, 25, 2], Operations: []
Exploring Operation: 81-17=64, Resulting Numbers: [25, 2, 64]
Generated Node #2: [25, 2, 64] from Operation: 81-17=64
Current State: 91:[25, 2, 64], Operations: ['81-17=64']
Exploring Operation: 25+2=27, Resulting Numbers: [64, 27]
Generated Node #3: [64, 27] from Operation: 25+2=27
Current State: 91:[64, 27], Operations: ['81-17=64', '25+2=27']
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[17, 81, 25, 2], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [81, 2, 8]
Generated Node #0,0: 91:[81, 2, 8] Operation: 25-17=8
Exploring Operation: 17+81=98, Resulting Numbers: [25, 2, 98]
Generated Node #0,1: 91:[25, 2, 98] Operation: 17+81=98
Moving to Node #0,0
Current State: 91:[81, 2, 8], Operations: ['25-17=8']
Exploring Operation: 81+2=83, Resulting Numbers: [8, 83]
Generated Node #0,0,0: 91:[8, 83] Operation: 81+2=83
Exploring Operation: 81+8=89, Resulting Numbers: [2, 89]
Generated Node #0,0,1: 91:[2, 89] Operation: 81+8=89
Moving to Node #0,1
Current State: 91:[25, 2, 98], Operations: ['17+81=98']
Exploring Operation: 98-2=96, Resulting Numbers: [25, 96]
Generated Node #0,1,0: 91:[25, 96] Operation: 98-2=96
Exploring Operation: 25-2=23, Resulting Numbers: [98, 23]
Generated Node #0,1,1: 91:[98, 23] Operation: 25-2=23
Moving to Node #0,0,1
Current State: 91:[2, 89], Operations: ['25-17=8', '81+8=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[17, 81, 25, 2], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [81, 2, 8]
Generated Node #0,0: 91:[81, 2, 8] Operation: 25-17=8
Moving to Node #0,0
Current State: 91:[81, 2, 8], Operations: ['25-17=8']
Exploring Operation: 81+8=89, Resulting Numbers: [2, 89]
Generated Node #0,0,1: 91:[2, 89] Operation: 81+8=89
Moving to Node #0,0,1
Current State: 91:[2, 89], Operations: ['25-17=8', '81+8=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
39,
65,
68,
39
] | 81 | [
"65-39=26",
"68+39=107",
"107-26=81"
] | Current State: 81:[39, 65, 68, 39], Operations: []
Exploring Operation: 65-39=26, Resulting Numbers: [68, 26]
Generated Node #2: [68, 26] from Operation: 65-39=26
Current State: 81:[68, 26], Operations: ['65-39=26']
Exploring Operation: 68+39=107, Resulting Numbers: [26, 107]
Generated Node #3: [26, 107] from Operation: 68+39=107
Current State: 81:[26, 107], Operations: ['65-39=26', '68+39=107']
Exploring Operation: 107-26=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[39, 65, 68, 39], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [39, 39, 3]
Generated Node #0,0: 81:[39, 39, 3] Operation: 68-65=3
Exploring Operation: 65-39=26, Resulting Numbers: [68, 39, 26]
Generated Node #0,1: 81:[68, 39, 26] Operation: 65-39=26
Exploring Operation: 65-39=26, Resulting Numbers: [39, 68, 26]
Generated Node #0,2: 81:[39, 68, 26] Operation: 65-39=26
Exploring Operation: 68-39=29, Resulting Numbers: [65, 39, 29]
Generated Node #0,3: 81:[65, 39, 29] Operation: 68-39=29
Exploring Operation: 68-39=29, Resulting Numbers: [39, 65, 29]
Generated Node #0,4: 81:[39, 65, 29] Operation: 68-39=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[39, 39, 3], Operations: ['68-65=3']
Exploring Operation: 39+39=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 81:[3, 78] Operation: 39+39=78
Exploring Operation: 39/3=13, Resulting Numbers: [39, 13]
Generated Node #0,0,1: 81:[39, 13] Operation: 39/3=13
Exploring Operation: 39/39=1, Resulting Numbers: [3, 1]
Generated Node #0,0,2: 81:[3, 1] Operation: 39/39=1
Exploring Operation: 39-39=0, Resulting Numbers: [3, 0]
Generated Node #0,0,3: 81:[3, 0] Operation: 39-39=0
Exploring Operation: 39/3=13, Resulting Numbers: [39, 13]
Generated Node #0,0,4: 81:[39, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[3, 1], Operations: ['68-65=3', '39/39=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No 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: 81:[3, 78], Operations: ['68-65=3', '39+39=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,81 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[39, 65, 68, 39], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [39, 39, 3]
Generated Node #0,0: 81:[39, 39, 3] Operation: 68-65=3
Moving to Node #0,0
Current State: 81:[39, 39, 3], Operations: ['68-65=3']
Exploring Operation: 39+39=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 81:[3, 78] Operation: 39+39=78
Moving to Node #0,0,0
Current State: 81:[3, 78], Operations: ['68-65=3', '39+39=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
86,
49,
28,
95
] | 68 | [
"86+49=135",
"95-28=67",
"135-67=68"
] | Current State: 68:[86, 49, 28, 95], Operations: []
Exploring Operation: 86+49=135, Resulting Numbers: [28, 95, 135]
Generated Node #2: [28, 95, 135] from Operation: 86+49=135
Current State: 68:[28, 95, 135], Operations: ['86+49=135']
Exploring Operation: 95-28=67, Resulting Numbers: [135, 67]
Generated Node #3: [135, 67] from Operation: 95-28=67
Current State: 68:[135, 67], Operations: ['86+49=135', '95-28=67']
Exploring Operation: 135-67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[86, 49, 28, 95], Operations: []
Exploring Operation: 95-28=67, Resulting Numbers: [86, 49, 67]
Generated Node #0,0: 68:[86, 49, 67] Operation: 95-28=67
Exploring Operation: 95-86=9, Resulting Numbers: [49, 28, 9]
Generated Node #0,1: 68:[49, 28, 9] Operation: 95-86=9
Exploring Operation: 86-49=37, Resulting Numbers: [28, 95, 37]
Generated Node #0,2: 68:[28, 95, 37] Operation: 86-49=37
Moving to Node #0,1
Current State: 68:[49, 28, 9], Operations: ['95-86=9']
Exploring Operation: 49+28=77, Resulting Numbers: [9, 77]
Generated Node #0,1,0: 68:[9, 77] Operation: 49+28=77
Exploring Operation: 49-9=40, Resulting Numbers: [28, 40]
Generated Node #0,1,1: 68:[28, 40] Operation: 49-9=40
Exploring Operation: 49-28=21, Resulting Numbers: [9, 21]
Generated Node #0,1,2: 68:[9, 21] Operation: 49-28=21
Moving to Node #0,0
Current State: 68:[86, 49, 67], Operations: ['95-28=67']
Exploring Operation: 67-49=18, Resulting Numbers: [86, 18]
Generated Node #0,0,0: 68:[86, 18] Operation: 67-49=18
Exploring Operation: 86-67=19, Resulting Numbers: [49, 19]
Generated Node #0,0,1: 68:[49, 19] Operation: 86-67=19
Exploring Operation: 86-49=37, Resulting Numbers: [67, 37]
Generated Node #0,0,2: 68:[67, 37] Operation: 86-49=37
Moving to Node #0,2
Current State: 68:[28, 95, 37], Operations: ['86-49=37']
Exploring Operation: 95-37=58, Resulting Numbers: [28, 58]
Generated Node #0,2,0: 68:[28, 58] Operation: 95-37=58
Exploring Operation: 95-28=67, Resulting Numbers: [37, 67]
Generated Node #0,2,1: 68:[37, 67] Operation: 95-28=67
Exploring Operation: 28+37=65, Resulting Numbers: [95, 65]
Generated Node #0,2,2: 68:[95, 65] Operation: 28+37=65
Moving to Node #0,0,2
Current State: 68:[67, 37], Operations: ['95-28=67', '86-49=37']
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 67+37=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 67*37=2479, Resulting Numbers: [2479]
2479,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[37, 67], Operations: ['86-49=37', '95-28=67']
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,68 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[9, 21], Operations: ['95-86=9', '49-28=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[28, 40], Operations: ['95-86=9', '49-9=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[86, 49, 28, 95], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [49, 28, 9]
Generated Node #0,1: 68:[49, 28, 9] Operation: 95-86=9
Moving to Node #0,1
Current State: 68:[49, 28, 9], Operations: ['95-86=9']
Exploring Operation: 49-9=40, Resulting Numbers: [28, 40]
Generated Node #0,1,1: 68:[28, 40] Operation: 49-9=40
Moving to Node #0,1,1
Current State: 68:[28, 40], Operations: ['95-86=9', '49-9=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
2,
17,
64,
38
] | 83 | [
"2+17=19",
"64+38=102",
"102-19=83"
] | Current State: 83:[2, 17, 64, 38], Operations: []
Exploring Operation: 2+17=19, Resulting Numbers: [64, 38, 19]
Generated Node #2: [64, 38, 19] from Operation: 2+17=19
Current State: 83:[64, 38, 19], Operations: ['2+17=19']
Exploring Operation: 64+38=102, Resulting Numbers: [19, 102]
Generated Node #3: [19, 102] from Operation: 64+38=102
Current State: 83:[19, 102], Operations: ['2+17=19', '64+38=102']
Exploring Operation: 102-19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[2, 17, 64, 38], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [17, 64, 76]
Generated Node #0,0: 83:[17, 64, 76] Operation: 2*38=76
Exploring Operation: 2*17=34, Resulting Numbers: [64, 38, 34]
Generated Node #0,1: 83:[64, 38, 34] Operation: 2*17=34
Exploring Operation: 2+38=40, Resulting Numbers: [17, 64, 40]
Generated Node #0,2: 83:[17, 64, 40] Operation: 2+38=40
Exploring Operation: 2+64=66, Resulting Numbers: [17, 38, 66]
Generated Node #0,3: 83:[17, 38, 66] Operation: 2+64=66
Exploring Operation: 2+17=19, Resulting Numbers: [64, 38, 19]
Generated Node #0,4: 83:[64, 38, 19] Operation: 2+17=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[17, 64, 76], Operations: ['2*38=76']
Exploring Operation: 64-17=47, Resulting Numbers: [76, 47]
Generated Node #0,0,0: 83:[76, 47] Operation: 64-17=47
Exploring Operation: 17+64=81, Resulting Numbers: [76, 81]
Generated Node #0,0,1: 83:[76, 81] Operation: 17+64=81
Exploring Operation: 17+76=93, Resulting Numbers: [64, 93]
Generated Node #0,0,2: 83:[64, 93] Operation: 17+76=93
Exploring Operation: 76-17=59, Resulting Numbers: [64, 59]
Generated Node #0,0,3: 83:[64, 59] Operation: 76-17=59
Exploring Operation: 64+76=140, Resulting Numbers: [17, 140]
Generated Node #0,0,4: 83:[17, 140] Operation: 64+76=140
Moving to Node #0,0,1
Current State: 83:[76, 81], Operations: ['2*38=76', '17+64=81']
Exploring Operation: 76*81=6156, Resulting Numbers: [6156]
6156,83 unequal: No Solution
Exploring Operation: 76+81=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[64, 93], Operations: ['2*38=76', '17+76=93']
Exploring Operation: 64+93=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 64*93=5952, Resulting Numbers: [5952]
5952,83 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[76, 47], Operations: ['2*38=76', '64-17=47']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,83 unequal: No Solution
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[64, 59], Operations: ['2*38=76', '76-17=59']
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,83 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[17, 140], Operations: ['2*38=76', '64+76=140']
Exploring Operation: 17+140=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 17*140=2380, Resulting Numbers: [2380]
2380,83 unequal: No Solution
Exploring Operation: 140-17=123, Resulting Numbers: [123]
123,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[64, 38, 34], Operations: ['2*17=34']
Exploring Operation: 64+34=98, Resulting Numbers: [38, 98]
Generated Node #0,1,0: 83:[38, 98] Operation: 64+34=98
Exploring Operation: 64-34=30, Resulting Numbers: [38, 30]
Generated Node #0,1,1: 83:[38, 30] Operation: 64-34=30
Exploring Operation: 38+34=72, Resulting Numbers: [64, 72]
Generated Node #0,1,2: 83:[64, 72] Operation: 38+34=72
Exploring Operation: 38-34=4, Resulting Numbers: [64, 4]
Generated Node #0,1,3: 83:[64, 4] Operation: 38-34=4
Exploring Operation: 64+38=102, Resulting Numbers: [34, 102]
Generated Node #0,1,4: 83:[34, 102] Operation: 64+38=102
Moving to Node #0,1,2
Current State: 83:[64, 72], Operations: ['2*17=34', '38+34=72']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,83 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[38, 98], Operations: ['2*17=34', '64+34=98']
Exploring Operation: 38+98=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 38*98=3724, Resulting Numbers: [3724]
3724,83 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[34, 102], Operations: ['2*17=34', '64+38=102']
Exploring Operation: 34+102=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 102-34=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 34*102=3468, Resulting Numbers: [3468]
3468,83 unequal: No Solution
Exploring Operation: 102/34=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[38, 30], Operations: ['2*17=34', '64-34=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,83 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[64, 4], Operations: ['2*17=34', '38-34=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[17, 64, 40], Operations: ['2+38=40']
Exploring Operation: 40-17=23, Resulting Numbers: [64, 23]
Generated Node #0,2,0: 83:[64, 23] Operation: 40-17=23
Exploring Operation: 17+64=81, Resulting Numbers: [40, 81]
Generated Node #0,2,1: 83:[40, 81] Operation: 17+64=81
Exploring Operation: 17+40=57, Resulting Numbers: [64, 57]
Generated Node #0,2,2: 83:[64, 57] Operation: 17+40=57
Exploring Operation: 64-17=47, Resulting Numbers: [40, 47]
Generated Node #0,2,3: 83:[40, 47] Operation: 64-17=47
Exploring Operation: 64+40=104, Resulting Numbers: [17, 104]
Generated Node #0,2,4: 83:[17, 104] Operation: 64+40=104
Moving to Node #0,2,1
Current State: 83:[40, 81], Operations: ['2+38=40', '17+64=81']
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,83 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[64, 57], Operations: ['2+38=40', '17+40=57']
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,83 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[64, 23], Operations: ['2+38=40', '40-17=23']
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,83 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[40, 47], Operations: ['2+38=40', '64-17=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,83 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[17, 104], Operations: ['2+38=40', '64+40=104']
Exploring Operation: 17*104=1768, Resulting Numbers: [1768]
1768,83 unequal: No Solution
Exploring Operation: 104-17=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 17+104=121, Resulting Numbers: [121]
121,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[17, 38, 66], Operations: ['2+64=66']
Exploring Operation: 17+66=83, Resulting Numbers: [38, 83]
Generated Node #0,3,0: 83:[38, 83] Operation: 17+66=83
Exploring Operation: 17+38=55, Resulting Numbers: [66, 55]
Generated Node #0,3,1: 83:[66, 55] Operation: 17+38=55
Exploring Operation: 38+66=104, Resulting Numbers: [17, 104]
Generated Node #0,3,2: 83:[17, 104] Operation: 38+66=104
Exploring Operation: 38-17=21, Resulting Numbers: [66, 21]
Generated Node #0,3,3: 83:[66, 21] Operation: 38-17=21
Exploring Operation: 66-17=49, Resulting Numbers: [38, 49]
Generated Node #0,3,4: 83:[38, 49] Operation: 66-17=49
Moving to Node #0,3,0
Current State: 83:[38, 83], Operations: ['2+64=66', '17+66=83']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,83 unequal: No Solution
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[66, 55], Operations: ['2+64=66', '17+38=55']
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,83 unequal: No Solution
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[66, 21], Operations: ['2+64=66', '38-17=21']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,83 unequal: No Solution
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[38, 49], Operations: ['2+64=66', '66-17=49']
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,83 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[17, 104], Operations: ['2+64=66', '38+66=104']
Exploring Operation: 17*104=1768, Resulting Numbers: [1768]
1768,83 unequal: No Solution
Exploring Operation: 104-17=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 17+104=121, Resulting Numbers: [121]
121,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,4
Current State: 83:[64, 38, 19], Operations: ['2+17=19']
Exploring Operation: 38+19=57, Resulting Numbers: [64, 57]
Generated Node #0,4,0: 83:[64, 57] Operation: 38+19=57
Exploring Operation: 38-19=19, Resulting Numbers: [64, 19]
Generated Node #0,4,1: 83:[64, 19] Operation: 38-19=19
Exploring Operation: 64+19=83, Resulting Numbers: [38, 83]
Generated Node #0,4,2: 83:[38, 83] Operation: 64+19=83
Exploring Operation: 64-19=45, Resulting Numbers: [38, 45]
Generated Node #0,4,3: 83:[38, 45] Operation: 64-19=45
Exploring Operation: 64+38=102, Resulting Numbers: [19, 102]
Generated Node #0,4,4: 83:[19, 102] Operation: 64+38=102
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 83:[64, 57], Operations: ['2+17=19', '38+19=57']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,83 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,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,4,2
Current State: 83:[38, 83], Operations: ['2+17=19', '64+19=83']
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,83 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,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,4,1
Current State: 83:[64, 19], Operations: ['2+17=19', '38-19=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,83 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[2, 17, 64, 38], Operations: []
Exploring Operation: 2+17=19, Resulting Numbers: [64, 38, 19]
Generated Node #0,4: 83:[64, 38, 19] Operation: 2+17=19
Moving to Node #0,4
Current State: 83:[64, 38, 19], Operations: ['2+17=19']
Exploring Operation: 38-19=19, Resulting Numbers: [64, 19]
Generated Node #0,4,1: 83:[64, 19] Operation: 38-19=19
Moving to Node #0,4,1
Current State: 83:[64, 19], Operations: ['2+17=19', '38-19=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.909722 | hs_5 | sum_heuristic |
[
55,
29,
19,
90
] | 97 | [
"55-29=26",
"90-19=71",
"26+71=97"
] | Current State: 97:[55, 29, 19, 90], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [19, 90, 26]
Generated Node #2: [19, 90, 26] from Operation: 55-29=26
Current State: 97:[19, 90, 26], Operations: ['55-29=26']
Exploring Operation: 90-19=71, Resulting Numbers: [26, 71]
Generated Node #3: [26, 71] from Operation: 90-19=71
Current State: 97:[26, 71], Operations: ['55-29=26', '90-19=71']
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[55, 29, 19, 90], Operations: []
Exploring Operation: 29+19=48, Resulting Numbers: [55, 90, 48]
Generated Node #0,0: 97:[55, 90, 48] Operation: 29+19=48
Exploring Operation: 55+29=84, Resulting Numbers: [19, 90, 84]
Generated Node #0,1: 97:[19, 90, 84] Operation: 55+29=84
Exploring Operation: 55-19=36, Resulting Numbers: [29, 90, 36]
Generated Node #0,2: 97:[29, 90, 36] Operation: 55-19=36
Exploring Operation: 19+90=109, Resulting Numbers: [55, 29, 109]
Generated Node #0,3: 97:[55, 29, 109] Operation: 19+90=109
Exploring Operation: 55+19=74, Resulting Numbers: [29, 90, 74]
Generated Node #0,4: 97:[29, 90, 74] Operation: 55+19=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[55, 90, 48], Operations: ['29+19=48']
Exploring Operation: 90-48=42, Resulting Numbers: [55, 42]
Generated Node #0,0,0: 97:[55, 42] Operation: 90-48=42
Exploring Operation: 55-48=7, Resulting Numbers: [90, 7]
Generated Node #0,0,1: 97:[90, 7] Operation: 55-48=7
Exploring Operation: 55+48=103, Resulting Numbers: [90, 103]
Generated Node #0,0,2: 97:[90, 103] Operation: 55+48=103
Exploring Operation: 55+90=145, Resulting Numbers: [48, 145]
Generated Node #0,0,3: 97:[48, 145] Operation: 55+90=145
Exploring Operation: 90+48=138, Resulting Numbers: [55, 138]
Generated Node #0,0,4: 97:[55, 138] Operation: 90+48=138
Moving to Node #0,0,2
Current State: 97:[90, 103], Operations: ['29+19=48', '55+48=103']
Exploring Operation: 103-90=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 90+103=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 90*103=9270, Resulting Numbers: [9270]
9270,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[55, 138], Operations: ['29+19=48', '90+48=138']
Exploring Operation: 55*138=7590, Resulting Numbers: [7590]
7590,97 unequal: No Solution
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 55+138=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[55, 42], Operations: ['29+19=48', '90-48=42']
Exploring Operation: 55*42=2310, Resulting Numbers: [2310]
2310,97 unequal: No Solution
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[55, 29, 19, 90], Operations: []
Exploring Operation: 29+19=48, Resulting Numbers: [55, 90, 48]
Generated Node #0,0: 97:[55, 90, 48] Operation: 29+19=48
Moving to Node #0,0
Current State: 97:[55, 90, 48], Operations: ['29+19=48']
Exploring Operation: 90-48=42, Resulting Numbers: [55, 42]
Generated Node #0,0,0: 97:[55, 42] Operation: 90-48=42
Moving to Node #0,0,0
Current State: 97:[55, 42], Operations: ['29+19=48', '90-48=42']
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
62,
2,
98,
5
] | 43 | [
"62-2=60",
"98+5=103",
"103-60=43"
] | Current State: 43:[62, 2, 98, 5], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [98, 5, 60]
Generated Node #2: [98, 5, 60] from Operation: 62-2=60
Current State: 43:[98, 5, 60], Operations: ['62-2=60']
Exploring Operation: 98+5=103, Resulting Numbers: [60, 103]
Generated Node #3: [60, 103] from Operation: 98+5=103
Current State: 43:[60, 103], Operations: ['62-2=60', '98+5=103']
Exploring Operation: 103-60=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[62, 2, 98, 5], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [62, 5, 49]
Generated Node #0,0: 43:[62, 5, 49] Operation: 98/2=49
Exploring Operation: 62/2=31, Resulting Numbers: [98, 5, 31]
Generated Node #0,1: 43:[98, 5, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [98, 5, 60]
Generated Node #0,2: 43:[98, 5, 60] Operation: 62-2=60
Exploring Operation: 2*5=10, Resulting Numbers: [62, 98, 10]
Generated Node #0,3: 43:[62, 98, 10] Operation: 2*5=10
Exploring Operation: 98-62=36, Resulting Numbers: [2, 5, 36]
Generated Node #0,4: 43:[2, 5, 36] Operation: 98-62=36
Moving to Node #0,0
Current State: 43:[62, 5, 49], Operations: ['98/2=49']
Exploring Operation: 49-5=44, Resulting Numbers: [62, 44]
Generated Node #0,0,0: 43:[62, 44] Operation: 49-5=44
Exploring Operation: 62+5=67, Resulting Numbers: [49, 67]
Generated Node #0,0,1: 43:[49, 67] Operation: 62+5=67
Exploring Operation: 62-49=13, Resulting Numbers: [5, 13]
Generated Node #0,0,2: 43:[5, 13] Operation: 62-49=13
Exploring Operation: 62-5=57, Resulting Numbers: [49, 57]
Generated Node #0,0,3: 43:[49, 57] Operation: 62-5=57
Exploring Operation: 5+49=54, Resulting Numbers: [62, 54]
Generated Node #0,0,4: 43:[62, 54] Operation: 5+49=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[62, 44], Operations: ['98/2=49', '49-5=44']
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,43 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,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,0,3
Current State: 43:[49, 57], Operations: ['98/2=49', '62-5=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,43 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,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,0,1
Current State: 43:[49, 67], Operations: ['98/2=49', '62+5=67']
Exploring Operation: 49+67=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 49*67=3283, Resulting Numbers: [3283]
3283,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,0,4
Current State: 43:[62, 54], Operations: ['98/2=49', '5+49=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,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,0,2
Current State: 43:[5, 13], Operations: ['98/2=49', '62-49=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,43 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: 43:[2, 5, 36], Operations: ['98-62=36']
Exploring Operation: 2+36=38, Resulting Numbers: [5, 38]
Generated Node #0,4,0: 43:[5, 38] Operation: 2+36=38
Exploring Operation: 2+5=7, Resulting Numbers: [36, 7]
Generated Node #0,4,1: 43:[36, 7] Operation: 2+5=7
Exploring Operation: 2*5=10, Resulting Numbers: [36, 10]
Generated Node #0,4,2: 43:[36, 10] Operation: 2*5=10
Exploring Operation: 5-2=3, Resulting Numbers: [36, 3]
Generated Node #0,4,3: 43:[36, 3] Operation: 5-2=3
Exploring Operation: 5+36=41, Resulting Numbers: [2, 41]
Generated Node #0,4,4: 43:[2, 41] Operation: 5+36=41
Moving to Node #0,1
Current State: 43:[98, 5, 31], Operations: ['62/2=31']
Exploring Operation: 5+31=36, Resulting Numbers: [98, 36]
Generated Node #0,1,0: 43:[98, 36] Operation: 5+31=36
Exploring Operation: 98-5=93, Resulting Numbers: [31, 93]
Generated Node #0,1,1: 43:[31, 93] Operation: 98-5=93
Exploring Operation: 31-5=26, Resulting Numbers: [98, 26]
Generated Node #0,1,2: 43:[98, 26] Operation: 31-5=26
Exploring Operation: 98+5=103, Resulting Numbers: [31, 103]
Generated Node #0,1,3: 43:[31, 103] Operation: 98+5=103
Exploring Operation: 98-31=67, Resulting Numbers: [5, 67]
Generated Node #0,1,4: 43:[5, 67] Operation: 98-31=67
Moving to Node #0,3
Current State: 43:[62, 98, 10], Operations: ['2*5=10']
Exploring Operation: 98-10=88, Resulting Numbers: [62, 88]
Generated Node #0,3,0: 43:[62, 88] Operation: 98-10=88
Exploring Operation: 98-62=36, Resulting Numbers: [10, 36]
Generated Node #0,3,1: 43:[10, 36] Operation: 98-62=36
Exploring Operation: 62+10=72, Resulting Numbers: [98, 72]
Generated Node #0,3,2: 43:[98, 72] Operation: 62+10=72
Exploring Operation: 98+10=108, Resulting Numbers: [62, 108]
Generated Node #0,3,3: 43:[62, 108] Operation: 98+10=108
Exploring Operation: 62-10=52, Resulting Numbers: [98, 52]
Generated Node #0,3,4: 43:[98, 52] Operation: 62-10=52
Moving to Node #0,2
Current State: 43:[98, 5, 60], Operations: ['62-2=60']
Exploring Operation: 98-60=38, Resulting Numbers: [5, 38]
Generated Node #0,2,0: 43:[5, 38] Operation: 98-60=38
Exploring Operation: 98-5=93, Resulting Numbers: [60, 93]
Generated Node #0,2,1: 43:[60, 93] Operation: 98-5=93
Exploring Operation: 60-5=55, Resulting Numbers: [98, 55]
Generated Node #0,2,2: 43:[98, 55] Operation: 60-5=55
Exploring Operation: 5+60=65, Resulting Numbers: [98, 65]
Generated Node #0,2,3: 43:[98, 65] Operation: 5+60=65
Exploring Operation: 98+5=103, Resulting Numbers: [60, 103]
Generated Node #0,2,4: 43:[60, 103] Operation: 98+5=103
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[5, 38], Operations: ['62-2=60', '98-60=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[62, 2, 98, 5], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [98, 5, 60]
Generated Node #0,2: 43:[98, 5, 60] Operation: 62-2=60
Moving to Node #0,2
Current State: 43:[98, 5, 60], Operations: ['62-2=60']
Exploring Operation: 98-60=38, Resulting Numbers: [5, 38]
Generated Node #0,2,0: 43:[5, 38] Operation: 98-60=38
Moving to Node #0,2,0
Current State: 43:[5, 38], Operations: ['62-2=60', '98-60=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | mult_heuristic |
[
58,
37,
7,
78
] | 26 | [
"58-37=21",
"7*78=546",
"546/21=26"
] | Current State: 26:[58, 37, 7, 78], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [7, 78, 21]
Generated Node #2: [7, 78, 21] from Operation: 58-37=21
Current State: 26:[7, 78, 21], Operations: ['58-37=21']
Exploring Operation: 7*78=546, Resulting Numbers: [21, 546]
Generated Node #3: [21, 546] from Operation: 7*78=546
Current State: 26:[21, 546], Operations: ['58-37=21', '7*78=546']
Exploring Operation: 546/21=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[58, 37, 7, 78], Operations: []
Exploring Operation: 58-7=51, Resulting Numbers: [37, 78, 51]
Generated Node #0,0: 26:[37, 78, 51] Operation: 58-7=51
Exploring Operation: 58-37=21, Resulting Numbers: [7, 78, 21]
Generated Node #0,1: 26:[7, 78, 21] Operation: 58-37=21
Exploring Operation: 78-37=41, Resulting Numbers: [58, 7, 41]
Generated Node #0,2: 26:[58, 7, 41] Operation: 78-37=41
Exploring Operation: 78-58=20, Resulting Numbers: [37, 7, 20]
Generated Node #0,3: 26:[37, 7, 20] Operation: 78-58=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[37, 7, 20], Operations: ['78-58=20']
Exploring Operation: 37-20=17, Resulting Numbers: [7, 17]
Generated Node #0,3,0: 26:[7, 17] Operation: 37-20=17
Exploring Operation: 20-7=13, Resulting Numbers: [37, 13]
Generated Node #0,3,1: 26:[37, 13] Operation: 20-7=13
Exploring Operation: 7+20=27, Resulting Numbers: [37, 27]
Generated Node #0,3,2: 26:[37, 27] Operation: 7+20=27
Exploring Operation: 37-7=30, Resulting Numbers: [20, 30]
Generated Node #0,3,3: 26:[20, 30] Operation: 37-7=30
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[7, 17], Operations: ['78-58=20', '37-20=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,26 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No 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: 26:[20, 30], Operations: ['78-58=20', '37-7=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,26 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,26 unequal: No Solution
No 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: 26:[37, 13], Operations: ['78-58=20', '20-7=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,26 unequal: No Solution
No 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: 26:[37, 27], Operations: ['78-58=20', '7+20=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,26 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,26 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: 26:[58, 7, 41], Operations: ['78-37=41']
Exploring Operation: 58-7=51, Resulting Numbers: [41, 51]
Generated Node #0,2,0: 26:[41, 51] Operation: 58-7=51
Exploring Operation: 58-41=17, Resulting Numbers: [7, 17]
Generated Node #0,2,1: 26:[7, 17] Operation: 58-41=17
Exploring Operation: 58+7=65, Resulting Numbers: [41, 65]
Generated Node #0,2,2: 26:[41, 65] Operation: 58+7=65
Exploring Operation: 41-7=34, Resulting Numbers: [58, 34]
Generated Node #0,2,3: 26:[58, 34] Operation: 41-7=34
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[7, 17], Operations: ['78-37=41', '58-41=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,26 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No 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: 26:[41, 51], Operations: ['78-37=41', '58-7=51']
Exploring Operation: 41*51=2091, Resulting Numbers: [2091]
2091,26 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No 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: 26:[58, 34], Operations: ['78-37=41', '41-7=34']
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,26 unequal: No Solution
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No 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: 26:[41, 65], Operations: ['78-37=41', '58+7=65']
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,26 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,26 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: 26:[7, 78, 21], Operations: ['58-37=21']
Exploring Operation: 21-7=14, Resulting Numbers: [78, 14]
Generated Node #0,1,0: 26:[78, 14] Operation: 21-7=14
Exploring Operation: 78-21=57, Resulting Numbers: [7, 57]
Generated Node #0,1,1: 26:[7, 57] Operation: 78-21=57
Exploring Operation: 78-7=71, Resulting Numbers: [21, 71]
Generated Node #0,1,2: 26:[21, 71] Operation: 78-7=71
Exploring Operation: 21/7=3, Resulting Numbers: [78, 3]
Generated Node #0,1,3: 26:[78, 3] Operation: 21/7=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[7, 57], Operations: ['58-37=21', '78-21=57']
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,26 unequal: No Solution
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,26 unequal: No Solution
No 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: 26:[21, 71], Operations: ['58-37=21', '78-7=71']
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 21*71=1491, Resulting Numbers: [1491]
1491,26 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,26 unequal: No Solution
No 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: 26:[78, 14], Operations: ['58-37=21', '21-7=14']
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,26 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No 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: 26:[78, 3], Operations: ['58-37=21', '21/7=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[58, 37, 7, 78], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [7, 78, 21]
Generated Node #0,1: 26:[7, 78, 21] Operation: 58-37=21
Moving to Node #0,1
Current State: 26:[7, 78, 21], Operations: ['58-37=21']
Exploring Operation: 21/7=3, Resulting Numbers: [78, 3]
Generated Node #0,1,3: 26:[78, 3] Operation: 21/7=3
Moving to Node #0,1,3
Current State: 26:[78, 3], Operations: ['58-37=21', '21/7=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_4 | mult_heuristic |
[
27,
90,
24,
49
] | 38 | [
"90-27=63",
"49-24=25",
"63-25=38"
] | Current State: 38:[27, 90, 24, 49], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [24, 49, 63]
Generated Node #2: [24, 49, 63] from Operation: 90-27=63
Current State: 38:[24, 49, 63], Operations: ['90-27=63']
Exploring Operation: 49-24=25, Resulting Numbers: [63, 25]
Generated Node #3: [63, 25] from Operation: 49-24=25
Current State: 38:[63, 25], Operations: ['90-27=63', '49-24=25']
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[27, 90, 24, 49], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [27, 49, 66]
Generated Node #0,0: 38:[27, 49, 66] Operation: 90-24=66
Exploring Operation: 90-49=41, Resulting Numbers: [27, 24, 41]
Generated Node #0,1: 38:[27, 24, 41] Operation: 90-49=41
Exploring Operation: 90-27=63, Resulting Numbers: [24, 49, 63]
Generated Node #0,2: 38:[24, 49, 63] Operation: 90-27=63
Exploring Operation: 49-27=22, Resulting Numbers: [90, 24, 22]
Generated Node #0,3: 38:[90, 24, 22] Operation: 49-27=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[27, 24, 41], Operations: ['90-49=41']
Exploring Operation: 41-24=17, Resulting Numbers: [27, 17]
Generated Node #0,1,0: 38:[27, 17] Operation: 41-24=17
Exploring Operation: 41-27=14, Resulting Numbers: [24, 14]
Generated Node #0,1,1: 38:[24, 14] Operation: 41-27=14
Exploring Operation: 27+24=51, Resulting Numbers: [41, 51]
Generated Node #0,1,2: 38:[41, 51] Operation: 27+24=51
Exploring Operation: 27-24=3, Resulting Numbers: [41, 3]
Generated Node #0,1,3: 38:[41, 3] Operation: 27-24=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 38:[41, 3], Operations: ['90-49=41', '27-24=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,38 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[27, 90, 24, 49], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [27, 24, 41]
Generated Node #0,1: 38:[27, 24, 41] Operation: 90-49=41
Moving to Node #0,1
Current State: 38:[27, 24, 41], Operations: ['90-49=41']
Exploring Operation: 27-24=3, Resulting Numbers: [41, 3]
Generated Node #0,1,3: 38:[41, 3] Operation: 27-24=3
Moving to Node #0,1,3
Current State: 38:[41, 3], Operations: ['90-49=41', '27-24=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
33,
17,
79,
76
] | 28 | [
"79-76=3",
"33/3=11",
"17+11=28"
] | Current State: 28:[33, 17, 79, 76], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [33, 17, 3]
Generated Node #2: [33, 17, 3] from Operation: 79-76=3
Current State: 28:[33, 17, 3], Operations: ['79-76=3']
Exploring Operation: 33/3=11, Resulting Numbers: [17, 11]
Generated Node #3: [17, 11] from Operation: 33/3=11
Current State: 28:[17, 11], Operations: ['79-76=3', '33/3=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 17, 79, 76], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [33, 17, 3]
Generated Node #0,0: 28:[33, 17, 3] Operation: 79-76=3
Exploring Operation: 76-33=43, Resulting Numbers: [17, 79, 43]
Generated Node #0,1: 28:[17, 79, 43] Operation: 76-33=43
Exploring Operation: 79-33=46, Resulting Numbers: [17, 76, 46]
Generated Node #0,2: 28:[17, 76, 46] Operation: 79-33=46
Moving to Node #0,0
Current State: 28:[33, 17, 3], Operations: ['79-76=3']
Exploring Operation: 33-17=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 28:[3, 16] Operation: 33-17=16
Exploring Operation: 17-3=14, Resulting Numbers: [33, 14]
Generated Node #0,0,1: 28:[33, 14] Operation: 17-3=14
Exploring Operation: 33-3=30, Resulting Numbers: [17, 30]
Generated Node #0,0,2: 28:[17, 30] Operation: 33-3=30
Moving to Node #0,1
Current State: 28:[17, 79, 43], Operations: ['76-33=43']
Exploring Operation: 79-17=62, Resulting Numbers: [43, 62]
Generated Node #0,1,0: 28:[43, 62] Operation: 79-17=62
Exploring Operation: 79-43=36, Resulting Numbers: [17, 36]
Generated Node #0,1,1: 28:[17, 36] Operation: 79-43=36
Exploring Operation: 43-17=26, Resulting Numbers: [79, 26]
Generated Node #0,1,2: 28:[79, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[17, 36], Operations: ['76-33=43', '79-43=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,28 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[43, 62], Operations: ['76-33=43', '79-17=62']
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,28 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[79, 26], Operations: ['76-33=43', '43-17=26']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,28 unequal: No Solution
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,28 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: 28:[17, 76, 46], Operations: ['79-33=46']
Exploring Operation: 46-17=29, Resulting Numbers: [76, 29]
Generated Node #0,2,0: 28:[76, 29] Operation: 46-17=29
Exploring Operation: 76-17=59, Resulting Numbers: [46, 59]
Generated Node #0,2,1: 28:[46, 59] Operation: 76-17=59
Exploring Operation: 76-46=30, Resulting Numbers: [17, 30]
Generated Node #0,2,2: 28:[17, 30] Operation: 76-46=30
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[17, 30], Operations: ['79-33=46', '76-46=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[76, 29], Operations: ['79-33=46', '46-17=29']
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,28 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[46, 59], Operations: ['79-33=46', '76-17=59']
Exploring Operation: 46*59=2714, Resulting Numbers: [2714]
2714,28 unequal: No Solution
Exploring Operation: 46+59=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,28 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: 28:[3, 16], Operations: ['79-76=3', '33-17=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[33, 14], Operations: ['79-76=3', '17-3=14']
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,28 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[17, 30], Operations: ['79-76=3', '33-3=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,28 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
22,
88,
4
] | 75 | [
"22+4=26",
"26/2=13",
"88-13=75"
] | Current State: 75:[2, 22, 88, 4], Operations: []
Exploring Operation: 22+4=26, Resulting Numbers: [2, 88, 26]
Generated Node #2: [2, 88, 26] from Operation: 22+4=26
Current State: 75:[2, 88, 26], Operations: ['22+4=26']
Exploring Operation: 26/2=13, Resulting Numbers: [88, 13]
Generated Node #3: [88, 13] from Operation: 26/2=13
Current State: 75:[88, 13], Operations: ['22+4=26', '26/2=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[2, 22, 88, 4], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [2, 4, 4]
Generated Node #0,0: 75:[2, 4, 4] Operation: 88/22=4
Moving to Node #0,0
Current State: 75:[2, 4, 4], Operations: ['88/22=4']
Exploring Operation: 2+4=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 75:[4, 6] Operation: 2+4=6
Moving to Node #0,0,0
Current State: 75:[4, 6], Operations: ['88/22=4', '2+4=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
21,
20,
50
] | 45 | [
"95-50=45",
"21-20=1",
"45*1=45"
] | Current State: 45:[95, 21, 20, 50], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [21, 20, 45]
Generated Node #2: [21, 20, 45] from Operation: 95-50=45
Current State: 45:[21, 20, 45], Operations: ['95-50=45']
Exploring Operation: 21-20=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 21-20=1
Current State: 45:[45, 1], Operations: ['95-50=45', '21-20=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[95, 21, 20, 50], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [20, 50, 74]
Generated Node #0,0: 45:[20, 50, 74] Operation: 95-21=74
Exploring Operation: 95-50=45, Resulting Numbers: [21, 20, 45]
Generated Node #0,1: 45:[21, 20, 45] Operation: 95-50=45
Exploring Operation: 95-20=75, Resulting Numbers: [21, 50, 75]
Generated Node #0,2: 45:[21, 50, 75] Operation: 95-20=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[21, 20, 45], Operations: ['95-50=45']
Exploring Operation: 21+20=41, Resulting Numbers: [45, 41]
Generated Node #0,1,0: 45:[45, 41] Operation: 21+20=41
Exploring Operation: 21-20=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 45:[45, 1] Operation: 21-20=1
Exploring Operation: 45-21=24, Resulting Numbers: [20, 24]
Generated Node #0,1,2: 45:[20, 24] Operation: 45-21=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[45, 1], Operations: ['95-50=45', '21-20=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[95, 21, 20, 50], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [21, 20, 45]
Generated Node #0,1: 45:[21, 20, 45] Operation: 95-50=45
Moving to Node #0,1
Current State: 45:[21, 20, 45], Operations: ['95-50=45']
Exploring Operation: 21-20=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 45:[45, 1] Operation: 21-20=1
Moving to Node #0,1,1
Current State: 45:[45, 1], Operations: ['95-50=45', '21-20=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
17,
14,
32,
2
] | 34 | [
"17*32=544",
"14+2=16",
"544/16=34"
] | Current State: 34:[17, 14, 32, 2], Operations: []
Exploring Operation: 17*32=544, Resulting Numbers: [14, 2, 544]
Generated Node #2: [14, 2, 544] from Operation: 17*32=544
Current State: 34:[14, 2, 544], Operations: ['17*32=544']
Exploring Operation: 14+2=16, Resulting Numbers: [544, 16]
Generated Node #3: [544, 16] from Operation: 14+2=16
Current State: 34:[544, 16], Operations: ['17*32=544', '14+2=16']
Exploring Operation: 544/16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[17, 14, 32, 2], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [32, 2, 3]
Generated Node #0,0: 34:[32, 2, 3] Operation: 17-14=3
Exploring Operation: 14+2=16, Resulting Numbers: [17, 32, 16]
Generated Node #0,1: 34:[17, 32, 16] Operation: 14+2=16
Exploring Operation: 32-14=18, Resulting Numbers: [17, 2, 18]
Generated Node #0,2: 34:[17, 2, 18] Operation: 32-14=18
Exploring Operation: 32+2=34, Resulting Numbers: [17, 14, 34]
Generated Node #0,3: 34:[17, 14, 34] Operation: 32+2=34
Exploring Operation: 32/2=16, Resulting Numbers: [17, 14, 16]
Generated Node #0,4: 34:[17, 14, 16] Operation: 32/2=16
Moving to Node #0,2
Current State: 34:[17, 2, 18], Operations: ['32-14=18']
Exploring Operation: 17*2=34, Resulting Numbers: [18, 34]
Generated Node #0,2,0: 34:[18, 34] Operation: 17*2=34
Exploring Operation: 17+18=35, Resulting Numbers: [2, 35]
Generated Node #0,2,1: 34:[2, 35] Operation: 17+18=35
Exploring Operation: 18-17=1, Resulting Numbers: [2, 1]
Generated Node #0,2,2: 34:[2, 1] Operation: 18-17=1
Exploring Operation: 18-2=16, Resulting Numbers: [17, 16]
Generated Node #0,2,3: 34:[17, 16] Operation: 18-2=16
Exploring Operation: 2*18=36, Resulting Numbers: [17, 36]
Generated Node #0,2,4: 34:[17, 36] Operation: 2*18=36
Moving to Node #0,1
Current State: 34:[17, 32, 16], Operations: ['14+2=16']
Exploring Operation: 32/16=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 34:[17, 2] Operation: 32/16=2
Exploring Operation: 17-16=1, Resulting Numbers: [32, 1]
Generated Node #0,1,1: 34:[32, 1] Operation: 17-16=1
Exploring Operation: 32-17=15, Resulting Numbers: [16, 15]
Generated Node #0,1,2: 34:[16, 15] Operation: 32-17=15
Exploring Operation: 17+16=33, Resulting Numbers: [32, 33]
Generated Node #0,1,3: 34:[32, 33] Operation: 17+16=33
Exploring Operation: 32-16=16, Resulting Numbers: [17, 16]
Generated Node #0,1,4: 34:[17, 16] Operation: 32-16=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[17, 2], Operations: ['14+2=16', '32/16=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[17, 14, 32, 2], Operations: []
Exploring Operation: 14+2=16, Resulting Numbers: [17, 32, 16]
Generated Node #0,1: 34:[17, 32, 16] Operation: 14+2=16
Moving to Node #0,1
Current State: 34:[17, 32, 16], Operations: ['14+2=16']
Exploring Operation: 32/16=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 34:[17, 2] Operation: 32/16=2
Moving to Node #0,1,0
Current State: 34:[17, 2], Operations: ['14+2=16', '32/16=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
38,
31,
53,
84
] | 39 | [
"31+53=84",
"84/84=1",
"38+1=39"
] | Current State: 39:[38, 31, 53, 84], Operations: []
Exploring Operation: 31+53=84, Resulting Numbers: [38, 84, 84]
Generated Node #2: [38, 84, 84] from Operation: 31+53=84
Current State: 39:[38, 84, 84], Operations: ['31+53=84']
Exploring Operation: 84/84=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 84/84=1
Current State: 39:[38, 1], Operations: ['31+53=84', '84/84=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[38, 31, 53, 84], Operations: []
Exploring Operation: 84-38=46, Resulting Numbers: [31, 53, 46]
Generated Node #0,0: 39:[31, 53, 46] Operation: 84-38=46
Exploring Operation: 84-31=53, Resulting Numbers: [38, 53, 53]
Generated Node #0,1: 39:[38, 53, 53] Operation: 84-31=53
Exploring Operation: 84-53=31, Resulting Numbers: [38, 31, 31]
Generated Node #0,2: 39:[38, 31, 31] Operation: 84-53=31
Moving to Node #0,2
Current State: 39:[38, 31, 31], Operations: ['84-53=31']
Exploring Operation: 31-31=0, Resulting Numbers: [38, 0]
Generated Node #0,2,0: 39:[38, 0] Operation: 31-31=0
Exploring Operation: 38-31=7, Resulting Numbers: [31, 7]
Generated Node #0,2,1: 39:[31, 7] Operation: 38-31=7
Exploring Operation: 31/31=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 39:[38, 1] Operation: 31/31=1
Moving to Node #0,0
Current State: 39:[31, 53, 46], Operations: ['84-38=46']
Exploring Operation: 53-31=22, Resulting Numbers: [46, 22]
Generated Node #0,0,0: 39:[46, 22] Operation: 53-31=22
Exploring Operation: 53-46=7, Resulting Numbers: [31, 7]
Generated Node #0,0,1: 39:[31, 7] Operation: 53-46=7
Exploring Operation: 46-31=15, Resulting Numbers: [53, 15]
Generated Node #0,0,2: 39:[53, 15] Operation: 46-31=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[31, 7], Operations: ['84-38=46', '53-46=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,39 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[46, 22], Operations: ['84-38=46', '53-31=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,39 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[53, 15], Operations: ['84-38=46', '46-31=15']
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 53*15=795, Resulting Numbers: [795]
795,39 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,39 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: 39:[38, 53, 53], Operations: ['84-31=53']
Exploring Operation: 53/53=1, Resulting Numbers: [38, 1]
Generated Node #0,1,0: 39:[38, 1] Operation: 53/53=1
Exploring Operation: 53-38=15, Resulting Numbers: [53, 15]
Generated Node #0,1,1: 39:[53, 15] Operation: 53-38=15
Exploring Operation: 53-53=0, Resulting Numbers: [38, 0]
Generated Node #0,1,2: 39:[38, 0] Operation: 53-53=0
Moving to Node #0,2,2
Current State: 39:[38, 1], Operations: ['84-53=31', '31/31=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[38, 31, 53, 84], Operations: []
Exploring Operation: 84-53=31, Resulting Numbers: [38, 31, 31]
Generated Node #0,2: 39:[38, 31, 31] Operation: 84-53=31
Moving to Node #0,2
Current State: 39:[38, 31, 31], Operations: ['84-53=31']
Exploring Operation: 31/31=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 39:[38, 1] Operation: 31/31=1
Moving to Node #0,2,2
Current State: 39:[38, 1], Operations: ['84-53=31', '31/31=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
83,
56,
38,
30
] | 67 | [
"83*30=2490",
"56+2490=2546",
"2546/38=67"
] | Current State: 67:[83, 56, 38, 30], Operations: []
Exploring Operation: 83*30=2490, Resulting Numbers: [56, 38, 2490]
Generated Node #2: [56, 38, 2490] from Operation: 83*30=2490
Current State: 67:[56, 38, 2490], Operations: ['83*30=2490']
Exploring Operation: 56+2490=2546, Resulting Numbers: [38, 2546]
Generated Node #3: [38, 2546] from Operation: 56+2490=2546
Current State: 67:[38, 2546], Operations: ['83*30=2490', '56+2490=2546']
Exploring Operation: 2546/38=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[83, 56, 38, 30], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [56, 30, 45]
Generated Node #0,0: 67:[56, 30, 45] Operation: 83-38=45
Exploring Operation: 38+30=68, Resulting Numbers: [83, 56, 68]
Generated Node #0,1: 67:[83, 56, 68] Operation: 38+30=68
Exploring Operation: 83-30=53, Resulting Numbers: [56, 38, 53]
Generated Node #0,2: 67:[56, 38, 53] Operation: 83-30=53
Exploring Operation: 56+30=86, Resulting Numbers: [83, 38, 86]
Generated Node #0,3: 67:[83, 38, 86] Operation: 56+30=86
Moving to Node #0,1
Current State: 67:[83, 56, 68], Operations: ['38+30=68']
Exploring Operation: 83-68=15, Resulting Numbers: [56, 15]
Generated Node #0,1,0: 67:[56, 15] Operation: 83-68=15
Exploring Operation: 83+56=139, Resulting Numbers: [68, 139]
Generated Node #0,1,1: 67:[68, 139] Operation: 83+56=139
Exploring Operation: 68-56=12, Resulting Numbers: [83, 12]
Generated Node #0,1,2: 67:[83, 12] Operation: 68-56=12
Exploring Operation: 83-56=27, Resulting Numbers: [68, 27]
Generated Node #0,1,3: 67:[68, 27] Operation: 83-56=27
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[68, 27], Operations: ['38+30=68', '83-56=27']
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,67 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[56, 15], Operations: ['38+30=68', '83-68=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,67 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[83, 12], Operations: ['38+30=68', '68-56=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,67 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[68, 139], Operations: ['38+30=68', '83+56=139']
Exploring Operation: 68+139=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 139-68=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 68*139=9452, Resulting Numbers: [9452]
9452,67 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: 67:[56, 38, 53], Operations: ['83-30=53']
Exploring Operation: 56-38=18, Resulting Numbers: [53, 18]
Generated Node #0,2,0: 67:[53, 18] Operation: 56-38=18
Exploring Operation: 56+38=94, Resulting Numbers: [53, 94]
Generated Node #0,2,1: 67:[53, 94] Operation: 56+38=94
Exploring Operation: 38+53=91, Resulting Numbers: [56, 91]
Generated Node #0,2,2: 67:[56, 91] Operation: 38+53=91
Exploring Operation: 53-38=15, Resulting Numbers: [56, 15]
Generated Node #0,2,3: 67:[56, 15] Operation: 53-38=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[56, 91], Operations: ['83-30=53', '38+53=91']
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 56*91=5096, Resulting Numbers: [5096]
5096,67 unequal: No Solution
Exploring Operation: 56+91=147, Resulting Numbers: [147]
147,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[53, 94], Operations: ['83-30=53', '56+38=94']
Exploring Operation: 53*94=4982, Resulting Numbers: [4982]
4982,67 unequal: No Solution
Exploring Operation: 53+94=147, Resulting Numbers: [147]
147,67 unequal: No Solution
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[53, 18], Operations: ['83-30=53', '56-38=18']
Exploring Operation: 53*18=954, Resulting Numbers: [954]
954,67 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[56, 15], Operations: ['83-30=53', '53-38=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,67 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: 67:[83, 38, 86], Operations: ['56+30=86']
Exploring Operation: 86-38=48, Resulting Numbers: [83, 48]
Generated Node #0,3,0: 67:[83, 48] Operation: 86-38=48
Exploring Operation: 38+86=124, Resulting Numbers: [83, 124]
Generated Node #0,3,1: 67:[83, 124] Operation: 38+86=124
Exploring Operation: 83+38=121, Resulting Numbers: [86, 121]
Generated Node #0,3,2: 67:[86, 121] Operation: 83+38=121
Exploring Operation: 83-38=45, Resulting Numbers: [86, 45]
Generated Node #0,3,3: 67:[86, 45] Operation: 83-38=45
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[83, 48], Operations: ['56+30=86', '86-38=48']
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[86, 45], Operations: ['56+30=86', '83-38=45']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,67 unequal: No Solution
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[83, 124], Operations: ['56+30=86', '38+86=124']
Exploring Operation: 83+124=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 124-83=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 83*124=10292, Resulting Numbers: [10292]
10292,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[86, 121], Operations: ['56+30=86', '83+38=121']
Exploring Operation: 86+121=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 121-86=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 86*121=10406, Resulting Numbers: [10406]
10406,67 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: 67:[56, 30, 45], Operations: ['83-38=45']
Exploring Operation: 56-30=26, Resulting Numbers: [45, 26]
Generated Node #0,0,0: 67:[45, 26] Operation: 56-30=26
Exploring Operation: 45-30=15, Resulting Numbers: [56, 15]
Generated Node #0,0,1: 67:[56, 15] Operation: 45-30=15
Exploring Operation: 56+30=86, Resulting Numbers: [45, 86]
Generated Node #0,0,2: 67:[45, 86] Operation: 56+30=86
Exploring Operation: 30+45=75, Resulting Numbers: [56, 75]
Generated Node #0,0,3: 67:[56, 75] Operation: 30+45=75
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[56, 75], Operations: ['83-38=45', '30+45=75']
Exploring Operation: 56+75=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 56*75=4200, Resulting Numbers: [4200]
4200,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[45, 86], Operations: ['83-38=45', '56+30=86']
Exploring Operation: 45*86=3870, Resulting Numbers: [3870]
3870,67 unequal: No Solution
Exploring Operation: 45+86=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[45, 26], Operations: ['83-38=45', '56-30=26']
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[56, 15], Operations: ['83-38=45', '45-30=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,67 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,67 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 |
[
70,
41,
70,
15
] | 84 | [
"70-41=29",
"70-15=55",
"29+55=84"
] | Current State: 84:[70, 41, 70, 15], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [15, 29]
Generated Node #2: [15, 29] from Operation: 70-41=29
Current State: 84:[15, 29], Operations: ['70-41=29']
Exploring Operation: 70-15=55, Resulting Numbers: [29, 55]
Generated Node #3: [29, 55] from Operation: 70-15=55
Current State: 84:[29, 55], Operations: ['70-41=29', '70-15=55']
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[70, 41, 70, 15], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [41, 15, 0]
Generated Node #0,0: 84:[41, 15, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [41, 15, 1]
Generated Node #0,1: 84:[41, 15, 1] Operation: 70/70=1
Exploring Operation: 70+15=85, Resulting Numbers: [41, 70, 85]
Generated Node #0,2: 84:[41, 70, 85] Operation: 70+15=85
Exploring Operation: 70-41=29, Resulting Numbers: [70, 15, 29]
Generated Node #0,3: 84:[70, 15, 29] Operation: 70-41=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[41, 15, 1], Operations: ['70/70=1']
Exploring Operation: 41/1=41, Resulting Numbers: [15, 41]
Generated Node #0,1,0: 84:[15, 41] Operation: 41/1=41
Exploring Operation: 41*1=41, Resulting Numbers: [15, 41]
Generated Node #0,1,1: 84:[15, 41] Operation: 41*1=41
Exploring Operation: 41+1=42, Resulting Numbers: [15, 42]
Generated Node #0,1,2: 84:[15, 42] Operation: 41+1=42
Exploring Operation: 15-1=14, Resulting Numbers: [41, 14]
Generated Node #0,1,3: 84:[41, 14] Operation: 15-1=14
Moving to Node #0,1,2
Current State: 84:[15, 42], Operations: ['70/70=1', '41+1=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[41, 14], Operations: ['70/70=1', '15-1=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,84 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[15, 41], Operations: ['70/70=1', '41*1=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[15, 41], Operations: ['70/70=1', '41/1=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[41, 15, 0], Operations: ['70-70=0']
Exploring Operation: 15-0=15, Resulting Numbers: [41, 15]
Generated Node #0,0,0: 84:[41, 15] Operation: 15-0=15
Exploring Operation: 41+0=41, Resulting Numbers: [15, 41]
Generated Node #0,0,1: 84:[15, 41] Operation: 41+0=41
Exploring Operation: 41-0=41, Resulting Numbers: [15, 41]
Generated Node #0,0,2: 84:[15, 41] Operation: 41-0=41
Exploring Operation: 15+0=15, Resulting Numbers: [41, 15]
Generated Node #0,0,3: 84:[41, 15] Operation: 15+0=15
Moving to Node #0,0,0
Current State: 84:[41, 15], Operations: ['70-70=0', '15-0=15']
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[15, 41], Operations: ['70-70=0', '41-0=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[15, 41], Operations: ['70-70=0', '41+0=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[41, 15], Operations: ['70-70=0', '15+0=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[41, 70, 85], Operations: ['70+15=85']
Exploring Operation: 70-41=29, Resulting Numbers: [85, 29]
Generated Node #0,2,0: 84:[85, 29] Operation: 70-41=29
Exploring Operation: 41+70=111, Resulting Numbers: [85, 111]
Generated Node #0,2,1: 84:[85, 111] Operation: 41+70=111
Exploring Operation: 85-41=44, Resulting Numbers: [70, 44]
Generated Node #0,2,2: 84:[70, 44] Operation: 85-41=44
Exploring Operation: 85-70=15, Resulting Numbers: [41, 15]
Generated Node #0,2,3: 84:[41, 15] Operation: 85-70=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[85, 29], Operations: ['70+15=85', '70-41=29']
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,84 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,84 unequal: No Solution
No 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: 84:[41, 15], Operations: ['70+15=85', '85-70=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,84 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,84 unequal: No Solution
No 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: 84:[70, 44], Operations: ['70+15=85', '85-41=44']
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,84 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,84 unequal: No Solution
No 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: 84:[85, 111], Operations: ['70+15=85', '41+70=111']
Exploring Operation: 85*111=9435, Resulting Numbers: [9435]
9435,84 unequal: No Solution
Exploring Operation: 111-85=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 85+111=196, Resulting Numbers: [196]
196,84 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: 84:[70, 15, 29], Operations: ['70-41=29']
Exploring Operation: 70-29=41, Resulting Numbers: [15, 41]
Generated Node #0,3,0: 84:[15, 41] Operation: 70-29=41
Exploring Operation: 29-15=14, Resulting Numbers: [70, 14]
Generated Node #0,3,1: 84:[70, 14] Operation: 29-15=14
Exploring Operation: 70+15=85, Resulting Numbers: [29, 85]
Generated Node #0,3,2: 84:[29, 85] Operation: 70+15=85
Exploring Operation: 70-15=55, Resulting Numbers: [29, 55]
Generated Node #0,3,3: 84:[29, 55] Operation: 70-15=55
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[15, 41], Operations: ['70-41=29', '70-29=41']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,84 unequal: No Solution
No 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: 84:[29, 85], Operations: ['70-41=29', '70+15=85']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 29*85=2465, Resulting Numbers: [2465]
2465,84 unequal: No Solution
No 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: 84:[70, 14], Operations: ['70-41=29', '29-15=14']
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,84 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[70, 41, 70, 15], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [70, 15, 29]
Generated Node #0,3: 84:[70, 15, 29] Operation: 70-41=29
Moving to Node #0,3
Current State: 84:[70, 15, 29], Operations: ['70-41=29']
Exploring Operation: 29-15=14, Resulting Numbers: [70, 14]
Generated Node #0,3,1: 84:[70, 14] Operation: 29-15=14
Moving to Node #0,3,1
Current State: 84:[70, 14], Operations: ['70-41=29', '29-15=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.939236 | hs_4 | mult_heuristic |
[
61,
78,
92,
46
] | 22 | [
"78*46=3588",
"3588/92=39",
"61-39=22"
] | Current State: 22:[61, 78, 92, 46], Operations: []
Exploring Operation: 78*46=3588, Resulting Numbers: [61, 92, 3588]
Generated Node #2: [61, 92, 3588] from Operation: 78*46=3588
Current State: 22:[61, 92, 3588], Operations: ['78*46=3588']
Exploring Operation: 3588/92=39, Resulting Numbers: [61, 39]
Generated Node #3: [61, 39] from Operation: 3588/92=39
Current State: 22:[61, 39], Operations: ['78*46=3588', '3588/92=39']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[61, 78, 92, 46], Operations: []
Exploring Operation: 78-46=32, Resulting Numbers: [61, 92, 32]
Generated Node #0,0: 22:[61, 92, 32] Operation: 78-46=32
Exploring Operation: 92/46=2, Resulting Numbers: [61, 78, 2]
Generated Node #0,1: 22:[61, 78, 2] Operation: 92/46=2
Exploring Operation: 92-78=14, Resulting Numbers: [61, 46, 14]
Generated Node #0,2: 22:[61, 46, 14] Operation: 92-78=14
Exploring Operation: 78-61=17, Resulting Numbers: [92, 46, 17]
Generated Node #0,3: 22:[92, 46, 17] Operation: 78-61=17
Exploring Operation: 92-61=31, Resulting Numbers: [78, 46, 31]
Generated Node #0,4: 22:[78, 46, 31] Operation: 92-61=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[61, 46, 14], Operations: ['92-78=14']
Exploring Operation: 46+14=60, Resulting Numbers: [61, 60]
Generated Node #0,2,0: 22:[61, 60] Operation: 46+14=60
Exploring Operation: 61+14=75, Resulting Numbers: [46, 75]
Generated Node #0,2,1: 22:[46, 75] Operation: 61+14=75
Exploring Operation: 46-14=32, Resulting Numbers: [61, 32]
Generated Node #0,2,2: 22:[61, 32] Operation: 46-14=32
Exploring Operation: 61-14=47, Resulting Numbers: [46, 47]
Generated Node #0,2,3: 22:[46, 47] Operation: 61-14=47
Exploring Operation: 61-46=15, Resulting Numbers: [14, 15]
Generated Node #0,2,4: 22:[14, 15] Operation: 61-46=15
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 22:[14, 15], Operations: ['92-78=14', '61-46=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,22 unequal: No Solution
No 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: 22:[61, 32], Operations: ['92-78=14', '46-14=32']
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,22 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,22 unequal: No Solution
No 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: 22:[46, 47], Operations: ['92-78=14', '61-14=47']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,22 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,22 unequal: No Solution
No 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: 22:[61, 60], Operations: ['92-78=14', '46+14=60']
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,22 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,22 unequal: No Solution
No 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: 22:[46, 75], Operations: ['92-78=14', '61+14=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,22 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,22 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,22 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: 22:[78, 46, 31], Operations: ['92-61=31']
Exploring Operation: 78+46=124, Resulting Numbers: [31, 124]
Generated Node #0,4,0: 22:[31, 124] Operation: 78+46=124
Exploring Operation: 78-31=47, Resulting Numbers: [46, 47]
Generated Node #0,4,1: 22:[46, 47] Operation: 78-31=47
Exploring Operation: 78+31=109, Resulting Numbers: [46, 109]
Generated Node #0,4,2: 22:[46, 109] Operation: 78+31=109
Exploring Operation: 78-46=32, Resulting Numbers: [31, 32]
Generated Node #0,4,3: 22:[31, 32] Operation: 78-46=32
Exploring Operation: 46-31=15, Resulting Numbers: [78, 15]
Generated Node #0,4,4: 22:[78, 15] Operation: 46-31=15
Moving to Node #0,4,3
Current State: 22:[31, 32], Operations: ['92-61=31', '78-46=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,22 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[46, 47], Operations: ['92-61=31', '78-31=47']
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,22 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[78, 15], Operations: ['92-61=31', '46-31=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[31, 124], Operations: ['92-61=31', '78+46=124']
Exploring Operation: 124/31=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 124-31=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 31*124=3844, Resulting Numbers: [3844]
3844,22 unequal: No Solution
Exploring Operation: 31+124=155, Resulting Numbers: [155]
155,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[46, 109], Operations: ['92-61=31', '78+31=109']
Exploring Operation: 46*109=5014, Resulting Numbers: [5014]
5014,22 unequal: No Solution
Exploring Operation: 46+109=155, Resulting Numbers: [155]
155,22 unequal: No Solution
Exploring Operation: 109-46=63, Resulting Numbers: [63]
63,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,1
Current State: 22:[61, 78, 2], Operations: ['92/46=2']
Exploring Operation: 78-2=76, Resulting Numbers: [61, 76]
Generated Node #0,1,0: 22:[61, 76] Operation: 78-2=76
Exploring Operation: 61+2=63, Resulting Numbers: [78, 63]
Generated Node #0,1,1: 22:[78, 63] Operation: 61+2=63
Exploring Operation: 78-61=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 22:[2, 17] Operation: 78-61=17
Exploring Operation: 61-2=59, Resulting Numbers: [78, 59]
Generated Node #0,1,3: 22:[78, 59] Operation: 61-2=59
Exploring Operation: 78/2=39, Resulting Numbers: [61, 39]
Generated Node #0,1,4: 22:[61, 39] Operation: 78/2=39
Moving to Node #0,1,2
Current State: 22:[2, 17], Operations: ['92/46=2', '78-61=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[61, 39], Operations: ['92/46=2', '78/2=39']
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,22 unequal: No Solution
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,22 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[61, 78, 92, 46], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [61, 78, 2]
Generated Node #0,1: 22:[61, 78, 2] Operation: 92/46=2
Moving to Node #0,1
Current State: 22:[61, 78, 2], Operations: ['92/46=2']
Exploring Operation: 78/2=39, Resulting Numbers: [61, 39]
Generated Node #0,1,4: 22:[61, 39] Operation: 78/2=39
Moving to Node #0,1,4
Current State: 22:[61, 39], Operations: ['92/46=2', '78/2=39']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
11,
6,
65,
14
] | 23 | [
"65-11=54",
"54/6=9",
"14+9=23"
] | Current State: 23:[11, 6, 65, 14], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [6, 14, 54]
Generated Node #2: [6, 14, 54] from Operation: 65-11=54
Current State: 23:[6, 14, 54], Operations: ['65-11=54']
Exploring Operation: 54/6=9, Resulting Numbers: [14, 9]
Generated Node #3: [14, 9] from Operation: 54/6=9
Current State: 23:[14, 9], Operations: ['65-11=54', '54/6=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[11, 6, 65, 14], Operations: []
Exploring Operation: 65-6=59, Resulting Numbers: [11, 14, 59]
Generated Node #0,0: 23:[11, 14, 59] Operation: 65-6=59
Exploring Operation: 6+14=20, Resulting Numbers: [11, 65, 20]
Generated Node #0,1: 23:[11, 65, 20] Operation: 6+14=20
Exploring Operation: 65-11=54, Resulting Numbers: [6, 14, 54]
Generated Node #0,2: 23:[6, 14, 54] Operation: 65-11=54
Exploring Operation: 11+6=17, Resulting Numbers: [65, 14, 17]
Generated Node #0,3: 23:[65, 14, 17] Operation: 11+6=17
Exploring Operation: 65-14=51, Resulting Numbers: [11, 6, 51]
Generated Node #0,4: 23:[11, 6, 51] Operation: 65-14=51
Moving to Node #0,0
Current State: 23:[11, 14, 59], Operations: ['65-6=59']
Exploring Operation: 11+59=70, Resulting Numbers: [14, 70]
Generated Node #0,0,0: 23:[14, 70] Operation: 11+59=70
Exploring Operation: 59-11=48, Resulting Numbers: [14, 48]
Generated Node #0,0,1: 23:[14, 48] Operation: 59-11=48
Exploring Operation: 59-14=45, Resulting Numbers: [11, 45]
Generated Node #0,0,2: 23:[11, 45] Operation: 59-14=45
Exploring Operation: 14-11=3, Resulting Numbers: [59, 3]
Generated Node #0,0,3: 23:[59, 3] Operation: 14-11=3
Exploring Operation: 11+14=25, Resulting Numbers: [59, 25]
Generated Node #0,0,4: 23:[59, 25] Operation: 11+14=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[14, 48], Operations: ['65-6=59', '59-11=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,23 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[11, 45], Operations: ['65-6=59', '59-14=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,23 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 23:[59, 25], Operations: ['65-6=59', '11+14=25']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,23 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[14, 70], Operations: ['65-6=59', '11+59=70']
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,23 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[59, 3], Operations: ['65-6=59', '14-11=3']
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,23 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,23 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: 23:[6, 14, 54], Operations: ['65-11=54']
Exploring Operation: 54-6=48, Resulting Numbers: [14, 48]
Generated Node #0,2,0: 23:[14, 48] Operation: 54-6=48
Exploring Operation: 14-6=8, Resulting Numbers: [54, 8]
Generated Node #0,2,1: 23:[54, 8] Operation: 14-6=8
Exploring Operation: 54/6=9, Resulting Numbers: [14, 9]
Generated Node #0,2,2: 23:[14, 9] Operation: 54/6=9
Exploring Operation: 54-14=40, Resulting Numbers: [6, 40]
Generated Node #0,2,3: 23:[6, 40] Operation: 54-14=40
Exploring Operation: 6+14=20, Resulting Numbers: [54, 20]
Generated Node #0,2,4: 23:[54, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[14, 9], Operations: ['65-11=54', '54/6=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[11, 6, 65, 14], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [6, 14, 54]
Generated Node #0,2: 23:[6, 14, 54] Operation: 65-11=54
Moving to Node #0,2
Current State: 23:[6, 14, 54], Operations: ['65-11=54']
Exploring Operation: 54/6=9, Resulting Numbers: [14, 9]
Generated Node #0,2,2: 23:[14, 9] Operation: 54/6=9
Moving to Node #0,2,2
Current State: 23:[14, 9], Operations: ['65-11=54', '54/6=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
40,
91,
86,
73
] | 47 | [
"86-73=13",
"91/13=7",
"40+7=47"
] | Current State: 47:[40, 91, 86, 73], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [40, 91, 13]
Generated Node #2: [40, 91, 13] from Operation: 86-73=13
Current State: 47:[40, 91, 13], Operations: ['86-73=13']
Exploring Operation: 91/13=7, Resulting Numbers: [40, 7]
Generated Node #3: [40, 7] from Operation: 91/13=7
Current State: 47:[40, 7], Operations: ['86-73=13', '91/13=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[40, 91, 86, 73], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [86, 73, 51]
Generated Node #0,0: 47:[86, 73, 51] Operation: 91-40=51
Exploring Operation: 86-40=46, Resulting Numbers: [91, 73, 46]
Generated Node #0,1: 47:[91, 73, 46] Operation: 86-40=46
Exploring Operation: 91-86=5, Resulting Numbers: [40, 73, 5]
Generated Node #0,2: 47:[40, 73, 5] Operation: 91-86=5
Moving to Node #0,0
Current State: 47:[86, 73, 51], Operations: ['91-40=51']
Exploring Operation: 73-51=22, Resulting Numbers: [86, 22]
Generated Node #0,0,0: 47:[86, 22] Operation: 73-51=22
Exploring Operation: 86-73=13, Resulting Numbers: [51, 13]
Generated Node #0,0,1: 47:[51, 13] Operation: 86-73=13
Exploring Operation: 86-51=35, Resulting Numbers: [73, 35]
Generated Node #0,0,2: 47:[73, 35] Operation: 86-51=35
Moving to Node #0,1
Current State: 47:[91, 73, 46], Operations: ['86-40=46']
Exploring Operation: 73-46=27, Resulting Numbers: [91, 27]
Generated Node #0,1,0: 47:[91, 27] Operation: 73-46=27
Exploring Operation: 91-46=45, Resulting Numbers: [73, 45]
Generated Node #0,1,1: 47:[73, 45] Operation: 91-46=45
Exploring Operation: 91-73=18, Resulting Numbers: [46, 18]
Generated Node #0,1,2: 47:[46, 18] Operation: 91-73=18
Moving to Node #0,2
Current State: 47:[40, 73, 5], Operations: ['91-86=5']
Exploring Operation: 40+5=45, Resulting Numbers: [73, 45]
Generated Node #0,2,0: 47:[73, 45] Operation: 40+5=45
Exploring Operation: 40-5=35, Resulting Numbers: [73, 35]
Generated Node #0,2,1: 47:[73, 35] Operation: 40-5=35
Exploring Operation: 73-5=68, Resulting Numbers: [40, 68]
Generated Node #0,2,2: 47:[40, 68] Operation: 73-5=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[73, 45], Operations: ['91-86=5', '40+5=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[40, 68], Operations: ['91-86=5', '73-5=68']
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,47 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[73, 35], Operations: ['91-86=5', '40-5=35']
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,47 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 47:[73, 45], Operations: ['86-40=46', '91-46=45']
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,47 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[46, 18], Operations: ['86-40=46', '91-73=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[51, 13], Operations: ['91-40=51', '86-73=13']
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,47 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[73, 35], Operations: ['91-40=51', '86-51=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,47 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[91, 27], Operations: ['86-40=46', '73-46=27']
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,47 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[86, 22], Operations: ['91-40=51', '73-51=22']
Exploring Operation: 86*22=1892, Resulting Numbers: [1892]
1892,47 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
73,
44,
23
] | 39 | [
"44/4=11",
"73-23=50",
"50-11=39"
] | Current State: 39:[4, 73, 44, 23], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [73, 23, 11]
Generated Node #2: [73, 23, 11] from Operation: 44/4=11
Current State: 39:[73, 23, 11], Operations: ['44/4=11']
Exploring Operation: 73-23=50, Resulting Numbers: [11, 50]
Generated Node #3: [11, 50] from Operation: 73-23=50
Current State: 39:[11, 50], Operations: ['44/4=11', '73-23=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[4, 73, 44, 23], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [4, 44, 50]
Generated Node #0,0: 39:[4, 44, 50] Operation: 73-23=50
Moving to Node #0,0
Current State: 39:[4, 44, 50], Operations: ['73-23=50']
Exploring Operation: 50-44=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 39:[4, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[4, 6], Operations: ['73-23=50', '50-44=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,39 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 |
[
24,
26,
73,
14
] | 89 | [
"26-24=2",
"73+14=87",
"2+87=89"
] | Current State: 89:[24, 26, 73, 14], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [73, 14, 2]
Generated Node #2: [73, 14, 2] from Operation: 26-24=2
Current State: 89:[73, 14, 2], Operations: ['26-24=2']
Exploring Operation: 73+14=87, Resulting Numbers: [2, 87]
Generated Node #3: [2, 87] from Operation: 73+14=87
Current State: 89:[2, 87], Operations: ['26-24=2', '73+14=87']
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[24, 26, 73, 14], Operations: []
Exploring Operation: 24+14=38, Resulting Numbers: [26, 73, 38]
Generated Node #0,0: 89:[26, 73, 38] Operation: 24+14=38
Exploring Operation: 24+26=50, Resulting Numbers: [73, 14, 50]
Generated Node #0,1: 89:[73, 14, 50] Operation: 24+26=50
Moving to Node #0,0
Current State: 89:[26, 73, 38], Operations: ['24+14=38']
Exploring Operation: 26+38=64, Resulting Numbers: [73, 64]
Generated Node #0,0,0: 89:[73, 64] Operation: 26+38=64
Exploring Operation: 26+73=99, Resulting Numbers: [38, 99]
Generated Node #0,0,1: 89:[38, 99] Operation: 26+73=99
Moving to Node #0,1
Current State: 89:[73, 14, 50], Operations: ['24+26=50']
Exploring Operation: 73+14=87, Resulting Numbers: [50, 87]
Generated Node #0,1,0: 89:[50, 87] Operation: 73+14=87
Exploring Operation: 14+50=64, Resulting Numbers: [73, 64]
Generated Node #0,1,1: 89:[73, 64] Operation: 14+50=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[50, 87], Operations: ['24+26=50', '73+14=87']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 50+87=137, Resulting Numbers: [137]
137,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[73, 64], Operations: ['24+26=50', '14+50=64']
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,89 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: 89:[73, 64], Operations: ['24+14=38', '26+38=64']
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[38, 99], Operations: ['24+14=38', '26+73=99']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
65,
7,
71
] | 64 | [
"78-7=71",
"71/71=1",
"65-1=64"
] | Current State: 64:[78, 65, 7, 71], Operations: []
Exploring Operation: 78-7=71, Resulting Numbers: [65, 71, 71]
Generated Node #2: [65, 71, 71] from Operation: 78-7=71
Current State: 64:[65, 71, 71], Operations: ['78-7=71']
Exploring Operation: 71/71=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 71/71=1
Current State: 64:[65, 1], Operations: ['78-7=71', '71/71=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[78, 65, 7, 71], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [7, 71, 13]
Generated Node #0,0: 64:[7, 71, 13] Operation: 78-65=13
Exploring Operation: 78-7=71, Resulting Numbers: [65, 71, 71]
Generated Node #0,1: 64:[65, 71, 71] Operation: 78-7=71
Exploring Operation: 78-71=7, Resulting Numbers: [65, 7, 7]
Generated Node #0,2: 64:[65, 7, 7] Operation: 78-71=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[65, 7, 7], Operations: ['78-71=7']
Exploring Operation: 7+7=14, Resulting Numbers: [65, 14]
Generated Node #0,2,0: 64:[65, 14] Operation: 7+7=14
Exploring Operation: 7-7=0, Resulting Numbers: [65, 0]
Generated Node #0,2,1: 64:[65, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [65, 1]
Generated Node #0,2,2: 64:[65, 1] Operation: 7/7=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[65, 1], Operations: ['78-71=7', '7/7=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[78, 65, 7, 71], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [65, 7, 7]
Generated Node #0,2: 64:[65, 7, 7] Operation: 78-71=7
Moving to Node #0,2
Current State: 64:[65, 7, 7], Operations: ['78-71=7']
Exploring Operation: 7/7=1, Resulting Numbers: [65, 1]
Generated Node #0,2,2: 64:[65, 1] Operation: 7/7=1
Moving to Node #0,2,2
Current State: 64:[65, 1], Operations: ['78-71=7', '7/7=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
89,
47,
62,
41
] | 62 | [
"89-47=42",
"42-41=1",
"62*1=62"
] | Current State: 62:[89, 47, 62, 41], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [62, 41, 42]
Generated Node #2: [62, 41, 42] from Operation: 89-47=42
Current State: 62:[62, 41, 42], Operations: ['89-47=42']
Exploring Operation: 42-41=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 42-41=1
Current State: 62:[62, 1], Operations: ['89-47=42', '42-41=1']
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[89, 47, 62, 41], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [62, 41, 42]
Generated Node #0,0: 62:[62, 41, 42] Operation: 89-47=42
Exploring Operation: 89-62=27, Resulting Numbers: [47, 41, 27]
Generated Node #0,1: 62:[47, 41, 27] Operation: 89-62=27
Exploring Operation: 89-41=48, Resulting Numbers: [47, 62, 48]
Generated Node #0,2: 62:[47, 62, 48] Operation: 89-41=48
Exploring Operation: 47-41=6, Resulting Numbers: [89, 62, 6]
Generated Node #0,3: 62:[89, 62, 6] Operation: 47-41=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[62, 41, 42], Operations: ['89-47=42']
Exploring Operation: 62-41=21, Resulting Numbers: [42, 21]
Generated Node #0,0,0: 62:[42, 21] Operation: 62-41=21
Exploring Operation: 42-41=1, Resulting Numbers: [62, 1]
Generated Node #0,0,1: 62:[62, 1] Operation: 42-41=1
Exploring Operation: 41+42=83, Resulting Numbers: [62, 83]
Generated Node #0,0,2: 62:[62, 83] Operation: 41+42=83
Exploring Operation: 62-42=20, Resulting Numbers: [41, 20]
Generated Node #0,0,3: 62:[41, 20] Operation: 62-42=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[62, 1], Operations: ['89-47=42', '42-41=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[89, 47, 62, 41], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [62, 41, 42]
Generated Node #0,0: 62:[62, 41, 42] Operation: 89-47=42
Moving to Node #0,0
Current State: 62:[62, 41, 42], Operations: ['89-47=42']
Exploring Operation: 42-41=1, Resulting Numbers: [62, 1]
Generated Node #0,0,1: 62:[62, 1] Operation: 42-41=1
Moving to Node #0,0,1
Current State: 62:[62, 1], Operations: ['89-47=42', '42-41=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
21,
23,
97,
69
] | 34 | [
"21*69=1449",
"1449/23=63",
"97-63=34"
] | Current State: 34:[21, 23, 97, 69], Operations: []
Exploring Operation: 21*69=1449, Resulting Numbers: [23, 97, 1449]
Generated Node #2: [23, 97, 1449] from Operation: 21*69=1449
Current State: 34:[23, 97, 1449], Operations: ['21*69=1449']
Exploring Operation: 1449/23=63, Resulting Numbers: [97, 63]
Generated Node #3: [97, 63] from Operation: 1449/23=63
Current State: 34:[97, 63], Operations: ['21*69=1449', '1449/23=63']
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[21, 23, 97, 69], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [21, 23, 28]
Generated Node #0,0: 34:[21, 23, 28] Operation: 97-69=28
Exploring Operation: 69/23=3, Resulting Numbers: [21, 97, 3]
Generated Node #0,1: 34:[21, 97, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [21, 97, 46]
Generated Node #0,2: 34:[21, 97, 46] Operation: 69-23=46
Exploring Operation: 97-23=74, Resulting Numbers: [21, 69, 74]
Generated Node #0,3: 34:[21, 69, 74] Operation: 97-23=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[21, 23, 28], Operations: ['97-69=28']
Exploring Operation: 21+23=44, Resulting Numbers: [28, 44]
Generated Node #0,0,0: 34:[28, 44] Operation: 21+23=44
Exploring Operation: 28-23=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 34:[21, 5] Operation: 28-23=5
Exploring Operation: 23-21=2, Resulting Numbers: [28, 2]
Generated Node #0,0,2: 34:[28, 2] Operation: 23-21=2
Exploring Operation: 28-21=7, Resulting Numbers: [23, 7]
Generated Node #0,0,3: 34:[23, 7] Operation: 28-21=7
Moving to Node #0,0,2
Current State: 34:[28, 2], Operations: ['97-69=28', '23-21=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[21, 5], Operations: ['97-69=28', '28-23=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[23, 7], Operations: ['97-69=28', '28-21=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,34 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[28, 44], Operations: ['97-69=28', '21+23=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,34 unequal: No Solution
No 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: 34:[21, 97, 3], Operations: ['69/23=3']
Exploring Operation: 97-3=94, Resulting Numbers: [21, 94]
Generated Node #0,1,0: 34:[21, 94] Operation: 97-3=94
Exploring Operation: 21/3=7, Resulting Numbers: [97, 7]
Generated Node #0,1,1: 34:[97, 7] Operation: 21/3=7
Exploring Operation: 97-21=76, Resulting Numbers: [3, 76]
Generated Node #0,1,2: 34:[3, 76] Operation: 97-21=76
Exploring Operation: 21-3=18, Resulting Numbers: [97, 18]
Generated Node #0,1,3: 34:[97, 18] Operation: 21-3=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[3, 76], Operations: ['69/23=3', '97-21=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,34 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,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:[21, 94], Operations: ['69/23=3', '97-3=94']
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,34 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,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,3
Current State: 34:[97, 18], Operations: ['69/23=3', '21-3=18']
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,34 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,34 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,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,1
Current State: 34:[97, 7], Operations: ['69/23=3', '21/3=7']
Exploring Operation: 97+7=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Exploring Operation: 97*7=679, Resulting Numbers: [679]
679,34 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,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,2
Current State: 34:[21, 97, 46], Operations: ['69-23=46']
Exploring Operation: 21+97=118, Resulting Numbers: [46, 118]
Generated Node #0,2,0: 34:[46, 118] Operation: 21+97=118
Exploring Operation: 97-46=51, Resulting Numbers: [21, 51]
Generated Node #0,2,1: 34:[21, 51] Operation: 97-46=51
Exploring Operation: 97-21=76, Resulting Numbers: [46, 76]
Generated Node #0,2,2: 34:[46, 76] Operation: 97-21=76
Exploring Operation: 46-21=25, Resulting Numbers: [97, 25]
Generated Node #0,2,3: 34:[97, 25] Operation: 46-21=25
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[21, 51], Operations: ['69-23=46', '97-46=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,34 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,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,2,2
Current State: 34:[46, 76], Operations: ['69-23=46', '97-21=76']
Exploring Operation: 46+76=122, Resulting Numbers: [122]
122,34 unequal: No Solution
Exploring Operation: 46*76=3496, Resulting Numbers: [3496]
3496,34 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,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,2,3
Current State: 34:[97, 25], Operations: ['69-23=46', '46-21=25']
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,34 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,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,2,0
Current State: 34:[46, 118], Operations: ['69-23=46', '21+97=118']
Exploring Operation: 46+118=164, Resulting Numbers: [164]
164,34 unequal: No Solution
Exploring Operation: 118-46=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 46*118=5428, Resulting Numbers: [5428]
5428,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,3
Current State: 34:[21, 69, 74], Operations: ['97-23=74']
Exploring Operation: 74-69=5, Resulting Numbers: [21, 5]
Generated Node #0,3,0: 34:[21, 5] Operation: 74-69=5
Exploring Operation: 69-21=48, Resulting Numbers: [74, 48]
Generated Node #0,3,1: 34:[74, 48] Operation: 69-21=48
Exploring Operation: 21+69=90, Resulting Numbers: [74, 90]
Generated Node #0,3,2: 34:[74, 90] Operation: 21+69=90
Exploring Operation: 74-21=53, Resulting Numbers: [69, 53]
Generated Node #0,3,3: 34:[69, 53] Operation: 74-21=53
Moving to Node #0,3,0
Current State: 34:[21, 5], Operations: ['97-23=74', '74-69=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[69, 53], Operations: ['97-23=74', '74-21=53']
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,34 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[74, 48], Operations: ['97-23=74', '69-21=48']
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,34 unequal: No Solution
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,34 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[74, 90], Operations: ['97-23=74', '21+69=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,34 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,34 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,34 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 |
[
3,
64,
87,
28
] | 61 | [
"87-3=84",
"84/28=3",
"64-3=61"
] | Current State: 61:[3, 64, 87, 28], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [64, 28, 84]
Generated Node #2: [64, 28, 84] from Operation: 87-3=84
Current State: 61:[64, 28, 84], Operations: ['87-3=84']
Exploring Operation: 84/28=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 84/28=3
Current State: 61:[64, 3], Operations: ['87-3=84', '84/28=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[3, 64, 87, 28], Operations: []
Exploring Operation: 3*28=84, Resulting Numbers: [64, 87, 84]
Generated Node #0,0: 61:[64, 87, 84] Operation: 3*28=84
Exploring Operation: 64-3=61, Resulting Numbers: [87, 28, 61]
Generated Node #0,1: 61:[87, 28, 61] Operation: 64-3=61
Moving to Node #0,0
Current State: 61:[64, 87, 84], Operations: ['3*28=84']
Exploring Operation: 87-64=23, Resulting Numbers: [84, 23]
Generated Node #0,0,0: 61:[84, 23] Operation: 87-64=23
Exploring Operation: 87-84=3, Resulting Numbers: [64, 3]
Generated Node #0,0,1: 61:[64, 3] Operation: 87-84=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[84, 23], Operations: ['3*28=84', '87-64=23']
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[3, 64, 87, 28], Operations: []
Exploring Operation: 3*28=84, Resulting Numbers: [64, 87, 84]
Generated Node #0,0: 61:[64, 87, 84] Operation: 3*28=84
Moving to Node #0,0
Current State: 61:[64, 87, 84], Operations: ['3*28=84']
Exploring Operation: 87-64=23, Resulting Numbers: [84, 23]
Generated Node #0,0,0: 61:[84, 23] Operation: 87-64=23
Moving to Node #0,0,0
Current State: 61:[84, 23], Operations: ['3*28=84', '87-64=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
7,
47,
57,
36
] | 20 | [
"47+57=104",
"36+104=140",
"140/7=20"
] | Current State: 20:[7, 47, 57, 36], Operations: []
Exploring Operation: 47+57=104, Resulting Numbers: [7, 36, 104]
Generated Node #2: [7, 36, 104] from Operation: 47+57=104
Current State: 20:[7, 36, 104], Operations: ['47+57=104']
Exploring Operation: 36+104=140, Resulting Numbers: [7, 140]
Generated Node #3: [7, 140] from Operation: 36+104=140
Current State: 20:[7, 140], Operations: ['47+57=104', '36+104=140']
Exploring Operation: 140/7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[7, 47, 57, 36], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [7, 36, 10]
Generated Node #0,0: 20:[7, 36, 10] Operation: 57-47=10
Exploring Operation: 57-36=21, Resulting Numbers: [7, 47, 21]
Generated Node #0,1: 20:[7, 47, 21] Operation: 57-36=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[7, 36, 10], Operations: ['57-47=10']
Exploring Operation: 36-10=26, Resulting Numbers: [7, 26]
Generated Node #0,0,0: 20:[7, 26] Operation: 36-10=26
Exploring Operation: 36-7=29, Resulting Numbers: [10, 29]
Generated Node #0,0,1: 20:[10, 29] Operation: 36-7=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[7, 26], Operations: ['57-47=10', '36-10=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[10, 29], Operations: ['57-47=10', '36-7=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[7, 47, 21], Operations: ['57-36=21']
Exploring Operation: 47-7=40, Resulting Numbers: [21, 40]
Generated Node #0,1,0: 20:[21, 40] Operation: 47-7=40
Exploring Operation: 47-21=26, Resulting Numbers: [7, 26]
Generated Node #0,1,1: 20:[7, 26] Operation: 47-21=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[7, 26], Operations: ['57-36=21', '47-21=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[21, 40], Operations: ['57-36=21', '47-7=40']
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
52,
55,
14
] | 62 | [
"16*52=832",
"55*14=770",
"832-770=62"
] | Current State: 62:[16, 52, 55, 14], Operations: []
Exploring Operation: 16*52=832, Resulting Numbers: [55, 14, 832]
Generated Node #2: [55, 14, 832] from Operation: 16*52=832
Current State: 62:[55, 14, 832], Operations: ['16*52=832']
Exploring Operation: 55*14=770, Resulting Numbers: [832, 770]
Generated Node #3: [832, 770] from Operation: 55*14=770
Current State: 62:[832, 770], Operations: ['16*52=832', '55*14=770']
Exploring Operation: 832-770=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[16, 52, 55, 14], Operations: []
Exploring Operation: 16+14=30, Resulting Numbers: [52, 55, 30]
Generated Node #0,0: 62:[52, 55, 30] Operation: 16+14=30
Exploring Operation: 16-14=2, Resulting Numbers: [52, 55, 2]
Generated Node #0,1: 62:[52, 55, 2] Operation: 16-14=2
Exploring Operation: 16+52=68, Resulting Numbers: [55, 14, 68]
Generated Node #0,2: 62:[55, 14, 68] Operation: 16+52=68
Exploring Operation: 52-16=36, Resulting Numbers: [55, 14, 36]
Generated Node #0,3: 62:[55, 14, 36] Operation: 52-16=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[52, 55, 2], Operations: ['16-14=2']
Exploring Operation: 52+2=54, Resulting Numbers: [55, 54]
Generated Node #0,1,0: 62:[55, 54] Operation: 52+2=54
Exploring Operation: 52/2=26, Resulting Numbers: [55, 26]
Generated Node #0,1,1: 62:[55, 26] Operation: 52/2=26
Exploring Operation: 55+2=57, Resulting Numbers: [52, 57]
Generated Node #0,1,2: 62:[52, 57] Operation: 55+2=57
Exploring Operation: 55-52=3, Resulting Numbers: [2, 3]
Generated Node #0,1,3: 62:[2, 3] Operation: 55-52=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 62:[2, 3], Operations: ['16-14=2', '55-52=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No 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: 62:[55, 26], Operations: ['16-14=2', '52/2=26']
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,62 unequal: No Solution
No 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: 62:[55, 54], Operations: ['16-14=2', '52+2=54']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,62 unequal: No Solution
No 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: 62:[52, 57], Operations: ['16-14=2', '55+2=57']
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,62 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[52, 55, 30], Operations: ['16+14=30']
Exploring Operation: 55-52=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 62:[30, 3] Operation: 55-52=3
Exploring Operation: 52+30=82, Resulting Numbers: [55, 82]
Generated Node #0,0,1: 62:[55, 82] Operation: 52+30=82
Exploring Operation: 52-30=22, Resulting Numbers: [55, 22]
Generated Node #0,0,2: 62:[55, 22] Operation: 52-30=22
Exploring Operation: 55-30=25, Resulting Numbers: [52, 25]
Generated Node #0,0,3: 62:[52, 25] Operation: 55-30=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[30, 3], Operations: ['16+14=30', '55-52=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,62 unequal: No Solution
No 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: 62:[55, 22], Operations: ['16+14=30', '52-30=22']
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,62 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,62 unequal: No Solution
No 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: 62:[52, 25], Operations: ['16+14=30', '55-30=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,62 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No 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: 62:[55, 82], Operations: ['16+14=30', '52+30=82']
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,62 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,62 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[55, 14, 36], Operations: ['52-16=36']
Exploring Operation: 14+36=50, Resulting Numbers: [55, 50]
Generated Node #0,3,0: 62:[55, 50] Operation: 14+36=50
Exploring Operation: 55+14=69, Resulting Numbers: [36, 69]
Generated Node #0,3,1: 62:[36, 69] Operation: 55+14=69
Exploring Operation: 36-14=22, Resulting Numbers: [55, 22]
Generated Node #0,3,2: 62:[55, 22] Operation: 36-14=22
Exploring Operation: 55-14=41, Resulting Numbers: [36, 41]
Generated Node #0,3,3: 62:[36, 41] Operation: 55-14=41
Moving to Node #0,3,1
Current State: 62:[36, 69], Operations: ['52-16=36', '55+14=69']
Exploring Operation: 36*69=2484, Resulting Numbers: [2484]
2484,62 unequal: No Solution
Exploring Operation: 36+69=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[36, 41], Operations: ['52-16=36', '55-14=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[55, 22], Operations: ['52-16=36', '36-14=22']
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,62 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[55, 50], Operations: ['52-16=36', '14+36=50']
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,62 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[55, 14, 68], Operations: ['16+52=68']
Exploring Operation: 55-14=41, Resulting Numbers: [68, 41]
Generated Node #0,2,0: 62:[68, 41] Operation: 55-14=41
Exploring Operation: 68-55=13, Resulting Numbers: [14, 13]
Generated Node #0,2,1: 62:[14, 13] Operation: 68-55=13
Exploring Operation: 55+14=69, Resulting Numbers: [68, 69]
Generated Node #0,2,2: 62:[68, 69] Operation: 55+14=69
Exploring Operation: 68-14=54, Resulting Numbers: [55, 54]
Generated Node #0,2,3: 62:[55, 54] Operation: 68-14=54
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[68, 69], Operations: ['16+52=68', '55+14=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,62 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,62 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No 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: 62:[55, 54], Operations: ['16+52=68', '68-14=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,62 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No 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: 62:[68, 41], Operations: ['16+52=68', '55-14=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,62 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No 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: 62:[14, 13], Operations: ['16+52=68', '68-55=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,62 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
31,
10,
79
] | 45 | [
"31+79=110",
"110/10=11",
"56-11=45"
] | Current State: 45:[56, 31, 10, 79], Operations: []
Exploring Operation: 31+79=110, Resulting Numbers: [56, 10, 110]
Generated Node #2: [56, 10, 110] from Operation: 31+79=110
Current State: 45:[56, 10, 110], Operations: ['31+79=110']
Exploring Operation: 110/10=11, Resulting Numbers: [56, 11]
Generated Node #3: [56, 11] from Operation: 110/10=11
Current State: 45:[56, 11], Operations: ['31+79=110', '110/10=11']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[56, 31, 10, 79], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [10, 79, 25]
Generated Node #0,0: 45:[10, 79, 25] Operation: 56-31=25
Exploring Operation: 79-56=23, Resulting Numbers: [31, 10, 23]
Generated Node #0,1: 45:[31, 10, 23] Operation: 79-56=23
Exploring Operation: 79-31=48, Resulting Numbers: [56, 10, 48]
Generated Node #0,2: 45:[56, 10, 48] Operation: 79-31=48
Exploring Operation: 56-10=46, Resulting Numbers: [31, 79, 46]
Generated Node #0,3: 45:[31, 79, 46] Operation: 56-10=46
Moving to Node #0,2
Current State: 45:[56, 10, 48], Operations: ['79-31=48']
Exploring Operation: 56-48=8, Resulting Numbers: [10, 8]
Generated Node #0,2,0: 45:[10, 8] Operation: 56-48=8
Exploring Operation: 56-10=46, Resulting Numbers: [48, 46]
Generated Node #0,2,1: 45:[48, 46] Operation: 56-10=46
Exploring Operation: 56+10=66, Resulting Numbers: [48, 66]
Generated Node #0,2,2: 45:[48, 66] Operation: 56+10=66
Exploring Operation: 48-10=38, Resulting Numbers: [56, 38]
Generated Node #0,2,3: 45:[56, 38] Operation: 48-10=38
Moving to Node #0,1
Current State: 45:[31, 10, 23], Operations: ['79-56=23']
Exploring Operation: 31+23=54, Resulting Numbers: [10, 54]
Generated Node #0,1,0: 45:[10, 54] Operation: 31+23=54
Exploring Operation: 31-10=21, Resulting Numbers: [23, 21]
Generated Node #0,1,1: 45:[23, 21] Operation: 31-10=21
Exploring Operation: 31-23=8, Resulting Numbers: [10, 8]
Generated Node #0,1,2: 45:[10, 8] Operation: 31-23=8
Exploring Operation: 31+10=41, Resulting Numbers: [23, 41]
Generated Node #0,1,3: 45:[23, 41] Operation: 31+10=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[10, 8], Operations: ['79-56=23', '31-23=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,45 unequal: No Solution
No 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: 45:[10, 54], Operations: ['79-56=23', '31+23=54']
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,45 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No 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: 45:[23, 41], Operations: ['79-56=23', '31+10=41']
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,45 unequal: No Solution
No 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: 45:[23, 21], Operations: ['79-56=23', '31-10=21']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,45 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: 45:[10, 79, 25], Operations: ['56-31=25']
Exploring Operation: 79-25=54, Resulting Numbers: [10, 54]
Generated Node #0,0,0: 45:[10, 54] Operation: 79-25=54
Exploring Operation: 10+25=35, Resulting Numbers: [79, 35]
Generated Node #0,0,1: 45:[79, 35] Operation: 10+25=35
Exploring Operation: 79-10=69, Resulting Numbers: [25, 69]
Generated Node #0,0,2: 45:[25, 69] Operation: 79-10=69
Exploring Operation: 25-10=15, Resulting Numbers: [79, 15]
Generated Node #0,0,3: 45:[79, 15] Operation: 25-10=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[10, 54], Operations: ['56-31=25', '79-25=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,45 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No 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: 45:[25, 69], Operations: ['56-31=25', '79-10=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,45 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,45 unequal: No Solution
No 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: 45:[79, 15], Operations: ['56-31=25', '25-10=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,45 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,45 unequal: No Solution
No 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: 45:[79, 35], Operations: ['56-31=25', '10+25=35']
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 79*35=2765, Resulting Numbers: [2765]
2765,45 unequal: No Solution
Exploring Operation: 79+35=114, Resulting Numbers: [114]
114,45 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: 45:[31, 79, 46], Operations: ['56-10=46']
Exploring Operation: 31+79=110, Resulting Numbers: [46, 110]
Generated Node #0,3,0: 45:[46, 110] Operation: 31+79=110
Exploring Operation: 46-31=15, Resulting Numbers: [79, 15]
Generated Node #0,3,1: 45:[79, 15] Operation: 46-31=15
Exploring Operation: 79-46=33, Resulting Numbers: [31, 33]
Generated Node #0,3,2: 45:[31, 33] Operation: 79-46=33
Exploring Operation: 79-31=48, Resulting Numbers: [46, 48]
Generated Node #0,3,3: 45:[46, 48] Operation: 79-31=48
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[46, 48], Operations: ['56-10=46', '79-31=48']
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,45 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,45 unequal: No Solution
No 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: 45:[31, 33], Operations: ['56-10=46', '79-46=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,45 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No 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: 45:[79, 15], Operations: ['56-10=46', '46-31=15']
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,45 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,45 unequal: No Solution
No 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: 45:[46, 110], Operations: ['56-10=46', '31+79=110']
Exploring Operation: 110-46=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 46*110=5060, Resulting Numbers: [5060]
5060,45 unequal: No Solution
Exploring Operation: 46+110=156, Resulting Numbers: [156]
156,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 45:[10, 8], Operations: ['79-31=48', '56-48=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[48, 46], Operations: ['79-31=48', '56-10=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,45 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[56, 38], Operations: ['79-31=48', '48-10=38']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,45 unequal: No Solution
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[48, 66], Operations: ['79-31=48', '56+10=66']
Exploring Operation: 48+66=114, Resulting Numbers: [114]
114,45 unequal: No Solution
Exploring Operation: 48*66=3168, Resulting Numbers: [3168]
3168,45 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
93,
49,
55,
63
] | 84 | [
"93*49=4557",
"63+4557=4620",
"4620/55=84"
] | Current State: 84:[93, 49, 55, 63], Operations: []
Exploring Operation: 93*49=4557, Resulting Numbers: [55, 63, 4557]
Generated Node #2: [55, 63, 4557] from Operation: 93*49=4557
Current State: 84:[55, 63, 4557], Operations: ['93*49=4557']
Exploring Operation: 63+4557=4620, Resulting Numbers: [55, 4620]
Generated Node #3: [55, 4620] from Operation: 63+4557=4620
Current State: 84:[55, 4620], Operations: ['93*49=4557', '63+4557=4620']
Exploring Operation: 4620/55=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[93, 49, 55, 63], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [93, 49, 8]
Generated Node #0,0: 84:[93, 49, 8] Operation: 63-55=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[93, 49, 8], Operations: ['63-55=8']
Exploring Operation: 93-49=44, Resulting Numbers: [8, 44]
Generated Node #0,0,0: 84:[8, 44] Operation: 93-49=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[8, 44], Operations: ['63-55=8', '93-49=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
9,
15,
96
] | 64 | [
"9+96=105",
"105/15=7",
"57+7=64"
] | Current State: 64:[57, 9, 15, 96], Operations: []
Exploring Operation: 9+96=105, Resulting Numbers: [57, 15, 105]
Generated Node #2: [57, 15, 105] from Operation: 9+96=105
Current State: 64:[57, 15, 105], Operations: ['9+96=105']
Exploring Operation: 105/15=7, Resulting Numbers: [57, 7]
Generated Node #3: [57, 7] from Operation: 105/15=7
Current State: 64:[57, 7], Operations: ['9+96=105', '105/15=7']
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[57, 9, 15, 96], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [9, 15, 39]
Generated Node #0,0: 64:[9, 15, 39] Operation: 96-57=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[9, 15, 39], Operations: ['96-57=39']
Exploring Operation: 39-9=30, Resulting Numbers: [15, 30]
Generated Node #0,0,0: 64:[15, 30] Operation: 39-9=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[15, 30], Operations: ['96-57=39', '39-9=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
2,
50,
79
] | 20 | [
"51-2=49",
"79-50=29",
"49-29=20"
] | Current State: 20:[51, 2, 50, 79], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [50, 79, 49]
Generated Node #2: [50, 79, 49] from Operation: 51-2=49
Current State: 20:[50, 79, 49], Operations: ['51-2=49']
Exploring Operation: 79-50=29, Resulting Numbers: [49, 29]
Generated Node #3: [49, 29] from Operation: 79-50=29
Current State: 20:[49, 29], Operations: ['51-2=49', '79-50=29']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[51, 2, 50, 79], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [2, 79, 1]
Generated Node #0,0: 20:[2, 79, 1] Operation: 51-50=1
Exploring Operation: 79-50=29, Resulting Numbers: [51, 2, 29]
Generated Node #0,1: 20:[51, 2, 29] Operation: 79-50=29
Exploring Operation: 79-51=28, Resulting Numbers: [2, 50, 28]
Generated Node #0,2: 20:[2, 50, 28] Operation: 79-51=28
Moving to Node #0,2
Current State: 20:[2, 50, 28], Operations: ['79-51=28']
Exploring Operation: 28/2=14, Resulting Numbers: [50, 14]
Generated Node #0,2,0: 20:[50, 14] Operation: 28/2=14
Exploring Operation: 50/2=25, Resulting Numbers: [28, 25]
Generated Node #0,2,1: 20:[28, 25] Operation: 50/2=25
Exploring Operation: 50-28=22, Resulting Numbers: [2, 22]
Generated Node #0,2,2: 20:[2, 22] Operation: 50-28=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[2, 22], Operations: ['79-51=28', '50-28=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[51, 2, 50, 79], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [2, 50, 28]
Generated Node #0,2: 20:[2, 50, 28] Operation: 79-51=28
Moving to Node #0,2
Current State: 20:[2, 50, 28], Operations: ['79-51=28']
Exploring Operation: 50-28=22, Resulting Numbers: [2, 22]
Generated Node #0,2,2: 20:[2, 22] Operation: 50-28=22
Moving to Node #0,2,2
Current State: 20:[2, 22], Operations: ['79-51=28', '50-28=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
36,
16,
93,
7
] | 55 | [
"93-36=57",
"16*7=112",
"112-57=55"
] | Current State: 55:[36, 16, 93, 7], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [16, 7, 57]
Generated Node #2: [16, 7, 57] from Operation: 93-36=57
Current State: 55:[16, 7, 57], Operations: ['93-36=57']
Exploring Operation: 16*7=112, Resulting Numbers: [57, 112]
Generated Node #3: [57, 112] from Operation: 16*7=112
Current State: 55:[57, 112], Operations: ['93-36=57', '16*7=112']
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[36, 16, 93, 7], Operations: []
Exploring Operation: 36+7=43, Resulting Numbers: [16, 93, 43]
Generated Node #0,0: 55:[16, 93, 43] Operation: 36+7=43
Exploring Operation: 36-16=20, Resulting Numbers: [93, 7, 20]
Generated Node #0,1: 55:[93, 7, 20] Operation: 36-16=20
Exploring Operation: 93-36=57, Resulting Numbers: [16, 7, 57]
Generated Node #0,2: 55:[16, 7, 57] Operation: 93-36=57
Exploring Operation: 93-16=77, Resulting Numbers: [36, 7, 77]
Generated Node #0,3: 55:[36, 7, 77] Operation: 93-16=77
Exploring Operation: 36+16=52, Resulting Numbers: [93, 7, 52]
Generated Node #0,4: 55:[93, 7, 52] Operation: 36+16=52
Moving to Node #0,2
Current State: 55:[16, 7, 57], Operations: ['93-36=57']
Exploring Operation: 16+7=23, Resulting Numbers: [57, 23]
Generated Node #0,2,0: 55:[57, 23] Operation: 16+7=23
Exploring Operation: 57-7=50, Resulting Numbers: [16, 50]
Generated Node #0,2,1: 55:[16, 50] Operation: 57-7=50
Exploring Operation: 57-16=41, Resulting Numbers: [7, 41]
Generated Node #0,2,2: 55:[7, 41] Operation: 57-16=41
Exploring Operation: 7+57=64, Resulting Numbers: [16, 64]
Generated Node #0,2,3: 55:[16, 64] Operation: 7+57=64
Exploring Operation: 16-7=9, Resulting Numbers: [57, 9]
Generated Node #0,2,4: 55:[57, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 55:[57, 9], Operations: ['93-36=57', '16-7=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,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,1
Current State: 55:[16, 50], Operations: ['93-36=57', '57-7=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,55 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,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,0
Current State: 55:[57, 23], Operations: ['93-36=57', '16+7=23']
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,55 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,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,3
Current State: 55:[16, 64], Operations: ['93-36=57', '7+57=64']
Exploring Operation: 16+64=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 16*64=1024, Resulting Numbers: [1024]
1024,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,2
Current State: 55:[7, 41], Operations: ['93-36=57', '57-16=41']
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,55 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,55 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: 55:[93, 7, 52], Operations: ['36+16=52']
Exploring Operation: 7+52=59, Resulting Numbers: [93, 59]
Generated Node #0,4,0: 55:[93, 59] Operation: 7+52=59
Exploring Operation: 93-7=86, Resulting Numbers: [52, 86]
Generated Node #0,4,1: 55:[52, 86] Operation: 93-7=86
Exploring Operation: 52-7=45, Resulting Numbers: [93, 45]
Generated Node #0,4,2: 55:[93, 45] Operation: 52-7=45
Exploring Operation: 93+7=100, Resulting Numbers: [52, 100]
Generated Node #0,4,3: 55:[52, 100] Operation: 93+7=100
Exploring Operation: 93-52=41, Resulting Numbers: [7, 41]
Generated Node #0,4,4: 55:[7, 41] Operation: 93-52=41
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 55:[7, 41], Operations: ['36+16=52', '93-52=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,55 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,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,4,1
Current State: 55:[52, 86], Operations: ['36+16=52', '93-7=86']
Exploring Operation: 52*86=4472, Resulting Numbers: [4472]
4472,55 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 52+86=138, Resulting Numbers: [138]
138,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,4,0
Current State: 55:[93, 59], Operations: ['36+16=52', '7+52=59']
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,55 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,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,4,2
Current State: 55:[93, 45], Operations: ['36+16=52', '52-7=45']
Exploring Operation: 93+45=138, Resulting Numbers: [138]
138,55 unequal: No Solution
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 93*45=4185, Resulting Numbers: [4185]
4185,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,4,3
Current State: 55:[52, 100], Operations: ['36+16=52', '93+7=100']
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,55 unequal: No Solution
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,55 unequal: No Solution
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,55 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: 55:[36, 7, 77], Operations: ['93-16=77']
Exploring Operation: 77/7=11, Resulting Numbers: [36, 11]
Generated Node #0,3,0: 55:[36, 11] Operation: 77/7=11
Exploring Operation: 36-7=29, Resulting Numbers: [77, 29]
Generated Node #0,3,1: 55:[77, 29] Operation: 36-7=29
Exploring Operation: 36+7=43, Resulting Numbers: [77, 43]
Generated Node #0,3,2: 55:[77, 43] Operation: 36+7=43
Exploring Operation: 77-7=70, Resulting Numbers: [36, 70]
Generated Node #0,3,3: 55:[36, 70] Operation: 77-7=70
Exploring Operation: 77-36=41, Resulting Numbers: [7, 41]
Generated Node #0,3,4: 55:[7, 41] Operation: 77-36=41
Moving to Node #0,1
Current State: 55:[93, 7, 20], Operations: ['36-16=20']
Exploring Operation: 93-20=73, Resulting Numbers: [7, 73]
Generated Node #0,1,0: 55:[7, 73] Operation: 93-20=73
Exploring Operation: 20-7=13, Resulting Numbers: [93, 13]
Generated Node #0,1,1: 55:[93, 13] Operation: 20-7=13
Exploring Operation: 93-7=86, Resulting Numbers: [20, 86]
Generated Node #0,1,2: 55:[20, 86] Operation: 93-7=86
Exploring Operation: 93+7=100, Resulting Numbers: [20, 100]
Generated Node #0,1,3: 55:[20, 100] Operation: 93+7=100
Exploring Operation: 7+20=27, Resulting Numbers: [93, 27]
Generated Node #0,1,4: 55:[93, 27] Operation: 7+20=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[7, 73], Operations: ['36-16=20', '93-20=73']
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,55 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,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,1
Current State: 55:[93, 13], Operations: ['36-16=20', '20-7=13']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,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,2
Current State: 55:[20, 86], Operations: ['36-16=20', '93-7=86']
Exploring Operation: 20+86=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 20*86=1720, Resulting Numbers: [1720]
1720,55 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,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,3
Current State: 55:[20, 100], Operations: ['36-16=20', '93+7=100']
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 20+100=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 20*100=2000, Resulting Numbers: [2000]
2000,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,4
Current State: 55:[93, 27], Operations: ['36-16=20', '7+20=27']
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,55 unequal: No Solution
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,55 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: 55:[16, 93, 43], Operations: ['36+7=43']
Exploring Operation: 43-16=27, Resulting Numbers: [93, 27]
Generated Node #0,0,0: 55:[93, 27] Operation: 43-16=27
Exploring Operation: 16+43=59, Resulting Numbers: [93, 59]
Generated Node #0,0,1: 55:[93, 59] Operation: 16+43=59
Exploring Operation: 93-16=77, Resulting Numbers: [43, 77]
Generated Node #0,0,2: 55:[43, 77] Operation: 93-16=77
Exploring Operation: 16+93=109, Resulting Numbers: [43, 109]
Generated Node #0,0,3: 55:[43, 109] Operation: 16+93=109
Exploring Operation: 93-43=50, Resulting Numbers: [16, 50]
Generated Node #0,0,4: 55:[16, 50] Operation: 93-43=50
Moving to Node #0,0,4
Current State: 55:[16, 50], Operations: ['36+7=43', '93-43=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,55 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[7, 41], Operations: ['93-16=77', '77-36=41']
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,55 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[36, 11], Operations: ['93-16=77', '77/7=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,55 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[43, 77], Operations: ['36+7=43', '93-16=77']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,55 unequal: No Solution
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[77, 43], Operations: ['93-16=77', '36+7=43']
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[36, 70], Operations: ['93-16=77', '77-7=70']
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,55 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[77, 29], Operations: ['93-16=77', '36-7=29']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,55 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[93, 59], Operations: ['36+7=43', '16+43=59']
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,55 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[93, 27], Operations: ['36+7=43', '43-16=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[43, 109], Operations: ['36+7=43', '16+93=109']
Exploring Operation: 109-43=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 43*109=4687, Resulting Numbers: [4687]
4687,55 unequal: No Solution
Exploring Operation: 43+109=152, Resulting Numbers: [152]
152,55 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
67,
40,
26,
83
] | 82 | [
"67-40=27",
"26+83=109",
"109-27=82"
] | Current State: 82:[67, 40, 26, 83], Operations: []
Exploring Operation: 67-40=27, Resulting Numbers: [26, 83, 27]
Generated Node #2: [26, 83, 27] from Operation: 67-40=27
Current State: 82:[26, 83, 27], Operations: ['67-40=27']
Exploring Operation: 26+83=109, Resulting Numbers: [27, 109]
Generated Node #3: [27, 109] from Operation: 26+83=109
Current State: 82:[27, 109], Operations: ['67-40=27', '26+83=109']
Exploring Operation: 109-27=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[67, 40, 26, 83], Operations: []
Exploring Operation: 67-26=41, Resulting Numbers: [40, 83, 41]
Generated Node #0,0: 82:[40, 83, 41] Operation: 67-26=41
Exploring Operation: 67+26=93, Resulting Numbers: [40, 83, 93]
Generated Node #0,1: 82:[40, 83, 93] Operation: 67+26=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[40, 83, 41], Operations: ['67-26=41']
Exploring Operation: 83-40=43, Resulting Numbers: [41, 43]
Generated Node #0,0,0: 82:[41, 43] Operation: 83-40=43
Exploring Operation: 40+41=81, Resulting Numbers: [83, 81]
Generated Node #0,0,1: 82:[83, 81] Operation: 40+41=81
Moving to Node #0,0,0
Current State: 82:[41, 43], Operations: ['67-26=41', '83-40=43']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[83, 81], Operations: ['67-26=41', '40+41=81']
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,82 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[40, 83, 93], Operations: ['67+26=93']
Exploring Operation: 93-83=10, Resulting Numbers: [40, 10]
Generated Node #0,1,0: 82:[40, 10] Operation: 93-83=10
Exploring Operation: 83-40=43, Resulting Numbers: [93, 43]
Generated Node #0,1,1: 82:[93, 43] Operation: 83-40=43
Moving to Node #0,1,0
Current State: 82:[40, 10], Operations: ['67+26=93', '93-83=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[93, 43], Operations: ['67+26=93', '83-40=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
83,
51,
92
] | 43 | [
"17+83=100",
"51+92=143",
"143-100=43"
] | Current State: 43:[17, 83, 51, 92], Operations: []
Exploring Operation: 17+83=100, Resulting Numbers: [51, 92, 100]
Generated Node #2: [51, 92, 100] from Operation: 17+83=100
Current State: 43:[51, 92, 100], Operations: ['17+83=100']
Exploring Operation: 51+92=143, Resulting Numbers: [100, 143]
Generated Node #3: [100, 143] from Operation: 51+92=143
Current State: 43:[100, 143], Operations: ['17+83=100', '51+92=143']
Exploring Operation: 143-100=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[17, 83, 51, 92], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [17, 83, 41]
Generated Node #0,0: 43:[17, 83, 41] Operation: 92-51=41
Exploring Operation: 92-83=9, Resulting Numbers: [17, 51, 9]
Generated Node #0,1: 43:[17, 51, 9] Operation: 92-83=9
Moving to Node #0,0
Current State: 43:[17, 83, 41], Operations: ['92-51=41']
Exploring Operation: 83-17=66, Resulting Numbers: [41, 66]
Generated Node #0,0,0: 43:[41, 66] Operation: 83-17=66
Exploring Operation: 83-41=42, Resulting Numbers: [17, 42]
Generated Node #0,0,1: 43:[17, 42] Operation: 83-41=42
Moving to Node #0,1
Current State: 43:[17, 51, 9], Operations: ['92-83=9']
Exploring Operation: 51-9=42, Resulting Numbers: [17, 42]
Generated Node #0,1,0: 43:[17, 42] Operation: 51-9=42
Exploring Operation: 17+9=26, Resulting Numbers: [51, 26]
Generated Node #0,1,1: 43:[51, 26] Operation: 17+9=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[51, 26], Operations: ['92-83=9', '17+9=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,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,1,0
Current State: 43:[17, 42], Operations: ['92-83=9', '51-9=42']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,43 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: 43:[41, 66], Operations: ['92-51=41', '83-17=66']
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[17, 42], Operations: ['92-51=41', '83-41=42']
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
71,
27,
27
] | 86 | [
"16+71=87",
"27/27=1",
"87-1=86"
] | Current State: 86:[16, 71, 27, 27], Operations: []
Exploring Operation: 16+71=87, Resulting Numbers: [27, 27, 87]
Generated Node #2: [27, 27, 87] from Operation: 16+71=87
Current State: 86:[27, 27, 87], Operations: ['16+71=87']
Exploring Operation: 27/27=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 27/27=1
Current State: 86:[87, 1], Operations: ['16+71=87', '27/27=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[16, 71, 27, 27], Operations: []
Exploring Operation: 27/27=1, Resulting Numbers: [16, 71, 1]
Generated Node #0,0: 86:[16, 71, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[16, 71, 1], Operations: ['27/27=1']
Exploring Operation: 16+71=87, Resulting Numbers: [1, 87]
Generated Node #0,0,0: 86:[1, 87] Operation: 16+71=87
Moving to Node #0,0,0
Current State: 86:[1, 87], Operations: ['27/27=1', '16+71=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[16, 71, 27, 27], Operations: []
Exploring Operation: 27/27=1, Resulting Numbers: [16, 71, 1]
Generated Node #0,0: 86:[16, 71, 1] Operation: 27/27=1
Moving to Node #0,0
Current State: 86:[16, 71, 1], Operations: ['27/27=1']
Exploring Operation: 16+71=87, Resulting Numbers: [1, 87]
Generated Node #0,0,0: 86:[1, 87] Operation: 16+71=87
Moving to Node #0,0,0
Current State: 86:[1, 87], Operations: ['27/27=1', '16+71=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
20,
16,
33,
44
] | 29 | [
"20+44=64",
"64/16=4",
"33-4=29"
] | Current State: 29:[20, 16, 33, 44], Operations: []
Exploring Operation: 20+44=64, Resulting Numbers: [16, 33, 64]
Generated Node #2: [16, 33, 64] from Operation: 20+44=64
Current State: 29:[16, 33, 64], Operations: ['20+44=64']
Exploring Operation: 64/16=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 64/16=4
Current State: 29:[33, 4], Operations: ['20+44=64', '64/16=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[20, 16, 33, 44], Operations: []
Exploring Operation: 44-16=28, Resulting Numbers: [20, 33, 28]
Generated Node #0,0: 29:[20, 33, 28] Operation: 44-16=28
Exploring Operation: 20+16=36, Resulting Numbers: [33, 44, 36]
Generated Node #0,1: 29:[33, 44, 36] Operation: 20+16=36
Exploring Operation: 44-20=24, Resulting Numbers: [16, 33, 24]
Generated Node #0,2: 29:[16, 33, 24] Operation: 44-20=24
Moving to Node #0,0
Current State: 29:[20, 33, 28], Operations: ['44-16=28']
Exploring Operation: 33-20=13, Resulting Numbers: [28, 13]
Generated Node #0,0,0: 29:[28, 13] Operation: 33-20=13
Exploring Operation: 20+28=48, Resulting Numbers: [33, 48]
Generated Node #0,0,1: 29:[33, 48] Operation: 20+28=48
Exploring Operation: 20+33=53, Resulting Numbers: [28, 53]
Generated Node #0,0,2: 29:[28, 53] Operation: 20+33=53
Moving to Node #0,2
Current State: 29:[16, 33, 24], Operations: ['44-20=24']
Exploring Operation: 16+24=40, Resulting Numbers: [33, 40]
Generated Node #0,2,0: 29:[33, 40] Operation: 16+24=40
Exploring Operation: 16+33=49, Resulting Numbers: [24, 49]
Generated Node #0,2,1: 29:[24, 49] Operation: 16+33=49
Exploring Operation: 33-16=17, Resulting Numbers: [24, 17]
Generated Node #0,2,2: 29:[24, 17] Operation: 33-16=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[33, 40], Operations: ['44-20=24', '16+24=40']
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[24, 17], Operations: ['44-20=24', '33-16=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,29 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[24, 49], Operations: ['44-20=24', '16+33=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,29 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 29:[33, 44, 36], Operations: ['20+16=36']
Exploring Operation: 44-33=11, Resulting Numbers: [36, 11]
Generated Node #0,1,0: 29:[36, 11] Operation: 44-33=11
Exploring Operation: 36-33=3, Resulting Numbers: [44, 3]
Generated Node #0,1,1: 29:[44, 3] Operation: 36-33=3
Exploring Operation: 44-36=8, Resulting Numbers: [33, 8]
Generated Node #0,1,2: 29:[33, 8] Operation: 44-36=8
Moving to Node #0,0,0
Current State: 29:[28, 13], Operations: ['44-16=28', '33-20=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[33, 48], Operations: ['44-16=28', '20+28=48']
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,29 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[28, 53], Operations: ['44-16=28', '20+33=53']
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,29 unequal: No Solution
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[33, 8], Operations: ['20+16=36', '44-36=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[36, 11], Operations: ['20+16=36', '44-33=11']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[44, 3], Operations: ['20+16=36', '36-33=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
28,
11,
18
] | 67 | [
"36*28=1008",
"1008/18=56",
"11+56=67"
] | Current State: 67:[36, 28, 11, 18], Operations: []
Exploring Operation: 36*28=1008, Resulting Numbers: [11, 18, 1008]
Generated Node #2: [11, 18, 1008] from Operation: 36*28=1008
Current State: 67:[11, 18, 1008], Operations: ['36*28=1008']
Exploring Operation: 1008/18=56, Resulting Numbers: [11, 56]
Generated Node #3: [11, 56] from Operation: 1008/18=56
Current State: 67:[11, 56], Operations: ['36*28=1008', '1008/18=56']
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[36, 28, 11, 18], Operations: []
Exploring Operation: 36+11=47, Resulting Numbers: [28, 18, 47]
Generated Node #0,0: 67:[28, 18, 47] Operation: 36+11=47
Exploring Operation: 28+18=46, Resulting Numbers: [36, 11, 46]
Generated Node #0,1: 67:[36, 11, 46] Operation: 28+18=46
Exploring Operation: 36+18=54, Resulting Numbers: [28, 11, 54]
Generated Node #0,2: 67:[28, 11, 54] Operation: 36+18=54
Exploring Operation: 36+28=64, Resulting Numbers: [11, 18, 64]
Generated Node #0,3: 67:[11, 18, 64] Operation: 36+28=64
Exploring Operation: 28+11=39, Resulting Numbers: [36, 18, 39]
Generated Node #0,4: 67:[36, 18, 39] Operation: 28+11=39
Moving to Node #0,0
Current State: 67:[28, 18, 47], Operations: ['36+11=47']
Exploring Operation: 18+47=65, Resulting Numbers: [28, 65]
Generated Node #0,0,0: 67:[28, 65] Operation: 18+47=65
Exploring Operation: 28-18=10, Resulting Numbers: [47, 10]
Generated Node #0,0,1: 67:[47, 10] Operation: 28-18=10
Exploring Operation: 28+47=75, Resulting Numbers: [18, 75]
Generated Node #0,0,2: 67:[18, 75] Operation: 28+47=75
Exploring Operation: 47-18=29, Resulting Numbers: [28, 29]
Generated Node #0,0,3: 67:[28, 29] Operation: 47-18=29
Exploring Operation: 28+18=46, Resulting Numbers: [47, 46]
Generated Node #0,0,4: 67:[47, 46] Operation: 28+18=46
Moving to Node #0,2
Current State: 67:[28, 11, 54], Operations: ['36+18=54']
Exploring Operation: 28+11=39, Resulting Numbers: [54, 39]
Generated Node #0,2,0: 67:[54, 39] Operation: 28+11=39
Exploring Operation: 54-11=43, Resulting Numbers: [28, 43]
Generated Node #0,2,1: 67:[28, 43] Operation: 54-11=43
Exploring Operation: 28+54=82, Resulting Numbers: [11, 82]
Generated Node #0,2,2: 67:[11, 82] Operation: 28+54=82
Exploring Operation: 28-11=17, Resulting Numbers: [54, 17]
Generated Node #0,2,3: 67:[54, 17] Operation: 28-11=17
Exploring Operation: 11+54=65, Resulting Numbers: [28, 65]
Generated Node #0,2,4: 67:[28, 65] Operation: 11+54=65
Moving to Node #0,4
Current State: 67:[36, 18, 39], Operations: ['28+11=39']
Exploring Operation: 39-18=21, Resulting Numbers: [36, 21]
Generated Node #0,4,0: 67:[36, 21] Operation: 39-18=21
Exploring Operation: 36-18=18, Resulting Numbers: [39, 18]
Generated Node #0,4,1: 67:[39, 18] Operation: 36-18=18
Exploring Operation: 36+18=54, Resulting Numbers: [39, 54]
Generated Node #0,4,2: 67:[39, 54] Operation: 36+18=54
Exploring Operation: 18+39=57, Resulting Numbers: [36, 57]
Generated Node #0,4,3: 67:[36, 57] Operation: 18+39=57
Exploring Operation: 36+39=75, Resulting Numbers: [18, 75]
Generated Node #0,4,4: 67:[18, 75] Operation: 36+39=75
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[39, 54], Operations: ['28+11=39', '36+18=54']
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,67 unequal: No Solution
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[36, 57], Operations: ['28+11=39', '18+39=57']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,67 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[18, 75], Operations: ['28+11=39', '36+39=75']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,67 unequal: No Solution
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[36, 21], Operations: ['28+11=39', '39-18=21']
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,67 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[39, 18], Operations: ['28+11=39', '36-18=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,67 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: 67:[36, 11, 46], Operations: ['28+18=46']
Exploring Operation: 36+46=82, Resulting Numbers: [11, 82]
Generated Node #0,1,0: 67:[11, 82] Operation: 36+46=82
Exploring Operation: 11+46=57, Resulting Numbers: [36, 57]
Generated Node #0,1,1: 67:[36, 57] Operation: 11+46=57
Exploring Operation: 46-11=35, Resulting Numbers: [36, 35]
Generated Node #0,1,2: 67:[36, 35] Operation: 46-11=35
Exploring Operation: 36+11=47, Resulting Numbers: [46, 47]
Generated Node #0,1,3: 67:[46, 47] Operation: 36+11=47
Exploring Operation: 36-11=25, Resulting Numbers: [46, 25]
Generated Node #0,1,4: 67:[46, 25] Operation: 36-11=25
Moving to Node #0,3
Current State: 67:[11, 18, 64], Operations: ['36+28=64']
Exploring Operation: 64-11=53, Resulting Numbers: [18, 53]
Generated Node #0,3,0: 67:[18, 53] Operation: 64-11=53
Exploring Operation: 11+64=75, Resulting Numbers: [18, 75]
Generated Node #0,3,1: 67:[18, 75] Operation: 11+64=75
Exploring Operation: 18-11=7, Resulting Numbers: [64, 7]
Generated Node #0,3,2: 67:[64, 7] Operation: 18-11=7
Exploring Operation: 18+64=82, Resulting Numbers: [11, 82]
Generated Node #0,3,3: 67:[11, 82] Operation: 18+64=82
Exploring Operation: 11+18=29, Resulting Numbers: [64, 29]
Generated Node #0,3,4: 67:[64, 29] Operation: 11+18=29
Moving to Node #0,0,0
Current State: 67:[28, 65], Operations: ['36+11=47', '18+47=65']
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,67 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[54, 39], Operations: ['36+18=54', '28+11=39']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,67 unequal: No Solution
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[28, 65], Operations: ['36+18=54', '11+54=65']
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,67 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[46, 47], Operations: ['28+18=46', '36+11=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[47, 46], Operations: ['36+11=47', '28+18=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,67 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[36, 57], Operations: ['28+18=46', '11+46=57']
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,67 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[64, 29], Operations: ['36+28=64', '11+18=29']
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,67 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[18, 75], Operations: ['36+11=47', '28+47=75']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[18, 75], Operations: ['36+28=64', '11+64=75']
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,67 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[46, 25], Operations: ['28+18=46', '36-11=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[36, 35], Operations: ['28+18=46', '46-11=35']
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,67 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[64, 7], Operations: ['36+28=64', '18-11=7']
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,67 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[28, 43], Operations: ['36+18=54', '54-11=43']
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[18, 53], Operations: ['36+28=64', '64-11=53']
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,67 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[54, 17], Operations: ['36+18=54', '28-11=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[11, 82], Operations: ['36+18=54', '28+54=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[11, 82], Operations: ['36+28=64', '18+64=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[11, 82], Operations: ['28+18=46', '36+46=82']
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,67 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[47, 10], Operations: ['36+11=47', '28-18=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[28, 29], Operations: ['36+11=47', '47-18=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,67 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
20,
2,
42,
94
] | 100 | [
"94/2=47",
"47-42=5",
"20*5=100"
] | Current State: 100:[20, 2, 42, 94], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [20, 42, 47]
Generated Node #2: [20, 42, 47] from Operation: 94/2=47
Current State: 100:[20, 42, 47], Operations: ['94/2=47']
Exploring Operation: 47-42=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 47-42=5
Current State: 100:[20, 5], Operations: ['94/2=47', '47-42=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[20, 2, 42, 94], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [20, 2, 52]
Generated Node #0,0: 100:[20, 2, 52] Operation: 94-42=52
Exploring Operation: 42/2=21, Resulting Numbers: [20, 94, 21]
Generated Node #0,1: 100:[20, 94, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[20, 2, 52], Operations: ['94-42=52']
Exploring Operation: 52-2=50, Resulting Numbers: [20, 50]
Generated Node #0,0,0: 100:[20, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [20, 26]
Generated Node #0,0,1: 100:[20, 26] Operation: 52/2=26
Moving to Node #0,0,0
Current State: 100:[20, 50], Operations: ['94-42=52', '52-2=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[20, 26], Operations: ['94-42=52', '52/2=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,100 unequal: No Solution
No 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: 100:[20, 94, 21], Operations: ['42/2=21']
Exploring Operation: 21-20=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 100:[94, 1] Operation: 21-20=1
Exploring Operation: 20+94=114, Resulting Numbers: [21, 114]
Generated Node #0,1,1: 100:[21, 114] Operation: 20+94=114
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[94, 1], Operations: ['42/2=21', '21-20=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,100 unequal: No Solution
No 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: 100:[21, 114], Operations: ['42/2=21', '20+94=114']
Exploring Operation: 21+114=135, Resulting Numbers: [135]
135,100 unequal: No Solution
Exploring Operation: 114-21=93, Resulting Numbers: [93]
93,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
56,
53,
10
] | 49 | [
"56-16=40",
"40/10=4",
"53-4=49"
] | Current State: 49:[16, 56, 53, 10], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [53, 10, 40]
Generated Node #2: [53, 10, 40] from Operation: 56-16=40
Current State: 49:[53, 10, 40], Operations: ['56-16=40']
Exploring Operation: 40/10=4, Resulting Numbers: [53, 4]
Generated Node #3: [53, 4] from Operation: 40/10=4
Current State: 49:[53, 4], Operations: ['56-16=40', '40/10=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[16, 56, 53, 10], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [16, 10, 3]
Generated Node #0,0: 49:[16, 10, 3] Operation: 56-53=3
Exploring Operation: 56-16=40, Resulting Numbers: [53, 10, 40]
Generated Node #0,1: 49:[53, 10, 40] Operation: 56-16=40
Exploring Operation: 16-10=6, Resulting Numbers: [56, 53, 6]
Generated Node #0,2: 49:[56, 53, 6] Operation: 16-10=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[56, 53, 6], Operations: ['16-10=6']
Exploring Operation: 53-6=47, Resulting Numbers: [56, 47]
Generated Node #0,2,0: 49:[56, 47] Operation: 53-6=47
Exploring Operation: 56-6=50, Resulting Numbers: [53, 50]
Generated Node #0,2,1: 49:[53, 50] Operation: 56-6=50
Exploring Operation: 56-53=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 49:[6, 3] Operation: 56-53=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[53, 50], Operations: ['16-10=6', '56-6=50']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,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:[6, 3], Operations: ['16-10=6', '56-53=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,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:[56, 47], Operations: ['16-10=6', '53-6=47']
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,49 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,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,0
Current State: 49:[16, 10, 3], Operations: ['56-53=3']
Exploring Operation: 16-3=13, Resulting Numbers: [10, 13]
Generated Node #0,0,0: 49:[10, 13] Operation: 16-3=13
Exploring Operation: 16-10=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 49:[3, 6] Operation: 16-10=6
Exploring Operation: 16*3=48, Resulting Numbers: [10, 48]
Generated Node #0,0,2: 49:[10, 48] Operation: 16*3=48
Moving to Node #0,0,2
Current State: 49:[10, 48], Operations: ['56-53=3', '16*3=48']
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,49 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[3, 6], Operations: ['56-53=3', '16-10=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[10, 13], Operations: ['56-53=3', '16-3=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[53, 10, 40], Operations: ['56-16=40']
Exploring Operation: 40/10=4, Resulting Numbers: [53, 4]
Generated Node #0,1,0: 49:[53, 4] Operation: 40/10=4
Exploring Operation: 10+40=50, Resulting Numbers: [53, 50]
Generated Node #0,1,1: 49:[53, 50] Operation: 10+40=50
Exploring Operation: 53-40=13, Resulting Numbers: [10, 13]
Generated Node #0,1,2: 49:[10, 13] Operation: 53-40=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[53, 50], Operations: ['56-16=40', '10+40=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,49 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[53, 4], Operations: ['56-16=40', '40/10=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[16, 56, 53, 10], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [53, 10, 40]
Generated Node #0,1: 49:[53, 10, 40] Operation: 56-16=40
Moving to Node #0,1
Current State: 49:[53, 10, 40], Operations: ['56-16=40']
Exploring Operation: 40/10=4, Resulting Numbers: [53, 4]
Generated Node #0,1,0: 49:[53, 4] Operation: 40/10=4
Moving to Node #0,1,0
Current State: 49:[53, 4], Operations: ['56-16=40', '40/10=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_3 | mult_heuristic |
[
36,
72,
30,
87
] | 27 | [
"72/36=2",
"30*2=60",
"87-60=27"
] | Current State: 27:[36, 72, 30, 87], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [30, 87, 2]
Generated Node #2: [30, 87, 2] from Operation: 72/36=2
Current State: 27:[30, 87, 2], Operations: ['72/36=2']
Exploring Operation: 30*2=60, Resulting Numbers: [87, 60]
Generated Node #3: [87, 60] from Operation: 30*2=60
Current State: 27:[87, 60], Operations: ['72/36=2', '30*2=60']
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[36, 72, 30, 87], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [36, 30, 15]
Generated Node #0,0: 27:[36, 30, 15] Operation: 87-72=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[36, 30, 15], Operations: ['87-72=15']
Exploring Operation: 36-30=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 27:[15, 6] Operation: 36-30=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[15, 6], Operations: ['87-72=15', '36-30=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,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_1 | mult_heuristic |
[
2,
65,
95,
78
] | 54 | [
"95-65=30",
"78+30=108",
"108/2=54"
] | Current State: 54:[2, 65, 95, 78], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [2, 78, 30]
Generated Node #2: [2, 78, 30] from Operation: 95-65=30
Current State: 54:[2, 78, 30], Operations: ['95-65=30']
Exploring Operation: 78+30=108, Resulting Numbers: [2, 108]
Generated Node #3: [2, 108] from Operation: 78+30=108
Current State: 54:[2, 108], Operations: ['95-65=30', '78+30=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[2, 65, 95, 78], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [2, 95, 13]
Generated Node #0,0: 54:[2, 95, 13] Operation: 78-65=13
Exploring Operation: 95-65=30, Resulting Numbers: [2, 78, 30]
Generated Node #0,1: 54:[2, 78, 30] Operation: 95-65=30
Exploring Operation: 95-78=17, Resulting Numbers: [2, 65, 17]
Generated Node #0,2: 54:[2, 65, 17] Operation: 95-78=17
Exploring Operation: 78/2=39, Resulting Numbers: [65, 95, 39]
Generated Node #0,3: 54:[65, 95, 39] Operation: 78/2=39
Moving to Node #0,2
Current State: 54:[2, 65, 17], Operations: ['95-78=17']
Exploring Operation: 2+65=67, Resulting Numbers: [17, 67]
Generated Node #0,2,0: 54:[17, 67] Operation: 2+65=67
Exploring Operation: 65-17=48, Resulting Numbers: [2, 48]
Generated Node #0,2,1: 54:[2, 48] Operation: 65-17=48
Exploring Operation: 2+17=19, Resulting Numbers: [65, 19]
Generated Node #0,2,2: 54:[65, 19] Operation: 2+17=19
Exploring Operation: 65-2=63, Resulting Numbers: [17, 63]
Generated Node #0,2,3: 54:[17, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[2, 48], Operations: ['95-78=17', '65-17=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[17, 63], Operations: ['95-78=17', '65-2=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,54 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[65, 19], Operations: ['95-78=17', '2+17=19']
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,54 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[17, 67], Operations: ['95-78=17', '2+65=67']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,54 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,54 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: 54:[2, 78, 30], Operations: ['95-65=30']
Exploring Operation: 78-30=48, Resulting Numbers: [2, 48]
Generated Node #0,1,0: 54:[2, 48] Operation: 78-30=48
Exploring Operation: 78/2=39, Resulting Numbers: [30, 39]
Generated Node #0,1,1: 54:[30, 39] Operation: 78/2=39
Exploring Operation: 30-2=28, Resulting Numbers: [78, 28]
Generated Node #0,1,2: 54:[78, 28] Operation: 30-2=28
Exploring Operation: 78-2=76, Resulting Numbers: [30, 76]
Generated Node #0,1,3: 54:[30, 76] Operation: 78-2=76
Moving to Node #0,0
Current State: 54:[2, 95, 13], Operations: ['78-65=13']
Exploring Operation: 95-2=93, Resulting Numbers: [13, 93]
Generated Node #0,0,0: 54:[13, 93] Operation: 95-2=93
Exploring Operation: 2*13=26, Resulting Numbers: [95, 26]
Generated Node #0,0,1: 54:[95, 26] Operation: 2*13=26
Exploring Operation: 95-13=82, Resulting Numbers: [2, 82]
Generated Node #0,0,2: 54:[2, 82] Operation: 95-13=82
Exploring Operation: 13-2=11, Resulting Numbers: [95, 11]
Generated Node #0,0,3: 54:[95, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[2, 82], Operations: ['78-65=13', '95-13=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,54 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[95, 26], Operations: ['78-65=13', '2*13=26']
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,54 unequal: No Solution
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,54 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[13, 93], Operations: ['78-65=13', '95-2=93']
Exploring Operation: 13+93=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 13*93=1209, Resulting Numbers: [1209]
1209,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[95, 11], Operations: ['78-65=13', '13-2=11']
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,54 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: 54:[65, 95, 39], Operations: ['78/2=39']
Exploring Operation: 65+39=104, Resulting Numbers: [95, 104]
Generated Node #0,3,0: 54:[95, 104] Operation: 65+39=104
Exploring Operation: 95-65=30, Resulting Numbers: [39, 30]
Generated Node #0,3,1: 54:[39, 30] Operation: 95-65=30
Exploring Operation: 65-39=26, Resulting Numbers: [95, 26]
Generated Node #0,3,2: 54:[95, 26] Operation: 65-39=26
Exploring Operation: 95-39=56, Resulting Numbers: [65, 56]
Generated Node #0,3,3: 54:[65, 56] Operation: 95-39=56
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[65, 56], Operations: ['78/2=39', '95-39=56']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,54 unequal: No Solution
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[39, 30], Operations: ['78/2=39', '95-65=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,54 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[95, 26], Operations: ['78/2=39', '65-39=26']
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,54 unequal: No Solution
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[95, 104], Operations: ['78/2=39', '65+39=104']
Exploring Operation: 95+104=199, Resulting Numbers: [199]
199,54 unequal: No Solution
Exploring Operation: 95*104=9880, Resulting Numbers: [9880]
9880,54 unequal: No Solution
Exploring Operation: 104-95=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 54:[2, 48], Operations: ['95-65=30', '78-30=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[30, 39], Operations: ['95-65=30', '78/2=39']
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,54 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[30, 76], Operations: ['95-65=30', '78-2=76']
Exploring Operation: 30*76=2280, Resulting Numbers: [2280]
2280,54 unequal: No Solution
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[78, 28], Operations: ['95-65=30', '30-2=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,54 unequal: No Solution
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
15,
55,
95,
57
] | 47 | [
"55+95=150",
"150/15=10",
"57-10=47"
] | Current State: 47:[15, 55, 95, 57], Operations: []
Exploring Operation: 55+95=150, Resulting Numbers: [15, 57, 150]
Generated Node #2: [15, 57, 150] from Operation: 55+95=150
Current State: 47:[15, 57, 150], Operations: ['55+95=150']
Exploring Operation: 150/15=10, Resulting Numbers: [57, 10]
Generated Node #3: [57, 10] from Operation: 150/15=10
Current State: 47:[57, 10], Operations: ['55+95=150', '150/15=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[15, 55, 95, 57], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [15, 57, 40]
Generated Node #0,0: 47:[15, 57, 40] Operation: 95-55=40
Moving to Node #0,0
Current State: 47:[15, 57, 40], Operations: ['95-55=40']
Exploring Operation: 57-15=42, Resulting Numbers: [40, 42]
Generated Node #0,0,0: 47:[40, 42] Operation: 57-15=42
Moving to Node #0,0,0
Current State: 47:[40, 42], Operations: ['95-55=40', '57-15=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,47 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
86,
53,
28
] | 89 | [
"28+86=114",
"53-28=25",
"114-25=89"
] | Current State: 89:[28, 86, 53, 28], Operations: []
Exploring Operation: 28+86=114, Resulting Numbers: [53, 114]
Generated Node #2: [53, 114] from Operation: 28+86=114
Current State: 89:[53, 114], Operations: ['28+86=114']
Exploring Operation: 53-28=25, Resulting Numbers: [114, 25]
Generated Node #3: [114, 25] from Operation: 53-28=25
Current State: 89:[114, 25], Operations: ['28+86=114', '53-28=25']
Exploring Operation: 114-25=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[28, 86, 53, 28], Operations: []
Exploring Operation: 53+28=81, Resulting Numbers: [28, 86, 81]
Generated Node #0,0: 89:[28, 86, 81] Operation: 53+28=81
Exploring Operation: 28+53=81, Resulting Numbers: [86, 28, 81]
Generated Node #0,1: 89:[86, 28, 81] Operation: 28+53=81
Exploring Operation: 86+28=114, Resulting Numbers: [28, 53, 114]
Generated Node #0,2: 89:[28, 53, 114] Operation: 86+28=114
Exploring Operation: 28+28=56, Resulting Numbers: [86, 53, 56]
Generated Node #0,3: 89:[86, 53, 56] Operation: 28+28=56
Exploring Operation: 28+86=114, Resulting Numbers: [53, 28, 114]
Generated Node #0,4: 89:[53, 28, 114] Operation: 28+86=114
Moving to Node #0,0
Current State: 89:[28, 86, 81], Operations: ['53+28=81']
Exploring Operation: 86-28=58, Resulting Numbers: [81, 58]
Generated Node #0,0,0: 89:[81, 58] Operation: 86-28=58
Exploring Operation: 28+86=114, Resulting Numbers: [81, 114]
Generated Node #0,0,1: 89:[81, 114] Operation: 28+86=114
Exploring Operation: 28+81=109, Resulting Numbers: [86, 109]
Generated Node #0,0,2: 89:[86, 109] Operation: 28+81=109
Exploring Operation: 86+81=167, Resulting Numbers: [28, 167]
Generated Node #0,0,3: 89:[28, 167] Operation: 86+81=167
Exploring Operation: 81-28=53, Resulting Numbers: [86, 53]
Generated Node #0,0,4: 89:[86, 53] Operation: 81-28=53
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[86, 109], Operations: ['53+28=81', '28+81=109']
Exploring Operation: 86+109=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 109-86=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 86*109=9374, Resulting Numbers: [9374]
9374,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[81, 114], Operations: ['53+28=81', '28+86=114']
Exploring Operation: 114-81=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 81*114=9234, Resulting Numbers: [9234]
9234,89 unequal: No Solution
Exploring Operation: 81+114=195, Resulting Numbers: [195]
195,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[81, 58], Operations: ['53+28=81', '86-28=58']
Exploring Operation: 81*58=4698, Resulting Numbers: [4698]
4698,89 unequal: No Solution
Exploring Operation: 81+58=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 89:[86, 53], Operations: ['53+28=81', '81-28=53']
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 86*53=4558, Resulting Numbers: [4558]
4558,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[28, 167], Operations: ['53+28=81', '86+81=167']
Exploring Operation: 28+167=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 167-28=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 28*167=4676, Resulting Numbers: [4676]
4676,89 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: 89:[86, 53, 56], Operations: ['28+28=56']
Exploring Operation: 86+56=142, Resulting Numbers: [53, 142]
Generated Node #0,3,0: 89:[53, 142] Operation: 86+56=142
Exploring Operation: 86-53=33, Resulting Numbers: [56, 33]
Generated Node #0,3,1: 89:[56, 33] Operation: 86-53=33
Exploring Operation: 53+56=109, Resulting Numbers: [86, 109]
Generated Node #0,3,2: 89:[86, 109] Operation: 53+56=109
Exploring Operation: 86+53=139, Resulting Numbers: [56, 139]
Generated Node #0,3,3: 89:[56, 139] Operation: 86+53=139
Exploring Operation: 56-53=3, Resulting Numbers: [86, 3]
Generated Node #0,3,4: 89:[86, 3] Operation: 56-53=3
Moving to Node #0,1
Current State: 89:[86, 28, 81], Operations: ['28+53=81']
Exploring Operation: 28+81=109, Resulting Numbers: [86, 109]
Generated Node #0,1,0: 89:[86, 109] Operation: 28+81=109
Exploring Operation: 86+81=167, Resulting Numbers: [28, 167]
Generated Node #0,1,1: 89:[28, 167] Operation: 86+81=167
Exploring Operation: 86+28=114, Resulting Numbers: [81, 114]
Generated Node #0,1,2: 89:[81, 114] Operation: 86+28=114
Exploring Operation: 86-28=58, Resulting Numbers: [81, 58]
Generated Node #0,1,3: 89:[81, 58] Operation: 86-28=58
Exploring Operation: 81-28=53, Resulting Numbers: [86, 53]
Generated Node #0,1,4: 89:[86, 53] Operation: 81-28=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[86, 109], Operations: ['28+53=81', '28+81=109']
Exploring Operation: 86*109=9374, Resulting Numbers: [9374]
9374,89 unequal: No Solution
Exploring Operation: 109-86=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 86+109=195, Resulting Numbers: [195]
195,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[81, 114], Operations: ['28+53=81', '86+28=114']
Exploring Operation: 81*114=9234, Resulting Numbers: [9234]
9234,89 unequal: No Solution
Exploring Operation: 114-81=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 81+114=195, Resulting Numbers: [195]
195,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[81, 58], Operations: ['28+53=81', '86-28=58']
Exploring Operation: 81*58=4698, Resulting Numbers: [4698]
4698,89 unequal: No Solution
Exploring Operation: 81+58=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 89:[86, 53], Operations: ['28+53=81', '81-28=53']
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 86*53=4558, Resulting Numbers: [4558]
4558,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[28, 167], Operations: ['28+53=81', '86+81=167']
Exploring Operation: 28+167=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 167-28=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 28*167=4676, Resulting Numbers: [4676]
4676,89 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: 89:[28, 53, 114], Operations: ['86+28=114']
Exploring Operation: 28+114=142, Resulting Numbers: [53, 142]
Generated Node #0,2,0: 89:[53, 142] Operation: 28+114=142
Exploring Operation: 114-28=86, Resulting Numbers: [53, 86]
Generated Node #0,2,1: 89:[53, 86] Operation: 114-28=86
Exploring Operation: 28+53=81, Resulting Numbers: [114, 81]
Generated Node #0,2,2: 89:[114, 81] Operation: 28+53=81
Exploring Operation: 114-53=61, Resulting Numbers: [28, 61]
Generated Node #0,2,3: 89:[28, 61] Operation: 114-53=61
Exploring Operation: 53-28=25, Resulting Numbers: [114, 25]
Generated Node #0,2,4: 89:[114, 25] Operation: 53-28=25
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[114, 81], Operations: ['86+28=114', '28+53=81']
Exploring Operation: 114+81=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 114*81=9234, Resulting Numbers: [9234]
9234,89 unequal: No Solution
Exploring Operation: 114-81=33, Resulting Numbers: [33]
33,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[53, 86], Operations: ['86+28=114', '114-28=86']
Exploring Operation: 53+86=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 53*86=4558, Resulting Numbers: [4558]
4558,89 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[53, 142], Operations: ['86+28=114', '28+114=142']
Exploring Operation: 53+142=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 142-53=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[28, 86, 53, 28], Operations: []
Exploring Operation: 86+28=114, Resulting Numbers: [28, 53, 114]
Generated Node #0,2: 89:[28, 53, 114] Operation: 86+28=114
Moving to Node #0,2
Current State: 89:[28, 53, 114], Operations: ['86+28=114']
Exploring Operation: 28+114=142, Resulting Numbers: [53, 142]
Generated Node #0,2,0: 89:[53, 142] Operation: 28+114=142
Moving to Node #0,2,0
Current State: 89:[53, 142], Operations: ['86+28=114', '28+114=142']
Exploring Operation: 142-53=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | sum_heuristic |
[
87,
88,
17,
65
] | 82 | [
"88-87=1",
"17+65=82",
"1*82=82"
] | Current State: 82:[87, 88, 17, 65], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [17, 65, 1]
Generated Node #2: [17, 65, 1] from Operation: 88-87=1
Current State: 82:[17, 65, 1], Operations: ['88-87=1']
Exploring Operation: 17+65=82, Resulting Numbers: [1, 82]
Generated Node #3: [1, 82] from Operation: 17+65=82
Current State: 82:[1, 82], Operations: ['88-87=1', '17+65=82']
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[87, 88, 17, 65], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [17, 65, 1]
Generated Node #0,0: 82:[17, 65, 1] Operation: 88-87=1
Exploring Operation: 87-17=70, Resulting Numbers: [88, 65, 70]
Generated Node #0,1: 82:[88, 65, 70] Operation: 87-17=70
Exploring Operation: 88-17=71, Resulting Numbers: [87, 65, 71]
Generated Node #0,2: 82:[87, 65, 71] Operation: 88-17=71
Exploring Operation: 65-17=48, Resulting Numbers: [87, 88, 48]
Generated Node #0,3: 82:[87, 88, 48] Operation: 65-17=48
Exploring Operation: 17+65=82, Resulting Numbers: [87, 88, 82]
Generated Node #0,4: 82:[87, 88, 82] Operation: 17+65=82
Moving to Node #0,4
Current State: 82:[87, 88, 82], Operations: ['17+65=82']
Exploring Operation: 87+82=169, Resulting Numbers: [88, 169]
Generated Node #0,4,0: 82:[88, 169] Operation: 87+82=169
Exploring Operation: 87+88=175, Resulting Numbers: [82, 175]
Generated Node #0,4,1: 82:[82, 175] Operation: 87+88=175
Exploring Operation: 87-82=5, Resulting Numbers: [88, 5]
Generated Node #0,4,2: 82:[88, 5] Operation: 87-82=5
Exploring Operation: 88-87=1, Resulting Numbers: [82, 1]
Generated Node #0,4,3: 82:[82, 1] Operation: 88-87=1
Exploring Operation: 88-82=6, Resulting Numbers: [87, 6]
Generated Node #0,4,4: 82:[87, 6] Operation: 88-82=6
Moving to Node #0,3
Current State: 82:[87, 88, 48], Operations: ['65-17=48']
Exploring Operation: 87+48=135, Resulting Numbers: [88, 135]
Generated Node #0,3,0: 82:[88, 135] Operation: 87+48=135
Exploring Operation: 88-87=1, Resulting Numbers: [48, 1]
Generated Node #0,3,1: 82:[48, 1] Operation: 88-87=1
Exploring Operation: 87-48=39, Resulting Numbers: [88, 39]
Generated Node #0,3,2: 82:[88, 39] Operation: 87-48=39
Exploring Operation: 88+48=136, Resulting Numbers: [87, 136]
Generated Node #0,3,3: 82:[87, 136] Operation: 88+48=136
Exploring Operation: 88-48=40, Resulting Numbers: [87, 40]
Generated Node #0,3,4: 82:[87, 40] Operation: 88-48=40
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 82:[87, 40], Operations: ['65-17=48', '88-48=40']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 87*40=3480, Resulting Numbers: [3480]
3480,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[48, 1], Operations: ['65-17=48', '88-87=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[88, 39], Operations: ['65-17=48', '87-48=39']
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[88, 135], Operations: ['65-17=48', '87+48=135']
Exploring Operation: 88*135=11880, Resulting Numbers: [11880]
11880,82 unequal: No Solution
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 88+135=223, Resulting Numbers: [223]
223,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[87, 136], Operations: ['65-17=48', '88+48=136']
Exploring Operation: 87*136=11832, Resulting Numbers: [11832]
11832,82 unequal: No Solution
Exploring Operation: 87+136=223, Resulting Numbers: [223]
223,82 unequal: No Solution
Exploring Operation: 136-87=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 82:[17, 65, 1], Operations: ['88-87=1']
Exploring Operation: 65+1=66, Resulting Numbers: [17, 66]
Generated Node #0,0,0: 82:[17, 66] Operation: 65+1=66
Exploring Operation: 17-1=16, Resulting Numbers: [65, 16]
Generated Node #0,0,1: 82:[65, 16] Operation: 17-1=16
Exploring Operation: 17+65=82, Resulting Numbers: [1, 82]
Generated Node #0,0,2: 82:[1, 82] Operation: 17+65=82
Exploring Operation: 65-17=48, Resulting Numbers: [1, 48]
Generated Node #0,0,3: 82:[1, 48] Operation: 65-17=48
Exploring Operation: 17*1=17, Resulting Numbers: [65, 17]
Generated Node #0,0,4: 82:[65, 17] Operation: 17*1=17
Moving to Node #0,2
Current State: 82:[87, 65, 71], Operations: ['88-17=71']
Exploring Operation: 87-71=16, Resulting Numbers: [65, 16]
Generated Node #0,2,0: 82:[65, 16] Operation: 87-71=16
Exploring Operation: 65+71=136, Resulting Numbers: [87, 136]
Generated Node #0,2,1: 82:[87, 136] Operation: 65+71=136
Exploring Operation: 71-65=6, Resulting Numbers: [87, 6]
Generated Node #0,2,2: 82:[87, 6] Operation: 71-65=6
Exploring Operation: 87-65=22, Resulting Numbers: [71, 22]
Generated Node #0,2,3: 82:[71, 22] Operation: 87-65=22
Exploring Operation: 87+65=152, Resulting Numbers: [71, 152]
Generated Node #0,2,4: 82:[71, 152] Operation: 87+65=152
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[87, 6], Operations: ['88-17=71', '71-65=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,82 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[71, 22], Operations: ['88-17=71', '87-65=22']
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[65, 16], Operations: ['88-17=71', '87-71=16']
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[87, 136], Operations: ['88-17=71', '65+71=136']
Exploring Operation: 87+136=223, Resulting Numbers: [223]
223,82 unequal: No Solution
Exploring Operation: 87*136=11832, Resulting Numbers: [11832]
11832,82 unequal: No Solution
Exploring Operation: 136-87=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 82:[71, 152], Operations: ['88-17=71', '87+65=152']
Exploring Operation: 71*152=10792, Resulting Numbers: [10792]
10792,82 unequal: No Solution
Exploring Operation: 152-71=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 71+152=223, Resulting Numbers: [223]
223,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 82:[88, 65, 70], Operations: ['87-17=70']
Exploring Operation: 88+65=153, Resulting Numbers: [70, 153]
Generated Node #0,1,0: 82:[70, 153] Operation: 88+65=153
Exploring Operation: 88-70=18, Resulting Numbers: [65, 18]
Generated Node #0,1,1: 82:[65, 18] Operation: 88-70=18
Exploring Operation: 88-65=23, Resulting Numbers: [70, 23]
Generated Node #0,1,2: 82:[70, 23] Operation: 88-65=23
Exploring Operation: 70-65=5, Resulting Numbers: [88, 5]
Generated Node #0,1,3: 82:[88, 5] Operation: 70-65=5
Exploring Operation: 65+70=135, Resulting Numbers: [88, 135]
Generated Node #0,1,4: 82:[88, 135] Operation: 65+70=135
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[88, 5], Operations: ['87-17=70', '70-65=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,82 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[70, 23], Operations: ['87-17=70', '88-65=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[65, 18], Operations: ['87-17=70', '88-70=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 82:[88, 135], Operations: ['87-17=70', '65+70=135']
Exploring Operation: 88+135=223, Resulting Numbers: [223]
223,82 unequal: No Solution
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 88*135=11880, Resulting Numbers: [11880]
11880,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[70, 153], Operations: ['87-17=70', '88+65=153']
Exploring Operation: 70+153=223, Resulting Numbers: [223]
223,82 unequal: No Solution
Exploring Operation: 70*153=10710, Resulting Numbers: [10710]
10710,82 unequal: No Solution
Exploring Operation: 153-70=83, Resulting Numbers: [83]
83,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 82:[82, 1], Operations: ['17+65=82', '88-87=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[87, 88, 17, 65], Operations: []
Exploring Operation: 17+65=82, Resulting Numbers: [87, 88, 82]
Generated Node #0,4: 82:[87, 88, 82] Operation: 17+65=82
Moving to Node #0,4
Current State: 82:[87, 88, 82], Operations: ['17+65=82']
Exploring Operation: 88-87=1, Resulting Numbers: [82, 1]
Generated Node #0,4,3: 82:[82, 1] Operation: 88-87=1
Moving to Node #0,4,3
Current State: 82:[82, 1], Operations: ['17+65=82', '88-87=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.929688 | hs_5 | mult_heuristic |
[
7,
14,
54,
97
] | 41 | [
"14/7=2",
"97-54=43",
"43-2=41"
] | Current State: 41:[7, 14, 54, 97], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [54, 97, 2]
Generated Node #2: [54, 97, 2] from Operation: 14/7=2
Current State: 41:[54, 97, 2], Operations: ['14/7=2']
Exploring Operation: 97-54=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 97-54=43
Current State: 41:[2, 43], Operations: ['14/7=2', '97-54=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 14, 54, 97], Operations: []
Exploring Operation: 97-54=43, Resulting Numbers: [7, 14, 43]
Generated Node #0,0: 41:[7, 14, 43] Operation: 97-54=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[7, 14, 43], Operations: ['97-54=43']
Exploring Operation: 7+14=21, Resulting Numbers: [43, 21]
Generated Node #0,0,0: 41:[43, 21] Operation: 7+14=21
Moving to Node #0,0,0
Current State: 41:[43, 21], Operations: ['97-54=43', '7+14=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
59,
51,
17
] | 54 | [
"59-51=8",
"17-8=9",
"6*9=54"
] | Current State: 54:[6, 59, 51, 17], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [6, 17, 8]
Generated Node #2: [6, 17, 8] from Operation: 59-51=8
Current State: 54:[6, 17, 8], Operations: ['59-51=8']
Exploring Operation: 17-8=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 17-8=9
Current State: 54:[6, 9], Operations: ['59-51=8', '17-8=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[6, 59, 51, 17], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [6, 17, 8]
Generated Node #0,0: 54:[6, 17, 8] Operation: 59-51=8
Moving to Node #0,0
Current State: 54:[6, 17, 8], Operations: ['59-51=8']
Exploring Operation: 17-8=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 17-8=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['59-51=8', '17-8=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[6, 59, 51, 17], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [6, 17, 8]
Generated Node #0,0: 54:[6, 17, 8] Operation: 59-51=8
Moving to Node #0,0
Current State: 54:[6, 17, 8], Operations: ['59-51=8']
Exploring Operation: 17-8=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 17-8=9
Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['59-51=8', '17-8=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
28,
80,
84,
33
] | 26 | [
"84-80=4",
"28/4=7",
"33-7=26"
] | Current State: 26:[28, 80, 84, 33], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [28, 33, 4]
Generated Node #2: [28, 33, 4] from Operation: 84-80=4
Current State: 26:[28, 33, 4], Operations: ['84-80=4']
Exploring Operation: 28/4=7, Resulting Numbers: [33, 7]
Generated Node #3: [33, 7] from Operation: 28/4=7
Current State: 26:[33, 7], Operations: ['84-80=4', '28/4=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[28, 80, 84, 33], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [80, 33, 3]
Generated Node #0,0: 26:[80, 33, 3] Operation: 84/28=3
Exploring Operation: 84-80=4, Resulting Numbers: [28, 33, 4]
Generated Node #0,1: 26:[28, 33, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[28, 33, 4], Operations: ['84-80=4']
Exploring Operation: 33-28=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 26:[4, 5] Operation: 33-28=5
Exploring Operation: 33-4=29, Resulting Numbers: [28, 29]
Generated Node #0,1,1: 26:[28, 29] Operation: 33-4=29
Moving to Node #0,1,0
Current State: 26:[4, 5], Operations: ['84-80=4', '33-28=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[28, 29], Operations: ['84-80=4', '33-4=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,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,0
Current State: 26:[80, 33, 3], Operations: ['84/28=3']
Exploring Operation: 80-33=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 26:[3, 47] Operation: 80-33=47
Exploring Operation: 33/3=11, Resulting Numbers: [80, 11]
Generated Node #0,0,1: 26:[80, 11] Operation: 33/3=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[3, 47], Operations: ['84/28=3', '80-33=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,26 unequal: No Solution
No 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: 26:[80, 11], Operations: ['84/28=3', '33/3=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,26 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 |
[
30,
48,
15,
6
] | 23 | [
"30-15=15",
"48/6=8",
"15+8=23"
] | Current State: 23:[30, 48, 15, 6], Operations: []
Exploring Operation: 30-15=15, Resulting Numbers: [48, 6, 15]
Generated Node #2: [48, 6, 15] from Operation: 30-15=15
Current State: 23:[48, 6, 15], Operations: ['30-15=15']
Exploring Operation: 48/6=8, Resulting Numbers: [15, 8]
Generated Node #3: [15, 8] from Operation: 48/6=8
Current State: 23:[15, 8], Operations: ['30-15=15', '48/6=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[30, 48, 15, 6], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [15, 6, 18]
Generated Node #0,0: 23:[15, 6, 18] Operation: 48-30=18
Exploring Operation: 48/6=8, Resulting Numbers: [30, 15, 8]
Generated Node #0,1: 23:[30, 15, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [30, 15, 42]
Generated Node #0,2: 23:[30, 15, 42] Operation: 48-6=42
Exploring Operation: 30-6=24, Resulting Numbers: [48, 15, 24]
Generated Node #0,3: 23:[48, 15, 24] Operation: 30-6=24
Exploring Operation: 48-15=33, Resulting Numbers: [30, 6, 33]
Generated Node #0,4: 23:[30, 6, 33] Operation: 48-15=33
Moving to Node #0,0
Current State: 23:[15, 6, 18], Operations: ['48-30=18']
Exploring Operation: 15+18=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 23:[6, 33] Operation: 15+18=33
Exploring Operation: 18-6=12, Resulting Numbers: [15, 12]
Generated Node #0,0,1: 23:[15, 12] Operation: 18-6=12
Exploring Operation: 15+6=21, Resulting Numbers: [18, 21]
Generated Node #0,0,2: 23:[18, 21] Operation: 15+6=21
Exploring Operation: 15-6=9, Resulting Numbers: [18, 9]
Generated Node #0,0,3: 23:[18, 9] Operation: 15-6=9
Exploring Operation: 6+18=24, Resulting Numbers: [15, 24]
Generated Node #0,0,4: 23:[15, 24] Operation: 6+18=24
Moving to Node #0,1
Current State: 23:[30, 15, 8], Operations: ['48/6=8']
Exploring Operation: 30-8=22, Resulting Numbers: [15, 22]
Generated Node #0,1,0: 23:[15, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [15, 38]
Generated Node #0,1,1: 23:[15, 38] Operation: 30+8=38
Exploring Operation: 15-8=7, Resulting Numbers: [30, 7]
Generated Node #0,1,2: 23:[30, 7] Operation: 15-8=7
Exploring Operation: 15+8=23, Resulting Numbers: [30, 23]
Generated Node #0,1,3: 23:[30, 23] Operation: 15+8=23
Exploring Operation: 30-15=15, Resulting Numbers: [8, 15]
Generated Node #0,1,4: 23:[8, 15] Operation: 30-15=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[30, 23], Operations: ['48/6=8', '15+8=23']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[15, 22], Operations: ['48/6=8', '30-8=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[15, 38], Operations: ['48/6=8', '30+8=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[30, 48, 15, 6], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [30, 15, 8]
Generated Node #0,1: 23:[30, 15, 8] Operation: 48/6=8
Moving to Node #0,1
Current State: 23:[30, 15, 8], Operations: ['48/6=8']
Exploring Operation: 30+8=38, Resulting Numbers: [15, 38]
Generated Node #0,1,1: 23:[15, 38] Operation: 30+8=38
Moving to Node #0,1,1
Current State: 23:[15, 38], Operations: ['48/6=8', '30+8=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
9,
78,
24,
23
] | 29 | [
"78-24=54",
"54/9=6",
"23+6=29"
] | Current State: 29:[9, 78, 24, 23], Operations: []
Exploring Operation: 78-24=54, Resulting Numbers: [9, 23, 54]
Generated Node #2: [9, 23, 54] from Operation: 78-24=54
Current State: 29:[9, 23, 54], Operations: ['78-24=54']
Exploring Operation: 54/9=6, Resulting Numbers: [23, 6]
Generated Node #3: [23, 6] from Operation: 54/9=6
Current State: 29:[23, 6], Operations: ['78-24=54', '54/9=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[9, 78, 24, 23], Operations: []
Exploring Operation: 78-24=54, Resulting Numbers: [9, 23, 54]
Generated Node #0,0: 29:[9, 23, 54] Operation: 78-24=54
Exploring Operation: 78-9=69, Resulting Numbers: [24, 23, 69]
Generated Node #0,1: 29:[24, 23, 69] Operation: 78-9=69
Exploring Operation: 78-23=55, Resulting Numbers: [9, 24, 55]
Generated Node #0,2: 29:[9, 24, 55] Operation: 78-23=55
Moving to Node #0,0
Current State: 29:[9, 23, 54], Operations: ['78-24=54']
Exploring Operation: 9+23=32, Resulting Numbers: [54, 32]
Generated Node #0,0,0: 29:[54, 32] Operation: 9+23=32
Exploring Operation: 54-23=31, Resulting Numbers: [9, 31]
Generated Node #0,0,1: 29:[9, 31] Operation: 54-23=31
Exploring Operation: 54-9=45, Resulting Numbers: [23, 45]
Generated Node #0,0,2: 29:[23, 45] Operation: 54-9=45
Moving to Node #0,1
Current State: 29:[24, 23, 69], Operations: ['78-9=69']
Exploring Operation: 69-23=46, Resulting Numbers: [24, 46]
Generated Node #0,1,0: 29:[24, 46] Operation: 69-23=46
Exploring Operation: 69-24=45, Resulting Numbers: [23, 45]
Generated Node #0,1,1: 29:[23, 45] Operation: 69-24=45
Exploring Operation: 69/23=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 29:[24, 3] Operation: 69/23=3
Moving to Node #0,2
Current State: 29:[9, 24, 55], Operations: ['78-23=55']
Exploring Operation: 55-9=46, Resulting Numbers: [24, 46]
Generated Node #0,2,0: 29:[24, 46] Operation: 55-9=46
Exploring Operation: 9+24=33, Resulting Numbers: [55, 33]
Generated Node #0,2,1: 29:[55, 33] Operation: 9+24=33
Exploring Operation: 55-24=31, Resulting Numbers: [9, 31]
Generated Node #0,2,2: 29:[9, 31] Operation: 55-24=31
Moving to Node #0,0,1
Current State: 29:[9, 31], Operations: ['78-24=54', '54-23=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,29 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[24, 46], Operations: ['78-23=55', '55-9=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,29 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[23, 45], Operations: ['78-24=54', '54-9=45']
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[23, 45], Operations: ['78-9=69', '69-24=45']
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,29 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[9, 31], Operations: ['78-23=55', '55-24=31']
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,29 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[24, 46], Operations: ['78-9=69', '69-23=46']
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,29 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[54, 32], Operations: ['78-24=54', '9+23=32']
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,29 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[55, 33], Operations: ['78-23=55', '9+24=33']
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,29 unequal: No Solution
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[24, 3], Operations: ['78-9=69', '69/23=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,29 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
87,
3,
15,
20
] | 14 | [
"87+3=90",
"90/15=6",
"20-6=14"
] | Current State: 14:[87, 3, 15, 20], Operations: []
Exploring Operation: 87+3=90, Resulting Numbers: [15, 20, 90]
Generated Node #2: [15, 20, 90] from Operation: 87+3=90
Current State: 14:[15, 20, 90], Operations: ['87+3=90']
Exploring Operation: 90/15=6, Resulting Numbers: [20, 6]
Generated Node #3: [20, 6] from Operation: 90/15=6
Current State: 14:[20, 6], Operations: ['87+3=90', '90/15=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[87, 3, 15, 20], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [15, 20, 29]
Generated Node #0,0: 14:[15, 20, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[15, 20, 29], Operations: ['87/3=29']
Exploring Operation: 29-20=9, Resulting Numbers: [15, 9]
Generated Node #0,0,0: 14:[15, 9] Operation: 29-20=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[15, 9], Operations: ['87/3=29', '29-20=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,14 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 |
[
72,
32,
93,
69
] | 96 | [
"72*32=2304",
"93-69=24",
"2304/24=96"
] | Current State: 96:[72, 32, 93, 69], Operations: []
Exploring Operation: 72*32=2304, Resulting Numbers: [93, 69, 2304]
Generated Node #2: [93, 69, 2304] from Operation: 72*32=2304
Current State: 96:[93, 69, 2304], Operations: ['72*32=2304']
Exploring Operation: 93-69=24, Resulting Numbers: [2304, 24]
Generated Node #3: [2304, 24] from Operation: 93-69=24
Current State: 96:[2304, 24], Operations: ['72*32=2304', '93-69=24']
Exploring Operation: 2304/24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[72, 32, 93, 69], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [32, 69, 21]
Generated Node #0,0: 96:[32, 69, 21] Operation: 93-72=21
Exploring Operation: 93-69=24, Resulting Numbers: [72, 32, 24]
Generated Node #0,1: 96:[72, 32, 24] Operation: 93-69=24
Exploring Operation: 72-69=3, Resulting Numbers: [32, 93, 3]
Generated Node #0,2: 96:[32, 93, 3] Operation: 72-69=3
Moving to Node #0,2
Current State: 96:[32, 93, 3], Operations: ['72-69=3']
Exploring Operation: 32*3=96, Resulting Numbers: [93, 96]
Generated Node #0,2,0: 96:[93, 96] Operation: 32*3=96
Exploring Operation: 93/3=31, Resulting Numbers: [32, 31]
Generated Node #0,2,1: 96:[32, 31] Operation: 93/3=31
Exploring Operation: 93+3=96, Resulting Numbers: [32, 96]
Generated Node #0,2,2: 96:[32, 96] Operation: 93+3=96
Moving to Node #0,0
Current State: 96:[32, 69, 21], Operations: ['93-72=21']
Exploring Operation: 69+21=90, Resulting Numbers: [32, 90]
Generated Node #0,0,0: 96:[32, 90] Operation: 69+21=90
Exploring Operation: 32+69=101, Resulting Numbers: [21, 101]
Generated Node #0,0,1: 96:[21, 101] Operation: 32+69=101
Exploring Operation: 69-21=48, Resulting Numbers: [32, 48]
Generated Node #0,0,2: 96:[32, 48] Operation: 69-21=48
Moving to Node #0,1
Current State: 96:[72, 32, 24], Operations: ['93-69=24']
Exploring Operation: 72-24=48, Resulting Numbers: [32, 48]
Generated Node #0,1,0: 96:[32, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 96:[32, 3] Operation: 72/24=3
Exploring Operation: 72+24=96, Resulting Numbers: [32, 96]
Generated Node #0,1,2: 96:[32, 96] Operation: 72+24=96
Moving to Node #0,2,2
Current State: 96:[32, 96], Operations: ['72-69=3', '93+3=96']
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,96 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 32+96=128, Resulting Numbers: [128]
128,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[32, 48], Operations: ['93-69=24', '72-24=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[32, 96], Operations: ['93-69=24', '72+24=96']
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,96 unequal: No Solution
Exploring Operation: 32+96=128, Resulting Numbers: [128]
128,96 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[32, 48], Operations: ['93-72=21', '69-21=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[32, 3], Operations: ['93-69=24', '72/24=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[72, 32, 93, 69], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [72, 32, 24]
Generated Node #0,1: 96:[72, 32, 24] Operation: 93-69=24
Moving to Node #0,1
Current State: 96:[72, 32, 24], Operations: ['93-69=24']
Exploring Operation: 72/24=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 96:[32, 3] Operation: 72/24=3
Moving to Node #0,1,1
Current State: 96:[32, 3], Operations: ['93-69=24', '72/24=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
9,
22,
81,
99
] | 79 | [
"9*22=198",
"198/99=2",
"81-2=79"
] | Current State: 79:[9, 22, 81, 99], Operations: []
Exploring Operation: 9*22=198, Resulting Numbers: [81, 99, 198]
Generated Node #2: [81, 99, 198] from Operation: 9*22=198
Current State: 79:[81, 99, 198], Operations: ['9*22=198']
Exploring Operation: 198/99=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 198/99=2
Current State: 79:[81, 2], Operations: ['9*22=198', '198/99=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[9, 22, 81, 99], Operations: []
Exploring Operation: 9+22=31, Resulting Numbers: [81, 99, 31]
Generated Node #0,0: 79:[81, 99, 31] Operation: 9+22=31
Exploring Operation: 99-9=90, Resulting Numbers: [22, 81, 90]
Generated Node #0,1: 79:[22, 81, 90] Operation: 99-9=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[81, 99, 31], Operations: ['9+22=31']
Exploring Operation: 99-31=68, Resulting Numbers: [81, 68]
Generated Node #0,0,0: 79:[81, 68] Operation: 99-31=68
Exploring Operation: 81-31=50, Resulting Numbers: [99, 50]
Generated Node #0,0,1: 79:[99, 50] Operation: 81-31=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[81, 68], Operations: ['9+22=31', '99-31=68']
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[99, 50], Operations: ['9+22=31', '81-31=50']
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[22, 81, 90], Operations: ['99-9=90']
Exploring Operation: 90-22=68, Resulting Numbers: [81, 68]
Generated Node #0,1,0: 79:[81, 68] Operation: 90-22=68
Exploring Operation: 81-22=59, Resulting Numbers: [90, 59]
Generated Node #0,1,1: 79:[90, 59] Operation: 81-22=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[81, 68], Operations: ['99-9=90', '90-22=68']
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[90, 59], Operations: ['99-9=90', '81-22=59']
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 90+59=149, Resulting Numbers: [149]
149,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
22,
11,
38
] | 48 | [
"88+22=110",
"110/11=10",
"38+10=48"
] | Current State: 48:[88, 22, 11, 38], Operations: []
Exploring Operation: 88+22=110, Resulting Numbers: [11, 38, 110]
Generated Node #2: [11, 38, 110] from Operation: 88+22=110
Current State: 48:[11, 38, 110], Operations: ['88+22=110']
Exploring Operation: 110/11=10, Resulting Numbers: [38, 10]
Generated Node #3: [38, 10] from Operation: 110/11=10
Current State: 48:[38, 10], Operations: ['88+22=110', '110/11=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 22, 11, 38], Operations: []
Exploring Operation: 88-22=66, Resulting Numbers: [11, 38, 66]
Generated Node #0,0: 48:[11, 38, 66] Operation: 88-22=66
Exploring Operation: 88-11=77, Resulting Numbers: [22, 38, 77]
Generated Node #0,1: 48:[22, 38, 77] Operation: 88-11=77
Exploring Operation: 88/22=4, Resulting Numbers: [11, 38, 4]
Generated Node #0,2: 48:[11, 38, 4] Operation: 88/22=4
Exploring Operation: 88-38=50, Resulting Numbers: [22, 11, 50]
Generated Node #0,3: 48:[22, 11, 50] Operation: 88-38=50
Exploring Operation: 88/11=8, Resulting Numbers: [22, 38, 8]
Generated Node #0,4: 48:[22, 38, 8] Operation: 88/11=8
Moving to Node #0,3
Current State: 48:[22, 11, 50], Operations: ['88-38=50']
Exploring Operation: 50-22=28, Resulting Numbers: [11, 28]
Generated Node #0,3,0: 48:[11, 28] Operation: 50-22=28
Exploring Operation: 22/11=2, Resulting Numbers: [50, 2]
Generated Node #0,3,1: 48:[50, 2] Operation: 22/11=2
Exploring Operation: 22-11=11, Resulting Numbers: [50, 11]
Generated Node #0,3,2: 48:[50, 11] Operation: 22-11=11
Exploring Operation: 22+11=33, Resulting Numbers: [50, 33]
Generated Node #0,3,3: 48:[50, 33] Operation: 22+11=33
Exploring Operation: 50-11=39, Resulting Numbers: [22, 39]
Generated Node #0,3,4: 48:[22, 39] Operation: 50-11=39
Moving to Node #0,2
Current State: 48:[11, 38, 4], Operations: ['88/22=4']
Exploring Operation: 38-11=27, Resulting Numbers: [4, 27]
Generated Node #0,2,0: 48:[4, 27] Operation: 38-11=27
Exploring Operation: 11+4=15, Resulting Numbers: [38, 15]
Generated Node #0,2,1: 48:[38, 15] Operation: 11+4=15
Exploring Operation: 38+4=42, Resulting Numbers: [11, 42]
Generated Node #0,2,2: 48:[11, 42] Operation: 38+4=42
Exploring Operation: 11-4=7, Resulting Numbers: [38, 7]
Generated Node #0,2,3: 48:[38, 7] Operation: 11-4=7
Exploring Operation: 11+38=49, Resulting Numbers: [4, 49]
Generated Node #0,2,4: 48:[4, 49] Operation: 11+38=49
Moving to Node #0,4
Current State: 48:[22, 38, 8], Operations: ['88/11=8']
Exploring Operation: 38-22=16, Resulting Numbers: [8, 16]
Generated Node #0,4,0: 48:[8, 16] Operation: 38-22=16
Exploring Operation: 38+8=46, Resulting Numbers: [22, 46]
Generated Node #0,4,1: 48:[22, 46] Operation: 38+8=46
Exploring Operation: 22+38=60, Resulting Numbers: [8, 60]
Generated Node #0,4,2: 48:[8, 60] Operation: 22+38=60
Exploring Operation: 22-8=14, Resulting Numbers: [38, 14]
Generated Node #0,4,3: 48:[38, 14] Operation: 22-8=14
Exploring Operation: 38-8=30, Resulting Numbers: [22, 30]
Generated Node #0,4,4: 48:[22, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[8, 16], Operations: ['88/11=8', '38-22=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,48 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[22, 46], Operations: ['88/11=8', '38+8=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,48 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[22, 30], Operations: ['88/11=8', '38-8=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,48 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[8, 60], Operations: ['88/11=8', '22+38=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,48 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[38, 14], Operations: ['88/11=8', '22-8=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 48:[11, 38, 66], Operations: ['88-22=66']
Exploring Operation: 66-38=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 48:[11, 28] Operation: 66-38=28
Exploring Operation: 38-11=27, Resulting Numbers: [66, 27]
Generated Node #0,0,1: 48:[66, 27] Operation: 38-11=27
Exploring Operation: 66/11=6, Resulting Numbers: [38, 6]
Generated Node #0,0,2: 48:[38, 6] Operation: 66/11=6
Exploring Operation: 66-11=55, Resulting Numbers: [38, 55]
Generated Node #0,0,3: 48:[38, 55] Operation: 66-11=55
Exploring Operation: 11+38=49, Resulting Numbers: [66, 49]
Generated Node #0,0,4: 48:[66, 49] Operation: 11+38=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[11, 28], Operations: ['88-22=66', '66-38=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,48 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[38, 6], Operations: ['88-22=66', '66/11=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[38, 55], Operations: ['88-22=66', '66-11=55']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 48:[66, 49], Operations: ['88-22=66', '11+38=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,48 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[66, 27], Operations: ['88-22=66', '38-11=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,48 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,48 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: 48:[22, 38, 77], Operations: ['88-11=77']
Exploring Operation: 38-22=16, Resulting Numbers: [77, 16]
Generated Node #0,1,0: 48:[77, 16] Operation: 38-22=16
Exploring Operation: 77-22=55, Resulting Numbers: [38, 55]
Generated Node #0,1,1: 48:[38, 55] Operation: 77-22=55
Exploring Operation: 22+38=60, Resulting Numbers: [77, 60]
Generated Node #0,1,2: 48:[77, 60] Operation: 22+38=60
Exploring Operation: 77-38=39, Resulting Numbers: [22, 39]
Generated Node #0,1,3: 48:[22, 39] Operation: 77-38=39
Exploring Operation: 22+77=99, Resulting Numbers: [38, 99]
Generated Node #0,1,4: 48:[38, 99] Operation: 22+77=99
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[22, 39], Operations: ['88-11=77', '77-38=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,48 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[38, 55], Operations: ['88-11=77', '77-22=55']
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,48 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[77, 16], Operations: ['88-11=77', '38-22=16']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[77, 60], Operations: ['88-11=77', '22+38=60']
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,48 unequal: No Solution
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[38, 99], Operations: ['88-11=77', '22+77=99']
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 38*99=3762, Resulting Numbers: [3762]
3762,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 48:[4, 49], Operations: ['88/22=4', '11+38=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[50, 2], Operations: ['88-38=50', '22/11=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[88, 22, 11, 38], Operations: []
Exploring Operation: 88-38=50, Resulting Numbers: [22, 11, 50]
Generated Node #0,3: 48:[22, 11, 50] Operation: 88-38=50
Moving to Node #0,3
Current State: 48:[22, 11, 50], Operations: ['88-38=50']
Exploring Operation: 22/11=2, Resulting Numbers: [50, 2]
Generated Node #0,3,1: 48:[50, 2] Operation: 22/11=2
Moving to Node #0,3,1
Current State: 48:[50, 2], Operations: ['88-38=50', '22/11=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.924479 | hs_5 | sum_heuristic |
[
11,
69,
76,
15
] | 28 | [
"15-11=4",
"76-69=7",
"4*7=28"
] | Current State: 28:[11, 69, 76, 15], Operations: []
Exploring Operation: 15-11=4, Resulting Numbers: [69, 76, 4]
Generated Node #2: [69, 76, 4] from Operation: 15-11=4
Current State: 28:[69, 76, 4], Operations: ['15-11=4']
Exploring Operation: 76-69=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 76-69=7
Current State: 28:[4, 7], Operations: ['15-11=4', '76-69=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[11, 69, 76, 15], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [11, 15, 7]
Generated Node #0,0: 28:[11, 15, 7] Operation: 76-69=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[11, 15, 7], Operations: ['76-69=7']
Exploring Operation: 15-11=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 28:[7, 4] Operation: 15-11=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[7, 4], Operations: ['76-69=7', '15-11=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[11, 69, 76, 15], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [11, 15, 7]
Generated Node #0,0: 28:[11, 15, 7] Operation: 76-69=7
Moving to Node #0,0
Current State: 28:[11, 15, 7], Operations: ['76-69=7']
Exploring Operation: 15-11=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 28:[7, 4] Operation: 15-11=4
Moving to Node #0,0,0
Current State: 28:[7, 4], Operations: ['76-69=7', '15-11=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
76,
52,
29,
65
] | 70 | [
"76-52=24",
"29+65=94",
"94-24=70"
] | Current State: 70:[76, 52, 29, 65], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [29, 65, 24]
Generated Node #2: [29, 65, 24] from Operation: 76-52=24
Current State: 70:[29, 65, 24], Operations: ['76-52=24']
Exploring Operation: 29+65=94, Resulting Numbers: [24, 94]
Generated Node #3: [24, 94] from Operation: 29+65=94
Current State: 70:[24, 94], Operations: ['76-52=24', '29+65=94']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[76, 52, 29, 65], Operations: []
Exploring Operation: 52+29=81, Resulting Numbers: [76, 65, 81]
Generated Node #0,0: 70:[76, 65, 81] Operation: 52+29=81
Exploring Operation: 76-65=11, Resulting Numbers: [52, 29, 11]
Generated Node #0,1: 70:[52, 29, 11] Operation: 76-65=11
Exploring Operation: 65-52=13, Resulting Numbers: [76, 29, 13]
Generated Node #0,2: 70:[76, 29, 13] Operation: 65-52=13
Exploring Operation: 76-52=24, Resulting Numbers: [29, 65, 24]
Generated Node #0,3: 70:[29, 65, 24] Operation: 76-52=24
Exploring Operation: 52-29=23, Resulting Numbers: [76, 65, 23]
Generated Node #0,4: 70:[76, 65, 23] Operation: 52-29=23
Moving to Node #0,2
Current State: 70:[76, 29, 13], Operations: ['65-52=13']
Exploring Operation: 29-13=16, Resulting Numbers: [76, 16]
Generated Node #0,2,0: 70:[76, 16] Operation: 29-13=16
Exploring Operation: 76-13=63, Resulting Numbers: [29, 63]
Generated Node #0,2,1: 70:[29, 63] Operation: 76-13=63
Exploring Operation: 76-29=47, Resulting Numbers: [13, 47]
Generated Node #0,2,2: 70:[13, 47] Operation: 76-29=47
Exploring Operation: 29+13=42, Resulting Numbers: [76, 42]
Generated Node #0,2,3: 70:[76, 42] Operation: 29+13=42
Exploring Operation: 76+13=89, Resulting Numbers: [29, 89]
Generated Node #0,2,4: 70:[29, 89] Operation: 76+13=89
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[76, 16], Operations: ['65-52=13', '29-13=16']
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,70 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[29, 63], Operations: ['65-52=13', '76-13=63']
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,70 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,70 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[13, 47], Operations: ['65-52=13', '76-29=47']
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,70 unequal: No Solution
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[76, 42], Operations: ['65-52=13', '29+13=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,70 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[29, 89], Operations: ['65-52=13', '76+13=89']
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 29+89=118, Resulting Numbers: [118]
118,70 unequal: No Solution
Exploring Operation: 29*89=2581, Resulting Numbers: [2581]
2581,70 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: 70:[76, 65, 23], Operations: ['52-29=23']
Exploring Operation: 65+23=88, Resulting Numbers: [76, 88]
Generated Node #0,4,0: 70:[76, 88] Operation: 65+23=88
Exploring Operation: 65-23=42, Resulting Numbers: [76, 42]
Generated Node #0,4,1: 70:[76, 42] Operation: 65-23=42
Exploring Operation: 76+23=99, Resulting Numbers: [65, 99]
Generated Node #0,4,2: 70:[65, 99] Operation: 76+23=99
Exploring Operation: 76-23=53, Resulting Numbers: [65, 53]
Generated Node #0,4,3: 70:[65, 53] Operation: 76-23=53
Exploring Operation: 76-65=11, Resulting Numbers: [23, 11]
Generated Node #0,4,4: 70:[23, 11] Operation: 76-65=11
Moving to Node #0,3
Current State: 70:[29, 65, 24], Operations: ['76-52=24']
Exploring Operation: 29-24=5, Resulting Numbers: [65, 5]
Generated Node #0,3,0: 70:[65, 5] Operation: 29-24=5
Exploring Operation: 65+24=89, Resulting Numbers: [29, 89]
Generated Node #0,3,1: 70:[29, 89] Operation: 65+24=89
Exploring Operation: 65-29=36, Resulting Numbers: [24, 36]
Generated Node #0,3,2: 70:[24, 36] Operation: 65-29=36
Exploring Operation: 65-24=41, Resulting Numbers: [29, 41]
Generated Node #0,3,3: 70:[29, 41] Operation: 65-24=41
Exploring Operation: 29+24=53, Resulting Numbers: [65, 53]
Generated Node #0,3,4: 70:[65, 53] Operation: 29+24=53
Moving to Node #0,0
Current State: 70:[76, 65, 81], Operations: ['52+29=81']
Exploring Operation: 76-65=11, Resulting Numbers: [81, 11]
Generated Node #0,0,0: 70:[81, 11] Operation: 76-65=11
Exploring Operation: 76+65=141, Resulting Numbers: [81, 141]
Generated Node #0,0,1: 70:[81, 141] Operation: 76+65=141
Exploring Operation: 81-76=5, Resulting Numbers: [65, 5]
Generated Node #0,0,2: 70:[65, 5] Operation: 81-76=5
Exploring Operation: 81-65=16, Resulting Numbers: [76, 16]
Generated Node #0,0,3: 70:[76, 16] Operation: 81-65=16
Exploring Operation: 65+81=146, Resulting Numbers: [76, 146]
Generated Node #0,0,4: 70:[76, 146] Operation: 65+81=146
Moving to Node #0,1
Current State: 70:[52, 29, 11], Operations: ['76-65=11']
Exploring Operation: 29-11=18, Resulting Numbers: [52, 18]
Generated Node #0,1,0: 70:[52, 18] Operation: 29-11=18
Exploring Operation: 52-29=23, Resulting Numbers: [11, 23]
Generated Node #0,1,1: 70:[11, 23] Operation: 52-29=23
Exploring Operation: 52+29=81, Resulting Numbers: [11, 81]
Generated Node #0,1,2: 70:[11, 81] Operation: 52+29=81
Exploring Operation: 52-11=41, Resulting Numbers: [29, 41]
Generated Node #0,1,3: 70:[29, 41] Operation: 52-11=41
Exploring Operation: 52+11=63, Resulting Numbers: [29, 63]
Generated Node #0,1,4: 70:[29, 63] Operation: 52+11=63
Moving to Node #0,3,0
Current State: 70:[65, 5], Operations: ['76-52=24', '29-24=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,70 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[76, 52, 29, 65], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [29, 65, 24]
Generated Node #0,3: 70:[29, 65, 24] Operation: 76-52=24
Moving to Node #0,3
Current State: 70:[29, 65, 24], Operations: ['76-52=24']
Exploring Operation: 29-24=5, Resulting Numbers: [65, 5]
Generated Node #0,3,0: 70:[65, 5] Operation: 29-24=5
Moving to Node #0,3,0
Current State: 70:[65, 5], Operations: ['76-52=24', '29-24=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
31,
22,
54,
46
] | 47 | [
"31+22=53",
"54+46=100",
"100-53=47"
] | Current State: 47:[31, 22, 54, 46], Operations: []
Exploring Operation: 31+22=53, Resulting Numbers: [54, 46, 53]
Generated Node #2: [54, 46, 53] from Operation: 31+22=53
Current State: 47:[54, 46, 53], Operations: ['31+22=53']
Exploring Operation: 54+46=100, Resulting Numbers: [53, 100]
Generated Node #3: [53, 100] from Operation: 54+46=100
Current State: 47:[53, 100], Operations: ['31+22=53', '54+46=100']
Exploring Operation: 100-53=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[31, 22, 54, 46], Operations: []
Exploring Operation: 31+22=53, Resulting Numbers: [54, 46, 53]
Generated Node #0,0: 47:[54, 46, 53] Operation: 31+22=53
Exploring Operation: 31-22=9, Resulting Numbers: [54, 46, 9]
Generated Node #0,1: 47:[54, 46, 9] Operation: 31-22=9
Exploring Operation: 54-22=32, Resulting Numbers: [31, 46, 32]
Generated Node #0,2: 47:[31, 46, 32] Operation: 54-22=32
Exploring Operation: 22+46=68, Resulting Numbers: [31, 54, 68]
Generated Node #0,3: 47:[31, 54, 68] Operation: 22+46=68
Moving to Node #0,0
Current State: 47:[54, 46, 53], Operations: ['31+22=53']
Exploring Operation: 54-53=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 47:[46, 1] Operation: 54-53=1
Exploring Operation: 54-46=8, Resulting Numbers: [53, 8]
Generated Node #0,0,1: 47:[53, 8] Operation: 54-46=8
Exploring Operation: 54+46=100, Resulting Numbers: [53, 100]
Generated Node #0,0,2: 47:[53, 100] Operation: 54+46=100
Exploring Operation: 53-46=7, Resulting Numbers: [54, 7]
Generated Node #0,0,3: 47:[54, 7] Operation: 53-46=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[53, 8], Operations: ['31+22=53', '54-46=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,47 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[46, 1], Operations: ['31+22=53', '54-53=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[31, 22, 54, 46], Operations: []
Exploring Operation: 31+22=53, Resulting Numbers: [54, 46, 53]
Generated Node #0,0: 47:[54, 46, 53] Operation: 31+22=53
Moving to Node #0,0
Current State: 47:[54, 46, 53], Operations: ['31+22=53']
Exploring Operation: 54-53=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 47:[46, 1] Operation: 54-53=1
Moving to Node #0,0,0
Current State: 47:[46, 1], Operations: ['31+22=53', '54-53=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.